configure revision f33d31a3
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for transset 1.0.2.
4#
5# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20  emulate sh
21  NULLCMD=:
22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23  # is contrary to our usage.  Disable this feature.
24  alias -g '${1+"$@"}'='"$@"'
25  setopt NO_GLOB_SUBST
26else
27  case `(set -o) 2>/dev/null` in #(
28  *posix*) :
29    set -o posix ;; #(
30  *) :
31     ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47  as_echo='print -r --'
48  as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in #(
61      *"$as_nl"*)
62	expr "X$arg" : "X\\(.*\\)$as_nl";
63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83
84# IFS
85# We need space, tab and new line, in precisely that order.  Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" ""	$as_nl"
90
91# Find who we are.  Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94  *[\\/]* ) as_myself=$0 ;;
95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98  IFS=$as_save_IFS
99  test -z "$as_dir" && as_dir=.
100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101  done
102IFS=$as_save_IFS
103
104     ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109  as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113  exit 1
114fi
115
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there.  '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137# Use a proper internal environment variable to ensure we don't fall
138  # into an infinite loop, continuously re-executing ourselves.
139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140    _as_can_reexec=no; export _as_can_reexec;
141    # We cannot yet assume a decent shell, so we have to provide a
142# neutralization value for shells without unset; and this also
143# works around shells that cannot unset nonexistent variables.
144# Preserve -v and -x to the replacement shell.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in # ((((
149  *v*x* | *x*v* ) as_opts=-vx ;;
150  *v* ) as_opts=-v ;;
151  *x* ) as_opts=-x ;;
152  * ) as_opts= ;;
153esac
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'.
157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158as_fn_exit 255
159  fi
160  # We don't want this to propagate to other subprocesses.
161          { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then
163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164  emulate sh
165  NULLCMD=:
166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167  # is contrary to our usage.  Disable this feature.
168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169  setopt NO_GLOB_SUBST
170else
171  case \`(set -o) 2>/dev/null\` in #(
172  *posix*) :
173    set -o posix ;; #(
174  *) :
175     ;;
176esac
177fi
178"
179  as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
184
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192else
193  exitcode=1; echo positional parameters were not saved.
194fi
195test x\$exitcode = x0 || exit 1
196test -x / || exit 1"
197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201test \$(( 1 + 1 )) = 2 || exit 1"
202  if (eval "$as_required") 2>/dev/null; then :
203  as_have_required=yes
204else
205  as_have_required=no
206fi
207  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208
209else
210  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211as_found=false
212for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213do
214  IFS=$as_save_IFS
215  test -z "$as_dir" && as_dir=.
216  as_found=:
217  case $as_dir in #(
218	 /*)
219	   for as_base in sh bash ksh sh5; do
220	     # Try only shells that exist, to save several forks.
221	     as_shell=$as_dir/$as_base
222	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224  CONFIG_SHELL=$as_shell as_have_required=yes
225		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226  break 2
227fi
228fi
229	   done;;
230       esac
231  as_found=false
232done
233$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235  CONFIG_SHELL=$SHELL as_have_required=yes
236fi; }
237IFS=$as_save_IFS
238
239
240      if test "x$CONFIG_SHELL" != x; then :
241  export CONFIG_SHELL
242             # We cannot yet assume a decent shell, so we have to provide a
243# neutralization value for shells without unset; and this also
244# works around shells that cannot unset nonexistent variables.
245# Preserve -v and -x to the replacement shell.
246BASH_ENV=/dev/null
247ENV=/dev/null
248(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249case $- in # ((((
250  *v*x* | *x*v* ) as_opts=-vx ;;
251  *v* ) as_opts=-v ;;
252  *x* ) as_opts=-x ;;
253  * ) as_opts= ;;
254esac
255exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256# Admittedly, this is quite paranoid, since all the known shells bail
257# out after a failed `exec'.
258$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259exit 255
260fi
261
262    if test x$as_have_required = xno; then :
263  $as_echo "$0: This script requires a shell more modern than all"
264  $as_echo "$0: the shells that I found on your system."
265  if test x${ZSH_VERSION+set} = xset ; then
266    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268  else
269    $as_echo "$0: Please tell bug-autoconf@gnu.org and
270$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
271$0: about your system, including any error possibly output
272$0: before this message. Then install a modern shell, or
273$0: manually run the script under such a shell if you do
274$0: have one."
275  fi
276  exit 1
277fi
278fi
279fi
280SHELL=${CONFIG_SHELL-/bin/sh}
281export SHELL
282# Unset more variables known to interfere with behavior of common tools.
283CLICOLOR_FORCE= GREP_OPTIONS=
284unset CLICOLOR_FORCE GREP_OPTIONS
285
286## --------------------- ##
287## M4sh Shell Functions. ##
288## --------------------- ##
289# as_fn_unset VAR
290# ---------------
291# Portably unset VAR.
292as_fn_unset ()
293{
294  { eval $1=; unset $1;}
295}
296as_unset=as_fn_unset
297
298# as_fn_set_status STATUS
299# -----------------------
300# Set $? to STATUS, without forking.
301as_fn_set_status ()
302{
303  return $1
304} # as_fn_set_status
305
306# as_fn_exit STATUS
307# -----------------
308# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
309as_fn_exit ()
310{
311  set +e
312  as_fn_set_status $1
313  exit $1
314} # as_fn_exit
315
316# as_fn_mkdir_p
317# -------------
318# Create "$as_dir" as a directory, including parents if necessary.
319as_fn_mkdir_p ()
320{
321
322  case $as_dir in #(
323  -*) as_dir=./$as_dir;;
324  esac
325  test -d "$as_dir" || eval $as_mkdir_p || {
326    as_dirs=
327    while :; do
328      case $as_dir in #(
329      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
330      *) as_qdir=$as_dir;;
331      esac
332      as_dirs="'$as_qdir' $as_dirs"
333      as_dir=`$as_dirname -- "$as_dir" ||
334$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
335	 X"$as_dir" : 'X\(//\)[^/]' \| \
336	 X"$as_dir" : 'X\(//\)$' \| \
337	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
338$as_echo X"$as_dir" |
339    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
340	    s//\1/
341	    q
342	  }
343	  /^X\(\/\/\)[^/].*/{
344	    s//\1/
345	    q
346	  }
347	  /^X\(\/\/\)$/{
348	    s//\1/
349	    q
350	  }
351	  /^X\(\/\).*/{
352	    s//\1/
353	    q
354	  }
355	  s/.*/./; q'`
356      test -d "$as_dir" && break
357    done
358    test -z "$as_dirs" || eval "mkdir $as_dirs"
359  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
360
361
362} # as_fn_mkdir_p
363
364# as_fn_executable_p FILE
365# -----------------------
366# Test if FILE is an executable regular file.
367as_fn_executable_p ()
368{
369  test -f "$1" && test -x "$1"
370} # as_fn_executable_p
371# as_fn_append VAR VALUE
372# ----------------------
373# Append the text in VALUE to the end of the definition contained in VAR. Take
374# advantage of any shell optimizations that allow amortized linear growth over
375# repeated appends, instead of the typical quadratic growth present in naive
376# implementations.
377if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
378  eval 'as_fn_append ()
379  {
380    eval $1+=\$2
381  }'
382else
383  as_fn_append ()
384  {
385    eval $1=\$$1\$2
386  }
387fi # as_fn_append
388
389# as_fn_arith ARG...
390# ------------------
391# Perform arithmetic evaluation on the ARGs, and store the result in the
392# global $as_val. Take advantage of shells that can avoid forks. The arguments
393# must be portable across $(()) and expr.
394if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
395  eval 'as_fn_arith ()
396  {
397    as_val=$(( $* ))
398  }'
399else
400  as_fn_arith ()
401  {
402    as_val=`expr "$@" || test $? -eq 1`
403  }
404fi # as_fn_arith
405
406
407# as_fn_error STATUS ERROR [LINENO LOG_FD]
408# ----------------------------------------
409# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
410# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
411# script with STATUS, using 1 if that was 0.
412as_fn_error ()
413{
414  as_status=$1; test $as_status -eq 0 && as_status=1
415  if test "$4"; then
416    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
417    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418  fi
419  $as_echo "$as_me: error: $2" >&2
420  as_fn_exit $as_status
421} # as_fn_error
422
423if expr a : '\(a\)' >/dev/null 2>&1 &&
424   test "X`expr 00001 : '.*\(...\)'`" = X001; then
425  as_expr=expr
426else
427  as_expr=false
428fi
429
430if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
431  as_basename=basename
432else
433  as_basename=false
434fi
435
436if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
437  as_dirname=dirname
438else
439  as_dirname=false
440fi
441
442as_me=`$as_basename -- "$0" ||
443$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
444	 X"$0" : 'X\(//\)$' \| \
445	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446$as_echo X/"$0" |
447    sed '/^.*\/\([^/][^/]*\)\/*$/{
448	    s//\1/
449	    q
450	  }
451	  /^X\/\(\/\/\)$/{
452	    s//\1/
453	    q
454	  }
455	  /^X\/\(\/\).*/{
456	    s//\1/
457	    q
458	  }
459	  s/.*/./; q'`
460
461# Avoid depending upon Character Ranges.
462as_cr_letters='abcdefghijklmnopqrstuvwxyz'
463as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
464as_cr_Letters=$as_cr_letters$as_cr_LETTERS
465as_cr_digits='0123456789'
466as_cr_alnum=$as_cr_Letters$as_cr_digits
467
468
469  as_lineno_1=$LINENO as_lineno_1a=$LINENO
470  as_lineno_2=$LINENO as_lineno_2a=$LINENO
471  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
472  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
473  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
474  sed -n '
475    p
476    /[$]LINENO/=
477  ' <$as_myself |
478    sed '
479      s/[$]LINENO.*/&-/
480      t lineno
481      b
482      :lineno
483      N
484      :loop
485      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
486      t loop
487      s/-\n.*//
488    ' >$as_me.lineno &&
489  chmod +x "$as_me.lineno" ||
490    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491
492  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
493  # already done that, so ensure we don't try to do so again and fall
494  # in an infinite loop.  This has already happened in practice.
495  _as_can_reexec=no; export _as_can_reexec
496  # Don't try to exec as it changes $[0], causing all sort of problems
497  # (the dirname of $[0] is not the place where we might find the
498  # original and so on.  Autoconf is especially sensitive to this).
499  . "./$as_me.lineno"
500  # Exit status is that of the last command.
501  exit
502}
503
504ECHO_C= ECHO_N= ECHO_T=
505case `echo -n x` in #(((((
506-n*)
507  case `echo 'xy\c'` in
508  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
509  xy)  ECHO_C='\c';;
510  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
511       ECHO_T='	';;
512  esac;;
513*)
514  ECHO_N='-n';;
515esac
516
517rm -f conf$$ conf$$.exe conf$$.file
518if test -d conf$$.dir; then
519  rm -f conf$$.dir/conf$$.file
520else
521  rm -f conf$$.dir
522  mkdir conf$$.dir 2>/dev/null
523fi
524if (echo >conf$$.file) 2>/dev/null; then
525  if ln -s conf$$.file conf$$ 2>/dev/null; then
526    as_ln_s='ln -s'
527    # ... but there are two gotchas:
528    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
529    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
530    # In both cases, we have to default to `cp -pR'.
531    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
532      as_ln_s='cp -pR'
533  elif ln conf$$.file conf$$ 2>/dev/null; then
534    as_ln_s=ln
535  else
536    as_ln_s='cp -pR'
537  fi
538else
539  as_ln_s='cp -pR'
540fi
541rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
542rmdir conf$$.dir 2>/dev/null
543
544if mkdir -p . 2>/dev/null; then
545  as_mkdir_p='mkdir -p "$as_dir"'
546else
547  test -d ./-p && rmdir ./-p
548  as_mkdir_p=false
549fi
550
551as_test_x='test -x'
552as_executable_p=as_fn_executable_p
553
554# Sed expression to map a string onto a valid CPP name.
555as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556
557# Sed expression to map a string onto a valid variable name.
558as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
559
560
561test -n "$DJDIR" || exec 7<&0 </dev/null
562exec 6>&1
563
564# Name of the host.
565# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
566# so uname gets run too.
567ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
568
569#
570# Initializations.
571#
572ac_default_prefix=/usr/local
573ac_clean_files=
574ac_config_libobj_dir=.
575LIBOBJS=
576cross_compiling=no
577subdirs=
578MFLAGS=
579MAKEFLAGS=
580
581# Identity of this package.
582PACKAGE_NAME='transset'
583PACKAGE_TARNAME='transset'
584PACKAGE_VERSION='1.0.2'
585PACKAGE_STRING='transset 1.0.2'
586PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
587PACKAGE_URL=''
588
589ac_unique_file="Makefile.am"
590# Factoring default headers for most tests.
591ac_includes_default="\
592#include <stdio.h>
593#ifdef HAVE_SYS_TYPES_H
594# include <sys/types.h>
595#endif
596#ifdef HAVE_SYS_STAT_H
597# include <sys/stat.h>
598#endif
599#ifdef STDC_HEADERS
600# include <stdlib.h>
601# include <stddef.h>
602#else
603# ifdef HAVE_STDLIB_H
604#  include <stdlib.h>
605# endif
606#endif
607#ifdef HAVE_STRING_H
608# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
609#  include <memory.h>
610# endif
611# include <string.h>
612#endif
613#ifdef HAVE_STRINGS_H
614# include <strings.h>
615#endif
616#ifdef HAVE_INTTYPES_H
617# include <inttypes.h>
618#endif
619#ifdef HAVE_STDINT_H
620# include <stdint.h>
621#endif
622#ifdef HAVE_UNISTD_H
623# include <unistd.h>
624#endif"
625
626ac_subst_vars='am__EXEEXT_FALSE
627am__EXEEXT_TRUE
628LTLIBOBJS
629LIBOBJS
630TRANSSET_LIBS
631TRANSSET_CFLAGS
632MAN_SUBSTS
633XORG_MAN_PAGE
634ADMIN_MAN_DIR
635DRIVER_MAN_DIR
636MISC_MAN_DIR
637FILE_MAN_DIR
638LIB_MAN_DIR
639APP_MAN_DIR
640ADMIN_MAN_SUFFIX
641DRIVER_MAN_SUFFIX
642MISC_MAN_SUFFIX
643FILE_MAN_SUFFIX
644LIB_MAN_SUFFIX
645APP_MAN_SUFFIX
646SED
647host_os
648host_vendor
649host_cpu
650host
651build_os
652build_vendor
653build_cpu
654build
655INSTALL_CMD
656PKG_CONFIG_LIBDIR
657PKG_CONFIG_PATH
658PKG_CONFIG
659CHANGELOG_CMD
660STRICT_CFLAGS
661CWARNFLAGS
662BASE_CFLAGS
663EGREP
664GREP
665CPP
666am__fastdepCC_FALSE
667am__fastdepCC_TRUE
668CCDEPMODE
669am__nodep
670AMDEPBACKSLASH
671AMDEP_FALSE
672AMDEP_TRUE
673am__quote
674am__include
675DEPDIR
676OBJEXT
677EXEEXT
678ac_ct_CC
679CPPFLAGS
680LDFLAGS
681CFLAGS
682CC
683AM_BACKSLASH
684AM_DEFAULT_VERBOSITY
685AM_DEFAULT_V
686AM_V
687am__untar
688am__tar
689AMTAR
690am__leading_dot
691SET_MAKE
692AWK
693mkdir_p
694MKDIR_P
695INSTALL_STRIP_PROGRAM
696STRIP
697install_sh
698MAKEINFO
699AUTOHEADER
700AUTOMAKE
701AUTOCONF
702ACLOCAL
703VERSION
704PACKAGE
705CYGPATH_W
706am__isrc
707INSTALL_DATA
708INSTALL_SCRIPT
709INSTALL_PROGRAM
710target_alias
711host_alias
712build_alias
713LIBS
714ECHO_T
715ECHO_N
716ECHO_C
717DEFS
718mandir
719localedir
720libdir
721psdir
722pdfdir
723dvidir
724htmldir
725infodir
726docdir
727oldincludedir
728includedir
729localstatedir
730sharedstatedir
731sysconfdir
732datadir
733datarootdir
734libexecdir
735sbindir
736bindir
737program_transform_name
738prefix
739exec_prefix
740PACKAGE_URL
741PACKAGE_BUGREPORT
742PACKAGE_STRING
743PACKAGE_VERSION
744PACKAGE_TARNAME
745PACKAGE_NAME
746PATH_SEPARATOR
747SHELL'
748ac_subst_files=''
749ac_user_opts='
750enable_option_checking
751enable_silent_rules
752enable_dependency_tracking
753enable_selective_werror
754enable_strict_compilation
755'
756      ac_precious_vars='build_alias
757host_alias
758target_alias
759CC
760CFLAGS
761LDFLAGS
762LIBS
763CPPFLAGS
764CPP
765PKG_CONFIG
766PKG_CONFIG_PATH
767PKG_CONFIG_LIBDIR
768TRANSSET_CFLAGS
769TRANSSET_LIBS'
770
771
772# Initialize some variables set by options.
773ac_init_help=
774ac_init_version=false
775ac_unrecognized_opts=
776ac_unrecognized_sep=
777# The variables have the same names as the options, with
778# dashes changed to underlines.
779cache_file=/dev/null
780exec_prefix=NONE
781no_create=
782no_recursion=
783prefix=NONE
784program_prefix=NONE
785program_suffix=NONE
786program_transform_name=s,x,x,
787silent=
788site=
789srcdir=
790verbose=
791x_includes=NONE
792x_libraries=NONE
793
794# Installation directory options.
795# These are left unexpanded so users can "make install exec_prefix=/foo"
796# and all the variables that are supposed to be based on exec_prefix
797# by default will actually change.
798# Use braces instead of parens because sh, perl, etc. also accept them.
799# (The list follows the same order as the GNU Coding Standards.)
800bindir='${exec_prefix}/bin'
801sbindir='${exec_prefix}/sbin'
802libexecdir='${exec_prefix}/libexec'
803datarootdir='${prefix}/share'
804datadir='${datarootdir}'
805sysconfdir='${prefix}/etc'
806sharedstatedir='${prefix}/com'
807localstatedir='${prefix}/var'
808includedir='${prefix}/include'
809oldincludedir='/usr/include'
810docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
811infodir='${datarootdir}/info'
812htmldir='${docdir}'
813dvidir='${docdir}'
814pdfdir='${docdir}'
815psdir='${docdir}'
816libdir='${exec_prefix}/lib'
817localedir='${datarootdir}/locale'
818mandir='${datarootdir}/man'
819
820ac_prev=
821ac_dashdash=
822for ac_option
823do
824  # If the previous option needs an argument, assign it.
825  if test -n "$ac_prev"; then
826    eval $ac_prev=\$ac_option
827    ac_prev=
828    continue
829  fi
830
831  case $ac_option in
832  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
833  *=)   ac_optarg= ;;
834  *)    ac_optarg=yes ;;
835  esac
836
837  # Accept the important Cygnus configure options, so we can diagnose typos.
838
839  case $ac_dashdash$ac_option in
840  --)
841    ac_dashdash=yes ;;
842
843  -bindir | --bindir | --bindi | --bind | --bin | --bi)
844    ac_prev=bindir ;;
845  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
846    bindir=$ac_optarg ;;
847
848  -build | --build | --buil | --bui | --bu)
849    ac_prev=build_alias ;;
850  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
851    build_alias=$ac_optarg ;;
852
853  -cache-file | --cache-file | --cache-fil | --cache-fi \
854  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
855    ac_prev=cache_file ;;
856  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
857  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
858    cache_file=$ac_optarg ;;
859
860  --config-cache | -C)
861    cache_file=config.cache ;;
862
863  -datadir | --datadir | --datadi | --datad)
864    ac_prev=datadir ;;
865  -datadir=* | --datadir=* | --datadi=* | --datad=*)
866    datadir=$ac_optarg ;;
867
868  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
869  | --dataroo | --dataro | --datar)
870    ac_prev=datarootdir ;;
871  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
872  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
873    datarootdir=$ac_optarg ;;
874
875  -disable-* | --disable-*)
876    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
877    # Reject names that are not valid shell variable names.
878    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
879      as_fn_error $? "invalid feature name: $ac_useropt"
880    ac_useropt_orig=$ac_useropt
881    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
882    case $ac_user_opts in
883      *"
884"enable_$ac_useropt"
885"*) ;;
886      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
887	 ac_unrecognized_sep=', ';;
888    esac
889    eval enable_$ac_useropt=no ;;
890
891  -docdir | --docdir | --docdi | --doc | --do)
892    ac_prev=docdir ;;
893  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
894    docdir=$ac_optarg ;;
895
896  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
897    ac_prev=dvidir ;;
898  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
899    dvidir=$ac_optarg ;;
900
901  -enable-* | --enable-*)
902    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
903    # Reject names that are not valid shell variable names.
904    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
905      as_fn_error $? "invalid feature name: $ac_useropt"
906    ac_useropt_orig=$ac_useropt
907    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
908    case $ac_user_opts in
909      *"
910"enable_$ac_useropt"
911"*) ;;
912      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
913	 ac_unrecognized_sep=', ';;
914    esac
915    eval enable_$ac_useropt=\$ac_optarg ;;
916
917  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
918  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
919  | --exec | --exe | --ex)
920    ac_prev=exec_prefix ;;
921  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
922  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
923  | --exec=* | --exe=* | --ex=*)
924    exec_prefix=$ac_optarg ;;
925
926  -gas | --gas | --ga | --g)
927    # Obsolete; use --with-gas.
928    with_gas=yes ;;
929
930  -help | --help | --hel | --he | -h)
931    ac_init_help=long ;;
932  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
933    ac_init_help=recursive ;;
934  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
935    ac_init_help=short ;;
936
937  -host | --host | --hos | --ho)
938    ac_prev=host_alias ;;
939  -host=* | --host=* | --hos=* | --ho=*)
940    host_alias=$ac_optarg ;;
941
942  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
943    ac_prev=htmldir ;;
944  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
945  | --ht=*)
946    htmldir=$ac_optarg ;;
947
948  -includedir | --includedir | --includedi | --included | --include \
949  | --includ | --inclu | --incl | --inc)
950    ac_prev=includedir ;;
951  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
952  | --includ=* | --inclu=* | --incl=* | --inc=*)
953    includedir=$ac_optarg ;;
954
955  -infodir | --infodir | --infodi | --infod | --info | --inf)
956    ac_prev=infodir ;;
957  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
958    infodir=$ac_optarg ;;
959
960  -libdir | --libdir | --libdi | --libd)
961    ac_prev=libdir ;;
962  -libdir=* | --libdir=* | --libdi=* | --libd=*)
963    libdir=$ac_optarg ;;
964
965  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
966  | --libexe | --libex | --libe)
967    ac_prev=libexecdir ;;
968  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
969  | --libexe=* | --libex=* | --libe=*)
970    libexecdir=$ac_optarg ;;
971
972  -localedir | --localedir | --localedi | --localed | --locale)
973    ac_prev=localedir ;;
974  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
975    localedir=$ac_optarg ;;
976
977  -localstatedir | --localstatedir | --localstatedi | --localstated \
978  | --localstate | --localstat | --localsta | --localst | --locals)
979    ac_prev=localstatedir ;;
980  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
981  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
982    localstatedir=$ac_optarg ;;
983
984  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
985    ac_prev=mandir ;;
986  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
987    mandir=$ac_optarg ;;
988
989  -nfp | --nfp | --nf)
990    # Obsolete; use --without-fp.
991    with_fp=no ;;
992
993  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
994  | --no-cr | --no-c | -n)
995    no_create=yes ;;
996
997  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
998  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
999    no_recursion=yes ;;
1000
1001  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1002  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1003  | --oldin | --oldi | --old | --ol | --o)
1004    ac_prev=oldincludedir ;;
1005  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1006  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1007  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1008    oldincludedir=$ac_optarg ;;
1009
1010  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1011    ac_prev=prefix ;;
1012  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1013    prefix=$ac_optarg ;;
1014
1015  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1016  | --program-pre | --program-pr | --program-p)
1017    ac_prev=program_prefix ;;
1018  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1019  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1020    program_prefix=$ac_optarg ;;
1021
1022  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1023  | --program-suf | --program-su | --program-s)
1024    ac_prev=program_suffix ;;
1025  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1026  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1027    program_suffix=$ac_optarg ;;
1028
1029  -program-transform-name | --program-transform-name \
1030  | --program-transform-nam | --program-transform-na \
1031  | --program-transform-n | --program-transform- \
1032  | --program-transform | --program-transfor \
1033  | --program-transfo | --program-transf \
1034  | --program-trans | --program-tran \
1035  | --progr-tra | --program-tr | --program-t)
1036    ac_prev=program_transform_name ;;
1037  -program-transform-name=* | --program-transform-name=* \
1038  | --program-transform-nam=* | --program-transform-na=* \
1039  | --program-transform-n=* | --program-transform-=* \
1040  | --program-transform=* | --program-transfor=* \
1041  | --program-transfo=* | --program-transf=* \
1042  | --program-trans=* | --program-tran=* \
1043  | --progr-tra=* | --program-tr=* | --program-t=*)
1044    program_transform_name=$ac_optarg ;;
1045
1046  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1047    ac_prev=pdfdir ;;
1048  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1049    pdfdir=$ac_optarg ;;
1050
1051  -psdir | --psdir | --psdi | --psd | --ps)
1052    ac_prev=psdir ;;
1053  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1054    psdir=$ac_optarg ;;
1055
1056  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1057  | -silent | --silent | --silen | --sile | --sil)
1058    silent=yes ;;
1059
1060  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1061    ac_prev=sbindir ;;
1062  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1063  | --sbi=* | --sb=*)
1064    sbindir=$ac_optarg ;;
1065
1066  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1067  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1068  | --sharedst | --shareds | --shared | --share | --shar \
1069  | --sha | --sh)
1070    ac_prev=sharedstatedir ;;
1071  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1072  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1073  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1074  | --sha=* | --sh=*)
1075    sharedstatedir=$ac_optarg ;;
1076
1077  -site | --site | --sit)
1078    ac_prev=site ;;
1079  -site=* | --site=* | --sit=*)
1080    site=$ac_optarg ;;
1081
1082  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1083    ac_prev=srcdir ;;
1084  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1085    srcdir=$ac_optarg ;;
1086
1087  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1088  | --syscon | --sysco | --sysc | --sys | --sy)
1089    ac_prev=sysconfdir ;;
1090  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1091  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1092    sysconfdir=$ac_optarg ;;
1093
1094  -target | --target | --targe | --targ | --tar | --ta | --t)
1095    ac_prev=target_alias ;;
1096  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1097    target_alias=$ac_optarg ;;
1098
1099  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1100    verbose=yes ;;
1101
1102  -version | --version | --versio | --versi | --vers | -V)
1103    ac_init_version=: ;;
1104
1105  -with-* | --with-*)
1106    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1107    # Reject names that are not valid shell variable names.
1108    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1109      as_fn_error $? "invalid package name: $ac_useropt"
1110    ac_useropt_orig=$ac_useropt
1111    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1112    case $ac_user_opts in
1113      *"
1114"with_$ac_useropt"
1115"*) ;;
1116      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1117	 ac_unrecognized_sep=', ';;
1118    esac
1119    eval with_$ac_useropt=\$ac_optarg ;;
1120
1121  -without-* | --without-*)
1122    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1123    # Reject names that are not valid shell variable names.
1124    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1125      as_fn_error $? "invalid package name: $ac_useropt"
1126    ac_useropt_orig=$ac_useropt
1127    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1128    case $ac_user_opts in
1129      *"
1130"with_$ac_useropt"
1131"*) ;;
1132      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1133	 ac_unrecognized_sep=', ';;
1134    esac
1135    eval with_$ac_useropt=no ;;
1136
1137  --x)
1138    # Obsolete; use --with-x.
1139    with_x=yes ;;
1140
1141  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1142  | --x-incl | --x-inc | --x-in | --x-i)
1143    ac_prev=x_includes ;;
1144  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1145  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1146    x_includes=$ac_optarg ;;
1147
1148  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1149  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1150    ac_prev=x_libraries ;;
1151  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1152  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1153    x_libraries=$ac_optarg ;;
1154
1155  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1156Try \`$0 --help' for more information"
1157    ;;
1158
1159  *=*)
1160    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1161    # Reject names that are not valid shell variable names.
1162    case $ac_envvar in #(
1163      '' | [0-9]* | *[!_$as_cr_alnum]* )
1164      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1165    esac
1166    eval $ac_envvar=\$ac_optarg
1167    export $ac_envvar ;;
1168
1169  *)
1170    # FIXME: should be removed in autoconf 3.0.
1171    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1172    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1173      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1174    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1175    ;;
1176
1177  esac
1178done
1179
1180if test -n "$ac_prev"; then
1181  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1182  as_fn_error $? "missing argument to $ac_option"
1183fi
1184
1185if test -n "$ac_unrecognized_opts"; then
1186  case $enable_option_checking in
1187    no) ;;
1188    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1189    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1190  esac
1191fi
1192
1193# Check all directory arguments for consistency.
1194for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1195		datadir sysconfdir sharedstatedir localstatedir includedir \
1196		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1197		libdir localedir mandir
1198do
1199  eval ac_val=\$$ac_var
1200  # Remove trailing slashes.
1201  case $ac_val in
1202    */ )
1203      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1204      eval $ac_var=\$ac_val;;
1205  esac
1206  # Be sure to have absolute directory names.
1207  case $ac_val in
1208    [\\/$]* | ?:[\\/]* )  continue;;
1209    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1210  esac
1211  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1212done
1213
1214# There might be people who depend on the old broken behavior: `$host'
1215# used to hold the argument of --host etc.
1216# FIXME: To remove some day.
1217build=$build_alias
1218host=$host_alias
1219target=$target_alias
1220
1221# FIXME: To remove some day.
1222if test "x$host_alias" != x; then
1223  if test "x$build_alias" = x; then
1224    cross_compiling=maybe
1225  elif test "x$build_alias" != "x$host_alias"; then
1226    cross_compiling=yes
1227  fi
1228fi
1229
1230ac_tool_prefix=
1231test -n "$host_alias" && ac_tool_prefix=$host_alias-
1232
1233test "$silent" = yes && exec 6>/dev/null
1234
1235
1236ac_pwd=`pwd` && test -n "$ac_pwd" &&
1237ac_ls_di=`ls -di .` &&
1238ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1239  as_fn_error $? "working directory cannot be determined"
1240test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1241  as_fn_error $? "pwd does not report name of working directory"
1242
1243
1244# Find the source files, if location was not specified.
1245if test -z "$srcdir"; then
1246  ac_srcdir_defaulted=yes
1247  # Try the directory containing this script, then the parent directory.
1248  ac_confdir=`$as_dirname -- "$as_myself" ||
1249$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1250	 X"$as_myself" : 'X\(//\)[^/]' \| \
1251	 X"$as_myself" : 'X\(//\)$' \| \
1252	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1253$as_echo X"$as_myself" |
1254    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1255	    s//\1/
1256	    q
1257	  }
1258	  /^X\(\/\/\)[^/].*/{
1259	    s//\1/
1260	    q
1261	  }
1262	  /^X\(\/\/\)$/{
1263	    s//\1/
1264	    q
1265	  }
1266	  /^X\(\/\).*/{
1267	    s//\1/
1268	    q
1269	  }
1270	  s/.*/./; q'`
1271  srcdir=$ac_confdir
1272  if test ! -r "$srcdir/$ac_unique_file"; then
1273    srcdir=..
1274  fi
1275else
1276  ac_srcdir_defaulted=no
1277fi
1278if test ! -r "$srcdir/$ac_unique_file"; then
1279  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1280  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1281fi
1282ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1283ac_abs_confdir=`(
1284	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1285	pwd)`
1286# When building in place, set srcdir=.
1287if test "$ac_abs_confdir" = "$ac_pwd"; then
1288  srcdir=.
1289fi
1290# Remove unnecessary trailing slashes from srcdir.
1291# Double slashes in file names in object file debugging info
1292# mess up M-x gdb in Emacs.
1293case $srcdir in
1294*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1295esac
1296for ac_var in $ac_precious_vars; do
1297  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1298  eval ac_env_${ac_var}_value=\$${ac_var}
1299  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1300  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1301done
1302
1303#
1304# Report the --help message.
1305#
1306if test "$ac_init_help" = "long"; then
1307  # Omit some internal or obsolete options to make the list less imposing.
1308  # This message is too long to be a string in the A/UX 3.1 sh.
1309  cat <<_ACEOF
1310\`configure' configures transset 1.0.2 to adapt to many kinds of systems.
1311
1312Usage: $0 [OPTION]... [VAR=VALUE]...
1313
1314To assign environment variables (e.g., CC, CFLAGS...), specify them as
1315VAR=VALUE.  See below for descriptions of some of the useful variables.
1316
1317Defaults for the options are specified in brackets.
1318
1319Configuration:
1320  -h, --help              display this help and exit
1321      --help=short        display options specific to this package
1322      --help=recursive    display the short help of all the included packages
1323  -V, --version           display version information and exit
1324  -q, --quiet, --silent   do not print \`checking ...' messages
1325      --cache-file=FILE   cache test results in FILE [disabled]
1326  -C, --config-cache      alias for \`--cache-file=config.cache'
1327  -n, --no-create         do not create output files
1328      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1329
1330Installation directories:
1331  --prefix=PREFIX         install architecture-independent files in PREFIX
1332                          [$ac_default_prefix]
1333  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1334                          [PREFIX]
1335
1336By default, \`make install' will install all the files in
1337\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1338an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1339for instance \`--prefix=\$HOME'.
1340
1341For better control, use the options below.
1342
1343Fine tuning of the installation directories:
1344  --bindir=DIR            user executables [EPREFIX/bin]
1345  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1346  --libexecdir=DIR        program executables [EPREFIX/libexec]
1347  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1348  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1349  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1350  --libdir=DIR            object code libraries [EPREFIX/lib]
1351  --includedir=DIR        C header files [PREFIX/include]
1352  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1353  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1354  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1355  --infodir=DIR           info documentation [DATAROOTDIR/info]
1356  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1357  --mandir=DIR            man documentation [DATAROOTDIR/man]
1358  --docdir=DIR            documentation root [DATAROOTDIR/doc/transset]
1359  --htmldir=DIR           html documentation [DOCDIR]
1360  --dvidir=DIR            dvi documentation [DOCDIR]
1361  --pdfdir=DIR            pdf documentation [DOCDIR]
1362  --psdir=DIR             ps documentation [DOCDIR]
1363_ACEOF
1364
1365  cat <<\_ACEOF
1366
1367Program names:
1368  --program-prefix=PREFIX            prepend PREFIX to installed program names
1369  --program-suffix=SUFFIX            append SUFFIX to installed program names
1370  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1371
1372System types:
1373  --build=BUILD     configure for building on BUILD [guessed]
1374  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1375_ACEOF
1376fi
1377
1378if test -n "$ac_init_help"; then
1379  case $ac_init_help in
1380     short | recursive ) echo "Configuration of transset 1.0.2:";;
1381   esac
1382  cat <<\_ACEOF
1383
1384Optional Features:
1385  --disable-option-checking  ignore unrecognized --enable/--with options
1386  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1387  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1388  --enable-silent-rules   less verbose build output (undo: "make V=1")
1389  --disable-silent-rules  verbose build output (undo: "make V=0")
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
1401Some influential environment variables:
1402  CC          C compiler command
1403  CFLAGS      C compiler flags
1404  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1405              nonstandard directory <lib dir>
1406  LIBS        libraries to pass to the linker, e.g. -l<library>
1407  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1408              you have headers in a nonstandard directory <include dir>
1409  CPP         C preprocessor
1410  PKG_CONFIG  path to pkg-config utility
1411  PKG_CONFIG_PATH
1412              directories to add to pkg-config's search path
1413  PKG_CONFIG_LIBDIR
1414              path overriding pkg-config's built-in search path
1415  TRANSSET_CFLAGS
1416              C compiler flags for TRANSSET, overriding pkg-config
1417  TRANSSET_LIBS
1418              linker flags for TRANSSET, overriding pkg-config
1419
1420Use these variables to override the choices made by `configure' or to help
1421it to find libraries and programs with nonstandard names/locations.
1422
1423Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1424_ACEOF
1425ac_status=$?
1426fi
1427
1428if test "$ac_init_help" = "recursive"; then
1429  # If there are subdirs, report their specific --help.
1430  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1431    test -d "$ac_dir" ||
1432      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1433      continue
1434    ac_builddir=.
1435
1436case "$ac_dir" in
1437.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1438*)
1439  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1440  # A ".." for each directory in $ac_dir_suffix.
1441  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1442  case $ac_top_builddir_sub in
1443  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1444  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1445  esac ;;
1446esac
1447ac_abs_top_builddir=$ac_pwd
1448ac_abs_builddir=$ac_pwd$ac_dir_suffix
1449# for backward compatibility:
1450ac_top_builddir=$ac_top_build_prefix
1451
1452case $srcdir in
1453  .)  # We are building in place.
1454    ac_srcdir=.
1455    ac_top_srcdir=$ac_top_builddir_sub
1456    ac_abs_top_srcdir=$ac_pwd ;;
1457  [\\/]* | ?:[\\/]* )  # Absolute name.
1458    ac_srcdir=$srcdir$ac_dir_suffix;
1459    ac_top_srcdir=$srcdir
1460    ac_abs_top_srcdir=$srcdir ;;
1461  *) # Relative name.
1462    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1463    ac_top_srcdir=$ac_top_build_prefix$srcdir
1464    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1465esac
1466ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1467
1468    cd "$ac_dir" || { ac_status=$?; continue; }
1469    # Check for guested configure.
1470    if test -f "$ac_srcdir/configure.gnu"; then
1471      echo &&
1472      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1473    elif test -f "$ac_srcdir/configure"; then
1474      echo &&
1475      $SHELL "$ac_srcdir/configure" --help=recursive
1476    else
1477      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1478    fi || ac_status=$?
1479    cd "$ac_pwd" || { ac_status=$?; break; }
1480  done
1481fi
1482
1483test -n "$ac_init_help" && exit $ac_status
1484if $ac_init_version; then
1485  cat <<\_ACEOF
1486transset configure 1.0.2
1487generated by GNU Autoconf 2.69
1488
1489Copyright (C) 2012 Free Software Foundation, Inc.
1490This configure script is free software; the Free Software Foundation
1491gives unlimited permission to copy, distribute and modify it.
1492_ACEOF
1493  exit
1494fi
1495
1496## ------------------------ ##
1497## Autoconf initialization. ##
1498## ------------------------ ##
1499
1500# ac_fn_c_try_compile LINENO
1501# --------------------------
1502# Try to compile conftest.$ac_ext, and return whether this succeeded.
1503ac_fn_c_try_compile ()
1504{
1505  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1506  rm -f conftest.$ac_objext
1507  if { { ac_try="$ac_compile"
1508case "(($ac_try" in
1509  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1510  *) ac_try_echo=$ac_try;;
1511esac
1512eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1513$as_echo "$ac_try_echo"; } >&5
1514  (eval "$ac_compile") 2>conftest.err
1515  ac_status=$?
1516  if test -s conftest.err; then
1517    grep -v '^ *+' conftest.err >conftest.er1
1518    cat conftest.er1 >&5
1519    mv -f conftest.er1 conftest.err
1520  fi
1521  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1522  test $ac_status = 0; } && {
1523	 test -z "$ac_c_werror_flag" ||
1524	 test ! -s conftest.err
1525       } && test -s conftest.$ac_objext; then :
1526  ac_retval=0
1527else
1528  $as_echo "$as_me: failed program was:" >&5
1529sed 's/^/| /' conftest.$ac_ext >&5
1530
1531	ac_retval=1
1532fi
1533  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1534  as_fn_set_status $ac_retval
1535
1536} # ac_fn_c_try_compile
1537
1538# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1539# ---------------------------------------------
1540# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1541# accordingly.
1542ac_fn_c_check_decl ()
1543{
1544  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1545  as_decl_name=`echo $2|sed 's/ *(.*//'`
1546  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1547  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1548$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1549if eval \${$3+:} false; then :
1550  $as_echo_n "(cached) " >&6
1551else
1552  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1553/* end confdefs.h.  */
1554$4
1555int
1556main ()
1557{
1558#ifndef $as_decl_name
1559#ifdef __cplusplus
1560  (void) $as_decl_use;
1561#else
1562  (void) $as_decl_name;
1563#endif
1564#endif
1565
1566  ;
1567  return 0;
1568}
1569_ACEOF
1570if ac_fn_c_try_compile "$LINENO"; then :
1571  eval "$3=yes"
1572else
1573  eval "$3=no"
1574fi
1575rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1576fi
1577eval ac_res=\$$3
1578	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1579$as_echo "$ac_res" >&6; }
1580  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1581
1582} # ac_fn_c_check_decl
1583
1584# ac_fn_c_try_cpp LINENO
1585# ----------------------
1586# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1587ac_fn_c_try_cpp ()
1588{
1589  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1590  if { { ac_try="$ac_cpp conftest.$ac_ext"
1591case "(($ac_try" in
1592  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1593  *) ac_try_echo=$ac_try;;
1594esac
1595eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1596$as_echo "$ac_try_echo"; } >&5
1597  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1598  ac_status=$?
1599  if test -s conftest.err; then
1600    grep -v '^ *+' conftest.err >conftest.er1
1601    cat conftest.er1 >&5
1602    mv -f conftest.er1 conftest.err
1603  fi
1604  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1605  test $ac_status = 0; } > conftest.i && {
1606	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1607	 test ! -s conftest.err
1608       }; then :
1609  ac_retval=0
1610else
1611  $as_echo "$as_me: failed program was:" >&5
1612sed 's/^/| /' conftest.$ac_ext >&5
1613
1614    ac_retval=1
1615fi
1616  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1617  as_fn_set_status $ac_retval
1618
1619} # ac_fn_c_try_cpp
1620
1621# ac_fn_c_try_run LINENO
1622# ----------------------
1623# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1624# that executables *can* be run.
1625ac_fn_c_try_run ()
1626{
1627  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1628  if { { ac_try="$ac_link"
1629case "(($ac_try" in
1630  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1631  *) ac_try_echo=$ac_try;;
1632esac
1633eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1634$as_echo "$ac_try_echo"; } >&5
1635  (eval "$ac_link") 2>&5
1636  ac_status=$?
1637  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1638  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1639  { { case "(($ac_try" in
1640  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1641  *) ac_try_echo=$ac_try;;
1642esac
1643eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1644$as_echo "$ac_try_echo"; } >&5
1645  (eval "$ac_try") 2>&5
1646  ac_status=$?
1647  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1648  test $ac_status = 0; }; }; then :
1649  ac_retval=0
1650else
1651  $as_echo "$as_me: program exited with status $ac_status" >&5
1652       $as_echo "$as_me: failed program was:" >&5
1653sed 's/^/| /' conftest.$ac_ext >&5
1654
1655       ac_retval=$ac_status
1656fi
1657  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1658  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1659  as_fn_set_status $ac_retval
1660
1661} # ac_fn_c_try_run
1662
1663# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1664# -------------------------------------------------------
1665# Tests whether HEADER exists and can be compiled using the include files in
1666# INCLUDES, setting the cache variable VAR accordingly.
1667ac_fn_c_check_header_compile ()
1668{
1669  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1670  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1671$as_echo_n "checking for $2... " >&6; }
1672if eval \${$3+:} false; then :
1673  $as_echo_n "(cached) " >&6
1674else
1675  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1676/* end confdefs.h.  */
1677$4
1678#include <$2>
1679_ACEOF
1680if ac_fn_c_try_compile "$LINENO"; then :
1681  eval "$3=yes"
1682else
1683  eval "$3=no"
1684fi
1685rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1686fi
1687eval ac_res=\$$3
1688	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1689$as_echo "$ac_res" >&6; }
1690  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1691
1692} # ac_fn_c_check_header_compile
1693
1694# ac_fn_c_try_link LINENO
1695# -----------------------
1696# Try to link conftest.$ac_ext, and return whether this succeeded.
1697ac_fn_c_try_link ()
1698{
1699  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1700  rm -f conftest.$ac_objext conftest$ac_exeext
1701  if { { ac_try="$ac_link"
1702case "(($ac_try" in
1703  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1704  *) ac_try_echo=$ac_try;;
1705esac
1706eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1707$as_echo "$ac_try_echo"; } >&5
1708  (eval "$ac_link") 2>conftest.err
1709  ac_status=$?
1710  if test -s conftest.err; then
1711    grep -v '^ *+' conftest.err >conftest.er1
1712    cat conftest.er1 >&5
1713    mv -f conftest.er1 conftest.err
1714  fi
1715  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1716  test $ac_status = 0; } && {
1717	 test -z "$ac_c_werror_flag" ||
1718	 test ! -s conftest.err
1719       } && test -s conftest$ac_exeext && {
1720	 test "$cross_compiling" = yes ||
1721	 test -x conftest$ac_exeext
1722       }; then :
1723  ac_retval=0
1724else
1725  $as_echo "$as_me: failed program was:" >&5
1726sed 's/^/| /' conftest.$ac_ext >&5
1727
1728	ac_retval=1
1729fi
1730  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1731  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1732  # interfere with the next link command; also delete a directory that is
1733  # left behind by Apple's compiler.  We do this before executing the actions.
1734  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1735  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1736  as_fn_set_status $ac_retval
1737
1738} # ac_fn_c_try_link
1739cat >config.log <<_ACEOF
1740This file contains any messages produced by compilers while
1741running configure, to aid debugging if configure makes a mistake.
1742
1743It was created by transset $as_me 1.0.2, which was
1744generated by GNU Autoconf 2.69.  Invocation command line was
1745
1746  $ $0 $@
1747
1748_ACEOF
1749exec 5>>config.log
1750{
1751cat <<_ASUNAME
1752## --------- ##
1753## Platform. ##
1754## --------- ##
1755
1756hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1757uname -m = `(uname -m) 2>/dev/null || echo unknown`
1758uname -r = `(uname -r) 2>/dev/null || echo unknown`
1759uname -s = `(uname -s) 2>/dev/null || echo unknown`
1760uname -v = `(uname -v) 2>/dev/null || echo unknown`
1761
1762/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1763/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1764
1765/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1766/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1767/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1768/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1769/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1770/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1771/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1772
1773_ASUNAME
1774
1775as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1776for as_dir in $PATH
1777do
1778  IFS=$as_save_IFS
1779  test -z "$as_dir" && as_dir=.
1780    $as_echo "PATH: $as_dir"
1781  done
1782IFS=$as_save_IFS
1783
1784} >&5
1785
1786cat >&5 <<_ACEOF
1787
1788
1789## ----------- ##
1790## Core tests. ##
1791## ----------- ##
1792
1793_ACEOF
1794
1795
1796# Keep a trace of the command line.
1797# Strip out --no-create and --no-recursion so they do not pile up.
1798# Strip out --silent because we don't want to record it for future runs.
1799# Also quote any args containing shell meta-characters.
1800# Make two passes to allow for proper duplicate-argument suppression.
1801ac_configure_args=
1802ac_configure_args0=
1803ac_configure_args1=
1804ac_must_keep_next=false
1805for ac_pass in 1 2
1806do
1807  for ac_arg
1808  do
1809    case $ac_arg in
1810    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1811    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1812    | -silent | --silent | --silen | --sile | --sil)
1813      continue ;;
1814    *\'*)
1815      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1816    esac
1817    case $ac_pass in
1818    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1819    2)
1820      as_fn_append ac_configure_args1 " '$ac_arg'"
1821      if test $ac_must_keep_next = true; then
1822	ac_must_keep_next=false # Got value, back to normal.
1823      else
1824	case $ac_arg in
1825	  *=* | --config-cache | -C | -disable-* | --disable-* \
1826	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1827	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1828	  | -with-* | --with-* | -without-* | --without-* | --x)
1829	    case "$ac_configure_args0 " in
1830	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1831	    esac
1832	    ;;
1833	  -* ) ac_must_keep_next=true ;;
1834	esac
1835      fi
1836      as_fn_append ac_configure_args " '$ac_arg'"
1837      ;;
1838    esac
1839  done
1840done
1841{ ac_configure_args0=; unset ac_configure_args0;}
1842{ ac_configure_args1=; unset ac_configure_args1;}
1843
1844# When interrupted or exit'd, cleanup temporary files, and complete
1845# config.log.  We remove comments because anyway the quotes in there
1846# would cause problems or look ugly.
1847# WARNING: Use '\'' to represent an apostrophe within the trap.
1848# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1849trap 'exit_status=$?
1850  # Save into config.log some information that might help in debugging.
1851  {
1852    echo
1853
1854    $as_echo "## ---------------- ##
1855## Cache variables. ##
1856## ---------------- ##"
1857    echo
1858    # The following way of writing the cache mishandles newlines in values,
1859(
1860  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1861    eval ac_val=\$$ac_var
1862    case $ac_val in #(
1863    *${as_nl}*)
1864      case $ac_var in #(
1865      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1866$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1867      esac
1868      case $ac_var in #(
1869      _ | IFS | as_nl) ;; #(
1870      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1871      *) { eval $ac_var=; unset $ac_var;} ;;
1872      esac ;;
1873    esac
1874  done
1875  (set) 2>&1 |
1876    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1877    *${as_nl}ac_space=\ *)
1878      sed -n \
1879	"s/'\''/'\''\\\\'\'''\''/g;
1880	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1881      ;; #(
1882    *)
1883      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1884      ;;
1885    esac |
1886    sort
1887)
1888    echo
1889
1890    $as_echo "## ----------------- ##
1891## Output variables. ##
1892## ----------------- ##"
1893    echo
1894    for ac_var in $ac_subst_vars
1895    do
1896      eval ac_val=\$$ac_var
1897      case $ac_val in
1898      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1899      esac
1900      $as_echo "$ac_var='\''$ac_val'\''"
1901    done | sort
1902    echo
1903
1904    if test -n "$ac_subst_files"; then
1905      $as_echo "## ------------------- ##
1906## File substitutions. ##
1907## ------------------- ##"
1908      echo
1909      for ac_var in $ac_subst_files
1910      do
1911	eval ac_val=\$$ac_var
1912	case $ac_val in
1913	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1914	esac
1915	$as_echo "$ac_var='\''$ac_val'\''"
1916      done | sort
1917      echo
1918    fi
1919
1920    if test -s confdefs.h; then
1921      $as_echo "## ----------- ##
1922## confdefs.h. ##
1923## ----------- ##"
1924      echo
1925      cat confdefs.h
1926      echo
1927    fi
1928    test "$ac_signal" != 0 &&
1929      $as_echo "$as_me: caught signal $ac_signal"
1930    $as_echo "$as_me: exit $exit_status"
1931  } >&5
1932  rm -f core *.core core.conftest.* &&
1933    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1934    exit $exit_status
1935' 0
1936for ac_signal in 1 2 13 15; do
1937  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1938done
1939ac_signal=0
1940
1941# confdefs.h avoids OS command line length limits that DEFS can exceed.
1942rm -f -r conftest* confdefs.h
1943
1944$as_echo "/* confdefs.h */" > confdefs.h
1945
1946# Predefined preprocessor variables.
1947
1948cat >>confdefs.h <<_ACEOF
1949#define PACKAGE_NAME "$PACKAGE_NAME"
1950_ACEOF
1951
1952cat >>confdefs.h <<_ACEOF
1953#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1954_ACEOF
1955
1956cat >>confdefs.h <<_ACEOF
1957#define PACKAGE_VERSION "$PACKAGE_VERSION"
1958_ACEOF
1959
1960cat >>confdefs.h <<_ACEOF
1961#define PACKAGE_STRING "$PACKAGE_STRING"
1962_ACEOF
1963
1964cat >>confdefs.h <<_ACEOF
1965#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1966_ACEOF
1967
1968cat >>confdefs.h <<_ACEOF
1969#define PACKAGE_URL "$PACKAGE_URL"
1970_ACEOF
1971
1972
1973# Let the site file select an alternate cache file if it wants to.
1974# Prefer an explicitly selected file to automatically selected ones.
1975ac_site_file1=NONE
1976ac_site_file2=NONE
1977if test -n "$CONFIG_SITE"; then
1978  # We do not want a PATH search for config.site.
1979  case $CONFIG_SITE in #((
1980    -*)  ac_site_file1=./$CONFIG_SITE;;
1981    */*) ac_site_file1=$CONFIG_SITE;;
1982    *)   ac_site_file1=./$CONFIG_SITE;;
1983  esac
1984elif test "x$prefix" != xNONE; then
1985  ac_site_file1=$prefix/share/config.site
1986  ac_site_file2=$prefix/etc/config.site
1987else
1988  ac_site_file1=$ac_default_prefix/share/config.site
1989  ac_site_file2=$ac_default_prefix/etc/config.site
1990fi
1991for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1992do
1993  test "x$ac_site_file" = xNONE && continue
1994  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1995    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1996$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1997    sed 's/^/| /' "$ac_site_file" >&5
1998    . "$ac_site_file" \
1999      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2000$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2001as_fn_error $? "failed to load site script $ac_site_file
2002See \`config.log' for more details" "$LINENO" 5; }
2003  fi
2004done
2005
2006if test -r "$cache_file"; then
2007  # Some versions of bash will fail to source /dev/null (special files
2008  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2009  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2010    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2011$as_echo "$as_me: loading cache $cache_file" >&6;}
2012    case $cache_file in
2013      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2014      *)                      . "./$cache_file";;
2015    esac
2016  fi
2017else
2018  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2019$as_echo "$as_me: creating cache $cache_file" >&6;}
2020  >$cache_file
2021fi
2022
2023# Check that the precious variables saved in the cache have kept the same
2024# value.
2025ac_cache_corrupted=false
2026for ac_var in $ac_precious_vars; do
2027  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2028  eval ac_new_set=\$ac_env_${ac_var}_set
2029  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2030  eval ac_new_val=\$ac_env_${ac_var}_value
2031  case $ac_old_set,$ac_new_set in
2032    set,)
2033      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2034$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2035      ac_cache_corrupted=: ;;
2036    ,set)
2037      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2038$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2039      ac_cache_corrupted=: ;;
2040    ,);;
2041    *)
2042      if test "x$ac_old_val" != "x$ac_new_val"; then
2043	# differences in whitespace do not lead to failure.
2044	ac_old_val_w=`echo x $ac_old_val`
2045	ac_new_val_w=`echo x $ac_new_val`
2046	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2047	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2048$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2049	  ac_cache_corrupted=:
2050	else
2051	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2052$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2053	  eval $ac_var=\$ac_old_val
2054	fi
2055	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2056$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2057	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2058$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2059      fi;;
2060  esac
2061  # Pass precious variables to config.status.
2062  if test "$ac_new_set" = set; then
2063    case $ac_new_val in
2064    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2065    *) ac_arg=$ac_var=$ac_new_val ;;
2066    esac
2067    case " $ac_configure_args " in
2068      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2069      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2070    esac
2071  fi
2072done
2073if $ac_cache_corrupted; then
2074  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2075$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2076  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2077$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2078  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2079fi
2080## -------------------- ##
2081## Main body of script. ##
2082## -------------------- ##
2083
2084ac_ext=c
2085ac_cpp='$CPP $CPPFLAGS'
2086ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2087ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2088ac_compiler_gnu=$ac_cv_c_compiler_gnu
2089
2090
2091RELEASE_DATE="2018-03-09"
2092
2093ac_config_headers="$ac_config_headers config.h"
2094
2095
2096# Initialize Automake
2097am__api_version='1.15'
2098
2099ac_aux_dir=
2100for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2101  if test -f "$ac_dir/install-sh"; then
2102    ac_aux_dir=$ac_dir
2103    ac_install_sh="$ac_aux_dir/install-sh -c"
2104    break
2105  elif test -f "$ac_dir/install.sh"; then
2106    ac_aux_dir=$ac_dir
2107    ac_install_sh="$ac_aux_dir/install.sh -c"
2108    break
2109  elif test -f "$ac_dir/shtool"; then
2110    ac_aux_dir=$ac_dir
2111    ac_install_sh="$ac_aux_dir/shtool install -c"
2112    break
2113  fi
2114done
2115if test -z "$ac_aux_dir"; then
2116  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2117fi
2118
2119# These three variables are undocumented and unsupported,
2120# and are intended to be withdrawn in a future Autoconf release.
2121# They can cause serious problems if a builder's source tree is in a directory
2122# whose full name contains unusual characters.
2123ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2124ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2125ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2126
2127
2128# Find a good install program.  We prefer a C program (faster),
2129# so one script is as good as another.  But avoid the broken or
2130# incompatible versions:
2131# SysV /etc/install, /usr/sbin/install
2132# SunOS /usr/etc/install
2133# IRIX /sbin/install
2134# AIX /bin/install
2135# AmigaOS /C/install, which installs bootblocks on floppy discs
2136# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2137# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2138# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2139# OS/2's system install, which has a completely different semantic
2140# ./install, which can be erroneously created by make from ./install.sh.
2141# Reject install programs that cannot install multiple files.
2142{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2143$as_echo_n "checking for a BSD-compatible install... " >&6; }
2144if test -z "$INSTALL"; then
2145if ${ac_cv_path_install+:} false; then :
2146  $as_echo_n "(cached) " >&6
2147else
2148  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2149for as_dir in $PATH
2150do
2151  IFS=$as_save_IFS
2152  test -z "$as_dir" && as_dir=.
2153    # Account for people who put trailing slashes in PATH elements.
2154case $as_dir/ in #((
2155  ./ | .// | /[cC]/* | \
2156  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2157  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2158  /usr/ucb/* ) ;;
2159  *)
2160    # OSF1 and SCO ODT 3.0 have their own names for install.
2161    # Don't use installbsd from OSF since it installs stuff as root
2162    # by default.
2163    for ac_prog in ginstall scoinst install; do
2164      for ac_exec_ext in '' $ac_executable_extensions; do
2165	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2166	  if test $ac_prog = install &&
2167	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2168	    # AIX install.  It has an incompatible calling convention.
2169	    :
2170	  elif test $ac_prog = install &&
2171	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2172	    # program-specific install script used by HP pwplus--don't use.
2173	    :
2174	  else
2175	    rm -rf conftest.one conftest.two conftest.dir
2176	    echo one > conftest.one
2177	    echo two > conftest.two
2178	    mkdir conftest.dir
2179	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2180	      test -s conftest.one && test -s conftest.two &&
2181	      test -s conftest.dir/conftest.one &&
2182	      test -s conftest.dir/conftest.two
2183	    then
2184	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2185	      break 3
2186	    fi
2187	  fi
2188	fi
2189      done
2190    done
2191    ;;
2192esac
2193
2194  done
2195IFS=$as_save_IFS
2196
2197rm -rf conftest.one conftest.two conftest.dir
2198
2199fi
2200  if test "${ac_cv_path_install+set}" = set; then
2201    INSTALL=$ac_cv_path_install
2202  else
2203    # As a last resort, use the slow shell script.  Don't cache a
2204    # value for INSTALL within a source directory, because that will
2205    # break other packages using the cache if that directory is
2206    # removed, or if the value is a relative name.
2207    INSTALL=$ac_install_sh
2208  fi
2209fi
2210{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2211$as_echo "$INSTALL" >&6; }
2212
2213# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2214# It thinks the first close brace ends the variable substitution.
2215test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2216
2217test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2218
2219test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2220
2221{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2222$as_echo_n "checking whether build environment is sane... " >&6; }
2223# Reject unsafe characters in $srcdir or the absolute working directory
2224# name.  Accept space and tab only in the latter.
2225am_lf='
2226'
2227case `pwd` in
2228  *[\\\"\#\$\&\'\`$am_lf]*)
2229    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2230esac
2231case $srcdir in
2232  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2233    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2234esac
2235
2236# Do 'set' in a subshell so we don't clobber the current shell's
2237# arguments.  Must try -L first in case configure is actually a
2238# symlink; some systems play weird games with the mod time of symlinks
2239# (eg FreeBSD returns the mod time of the symlink's containing
2240# directory).
2241if (
2242   am_has_slept=no
2243   for am_try in 1 2; do
2244     echo "timestamp, slept: $am_has_slept" > conftest.file
2245     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2246     if test "$*" = "X"; then
2247	# -L didn't work.
2248	set X `ls -t "$srcdir/configure" conftest.file`
2249     fi
2250     if test "$*" != "X $srcdir/configure conftest.file" \
2251	&& test "$*" != "X conftest.file $srcdir/configure"; then
2252
2253	# If neither matched, then we have a broken ls.  This can happen
2254	# if, for instance, CONFIG_SHELL is bash and it inherits a
2255	# broken ls alias from the environment.  This has actually
2256	# happened.  Such a system could not be considered "sane".
2257	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2258  alias in your environment" "$LINENO" 5
2259     fi
2260     if test "$2" = conftest.file || test $am_try -eq 2; then
2261       break
2262     fi
2263     # Just in case.
2264     sleep 1
2265     am_has_slept=yes
2266   done
2267   test "$2" = conftest.file
2268   )
2269then
2270   # Ok.
2271   :
2272else
2273   as_fn_error $? "newly created file is older than distributed files!
2274Check your system clock" "$LINENO" 5
2275fi
2276{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2277$as_echo "yes" >&6; }
2278# If we didn't sleep, we still need to ensure time stamps of config.status and
2279# generated files are strictly newer.
2280am_sleep_pid=
2281if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2282  ( sleep 1 ) &
2283  am_sleep_pid=$!
2284fi
2285
2286rm -f conftest.file
2287
2288test "$program_prefix" != NONE &&
2289  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2290# Use a double $ so make ignores it.
2291test "$program_suffix" != NONE &&
2292  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2293# Double any \ or $.
2294# By default was `s,x,x', remove it if useless.
2295ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2296program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2297
2298# Expand $ac_aux_dir to an absolute path.
2299am_aux_dir=`cd "$ac_aux_dir" && pwd`
2300
2301if test x"${MISSING+set}" != xset; then
2302  case $am_aux_dir in
2303  *\ * | *\	*)
2304    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2305  *)
2306    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2307  esac
2308fi
2309# Use eval to expand $SHELL
2310if eval "$MISSING --is-lightweight"; then
2311  am_missing_run="$MISSING "
2312else
2313  am_missing_run=
2314  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2315$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2316fi
2317
2318if test x"${install_sh+set}" != xset; then
2319  case $am_aux_dir in
2320  *\ * | *\	*)
2321    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2322  *)
2323    install_sh="\${SHELL} $am_aux_dir/install-sh"
2324  esac
2325fi
2326
2327# Installed binaries are usually stripped using 'strip' when the user
2328# run "make install-strip".  However 'strip' might not be the right
2329# tool to use in cross-compilation environments, therefore Automake
2330# will honor the 'STRIP' environment variable to overrule this program.
2331if test "$cross_compiling" != no; then
2332  if test -n "$ac_tool_prefix"; then
2333  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2334set dummy ${ac_tool_prefix}strip; ac_word=$2
2335{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2336$as_echo_n "checking for $ac_word... " >&6; }
2337if ${ac_cv_prog_STRIP+:} false; then :
2338  $as_echo_n "(cached) " >&6
2339else
2340  if test -n "$STRIP"; then
2341  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2342else
2343as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2344for as_dir in $PATH
2345do
2346  IFS=$as_save_IFS
2347  test -z "$as_dir" && as_dir=.
2348    for ac_exec_ext in '' $ac_executable_extensions; do
2349  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2350    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2351    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2352    break 2
2353  fi
2354done
2355  done
2356IFS=$as_save_IFS
2357
2358fi
2359fi
2360STRIP=$ac_cv_prog_STRIP
2361if test -n "$STRIP"; then
2362  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2363$as_echo "$STRIP" >&6; }
2364else
2365  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2366$as_echo "no" >&6; }
2367fi
2368
2369
2370fi
2371if test -z "$ac_cv_prog_STRIP"; then
2372  ac_ct_STRIP=$STRIP
2373  # Extract the first word of "strip", so it can be a program name with args.
2374set dummy strip; ac_word=$2
2375{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2376$as_echo_n "checking for $ac_word... " >&6; }
2377if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2378  $as_echo_n "(cached) " >&6
2379else
2380  if test -n "$ac_ct_STRIP"; then
2381  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2382else
2383as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2384for as_dir in $PATH
2385do
2386  IFS=$as_save_IFS
2387  test -z "$as_dir" && as_dir=.
2388    for ac_exec_ext in '' $ac_executable_extensions; do
2389  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2390    ac_cv_prog_ac_ct_STRIP="strip"
2391    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2392    break 2
2393  fi
2394done
2395  done
2396IFS=$as_save_IFS
2397
2398fi
2399fi
2400ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2401if test -n "$ac_ct_STRIP"; then
2402  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2403$as_echo "$ac_ct_STRIP" >&6; }
2404else
2405  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2406$as_echo "no" >&6; }
2407fi
2408
2409  if test "x$ac_ct_STRIP" = x; then
2410    STRIP=":"
2411  else
2412    case $cross_compiling:$ac_tool_warned in
2413yes:)
2414{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2415$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2416ac_tool_warned=yes ;;
2417esac
2418    STRIP=$ac_ct_STRIP
2419  fi
2420else
2421  STRIP="$ac_cv_prog_STRIP"
2422fi
2423
2424fi
2425INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2426
2427{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2428$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2429if test -z "$MKDIR_P"; then
2430  if ${ac_cv_path_mkdir+:} false; then :
2431  $as_echo_n "(cached) " >&6
2432else
2433  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2434for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2435do
2436  IFS=$as_save_IFS
2437  test -z "$as_dir" && as_dir=.
2438    for ac_prog in mkdir gmkdir; do
2439	 for ac_exec_ext in '' $ac_executable_extensions; do
2440	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2441	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2442	     'mkdir (GNU coreutils) '* | \
2443	     'mkdir (coreutils) '* | \
2444	     'mkdir (fileutils) '4.1*)
2445	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2446	       break 3;;
2447	   esac
2448	 done
2449       done
2450  done
2451IFS=$as_save_IFS
2452
2453fi
2454
2455  test -d ./--version && rmdir ./--version
2456  if test "${ac_cv_path_mkdir+set}" = set; then
2457    MKDIR_P="$ac_cv_path_mkdir -p"
2458  else
2459    # As a last resort, use the slow shell script.  Don't cache a
2460    # value for MKDIR_P within a source directory, because that will
2461    # break other packages using the cache if that directory is
2462    # removed, or if the value is a relative name.
2463    MKDIR_P="$ac_install_sh -d"
2464  fi
2465fi
2466{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2467$as_echo "$MKDIR_P" >&6; }
2468
2469for ac_prog in gawk mawk nawk awk
2470do
2471  # Extract the first word of "$ac_prog", so it can be a program name with args.
2472set dummy $ac_prog; ac_word=$2
2473{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2474$as_echo_n "checking for $ac_word... " >&6; }
2475if ${ac_cv_prog_AWK+:} false; then :
2476  $as_echo_n "(cached) " >&6
2477else
2478  if test -n "$AWK"; then
2479  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2480else
2481as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2482for as_dir in $PATH
2483do
2484  IFS=$as_save_IFS
2485  test -z "$as_dir" && as_dir=.
2486    for ac_exec_ext in '' $ac_executable_extensions; do
2487  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2488    ac_cv_prog_AWK="$ac_prog"
2489    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2490    break 2
2491  fi
2492done
2493  done
2494IFS=$as_save_IFS
2495
2496fi
2497fi
2498AWK=$ac_cv_prog_AWK
2499if test -n "$AWK"; then
2500  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2501$as_echo "$AWK" >&6; }
2502else
2503  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2504$as_echo "no" >&6; }
2505fi
2506
2507
2508  test -n "$AWK" && break
2509done
2510
2511{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2512$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2513set x ${MAKE-make}
2514ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2515if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2516  $as_echo_n "(cached) " >&6
2517else
2518  cat >conftest.make <<\_ACEOF
2519SHELL = /bin/sh
2520all:
2521	@echo '@@@%%%=$(MAKE)=@@@%%%'
2522_ACEOF
2523# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2524case `${MAKE-make} -f conftest.make 2>/dev/null` in
2525  *@@@%%%=?*=@@@%%%*)
2526    eval ac_cv_prog_make_${ac_make}_set=yes;;
2527  *)
2528    eval ac_cv_prog_make_${ac_make}_set=no;;
2529esac
2530rm -f conftest.make
2531fi
2532if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2533  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2534$as_echo "yes" >&6; }
2535  SET_MAKE=
2536else
2537  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2538$as_echo "no" >&6; }
2539  SET_MAKE="MAKE=${MAKE-make}"
2540fi
2541
2542rm -rf .tst 2>/dev/null
2543mkdir .tst 2>/dev/null
2544if test -d .tst; then
2545  am__leading_dot=.
2546else
2547  am__leading_dot=_
2548fi
2549rmdir .tst 2>/dev/null
2550
2551# Check whether --enable-silent-rules was given.
2552if test "${enable_silent_rules+set}" = set; then :
2553  enableval=$enable_silent_rules;
2554fi
2555
2556case $enable_silent_rules in # (((
2557  yes) AM_DEFAULT_VERBOSITY=0;;
2558   no) AM_DEFAULT_VERBOSITY=1;;
2559    *) AM_DEFAULT_VERBOSITY=1;;
2560esac
2561am_make=${MAKE-make}
2562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2563$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2564if ${am_cv_make_support_nested_variables+:} false; then :
2565  $as_echo_n "(cached) " >&6
2566else
2567  if $as_echo 'TRUE=$(BAR$(V))
2568BAR0=false
2569BAR1=true
2570V=1
2571am__doit:
2572	@$(TRUE)
2573.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2574  am_cv_make_support_nested_variables=yes
2575else
2576  am_cv_make_support_nested_variables=no
2577fi
2578fi
2579{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2580$as_echo "$am_cv_make_support_nested_variables" >&6; }
2581if test $am_cv_make_support_nested_variables = yes; then
2582    AM_V='$(V)'
2583  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2584else
2585  AM_V=$AM_DEFAULT_VERBOSITY
2586  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2587fi
2588AM_BACKSLASH='\'
2589
2590if test "`cd $srcdir && pwd`" != "`pwd`"; then
2591  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2592  # is not polluted with repeated "-I."
2593  am__isrc=' -I$(srcdir)'
2594  # test to see if srcdir already configured
2595  if test -f $srcdir/config.status; then
2596    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2597  fi
2598fi
2599
2600# test whether we have cygpath
2601if test -z "$CYGPATH_W"; then
2602  if (cygpath --version) >/dev/null 2>/dev/null; then
2603    CYGPATH_W='cygpath -w'
2604  else
2605    CYGPATH_W=echo
2606  fi
2607fi
2608
2609
2610# Define the identity of the package.
2611 PACKAGE='transset'
2612 VERSION='1.0.2'
2613
2614
2615cat >>confdefs.h <<_ACEOF
2616#define PACKAGE "$PACKAGE"
2617_ACEOF
2618
2619
2620cat >>confdefs.h <<_ACEOF
2621#define VERSION "$VERSION"
2622_ACEOF
2623
2624# Some tools Automake needs.
2625
2626ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2627
2628
2629AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2630
2631
2632AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2633
2634
2635AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2636
2637
2638MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2639
2640# For better backward compatibility.  To be removed once Automake 1.9.x
2641# dies out for good.  For more background, see:
2642# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2643# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2644mkdir_p='$(MKDIR_P)'
2645
2646# We need awk for the "check" target (and possibly the TAP driver).  The
2647# system "awk" is bad on some platforms.
2648# Always define AMTAR for backward compatibility.  Yes, it's still used
2649# in the wild :-(  We should find a proper way to deprecate it ...
2650AMTAR='$${TAR-tar}'
2651
2652
2653# We'll loop over all known methods to create a tar archive until one works.
2654_am_tools='gnutar  pax cpio none'
2655
2656am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2657
2658
2659
2660
2661
2662
2663# POSIX will say in a future version that running "rm -f" with no argument
2664# is OK; and we want to be able to make that assumption in our Makefile
2665# recipes.  So use an aggressive probe to check that the usage we want is
2666# actually supported "in the wild" to an acceptable degree.
2667# See automake bug#10828.
2668# To make any issue more visible, cause the running configure to be aborted
2669# by default if the 'rm' program in use doesn't match our expectations; the
2670# user can still override this though.
2671if rm -f && rm -fr && rm -rf; then : OK; else
2672  cat >&2 <<'END'
2673Oops!
2674
2675Your 'rm' program seems unable to run without file operands specified
2676on the command line, even when the '-f' option is present.  This is contrary
2677to the behaviour of most rm programs out there, and not conforming with
2678the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2679
2680Please tell bug-automake@gnu.org about your system, including the value
2681of your $PATH and any error possibly output before this message.  This
2682can help us improve future automake versions.
2683
2684END
2685  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2686    echo 'Configuration will proceed anyway, since you have set the' >&2
2687    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2688    echo >&2
2689  else
2690    cat >&2 <<'END'
2691Aborting the configuration process, to ensure you take notice of the issue.
2692
2693You can download and install GNU coreutils to get an 'rm' implementation
2694that behaves properly: <http://www.gnu.org/software/coreutils/>.
2695
2696If you want to complete the configuration process using your problematic
2697'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2698to "yes", and re-run configure.
2699
2700END
2701    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2702  fi
2703fi
2704
2705
2706# Require xorg-macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718DEPDIR="${am__leading_dot}deps"
2719
2720ac_config_commands="$ac_config_commands depfiles"
2721
2722
2723am_make=${MAKE-make}
2724cat > confinc << 'END'
2725am__doit:
2726	@echo this is the am__doit target
2727.PHONY: am__doit
2728END
2729# If we don't find an include directive, just comment out the code.
2730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2731$as_echo_n "checking for style of include used by $am_make... " >&6; }
2732am__include="#"
2733am__quote=
2734_am_result=none
2735# First try GNU make style include.
2736echo "include confinc" > confmf
2737# Ignore all kinds of additional output from 'make'.
2738case `$am_make -s -f confmf 2> /dev/null` in #(
2739*the\ am__doit\ target*)
2740  am__include=include
2741  am__quote=
2742  _am_result=GNU
2743  ;;
2744esac
2745# Now try BSD make style include.
2746if test "$am__include" = "#"; then
2747   echo '.include "confinc"' > confmf
2748   case `$am_make -s -f confmf 2> /dev/null` in #(
2749   *the\ am__doit\ target*)
2750     am__include=.include
2751     am__quote="\""
2752     _am_result=BSD
2753     ;;
2754   esac
2755fi
2756
2757
2758{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2759$as_echo "$_am_result" >&6; }
2760rm -f confinc confmf
2761
2762# Check whether --enable-dependency-tracking was given.
2763if test "${enable_dependency_tracking+set}" = set; then :
2764  enableval=$enable_dependency_tracking;
2765fi
2766
2767if test "x$enable_dependency_tracking" != xno; then
2768  am_depcomp="$ac_aux_dir/depcomp"
2769  AMDEPBACKSLASH='\'
2770  am__nodep='_no'
2771fi
2772 if test "x$enable_dependency_tracking" != xno; then
2773  AMDEP_TRUE=
2774  AMDEP_FALSE='#'
2775else
2776  AMDEP_TRUE='#'
2777  AMDEP_FALSE=
2778fi
2779
2780
2781ac_ext=c
2782ac_cpp='$CPP $CPPFLAGS'
2783ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2784ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2785ac_compiler_gnu=$ac_cv_c_compiler_gnu
2786if test -n "$ac_tool_prefix"; then
2787  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2788set dummy ${ac_tool_prefix}gcc; ac_word=$2
2789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2790$as_echo_n "checking for $ac_word... " >&6; }
2791if ${ac_cv_prog_CC+:} false; then :
2792  $as_echo_n "(cached) " >&6
2793else
2794  if test -n "$CC"; then
2795  ac_cv_prog_CC="$CC" # Let the user override the test.
2796else
2797as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2798for as_dir in $PATH
2799do
2800  IFS=$as_save_IFS
2801  test -z "$as_dir" && as_dir=.
2802    for ac_exec_ext in '' $ac_executable_extensions; do
2803  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2804    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2805    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2806    break 2
2807  fi
2808done
2809  done
2810IFS=$as_save_IFS
2811
2812fi
2813fi
2814CC=$ac_cv_prog_CC
2815if test -n "$CC"; then
2816  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2817$as_echo "$CC" >&6; }
2818else
2819  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2820$as_echo "no" >&6; }
2821fi
2822
2823
2824fi
2825if test -z "$ac_cv_prog_CC"; then
2826  ac_ct_CC=$CC
2827  # Extract the first word of "gcc", so it can be a program name with args.
2828set dummy gcc; ac_word=$2
2829{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2830$as_echo_n "checking for $ac_word... " >&6; }
2831if ${ac_cv_prog_ac_ct_CC+:} false; then :
2832  $as_echo_n "(cached) " >&6
2833else
2834  if test -n "$ac_ct_CC"; then
2835  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2836else
2837as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2838for as_dir in $PATH
2839do
2840  IFS=$as_save_IFS
2841  test -z "$as_dir" && as_dir=.
2842    for ac_exec_ext in '' $ac_executable_extensions; do
2843  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2844    ac_cv_prog_ac_ct_CC="gcc"
2845    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2846    break 2
2847  fi
2848done
2849  done
2850IFS=$as_save_IFS
2851
2852fi
2853fi
2854ac_ct_CC=$ac_cv_prog_ac_ct_CC
2855if test -n "$ac_ct_CC"; then
2856  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2857$as_echo "$ac_ct_CC" >&6; }
2858else
2859  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2860$as_echo "no" >&6; }
2861fi
2862
2863  if test "x$ac_ct_CC" = x; then
2864    CC=""
2865  else
2866    case $cross_compiling:$ac_tool_warned in
2867yes:)
2868{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2869$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2870ac_tool_warned=yes ;;
2871esac
2872    CC=$ac_ct_CC
2873  fi
2874else
2875  CC="$ac_cv_prog_CC"
2876fi
2877
2878if test -z "$CC"; then
2879          if test -n "$ac_tool_prefix"; then
2880    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2881set dummy ${ac_tool_prefix}cc; ac_word=$2
2882{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2883$as_echo_n "checking for $ac_word... " >&6; }
2884if ${ac_cv_prog_CC+:} false; then :
2885  $as_echo_n "(cached) " >&6
2886else
2887  if test -n "$CC"; then
2888  ac_cv_prog_CC="$CC" # Let the user override the test.
2889else
2890as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2891for as_dir in $PATH
2892do
2893  IFS=$as_save_IFS
2894  test -z "$as_dir" && as_dir=.
2895    for ac_exec_ext in '' $ac_executable_extensions; do
2896  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2897    ac_cv_prog_CC="${ac_tool_prefix}cc"
2898    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2899    break 2
2900  fi
2901done
2902  done
2903IFS=$as_save_IFS
2904
2905fi
2906fi
2907CC=$ac_cv_prog_CC
2908if test -n "$CC"; then
2909  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2910$as_echo "$CC" >&6; }
2911else
2912  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2913$as_echo "no" >&6; }
2914fi
2915
2916
2917  fi
2918fi
2919if test -z "$CC"; then
2920  # Extract the first word of "cc", so it can be a program name with args.
2921set dummy cc; ac_word=$2
2922{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2923$as_echo_n "checking for $ac_word... " >&6; }
2924if ${ac_cv_prog_CC+:} false; then :
2925  $as_echo_n "(cached) " >&6
2926else
2927  if test -n "$CC"; then
2928  ac_cv_prog_CC="$CC" # Let the user override the test.
2929else
2930  ac_prog_rejected=no
2931as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2932for as_dir in $PATH
2933do
2934  IFS=$as_save_IFS
2935  test -z "$as_dir" && as_dir=.
2936    for ac_exec_ext in '' $ac_executable_extensions; do
2937  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2938    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2939       ac_prog_rejected=yes
2940       continue
2941     fi
2942    ac_cv_prog_CC="cc"
2943    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2944    break 2
2945  fi
2946done
2947  done
2948IFS=$as_save_IFS
2949
2950if test $ac_prog_rejected = yes; then
2951  # We found a bogon in the path, so make sure we never use it.
2952  set dummy $ac_cv_prog_CC
2953  shift
2954  if test $# != 0; then
2955    # We chose a different compiler from the bogus one.
2956    # However, it has the same basename, so the bogon will be chosen
2957    # first if we set CC to just the basename; use the full file name.
2958    shift
2959    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2960  fi
2961fi
2962fi
2963fi
2964CC=$ac_cv_prog_CC
2965if test -n "$CC"; then
2966  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2967$as_echo "$CC" >&6; }
2968else
2969  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2970$as_echo "no" >&6; }
2971fi
2972
2973
2974fi
2975if test -z "$CC"; then
2976  if test -n "$ac_tool_prefix"; then
2977  for ac_prog in cl.exe
2978  do
2979    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2980set dummy $ac_tool_prefix$ac_prog; 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
2989as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2990for as_dir in $PATH
2991do
2992  IFS=$as_save_IFS
2993  test -z "$as_dir" && as_dir=.
2994    for ac_exec_ext in '' $ac_executable_extensions; do
2995  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2996    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2997    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2998    break 2
2999  fi
3000done
3001  done
3002IFS=$as_save_IFS
3003
3004fi
3005fi
3006CC=$ac_cv_prog_CC
3007if test -n "$CC"; then
3008  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3009$as_echo "$CC" >&6; }
3010else
3011  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3012$as_echo "no" >&6; }
3013fi
3014
3015
3016    test -n "$CC" && break
3017  done
3018fi
3019if test -z "$CC"; then
3020  ac_ct_CC=$CC
3021  for ac_prog in cl.exe
3022do
3023  # Extract the first word of "$ac_prog", so it can be a program name with args.
3024set dummy $ac_prog; ac_word=$2
3025{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3026$as_echo_n "checking for $ac_word... " >&6; }
3027if ${ac_cv_prog_ac_ct_CC+:} false; then :
3028  $as_echo_n "(cached) " >&6
3029else
3030  if test -n "$ac_ct_CC"; then
3031  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3032else
3033as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3034for as_dir in $PATH
3035do
3036  IFS=$as_save_IFS
3037  test -z "$as_dir" && as_dir=.
3038    for ac_exec_ext in '' $ac_executable_extensions; do
3039  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3040    ac_cv_prog_ac_ct_CC="$ac_prog"
3041    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3042    break 2
3043  fi
3044done
3045  done
3046IFS=$as_save_IFS
3047
3048fi
3049fi
3050ac_ct_CC=$ac_cv_prog_ac_ct_CC
3051if test -n "$ac_ct_CC"; then
3052  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3053$as_echo "$ac_ct_CC" >&6; }
3054else
3055  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3056$as_echo "no" >&6; }
3057fi
3058
3059
3060  test -n "$ac_ct_CC" && break
3061done
3062
3063  if test "x$ac_ct_CC" = x; then
3064    CC=""
3065  else
3066    case $cross_compiling:$ac_tool_warned in
3067yes:)
3068{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3069$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3070ac_tool_warned=yes ;;
3071esac
3072    CC=$ac_ct_CC
3073  fi
3074fi
3075
3076fi
3077
3078
3079test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3080$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3081as_fn_error $? "no acceptable C compiler found in \$PATH
3082See \`config.log' for more details" "$LINENO" 5; }
3083
3084# Provide some information about the compiler.
3085$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3086set X $ac_compile
3087ac_compiler=$2
3088for ac_option in --version -v -V -qversion; do
3089  { { ac_try="$ac_compiler $ac_option >&5"
3090case "(($ac_try" in
3091  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3092  *) ac_try_echo=$ac_try;;
3093esac
3094eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3095$as_echo "$ac_try_echo"; } >&5
3096  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3097  ac_status=$?
3098  if test -s conftest.err; then
3099    sed '10a\
3100... rest of stderr output deleted ...
3101         10q' conftest.err >conftest.er1
3102    cat conftest.er1 >&5
3103  fi
3104  rm -f conftest.er1 conftest.err
3105  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3106  test $ac_status = 0; }
3107done
3108
3109cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3110/* end confdefs.h.  */
3111
3112int
3113main ()
3114{
3115
3116  ;
3117  return 0;
3118}
3119_ACEOF
3120ac_clean_files_save=$ac_clean_files
3121ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3122# Try to create an executable without -o first, disregard a.out.
3123# It will help us diagnose broken compilers, and finding out an intuition
3124# of exeext.
3125{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3126$as_echo_n "checking whether the C compiler works... " >&6; }
3127ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3128
3129# The possible output files:
3130ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3131
3132ac_rmfiles=
3133for ac_file in $ac_files
3134do
3135  case $ac_file in
3136    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3137    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3138  esac
3139done
3140rm -f $ac_rmfiles
3141
3142if { { ac_try="$ac_link_default"
3143case "(($ac_try" in
3144  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3145  *) ac_try_echo=$ac_try;;
3146esac
3147eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3148$as_echo "$ac_try_echo"; } >&5
3149  (eval "$ac_link_default") 2>&5
3150  ac_status=$?
3151  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3152  test $ac_status = 0; }; then :
3153  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3154# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3155# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3156# so that the user can short-circuit this test for compilers unknown to
3157# Autoconf.
3158for ac_file in $ac_files ''
3159do
3160  test -f "$ac_file" || continue
3161  case $ac_file in
3162    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3163	;;
3164    [ab].out )
3165	# We found the default executable, but exeext='' is most
3166	# certainly right.
3167	break;;
3168    *.* )
3169	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3170	then :; else
3171	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3172	fi
3173	# We set ac_cv_exeext here because the later test for it is not
3174	# safe: cross compilers may not add the suffix if given an `-o'
3175	# argument, so we may need to know it at that point already.
3176	# Even if this section looks crufty: it has the advantage of
3177	# actually working.
3178	break;;
3179    * )
3180	break;;
3181  esac
3182done
3183test "$ac_cv_exeext" = no && ac_cv_exeext=
3184
3185else
3186  ac_file=''
3187fi
3188if test -z "$ac_file"; then :
3189  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3190$as_echo "no" >&6; }
3191$as_echo "$as_me: failed program was:" >&5
3192sed 's/^/| /' conftest.$ac_ext >&5
3193
3194{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3195$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3196as_fn_error 77 "C compiler cannot create executables
3197See \`config.log' for more details" "$LINENO" 5; }
3198else
3199  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3200$as_echo "yes" >&6; }
3201fi
3202{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3203$as_echo_n "checking for C compiler default output file name... " >&6; }
3204{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3205$as_echo "$ac_file" >&6; }
3206ac_exeext=$ac_cv_exeext
3207
3208rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3209ac_clean_files=$ac_clean_files_save
3210{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3211$as_echo_n "checking for suffix of executables... " >&6; }
3212if { { ac_try="$ac_link"
3213case "(($ac_try" in
3214  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3215  *) ac_try_echo=$ac_try;;
3216esac
3217eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3218$as_echo "$ac_try_echo"; } >&5
3219  (eval "$ac_link") 2>&5
3220  ac_status=$?
3221  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3222  test $ac_status = 0; }; then :
3223  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3224# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3225# work properly (i.e., refer to `conftest.exe'), while it won't with
3226# `rm'.
3227for ac_file in conftest.exe conftest conftest.*; do
3228  test -f "$ac_file" || continue
3229  case $ac_file in
3230    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3231    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3232	  break;;
3233    * ) break;;
3234  esac
3235done
3236else
3237  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3238$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3239as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3240See \`config.log' for more details" "$LINENO" 5; }
3241fi
3242rm -f conftest conftest$ac_cv_exeext
3243{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3244$as_echo "$ac_cv_exeext" >&6; }
3245
3246rm -f conftest.$ac_ext
3247EXEEXT=$ac_cv_exeext
3248ac_exeext=$EXEEXT
3249cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3250/* end confdefs.h.  */
3251#include <stdio.h>
3252int
3253main ()
3254{
3255FILE *f = fopen ("conftest.out", "w");
3256 return ferror (f) || fclose (f) != 0;
3257
3258  ;
3259  return 0;
3260}
3261_ACEOF
3262ac_clean_files="$ac_clean_files conftest.out"
3263# Check that the compiler produces executables we can run.  If not, either
3264# the compiler is broken, or we cross compile.
3265{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3266$as_echo_n "checking whether we are cross compiling... " >&6; }
3267if test "$cross_compiling" != yes; then
3268  { { ac_try="$ac_link"
3269case "(($ac_try" in
3270  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3271  *) ac_try_echo=$ac_try;;
3272esac
3273eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3274$as_echo "$ac_try_echo"; } >&5
3275  (eval "$ac_link") 2>&5
3276  ac_status=$?
3277  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3278  test $ac_status = 0; }
3279  if { ac_try='./conftest$ac_cv_exeext'
3280  { { case "(($ac_try" in
3281  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3282  *) ac_try_echo=$ac_try;;
3283esac
3284eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3285$as_echo "$ac_try_echo"; } >&5
3286  (eval "$ac_try") 2>&5
3287  ac_status=$?
3288  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3289  test $ac_status = 0; }; }; then
3290    cross_compiling=no
3291  else
3292    if test "$cross_compiling" = maybe; then
3293	cross_compiling=yes
3294    else
3295	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3296$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3297as_fn_error $? "cannot run C compiled programs.
3298If you meant to cross compile, use \`--host'.
3299See \`config.log' for more details" "$LINENO" 5; }
3300    fi
3301  fi
3302fi
3303{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3304$as_echo "$cross_compiling" >&6; }
3305
3306rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3307ac_clean_files=$ac_clean_files_save
3308{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3309$as_echo_n "checking for suffix of object files... " >&6; }
3310if ${ac_cv_objext+:} false; then :
3311  $as_echo_n "(cached) " >&6
3312else
3313  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3314/* end confdefs.h.  */
3315
3316int
3317main ()
3318{
3319
3320  ;
3321  return 0;
3322}
3323_ACEOF
3324rm -f conftest.o conftest.obj
3325if { { ac_try="$ac_compile"
3326case "(($ac_try" in
3327  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3328  *) ac_try_echo=$ac_try;;
3329esac
3330eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3331$as_echo "$ac_try_echo"; } >&5
3332  (eval "$ac_compile") 2>&5
3333  ac_status=$?
3334  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3335  test $ac_status = 0; }; then :
3336  for ac_file in conftest.o conftest.obj conftest.*; do
3337  test -f "$ac_file" || continue;
3338  case $ac_file in
3339    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3340    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3341       break;;
3342  esac
3343done
3344else
3345  $as_echo "$as_me: failed program was:" >&5
3346sed 's/^/| /' conftest.$ac_ext >&5
3347
3348{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3349$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3350as_fn_error $? "cannot compute suffix of object files: cannot compile
3351See \`config.log' for more details" "$LINENO" 5; }
3352fi
3353rm -f conftest.$ac_cv_objext conftest.$ac_ext
3354fi
3355{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3356$as_echo "$ac_cv_objext" >&6; }
3357OBJEXT=$ac_cv_objext
3358ac_objext=$OBJEXT
3359{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3360$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3361if ${ac_cv_c_compiler_gnu+:} false; then :
3362  $as_echo_n "(cached) " >&6
3363else
3364  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3365/* end confdefs.h.  */
3366
3367int
3368main ()
3369{
3370#ifndef __GNUC__
3371       choke me
3372#endif
3373
3374  ;
3375  return 0;
3376}
3377_ACEOF
3378if ac_fn_c_try_compile "$LINENO"; then :
3379  ac_compiler_gnu=yes
3380else
3381  ac_compiler_gnu=no
3382fi
3383rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3384ac_cv_c_compiler_gnu=$ac_compiler_gnu
3385
3386fi
3387{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3388$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3389if test $ac_compiler_gnu = yes; then
3390  GCC=yes
3391else
3392  GCC=
3393fi
3394ac_test_CFLAGS=${CFLAGS+set}
3395ac_save_CFLAGS=$CFLAGS
3396{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3397$as_echo_n "checking whether $CC accepts -g... " >&6; }
3398if ${ac_cv_prog_cc_g+:} false; then :
3399  $as_echo_n "(cached) " >&6
3400else
3401  ac_save_c_werror_flag=$ac_c_werror_flag
3402   ac_c_werror_flag=yes
3403   ac_cv_prog_cc_g=no
3404   CFLAGS="-g"
3405   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3406/* end confdefs.h.  */
3407
3408int
3409main ()
3410{
3411
3412  ;
3413  return 0;
3414}
3415_ACEOF
3416if ac_fn_c_try_compile "$LINENO"; then :
3417  ac_cv_prog_cc_g=yes
3418else
3419  CFLAGS=""
3420      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3421/* end confdefs.h.  */
3422
3423int
3424main ()
3425{
3426
3427  ;
3428  return 0;
3429}
3430_ACEOF
3431if ac_fn_c_try_compile "$LINENO"; then :
3432
3433else
3434  ac_c_werror_flag=$ac_save_c_werror_flag
3435	 CFLAGS="-g"
3436	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3437/* end confdefs.h.  */
3438
3439int
3440main ()
3441{
3442
3443  ;
3444  return 0;
3445}
3446_ACEOF
3447if ac_fn_c_try_compile "$LINENO"; then :
3448  ac_cv_prog_cc_g=yes
3449fi
3450rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3451fi
3452rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3453fi
3454rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3455   ac_c_werror_flag=$ac_save_c_werror_flag
3456fi
3457{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3458$as_echo "$ac_cv_prog_cc_g" >&6; }
3459if test "$ac_test_CFLAGS" = set; then
3460  CFLAGS=$ac_save_CFLAGS
3461elif test $ac_cv_prog_cc_g = yes; then
3462  if test "$GCC" = yes; then
3463    CFLAGS="-g -O2"
3464  else
3465    CFLAGS="-g"
3466  fi
3467else
3468  if test "$GCC" = yes; then
3469    CFLAGS="-O2"
3470  else
3471    CFLAGS=
3472  fi
3473fi
3474{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3475$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3476if ${ac_cv_prog_cc_c89+:} false; then :
3477  $as_echo_n "(cached) " >&6
3478else
3479  ac_cv_prog_cc_c89=no
3480ac_save_CC=$CC
3481cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3482/* end confdefs.h.  */
3483#include <stdarg.h>
3484#include <stdio.h>
3485struct stat;
3486/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3487struct buf { int x; };
3488FILE * (*rcsopen) (struct buf *, struct stat *, int);
3489static char *e (p, i)
3490     char **p;
3491     int i;
3492{
3493  return p[i];
3494}
3495static char *f (char * (*g) (char **, int), char **p, ...)
3496{
3497  char *s;
3498  va_list v;
3499  va_start (v,p);
3500  s = g (p, va_arg (v,int));
3501  va_end (v);
3502  return s;
3503}
3504
3505/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3506   function prototypes and stuff, but not '\xHH' hex character constants.
3507   These don't provoke an error unfortunately, instead are silently treated
3508   as 'x'.  The following induces an error, until -std is added to get
3509   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3510   array size at least.  It's necessary to write '\x00'==0 to get something
3511   that's true only with -std.  */
3512int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3513
3514/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3515   inside strings and character constants.  */
3516#define FOO(x) 'x'
3517int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3518
3519int test (int i, double x);
3520struct s1 {int (*f) (int a);};
3521struct s2 {int (*f) (double a);};
3522int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3523int argc;
3524char **argv;
3525int
3526main ()
3527{
3528return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3529  ;
3530  return 0;
3531}
3532_ACEOF
3533for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3534	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3535do
3536  CC="$ac_save_CC $ac_arg"
3537  if ac_fn_c_try_compile "$LINENO"; then :
3538  ac_cv_prog_cc_c89=$ac_arg
3539fi
3540rm -f core conftest.err conftest.$ac_objext
3541  test "x$ac_cv_prog_cc_c89" != "xno" && break
3542done
3543rm -f conftest.$ac_ext
3544CC=$ac_save_CC
3545
3546fi
3547# AC_CACHE_VAL
3548case "x$ac_cv_prog_cc_c89" in
3549  x)
3550    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3551$as_echo "none needed" >&6; } ;;
3552  xno)
3553    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3554$as_echo "unsupported" >&6; } ;;
3555  *)
3556    CC="$CC $ac_cv_prog_cc_c89"
3557    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3558$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3559esac
3560if test "x$ac_cv_prog_cc_c89" != xno; then :
3561
3562fi
3563
3564ac_ext=c
3565ac_cpp='$CPP $CPPFLAGS'
3566ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3567ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3568ac_compiler_gnu=$ac_cv_c_compiler_gnu
3569
3570ac_ext=c
3571ac_cpp='$CPP $CPPFLAGS'
3572ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3573ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3574ac_compiler_gnu=$ac_cv_c_compiler_gnu
3575{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3576$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3577if ${am_cv_prog_cc_c_o+:} false; then :
3578  $as_echo_n "(cached) " >&6
3579else
3580  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3581/* end confdefs.h.  */
3582
3583int
3584main ()
3585{
3586
3587  ;
3588  return 0;
3589}
3590_ACEOF
3591  # Make sure it works both with $CC and with simple cc.
3592  # Following AC_PROG_CC_C_O, we do the test twice because some
3593  # compilers refuse to overwrite an existing .o file with -o,
3594  # though they will create one.
3595  am_cv_prog_cc_c_o=yes
3596  for am_i in 1 2; do
3597    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3598   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3599   ac_status=$?
3600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3601   (exit $ac_status); } \
3602         && test -f conftest2.$ac_objext; then
3603      : OK
3604    else
3605      am_cv_prog_cc_c_o=no
3606      break
3607    fi
3608  done
3609  rm -f core conftest*
3610  unset am_i
3611fi
3612{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3613$as_echo "$am_cv_prog_cc_c_o" >&6; }
3614if test "$am_cv_prog_cc_c_o" != yes; then
3615   # Losing compiler, so override with the script.
3616   # FIXME: It is wrong to rewrite CC.
3617   # But if we don't then we get into trouble of one sort or another.
3618   # A longer-term fix would be to have automake use am__CC in this case,
3619   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3620   CC="$am_aux_dir/compile $CC"
3621fi
3622ac_ext=c
3623ac_cpp='$CPP $CPPFLAGS'
3624ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3625ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3626ac_compiler_gnu=$ac_cv_c_compiler_gnu
3627
3628
3629depcc="$CC"   am_compiler_list=
3630
3631{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3632$as_echo_n "checking dependency style of $depcc... " >&6; }
3633if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3634  $as_echo_n "(cached) " >&6
3635else
3636  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3637  # We make a subdir and do the tests there.  Otherwise we can end up
3638  # making bogus files that we don't know about and never remove.  For
3639  # instance it was reported that on HP-UX the gcc test will end up
3640  # making a dummy file named 'D' -- because '-MD' means "put the output
3641  # in D".
3642  rm -rf conftest.dir
3643  mkdir conftest.dir
3644  # Copy depcomp to subdir because otherwise we won't find it if we're
3645  # using a relative directory.
3646  cp "$am_depcomp" conftest.dir
3647  cd conftest.dir
3648  # We will build objects and dependencies in a subdirectory because
3649  # it helps to detect inapplicable dependency modes.  For instance
3650  # both Tru64's cc and ICC support -MD to output dependencies as a
3651  # side effect of compilation, but ICC will put the dependencies in
3652  # the current directory while Tru64 will put them in the object
3653  # directory.
3654  mkdir sub
3655
3656  am_cv_CC_dependencies_compiler_type=none
3657  if test "$am_compiler_list" = ""; then
3658     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3659  fi
3660  am__universal=false
3661  case " $depcc " in #(
3662     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3663     esac
3664
3665  for depmode in $am_compiler_list; do
3666    # Setup a source with many dependencies, because some compilers
3667    # like to wrap large dependency lists on column 80 (with \), and
3668    # we should not choose a depcomp mode which is confused by this.
3669    #
3670    # We need to recreate these files for each test, as the compiler may
3671    # overwrite some of them when testing with obscure command lines.
3672    # This happens at least with the AIX C compiler.
3673    : > sub/conftest.c
3674    for i in 1 2 3 4 5 6; do
3675      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3676      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3677      # Solaris 10 /bin/sh.
3678      echo '/* dummy */' > sub/conftst$i.h
3679    done
3680    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3681
3682    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3683    # mode.  It turns out that the SunPro C++ compiler does not properly
3684    # handle '-M -o', and we need to detect this.  Also, some Intel
3685    # versions had trouble with output in subdirs.
3686    am__obj=sub/conftest.${OBJEXT-o}
3687    am__minus_obj="-o $am__obj"
3688    case $depmode in
3689    gcc)
3690      # This depmode causes a compiler race in universal mode.
3691      test "$am__universal" = false || continue
3692      ;;
3693    nosideeffect)
3694      # After this tag, mechanisms are not by side-effect, so they'll
3695      # only be used when explicitly requested.
3696      if test "x$enable_dependency_tracking" = xyes; then
3697	continue
3698      else
3699	break
3700      fi
3701      ;;
3702    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3703      # This compiler won't grok '-c -o', but also, the minuso test has
3704      # not run yet.  These depmodes are late enough in the game, and
3705      # so weak that their functioning should not be impacted.
3706      am__obj=conftest.${OBJEXT-o}
3707      am__minus_obj=
3708      ;;
3709    none) break ;;
3710    esac
3711    if depmode=$depmode \
3712       source=sub/conftest.c object=$am__obj \
3713       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3714       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3715         >/dev/null 2>conftest.err &&
3716       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3717       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3718       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3719       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3720      # icc doesn't choke on unknown options, it will just issue warnings
3721      # or remarks (even with -Werror).  So we grep stderr for any message
3722      # that says an option was ignored or not supported.
3723      # When given -MP, icc 7.0 and 7.1 complain thusly:
3724      #   icc: Command line warning: ignoring option '-M'; no argument required
3725      # The diagnosis changed in icc 8.0:
3726      #   icc: Command line remark: option '-MP' not supported
3727      if (grep 'ignoring option' conftest.err ||
3728          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3729        am_cv_CC_dependencies_compiler_type=$depmode
3730        break
3731      fi
3732    fi
3733  done
3734
3735  cd ..
3736  rm -rf conftest.dir
3737else
3738  am_cv_CC_dependencies_compiler_type=none
3739fi
3740
3741fi
3742{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3743$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3744CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3745
3746 if
3747  test "x$enable_dependency_tracking" != xno \
3748  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3749  am__fastdepCC_TRUE=
3750  am__fastdepCC_FALSE='#'
3751else
3752  am__fastdepCC_TRUE='#'
3753  am__fastdepCC_FALSE=
3754fi
3755
3756
3757   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3758$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3759if ${ac_cv_prog_cc_c99+:} false; then :
3760  $as_echo_n "(cached) " >&6
3761else
3762  ac_cv_prog_cc_c99=no
3763ac_save_CC=$CC
3764cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3765/* end confdefs.h.  */
3766#include <stdarg.h>
3767#include <stdbool.h>
3768#include <stdlib.h>
3769#include <wchar.h>
3770#include <stdio.h>
3771
3772// Check varargs macros.  These examples are taken from C99 6.10.3.5.
3773#define debug(...) fprintf (stderr, __VA_ARGS__)
3774#define showlist(...) puts (#__VA_ARGS__)
3775#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3776static void
3777test_varargs_macros (void)
3778{
3779  int x = 1234;
3780  int y = 5678;
3781  debug ("Flag");
3782  debug ("X = %d\n", x);
3783  showlist (The first, second, and third items.);
3784  report (x>y, "x is %d but y is %d", x, y);
3785}
3786
3787// Check long long types.
3788#define BIG64 18446744073709551615ull
3789#define BIG32 4294967295ul
3790#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3791#if !BIG_OK
3792  your preprocessor is broken;
3793#endif
3794#if BIG_OK
3795#else
3796  your preprocessor is broken;
3797#endif
3798static long long int bignum = -9223372036854775807LL;
3799static unsigned long long int ubignum = BIG64;
3800
3801struct incomplete_array
3802{
3803  int datasize;
3804  double data[];
3805};
3806
3807struct named_init {
3808  int number;
3809  const wchar_t *name;
3810  double average;
3811};
3812
3813typedef const char *ccp;
3814
3815static inline int
3816test_restrict (ccp restrict text)
3817{
3818  // See if C++-style comments work.
3819  // Iterate through items via the restricted pointer.
3820  // Also check for declarations in for loops.
3821  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3822    continue;
3823  return 0;
3824}
3825
3826// Check varargs and va_copy.
3827static void
3828test_varargs (const char *format, ...)
3829{
3830  va_list args;
3831  va_start (args, format);
3832  va_list args_copy;
3833  va_copy (args_copy, args);
3834
3835  const char *str;
3836  int number;
3837  float fnumber;
3838
3839  while (*format)
3840    {
3841      switch (*format++)
3842	{
3843	case 's': // string
3844	  str = va_arg (args_copy, const char *);
3845	  break;
3846	case 'd': // int
3847	  number = va_arg (args_copy, int);
3848	  break;
3849	case 'f': // float
3850	  fnumber = va_arg (args_copy, double);
3851	  break;
3852	default:
3853	  break;
3854	}
3855    }
3856  va_end (args_copy);
3857  va_end (args);
3858}
3859
3860int
3861main ()
3862{
3863
3864  // Check bool.
3865  _Bool success = false;
3866
3867  // Check restrict.
3868  if (test_restrict ("String literal") == 0)
3869    success = true;
3870  char *restrict newvar = "Another string";
3871
3872  // Check varargs.
3873  test_varargs ("s, d' f .", "string", 65, 34.234);
3874  test_varargs_macros ();
3875
3876  // Check flexible array members.
3877  struct incomplete_array *ia =
3878    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3879  ia->datasize = 10;
3880  for (int i = 0; i < ia->datasize; ++i)
3881    ia->data[i] = i * 1.234;
3882
3883  // Check named initializers.
3884  struct named_init ni = {
3885    .number = 34,
3886    .name = L"Test wide string",
3887    .average = 543.34343,
3888  };
3889
3890  ni.number = 58;
3891
3892  int dynamic_array[ni.number];
3893  dynamic_array[ni.number - 1] = 543;
3894
3895  // work around unused variable warnings
3896  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3897	  || dynamic_array[ni.number - 1] != 543);
3898
3899  ;
3900  return 0;
3901}
3902_ACEOF
3903for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
3904do
3905  CC="$ac_save_CC $ac_arg"
3906  if ac_fn_c_try_compile "$LINENO"; then :
3907  ac_cv_prog_cc_c99=$ac_arg
3908fi
3909rm -f core conftest.err conftest.$ac_objext
3910  test "x$ac_cv_prog_cc_c99" != "xno" && break
3911done
3912rm -f conftest.$ac_ext
3913CC=$ac_save_CC
3914
3915fi
3916# AC_CACHE_VAL
3917case "x$ac_cv_prog_cc_c99" in
3918  x)
3919    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3920$as_echo "none needed" >&6; } ;;
3921  xno)
3922    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3923$as_echo "unsupported" >&6; } ;;
3924  *)
3925    CC="$CC $ac_cv_prog_cc_c99"
3926    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3927$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3928esac
3929if test "x$ac_cv_prog_cc_c99" != xno; then :
3930
3931fi
3932
3933
3934
3935ac_ext=c
3936ac_cpp='$CPP $CPPFLAGS'
3937ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3938ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3939ac_compiler_gnu=$ac_cv_c_compiler_gnu
3940{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3941$as_echo_n "checking how to run the C preprocessor... " >&6; }
3942# On Suns, sometimes $CPP names a directory.
3943if test -n "$CPP" && test -d "$CPP"; then
3944  CPP=
3945fi
3946if test -z "$CPP"; then
3947  if ${ac_cv_prog_CPP+:} false; then :
3948  $as_echo_n "(cached) " >&6
3949else
3950      # Double quotes because CPP needs to be expanded
3951    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3952    do
3953      ac_preproc_ok=false
3954for ac_c_preproc_warn_flag in '' yes
3955do
3956  # Use a header file that comes with gcc, so configuring glibc
3957  # with a fresh cross-compiler works.
3958  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3959  # <limits.h> exists even on freestanding compilers.
3960  # On the NeXT, cc -E runs the code through the compiler's parser,
3961  # not just through cpp. "Syntax error" is here to catch this case.
3962  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3963/* end confdefs.h.  */
3964#ifdef __STDC__
3965# include <limits.h>
3966#else
3967# include <assert.h>
3968#endif
3969		     Syntax error
3970_ACEOF
3971if ac_fn_c_try_cpp "$LINENO"; then :
3972
3973else
3974  # Broken: fails on valid input.
3975continue
3976fi
3977rm -f conftest.err conftest.i conftest.$ac_ext
3978
3979  # OK, works on sane cases.  Now check whether nonexistent headers
3980  # can be detected and how.
3981  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3982/* end confdefs.h.  */
3983#include <ac_nonexistent.h>
3984_ACEOF
3985if ac_fn_c_try_cpp "$LINENO"; then :
3986  # Broken: success on invalid input.
3987continue
3988else
3989  # Passes both tests.
3990ac_preproc_ok=:
3991break
3992fi
3993rm -f conftest.err conftest.i conftest.$ac_ext
3994
3995done
3996# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3997rm -f conftest.i conftest.err conftest.$ac_ext
3998if $ac_preproc_ok; then :
3999  break
4000fi
4001
4002    done
4003    ac_cv_prog_CPP=$CPP
4004
4005fi
4006  CPP=$ac_cv_prog_CPP
4007else
4008  ac_cv_prog_CPP=$CPP
4009fi
4010{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4011$as_echo "$CPP" >&6; }
4012ac_preproc_ok=false
4013for ac_c_preproc_warn_flag in '' yes
4014do
4015  # Use a header file that comes with gcc, so configuring glibc
4016  # with a fresh cross-compiler works.
4017  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4018  # <limits.h> exists even on freestanding compilers.
4019  # On the NeXT, cc -E runs the code through the compiler's parser,
4020  # not just through cpp. "Syntax error" is here to catch this case.
4021  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4022/* end confdefs.h.  */
4023#ifdef __STDC__
4024# include <limits.h>
4025#else
4026# include <assert.h>
4027#endif
4028		     Syntax error
4029_ACEOF
4030if ac_fn_c_try_cpp "$LINENO"; then :
4031
4032else
4033  # Broken: fails on valid input.
4034continue
4035fi
4036rm -f conftest.err conftest.i conftest.$ac_ext
4037
4038  # OK, works on sane cases.  Now check whether nonexistent headers
4039  # can be detected and how.
4040  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4041/* end confdefs.h.  */
4042#include <ac_nonexistent.h>
4043_ACEOF
4044if ac_fn_c_try_cpp "$LINENO"; then :
4045  # Broken: success on invalid input.
4046continue
4047else
4048  # Passes both tests.
4049ac_preproc_ok=:
4050break
4051fi
4052rm -f conftest.err conftest.i conftest.$ac_ext
4053
4054done
4055# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4056rm -f conftest.i conftest.err conftest.$ac_ext
4057if $ac_preproc_ok; then :
4058
4059else
4060  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4061$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4062as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4063See \`config.log' for more details" "$LINENO" 5; }
4064fi
4065
4066ac_ext=c
4067ac_cpp='$CPP $CPPFLAGS'
4068ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4069ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4070ac_compiler_gnu=$ac_cv_c_compiler_gnu
4071
4072
4073{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4074$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4075if ${ac_cv_path_GREP+:} false; then :
4076  $as_echo_n "(cached) " >&6
4077else
4078  if test -z "$GREP"; then
4079  ac_path_GREP_found=false
4080  # Loop through the user's path and test for each of PROGNAME-LIST
4081  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4082for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4083do
4084  IFS=$as_save_IFS
4085  test -z "$as_dir" && as_dir=.
4086    for ac_prog in grep ggrep; do
4087    for ac_exec_ext in '' $ac_executable_extensions; do
4088      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4089      as_fn_executable_p "$ac_path_GREP" || continue
4090# Check for GNU ac_path_GREP and select it if it is found.
4091  # Check for GNU $ac_path_GREP
4092case `"$ac_path_GREP" --version 2>&1` in
4093*GNU*)
4094  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4095*)
4096  ac_count=0
4097  $as_echo_n 0123456789 >"conftest.in"
4098  while :
4099  do
4100    cat "conftest.in" "conftest.in" >"conftest.tmp"
4101    mv "conftest.tmp" "conftest.in"
4102    cp "conftest.in" "conftest.nl"
4103    $as_echo 'GREP' >> "conftest.nl"
4104    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4105    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4106    as_fn_arith $ac_count + 1 && ac_count=$as_val
4107    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4108      # Best one so far, save it but keep looking for a better one
4109      ac_cv_path_GREP="$ac_path_GREP"
4110      ac_path_GREP_max=$ac_count
4111    fi
4112    # 10*(2^10) chars as input seems more than enough
4113    test $ac_count -gt 10 && break
4114  done
4115  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4116esac
4117
4118      $ac_path_GREP_found && break 3
4119    done
4120  done
4121  done
4122IFS=$as_save_IFS
4123  if test -z "$ac_cv_path_GREP"; then
4124    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4125  fi
4126else
4127  ac_cv_path_GREP=$GREP
4128fi
4129
4130fi
4131{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4132$as_echo "$ac_cv_path_GREP" >&6; }
4133 GREP="$ac_cv_path_GREP"
4134
4135
4136{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4137$as_echo_n "checking for egrep... " >&6; }
4138if ${ac_cv_path_EGREP+:} false; then :
4139  $as_echo_n "(cached) " >&6
4140else
4141  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4142   then ac_cv_path_EGREP="$GREP -E"
4143   else
4144     if test -z "$EGREP"; then
4145  ac_path_EGREP_found=false
4146  # Loop through the user's path and test for each of PROGNAME-LIST
4147  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4148for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4149do
4150  IFS=$as_save_IFS
4151  test -z "$as_dir" && as_dir=.
4152    for ac_prog in egrep; do
4153    for ac_exec_ext in '' $ac_executable_extensions; do
4154      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4155      as_fn_executable_p "$ac_path_EGREP" || continue
4156# Check for GNU ac_path_EGREP and select it if it is found.
4157  # Check for GNU $ac_path_EGREP
4158case `"$ac_path_EGREP" --version 2>&1` in
4159*GNU*)
4160  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4161*)
4162  ac_count=0
4163  $as_echo_n 0123456789 >"conftest.in"
4164  while :
4165  do
4166    cat "conftest.in" "conftest.in" >"conftest.tmp"
4167    mv "conftest.tmp" "conftest.in"
4168    cp "conftest.in" "conftest.nl"
4169    $as_echo 'EGREP' >> "conftest.nl"
4170    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4171    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4172    as_fn_arith $ac_count + 1 && ac_count=$as_val
4173    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4174      # Best one so far, save it but keep looking for a better one
4175      ac_cv_path_EGREP="$ac_path_EGREP"
4176      ac_path_EGREP_max=$ac_count
4177    fi
4178    # 10*(2^10) chars as input seems more than enough
4179    test $ac_count -gt 10 && break
4180  done
4181  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4182esac
4183
4184      $ac_path_EGREP_found && break 3
4185    done
4186  done
4187  done
4188IFS=$as_save_IFS
4189  if test -z "$ac_cv_path_EGREP"; then
4190    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4191  fi
4192else
4193  ac_cv_path_EGREP=$EGREP
4194fi
4195
4196   fi
4197fi
4198{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4199$as_echo "$ac_cv_path_EGREP" >&6; }
4200 EGREP="$ac_cv_path_EGREP"
4201
4202
4203{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4204$as_echo_n "checking for ANSI C header files... " >&6; }
4205if ${ac_cv_header_stdc+:} false; then :
4206  $as_echo_n "(cached) " >&6
4207else
4208  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4209/* end confdefs.h.  */
4210#include <stdlib.h>
4211#include <stdarg.h>
4212#include <string.h>
4213#include <float.h>
4214
4215int
4216main ()
4217{
4218
4219  ;
4220  return 0;
4221}
4222_ACEOF
4223if ac_fn_c_try_compile "$LINENO"; then :
4224  ac_cv_header_stdc=yes
4225else
4226  ac_cv_header_stdc=no
4227fi
4228rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4229
4230if test $ac_cv_header_stdc = yes; then
4231  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4232  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4233/* end confdefs.h.  */
4234#include <string.h>
4235
4236_ACEOF
4237if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4238  $EGREP "memchr" >/dev/null 2>&1; then :
4239
4240else
4241  ac_cv_header_stdc=no
4242fi
4243rm -f conftest*
4244
4245fi
4246
4247if test $ac_cv_header_stdc = yes; then
4248  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4249  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4250/* end confdefs.h.  */
4251#include <stdlib.h>
4252
4253_ACEOF
4254if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4255  $EGREP "free" >/dev/null 2>&1; then :
4256
4257else
4258  ac_cv_header_stdc=no
4259fi
4260rm -f conftest*
4261
4262fi
4263
4264if test $ac_cv_header_stdc = yes; then
4265  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4266  if test "$cross_compiling" = yes; then :
4267  :
4268else
4269  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4270/* end confdefs.h.  */
4271#include <ctype.h>
4272#include <stdlib.h>
4273#if ((' ' & 0x0FF) == 0x020)
4274# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4275# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4276#else
4277# define ISLOWER(c) \
4278		   (('a' <= (c) && (c) <= 'i') \
4279		     || ('j' <= (c) && (c) <= 'r') \
4280		     || ('s' <= (c) && (c) <= 'z'))
4281# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4282#endif
4283
4284#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4285int
4286main ()
4287{
4288  int i;
4289  for (i = 0; i < 256; i++)
4290    if (XOR (islower (i), ISLOWER (i))
4291	|| toupper (i) != TOUPPER (i))
4292      return 2;
4293  return 0;
4294}
4295_ACEOF
4296if ac_fn_c_try_run "$LINENO"; then :
4297
4298else
4299  ac_cv_header_stdc=no
4300fi
4301rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4302  conftest.$ac_objext conftest.beam conftest.$ac_ext
4303fi
4304
4305fi
4306fi
4307{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4308$as_echo "$ac_cv_header_stdc" >&6; }
4309if test $ac_cv_header_stdc = yes; then
4310
4311$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4312
4313fi
4314
4315# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4316for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4317		  inttypes.h stdint.h unistd.h
4318do :
4319  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4320ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4321"
4322if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4323  cat >>confdefs.h <<_ACEOF
4324#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4325_ACEOF
4326
4327fi
4328
4329done
4330
4331
4332
4333
4334
4335
4336ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
4337if test "x$ac_cv_have_decl___clang__" = xyes; then :
4338  CLANGCC="yes"
4339else
4340  CLANGCC="no"
4341fi
4342
4343ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
4344if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
4345  INTELCC="yes"
4346else
4347  INTELCC="no"
4348fi
4349
4350ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
4351if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4352  SUNCC="yes"
4353else
4354  SUNCC="no"
4355fi
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4366	if test -n "$ac_tool_prefix"; then
4367  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4368set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4369{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4370$as_echo_n "checking for $ac_word... " >&6; }
4371if ${ac_cv_path_PKG_CONFIG+:} false; then :
4372  $as_echo_n "(cached) " >&6
4373else
4374  case $PKG_CONFIG in
4375  [\\/]* | ?:[\\/]*)
4376  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4377  ;;
4378  *)
4379  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4380for as_dir in $PATH
4381do
4382  IFS=$as_save_IFS
4383  test -z "$as_dir" && as_dir=.
4384    for ac_exec_ext in '' $ac_executable_extensions; do
4385  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4386    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4387    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4388    break 2
4389  fi
4390done
4391  done
4392IFS=$as_save_IFS
4393
4394  ;;
4395esac
4396fi
4397PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4398if test -n "$PKG_CONFIG"; then
4399  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4400$as_echo "$PKG_CONFIG" >&6; }
4401else
4402  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4403$as_echo "no" >&6; }
4404fi
4405
4406
4407fi
4408if test -z "$ac_cv_path_PKG_CONFIG"; then
4409  ac_pt_PKG_CONFIG=$PKG_CONFIG
4410  # Extract the first word of "pkg-config", so it can be a program name with args.
4411set dummy pkg-config; ac_word=$2
4412{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4413$as_echo_n "checking for $ac_word... " >&6; }
4414if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4415  $as_echo_n "(cached) " >&6
4416else
4417  case $ac_pt_PKG_CONFIG in
4418  [\\/]* | ?:[\\/]*)
4419  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4420  ;;
4421  *)
4422  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4423for as_dir in $PATH
4424do
4425  IFS=$as_save_IFS
4426  test -z "$as_dir" && as_dir=.
4427    for ac_exec_ext in '' $ac_executable_extensions; do
4428  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4429    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4430    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4431    break 2
4432  fi
4433done
4434  done
4435IFS=$as_save_IFS
4436
4437  ;;
4438esac
4439fi
4440ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4441if test -n "$ac_pt_PKG_CONFIG"; then
4442  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4443$as_echo "$ac_pt_PKG_CONFIG" >&6; }
4444else
4445  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4446$as_echo "no" >&6; }
4447fi
4448
4449  if test "x$ac_pt_PKG_CONFIG" = x; then
4450    PKG_CONFIG=""
4451  else
4452    case $cross_compiling:$ac_tool_warned in
4453yes:)
4454{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4455$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4456ac_tool_warned=yes ;;
4457esac
4458    PKG_CONFIG=$ac_pt_PKG_CONFIG
4459  fi
4460else
4461  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4462fi
4463
4464fi
4465if test -n "$PKG_CONFIG"; then
4466	_pkg_min_version=0.9.0
4467	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4468$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4469	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4470		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4471$as_echo "yes" >&6; }
4472	else
4473		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4474$as_echo "no" >&6; }
4475		PKG_CONFIG=""
4476	fi
4477fi
4478# Make sure we can run config.sub.
4479$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4480  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4481
4482{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4483$as_echo_n "checking build system type... " >&6; }
4484if ${ac_cv_build+:} false; then :
4485  $as_echo_n "(cached) " >&6
4486else
4487  ac_build_alias=$build_alias
4488test "x$ac_build_alias" = x &&
4489  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4490test "x$ac_build_alias" = x &&
4491  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4492ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4493  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4494
4495fi
4496{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4497$as_echo "$ac_cv_build" >&6; }
4498case $ac_cv_build in
4499*-*-*) ;;
4500*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4501esac
4502build=$ac_cv_build
4503ac_save_IFS=$IFS; IFS='-'
4504set x $ac_cv_build
4505shift
4506build_cpu=$1
4507build_vendor=$2
4508shift; shift
4509# Remember, the first character of IFS is used to create $*,
4510# except with old shells:
4511build_os=$*
4512IFS=$ac_save_IFS
4513case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4514
4515
4516{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4517$as_echo_n "checking host system type... " >&6; }
4518if ${ac_cv_host+:} false; then :
4519  $as_echo_n "(cached) " >&6
4520else
4521  if test "x$host_alias" = x; then
4522  ac_cv_host=$ac_cv_build
4523else
4524  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4525    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4526fi
4527
4528fi
4529{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4530$as_echo "$ac_cv_host" >&6; }
4531case $ac_cv_host in
4532*-*-*) ;;
4533*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4534esac
4535host=$ac_cv_host
4536ac_save_IFS=$IFS; IFS='-'
4537set x $ac_cv_host
4538shift
4539host_cpu=$1
4540host_vendor=$2
4541shift; shift
4542# Remember, the first character of IFS is used to create $*,
4543# except with old shells:
4544host_os=$*
4545IFS=$ac_save_IFS
4546case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4547
4548
4549{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4550$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4551if ${ac_cv_path_SED+:} false; then :
4552  $as_echo_n "(cached) " >&6
4553else
4554            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4555     for ac_i in 1 2 3 4 5 6 7; do
4556       ac_script="$ac_script$as_nl$ac_script"
4557     done
4558     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4559     { ac_script=; unset ac_script;}
4560     if test -z "$SED"; then
4561  ac_path_SED_found=false
4562  # Loop through the user's path and test for each of PROGNAME-LIST
4563  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4564for as_dir in $PATH
4565do
4566  IFS=$as_save_IFS
4567  test -z "$as_dir" && as_dir=.
4568    for ac_prog in sed gsed; do
4569    for ac_exec_ext in '' $ac_executable_extensions; do
4570      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4571      as_fn_executable_p "$ac_path_SED" || continue
4572# Check for GNU ac_path_SED and select it if it is found.
4573  # Check for GNU $ac_path_SED
4574case `"$ac_path_SED" --version 2>&1` in
4575*GNU*)
4576  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4577*)
4578  ac_count=0
4579  $as_echo_n 0123456789 >"conftest.in"
4580  while :
4581  do
4582    cat "conftest.in" "conftest.in" >"conftest.tmp"
4583    mv "conftest.tmp" "conftest.in"
4584    cp "conftest.in" "conftest.nl"
4585    $as_echo '' >> "conftest.nl"
4586    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4587    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4588    as_fn_arith $ac_count + 1 && ac_count=$as_val
4589    if test $ac_count -gt ${ac_path_SED_max-0}; then
4590      # Best one so far, save it but keep looking for a better one
4591      ac_cv_path_SED="$ac_path_SED"
4592      ac_path_SED_max=$ac_count
4593    fi
4594    # 10*(2^10) chars as input seems more than enough
4595    test $ac_count -gt 10 && break
4596  done
4597  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4598esac
4599
4600      $ac_path_SED_found && break 3
4601    done
4602  done
4603  done
4604IFS=$as_save_IFS
4605  if test -z "$ac_cv_path_SED"; then
4606    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4607  fi
4608else
4609  ac_cv_path_SED=$SED
4610fi
4611
4612fi
4613{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4614$as_echo "$ac_cv_path_SED" >&6; }
4615 SED="$ac_cv_path_SED"
4616  rm -f conftest.sed
4617
4618
4619
4620
4621
4622
4623# Check whether --enable-selective-werror was given.
4624if test "${enable_selective_werror+set}" = set; then :
4625  enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
4626else
4627  SELECTIVE_WERROR=yes
4628fi
4629
4630
4631
4632
4633
4634# -v is too short to test reliably with XORG_TESTSET_CFLAG
4635if test "x$SUNCC" = "xyes"; then
4636    BASE_CFLAGS="-v"
4637else
4638    BASE_CFLAGS=""
4639fi
4640
4641# This chunk of warnings were those that existed in the legacy CWARNFLAGS
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655xorg_testset_save_CFLAGS="$CFLAGS"
4656
4657if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
4658	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
4659	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
4660$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
4661if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
4662  $as_echo_n "(cached) " >&6
4663else
4664  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4665/* end confdefs.h.  */
4666int i;
4667_ACEOF
4668if ac_fn_c_try_compile "$LINENO"; then :
4669  xorg_cv_cc_flag_unknown_warning_option=yes
4670else
4671  xorg_cv_cc_flag_unknown_warning_option=no
4672fi
4673rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4674fi
4675{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
4676$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
4677	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
4678	CFLAGS="$xorg_testset_save_CFLAGS"
4679fi
4680
4681if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
4682	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
4683		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
4684	fi
4685	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
4686	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
4687$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
4688if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
4689  $as_echo_n "(cached) " >&6
4690else
4691  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4692/* end confdefs.h.  */
4693int i;
4694_ACEOF
4695if ac_fn_c_try_compile "$LINENO"; then :
4696  xorg_cv_cc_flag_unused_command_line_argument=yes
4697else
4698  xorg_cv_cc_flag_unused_command_line_argument=no
4699fi
4700rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4701fi
4702{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
4703$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
4704	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
4705	CFLAGS="$xorg_testset_save_CFLAGS"
4706fi
4707
4708found="no"
4709
4710	if test $found = "no" ; then
4711		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
4712			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
4713		fi
4714
4715		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
4716			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
4717		fi
4718
4719		CFLAGS="$CFLAGS -Wall"
4720
4721		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
4722$as_echo_n "checking if $CC supports -Wall... " >&6; }
4723		cacheid=xorg_cv_cc_flag__Wall
4724		if eval \${$cacheid+:} false; then :
4725  $as_echo_n "(cached) " >&6
4726else
4727  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4728/* end confdefs.h.  */
4729int i;
4730int
4731main ()
4732{
4733
4734  ;
4735  return 0;
4736}
4737_ACEOF
4738if ac_fn_c_try_link "$LINENO"; then :
4739  eval $cacheid=yes
4740else
4741  eval $cacheid=no
4742fi
4743rm -f core conftest.err conftest.$ac_objext \
4744    conftest$ac_exeext conftest.$ac_ext
4745fi
4746
4747
4748		CFLAGS="$xorg_testset_save_CFLAGS"
4749
4750		eval supported=\$$cacheid
4751		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
4752$as_echo "$supported" >&6; }
4753		if test "$supported" = "yes" ; then
4754			BASE_CFLAGS="$BASE_CFLAGS -Wall"
4755			found="yes"
4756		fi
4757	fi
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773xorg_testset_save_CFLAGS="$CFLAGS"
4774
4775if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
4776	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
4777	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
4778$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
4779if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
4780  $as_echo_n "(cached) " >&6
4781else
4782  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4783/* end confdefs.h.  */
4784int i;
4785_ACEOF
4786if ac_fn_c_try_compile "$LINENO"; then :
4787  xorg_cv_cc_flag_unknown_warning_option=yes
4788else
4789  xorg_cv_cc_flag_unknown_warning_option=no
4790fi
4791rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4792fi
4793{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
4794$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
4795	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
4796	CFLAGS="$xorg_testset_save_CFLAGS"
4797fi
4798
4799if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
4800	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
4801		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
4802	fi
4803	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
4804	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
4805$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
4806if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
4807  $as_echo_n "(cached) " >&6
4808else
4809  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4810/* end confdefs.h.  */
4811int i;
4812_ACEOF
4813if ac_fn_c_try_compile "$LINENO"; then :
4814  xorg_cv_cc_flag_unused_command_line_argument=yes
4815else
4816  xorg_cv_cc_flag_unused_command_line_argument=no
4817fi
4818rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4819fi
4820{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
4821$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
4822	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
4823	CFLAGS="$xorg_testset_save_CFLAGS"
4824fi
4825
4826found="no"
4827
4828	if test $found = "no" ; then
4829		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
4830			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
4831		fi
4832
4833		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
4834			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
4835		fi
4836
4837		CFLAGS="$CFLAGS -Wpointer-arith"
4838
4839		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
4840$as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
4841		cacheid=xorg_cv_cc_flag__Wpointer_arith
4842		if eval \${$cacheid+:} false; then :
4843  $as_echo_n "(cached) " >&6
4844else
4845  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4846/* end confdefs.h.  */
4847int i;
4848int
4849main ()
4850{
4851
4852  ;
4853  return 0;
4854}
4855_ACEOF
4856if ac_fn_c_try_link "$LINENO"; then :
4857  eval $cacheid=yes
4858else
4859  eval $cacheid=no
4860fi
4861rm -f core conftest.err conftest.$ac_objext \
4862    conftest$ac_exeext conftest.$ac_ext
4863fi
4864
4865
4866		CFLAGS="$xorg_testset_save_CFLAGS"
4867
4868		eval supported=\$$cacheid
4869		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
4870$as_echo "$supported" >&6; }
4871		if test "$supported" = "yes" ; then
4872			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
4873			found="yes"
4874		fi
4875	fi
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891xorg_testset_save_CFLAGS="$CFLAGS"
4892
4893if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
4894	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
4895	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
4896$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
4897if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
4898  $as_echo_n "(cached) " >&6
4899else
4900  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4901/* end confdefs.h.  */
4902int i;
4903_ACEOF
4904if ac_fn_c_try_compile "$LINENO"; then :
4905  xorg_cv_cc_flag_unknown_warning_option=yes
4906else
4907  xorg_cv_cc_flag_unknown_warning_option=no
4908fi
4909rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4910fi
4911{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
4912$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
4913	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
4914	CFLAGS="$xorg_testset_save_CFLAGS"
4915fi
4916
4917if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
4918	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
4919		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
4920	fi
4921	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
4922	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
4923$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
4924if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
4925  $as_echo_n "(cached) " >&6
4926else
4927  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4928/* end confdefs.h.  */
4929int i;
4930_ACEOF
4931if ac_fn_c_try_compile "$LINENO"; then :
4932  xorg_cv_cc_flag_unused_command_line_argument=yes
4933else
4934  xorg_cv_cc_flag_unused_command_line_argument=no
4935fi
4936rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4937fi
4938{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
4939$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
4940	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
4941	CFLAGS="$xorg_testset_save_CFLAGS"
4942fi
4943
4944found="no"
4945
4946	if test $found = "no" ; then
4947		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
4948			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
4949		fi
4950
4951		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
4952			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
4953		fi
4954
4955		CFLAGS="$CFLAGS -Wmissing-declarations"
4956
4957		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
4958$as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
4959		cacheid=xorg_cv_cc_flag__Wmissing_declarations
4960		if eval \${$cacheid+:} false; then :
4961  $as_echo_n "(cached) " >&6
4962else
4963  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4964/* end confdefs.h.  */
4965int i;
4966int
4967main ()
4968{
4969
4970  ;
4971  return 0;
4972}
4973_ACEOF
4974if ac_fn_c_try_link "$LINENO"; then :
4975  eval $cacheid=yes
4976else
4977  eval $cacheid=no
4978fi
4979rm -f core conftest.err conftest.$ac_objext \
4980    conftest$ac_exeext conftest.$ac_ext
4981fi
4982
4983
4984		CFLAGS="$xorg_testset_save_CFLAGS"
4985
4986		eval supported=\$$cacheid
4987		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
4988$as_echo "$supported" >&6; }
4989		if test "$supported" = "yes" ; then
4990			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
4991			found="yes"
4992		fi
4993	fi
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009xorg_testset_save_CFLAGS="$CFLAGS"
5010
5011if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
5012	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5013	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
5014$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
5015if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
5016  $as_echo_n "(cached) " >&6
5017else
5018  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5019/* end confdefs.h.  */
5020int i;
5021_ACEOF
5022if ac_fn_c_try_compile "$LINENO"; then :
5023  xorg_cv_cc_flag_unknown_warning_option=yes
5024else
5025  xorg_cv_cc_flag_unknown_warning_option=no
5026fi
5027rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5028fi
5029{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
5030$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
5031	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
5032	CFLAGS="$xorg_testset_save_CFLAGS"
5033fi
5034
5035if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
5036	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5037		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5038	fi
5039	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5040	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
5041$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
5042if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
5043  $as_echo_n "(cached) " >&6
5044else
5045  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5046/* end confdefs.h.  */
5047int i;
5048_ACEOF
5049if ac_fn_c_try_compile "$LINENO"; then :
5050  xorg_cv_cc_flag_unused_command_line_argument=yes
5051else
5052  xorg_cv_cc_flag_unused_command_line_argument=no
5053fi
5054rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5055fi
5056{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
5057$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
5058	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
5059	CFLAGS="$xorg_testset_save_CFLAGS"
5060fi
5061
5062found="no"
5063
5064	if test $found = "no" ; then
5065		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5066			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5067		fi
5068
5069		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
5070			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5071		fi
5072
5073		CFLAGS="$CFLAGS -Wformat=2"
5074
5075		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
5076$as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
5077		cacheid=xorg_cv_cc_flag__Wformat_2
5078		if eval \${$cacheid+:} false; then :
5079  $as_echo_n "(cached) " >&6
5080else
5081  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5082/* end confdefs.h.  */
5083int i;
5084int
5085main ()
5086{
5087
5088  ;
5089  return 0;
5090}
5091_ACEOF
5092if ac_fn_c_try_link "$LINENO"; then :
5093  eval $cacheid=yes
5094else
5095  eval $cacheid=no
5096fi
5097rm -f core conftest.err conftest.$ac_objext \
5098    conftest$ac_exeext conftest.$ac_ext
5099fi
5100
5101
5102		CFLAGS="$xorg_testset_save_CFLAGS"
5103
5104		eval supported=\$$cacheid
5105		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5106$as_echo "$supported" >&6; }
5107		if test "$supported" = "yes" ; then
5108			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
5109			found="yes"
5110		fi
5111	fi
5112
5113	if test $found = "no" ; then
5114		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5115			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5116		fi
5117
5118		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
5119			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5120		fi
5121
5122		CFLAGS="$CFLAGS -Wformat"
5123
5124		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
5125$as_echo_n "checking if $CC supports -Wformat... " >&6; }
5126		cacheid=xorg_cv_cc_flag__Wformat
5127		if eval \${$cacheid+:} false; then :
5128  $as_echo_n "(cached) " >&6
5129else
5130  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5131/* end confdefs.h.  */
5132int i;
5133int
5134main ()
5135{
5136
5137  ;
5138  return 0;
5139}
5140_ACEOF
5141if ac_fn_c_try_link "$LINENO"; then :
5142  eval $cacheid=yes
5143else
5144  eval $cacheid=no
5145fi
5146rm -f core conftest.err conftest.$ac_objext \
5147    conftest$ac_exeext conftest.$ac_ext
5148fi
5149
5150
5151		CFLAGS="$xorg_testset_save_CFLAGS"
5152
5153		eval supported=\$$cacheid
5154		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5155$as_echo "$supported" >&6; }
5156		if test "$supported" = "yes" ; then
5157			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
5158			found="yes"
5159		fi
5160	fi
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178xorg_testset_save_CFLAGS="$CFLAGS"
5179
5180if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
5181	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5182	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
5183$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
5184if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
5185  $as_echo_n "(cached) " >&6
5186else
5187  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5188/* end confdefs.h.  */
5189int i;
5190_ACEOF
5191if ac_fn_c_try_compile "$LINENO"; then :
5192  xorg_cv_cc_flag_unknown_warning_option=yes
5193else
5194  xorg_cv_cc_flag_unknown_warning_option=no
5195fi
5196rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5197fi
5198{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
5199$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
5200	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
5201	CFLAGS="$xorg_testset_save_CFLAGS"
5202fi
5203
5204if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
5205	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5206		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5207	fi
5208	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5209	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
5210$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
5211if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
5212  $as_echo_n "(cached) " >&6
5213else
5214  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5215/* end confdefs.h.  */
5216int i;
5217_ACEOF
5218if ac_fn_c_try_compile "$LINENO"; then :
5219  xorg_cv_cc_flag_unused_command_line_argument=yes
5220else
5221  xorg_cv_cc_flag_unused_command_line_argument=no
5222fi
5223rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5224fi
5225{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
5226$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
5227	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
5228	CFLAGS="$xorg_testset_save_CFLAGS"
5229fi
5230
5231found="no"
5232
5233	if test $found = "no" ; then
5234		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5235			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5236		fi
5237
5238		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
5239			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5240		fi
5241
5242		CFLAGS="$CFLAGS -Wstrict-prototypes"
5243
5244		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
5245$as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
5246		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
5247		if eval \${$cacheid+:} false; then :
5248  $as_echo_n "(cached) " >&6
5249else
5250  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5251/* end confdefs.h.  */
5252int i;
5253int
5254main ()
5255{
5256
5257  ;
5258  return 0;
5259}
5260_ACEOF
5261if ac_fn_c_try_link "$LINENO"; then :
5262  eval $cacheid=yes
5263else
5264  eval $cacheid=no
5265fi
5266rm -f core conftest.err conftest.$ac_objext \
5267    conftest$ac_exeext conftest.$ac_ext
5268fi
5269
5270
5271		CFLAGS="$xorg_testset_save_CFLAGS"
5272
5273		eval supported=\$$cacheid
5274		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5275$as_echo "$supported" >&6; }
5276		if test "$supported" = "yes" ; then
5277			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
5278			found="yes"
5279		fi
5280	fi
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296xorg_testset_save_CFLAGS="$CFLAGS"
5297
5298if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
5299	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5300	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
5301$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
5302if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
5303  $as_echo_n "(cached) " >&6
5304else
5305  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5306/* end confdefs.h.  */
5307int i;
5308_ACEOF
5309if ac_fn_c_try_compile "$LINENO"; then :
5310  xorg_cv_cc_flag_unknown_warning_option=yes
5311else
5312  xorg_cv_cc_flag_unknown_warning_option=no
5313fi
5314rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5315fi
5316{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
5317$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
5318	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
5319	CFLAGS="$xorg_testset_save_CFLAGS"
5320fi
5321
5322if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
5323	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5324		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5325	fi
5326	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5327	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
5328$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
5329if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
5330  $as_echo_n "(cached) " >&6
5331else
5332  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5333/* end confdefs.h.  */
5334int i;
5335_ACEOF
5336if ac_fn_c_try_compile "$LINENO"; then :
5337  xorg_cv_cc_flag_unused_command_line_argument=yes
5338else
5339  xorg_cv_cc_flag_unused_command_line_argument=no
5340fi
5341rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5342fi
5343{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
5344$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
5345	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
5346	CFLAGS="$xorg_testset_save_CFLAGS"
5347fi
5348
5349found="no"
5350
5351	if test $found = "no" ; then
5352		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5353			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5354		fi
5355
5356		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
5357			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5358		fi
5359
5360		CFLAGS="$CFLAGS -Wmissing-prototypes"
5361
5362		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
5363$as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
5364		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
5365		if eval \${$cacheid+:} false; then :
5366  $as_echo_n "(cached) " >&6
5367else
5368  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5369/* end confdefs.h.  */
5370int i;
5371int
5372main ()
5373{
5374
5375  ;
5376  return 0;
5377}
5378_ACEOF
5379if ac_fn_c_try_link "$LINENO"; then :
5380  eval $cacheid=yes
5381else
5382  eval $cacheid=no
5383fi
5384rm -f core conftest.err conftest.$ac_objext \
5385    conftest$ac_exeext conftest.$ac_ext
5386fi
5387
5388
5389		CFLAGS="$xorg_testset_save_CFLAGS"
5390
5391		eval supported=\$$cacheid
5392		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5393$as_echo "$supported" >&6; }
5394		if test "$supported" = "yes" ; then
5395			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
5396			found="yes"
5397		fi
5398	fi
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414xorg_testset_save_CFLAGS="$CFLAGS"
5415
5416if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
5417	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5418	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
5419$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
5420if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
5421  $as_echo_n "(cached) " >&6
5422else
5423  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5424/* end confdefs.h.  */
5425int i;
5426_ACEOF
5427if ac_fn_c_try_compile "$LINENO"; then :
5428  xorg_cv_cc_flag_unknown_warning_option=yes
5429else
5430  xorg_cv_cc_flag_unknown_warning_option=no
5431fi
5432rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5433fi
5434{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
5435$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
5436	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
5437	CFLAGS="$xorg_testset_save_CFLAGS"
5438fi
5439
5440if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
5441	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5442		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5443	fi
5444	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5445	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
5446$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
5447if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
5448  $as_echo_n "(cached) " >&6
5449else
5450  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5451/* end confdefs.h.  */
5452int i;
5453_ACEOF
5454if ac_fn_c_try_compile "$LINENO"; then :
5455  xorg_cv_cc_flag_unused_command_line_argument=yes
5456else
5457  xorg_cv_cc_flag_unused_command_line_argument=no
5458fi
5459rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5460fi
5461{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
5462$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
5463	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
5464	CFLAGS="$xorg_testset_save_CFLAGS"
5465fi
5466
5467found="no"
5468
5469	if test $found = "no" ; then
5470		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5471			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5472		fi
5473
5474		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
5475			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5476		fi
5477
5478		CFLAGS="$CFLAGS -Wnested-externs"
5479
5480		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
5481$as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
5482		cacheid=xorg_cv_cc_flag__Wnested_externs
5483		if eval \${$cacheid+:} false; then :
5484  $as_echo_n "(cached) " >&6
5485else
5486  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5487/* end confdefs.h.  */
5488int i;
5489int
5490main ()
5491{
5492
5493  ;
5494  return 0;
5495}
5496_ACEOF
5497if ac_fn_c_try_link "$LINENO"; then :
5498  eval $cacheid=yes
5499else
5500  eval $cacheid=no
5501fi
5502rm -f core conftest.err conftest.$ac_objext \
5503    conftest$ac_exeext conftest.$ac_ext
5504fi
5505
5506
5507		CFLAGS="$xorg_testset_save_CFLAGS"
5508
5509		eval supported=\$$cacheid
5510		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5511$as_echo "$supported" >&6; }
5512		if test "$supported" = "yes" ; then
5513			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
5514			found="yes"
5515		fi
5516	fi
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532xorg_testset_save_CFLAGS="$CFLAGS"
5533
5534if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
5535	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5536	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
5537$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
5538if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
5539  $as_echo_n "(cached) " >&6
5540else
5541  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5542/* end confdefs.h.  */
5543int i;
5544_ACEOF
5545if ac_fn_c_try_compile "$LINENO"; then :
5546  xorg_cv_cc_flag_unknown_warning_option=yes
5547else
5548  xorg_cv_cc_flag_unknown_warning_option=no
5549fi
5550rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5551fi
5552{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
5553$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
5554	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
5555	CFLAGS="$xorg_testset_save_CFLAGS"
5556fi
5557
5558if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
5559	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5560		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5561	fi
5562	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5563	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
5564$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
5565if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
5566  $as_echo_n "(cached) " >&6
5567else
5568  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5569/* end confdefs.h.  */
5570int i;
5571_ACEOF
5572if ac_fn_c_try_compile "$LINENO"; then :
5573  xorg_cv_cc_flag_unused_command_line_argument=yes
5574else
5575  xorg_cv_cc_flag_unused_command_line_argument=no
5576fi
5577rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5578fi
5579{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
5580$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
5581	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
5582	CFLAGS="$xorg_testset_save_CFLAGS"
5583fi
5584
5585found="no"
5586
5587	if test $found = "no" ; then
5588		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5589			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5590		fi
5591
5592		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
5593			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5594		fi
5595
5596		CFLAGS="$CFLAGS -Wbad-function-cast"
5597
5598		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
5599$as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
5600		cacheid=xorg_cv_cc_flag__Wbad_function_cast
5601		if eval \${$cacheid+:} false; then :
5602  $as_echo_n "(cached) " >&6
5603else
5604  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5605/* end confdefs.h.  */
5606int i;
5607int
5608main ()
5609{
5610
5611  ;
5612  return 0;
5613}
5614_ACEOF
5615if ac_fn_c_try_link "$LINENO"; then :
5616  eval $cacheid=yes
5617else
5618  eval $cacheid=no
5619fi
5620rm -f core conftest.err conftest.$ac_objext \
5621    conftest$ac_exeext conftest.$ac_ext
5622fi
5623
5624
5625		CFLAGS="$xorg_testset_save_CFLAGS"
5626
5627		eval supported=\$$cacheid
5628		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5629$as_echo "$supported" >&6; }
5630		if test "$supported" = "yes" ; then
5631			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
5632			found="yes"
5633		fi
5634	fi
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650xorg_testset_save_CFLAGS="$CFLAGS"
5651
5652if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
5653	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5654	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
5655$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
5656if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
5657  $as_echo_n "(cached) " >&6
5658else
5659  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5660/* end confdefs.h.  */
5661int i;
5662_ACEOF
5663if ac_fn_c_try_compile "$LINENO"; then :
5664  xorg_cv_cc_flag_unknown_warning_option=yes
5665else
5666  xorg_cv_cc_flag_unknown_warning_option=no
5667fi
5668rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5669fi
5670{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
5671$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
5672	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
5673	CFLAGS="$xorg_testset_save_CFLAGS"
5674fi
5675
5676if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
5677	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5678		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5679	fi
5680	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5681	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
5682$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
5683if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
5684  $as_echo_n "(cached) " >&6
5685else
5686  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5687/* end confdefs.h.  */
5688int i;
5689_ACEOF
5690if ac_fn_c_try_compile "$LINENO"; then :
5691  xorg_cv_cc_flag_unused_command_line_argument=yes
5692else
5693  xorg_cv_cc_flag_unused_command_line_argument=no
5694fi
5695rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5696fi
5697{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
5698$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
5699	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
5700	CFLAGS="$xorg_testset_save_CFLAGS"
5701fi
5702
5703found="no"
5704
5705	if test $found = "no" ; then
5706		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5707			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5708		fi
5709
5710		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
5711			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5712		fi
5713
5714		CFLAGS="$CFLAGS -Wold-style-definition"
5715
5716		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
5717$as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
5718		cacheid=xorg_cv_cc_flag__Wold_style_definition
5719		if eval \${$cacheid+:} false; then :
5720  $as_echo_n "(cached) " >&6
5721else
5722  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5723/* end confdefs.h.  */
5724int i;
5725int
5726main ()
5727{
5728
5729  ;
5730  return 0;
5731}
5732_ACEOF
5733if ac_fn_c_try_link "$LINENO"; then :
5734  eval $cacheid=yes
5735else
5736  eval $cacheid=no
5737fi
5738rm -f core conftest.err conftest.$ac_objext \
5739    conftest$ac_exeext conftest.$ac_ext
5740fi
5741
5742
5743		CFLAGS="$xorg_testset_save_CFLAGS"
5744
5745		eval supported=\$$cacheid
5746		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5747$as_echo "$supported" >&6; }
5748		if test "$supported" = "yes" ; then
5749			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
5750			found="yes"
5751		fi
5752	fi
5753
5754	if test $found = "no" ; then
5755		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5756			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5757		fi
5758
5759		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
5760			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5761		fi
5762
5763		CFLAGS="$CFLAGS -fd"
5764
5765		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
5766$as_echo_n "checking if $CC supports -fd... " >&6; }
5767		cacheid=xorg_cv_cc_flag__fd
5768		if eval \${$cacheid+:} false; then :
5769  $as_echo_n "(cached) " >&6
5770else
5771  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5772/* end confdefs.h.  */
5773int i;
5774int
5775main ()
5776{
5777
5778  ;
5779  return 0;
5780}
5781_ACEOF
5782if ac_fn_c_try_link "$LINENO"; then :
5783  eval $cacheid=yes
5784else
5785  eval $cacheid=no
5786fi
5787rm -f core conftest.err conftest.$ac_objext \
5788    conftest$ac_exeext conftest.$ac_ext
5789fi
5790
5791
5792		CFLAGS="$xorg_testset_save_CFLAGS"
5793
5794		eval supported=\$$cacheid
5795		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5796$as_echo "$supported" >&6; }
5797		if test "$supported" = "yes" ; then
5798			BASE_CFLAGS="$BASE_CFLAGS -fd"
5799			found="yes"
5800		fi
5801	fi
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817xorg_testset_save_CFLAGS="$CFLAGS"
5818
5819if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
5820	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5821	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
5822$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
5823if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
5824  $as_echo_n "(cached) " >&6
5825else
5826  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5827/* end confdefs.h.  */
5828int i;
5829_ACEOF
5830if ac_fn_c_try_compile "$LINENO"; then :
5831  xorg_cv_cc_flag_unknown_warning_option=yes
5832else
5833  xorg_cv_cc_flag_unknown_warning_option=no
5834fi
5835rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5836fi
5837{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
5838$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
5839	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
5840	CFLAGS="$xorg_testset_save_CFLAGS"
5841fi
5842
5843if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
5844	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5845		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5846	fi
5847	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5848	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
5849$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
5850if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
5851  $as_echo_n "(cached) " >&6
5852else
5853  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5854/* end confdefs.h.  */
5855int i;
5856_ACEOF
5857if ac_fn_c_try_compile "$LINENO"; then :
5858  xorg_cv_cc_flag_unused_command_line_argument=yes
5859else
5860  xorg_cv_cc_flag_unused_command_line_argument=no
5861fi
5862rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5863fi
5864{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
5865$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
5866	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
5867	CFLAGS="$xorg_testset_save_CFLAGS"
5868fi
5869
5870found="no"
5871
5872	if test $found = "no" ; then
5873		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5874			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5875		fi
5876
5877		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
5878			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5879		fi
5880
5881		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
5882
5883		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
5884$as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
5885		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
5886		if eval \${$cacheid+:} false; then :
5887  $as_echo_n "(cached) " >&6
5888else
5889  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5890/* end confdefs.h.  */
5891int i;
5892int
5893main ()
5894{
5895
5896  ;
5897  return 0;
5898}
5899_ACEOF
5900if ac_fn_c_try_link "$LINENO"; then :
5901  eval $cacheid=yes
5902else
5903  eval $cacheid=no
5904fi
5905rm -f core conftest.err conftest.$ac_objext \
5906    conftest$ac_exeext conftest.$ac_ext
5907fi
5908
5909
5910		CFLAGS="$xorg_testset_save_CFLAGS"
5911
5912		eval supported=\$$cacheid
5913		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5914$as_echo "$supported" >&6; }
5915		if test "$supported" = "yes" ; then
5916			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
5917			found="yes"
5918		fi
5919	fi
5920
5921
5922
5923
5924
5925# This chunk adds additional warnings that could catch undesired effects.
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939xorg_testset_save_CFLAGS="$CFLAGS"
5940
5941if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
5942	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5943	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
5944$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
5945if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
5946  $as_echo_n "(cached) " >&6
5947else
5948  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5949/* end confdefs.h.  */
5950int i;
5951_ACEOF
5952if ac_fn_c_try_compile "$LINENO"; then :
5953  xorg_cv_cc_flag_unknown_warning_option=yes
5954else
5955  xorg_cv_cc_flag_unknown_warning_option=no
5956fi
5957rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5958fi
5959{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
5960$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
5961	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
5962	CFLAGS="$xorg_testset_save_CFLAGS"
5963fi
5964
5965if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
5966	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5967		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5968	fi
5969	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5970	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
5971$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
5972if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
5973  $as_echo_n "(cached) " >&6
5974else
5975  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5976/* end confdefs.h.  */
5977int i;
5978_ACEOF
5979if ac_fn_c_try_compile "$LINENO"; then :
5980  xorg_cv_cc_flag_unused_command_line_argument=yes
5981else
5982  xorg_cv_cc_flag_unused_command_line_argument=no
5983fi
5984rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5985fi
5986{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
5987$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
5988	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
5989	CFLAGS="$xorg_testset_save_CFLAGS"
5990fi
5991
5992found="no"
5993
5994	if test $found = "no" ; then
5995		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5996			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5997		fi
5998
5999		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6000			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6001		fi
6002
6003		CFLAGS="$CFLAGS -Wunused"
6004
6005		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
6006$as_echo_n "checking if $CC supports -Wunused... " >&6; }
6007		cacheid=xorg_cv_cc_flag__Wunused
6008		if eval \${$cacheid+:} false; then :
6009  $as_echo_n "(cached) " >&6
6010else
6011  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6012/* end confdefs.h.  */
6013int i;
6014int
6015main ()
6016{
6017
6018  ;
6019  return 0;
6020}
6021_ACEOF
6022if ac_fn_c_try_link "$LINENO"; then :
6023  eval $cacheid=yes
6024else
6025  eval $cacheid=no
6026fi
6027rm -f core conftest.err conftest.$ac_objext \
6028    conftest$ac_exeext conftest.$ac_ext
6029fi
6030
6031
6032		CFLAGS="$xorg_testset_save_CFLAGS"
6033
6034		eval supported=\$$cacheid
6035		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6036$as_echo "$supported" >&6; }
6037		if test "$supported" = "yes" ; then
6038			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
6039			found="yes"
6040		fi
6041	fi
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057xorg_testset_save_CFLAGS="$CFLAGS"
6058
6059if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6060	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6061	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6062$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6063if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
6064  $as_echo_n "(cached) " >&6
6065else
6066  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6067/* end confdefs.h.  */
6068int i;
6069_ACEOF
6070if ac_fn_c_try_compile "$LINENO"; then :
6071  xorg_cv_cc_flag_unknown_warning_option=yes
6072else
6073  xorg_cv_cc_flag_unknown_warning_option=no
6074fi
6075rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6076fi
6077{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6078$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6079	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6080	CFLAGS="$xorg_testset_save_CFLAGS"
6081fi
6082
6083if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6084	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6085		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6086	fi
6087	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6088	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6089$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6090if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
6091  $as_echo_n "(cached) " >&6
6092else
6093  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6094/* end confdefs.h.  */
6095int i;
6096_ACEOF
6097if ac_fn_c_try_compile "$LINENO"; then :
6098  xorg_cv_cc_flag_unused_command_line_argument=yes
6099else
6100  xorg_cv_cc_flag_unused_command_line_argument=no
6101fi
6102rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6103fi
6104{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6105$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6106	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6107	CFLAGS="$xorg_testset_save_CFLAGS"
6108fi
6109
6110found="no"
6111
6112	if test $found = "no" ; then
6113		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6114			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6115		fi
6116
6117		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6118			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6119		fi
6120
6121		CFLAGS="$CFLAGS -Wuninitialized"
6122
6123		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
6124$as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
6125		cacheid=xorg_cv_cc_flag__Wuninitialized
6126		if eval \${$cacheid+:} false; then :
6127  $as_echo_n "(cached) " >&6
6128else
6129  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6130/* end confdefs.h.  */
6131int i;
6132int
6133main ()
6134{
6135
6136  ;
6137  return 0;
6138}
6139_ACEOF
6140if ac_fn_c_try_link "$LINENO"; then :
6141  eval $cacheid=yes
6142else
6143  eval $cacheid=no
6144fi
6145rm -f core conftest.err conftest.$ac_objext \
6146    conftest$ac_exeext conftest.$ac_ext
6147fi
6148
6149
6150		CFLAGS="$xorg_testset_save_CFLAGS"
6151
6152		eval supported=\$$cacheid
6153		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6154$as_echo "$supported" >&6; }
6155		if test "$supported" = "yes" ; then
6156			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
6157			found="yes"
6158		fi
6159	fi
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175xorg_testset_save_CFLAGS="$CFLAGS"
6176
6177if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6178	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6179	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6180$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6181if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
6182  $as_echo_n "(cached) " >&6
6183else
6184  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6185/* end confdefs.h.  */
6186int i;
6187_ACEOF
6188if ac_fn_c_try_compile "$LINENO"; then :
6189  xorg_cv_cc_flag_unknown_warning_option=yes
6190else
6191  xorg_cv_cc_flag_unknown_warning_option=no
6192fi
6193rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6194fi
6195{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6196$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6197	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6198	CFLAGS="$xorg_testset_save_CFLAGS"
6199fi
6200
6201if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6202	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6203		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6204	fi
6205	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6206	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6207$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6208if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
6209  $as_echo_n "(cached) " >&6
6210else
6211  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6212/* end confdefs.h.  */
6213int i;
6214_ACEOF
6215if ac_fn_c_try_compile "$LINENO"; then :
6216  xorg_cv_cc_flag_unused_command_line_argument=yes
6217else
6218  xorg_cv_cc_flag_unused_command_line_argument=no
6219fi
6220rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6221fi
6222{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6223$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6224	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6225	CFLAGS="$xorg_testset_save_CFLAGS"
6226fi
6227
6228found="no"
6229
6230	if test $found = "no" ; then
6231		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6232			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6233		fi
6234
6235		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6236			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6237		fi
6238
6239		CFLAGS="$CFLAGS -Wshadow"
6240
6241		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
6242$as_echo_n "checking if $CC supports -Wshadow... " >&6; }
6243		cacheid=xorg_cv_cc_flag__Wshadow
6244		if eval \${$cacheid+:} false; then :
6245  $as_echo_n "(cached) " >&6
6246else
6247  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6248/* end confdefs.h.  */
6249int i;
6250int
6251main ()
6252{
6253
6254  ;
6255  return 0;
6256}
6257_ACEOF
6258if ac_fn_c_try_link "$LINENO"; then :
6259  eval $cacheid=yes
6260else
6261  eval $cacheid=no
6262fi
6263rm -f core conftest.err conftest.$ac_objext \
6264    conftest$ac_exeext conftest.$ac_ext
6265fi
6266
6267
6268		CFLAGS="$xorg_testset_save_CFLAGS"
6269
6270		eval supported=\$$cacheid
6271		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6272$as_echo "$supported" >&6; }
6273		if test "$supported" = "yes" ; then
6274			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
6275			found="yes"
6276		fi
6277	fi
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293xorg_testset_save_CFLAGS="$CFLAGS"
6294
6295if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6296	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6297	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6298$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6299if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
6300  $as_echo_n "(cached) " >&6
6301else
6302  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6303/* end confdefs.h.  */
6304int i;
6305_ACEOF
6306if ac_fn_c_try_compile "$LINENO"; then :
6307  xorg_cv_cc_flag_unknown_warning_option=yes
6308else
6309  xorg_cv_cc_flag_unknown_warning_option=no
6310fi
6311rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6312fi
6313{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6314$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6315	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6316	CFLAGS="$xorg_testset_save_CFLAGS"
6317fi
6318
6319if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6320	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6321		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6322	fi
6323	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6324	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6325$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6326if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
6327  $as_echo_n "(cached) " >&6
6328else
6329  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6330/* end confdefs.h.  */
6331int i;
6332_ACEOF
6333if ac_fn_c_try_compile "$LINENO"; then :
6334  xorg_cv_cc_flag_unused_command_line_argument=yes
6335else
6336  xorg_cv_cc_flag_unused_command_line_argument=no
6337fi
6338rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6339fi
6340{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6341$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6342	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6343	CFLAGS="$xorg_testset_save_CFLAGS"
6344fi
6345
6346found="no"
6347
6348	if test $found = "no" ; then
6349		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6350			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6351		fi
6352
6353		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6354			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6355		fi
6356
6357		CFLAGS="$CFLAGS -Wmissing-noreturn"
6358
6359		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
6360$as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
6361		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
6362		if eval \${$cacheid+:} false; then :
6363  $as_echo_n "(cached) " >&6
6364else
6365  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6366/* end confdefs.h.  */
6367int i;
6368int
6369main ()
6370{
6371
6372  ;
6373  return 0;
6374}
6375_ACEOF
6376if ac_fn_c_try_link "$LINENO"; then :
6377  eval $cacheid=yes
6378else
6379  eval $cacheid=no
6380fi
6381rm -f core conftest.err conftest.$ac_objext \
6382    conftest$ac_exeext conftest.$ac_ext
6383fi
6384
6385
6386		CFLAGS="$xorg_testset_save_CFLAGS"
6387
6388		eval supported=\$$cacheid
6389		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6390$as_echo "$supported" >&6; }
6391		if test "$supported" = "yes" ; then
6392			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
6393			found="yes"
6394		fi
6395	fi
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411xorg_testset_save_CFLAGS="$CFLAGS"
6412
6413if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6414	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6415	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6416$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6417if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
6418  $as_echo_n "(cached) " >&6
6419else
6420  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6421/* end confdefs.h.  */
6422int i;
6423_ACEOF
6424if ac_fn_c_try_compile "$LINENO"; then :
6425  xorg_cv_cc_flag_unknown_warning_option=yes
6426else
6427  xorg_cv_cc_flag_unknown_warning_option=no
6428fi
6429rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6430fi
6431{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6432$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6433	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6434	CFLAGS="$xorg_testset_save_CFLAGS"
6435fi
6436
6437if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6438	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6439		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6440	fi
6441	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6442	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6443$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6444if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
6445  $as_echo_n "(cached) " >&6
6446else
6447  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6448/* end confdefs.h.  */
6449int i;
6450_ACEOF
6451if ac_fn_c_try_compile "$LINENO"; then :
6452  xorg_cv_cc_flag_unused_command_line_argument=yes
6453else
6454  xorg_cv_cc_flag_unused_command_line_argument=no
6455fi
6456rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6457fi
6458{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6459$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6460	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6461	CFLAGS="$xorg_testset_save_CFLAGS"
6462fi
6463
6464found="no"
6465
6466	if test $found = "no" ; then
6467		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6468			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6469		fi
6470
6471		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6472			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6473		fi
6474
6475		CFLAGS="$CFLAGS -Wmissing-format-attribute"
6476
6477		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
6478$as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
6479		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
6480		if eval \${$cacheid+:} false; then :
6481  $as_echo_n "(cached) " >&6
6482else
6483  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6484/* end confdefs.h.  */
6485int i;
6486int
6487main ()
6488{
6489
6490  ;
6491  return 0;
6492}
6493_ACEOF
6494if ac_fn_c_try_link "$LINENO"; then :
6495  eval $cacheid=yes
6496else
6497  eval $cacheid=no
6498fi
6499rm -f core conftest.err conftest.$ac_objext \
6500    conftest$ac_exeext conftest.$ac_ext
6501fi
6502
6503
6504		CFLAGS="$xorg_testset_save_CFLAGS"
6505
6506		eval supported=\$$cacheid
6507		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6508$as_echo "$supported" >&6; }
6509		if test "$supported" = "yes" ; then
6510			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
6511			found="yes"
6512		fi
6513	fi
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529xorg_testset_save_CFLAGS="$CFLAGS"
6530
6531if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6532	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6533	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6534$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6535if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
6536  $as_echo_n "(cached) " >&6
6537else
6538  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6539/* end confdefs.h.  */
6540int i;
6541_ACEOF
6542if ac_fn_c_try_compile "$LINENO"; then :
6543  xorg_cv_cc_flag_unknown_warning_option=yes
6544else
6545  xorg_cv_cc_flag_unknown_warning_option=no
6546fi
6547rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6548fi
6549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6550$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6551	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6552	CFLAGS="$xorg_testset_save_CFLAGS"
6553fi
6554
6555if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6556	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6557		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6558	fi
6559	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6560	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6561$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6562if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
6563  $as_echo_n "(cached) " >&6
6564else
6565  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6566/* end confdefs.h.  */
6567int i;
6568_ACEOF
6569if ac_fn_c_try_compile "$LINENO"; then :
6570  xorg_cv_cc_flag_unused_command_line_argument=yes
6571else
6572  xorg_cv_cc_flag_unused_command_line_argument=no
6573fi
6574rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6575fi
6576{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6577$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6578	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6579	CFLAGS="$xorg_testset_save_CFLAGS"
6580fi
6581
6582found="no"
6583
6584	if test $found = "no" ; then
6585		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6586			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6587		fi
6588
6589		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6590			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6591		fi
6592
6593		CFLAGS="$CFLAGS -Wredundant-decls"
6594
6595		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
6596$as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
6597		cacheid=xorg_cv_cc_flag__Wredundant_decls
6598		if eval \${$cacheid+:} false; then :
6599  $as_echo_n "(cached) " >&6
6600else
6601  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6602/* end confdefs.h.  */
6603int i;
6604int
6605main ()
6606{
6607
6608  ;
6609  return 0;
6610}
6611_ACEOF
6612if ac_fn_c_try_link "$LINENO"; then :
6613  eval $cacheid=yes
6614else
6615  eval $cacheid=no
6616fi
6617rm -f core conftest.err conftest.$ac_objext \
6618    conftest$ac_exeext conftest.$ac_ext
6619fi
6620
6621
6622		CFLAGS="$xorg_testset_save_CFLAGS"
6623
6624		eval supported=\$$cacheid
6625		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6626$as_echo "$supported" >&6; }
6627		if test "$supported" = "yes" ; then
6628			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
6629			found="yes"
6630		fi
6631	fi
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647xorg_testset_save_CFLAGS="$CFLAGS"
6648
6649if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6650	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6651	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6652$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6653if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
6654  $as_echo_n "(cached) " >&6
6655else
6656  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6657/* end confdefs.h.  */
6658int i;
6659_ACEOF
6660if ac_fn_c_try_compile "$LINENO"; then :
6661  xorg_cv_cc_flag_unknown_warning_option=yes
6662else
6663  xorg_cv_cc_flag_unknown_warning_option=no
6664fi
6665rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6666fi
6667{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6668$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6669	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6670	CFLAGS="$xorg_testset_save_CFLAGS"
6671fi
6672
6673if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6674	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6675		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6676	fi
6677	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6678	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6679$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6680if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
6681  $as_echo_n "(cached) " >&6
6682else
6683  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6684/* end confdefs.h.  */
6685int i;
6686_ACEOF
6687if ac_fn_c_try_compile "$LINENO"; then :
6688  xorg_cv_cc_flag_unused_command_line_argument=yes
6689else
6690  xorg_cv_cc_flag_unused_command_line_argument=no
6691fi
6692rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6693fi
6694{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6695$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6696	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6697	CFLAGS="$xorg_testset_save_CFLAGS"
6698fi
6699
6700found="no"
6701
6702	if test $found = "no" ; then
6703		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6704			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6705		fi
6706
6707		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6708			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6709		fi
6710
6711		CFLAGS="$CFLAGS -Wlogical-op"
6712
6713		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
6714$as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
6715		cacheid=xorg_cv_cc_flag__Wlogical_op
6716		if eval \${$cacheid+:} false; then :
6717  $as_echo_n "(cached) " >&6
6718else
6719  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6720/* end confdefs.h.  */
6721int i;
6722int
6723main ()
6724{
6725
6726  ;
6727  return 0;
6728}
6729_ACEOF
6730if ac_fn_c_try_link "$LINENO"; then :
6731  eval $cacheid=yes
6732else
6733  eval $cacheid=no
6734fi
6735rm -f core conftest.err conftest.$ac_objext \
6736    conftest$ac_exeext conftest.$ac_ext
6737fi
6738
6739
6740		CFLAGS="$xorg_testset_save_CFLAGS"
6741
6742		eval supported=\$$cacheid
6743		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6744$as_echo "$supported" >&6; }
6745		if test "$supported" = "yes" ; then
6746			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
6747			found="yes"
6748		fi
6749	fi
6750
6751
6752
6753# These are currently disabled because they are noisy.  They will be enabled
6754# in the future once the codebase is sufficiently modernized to silence
6755# them.  For now, I don't want them to drown out the other warnings.
6756# XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
6757# XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
6758# XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
6759
6760# Turn some warnings into errors, so we don't accidently get successful builds
6761# when there are problems that should be fixed.
6762
6763if test "x$SELECTIVE_WERROR" = "xyes" ; then
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777xorg_testset_save_CFLAGS="$CFLAGS"
6778
6779if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6780	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6781	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6782$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6783if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
6784  $as_echo_n "(cached) " >&6
6785else
6786  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6787/* end confdefs.h.  */
6788int i;
6789_ACEOF
6790if ac_fn_c_try_compile "$LINENO"; then :
6791  xorg_cv_cc_flag_unknown_warning_option=yes
6792else
6793  xorg_cv_cc_flag_unknown_warning_option=no
6794fi
6795rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6796fi
6797{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6798$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6799	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6800	CFLAGS="$xorg_testset_save_CFLAGS"
6801fi
6802
6803if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6804	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6805		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6806	fi
6807	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6808	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6809$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6810if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
6811  $as_echo_n "(cached) " >&6
6812else
6813  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6814/* end confdefs.h.  */
6815int i;
6816_ACEOF
6817if ac_fn_c_try_compile "$LINENO"; then :
6818  xorg_cv_cc_flag_unused_command_line_argument=yes
6819else
6820  xorg_cv_cc_flag_unused_command_line_argument=no
6821fi
6822rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6823fi
6824{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6825$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6826	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6827	CFLAGS="$xorg_testset_save_CFLAGS"
6828fi
6829
6830found="no"
6831
6832	if test $found = "no" ; then
6833		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6834			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6835		fi
6836
6837		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6838			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6839		fi
6840
6841		CFLAGS="$CFLAGS -Werror=implicit"
6842
6843		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
6844$as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
6845		cacheid=xorg_cv_cc_flag__Werror_implicit
6846		if eval \${$cacheid+:} false; then :
6847  $as_echo_n "(cached) " >&6
6848else
6849  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6850/* end confdefs.h.  */
6851int i;
6852int
6853main ()
6854{
6855
6856  ;
6857  return 0;
6858}
6859_ACEOF
6860if ac_fn_c_try_link "$LINENO"; then :
6861  eval $cacheid=yes
6862else
6863  eval $cacheid=no
6864fi
6865rm -f core conftest.err conftest.$ac_objext \
6866    conftest$ac_exeext conftest.$ac_ext
6867fi
6868
6869
6870		CFLAGS="$xorg_testset_save_CFLAGS"
6871
6872		eval supported=\$$cacheid
6873		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6874$as_echo "$supported" >&6; }
6875		if test "$supported" = "yes" ; then
6876			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
6877			found="yes"
6878		fi
6879	fi
6880
6881	if test $found = "no" ; then
6882		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6883			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6884		fi
6885
6886		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6887			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6888		fi
6889
6890		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
6891
6892		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
6893$as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
6894		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
6895		if eval \${$cacheid+:} false; then :
6896  $as_echo_n "(cached) " >&6
6897else
6898  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6899/* end confdefs.h.  */
6900int i;
6901int
6902main ()
6903{
6904
6905  ;
6906  return 0;
6907}
6908_ACEOF
6909if ac_fn_c_try_link "$LINENO"; then :
6910  eval $cacheid=yes
6911else
6912  eval $cacheid=no
6913fi
6914rm -f core conftest.err conftest.$ac_objext \
6915    conftest$ac_exeext conftest.$ac_ext
6916fi
6917
6918
6919		CFLAGS="$xorg_testset_save_CFLAGS"
6920
6921		eval supported=\$$cacheid
6922		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6923$as_echo "$supported" >&6; }
6924		if test "$supported" = "yes" ; then
6925			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
6926			found="yes"
6927		fi
6928	fi
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944xorg_testset_save_CFLAGS="$CFLAGS"
6945
6946if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6947	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6948	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6949$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6950if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
6951  $as_echo_n "(cached) " >&6
6952else
6953  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6954/* end confdefs.h.  */
6955int i;
6956_ACEOF
6957if ac_fn_c_try_compile "$LINENO"; then :
6958  xorg_cv_cc_flag_unknown_warning_option=yes
6959else
6960  xorg_cv_cc_flag_unknown_warning_option=no
6961fi
6962rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6963fi
6964{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6965$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6966	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6967	CFLAGS="$xorg_testset_save_CFLAGS"
6968fi
6969
6970if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6971	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6972		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6973	fi
6974	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6975	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6976$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6977if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
6978  $as_echo_n "(cached) " >&6
6979else
6980  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6981/* end confdefs.h.  */
6982int i;
6983_ACEOF
6984if ac_fn_c_try_compile "$LINENO"; then :
6985  xorg_cv_cc_flag_unused_command_line_argument=yes
6986else
6987  xorg_cv_cc_flag_unused_command_line_argument=no
6988fi
6989rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6990fi
6991{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6992$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6993	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6994	CFLAGS="$xorg_testset_save_CFLAGS"
6995fi
6996
6997found="no"
6998
6999	if test $found = "no" ; then
7000		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7001			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7002		fi
7003
7004		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7005			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7006		fi
7007
7008		CFLAGS="$CFLAGS -Werror=nonnull"
7009
7010		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
7011$as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
7012		cacheid=xorg_cv_cc_flag__Werror_nonnull
7013		if eval \${$cacheid+:} false; then :
7014  $as_echo_n "(cached) " >&6
7015else
7016  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7017/* end confdefs.h.  */
7018int i;
7019int
7020main ()
7021{
7022
7023  ;
7024  return 0;
7025}
7026_ACEOF
7027if ac_fn_c_try_link "$LINENO"; then :
7028  eval $cacheid=yes
7029else
7030  eval $cacheid=no
7031fi
7032rm -f core conftest.err conftest.$ac_objext \
7033    conftest$ac_exeext conftest.$ac_ext
7034fi
7035
7036
7037		CFLAGS="$xorg_testset_save_CFLAGS"
7038
7039		eval supported=\$$cacheid
7040		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7041$as_echo "$supported" >&6; }
7042		if test "$supported" = "yes" ; then
7043			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
7044			found="yes"
7045		fi
7046	fi
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062xorg_testset_save_CFLAGS="$CFLAGS"
7063
7064if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7065	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7066	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7067$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7068if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
7069  $as_echo_n "(cached) " >&6
7070else
7071  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7072/* end confdefs.h.  */
7073int i;
7074_ACEOF
7075if ac_fn_c_try_compile "$LINENO"; then :
7076  xorg_cv_cc_flag_unknown_warning_option=yes
7077else
7078  xorg_cv_cc_flag_unknown_warning_option=no
7079fi
7080rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7081fi
7082{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7083$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7084	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7085	CFLAGS="$xorg_testset_save_CFLAGS"
7086fi
7087
7088if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7089	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7090		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7091	fi
7092	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7093	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7094$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7095if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
7096  $as_echo_n "(cached) " >&6
7097else
7098  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7099/* end confdefs.h.  */
7100int i;
7101_ACEOF
7102if ac_fn_c_try_compile "$LINENO"; then :
7103  xorg_cv_cc_flag_unused_command_line_argument=yes
7104else
7105  xorg_cv_cc_flag_unused_command_line_argument=no
7106fi
7107rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7108fi
7109{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7110$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7111	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7112	CFLAGS="$xorg_testset_save_CFLAGS"
7113fi
7114
7115found="no"
7116
7117	if test $found = "no" ; then
7118		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7119			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7120		fi
7121
7122		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7123			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7124		fi
7125
7126		CFLAGS="$CFLAGS -Werror=init-self"
7127
7128		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
7129$as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
7130		cacheid=xorg_cv_cc_flag__Werror_init_self
7131		if eval \${$cacheid+:} false; then :
7132  $as_echo_n "(cached) " >&6
7133else
7134  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7135/* end confdefs.h.  */
7136int i;
7137int
7138main ()
7139{
7140
7141  ;
7142  return 0;
7143}
7144_ACEOF
7145if ac_fn_c_try_link "$LINENO"; then :
7146  eval $cacheid=yes
7147else
7148  eval $cacheid=no
7149fi
7150rm -f core conftest.err conftest.$ac_objext \
7151    conftest$ac_exeext conftest.$ac_ext
7152fi
7153
7154
7155		CFLAGS="$xorg_testset_save_CFLAGS"
7156
7157		eval supported=\$$cacheid
7158		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7159$as_echo "$supported" >&6; }
7160		if test "$supported" = "yes" ; then
7161			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
7162			found="yes"
7163		fi
7164	fi
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180xorg_testset_save_CFLAGS="$CFLAGS"
7181
7182if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7183	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7184	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7185$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7186if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
7187  $as_echo_n "(cached) " >&6
7188else
7189  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7190/* end confdefs.h.  */
7191int i;
7192_ACEOF
7193if ac_fn_c_try_compile "$LINENO"; then :
7194  xorg_cv_cc_flag_unknown_warning_option=yes
7195else
7196  xorg_cv_cc_flag_unknown_warning_option=no
7197fi
7198rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7199fi
7200{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7201$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7202	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7203	CFLAGS="$xorg_testset_save_CFLAGS"
7204fi
7205
7206if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7207	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7208		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7209	fi
7210	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7211	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7212$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7213if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
7214  $as_echo_n "(cached) " >&6
7215else
7216  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7217/* end confdefs.h.  */
7218int i;
7219_ACEOF
7220if ac_fn_c_try_compile "$LINENO"; then :
7221  xorg_cv_cc_flag_unused_command_line_argument=yes
7222else
7223  xorg_cv_cc_flag_unused_command_line_argument=no
7224fi
7225rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7226fi
7227{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7228$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7229	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7230	CFLAGS="$xorg_testset_save_CFLAGS"
7231fi
7232
7233found="no"
7234
7235	if test $found = "no" ; then
7236		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7237			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7238		fi
7239
7240		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7241			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7242		fi
7243
7244		CFLAGS="$CFLAGS -Werror=main"
7245
7246		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
7247$as_echo_n "checking if $CC supports -Werror=main... " >&6; }
7248		cacheid=xorg_cv_cc_flag__Werror_main
7249		if eval \${$cacheid+:} false; then :
7250  $as_echo_n "(cached) " >&6
7251else
7252  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7253/* end confdefs.h.  */
7254int i;
7255int
7256main ()
7257{
7258
7259  ;
7260  return 0;
7261}
7262_ACEOF
7263if ac_fn_c_try_link "$LINENO"; then :
7264  eval $cacheid=yes
7265else
7266  eval $cacheid=no
7267fi
7268rm -f core conftest.err conftest.$ac_objext \
7269    conftest$ac_exeext conftest.$ac_ext
7270fi
7271
7272
7273		CFLAGS="$xorg_testset_save_CFLAGS"
7274
7275		eval supported=\$$cacheid
7276		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7277$as_echo "$supported" >&6; }
7278		if test "$supported" = "yes" ; then
7279			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
7280			found="yes"
7281		fi
7282	fi
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298xorg_testset_save_CFLAGS="$CFLAGS"
7299
7300if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7301	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7302	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7303$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7304if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
7305  $as_echo_n "(cached) " >&6
7306else
7307  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7308/* end confdefs.h.  */
7309int i;
7310_ACEOF
7311if ac_fn_c_try_compile "$LINENO"; then :
7312  xorg_cv_cc_flag_unknown_warning_option=yes
7313else
7314  xorg_cv_cc_flag_unknown_warning_option=no
7315fi
7316rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7317fi
7318{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7319$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7320	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7321	CFLAGS="$xorg_testset_save_CFLAGS"
7322fi
7323
7324if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7325	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7326		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7327	fi
7328	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7329	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7330$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7331if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
7332  $as_echo_n "(cached) " >&6
7333else
7334  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7335/* end confdefs.h.  */
7336int i;
7337_ACEOF
7338if ac_fn_c_try_compile "$LINENO"; then :
7339  xorg_cv_cc_flag_unused_command_line_argument=yes
7340else
7341  xorg_cv_cc_flag_unused_command_line_argument=no
7342fi
7343rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7344fi
7345{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7346$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7347	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7348	CFLAGS="$xorg_testset_save_CFLAGS"
7349fi
7350
7351found="no"
7352
7353	if test $found = "no" ; then
7354		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7355			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7356		fi
7357
7358		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7359			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7360		fi
7361
7362		CFLAGS="$CFLAGS -Werror=missing-braces"
7363
7364		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
7365$as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
7366		cacheid=xorg_cv_cc_flag__Werror_missing_braces
7367		if eval \${$cacheid+:} false; then :
7368  $as_echo_n "(cached) " >&6
7369else
7370  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7371/* end confdefs.h.  */
7372int i;
7373int
7374main ()
7375{
7376
7377  ;
7378  return 0;
7379}
7380_ACEOF
7381if ac_fn_c_try_link "$LINENO"; then :
7382  eval $cacheid=yes
7383else
7384  eval $cacheid=no
7385fi
7386rm -f core conftest.err conftest.$ac_objext \
7387    conftest$ac_exeext conftest.$ac_ext
7388fi
7389
7390
7391		CFLAGS="$xorg_testset_save_CFLAGS"
7392
7393		eval supported=\$$cacheid
7394		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7395$as_echo "$supported" >&6; }
7396		if test "$supported" = "yes" ; then
7397			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
7398			found="yes"
7399		fi
7400	fi
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416xorg_testset_save_CFLAGS="$CFLAGS"
7417
7418if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7419	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7420	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7421$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7422if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
7423  $as_echo_n "(cached) " >&6
7424else
7425  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7426/* end confdefs.h.  */
7427int i;
7428_ACEOF
7429if ac_fn_c_try_compile "$LINENO"; then :
7430  xorg_cv_cc_flag_unknown_warning_option=yes
7431else
7432  xorg_cv_cc_flag_unknown_warning_option=no
7433fi
7434rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7435fi
7436{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7437$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7438	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7439	CFLAGS="$xorg_testset_save_CFLAGS"
7440fi
7441
7442if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7443	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7444		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7445	fi
7446	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7447	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7448$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7449if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
7450  $as_echo_n "(cached) " >&6
7451else
7452  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7453/* end confdefs.h.  */
7454int i;
7455_ACEOF
7456if ac_fn_c_try_compile "$LINENO"; then :
7457  xorg_cv_cc_flag_unused_command_line_argument=yes
7458else
7459  xorg_cv_cc_flag_unused_command_line_argument=no
7460fi
7461rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7462fi
7463{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7464$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7465	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7466	CFLAGS="$xorg_testset_save_CFLAGS"
7467fi
7468
7469found="no"
7470
7471	if test $found = "no" ; then
7472		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7473			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7474		fi
7475
7476		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7477			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7478		fi
7479
7480		CFLAGS="$CFLAGS -Werror=sequence-point"
7481
7482		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
7483$as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
7484		cacheid=xorg_cv_cc_flag__Werror_sequence_point
7485		if eval \${$cacheid+:} false; then :
7486  $as_echo_n "(cached) " >&6
7487else
7488  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7489/* end confdefs.h.  */
7490int i;
7491int
7492main ()
7493{
7494
7495  ;
7496  return 0;
7497}
7498_ACEOF
7499if ac_fn_c_try_link "$LINENO"; then :
7500  eval $cacheid=yes
7501else
7502  eval $cacheid=no
7503fi
7504rm -f core conftest.err conftest.$ac_objext \
7505    conftest$ac_exeext conftest.$ac_ext
7506fi
7507
7508
7509		CFLAGS="$xorg_testset_save_CFLAGS"
7510
7511		eval supported=\$$cacheid
7512		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7513$as_echo "$supported" >&6; }
7514		if test "$supported" = "yes" ; then
7515			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
7516			found="yes"
7517		fi
7518	fi
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534xorg_testset_save_CFLAGS="$CFLAGS"
7535
7536if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7537	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7538	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7539$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7540if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
7541  $as_echo_n "(cached) " >&6
7542else
7543  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7544/* end confdefs.h.  */
7545int i;
7546_ACEOF
7547if ac_fn_c_try_compile "$LINENO"; then :
7548  xorg_cv_cc_flag_unknown_warning_option=yes
7549else
7550  xorg_cv_cc_flag_unknown_warning_option=no
7551fi
7552rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7553fi
7554{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7555$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7556	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7557	CFLAGS="$xorg_testset_save_CFLAGS"
7558fi
7559
7560if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7561	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7562		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7563	fi
7564	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7565	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7566$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7567if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
7568  $as_echo_n "(cached) " >&6
7569else
7570  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7571/* end confdefs.h.  */
7572int i;
7573_ACEOF
7574if ac_fn_c_try_compile "$LINENO"; then :
7575  xorg_cv_cc_flag_unused_command_line_argument=yes
7576else
7577  xorg_cv_cc_flag_unused_command_line_argument=no
7578fi
7579rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7580fi
7581{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7582$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7583	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7584	CFLAGS="$xorg_testset_save_CFLAGS"
7585fi
7586
7587found="no"
7588
7589	if test $found = "no" ; then
7590		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7591			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7592		fi
7593
7594		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7595			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7596		fi
7597
7598		CFLAGS="$CFLAGS -Werror=return-type"
7599
7600		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
7601$as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
7602		cacheid=xorg_cv_cc_flag__Werror_return_type
7603		if eval \${$cacheid+:} false; then :
7604  $as_echo_n "(cached) " >&6
7605else
7606  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7607/* end confdefs.h.  */
7608int i;
7609int
7610main ()
7611{
7612
7613  ;
7614  return 0;
7615}
7616_ACEOF
7617if ac_fn_c_try_link "$LINENO"; then :
7618  eval $cacheid=yes
7619else
7620  eval $cacheid=no
7621fi
7622rm -f core conftest.err conftest.$ac_objext \
7623    conftest$ac_exeext conftest.$ac_ext
7624fi
7625
7626
7627		CFLAGS="$xorg_testset_save_CFLAGS"
7628
7629		eval supported=\$$cacheid
7630		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7631$as_echo "$supported" >&6; }
7632		if test "$supported" = "yes" ; then
7633			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
7634			found="yes"
7635		fi
7636	fi
7637
7638	if test $found = "no" ; then
7639		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7640			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7641		fi
7642
7643		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7644			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7645		fi
7646
7647		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
7648
7649		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
7650$as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
7651		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
7652		if eval \${$cacheid+:} false; then :
7653  $as_echo_n "(cached) " >&6
7654else
7655  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7656/* end confdefs.h.  */
7657int i;
7658int
7659main ()
7660{
7661
7662  ;
7663  return 0;
7664}
7665_ACEOF
7666if ac_fn_c_try_link "$LINENO"; then :
7667  eval $cacheid=yes
7668else
7669  eval $cacheid=no
7670fi
7671rm -f core conftest.err conftest.$ac_objext \
7672    conftest$ac_exeext conftest.$ac_ext
7673fi
7674
7675
7676		CFLAGS="$xorg_testset_save_CFLAGS"
7677
7678		eval supported=\$$cacheid
7679		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7680$as_echo "$supported" >&6; }
7681		if test "$supported" = "yes" ; then
7682			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
7683			found="yes"
7684		fi
7685	fi
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701xorg_testset_save_CFLAGS="$CFLAGS"
7702
7703if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7704	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7705	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7706$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7707if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
7708  $as_echo_n "(cached) " >&6
7709else
7710  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7711/* end confdefs.h.  */
7712int i;
7713_ACEOF
7714if ac_fn_c_try_compile "$LINENO"; then :
7715  xorg_cv_cc_flag_unknown_warning_option=yes
7716else
7717  xorg_cv_cc_flag_unknown_warning_option=no
7718fi
7719rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7720fi
7721{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7722$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7723	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7724	CFLAGS="$xorg_testset_save_CFLAGS"
7725fi
7726
7727if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7728	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7729		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7730	fi
7731	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7732	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7733$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7734if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
7735  $as_echo_n "(cached) " >&6
7736else
7737  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7738/* end confdefs.h.  */
7739int i;
7740_ACEOF
7741if ac_fn_c_try_compile "$LINENO"; then :
7742  xorg_cv_cc_flag_unused_command_line_argument=yes
7743else
7744  xorg_cv_cc_flag_unused_command_line_argument=no
7745fi
7746rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7747fi
7748{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7749$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7750	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7751	CFLAGS="$xorg_testset_save_CFLAGS"
7752fi
7753
7754found="no"
7755
7756	if test $found = "no" ; then
7757		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7758			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7759		fi
7760
7761		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7762			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7763		fi
7764
7765		CFLAGS="$CFLAGS -Werror=trigraphs"
7766
7767		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
7768$as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
7769		cacheid=xorg_cv_cc_flag__Werror_trigraphs
7770		if eval \${$cacheid+:} false; then :
7771  $as_echo_n "(cached) " >&6
7772else
7773  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7774/* end confdefs.h.  */
7775int i;
7776int
7777main ()
7778{
7779
7780  ;
7781  return 0;
7782}
7783_ACEOF
7784if ac_fn_c_try_link "$LINENO"; then :
7785  eval $cacheid=yes
7786else
7787  eval $cacheid=no
7788fi
7789rm -f core conftest.err conftest.$ac_objext \
7790    conftest$ac_exeext conftest.$ac_ext
7791fi
7792
7793
7794		CFLAGS="$xorg_testset_save_CFLAGS"
7795
7796		eval supported=\$$cacheid
7797		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7798$as_echo "$supported" >&6; }
7799		if test "$supported" = "yes" ; then
7800			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
7801			found="yes"
7802		fi
7803	fi
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819xorg_testset_save_CFLAGS="$CFLAGS"
7820
7821if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7822	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7823	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7824$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7825if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
7826  $as_echo_n "(cached) " >&6
7827else
7828  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7829/* end confdefs.h.  */
7830int i;
7831_ACEOF
7832if ac_fn_c_try_compile "$LINENO"; then :
7833  xorg_cv_cc_flag_unknown_warning_option=yes
7834else
7835  xorg_cv_cc_flag_unknown_warning_option=no
7836fi
7837rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7838fi
7839{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7840$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7841	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7842	CFLAGS="$xorg_testset_save_CFLAGS"
7843fi
7844
7845if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7846	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7847		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7848	fi
7849	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7850	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7851$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7852if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
7853  $as_echo_n "(cached) " >&6
7854else
7855  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7856/* end confdefs.h.  */
7857int i;
7858_ACEOF
7859if ac_fn_c_try_compile "$LINENO"; then :
7860  xorg_cv_cc_flag_unused_command_line_argument=yes
7861else
7862  xorg_cv_cc_flag_unused_command_line_argument=no
7863fi
7864rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7865fi
7866{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7867$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7868	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7869	CFLAGS="$xorg_testset_save_CFLAGS"
7870fi
7871
7872found="no"
7873
7874	if test $found = "no" ; then
7875		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7876			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7877		fi
7878
7879		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7880			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7881		fi
7882
7883		CFLAGS="$CFLAGS -Werror=array-bounds"
7884
7885		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
7886$as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
7887		cacheid=xorg_cv_cc_flag__Werror_array_bounds
7888		if eval \${$cacheid+:} false; then :
7889  $as_echo_n "(cached) " >&6
7890else
7891  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7892/* end confdefs.h.  */
7893int i;
7894int
7895main ()
7896{
7897
7898  ;
7899  return 0;
7900}
7901_ACEOF
7902if ac_fn_c_try_link "$LINENO"; then :
7903  eval $cacheid=yes
7904else
7905  eval $cacheid=no
7906fi
7907rm -f core conftest.err conftest.$ac_objext \
7908    conftest$ac_exeext conftest.$ac_ext
7909fi
7910
7911
7912		CFLAGS="$xorg_testset_save_CFLAGS"
7913
7914		eval supported=\$$cacheid
7915		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7916$as_echo "$supported" >&6; }
7917		if test "$supported" = "yes" ; then
7918			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
7919			found="yes"
7920		fi
7921	fi
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937xorg_testset_save_CFLAGS="$CFLAGS"
7938
7939if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7940	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7941	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7942$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7943if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
7944  $as_echo_n "(cached) " >&6
7945else
7946  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7947/* end confdefs.h.  */
7948int i;
7949_ACEOF
7950if ac_fn_c_try_compile "$LINENO"; then :
7951  xorg_cv_cc_flag_unknown_warning_option=yes
7952else
7953  xorg_cv_cc_flag_unknown_warning_option=no
7954fi
7955rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7956fi
7957{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7958$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7959	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7960	CFLAGS="$xorg_testset_save_CFLAGS"
7961fi
7962
7963if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7964	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7965		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7966	fi
7967	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7968	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7969$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7970if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
7971  $as_echo_n "(cached) " >&6
7972else
7973  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7974/* end confdefs.h.  */
7975int i;
7976_ACEOF
7977if ac_fn_c_try_compile "$LINENO"; then :
7978  xorg_cv_cc_flag_unused_command_line_argument=yes
7979else
7980  xorg_cv_cc_flag_unused_command_line_argument=no
7981fi
7982rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7983fi
7984{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7985$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7986	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7987	CFLAGS="$xorg_testset_save_CFLAGS"
7988fi
7989
7990found="no"
7991
7992	if test $found = "no" ; then
7993		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7994			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7995		fi
7996
7997		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7998			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7999		fi
8000
8001		CFLAGS="$CFLAGS -Werror=write-strings"
8002
8003		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
8004$as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
8005		cacheid=xorg_cv_cc_flag__Werror_write_strings
8006		if eval \${$cacheid+:} false; then :
8007  $as_echo_n "(cached) " >&6
8008else
8009  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8010/* end confdefs.h.  */
8011int i;
8012int
8013main ()
8014{
8015
8016  ;
8017  return 0;
8018}
8019_ACEOF
8020if ac_fn_c_try_link "$LINENO"; then :
8021  eval $cacheid=yes
8022else
8023  eval $cacheid=no
8024fi
8025rm -f core conftest.err conftest.$ac_objext \
8026    conftest$ac_exeext conftest.$ac_ext
8027fi
8028
8029
8030		CFLAGS="$xorg_testset_save_CFLAGS"
8031
8032		eval supported=\$$cacheid
8033		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8034$as_echo "$supported" >&6; }
8035		if test "$supported" = "yes" ; then
8036			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
8037			found="yes"
8038		fi
8039	fi
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055xorg_testset_save_CFLAGS="$CFLAGS"
8056
8057if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8058	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8059	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8060$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8061if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
8062  $as_echo_n "(cached) " >&6
8063else
8064  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8065/* end confdefs.h.  */
8066int i;
8067_ACEOF
8068if ac_fn_c_try_compile "$LINENO"; then :
8069  xorg_cv_cc_flag_unknown_warning_option=yes
8070else
8071  xorg_cv_cc_flag_unknown_warning_option=no
8072fi
8073rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8074fi
8075{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8076$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8077	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8078	CFLAGS="$xorg_testset_save_CFLAGS"
8079fi
8080
8081if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8082	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8083		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8084	fi
8085	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8086	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8087$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8088if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
8089  $as_echo_n "(cached) " >&6
8090else
8091  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8092/* end confdefs.h.  */
8093int i;
8094_ACEOF
8095if ac_fn_c_try_compile "$LINENO"; then :
8096  xorg_cv_cc_flag_unused_command_line_argument=yes
8097else
8098  xorg_cv_cc_flag_unused_command_line_argument=no
8099fi
8100rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8101fi
8102{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8103$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8104	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8105	CFLAGS="$xorg_testset_save_CFLAGS"
8106fi
8107
8108found="no"
8109
8110	if test $found = "no" ; then
8111		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8112			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8113		fi
8114
8115		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8116			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8117		fi
8118
8119		CFLAGS="$CFLAGS -Werror=address"
8120
8121		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
8122$as_echo_n "checking if $CC supports -Werror=address... " >&6; }
8123		cacheid=xorg_cv_cc_flag__Werror_address
8124		if eval \${$cacheid+:} false; then :
8125  $as_echo_n "(cached) " >&6
8126else
8127  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8128/* end confdefs.h.  */
8129int i;
8130int
8131main ()
8132{
8133
8134  ;
8135  return 0;
8136}
8137_ACEOF
8138if ac_fn_c_try_link "$LINENO"; then :
8139  eval $cacheid=yes
8140else
8141  eval $cacheid=no
8142fi
8143rm -f core conftest.err conftest.$ac_objext \
8144    conftest$ac_exeext conftest.$ac_ext
8145fi
8146
8147
8148		CFLAGS="$xorg_testset_save_CFLAGS"
8149
8150		eval supported=\$$cacheid
8151		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8152$as_echo "$supported" >&6; }
8153		if test "$supported" = "yes" ; then
8154			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
8155			found="yes"
8156		fi
8157	fi
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173xorg_testset_save_CFLAGS="$CFLAGS"
8174
8175if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8176	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8177	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8178$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8179if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
8180  $as_echo_n "(cached) " >&6
8181else
8182  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8183/* end confdefs.h.  */
8184int i;
8185_ACEOF
8186if ac_fn_c_try_compile "$LINENO"; then :
8187  xorg_cv_cc_flag_unknown_warning_option=yes
8188else
8189  xorg_cv_cc_flag_unknown_warning_option=no
8190fi
8191rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8192fi
8193{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8194$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8195	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8196	CFLAGS="$xorg_testset_save_CFLAGS"
8197fi
8198
8199if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8200	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8201		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8202	fi
8203	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8204	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8205$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8206if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
8207  $as_echo_n "(cached) " >&6
8208else
8209  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8210/* end confdefs.h.  */
8211int i;
8212_ACEOF
8213if ac_fn_c_try_compile "$LINENO"; then :
8214  xorg_cv_cc_flag_unused_command_line_argument=yes
8215else
8216  xorg_cv_cc_flag_unused_command_line_argument=no
8217fi
8218rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8219fi
8220{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8221$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8222	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8223	CFLAGS="$xorg_testset_save_CFLAGS"
8224fi
8225
8226found="no"
8227
8228	if test $found = "no" ; then
8229		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8230			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8231		fi
8232
8233		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8234			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8235		fi
8236
8237		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
8238
8239		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
8240$as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
8241		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
8242		if eval \${$cacheid+:} false; then :
8243  $as_echo_n "(cached) " >&6
8244else
8245  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8246/* end confdefs.h.  */
8247int i;
8248int
8249main ()
8250{
8251
8252  ;
8253  return 0;
8254}
8255_ACEOF
8256if ac_fn_c_try_link "$LINENO"; then :
8257  eval $cacheid=yes
8258else
8259  eval $cacheid=no
8260fi
8261rm -f core conftest.err conftest.$ac_objext \
8262    conftest$ac_exeext conftest.$ac_ext
8263fi
8264
8265
8266		CFLAGS="$xorg_testset_save_CFLAGS"
8267
8268		eval supported=\$$cacheid
8269		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8270$as_echo "$supported" >&6; }
8271		if test "$supported" = "yes" ; then
8272			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
8273			found="yes"
8274		fi
8275	fi
8276
8277	if test $found = "no" ; then
8278		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8279			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8280		fi
8281
8282		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8283			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8284		fi
8285
8286		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
8287
8288		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
8289$as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
8290		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
8291		if eval \${$cacheid+:} false; then :
8292  $as_echo_n "(cached) " >&6
8293else
8294  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8295/* end confdefs.h.  */
8296int i;
8297int
8298main ()
8299{
8300
8301  ;
8302  return 0;
8303}
8304_ACEOF
8305if ac_fn_c_try_link "$LINENO"; then :
8306  eval $cacheid=yes
8307else
8308  eval $cacheid=no
8309fi
8310rm -f core conftest.err conftest.$ac_objext \
8311    conftest$ac_exeext conftest.$ac_ext
8312fi
8313
8314
8315		CFLAGS="$xorg_testset_save_CFLAGS"
8316
8317		eval supported=\$$cacheid
8318		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8319$as_echo "$supported" >&6; }
8320		if test "$supported" = "yes" ; then
8321			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
8322			found="yes"
8323		fi
8324	fi
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340xorg_testset_save_CFLAGS="$CFLAGS"
8341
8342if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8343	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8344	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8345$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8346if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
8347  $as_echo_n "(cached) " >&6
8348else
8349  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8350/* end confdefs.h.  */
8351int i;
8352_ACEOF
8353if ac_fn_c_try_compile "$LINENO"; then :
8354  xorg_cv_cc_flag_unknown_warning_option=yes
8355else
8356  xorg_cv_cc_flag_unknown_warning_option=no
8357fi
8358rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8359fi
8360{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8361$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8362	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8363	CFLAGS="$xorg_testset_save_CFLAGS"
8364fi
8365
8366if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8367	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8368		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8369	fi
8370	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8371	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8372$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8373if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
8374  $as_echo_n "(cached) " >&6
8375else
8376  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8377/* end confdefs.h.  */
8378int i;
8379_ACEOF
8380if ac_fn_c_try_compile "$LINENO"; then :
8381  xorg_cv_cc_flag_unused_command_line_argument=yes
8382else
8383  xorg_cv_cc_flag_unused_command_line_argument=no
8384fi
8385rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8386fi
8387{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8388$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8389	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8390	CFLAGS="$xorg_testset_save_CFLAGS"
8391fi
8392
8393found="no"
8394
8395	if test $found = "no" ; then
8396		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8397			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8398		fi
8399
8400		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8401			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8402		fi
8403
8404		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
8405
8406		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
8407$as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
8408		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
8409		if eval \${$cacheid+:} false; then :
8410  $as_echo_n "(cached) " >&6
8411else
8412  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8413/* end confdefs.h.  */
8414int i;
8415int
8416main ()
8417{
8418
8419  ;
8420  return 0;
8421}
8422_ACEOF
8423if ac_fn_c_try_link "$LINENO"; then :
8424  eval $cacheid=yes
8425else
8426  eval $cacheid=no
8427fi
8428rm -f core conftest.err conftest.$ac_objext \
8429    conftest$ac_exeext conftest.$ac_ext
8430fi
8431
8432
8433		CFLAGS="$xorg_testset_save_CFLAGS"
8434
8435		eval supported=\$$cacheid
8436		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8437$as_echo "$supported" >&6; }
8438		if test "$supported" = "yes" ; then
8439			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
8440			found="yes"
8441		fi
8442	fi
8443
8444 # Also -errwarn=E_BAD_PTR_INT_COMBINATION
8445else
8446{ $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
8447$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;}
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461xorg_testset_save_CFLAGS="$CFLAGS"
8462
8463if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8464	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8465	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8466$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8467if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
8468  $as_echo_n "(cached) " >&6
8469else
8470  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8471/* end confdefs.h.  */
8472int i;
8473_ACEOF
8474if ac_fn_c_try_compile "$LINENO"; then :
8475  xorg_cv_cc_flag_unknown_warning_option=yes
8476else
8477  xorg_cv_cc_flag_unknown_warning_option=no
8478fi
8479rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8480fi
8481{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8482$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8483	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8484	CFLAGS="$xorg_testset_save_CFLAGS"
8485fi
8486
8487if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8488	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8489		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8490	fi
8491	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8492	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8493$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8494if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
8495  $as_echo_n "(cached) " >&6
8496else
8497  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8498/* end confdefs.h.  */
8499int i;
8500_ACEOF
8501if ac_fn_c_try_compile "$LINENO"; then :
8502  xorg_cv_cc_flag_unused_command_line_argument=yes
8503else
8504  xorg_cv_cc_flag_unused_command_line_argument=no
8505fi
8506rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8507fi
8508{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8509$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8510	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8511	CFLAGS="$xorg_testset_save_CFLAGS"
8512fi
8513
8514found="no"
8515
8516	if test $found = "no" ; then
8517		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8518			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8519		fi
8520
8521		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8522			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8523		fi
8524
8525		CFLAGS="$CFLAGS -Wimplicit"
8526
8527		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
8528$as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
8529		cacheid=xorg_cv_cc_flag__Wimplicit
8530		if eval \${$cacheid+:} false; then :
8531  $as_echo_n "(cached) " >&6
8532else
8533  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8534/* end confdefs.h.  */
8535int i;
8536int
8537main ()
8538{
8539
8540  ;
8541  return 0;
8542}
8543_ACEOF
8544if ac_fn_c_try_link "$LINENO"; then :
8545  eval $cacheid=yes
8546else
8547  eval $cacheid=no
8548fi
8549rm -f core conftest.err conftest.$ac_objext \
8550    conftest$ac_exeext conftest.$ac_ext
8551fi
8552
8553
8554		CFLAGS="$xorg_testset_save_CFLAGS"
8555
8556		eval supported=\$$cacheid
8557		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8558$as_echo "$supported" >&6; }
8559		if test "$supported" = "yes" ; then
8560			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
8561			found="yes"
8562		fi
8563	fi
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579xorg_testset_save_CFLAGS="$CFLAGS"
8580
8581if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8582	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8583	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8584$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8585if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
8586  $as_echo_n "(cached) " >&6
8587else
8588  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8589/* end confdefs.h.  */
8590int i;
8591_ACEOF
8592if ac_fn_c_try_compile "$LINENO"; then :
8593  xorg_cv_cc_flag_unknown_warning_option=yes
8594else
8595  xorg_cv_cc_flag_unknown_warning_option=no
8596fi
8597rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8598fi
8599{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8600$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8601	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8602	CFLAGS="$xorg_testset_save_CFLAGS"
8603fi
8604
8605if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8606	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8607		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8608	fi
8609	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8610	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8611$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8612if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
8613  $as_echo_n "(cached) " >&6
8614else
8615  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8616/* end confdefs.h.  */
8617int i;
8618_ACEOF
8619if ac_fn_c_try_compile "$LINENO"; then :
8620  xorg_cv_cc_flag_unused_command_line_argument=yes
8621else
8622  xorg_cv_cc_flag_unused_command_line_argument=no
8623fi
8624rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8625fi
8626{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8627$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8628	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8629	CFLAGS="$xorg_testset_save_CFLAGS"
8630fi
8631
8632found="no"
8633
8634	if test $found = "no" ; then
8635		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8636			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8637		fi
8638
8639		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8640			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8641		fi
8642
8643		CFLAGS="$CFLAGS -Wnonnull"
8644
8645		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
8646$as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
8647		cacheid=xorg_cv_cc_flag__Wnonnull
8648		if eval \${$cacheid+:} false; then :
8649  $as_echo_n "(cached) " >&6
8650else
8651  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8652/* end confdefs.h.  */
8653int i;
8654int
8655main ()
8656{
8657
8658  ;
8659  return 0;
8660}
8661_ACEOF
8662if ac_fn_c_try_link "$LINENO"; then :
8663  eval $cacheid=yes
8664else
8665  eval $cacheid=no
8666fi
8667rm -f core conftest.err conftest.$ac_objext \
8668    conftest$ac_exeext conftest.$ac_ext
8669fi
8670
8671
8672		CFLAGS="$xorg_testset_save_CFLAGS"
8673
8674		eval supported=\$$cacheid
8675		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8676$as_echo "$supported" >&6; }
8677		if test "$supported" = "yes" ; then
8678			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
8679			found="yes"
8680		fi
8681	fi
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697xorg_testset_save_CFLAGS="$CFLAGS"
8698
8699if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8700	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8701	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8702$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8703if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
8704  $as_echo_n "(cached) " >&6
8705else
8706  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8707/* end confdefs.h.  */
8708int i;
8709_ACEOF
8710if ac_fn_c_try_compile "$LINENO"; then :
8711  xorg_cv_cc_flag_unknown_warning_option=yes
8712else
8713  xorg_cv_cc_flag_unknown_warning_option=no
8714fi
8715rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8716fi
8717{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8718$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8719	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8720	CFLAGS="$xorg_testset_save_CFLAGS"
8721fi
8722
8723if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8724	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8725		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8726	fi
8727	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8728	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8729$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8730if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
8731  $as_echo_n "(cached) " >&6
8732else
8733  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8734/* end confdefs.h.  */
8735int i;
8736_ACEOF
8737if ac_fn_c_try_compile "$LINENO"; then :
8738  xorg_cv_cc_flag_unused_command_line_argument=yes
8739else
8740  xorg_cv_cc_flag_unused_command_line_argument=no
8741fi
8742rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8743fi
8744{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8745$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8746	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8747	CFLAGS="$xorg_testset_save_CFLAGS"
8748fi
8749
8750found="no"
8751
8752	if test $found = "no" ; then
8753		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8754			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8755		fi
8756
8757		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8758			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8759		fi
8760
8761		CFLAGS="$CFLAGS -Winit-self"
8762
8763		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
8764$as_echo_n "checking if $CC supports -Winit-self... " >&6; }
8765		cacheid=xorg_cv_cc_flag__Winit_self
8766		if eval \${$cacheid+:} false; then :
8767  $as_echo_n "(cached) " >&6
8768else
8769  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8770/* end confdefs.h.  */
8771int i;
8772int
8773main ()
8774{
8775
8776  ;
8777  return 0;
8778}
8779_ACEOF
8780if ac_fn_c_try_link "$LINENO"; then :
8781  eval $cacheid=yes
8782else
8783  eval $cacheid=no
8784fi
8785rm -f core conftest.err conftest.$ac_objext \
8786    conftest$ac_exeext conftest.$ac_ext
8787fi
8788
8789
8790		CFLAGS="$xorg_testset_save_CFLAGS"
8791
8792		eval supported=\$$cacheid
8793		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8794$as_echo "$supported" >&6; }
8795		if test "$supported" = "yes" ; then
8796			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
8797			found="yes"
8798		fi
8799	fi
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815xorg_testset_save_CFLAGS="$CFLAGS"
8816
8817if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8818	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8819	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8820$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8821if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
8822  $as_echo_n "(cached) " >&6
8823else
8824  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8825/* end confdefs.h.  */
8826int i;
8827_ACEOF
8828if ac_fn_c_try_compile "$LINENO"; then :
8829  xorg_cv_cc_flag_unknown_warning_option=yes
8830else
8831  xorg_cv_cc_flag_unknown_warning_option=no
8832fi
8833rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8834fi
8835{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8836$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8837	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8838	CFLAGS="$xorg_testset_save_CFLAGS"
8839fi
8840
8841if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8842	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8843		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8844	fi
8845	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8846	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8847$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8848if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
8849  $as_echo_n "(cached) " >&6
8850else
8851  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8852/* end confdefs.h.  */
8853int i;
8854_ACEOF
8855if ac_fn_c_try_compile "$LINENO"; then :
8856  xorg_cv_cc_flag_unused_command_line_argument=yes
8857else
8858  xorg_cv_cc_flag_unused_command_line_argument=no
8859fi
8860rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8861fi
8862{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8863$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8864	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8865	CFLAGS="$xorg_testset_save_CFLAGS"
8866fi
8867
8868found="no"
8869
8870	if test $found = "no" ; then
8871		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8872			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8873		fi
8874
8875		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8876			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8877		fi
8878
8879		CFLAGS="$CFLAGS -Wmain"
8880
8881		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
8882$as_echo_n "checking if $CC supports -Wmain... " >&6; }
8883		cacheid=xorg_cv_cc_flag__Wmain
8884		if eval \${$cacheid+:} false; then :
8885  $as_echo_n "(cached) " >&6
8886else
8887  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8888/* end confdefs.h.  */
8889int i;
8890int
8891main ()
8892{
8893
8894  ;
8895  return 0;
8896}
8897_ACEOF
8898if ac_fn_c_try_link "$LINENO"; then :
8899  eval $cacheid=yes
8900else
8901  eval $cacheid=no
8902fi
8903rm -f core conftest.err conftest.$ac_objext \
8904    conftest$ac_exeext conftest.$ac_ext
8905fi
8906
8907
8908		CFLAGS="$xorg_testset_save_CFLAGS"
8909
8910		eval supported=\$$cacheid
8911		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8912$as_echo "$supported" >&6; }
8913		if test "$supported" = "yes" ; then
8914			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
8915			found="yes"
8916		fi
8917	fi
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933xorg_testset_save_CFLAGS="$CFLAGS"
8934
8935if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8936	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8937	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8938$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8939if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
8940  $as_echo_n "(cached) " >&6
8941else
8942  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8943/* end confdefs.h.  */
8944int i;
8945_ACEOF
8946if ac_fn_c_try_compile "$LINENO"; then :
8947  xorg_cv_cc_flag_unknown_warning_option=yes
8948else
8949  xorg_cv_cc_flag_unknown_warning_option=no
8950fi
8951rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8952fi
8953{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8954$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8955	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8956	CFLAGS="$xorg_testset_save_CFLAGS"
8957fi
8958
8959if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8960	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8961		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8962	fi
8963	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8964	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8965$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8966if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
8967  $as_echo_n "(cached) " >&6
8968else
8969  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8970/* end confdefs.h.  */
8971int i;
8972_ACEOF
8973if ac_fn_c_try_compile "$LINENO"; then :
8974  xorg_cv_cc_flag_unused_command_line_argument=yes
8975else
8976  xorg_cv_cc_flag_unused_command_line_argument=no
8977fi
8978rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8979fi
8980{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8981$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8982	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8983	CFLAGS="$xorg_testset_save_CFLAGS"
8984fi
8985
8986found="no"
8987
8988	if test $found = "no" ; then
8989		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8990			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8991		fi
8992
8993		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8994			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8995		fi
8996
8997		CFLAGS="$CFLAGS -Wmissing-braces"
8998
8999		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
9000$as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
9001		cacheid=xorg_cv_cc_flag__Wmissing_braces
9002		if eval \${$cacheid+:} false; then :
9003  $as_echo_n "(cached) " >&6
9004else
9005  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9006/* end confdefs.h.  */
9007int i;
9008int
9009main ()
9010{
9011
9012  ;
9013  return 0;
9014}
9015_ACEOF
9016if ac_fn_c_try_link "$LINENO"; then :
9017  eval $cacheid=yes
9018else
9019  eval $cacheid=no
9020fi
9021rm -f core conftest.err conftest.$ac_objext \
9022    conftest$ac_exeext conftest.$ac_ext
9023fi
9024
9025
9026		CFLAGS="$xorg_testset_save_CFLAGS"
9027
9028		eval supported=\$$cacheid
9029		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9030$as_echo "$supported" >&6; }
9031		if test "$supported" = "yes" ; then
9032			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
9033			found="yes"
9034		fi
9035	fi
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051xorg_testset_save_CFLAGS="$CFLAGS"
9052
9053if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9054	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9055	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9056$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9057if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
9058  $as_echo_n "(cached) " >&6
9059else
9060  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9061/* end confdefs.h.  */
9062int i;
9063_ACEOF
9064if ac_fn_c_try_compile "$LINENO"; then :
9065  xorg_cv_cc_flag_unknown_warning_option=yes
9066else
9067  xorg_cv_cc_flag_unknown_warning_option=no
9068fi
9069rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9070fi
9071{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9072$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9073	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9074	CFLAGS="$xorg_testset_save_CFLAGS"
9075fi
9076
9077if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9078	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9079		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9080	fi
9081	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9082	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9083$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9084if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
9085  $as_echo_n "(cached) " >&6
9086else
9087  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9088/* end confdefs.h.  */
9089int i;
9090_ACEOF
9091if ac_fn_c_try_compile "$LINENO"; then :
9092  xorg_cv_cc_flag_unused_command_line_argument=yes
9093else
9094  xorg_cv_cc_flag_unused_command_line_argument=no
9095fi
9096rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9097fi
9098{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9099$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9100	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9101	CFLAGS="$xorg_testset_save_CFLAGS"
9102fi
9103
9104found="no"
9105
9106	if test $found = "no" ; then
9107		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9108			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9109		fi
9110
9111		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9112			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9113		fi
9114
9115		CFLAGS="$CFLAGS -Wsequence-point"
9116
9117		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
9118$as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
9119		cacheid=xorg_cv_cc_flag__Wsequence_point
9120		if eval \${$cacheid+:} false; then :
9121  $as_echo_n "(cached) " >&6
9122else
9123  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9124/* end confdefs.h.  */
9125int i;
9126int
9127main ()
9128{
9129
9130  ;
9131  return 0;
9132}
9133_ACEOF
9134if ac_fn_c_try_link "$LINENO"; then :
9135  eval $cacheid=yes
9136else
9137  eval $cacheid=no
9138fi
9139rm -f core conftest.err conftest.$ac_objext \
9140    conftest$ac_exeext conftest.$ac_ext
9141fi
9142
9143
9144		CFLAGS="$xorg_testset_save_CFLAGS"
9145
9146		eval supported=\$$cacheid
9147		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9148$as_echo "$supported" >&6; }
9149		if test "$supported" = "yes" ; then
9150			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
9151			found="yes"
9152		fi
9153	fi
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169xorg_testset_save_CFLAGS="$CFLAGS"
9170
9171if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9172	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9173	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9174$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9175if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
9176  $as_echo_n "(cached) " >&6
9177else
9178  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9179/* end confdefs.h.  */
9180int i;
9181_ACEOF
9182if ac_fn_c_try_compile "$LINENO"; then :
9183  xorg_cv_cc_flag_unknown_warning_option=yes
9184else
9185  xorg_cv_cc_flag_unknown_warning_option=no
9186fi
9187rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9188fi
9189{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9190$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9191	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9192	CFLAGS="$xorg_testset_save_CFLAGS"
9193fi
9194
9195if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9196	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9197		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9198	fi
9199	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9200	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9201$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9202if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
9203  $as_echo_n "(cached) " >&6
9204else
9205  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9206/* end confdefs.h.  */
9207int i;
9208_ACEOF
9209if ac_fn_c_try_compile "$LINENO"; then :
9210  xorg_cv_cc_flag_unused_command_line_argument=yes
9211else
9212  xorg_cv_cc_flag_unused_command_line_argument=no
9213fi
9214rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9215fi
9216{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9217$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9218	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9219	CFLAGS="$xorg_testset_save_CFLAGS"
9220fi
9221
9222found="no"
9223
9224	if test $found = "no" ; then
9225		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9226			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9227		fi
9228
9229		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9230			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9231		fi
9232
9233		CFLAGS="$CFLAGS -Wreturn-type"
9234
9235		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
9236$as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
9237		cacheid=xorg_cv_cc_flag__Wreturn_type
9238		if eval \${$cacheid+:} false; then :
9239  $as_echo_n "(cached) " >&6
9240else
9241  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9242/* end confdefs.h.  */
9243int i;
9244int
9245main ()
9246{
9247
9248  ;
9249  return 0;
9250}
9251_ACEOF
9252if ac_fn_c_try_link "$LINENO"; then :
9253  eval $cacheid=yes
9254else
9255  eval $cacheid=no
9256fi
9257rm -f core conftest.err conftest.$ac_objext \
9258    conftest$ac_exeext conftest.$ac_ext
9259fi
9260
9261
9262		CFLAGS="$xorg_testset_save_CFLAGS"
9263
9264		eval supported=\$$cacheid
9265		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9266$as_echo "$supported" >&6; }
9267		if test "$supported" = "yes" ; then
9268			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
9269			found="yes"
9270		fi
9271	fi
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287xorg_testset_save_CFLAGS="$CFLAGS"
9288
9289if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9290	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9291	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9292$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9293if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
9294  $as_echo_n "(cached) " >&6
9295else
9296  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9297/* end confdefs.h.  */
9298int i;
9299_ACEOF
9300if ac_fn_c_try_compile "$LINENO"; then :
9301  xorg_cv_cc_flag_unknown_warning_option=yes
9302else
9303  xorg_cv_cc_flag_unknown_warning_option=no
9304fi
9305rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9306fi
9307{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9308$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9309	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9310	CFLAGS="$xorg_testset_save_CFLAGS"
9311fi
9312
9313if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9314	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9315		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9316	fi
9317	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9318	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9319$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9320if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
9321  $as_echo_n "(cached) " >&6
9322else
9323  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9324/* end confdefs.h.  */
9325int i;
9326_ACEOF
9327if ac_fn_c_try_compile "$LINENO"; then :
9328  xorg_cv_cc_flag_unused_command_line_argument=yes
9329else
9330  xorg_cv_cc_flag_unused_command_line_argument=no
9331fi
9332rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9333fi
9334{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9335$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9336	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9337	CFLAGS="$xorg_testset_save_CFLAGS"
9338fi
9339
9340found="no"
9341
9342	if test $found = "no" ; then
9343		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9344			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9345		fi
9346
9347		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9348			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9349		fi
9350
9351		CFLAGS="$CFLAGS -Wtrigraphs"
9352
9353		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
9354$as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
9355		cacheid=xorg_cv_cc_flag__Wtrigraphs
9356		if eval \${$cacheid+:} false; then :
9357  $as_echo_n "(cached) " >&6
9358else
9359  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9360/* end confdefs.h.  */
9361int i;
9362int
9363main ()
9364{
9365
9366  ;
9367  return 0;
9368}
9369_ACEOF
9370if ac_fn_c_try_link "$LINENO"; then :
9371  eval $cacheid=yes
9372else
9373  eval $cacheid=no
9374fi
9375rm -f core conftest.err conftest.$ac_objext \
9376    conftest$ac_exeext conftest.$ac_ext
9377fi
9378
9379
9380		CFLAGS="$xorg_testset_save_CFLAGS"
9381
9382		eval supported=\$$cacheid
9383		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9384$as_echo "$supported" >&6; }
9385		if test "$supported" = "yes" ; then
9386			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
9387			found="yes"
9388		fi
9389	fi
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405xorg_testset_save_CFLAGS="$CFLAGS"
9406
9407if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9408	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9409	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9410$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9411if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
9412  $as_echo_n "(cached) " >&6
9413else
9414  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9415/* end confdefs.h.  */
9416int i;
9417_ACEOF
9418if ac_fn_c_try_compile "$LINENO"; then :
9419  xorg_cv_cc_flag_unknown_warning_option=yes
9420else
9421  xorg_cv_cc_flag_unknown_warning_option=no
9422fi
9423rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9424fi
9425{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9426$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9427	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9428	CFLAGS="$xorg_testset_save_CFLAGS"
9429fi
9430
9431if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9432	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9433		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9434	fi
9435	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9436	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9437$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9438if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
9439  $as_echo_n "(cached) " >&6
9440else
9441  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9442/* end confdefs.h.  */
9443int i;
9444_ACEOF
9445if ac_fn_c_try_compile "$LINENO"; then :
9446  xorg_cv_cc_flag_unused_command_line_argument=yes
9447else
9448  xorg_cv_cc_flag_unused_command_line_argument=no
9449fi
9450rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9451fi
9452{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9453$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9454	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9455	CFLAGS="$xorg_testset_save_CFLAGS"
9456fi
9457
9458found="no"
9459
9460	if test $found = "no" ; then
9461		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9462			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9463		fi
9464
9465		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9466			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9467		fi
9468
9469		CFLAGS="$CFLAGS -Warray-bounds"
9470
9471		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
9472$as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
9473		cacheid=xorg_cv_cc_flag__Warray_bounds
9474		if eval \${$cacheid+:} false; then :
9475  $as_echo_n "(cached) " >&6
9476else
9477  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9478/* end confdefs.h.  */
9479int i;
9480int
9481main ()
9482{
9483
9484  ;
9485  return 0;
9486}
9487_ACEOF
9488if ac_fn_c_try_link "$LINENO"; then :
9489  eval $cacheid=yes
9490else
9491  eval $cacheid=no
9492fi
9493rm -f core conftest.err conftest.$ac_objext \
9494    conftest$ac_exeext conftest.$ac_ext
9495fi
9496
9497
9498		CFLAGS="$xorg_testset_save_CFLAGS"
9499
9500		eval supported=\$$cacheid
9501		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9502$as_echo "$supported" >&6; }
9503		if test "$supported" = "yes" ; then
9504			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
9505			found="yes"
9506		fi
9507	fi
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523xorg_testset_save_CFLAGS="$CFLAGS"
9524
9525if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9526	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9527	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9528$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9529if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
9530  $as_echo_n "(cached) " >&6
9531else
9532  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9533/* end confdefs.h.  */
9534int i;
9535_ACEOF
9536if ac_fn_c_try_compile "$LINENO"; then :
9537  xorg_cv_cc_flag_unknown_warning_option=yes
9538else
9539  xorg_cv_cc_flag_unknown_warning_option=no
9540fi
9541rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9542fi
9543{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9544$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9545	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9546	CFLAGS="$xorg_testset_save_CFLAGS"
9547fi
9548
9549if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9550	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9551		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9552	fi
9553	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9554	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9555$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9556if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
9557  $as_echo_n "(cached) " >&6
9558else
9559  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9560/* end confdefs.h.  */
9561int i;
9562_ACEOF
9563if ac_fn_c_try_compile "$LINENO"; then :
9564  xorg_cv_cc_flag_unused_command_line_argument=yes
9565else
9566  xorg_cv_cc_flag_unused_command_line_argument=no
9567fi
9568rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9569fi
9570{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9571$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9572	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9573	CFLAGS="$xorg_testset_save_CFLAGS"
9574fi
9575
9576found="no"
9577
9578	if test $found = "no" ; then
9579		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9580			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9581		fi
9582
9583		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9584			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9585		fi
9586
9587		CFLAGS="$CFLAGS -Wwrite-strings"
9588
9589		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
9590$as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
9591		cacheid=xorg_cv_cc_flag__Wwrite_strings
9592		if eval \${$cacheid+:} false; then :
9593  $as_echo_n "(cached) " >&6
9594else
9595  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9596/* end confdefs.h.  */
9597int i;
9598int
9599main ()
9600{
9601
9602  ;
9603  return 0;
9604}
9605_ACEOF
9606if ac_fn_c_try_link "$LINENO"; then :
9607  eval $cacheid=yes
9608else
9609  eval $cacheid=no
9610fi
9611rm -f core conftest.err conftest.$ac_objext \
9612    conftest$ac_exeext conftest.$ac_ext
9613fi
9614
9615
9616		CFLAGS="$xorg_testset_save_CFLAGS"
9617
9618		eval supported=\$$cacheid
9619		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9620$as_echo "$supported" >&6; }
9621		if test "$supported" = "yes" ; then
9622			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
9623			found="yes"
9624		fi
9625	fi
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641xorg_testset_save_CFLAGS="$CFLAGS"
9642
9643if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9644	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9645	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9646$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9647if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
9648  $as_echo_n "(cached) " >&6
9649else
9650  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9651/* end confdefs.h.  */
9652int i;
9653_ACEOF
9654if ac_fn_c_try_compile "$LINENO"; then :
9655  xorg_cv_cc_flag_unknown_warning_option=yes
9656else
9657  xorg_cv_cc_flag_unknown_warning_option=no
9658fi
9659rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9660fi
9661{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9662$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9663	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9664	CFLAGS="$xorg_testset_save_CFLAGS"
9665fi
9666
9667if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9668	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9669		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9670	fi
9671	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9672	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9673$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9674if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
9675  $as_echo_n "(cached) " >&6
9676else
9677  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9678/* end confdefs.h.  */
9679int i;
9680_ACEOF
9681if ac_fn_c_try_compile "$LINENO"; then :
9682  xorg_cv_cc_flag_unused_command_line_argument=yes
9683else
9684  xorg_cv_cc_flag_unused_command_line_argument=no
9685fi
9686rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9687fi
9688{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9689$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9690	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9691	CFLAGS="$xorg_testset_save_CFLAGS"
9692fi
9693
9694found="no"
9695
9696	if test $found = "no" ; then
9697		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9698			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9699		fi
9700
9701		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9702			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9703		fi
9704
9705		CFLAGS="$CFLAGS -Waddress"
9706
9707		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
9708$as_echo_n "checking if $CC supports -Waddress... " >&6; }
9709		cacheid=xorg_cv_cc_flag__Waddress
9710		if eval \${$cacheid+:} false; then :
9711  $as_echo_n "(cached) " >&6
9712else
9713  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9714/* end confdefs.h.  */
9715int i;
9716int
9717main ()
9718{
9719
9720  ;
9721  return 0;
9722}
9723_ACEOF
9724if ac_fn_c_try_link "$LINENO"; then :
9725  eval $cacheid=yes
9726else
9727  eval $cacheid=no
9728fi
9729rm -f core conftest.err conftest.$ac_objext \
9730    conftest$ac_exeext conftest.$ac_ext
9731fi
9732
9733
9734		CFLAGS="$xorg_testset_save_CFLAGS"
9735
9736		eval supported=\$$cacheid
9737		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9738$as_echo "$supported" >&6; }
9739		if test "$supported" = "yes" ; then
9740			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
9741			found="yes"
9742		fi
9743	fi
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759xorg_testset_save_CFLAGS="$CFLAGS"
9760
9761if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9762	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9763	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9764$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9765if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
9766  $as_echo_n "(cached) " >&6
9767else
9768  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9769/* end confdefs.h.  */
9770int i;
9771_ACEOF
9772if ac_fn_c_try_compile "$LINENO"; then :
9773  xorg_cv_cc_flag_unknown_warning_option=yes
9774else
9775  xorg_cv_cc_flag_unknown_warning_option=no
9776fi
9777rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9778fi
9779{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9780$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9781	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9782	CFLAGS="$xorg_testset_save_CFLAGS"
9783fi
9784
9785if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9786	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9787		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9788	fi
9789	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9790	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9791$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9792if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
9793  $as_echo_n "(cached) " >&6
9794else
9795  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9796/* end confdefs.h.  */
9797int i;
9798_ACEOF
9799if ac_fn_c_try_compile "$LINENO"; then :
9800  xorg_cv_cc_flag_unused_command_line_argument=yes
9801else
9802  xorg_cv_cc_flag_unused_command_line_argument=no
9803fi
9804rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9805fi
9806{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9807$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9808	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9809	CFLAGS="$xorg_testset_save_CFLAGS"
9810fi
9811
9812found="no"
9813
9814	if test $found = "no" ; then
9815		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9816			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9817		fi
9818
9819		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9820			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9821		fi
9822
9823		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
9824
9825		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
9826$as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
9827		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
9828		if eval \${$cacheid+:} false; then :
9829  $as_echo_n "(cached) " >&6
9830else
9831  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9832/* end confdefs.h.  */
9833int i;
9834int
9835main ()
9836{
9837
9838  ;
9839  return 0;
9840}
9841_ACEOF
9842if ac_fn_c_try_link "$LINENO"; then :
9843  eval $cacheid=yes
9844else
9845  eval $cacheid=no
9846fi
9847rm -f core conftest.err conftest.$ac_objext \
9848    conftest$ac_exeext conftest.$ac_ext
9849fi
9850
9851
9852		CFLAGS="$xorg_testset_save_CFLAGS"
9853
9854		eval supported=\$$cacheid
9855		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9856$as_echo "$supported" >&6; }
9857		if test "$supported" = "yes" ; then
9858			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
9859			found="yes"
9860		fi
9861	fi
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877xorg_testset_save_CFLAGS="$CFLAGS"
9878
9879if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9880	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9881	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9882$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9883if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
9884  $as_echo_n "(cached) " >&6
9885else
9886  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9887/* end confdefs.h.  */
9888int i;
9889_ACEOF
9890if ac_fn_c_try_compile "$LINENO"; then :
9891  xorg_cv_cc_flag_unknown_warning_option=yes
9892else
9893  xorg_cv_cc_flag_unknown_warning_option=no
9894fi
9895rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9896fi
9897{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9898$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9899	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9900	CFLAGS="$xorg_testset_save_CFLAGS"
9901fi
9902
9903if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9904	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9905		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9906	fi
9907	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9908	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9909$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9910if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
9911  $as_echo_n "(cached) " >&6
9912else
9913  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9914/* end confdefs.h.  */
9915int i;
9916_ACEOF
9917if ac_fn_c_try_compile "$LINENO"; then :
9918  xorg_cv_cc_flag_unused_command_line_argument=yes
9919else
9920  xorg_cv_cc_flag_unused_command_line_argument=no
9921fi
9922rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9923fi
9924{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9925$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9926	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9927	CFLAGS="$xorg_testset_save_CFLAGS"
9928fi
9929
9930found="no"
9931
9932	if test $found = "no" ; then
9933		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9934			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9935		fi
9936
9937		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9938			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9939		fi
9940
9941		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
9942
9943		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
9944$as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
9945		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
9946		if eval \${$cacheid+:} false; then :
9947  $as_echo_n "(cached) " >&6
9948else
9949  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9950/* end confdefs.h.  */
9951int i;
9952int
9953main ()
9954{
9955
9956  ;
9957  return 0;
9958}
9959_ACEOF
9960if ac_fn_c_try_link "$LINENO"; then :
9961  eval $cacheid=yes
9962else
9963  eval $cacheid=no
9964fi
9965rm -f core conftest.err conftest.$ac_objext \
9966    conftest$ac_exeext conftest.$ac_ext
9967fi
9968
9969
9970		CFLAGS="$xorg_testset_save_CFLAGS"
9971
9972		eval supported=\$$cacheid
9973		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9974$as_echo "$supported" >&6; }
9975		if test "$supported" = "yes" ; then
9976			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
9977			found="yes"
9978		fi
9979	fi
9980
9981
9982fi
9983
9984
9985
9986
9987
9988
9989
9990		CWARNFLAGS="$BASE_CFLAGS"
9991		if  test "x$GCC" = xyes ; then
9992		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
9993		fi
9994
9995
9996
9997
9998
9999
10000
10001
10002# Check whether --enable-strict-compilation was given.
10003if test "${enable_strict_compilation+set}" = set; then :
10004  enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
10005else
10006  STRICT_COMPILE=no
10007fi
10008
10009
10010
10011
10012
10013
10014STRICT_CFLAGS=""
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028xorg_testset_save_CFLAGS="$CFLAGS"
10029
10030if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
10031	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10032	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
10033$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
10034if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
10035  $as_echo_n "(cached) " >&6
10036else
10037  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10038/* end confdefs.h.  */
10039int i;
10040_ACEOF
10041if ac_fn_c_try_compile "$LINENO"; then :
10042  xorg_cv_cc_flag_unknown_warning_option=yes
10043else
10044  xorg_cv_cc_flag_unknown_warning_option=no
10045fi
10046rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10047fi
10048{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
10049$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
10050	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
10051	CFLAGS="$xorg_testset_save_CFLAGS"
10052fi
10053
10054if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
10055	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10056		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10057	fi
10058	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10059	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
10060$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
10061if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
10062  $as_echo_n "(cached) " >&6
10063else
10064  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10065/* end confdefs.h.  */
10066int i;
10067_ACEOF
10068if ac_fn_c_try_compile "$LINENO"; then :
10069  xorg_cv_cc_flag_unused_command_line_argument=yes
10070else
10071  xorg_cv_cc_flag_unused_command_line_argument=no
10072fi
10073rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10074fi
10075{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
10076$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
10077	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
10078	CFLAGS="$xorg_testset_save_CFLAGS"
10079fi
10080
10081found="no"
10082
10083	if test $found = "no" ; then
10084		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10085			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10086		fi
10087
10088		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
10089			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10090		fi
10091
10092		CFLAGS="$CFLAGS -pedantic"
10093
10094		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
10095$as_echo_n "checking if $CC supports -pedantic... " >&6; }
10096		cacheid=xorg_cv_cc_flag__pedantic
10097		if eval \${$cacheid+:} false; then :
10098  $as_echo_n "(cached) " >&6
10099else
10100  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10101/* end confdefs.h.  */
10102int i;
10103int
10104main ()
10105{
10106
10107  ;
10108  return 0;
10109}
10110_ACEOF
10111if ac_fn_c_try_link "$LINENO"; then :
10112  eval $cacheid=yes
10113else
10114  eval $cacheid=no
10115fi
10116rm -f core conftest.err conftest.$ac_objext \
10117    conftest$ac_exeext conftest.$ac_ext
10118fi
10119
10120
10121		CFLAGS="$xorg_testset_save_CFLAGS"
10122
10123		eval supported=\$$cacheid
10124		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
10125$as_echo "$supported" >&6; }
10126		if test "$supported" = "yes" ; then
10127			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
10128			found="yes"
10129		fi
10130	fi
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146xorg_testset_save_CFLAGS="$CFLAGS"
10147
10148if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
10149	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10150	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
10151$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
10152if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
10153  $as_echo_n "(cached) " >&6
10154else
10155  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10156/* end confdefs.h.  */
10157int i;
10158_ACEOF
10159if ac_fn_c_try_compile "$LINENO"; then :
10160  xorg_cv_cc_flag_unknown_warning_option=yes
10161else
10162  xorg_cv_cc_flag_unknown_warning_option=no
10163fi
10164rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10165fi
10166{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
10167$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
10168	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
10169	CFLAGS="$xorg_testset_save_CFLAGS"
10170fi
10171
10172if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
10173	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10174		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10175	fi
10176	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10177	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
10178$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
10179if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
10180  $as_echo_n "(cached) " >&6
10181else
10182  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10183/* end confdefs.h.  */
10184int i;
10185_ACEOF
10186if ac_fn_c_try_compile "$LINENO"; then :
10187  xorg_cv_cc_flag_unused_command_line_argument=yes
10188else
10189  xorg_cv_cc_flag_unused_command_line_argument=no
10190fi
10191rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10192fi
10193{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
10194$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
10195	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
10196	CFLAGS="$xorg_testset_save_CFLAGS"
10197fi
10198
10199found="no"
10200
10201	if test $found = "no" ; then
10202		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10203			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10204		fi
10205
10206		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
10207			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10208		fi
10209
10210		CFLAGS="$CFLAGS -Werror"
10211
10212		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
10213$as_echo_n "checking if $CC supports -Werror... " >&6; }
10214		cacheid=xorg_cv_cc_flag__Werror
10215		if eval \${$cacheid+:} false; then :
10216  $as_echo_n "(cached) " >&6
10217else
10218  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10219/* end confdefs.h.  */
10220int i;
10221int
10222main ()
10223{
10224
10225  ;
10226  return 0;
10227}
10228_ACEOF
10229if ac_fn_c_try_link "$LINENO"; then :
10230  eval $cacheid=yes
10231else
10232  eval $cacheid=no
10233fi
10234rm -f core conftest.err conftest.$ac_objext \
10235    conftest$ac_exeext conftest.$ac_ext
10236fi
10237
10238
10239		CFLAGS="$xorg_testset_save_CFLAGS"
10240
10241		eval supported=\$$cacheid
10242		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
10243$as_echo "$supported" >&6; }
10244		if test "$supported" = "yes" ; then
10245			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
10246			found="yes"
10247		fi
10248	fi
10249
10250	if test $found = "no" ; then
10251		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10252			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10253		fi
10254
10255		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
10256			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10257		fi
10258
10259		CFLAGS="$CFLAGS -errwarn"
10260
10261		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
10262$as_echo_n "checking if $CC supports -errwarn... " >&6; }
10263		cacheid=xorg_cv_cc_flag__errwarn
10264		if eval \${$cacheid+:} false; then :
10265  $as_echo_n "(cached) " >&6
10266else
10267  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10268/* end confdefs.h.  */
10269int i;
10270int
10271main ()
10272{
10273
10274  ;
10275  return 0;
10276}
10277_ACEOF
10278if ac_fn_c_try_link "$LINENO"; then :
10279  eval $cacheid=yes
10280else
10281  eval $cacheid=no
10282fi
10283rm -f core conftest.err conftest.$ac_objext \
10284    conftest$ac_exeext conftest.$ac_ext
10285fi
10286
10287
10288		CFLAGS="$xorg_testset_save_CFLAGS"
10289
10290		eval supported=\$$cacheid
10291		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
10292$as_echo "$supported" >&6; }
10293		if test "$supported" = "yes" ; then
10294			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
10295			found="yes"
10296		fi
10297	fi
10298
10299
10300
10301# Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
10302# activate it with -Werror, so we add it here explicitly.
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316xorg_testset_save_CFLAGS="$CFLAGS"
10317
10318if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
10319	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10320	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
10321$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
10322if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
10323  $as_echo_n "(cached) " >&6
10324else
10325  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10326/* end confdefs.h.  */
10327int i;
10328_ACEOF
10329if ac_fn_c_try_compile "$LINENO"; then :
10330  xorg_cv_cc_flag_unknown_warning_option=yes
10331else
10332  xorg_cv_cc_flag_unknown_warning_option=no
10333fi
10334rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10335fi
10336{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
10337$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
10338	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
10339	CFLAGS="$xorg_testset_save_CFLAGS"
10340fi
10341
10342if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
10343	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10344		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10345	fi
10346	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10347	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
10348$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
10349if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
10350  $as_echo_n "(cached) " >&6
10351else
10352  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10353/* end confdefs.h.  */
10354int i;
10355_ACEOF
10356if ac_fn_c_try_compile "$LINENO"; then :
10357  xorg_cv_cc_flag_unused_command_line_argument=yes
10358else
10359  xorg_cv_cc_flag_unused_command_line_argument=no
10360fi
10361rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10362fi
10363{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
10364$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
10365	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
10366	CFLAGS="$xorg_testset_save_CFLAGS"
10367fi
10368
10369found="no"
10370
10371	if test $found = "no" ; then
10372		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10373			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10374		fi
10375
10376		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
10377			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10378		fi
10379
10380		CFLAGS="$CFLAGS -Werror=attributes"
10381
10382		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
10383$as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
10384		cacheid=xorg_cv_cc_flag__Werror_attributes
10385		if eval \${$cacheid+:} false; then :
10386  $as_echo_n "(cached) " >&6
10387else
10388  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10389/* end confdefs.h.  */
10390int i;
10391int
10392main ()
10393{
10394
10395  ;
10396  return 0;
10397}
10398_ACEOF
10399if ac_fn_c_try_link "$LINENO"; then :
10400  eval $cacheid=yes
10401else
10402  eval $cacheid=no
10403fi
10404rm -f core conftest.err conftest.$ac_objext \
10405    conftest$ac_exeext conftest.$ac_ext
10406fi
10407
10408
10409		CFLAGS="$xorg_testset_save_CFLAGS"
10410
10411		eval supported=\$$cacheid
10412		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
10413$as_echo "$supported" >&6; }
10414		if test "$supported" = "yes" ; then
10415			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
10416			found="yes"
10417		fi
10418	fi
10419
10420
10421
10422if test "x$STRICT_COMPILE" = "xyes"; then
10423    BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
10424    CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
10425fi
10426
10427
10428
10429
10430
10431
10432cat >>confdefs.h <<_ACEOF
10433#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
10434_ACEOF
10435
10436	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
10437	if test "x$PVM" = "x"; then
10438		PVM="0"
10439	fi
10440
10441cat >>confdefs.h <<_ACEOF
10442#define PACKAGE_VERSION_MINOR $PVM
10443_ACEOF
10444
10445	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
10446	if test "x$PVP" = "x"; then
10447		PVP="0"
10448	fi
10449
10450cat >>confdefs.h <<_ACEOF
10451#define PACKAGE_VERSION_PATCHLEVEL $PVP
10452_ACEOF
10453
10454
10455
10456CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
10457mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
10458|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
10459echo 'git directory not found: installing possibly empty changelog.' >&2)"
10460
10461
10462
10463
10464macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
10465INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
10466mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
10467|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
10468echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
10469
10470
10471
10472
10473
10474
10475if test x$APP_MAN_SUFFIX = x    ; then
10476    APP_MAN_SUFFIX=1
10477fi
10478if test x$APP_MAN_DIR = x    ; then
10479    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
10480fi
10481
10482if test x$LIB_MAN_SUFFIX = x    ; then
10483    LIB_MAN_SUFFIX=3
10484fi
10485if test x$LIB_MAN_DIR = x    ; then
10486    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
10487fi
10488
10489if test x$FILE_MAN_SUFFIX = x    ; then
10490    case $host_os in
10491	# Solaris 2.0 - 11 use SysV man page sections
10492	solaris2.?|solaris2.1[01])	FILE_MAN_SUFFIX=4  ;;
10493	*)				FILE_MAN_SUFFIX=5  ;;
10494    esac
10495fi
10496if test x$FILE_MAN_DIR = x    ; then
10497    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
10498fi
10499
10500if test x$MISC_MAN_SUFFIX = x    ; then
10501    case $host_os in
10502	# Solaris 2.0 - 11 use SysV man page sections
10503	solaris2.?|solaris2.1[01])	MISC_MAN_SUFFIX=5  ;;
10504	*)				MISC_MAN_SUFFIX=7  ;;
10505    esac
10506fi
10507if test x$MISC_MAN_DIR = x    ; then
10508    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
10509fi
10510
10511if test x$DRIVER_MAN_SUFFIX = x    ; then
10512    case $host_os in
10513	# Solaris 2.0 - 11 use SysV man page sections
10514	solaris2.?|solaris2.1[01])	DRIVER_MAN_SUFFIX=7  ;;
10515	*)				DRIVER_MAN_SUFFIX=4  ;;
10516    esac
10517fi
10518if test x$DRIVER_MAN_DIR = x    ; then
10519    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
10520fi
10521
10522if test x$ADMIN_MAN_SUFFIX = x    ; then
10523    case $host_os in
10524	# Solaris 2.0 - 11 use SysV man page sections
10525	solaris2.?|solaris2.1[01])	ADMIN_MAN_SUFFIX=1m ;;
10526	*)				ADMIN_MAN_SUFFIX=8  ;;
10527    esac
10528fi
10529if test x$ADMIN_MAN_DIR = x    ; then
10530    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
10531fi
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547XORG_MAN_PAGE="X Version 11"
10548
10549MAN_SUBSTS="\
10550	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
10551	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
10552	-e 's|__xservername__|Xorg|g' \
10553	-e 's|__xconfigfile__|xorg.conf|g' \
10554	-e 's|__projectroot__|\$(prefix)|g' \
10555	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
10556	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
10557	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
10558	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
10559	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
10560	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
10561	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
10562
10563
10564
10565# Check whether --enable-silent-rules was given.
10566if test "${enable_silent_rules+set}" = set; then :
10567  enableval=$enable_silent_rules;
10568fi
10569
10570case $enable_silent_rules in # (((
10571  yes) AM_DEFAULT_VERBOSITY=0;;
10572   no) AM_DEFAULT_VERBOSITY=1;;
10573    *) AM_DEFAULT_VERBOSITY=0;;
10574esac
10575am_make=${MAKE-make}
10576{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
10577$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
10578if ${am_cv_make_support_nested_variables+:} false; then :
10579  $as_echo_n "(cached) " >&6
10580else
10581  if $as_echo 'TRUE=$(BAR$(V))
10582BAR0=false
10583BAR1=true
10584V=1
10585am__doit:
10586	@$(TRUE)
10587.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
10588  am_cv_make_support_nested_variables=yes
10589else
10590  am_cv_make_support_nested_variables=no
10591fi
10592fi
10593{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
10594$as_echo "$am_cv_make_support_nested_variables" >&6; }
10595if test $am_cv_make_support_nested_variables = yes; then
10596    AM_V='$(V)'
10597  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
10598else
10599  AM_V=$AM_DEFAULT_VERBOSITY
10600  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
10601fi
10602AM_BACKSLASH='\'
10603
10604
10605
10606# Obtain compiler/linker options for the transset dependencies
10607
10608pkg_failed=no
10609{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TRANSSET" >&5
10610$as_echo_n "checking for TRANSSET... " >&6; }
10611
10612if test -n "$TRANSSET_CFLAGS"; then
10613    pkg_cv_TRANSSET_CFLAGS="$TRANSSET_CFLAGS"
10614 elif test -n "$PKG_CONFIG"; then
10615    if test -n "$PKG_CONFIG" && \
10616    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xproto >= 7.0.17\""; } >&5
10617  ($PKG_CONFIG --exists --print-errors "x11 xproto >= 7.0.17") 2>&5
10618  ac_status=$?
10619  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10620  test $ac_status = 0; }; then
10621  pkg_cv_TRANSSET_CFLAGS=`$PKG_CONFIG --cflags "x11 xproto >= 7.0.17" 2>/dev/null`
10622		      test "x$?" != "x0" && pkg_failed=yes
10623else
10624  pkg_failed=yes
10625fi
10626 else
10627    pkg_failed=untried
10628fi
10629if test -n "$TRANSSET_LIBS"; then
10630    pkg_cv_TRANSSET_LIBS="$TRANSSET_LIBS"
10631 elif test -n "$PKG_CONFIG"; then
10632    if test -n "$PKG_CONFIG" && \
10633    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xproto >= 7.0.17\""; } >&5
10634  ($PKG_CONFIG --exists --print-errors "x11 xproto >= 7.0.17") 2>&5
10635  ac_status=$?
10636  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10637  test $ac_status = 0; }; then
10638  pkg_cv_TRANSSET_LIBS=`$PKG_CONFIG --libs "x11 xproto >= 7.0.17" 2>/dev/null`
10639		      test "x$?" != "x0" && pkg_failed=yes
10640else
10641  pkg_failed=yes
10642fi
10643 else
10644    pkg_failed=untried
10645fi
10646
10647
10648
10649if test $pkg_failed = yes; then
10650   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10651$as_echo "no" >&6; }
10652
10653if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10654        _pkg_short_errors_supported=yes
10655else
10656        _pkg_short_errors_supported=no
10657fi
10658        if test $_pkg_short_errors_supported = yes; then
10659	        TRANSSET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 xproto >= 7.0.17" 2>&1`
10660        else
10661	        TRANSSET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 xproto >= 7.0.17" 2>&1`
10662        fi
10663	# Put the nasty error message in config.log where it belongs
10664	echo "$TRANSSET_PKG_ERRORS" >&5
10665
10666	as_fn_error $? "Package requirements (x11 xproto >= 7.0.17) were not met:
10667
10668$TRANSSET_PKG_ERRORS
10669
10670Consider adjusting the PKG_CONFIG_PATH environment variable if you
10671installed software in a non-standard prefix.
10672
10673Alternatively, you may set the environment variables TRANSSET_CFLAGS
10674and TRANSSET_LIBS to avoid the need to call pkg-config.
10675See the pkg-config man page for more details." "$LINENO" 5
10676elif test $pkg_failed = untried; then
10677     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10678$as_echo "no" >&6; }
10679	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10680$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10681as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
10682is in your PATH or set the PKG_CONFIG environment variable to the full
10683path to pkg-config.
10684
10685Alternatively, you may set the environment variables TRANSSET_CFLAGS
10686and TRANSSET_LIBS to avoid the need to call pkg-config.
10687See the pkg-config man page for more details.
10688
10689To get pkg-config, see <http://pkg-config.freedesktop.org/>.
10690See \`config.log' for more details" "$LINENO" 5; }
10691else
10692	TRANSSET_CFLAGS=$pkg_cv_TRANSSET_CFLAGS
10693	TRANSSET_LIBS=$pkg_cv_TRANSSET_LIBS
10694        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10695$as_echo "yes" >&6; }
10696
10697fi
10698
10699
10700cat >>confdefs.h <<_ACEOF
10701#define RELEASE_DATE "$RELEASE_DATE"
10702_ACEOF
10703
10704
10705ac_config_files="$ac_config_files Makefile man/Makefile"
10706
10707cat >confcache <<\_ACEOF
10708# This file is a shell script that caches the results of configure
10709# tests run on this system so they can be shared between configure
10710# scripts and configure runs, see configure's option --config-cache.
10711# It is not useful on other systems.  If it contains results you don't
10712# want to keep, you may remove or edit it.
10713#
10714# config.status only pays attention to the cache file if you give it
10715# the --recheck option to rerun configure.
10716#
10717# `ac_cv_env_foo' variables (set or unset) will be overridden when
10718# loading this file, other *unset* `ac_cv_foo' will be assigned the
10719# following values.
10720
10721_ACEOF
10722
10723# The following way of writing the cache mishandles newlines in values,
10724# but we know of no workaround that is simple, portable, and efficient.
10725# So, we kill variables containing newlines.
10726# Ultrix sh set writes to stderr and can't be redirected directly,
10727# and sets the high bit in the cache file unless we assign to the vars.
10728(
10729  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
10730    eval ac_val=\$$ac_var
10731    case $ac_val in #(
10732    *${as_nl}*)
10733      case $ac_var in #(
10734      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
10735$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
10736      esac
10737      case $ac_var in #(
10738      _ | IFS | as_nl) ;; #(
10739      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
10740      *) { eval $ac_var=; unset $ac_var;} ;;
10741      esac ;;
10742    esac
10743  done
10744
10745  (set) 2>&1 |
10746    case $as_nl`(ac_space=' '; set) 2>&1` in #(
10747    *${as_nl}ac_space=\ *)
10748      # `set' does not quote correctly, so add quotes: double-quote
10749      # substitution turns \\\\ into \\, and sed turns \\ into \.
10750      sed -n \
10751	"s/'/'\\\\''/g;
10752	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10753      ;; #(
10754    *)
10755      # `set' quotes correctly as required by POSIX, so do not add quotes.
10756      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
10757      ;;
10758    esac |
10759    sort
10760) |
10761  sed '
10762     /^ac_cv_env_/b end
10763     t clear
10764     :clear
10765     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10766     t end
10767     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10768     :end' >>confcache
10769if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
10770  if test -w "$cache_file"; then
10771    if test "x$cache_file" != "x/dev/null"; then
10772      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
10773$as_echo "$as_me: updating cache $cache_file" >&6;}
10774      if test ! -f "$cache_file" || test -h "$cache_file"; then
10775	cat confcache >"$cache_file"
10776      else
10777        case $cache_file in #(
10778        */* | ?:*)
10779	  mv -f confcache "$cache_file"$$ &&
10780	  mv -f "$cache_file"$$ "$cache_file" ;; #(
10781        *)
10782	  mv -f confcache "$cache_file" ;;
10783	esac
10784      fi
10785    fi
10786  else
10787    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
10788$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
10789  fi
10790fi
10791rm -f confcache
10792
10793test "x$prefix" = xNONE && prefix=$ac_default_prefix
10794# Let make expand exec_prefix.
10795test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
10796
10797DEFS=-DHAVE_CONFIG_H
10798
10799ac_libobjs=
10800ac_ltlibobjs=
10801U=
10802for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
10803  # 1. Remove the extension, and $U if already installed.
10804  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
10805  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
10806  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
10807  #    will be set to the directory where LIBOBJS objects are built.
10808  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
10809  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
10810done
10811LIBOBJS=$ac_libobjs
10812
10813LTLIBOBJS=$ac_ltlibobjs
10814
10815
10816{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
10817$as_echo_n "checking that generated files are newer than configure... " >&6; }
10818   if test -n "$am_sleep_pid"; then
10819     # Hide warnings about reused PIDs.
10820     wait $am_sleep_pid 2>/dev/null
10821   fi
10822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
10823$as_echo "done" >&6; }
10824 if test -n "$EXEEXT"; then
10825  am__EXEEXT_TRUE=
10826  am__EXEEXT_FALSE='#'
10827else
10828  am__EXEEXT_TRUE='#'
10829  am__EXEEXT_FALSE=
10830fi
10831
10832if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
10833  as_fn_error $? "conditional \"AMDEP\" was never defined.
10834Usually this means the macro was only invoked conditionally." "$LINENO" 5
10835fi
10836if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
10837  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
10838Usually this means the macro was only invoked conditionally." "$LINENO" 5
10839fi
10840
10841: "${CONFIG_STATUS=./config.status}"
10842ac_write_fail=0
10843ac_clean_files_save=$ac_clean_files
10844ac_clean_files="$ac_clean_files $CONFIG_STATUS"
10845{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
10846$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
10847as_write_fail=0
10848cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
10849#! $SHELL
10850# Generated by $as_me.
10851# Run this file to recreate the current configuration.
10852# Compiler output produced by configure, useful for debugging
10853# configure, is in config.log if it exists.
10854
10855debug=false
10856ac_cs_recheck=false
10857ac_cs_silent=false
10858
10859SHELL=\${CONFIG_SHELL-$SHELL}
10860export SHELL
10861_ASEOF
10862cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
10863## -------------------- ##
10864## M4sh Initialization. ##
10865## -------------------- ##
10866
10867# Be more Bourne compatible
10868DUALCASE=1; export DUALCASE # for MKS sh
10869if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
10870  emulate sh
10871  NULLCMD=:
10872  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
10873  # is contrary to our usage.  Disable this feature.
10874  alias -g '${1+"$@"}'='"$@"'
10875  setopt NO_GLOB_SUBST
10876else
10877  case `(set -o) 2>/dev/null` in #(
10878  *posix*) :
10879    set -o posix ;; #(
10880  *) :
10881     ;;
10882esac
10883fi
10884
10885
10886as_nl='
10887'
10888export as_nl
10889# Printing a long string crashes Solaris 7 /usr/bin/printf.
10890as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
10891as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
10892as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
10893# Prefer a ksh shell builtin over an external printf program on Solaris,
10894# but without wasting forks for bash or zsh.
10895if test -z "$BASH_VERSION$ZSH_VERSION" \
10896    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
10897  as_echo='print -r --'
10898  as_echo_n='print -rn --'
10899elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
10900  as_echo='printf %s\n'
10901  as_echo_n='printf %s'
10902else
10903  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
10904    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
10905    as_echo_n='/usr/ucb/echo -n'
10906  else
10907    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
10908    as_echo_n_body='eval
10909      arg=$1;
10910      case $arg in #(
10911      *"$as_nl"*)
10912	expr "X$arg" : "X\\(.*\\)$as_nl";
10913	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
10914      esac;
10915      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
10916    '
10917    export as_echo_n_body
10918    as_echo_n='sh -c $as_echo_n_body as_echo'
10919  fi
10920  export as_echo_body
10921  as_echo='sh -c $as_echo_body as_echo'
10922fi
10923
10924# The user is always right.
10925if test "${PATH_SEPARATOR+set}" != set; then
10926  PATH_SEPARATOR=:
10927  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
10928    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
10929      PATH_SEPARATOR=';'
10930  }
10931fi
10932
10933
10934# IFS
10935# We need space, tab and new line, in precisely that order.  Quoting is
10936# there to prevent editors from complaining about space-tab.
10937# (If _AS_PATH_WALK were called with IFS unset, it would disable word
10938# splitting by setting IFS to empty value.)
10939IFS=" ""	$as_nl"
10940
10941# Find who we are.  Look in the path if we contain no directory separator.
10942as_myself=
10943case $0 in #((
10944  *[\\/]* ) as_myself=$0 ;;
10945  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10946for as_dir in $PATH
10947do
10948  IFS=$as_save_IFS
10949  test -z "$as_dir" && as_dir=.
10950    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10951  done
10952IFS=$as_save_IFS
10953
10954     ;;
10955esac
10956# We did not find ourselves, most probably we were run as `sh COMMAND'
10957# in which case we are not to be found in the path.
10958if test "x$as_myself" = x; then
10959  as_myself=$0
10960fi
10961if test ! -f "$as_myself"; then
10962  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
10963  exit 1
10964fi
10965
10966# Unset variables that we do not need and which cause bugs (e.g. in
10967# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
10968# suppresses any "Segmentation fault" message there.  '((' could
10969# trigger a bug in pdksh 5.2.14.
10970for as_var in BASH_ENV ENV MAIL MAILPATH
10971do eval test x\${$as_var+set} = xset \
10972  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
10973done
10974PS1='$ '
10975PS2='> '
10976PS4='+ '
10977
10978# NLS nuisances.
10979LC_ALL=C
10980export LC_ALL
10981LANGUAGE=C
10982export LANGUAGE
10983
10984# CDPATH.
10985(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10986
10987
10988# as_fn_error STATUS ERROR [LINENO LOG_FD]
10989# ----------------------------------------
10990# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
10991# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
10992# script with STATUS, using 1 if that was 0.
10993as_fn_error ()
10994{
10995  as_status=$1; test $as_status -eq 0 && as_status=1
10996  if test "$4"; then
10997    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
10998    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
10999  fi
11000  $as_echo "$as_me: error: $2" >&2
11001  as_fn_exit $as_status
11002} # as_fn_error
11003
11004
11005# as_fn_set_status STATUS
11006# -----------------------
11007# Set $? to STATUS, without forking.
11008as_fn_set_status ()
11009{
11010  return $1
11011} # as_fn_set_status
11012
11013# as_fn_exit STATUS
11014# -----------------
11015# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11016as_fn_exit ()
11017{
11018  set +e
11019  as_fn_set_status $1
11020  exit $1
11021} # as_fn_exit
11022
11023# as_fn_unset VAR
11024# ---------------
11025# Portably unset VAR.
11026as_fn_unset ()
11027{
11028  { eval $1=; unset $1;}
11029}
11030as_unset=as_fn_unset
11031# as_fn_append VAR VALUE
11032# ----------------------
11033# Append the text in VALUE to the end of the definition contained in VAR. Take
11034# advantage of any shell optimizations that allow amortized linear growth over
11035# repeated appends, instead of the typical quadratic growth present in naive
11036# implementations.
11037if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
11038  eval 'as_fn_append ()
11039  {
11040    eval $1+=\$2
11041  }'
11042else
11043  as_fn_append ()
11044  {
11045    eval $1=\$$1\$2
11046  }
11047fi # as_fn_append
11048
11049# as_fn_arith ARG...
11050# ------------------
11051# Perform arithmetic evaluation on the ARGs, and store the result in the
11052# global $as_val. Take advantage of shells that can avoid forks. The arguments
11053# must be portable across $(()) and expr.
11054if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
11055  eval 'as_fn_arith ()
11056  {
11057    as_val=$(( $* ))
11058  }'
11059else
11060  as_fn_arith ()
11061  {
11062    as_val=`expr "$@" || test $? -eq 1`
11063  }
11064fi # as_fn_arith
11065
11066
11067if expr a : '\(a\)' >/dev/null 2>&1 &&
11068   test "X`expr 00001 : '.*\(...\)'`" = X001; then
11069  as_expr=expr
11070else
11071  as_expr=false
11072fi
11073
11074if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11075  as_basename=basename
11076else
11077  as_basename=false
11078fi
11079
11080if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11081  as_dirname=dirname
11082else
11083  as_dirname=false
11084fi
11085
11086as_me=`$as_basename -- "$0" ||
11087$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11088	 X"$0" : 'X\(//\)$' \| \
11089	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11090$as_echo X/"$0" |
11091    sed '/^.*\/\([^/][^/]*\)\/*$/{
11092	    s//\1/
11093	    q
11094	  }
11095	  /^X\/\(\/\/\)$/{
11096	    s//\1/
11097	    q
11098	  }
11099	  /^X\/\(\/\).*/{
11100	    s//\1/
11101	    q
11102	  }
11103	  s/.*/./; q'`
11104
11105# Avoid depending upon Character Ranges.
11106as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11107as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11108as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11109as_cr_digits='0123456789'
11110as_cr_alnum=$as_cr_Letters$as_cr_digits
11111
11112ECHO_C= ECHO_N= ECHO_T=
11113case `echo -n x` in #(((((
11114-n*)
11115  case `echo 'xy\c'` in
11116  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
11117  xy)  ECHO_C='\c';;
11118  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
11119       ECHO_T='	';;
11120  esac;;
11121*)
11122  ECHO_N='-n';;
11123esac
11124
11125rm -f conf$$ conf$$.exe conf$$.file
11126if test -d conf$$.dir; then
11127  rm -f conf$$.dir/conf$$.file
11128else
11129  rm -f conf$$.dir
11130  mkdir conf$$.dir 2>/dev/null
11131fi
11132if (echo >conf$$.file) 2>/dev/null; then
11133  if ln -s conf$$.file conf$$ 2>/dev/null; then
11134    as_ln_s='ln -s'
11135    # ... but there are two gotchas:
11136    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11137    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11138    # In both cases, we have to default to `cp -pR'.
11139    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
11140      as_ln_s='cp -pR'
11141  elif ln conf$$.file conf$$ 2>/dev/null; then
11142    as_ln_s=ln
11143  else
11144    as_ln_s='cp -pR'
11145  fi
11146else
11147  as_ln_s='cp -pR'
11148fi
11149rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
11150rmdir conf$$.dir 2>/dev/null
11151
11152
11153# as_fn_mkdir_p
11154# -------------
11155# Create "$as_dir" as a directory, including parents if necessary.
11156as_fn_mkdir_p ()
11157{
11158
11159  case $as_dir in #(
11160  -*) as_dir=./$as_dir;;
11161  esac
11162  test -d "$as_dir" || eval $as_mkdir_p || {
11163    as_dirs=
11164    while :; do
11165      case $as_dir in #(
11166      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11167      *) as_qdir=$as_dir;;
11168      esac
11169      as_dirs="'$as_qdir' $as_dirs"
11170      as_dir=`$as_dirname -- "$as_dir" ||
11171$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11172	 X"$as_dir" : 'X\(//\)[^/]' \| \
11173	 X"$as_dir" : 'X\(//\)$' \| \
11174	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11175$as_echo X"$as_dir" |
11176    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11177	    s//\1/
11178	    q
11179	  }
11180	  /^X\(\/\/\)[^/].*/{
11181	    s//\1/
11182	    q
11183	  }
11184	  /^X\(\/\/\)$/{
11185	    s//\1/
11186	    q
11187	  }
11188	  /^X\(\/\).*/{
11189	    s//\1/
11190	    q
11191	  }
11192	  s/.*/./; q'`
11193      test -d "$as_dir" && break
11194    done
11195    test -z "$as_dirs" || eval "mkdir $as_dirs"
11196  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
11197
11198
11199} # as_fn_mkdir_p
11200if mkdir -p . 2>/dev/null; then
11201  as_mkdir_p='mkdir -p "$as_dir"'
11202else
11203  test -d ./-p && rmdir ./-p
11204  as_mkdir_p=false
11205fi
11206
11207
11208# as_fn_executable_p FILE
11209# -----------------------
11210# Test if FILE is an executable regular file.
11211as_fn_executable_p ()
11212{
11213  test -f "$1" && test -x "$1"
11214} # as_fn_executable_p
11215as_test_x='test -x'
11216as_executable_p=as_fn_executable_p
11217
11218# Sed expression to map a string onto a valid CPP name.
11219as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11220
11221# Sed expression to map a string onto a valid variable name.
11222as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11223
11224
11225exec 6>&1
11226## ----------------------------------- ##
11227## Main body of $CONFIG_STATUS script. ##
11228## ----------------------------------- ##
11229_ASEOF
11230test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
11231
11232cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11233# Save the log message, to keep $0 and so on meaningful, and to
11234# report actual input values of CONFIG_FILES etc. instead of their
11235# values after options handling.
11236ac_log="
11237This file was extended by transset $as_me 1.0.2, which was
11238generated by GNU Autoconf 2.69.  Invocation command line was
11239
11240  CONFIG_FILES    = $CONFIG_FILES
11241  CONFIG_HEADERS  = $CONFIG_HEADERS
11242  CONFIG_LINKS    = $CONFIG_LINKS
11243  CONFIG_COMMANDS = $CONFIG_COMMANDS
11244  $ $0 $@
11245
11246on `(hostname || uname -n) 2>/dev/null | sed 1q`
11247"
11248
11249_ACEOF
11250
11251case $ac_config_files in *"
11252"*) set x $ac_config_files; shift; ac_config_files=$*;;
11253esac
11254
11255case $ac_config_headers in *"
11256"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
11257esac
11258
11259
11260cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11261# Files that config.status was made for.
11262config_files="$ac_config_files"
11263config_headers="$ac_config_headers"
11264config_commands="$ac_config_commands"
11265
11266_ACEOF
11267
11268cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11269ac_cs_usage="\
11270\`$as_me' instantiates files and other configuration actions
11271from templates according to the current configuration.  Unless the files
11272and actions are specified as TAGs, all are instantiated by default.
11273
11274Usage: $0 [OPTION]... [TAG]...
11275
11276  -h, --help       print this help, then exit
11277  -V, --version    print version number and configuration settings, then exit
11278      --config     print configuration, then exit
11279  -q, --quiet, --silent
11280                   do not print progress messages
11281  -d, --debug      don't remove temporary files
11282      --recheck    update $as_me by reconfiguring in the same conditions
11283      --file=FILE[:TEMPLATE]
11284                   instantiate the configuration file FILE
11285      --header=FILE[:TEMPLATE]
11286                   instantiate the configuration header FILE
11287
11288Configuration files:
11289$config_files
11290
11291Configuration headers:
11292$config_headers
11293
11294Configuration commands:
11295$config_commands
11296
11297Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
11298
11299_ACEOF
11300cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11301ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
11302ac_cs_version="\\
11303transset config.status 1.0.2
11304configured by $0, generated by GNU Autoconf 2.69,
11305  with options \\"\$ac_cs_config\\"
11306
11307Copyright (C) 2012 Free Software Foundation, Inc.
11308This config.status script is free software; the Free Software Foundation
11309gives unlimited permission to copy, distribute and modify it."
11310
11311ac_pwd='$ac_pwd'
11312srcdir='$srcdir'
11313INSTALL='$INSTALL'
11314MKDIR_P='$MKDIR_P'
11315AWK='$AWK'
11316test -n "\$AWK" || AWK=awk
11317_ACEOF
11318
11319cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11320# The default lists apply if the user does not specify any file.
11321ac_need_defaults=:
11322while test $# != 0
11323do
11324  case $1 in
11325  --*=?*)
11326    ac_option=`expr "X$1" : 'X\([^=]*\)='`
11327    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
11328    ac_shift=:
11329    ;;
11330  --*=)
11331    ac_option=`expr "X$1" : 'X\([^=]*\)='`
11332    ac_optarg=
11333    ac_shift=:
11334    ;;
11335  *)
11336    ac_option=$1
11337    ac_optarg=$2
11338    ac_shift=shift
11339    ;;
11340  esac
11341
11342  case $ac_option in
11343  # Handling of the options.
11344  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11345    ac_cs_recheck=: ;;
11346  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
11347    $as_echo "$ac_cs_version"; exit ;;
11348  --config | --confi | --conf | --con | --co | --c )
11349    $as_echo "$ac_cs_config"; exit ;;
11350  --debug | --debu | --deb | --de | --d | -d )
11351    debug=: ;;
11352  --file | --fil | --fi | --f )
11353    $ac_shift
11354    case $ac_optarg in
11355    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11356    '') as_fn_error $? "missing file argument" ;;
11357    esac
11358    as_fn_append CONFIG_FILES " '$ac_optarg'"
11359    ac_need_defaults=false;;
11360  --header | --heade | --head | --hea )
11361    $ac_shift
11362    case $ac_optarg in
11363    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11364    esac
11365    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
11366    ac_need_defaults=false;;
11367  --he | --h)
11368    # Conflict between --help and --header
11369    as_fn_error $? "ambiguous option: \`$1'
11370Try \`$0 --help' for more information.";;
11371  --help | --hel | -h )
11372    $as_echo "$ac_cs_usage"; exit ;;
11373  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11374  | -silent | --silent | --silen | --sile | --sil | --si | --s)
11375    ac_cs_silent=: ;;
11376
11377  # This is an error.
11378  -*) as_fn_error $? "unrecognized option: \`$1'
11379Try \`$0 --help' for more information." ;;
11380
11381  *) as_fn_append ac_config_targets " $1"
11382     ac_need_defaults=false ;;
11383
11384  esac
11385  shift
11386done
11387
11388ac_configure_extra_args=
11389
11390if $ac_cs_silent; then
11391  exec 6>/dev/null
11392  ac_configure_extra_args="$ac_configure_extra_args --silent"
11393fi
11394
11395_ACEOF
11396cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11397if \$ac_cs_recheck; then
11398  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11399  shift
11400  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
11401  CONFIG_SHELL='$SHELL'
11402  export CONFIG_SHELL
11403  exec "\$@"
11404fi
11405
11406_ACEOF
11407cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11408exec 5>>config.log
11409{
11410  echo
11411  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11412## Running $as_me. ##
11413_ASBOX
11414  $as_echo "$ac_log"
11415} >&5
11416
11417_ACEOF
11418cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11419#
11420# INIT-COMMANDS
11421#
11422AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
11423
11424_ACEOF
11425
11426cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11427
11428# Handling of arguments.
11429for ac_config_target in $ac_config_targets
11430do
11431  case $ac_config_target in
11432    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
11433    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
11434    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
11435    "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
11436
11437  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
11438  esac
11439done
11440
11441
11442# If the user did not use the arguments to specify the items to instantiate,
11443# then the envvar interface is used.  Set only those that are not.
11444# We use the long form for the default assignment because of an extremely
11445# bizarre bug on SunOS 4.1.3.
11446if $ac_need_defaults; then
11447  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
11448  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
11449  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
11450fi
11451
11452# Have a temporary directory for convenience.  Make it in the build tree
11453# simply because there is no reason against having it here, and in addition,
11454# creating and moving files from /tmp can sometimes cause problems.
11455# Hook for its removal unless debugging.
11456# Note that there is a small window in which the directory will not be cleaned:
11457# after its creation but before its name has been assigned to `$tmp'.
11458$debug ||
11459{
11460  tmp= ac_tmp=
11461  trap 'exit_status=$?
11462  : "${ac_tmp:=$tmp}"
11463  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
11464' 0
11465  trap 'as_fn_exit 1' 1 2 13 15
11466}
11467# Create a (secure) tmp directory for tmp files.
11468
11469{
11470  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
11471  test -d "$tmp"
11472}  ||
11473{
11474  tmp=./conf$$-$RANDOM
11475  (umask 077 && mkdir "$tmp")
11476} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
11477ac_tmp=$tmp
11478
11479# Set up the scripts for CONFIG_FILES section.
11480# No need to generate them if there are no CONFIG_FILES.
11481# This happens for instance with `./config.status config.h'.
11482if test -n "$CONFIG_FILES"; then
11483
11484
11485ac_cr=`echo X | tr X '\015'`
11486# On cygwin, bash can eat \r inside `` if the user requested igncr.
11487# But we know of no other shell where ac_cr would be empty at this
11488# point, so we can use a bashism as a fallback.
11489if test "x$ac_cr" = x; then
11490  eval ac_cr=\$\'\\r\'
11491fi
11492ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
11493if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
11494  ac_cs_awk_cr='\\r'
11495else
11496  ac_cs_awk_cr=$ac_cr
11497fi
11498
11499echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
11500_ACEOF
11501
11502
11503{
11504  echo "cat >conf$$subs.awk <<_ACEOF" &&
11505  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
11506  echo "_ACEOF"
11507} >conf$$subs.sh ||
11508  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
11509ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
11510ac_delim='%!_!# '
11511for ac_last_try in false false false false false :; do
11512  . ./conf$$subs.sh ||
11513    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
11514
11515  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
11516  if test $ac_delim_n = $ac_delim_num; then
11517    break
11518  elif $ac_last_try; then
11519    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
11520  else
11521    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
11522  fi
11523done
11524rm -f conf$$subs.sh
11525
11526cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11527cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
11528_ACEOF
11529sed -n '
11530h
11531s/^/S["/; s/!.*/"]=/
11532p
11533g
11534s/^[^!]*!//
11535:repl
11536t repl
11537s/'"$ac_delim"'$//
11538t delim
11539:nl
11540h
11541s/\(.\{148\}\)..*/\1/
11542t more1
11543s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
11544p
11545n
11546b repl
11547:more1
11548s/["\\]/\\&/g; s/^/"/; s/$/"\\/
11549p
11550g
11551s/.\{148\}//
11552t nl
11553:delim
11554h
11555s/\(.\{148\}\)..*/\1/
11556t more2
11557s/["\\]/\\&/g; s/^/"/; s/$/"/
11558p
11559b
11560:more2
11561s/["\\]/\\&/g; s/^/"/; s/$/"\\/
11562p
11563g
11564s/.\{148\}//
11565t delim
11566' <conf$$subs.awk | sed '
11567/^[^""]/{
11568  N
11569  s/\n//
11570}
11571' >>$CONFIG_STATUS || ac_write_fail=1
11572rm -f conf$$subs.awk
11573cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11574_ACAWK
11575cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
11576  for (key in S) S_is_set[key] = 1
11577  FS = ""
11578
11579}
11580{
11581  line = $ 0
11582  nfields = split(line, field, "@")
11583  substed = 0
11584  len = length(field[1])
11585  for (i = 2; i < nfields; i++) {
11586    key = field[i]
11587    keylen = length(key)
11588    if (S_is_set[key]) {
11589      value = S[key]
11590      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
11591      len += length(value) + length(field[++i])
11592      substed = 1
11593    } else
11594      len += 1 + keylen
11595  }
11596
11597  print line
11598}
11599
11600_ACAWK
11601_ACEOF
11602cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11603if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
11604  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
11605else
11606  cat
11607fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
11608  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
11609_ACEOF
11610
11611# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
11612# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
11613# trailing colons and then remove the whole line if VPATH becomes empty
11614# (actually we leave an empty line to preserve line numbers).
11615if test "x$srcdir" = x.; then
11616  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
11617h
11618s///
11619s/^/:/
11620s/[	 ]*$/:/
11621s/:\$(srcdir):/:/g
11622s/:\${srcdir}:/:/g
11623s/:@srcdir@:/:/g
11624s/^:*//
11625s/:*$//
11626x
11627s/\(=[	 ]*\).*/\1/
11628G
11629s/\n//
11630s/^[^=]*=[	 ]*$//
11631}'
11632fi
11633
11634cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11635fi # test -n "$CONFIG_FILES"
11636
11637# Set up the scripts for CONFIG_HEADERS section.
11638# No need to generate them if there are no CONFIG_HEADERS.
11639# This happens for instance with `./config.status Makefile'.
11640if test -n "$CONFIG_HEADERS"; then
11641cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
11642BEGIN {
11643_ACEOF
11644
11645# Transform confdefs.h into an awk script `defines.awk', embedded as
11646# here-document in config.status, that substitutes the proper values into
11647# config.h.in to produce config.h.
11648
11649# Create a delimiter string that does not exist in confdefs.h, to ease
11650# handling of long lines.
11651ac_delim='%!_!# '
11652for ac_last_try in false false :; do
11653  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
11654  if test -z "$ac_tt"; then
11655    break
11656  elif $ac_last_try; then
11657    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
11658  else
11659    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
11660  fi
11661done
11662
11663# For the awk script, D is an array of macro values keyed by name,
11664# likewise P contains macro parameters if any.  Preserve backslash
11665# newline sequences.
11666
11667ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
11668sed -n '
11669s/.\{148\}/&'"$ac_delim"'/g
11670t rset
11671:rset
11672s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
11673t def
11674d
11675:def
11676s/\\$//
11677t bsnl
11678s/["\\]/\\&/g
11679s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
11680D["\1"]=" \3"/p
11681s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
11682d
11683:bsnl
11684s/["\\]/\\&/g
11685s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
11686D["\1"]=" \3\\\\\\n"\\/p
11687t cont
11688s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
11689t cont
11690d
11691:cont
11692n
11693s/.\{148\}/&'"$ac_delim"'/g
11694t clear
11695:clear
11696s/\\$//
11697t bsnlc
11698s/["\\]/\\&/g; s/^/"/; s/$/"/p
11699d
11700:bsnlc
11701s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
11702b cont
11703' <confdefs.h | sed '
11704s/'"$ac_delim"'/"\\\
11705"/g' >>$CONFIG_STATUS || ac_write_fail=1
11706
11707cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11708  for (key in D) D_is_set[key] = 1
11709  FS = ""
11710}
11711/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
11712  line = \$ 0
11713  split(line, arg, " ")
11714  if (arg[1] == "#") {
11715    defundef = arg[2]
11716    mac1 = arg[3]
11717  } else {
11718    defundef = substr(arg[1], 2)
11719    mac1 = arg[2]
11720  }
11721  split(mac1, mac2, "(") #)
11722  macro = mac2[1]
11723  prefix = substr(line, 1, index(line, defundef) - 1)
11724  if (D_is_set[macro]) {
11725    # Preserve the white space surrounding the "#".
11726    print prefix "define", macro P[macro] D[macro]
11727    next
11728  } else {
11729    # Replace #undef with comments.  This is necessary, for example,
11730    # in the case of _POSIX_SOURCE, which is predefined and required
11731    # on some systems where configure will not decide to define it.
11732    if (defundef == "undef") {
11733      print "/*", prefix defundef, macro, "*/"
11734      next
11735    }
11736  }
11737}
11738{ print }
11739_ACAWK
11740_ACEOF
11741cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11742  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
11743fi # test -n "$CONFIG_HEADERS"
11744
11745
11746eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
11747shift
11748for ac_tag
11749do
11750  case $ac_tag in
11751  :[FHLC]) ac_mode=$ac_tag; continue;;
11752  esac
11753  case $ac_mode$ac_tag in
11754  :[FHL]*:*);;
11755  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
11756  :[FH]-) ac_tag=-:-;;
11757  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
11758  esac
11759  ac_save_IFS=$IFS
11760  IFS=:
11761  set x $ac_tag
11762  IFS=$ac_save_IFS
11763  shift
11764  ac_file=$1
11765  shift
11766
11767  case $ac_mode in
11768  :L) ac_source=$1;;
11769  :[FH])
11770    ac_file_inputs=
11771    for ac_f
11772    do
11773      case $ac_f in
11774      -) ac_f="$ac_tmp/stdin";;
11775      *) # Look for the file first in the build tree, then in the source tree
11776	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
11777	 # because $ac_f cannot contain `:'.
11778	 test -f "$ac_f" ||
11779	   case $ac_f in
11780	   [\\/$]*) false;;
11781	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
11782	   esac ||
11783	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
11784      esac
11785      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
11786      as_fn_append ac_file_inputs " '$ac_f'"
11787    done
11788
11789    # Let's still pretend it is `configure' which instantiates (i.e., don't
11790    # use $as_me), people would be surprised to read:
11791    #    /* config.h.  Generated by config.status.  */
11792    configure_input='Generated from '`
11793	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
11794	`' by configure.'
11795    if test x"$ac_file" != x-; then
11796      configure_input="$ac_file.  $configure_input"
11797      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
11798$as_echo "$as_me: creating $ac_file" >&6;}
11799    fi
11800    # Neutralize special characters interpreted by sed in replacement strings.
11801    case $configure_input in #(
11802    *\&* | *\|* | *\\* )
11803       ac_sed_conf_input=`$as_echo "$configure_input" |
11804       sed 's/[\\\\&|]/\\\\&/g'`;; #(
11805    *) ac_sed_conf_input=$configure_input;;
11806    esac
11807
11808    case $ac_tag in
11809    *:-:* | *:-) cat >"$ac_tmp/stdin" \
11810      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
11811    esac
11812    ;;
11813  esac
11814
11815  ac_dir=`$as_dirname -- "$ac_file" ||
11816$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11817	 X"$ac_file" : 'X\(//\)[^/]' \| \
11818	 X"$ac_file" : 'X\(//\)$' \| \
11819	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
11820$as_echo X"$ac_file" |
11821    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11822	    s//\1/
11823	    q
11824	  }
11825	  /^X\(\/\/\)[^/].*/{
11826	    s//\1/
11827	    q
11828	  }
11829	  /^X\(\/\/\)$/{
11830	    s//\1/
11831	    q
11832	  }
11833	  /^X\(\/\).*/{
11834	    s//\1/
11835	    q
11836	  }
11837	  s/.*/./; q'`
11838  as_dir="$ac_dir"; as_fn_mkdir_p
11839  ac_builddir=.
11840
11841case "$ac_dir" in
11842.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
11843*)
11844  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
11845  # A ".." for each directory in $ac_dir_suffix.
11846  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
11847  case $ac_top_builddir_sub in
11848  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
11849  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
11850  esac ;;
11851esac
11852ac_abs_top_builddir=$ac_pwd
11853ac_abs_builddir=$ac_pwd$ac_dir_suffix
11854# for backward compatibility:
11855ac_top_builddir=$ac_top_build_prefix
11856
11857case $srcdir in
11858  .)  # We are building in place.
11859    ac_srcdir=.
11860    ac_top_srcdir=$ac_top_builddir_sub
11861    ac_abs_top_srcdir=$ac_pwd ;;
11862  [\\/]* | ?:[\\/]* )  # Absolute name.
11863    ac_srcdir=$srcdir$ac_dir_suffix;
11864    ac_top_srcdir=$srcdir
11865    ac_abs_top_srcdir=$srcdir ;;
11866  *) # Relative name.
11867    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
11868    ac_top_srcdir=$ac_top_build_prefix$srcdir
11869    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
11870esac
11871ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
11872
11873
11874  case $ac_mode in
11875  :F)
11876  #
11877  # CONFIG_FILE
11878  #
11879
11880  case $INSTALL in
11881  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
11882  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
11883  esac
11884  ac_MKDIR_P=$MKDIR_P
11885  case $MKDIR_P in
11886  [\\/$]* | ?:[\\/]* ) ;;
11887  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
11888  esac
11889_ACEOF
11890
11891cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11892# If the template does not know about datarootdir, expand it.
11893# FIXME: This hack should be removed a few years after 2.60.
11894ac_datarootdir_hack=; ac_datarootdir_seen=
11895ac_sed_dataroot='
11896/datarootdir/ {
11897  p
11898  q
11899}
11900/@datadir@/p
11901/@docdir@/p
11902/@infodir@/p
11903/@localedir@/p
11904/@mandir@/p'
11905case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
11906*datarootdir*) ac_datarootdir_seen=yes;;
11907*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
11908  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
11909$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
11910_ACEOF
11911cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11912  ac_datarootdir_hack='
11913  s&@datadir@&$datadir&g
11914  s&@docdir@&$docdir&g
11915  s&@infodir@&$infodir&g
11916  s&@localedir@&$localedir&g
11917  s&@mandir@&$mandir&g
11918  s&\\\${datarootdir}&$datarootdir&g' ;;
11919esac
11920_ACEOF
11921
11922# Neutralize VPATH when `$srcdir' = `.'.
11923# Shell code in configure.ac might set extrasub.
11924# FIXME: do we really want to maintain this feature?
11925cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11926ac_sed_extra="$ac_vpsub
11927$extrasub
11928_ACEOF
11929cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11930:t
11931/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
11932s|@configure_input@|$ac_sed_conf_input|;t t
11933s&@top_builddir@&$ac_top_builddir_sub&;t t
11934s&@top_build_prefix@&$ac_top_build_prefix&;t t
11935s&@srcdir@&$ac_srcdir&;t t
11936s&@abs_srcdir@&$ac_abs_srcdir&;t t
11937s&@top_srcdir@&$ac_top_srcdir&;t t
11938s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
11939s&@builddir@&$ac_builddir&;t t
11940s&@abs_builddir@&$ac_abs_builddir&;t t
11941s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
11942s&@INSTALL@&$ac_INSTALL&;t t
11943s&@MKDIR_P@&$ac_MKDIR_P&;t t
11944$ac_datarootdir_hack
11945"
11946eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
11947  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
11948
11949test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
11950  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
11951  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
11952      "$ac_tmp/out"`; test -z "$ac_out"; } &&
11953  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
11954which seems to be undefined.  Please make sure it is defined" >&5
11955$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
11956which seems to be undefined.  Please make sure it is defined" >&2;}
11957
11958  rm -f "$ac_tmp/stdin"
11959  case $ac_file in
11960  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
11961  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
11962  esac \
11963  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
11964 ;;
11965  :H)
11966  #
11967  # CONFIG_HEADER
11968  #
11969  if test x"$ac_file" != x-; then
11970    {
11971      $as_echo "/* $configure_input  */" \
11972      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
11973    } >"$ac_tmp/config.h" \
11974      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
11975    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
11976      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
11977$as_echo "$as_me: $ac_file is unchanged" >&6;}
11978    else
11979      rm -f "$ac_file"
11980      mv "$ac_tmp/config.h" "$ac_file" \
11981	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
11982    fi
11983  else
11984    $as_echo "/* $configure_input  */" \
11985      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
11986      || as_fn_error $? "could not create -" "$LINENO" 5
11987  fi
11988# Compute "$ac_file"'s index in $config_headers.
11989_am_arg="$ac_file"
11990_am_stamp_count=1
11991for _am_header in $config_headers :; do
11992  case $_am_header in
11993    $_am_arg | $_am_arg:* )
11994      break ;;
11995    * )
11996      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
11997  esac
11998done
11999echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
12000$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12001	 X"$_am_arg" : 'X\(//\)[^/]' \| \
12002	 X"$_am_arg" : 'X\(//\)$' \| \
12003	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
12004$as_echo X"$_am_arg" |
12005    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12006	    s//\1/
12007	    q
12008	  }
12009	  /^X\(\/\/\)[^/].*/{
12010	    s//\1/
12011	    q
12012	  }
12013	  /^X\(\/\/\)$/{
12014	    s//\1/
12015	    q
12016	  }
12017	  /^X\(\/\).*/{
12018	    s//\1/
12019	    q
12020	  }
12021	  s/.*/./; q'`/stamp-h$_am_stamp_count
12022 ;;
12023
12024  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
12025$as_echo "$as_me: executing $ac_file commands" >&6;}
12026 ;;
12027  esac
12028
12029
12030  case $ac_file$ac_mode in
12031    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
12032  # Older Autoconf quotes --file arguments for eval, but not when files
12033  # are listed without --file.  Let's play safe and only enable the eval
12034  # if we detect the quoting.
12035  case $CONFIG_FILES in
12036  *\'*) eval set x "$CONFIG_FILES" ;;
12037  *)   set x $CONFIG_FILES ;;
12038  esac
12039  shift
12040  for mf
12041  do
12042    # Strip MF so we end up with the name of the file.
12043    mf=`echo "$mf" | sed -e 's/:.*$//'`
12044    # Check whether this is an Automake generated Makefile or not.
12045    # We used to match only the files named 'Makefile.in', but
12046    # some people rename them; so instead we look at the file content.
12047    # Grep'ing the first line is not enough: some people post-process
12048    # each Makefile.in and add a new line on top of each file to say so.
12049    # Grep'ing the whole file is not good either: AIX grep has a line
12050    # limit of 2048, but all sed's we know have understand at least 4000.
12051    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
12052      dirpart=`$as_dirname -- "$mf" ||
12053$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12054	 X"$mf" : 'X\(//\)[^/]' \| \
12055	 X"$mf" : 'X\(//\)$' \| \
12056	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
12057$as_echo X"$mf" |
12058    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12059	    s//\1/
12060	    q
12061	  }
12062	  /^X\(\/\/\)[^/].*/{
12063	    s//\1/
12064	    q
12065	  }
12066	  /^X\(\/\/\)$/{
12067	    s//\1/
12068	    q
12069	  }
12070	  /^X\(\/\).*/{
12071	    s//\1/
12072	    q
12073	  }
12074	  s/.*/./; q'`
12075    else
12076      continue
12077    fi
12078    # Extract the definition of DEPDIR, am__include, and am__quote
12079    # from the Makefile without running 'make'.
12080    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
12081    test -z "$DEPDIR" && continue
12082    am__include=`sed -n 's/^am__include = //p' < "$mf"`
12083    test -z "$am__include" && continue
12084    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
12085    # Find all dependency output files, they are included files with
12086    # $(DEPDIR) in their names.  We invoke sed twice because it is the
12087    # simplest approach to changing $(DEPDIR) to its actual value in the
12088    # expansion.
12089    for file in `sed -n "
12090      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12091	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
12092      # Make sure the directory exists.
12093      test -f "$dirpart/$file" && continue
12094      fdir=`$as_dirname -- "$file" ||
12095$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12096	 X"$file" : 'X\(//\)[^/]' \| \
12097	 X"$file" : 'X\(//\)$' \| \
12098	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
12099$as_echo X"$file" |
12100    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12101	    s//\1/
12102	    q
12103	  }
12104	  /^X\(\/\/\)[^/].*/{
12105	    s//\1/
12106	    q
12107	  }
12108	  /^X\(\/\/\)$/{
12109	    s//\1/
12110	    q
12111	  }
12112	  /^X\(\/\).*/{
12113	    s//\1/
12114	    q
12115	  }
12116	  s/.*/./; q'`
12117      as_dir=$dirpart/$fdir; as_fn_mkdir_p
12118      # echo "creating $dirpart/$file"
12119      echo '# dummy' > "$dirpart/$file"
12120    done
12121  done
12122}
12123 ;;
12124
12125  esac
12126done # for ac_tag
12127
12128
12129as_fn_exit 0
12130_ACEOF
12131ac_clean_files=$ac_clean_files_save
12132
12133test $ac_write_fail = 0 ||
12134  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
12135
12136
12137# configure is writing to config.log, and then calls config.status.
12138# config.status does its own redirection, appending to config.log.
12139# Unfortunately, on DOS this fails, as config.log is still kept open
12140# by configure, so config.status won't be able to write to it; its
12141# output is simply discarded.  So we exec the FD to /dev/null,
12142# effectively closing config.log, so it can be properly (re)opened and
12143# appended to by config.status.  When coming back to configure, we
12144# need to make the FD available again.
12145if test "$no_create" != yes; then
12146  ac_cs_success=:
12147  ac_config_status_args=
12148  test "$silent" = yes &&
12149    ac_config_status_args="$ac_config_status_args --quiet"
12150  exec 5>/dev/null
12151  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
12152  exec 5>>config.log
12153  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12154  # would make configure fail if this is the last instruction.
12155  $ac_cs_success || as_fn_exit 1
12156fi
12157if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
12158  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
12159$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
12160fi
12161
12162