Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.3
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for xmore 1.0.3.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xmore/issues>.
      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
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if 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
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_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.
     45 if 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 --'
     49 elif (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'
     52 else
     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'
     72 fi
     73 
     74 # The user is always right.
     75 if 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   }
     81 fi
     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.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     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
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    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.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    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.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export 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.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $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
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if 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
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -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
    201 test \$(( 1 + 1 )) = 2 || exit 1"
    202   if (eval "$as_required") 2>/dev/null; then :
    203   as_have_required=yes
    204 else
    205   as_have_required=no
    206 fi
    207   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    208 
    209 else
    210   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    211 as_found=false
    212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    213 do
    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
    227 fi
    228 fi
    229 	   done;;
    230        esac
    231   as_found=false
    232 done
    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
    236 fi; }
    237 IFS=$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.
    246 BASH_ENV=/dev/null
    247 ENV=/dev/null
    248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    249 case $- in # ((((
    250   *v*x* | *x*v* ) as_opts=-vx ;;
    251   *v* ) as_opts=-v ;;
    252   *x* ) as_opts=-x ;;
    253   * ) as_opts= ;;
    254 esac
    255 exec $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
    259 exit 255
    260 fi
    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 (at] gnu.org and
    270 $0: https://gitlab.freedesktop.org/xorg/app/xmore/issues
    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
    277 fi
    278 fi
    279 fi
    280 SHELL=${CONFIG_SHELL-/bin/sh}
    281 export SHELL
    282 # Unset more variables known to interfere with behavior of common tools.
    283 CLICOLOR_FORCE= GREP_OPTIONS=
    284 unset CLICOLOR_FORCE GREP_OPTIONS
    285 
    286 ## --------------------- ##
    287 ## M4sh Shell Functions. ##
    288 ## --------------------- ##
    289 # as_fn_unset VAR
    290 # ---------------
    291 # Portably unset VAR.
    292 as_fn_unset ()
    293 {
    294   { eval $1=; unset $1;}
    295 }
    296 as_unset=as_fn_unset
    297 
    298 # as_fn_set_status STATUS
    299 # -----------------------
    300 # Set $? to STATUS, without forking.
    301 as_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.
    309 as_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.
    319 as_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.
    367 as_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.
    377 if (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   }'
    382 else
    383   as_fn_append ()
    384   {
    385     eval $1=\$$1\$2
    386   }
    387 fi # 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.
    394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    395   eval 'as_fn_arith ()
    396   {
    397     as_val=$(( $* ))
    398   }'
    399 else
    400   as_fn_arith ()
    401   {
    402     as_val=`expr "$@" || test $? -eq 1`
    403   }
    404 fi # 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.
    412 as_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 
    423 if expr a : '\(a\)' >/dev/null 2>&1 &&
    424    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    425   as_expr=expr
    426 else
    427   as_expr=false
    428 fi
    429 
    430 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    431   as_basename=basename
    432 else
    433   as_basename=false
    434 fi
    435 
    436 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    437   as_dirname=dirname
    438 else
    439   as_dirname=false
    440 fi
    441 
    442 as_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.
    462 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    463 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    464 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    465 as_cr_digits='0123456789'
    466 as_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 
    504 ECHO_C= ECHO_N= ECHO_T=
    505 case `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';;
    515 esac
    516 
    517 rm -f conf$$ conf$$.exe conf$$.file
    518 if test -d conf$$.dir; then
    519   rm -f conf$$.dir/conf$$.file
    520 else
    521   rm -f conf$$.dir
    522   mkdir conf$$.dir 2>/dev/null
    523 fi
    524 if (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
    538 else
    539   as_ln_s='cp -pR'
    540 fi
    541 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    542 rmdir conf$$.dir 2>/dev/null
    543 
    544 if mkdir -p . 2>/dev/null; then
    545   as_mkdir_p='mkdir -p "$as_dir"'
    546 else
    547   test -d ./-p && rmdir ./-p
    548   as_mkdir_p=false
    549 fi
    550 
    551 as_test_x='test -x'
    552 as_executable_p=as_fn_executable_p
    553 
    554 # Sed expression to map a string onto a valid CPP name.
    555 as_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.
    558 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    559 
    560 
    561 test -n "$DJDIR" || exec 7<&0 </dev/null
    562 exec 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.
    567 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    568 
    569 #
    570 # Initializations.
    571 #
    572 ac_default_prefix=/usr/local
    573 ac_clean_files=
    574 ac_config_libobj_dir=.
    575 LIBOBJS=
    576 cross_compiling=no
    577 subdirs=
    578 MFLAGS=
    579 MAKEFLAGS=
    580 
    581 # Identity of this package.
    582 PACKAGE_NAME='xmore'
    583 PACKAGE_TARNAME='xmore'
    584 PACKAGE_VERSION='1.0.3'
    585 PACKAGE_STRING='xmore 1.0.3'
    586 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xmore/issues'
    587 PACKAGE_URL=''
    588 
    589 # Factoring default headers for most tests.
    590 ac_includes_default="\
    591 #include <stdio.h>
    592 #ifdef HAVE_SYS_TYPES_H
    593 # include <sys/types.h>
    594 #endif
    595 #ifdef HAVE_SYS_STAT_H
    596 # include <sys/stat.h>
    597 #endif
    598 #ifdef STDC_HEADERS
    599 # include <stdlib.h>
    600 # include <stddef.h>
    601 #else
    602 # ifdef HAVE_STDLIB_H
    603 #  include <stdlib.h>
    604 # endif
    605 #endif
    606 #ifdef HAVE_STRING_H
    607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    608 #  include <memory.h>
    609 # endif
    610 # include <string.h>
    611 #endif
    612 #ifdef HAVE_STRINGS_H
    613 # include <strings.h>
    614 #endif
    615 #ifdef HAVE_INTTYPES_H
    616 # include <inttypes.h>
    617 #endif
    618 #ifdef HAVE_STDINT_H
    619 # include <stdint.h>
    620 #endif
    621 #ifdef HAVE_UNISTD_H
    622 # include <unistd.h>
    623 #endif"
    624 
    625 ac_subst_vars='am__EXEEXT_FALSE
    626 am__EXEEXT_TRUE
    627 LTLIBOBJS
    628 LIBOBJS
    629 appdefaultdir
    630 APPDEFS_LIBS
    631 APPDEFS_CFLAGS
    632 XMORE_LIBS
    633 XMORE_CFLAGS
    634 MAN_SUBSTS
    635 XORG_MAN_PAGE
    636 ADMIN_MAN_DIR
    637 DRIVER_MAN_DIR
    638 MISC_MAN_DIR
    639 FILE_MAN_DIR
    640 LIB_MAN_DIR
    641 APP_MAN_DIR
    642 ADMIN_MAN_SUFFIX
    643 DRIVER_MAN_SUFFIX
    644 MISC_MAN_SUFFIX
    645 FILE_MAN_SUFFIX
    646 LIB_MAN_SUFFIX
    647 APP_MAN_SUFFIX
    648 SED
    649 host_os
    650 host_vendor
    651 host_cpu
    652 host
    653 build_os
    654 build_vendor
    655 build_cpu
    656 build
    657 INSTALL_CMD
    658 PKG_CONFIG_LIBDIR
    659 PKG_CONFIG_PATH
    660 PKG_CONFIG
    661 CHANGELOG_CMD
    662 STRICT_CFLAGS
    663 CWARNFLAGS
    664 BASE_CFLAGS
    665 EGREP
    666 GREP
    667 CPP
    668 am__fastdepCC_FALSE
    669 am__fastdepCC_TRUE
    670 CCDEPMODE
    671 am__nodep
    672 AMDEPBACKSLASH
    673 AMDEP_FALSE
    674 AMDEP_TRUE
    675 am__quote
    676 am__include
    677 DEPDIR
    678 OBJEXT
    679 EXEEXT
    680 ac_ct_CC
    681 CPPFLAGS
    682 LDFLAGS
    683 CFLAGS
    684 CC
    685 AM_BACKSLASH
    686 AM_DEFAULT_VERBOSITY
    687 AM_DEFAULT_V
    688 AM_V
    689 am__untar
    690 am__tar
    691 AMTAR
    692 am__leading_dot
    693 SET_MAKE
    694 AWK
    695 mkdir_p
    696 MKDIR_P
    697 INSTALL_STRIP_PROGRAM
    698 STRIP
    699 install_sh
    700 MAKEINFO
    701 AUTOHEADER
    702 AUTOMAKE
    703 AUTOCONF
    704 ACLOCAL
    705 VERSION
    706 PACKAGE
    707 CYGPATH_W
    708 am__isrc
    709 INSTALL_DATA
    710 INSTALL_SCRIPT
    711 INSTALL_PROGRAM
    712 target_alias
    713 host_alias
    714 build_alias
    715 LIBS
    716 ECHO_T
    717 ECHO_N
    718 ECHO_C
    719 DEFS
    720 mandir
    721 localedir
    722 libdir
    723 psdir
    724 pdfdir
    725 dvidir
    726 htmldir
    727 infodir
    728 docdir
    729 oldincludedir
    730 includedir
    731 localstatedir
    732 sharedstatedir
    733 sysconfdir
    734 datadir
    735 datarootdir
    736 libexecdir
    737 sbindir
    738 bindir
    739 program_transform_name
    740 prefix
    741 exec_prefix
    742 PACKAGE_URL
    743 PACKAGE_BUGREPORT
    744 PACKAGE_STRING
    745 PACKAGE_VERSION
    746 PACKAGE_TARNAME
    747 PACKAGE_NAME
    748 PATH_SEPARATOR
    749 SHELL'
    750 ac_subst_files=''
    751 ac_user_opts='
    752 enable_option_checking
    753 enable_silent_rules
    754 enable_dependency_tracking
    755 enable_selective_werror
    756 enable_strict_compilation
    757 with_appdefaultdir
    758 '
    759       ac_precious_vars='build_alias
    760 host_alias
    761 target_alias
    762 CC
    763 CFLAGS
    764 LDFLAGS
    765 LIBS
    766 CPPFLAGS
    767 CPP
    768 PKG_CONFIG
    769 PKG_CONFIG_PATH
    770 PKG_CONFIG_LIBDIR
    771 XMORE_CFLAGS
    772 XMORE_LIBS
    773 APPDEFS_CFLAGS
    774 APPDEFS_LIBS'
    775 
    776 
    777 # Initialize some variables set by options.
    778 ac_init_help=
    779 ac_init_version=false
    780 ac_unrecognized_opts=
    781 ac_unrecognized_sep=
    782 # The variables have the same names as the options, with
    783 # dashes changed to underlines.
    784 cache_file=/dev/null
    785 exec_prefix=NONE
    786 no_create=
    787 no_recursion=
    788 prefix=NONE
    789 program_prefix=NONE
    790 program_suffix=NONE
    791 program_transform_name=s,x,x,
    792 silent=
    793 site=
    794 srcdir=
    795 verbose=
    796 x_includes=NONE
    797 x_libraries=NONE
    798 
    799 # Installation directory options.
    800 # These are left unexpanded so users can "make install exec_prefix=/foo"
    801 # and all the variables that are supposed to be based on exec_prefix
    802 # by default will actually change.
    803 # Use braces instead of parens because sh, perl, etc. also accept them.
    804 # (The list follows the same order as the GNU Coding Standards.)
    805 bindir='${exec_prefix}/bin'
    806 sbindir='${exec_prefix}/sbin'
    807 libexecdir='${exec_prefix}/libexec'
    808 datarootdir='${prefix}/share'
    809 datadir='${datarootdir}'
    810 sysconfdir='${prefix}/etc'
    811 sharedstatedir='${prefix}/com'
    812 localstatedir='${prefix}/var'
    813 includedir='${prefix}/include'
    814 oldincludedir='/usr/include'
    815 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    816 infodir='${datarootdir}/info'
    817 htmldir='${docdir}'
    818 dvidir='${docdir}'
    819 pdfdir='${docdir}'
    820 psdir='${docdir}'
    821 libdir='${exec_prefix}/lib'
    822 localedir='${datarootdir}/locale'
    823 mandir='${datarootdir}/man'
    824 
    825 ac_prev=
    826 ac_dashdash=
    827 for ac_option
    828 do
    829   # If the previous option needs an argument, assign it.
    830   if test -n "$ac_prev"; then
    831     eval $ac_prev=\$ac_option
    832     ac_prev=
    833     continue
    834   fi
    835 
    836   case $ac_option in
    837   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    838   *=)   ac_optarg= ;;
    839   *)    ac_optarg=yes ;;
    840   esac
    841 
    842   # Accept the important Cygnus configure options, so we can diagnose typos.
    843 
    844   case $ac_dashdash$ac_option in
    845   --)
    846     ac_dashdash=yes ;;
    847 
    848   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    849     ac_prev=bindir ;;
    850   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    851     bindir=$ac_optarg ;;
    852 
    853   -build | --build | --buil | --bui | --bu)
    854     ac_prev=build_alias ;;
    855   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    856     build_alias=$ac_optarg ;;
    857 
    858   -cache-file | --cache-file | --cache-fil | --cache-fi \
    859   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    860     ac_prev=cache_file ;;
    861   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    862   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    863     cache_file=$ac_optarg ;;
    864 
    865   --config-cache | -C)
    866     cache_file=config.cache ;;
    867 
    868   -datadir | --datadir | --datadi | --datad)
    869     ac_prev=datadir ;;
    870   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    871     datadir=$ac_optarg ;;
    872 
    873   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    874   | --dataroo | --dataro | --datar)
    875     ac_prev=datarootdir ;;
    876   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    877   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    878     datarootdir=$ac_optarg ;;
    879 
    880   -disable-* | --disable-*)
    881     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    882     # Reject names that are not valid shell variable names.
    883     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    884       as_fn_error $? "invalid feature name: $ac_useropt"
    885     ac_useropt_orig=$ac_useropt
    886     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    887     case $ac_user_opts in
    888       *"
    889 "enable_$ac_useropt"
    890 "*) ;;
    891       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    892 	 ac_unrecognized_sep=', ';;
    893     esac
    894     eval enable_$ac_useropt=no ;;
    895 
    896   -docdir | --docdir | --docdi | --doc | --do)
    897     ac_prev=docdir ;;
    898   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    899     docdir=$ac_optarg ;;
    900 
    901   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    902     ac_prev=dvidir ;;
    903   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    904     dvidir=$ac_optarg ;;
    905 
    906   -enable-* | --enable-*)
    907     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    908     # Reject names that are not valid shell variable names.
    909     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    910       as_fn_error $? "invalid feature name: $ac_useropt"
    911     ac_useropt_orig=$ac_useropt
    912     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    913     case $ac_user_opts in
    914       *"
    915 "enable_$ac_useropt"
    916 "*) ;;
    917       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    918 	 ac_unrecognized_sep=', ';;
    919     esac
    920     eval enable_$ac_useropt=\$ac_optarg ;;
    921 
    922   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    923   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    924   | --exec | --exe | --ex)
    925     ac_prev=exec_prefix ;;
    926   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    927   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    928   | --exec=* | --exe=* | --ex=*)
    929     exec_prefix=$ac_optarg ;;
    930 
    931   -gas | --gas | --ga | --g)
    932     # Obsolete; use --with-gas.
    933     with_gas=yes ;;
    934 
    935   -help | --help | --hel | --he | -h)
    936     ac_init_help=long ;;
    937   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    938     ac_init_help=recursive ;;
    939   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    940     ac_init_help=short ;;
    941 
    942   -host | --host | --hos | --ho)
    943     ac_prev=host_alias ;;
    944   -host=* | --host=* | --hos=* | --ho=*)
    945     host_alias=$ac_optarg ;;
    946 
    947   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    948     ac_prev=htmldir ;;
    949   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    950   | --ht=*)
    951     htmldir=$ac_optarg ;;
    952 
    953   -includedir | --includedir | --includedi | --included | --include \
    954   | --includ | --inclu | --incl | --inc)
    955     ac_prev=includedir ;;
    956   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    957   | --includ=* | --inclu=* | --incl=* | --inc=*)
    958     includedir=$ac_optarg ;;
    959 
    960   -infodir | --infodir | --infodi | --infod | --info | --inf)
    961     ac_prev=infodir ;;
    962   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    963     infodir=$ac_optarg ;;
    964 
    965   -libdir | --libdir | --libdi | --libd)
    966     ac_prev=libdir ;;
    967   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    968     libdir=$ac_optarg ;;
    969 
    970   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    971   | --libexe | --libex | --libe)
    972     ac_prev=libexecdir ;;
    973   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    974   | --libexe=* | --libex=* | --libe=*)
    975     libexecdir=$ac_optarg ;;
    976 
    977   -localedir | --localedir | --localedi | --localed | --locale)
    978     ac_prev=localedir ;;
    979   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    980     localedir=$ac_optarg ;;
    981 
    982   -localstatedir | --localstatedir | --localstatedi | --localstated \
    983   | --localstate | --localstat | --localsta | --localst | --locals)
    984     ac_prev=localstatedir ;;
    985   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    986   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    987     localstatedir=$ac_optarg ;;
    988 
    989   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    990     ac_prev=mandir ;;
    991   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    992     mandir=$ac_optarg ;;
    993 
    994   -nfp | --nfp | --nf)
    995     # Obsolete; use --without-fp.
    996     with_fp=no ;;
    997 
    998   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    999   | --no-cr | --no-c | -n)
   1000     no_create=yes ;;
   1001 
   1002   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1003   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1004     no_recursion=yes ;;
   1005 
   1006   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1007   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1008   | --oldin | --oldi | --old | --ol | --o)
   1009     ac_prev=oldincludedir ;;
   1010   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1011   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1012   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1013     oldincludedir=$ac_optarg ;;
   1014 
   1015   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1016     ac_prev=prefix ;;
   1017   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1018     prefix=$ac_optarg ;;
   1019 
   1020   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1021   | --program-pre | --program-pr | --program-p)
   1022     ac_prev=program_prefix ;;
   1023   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1024   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1025     program_prefix=$ac_optarg ;;
   1026 
   1027   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1028   | --program-suf | --program-su | --program-s)
   1029     ac_prev=program_suffix ;;
   1030   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1031   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1032     program_suffix=$ac_optarg ;;
   1033 
   1034   -program-transform-name | --program-transform-name \
   1035   | --program-transform-nam | --program-transform-na \
   1036   | --program-transform-n | --program-transform- \
   1037   | --program-transform | --program-transfor \
   1038   | --program-transfo | --program-transf \
   1039   | --program-trans | --program-tran \
   1040   | --progr-tra | --program-tr | --program-t)
   1041     ac_prev=program_transform_name ;;
   1042   -program-transform-name=* | --program-transform-name=* \
   1043   | --program-transform-nam=* | --program-transform-na=* \
   1044   | --program-transform-n=* | --program-transform-=* \
   1045   | --program-transform=* | --program-transfor=* \
   1046   | --program-transfo=* | --program-transf=* \
   1047   | --program-trans=* | --program-tran=* \
   1048   | --progr-tra=* | --program-tr=* | --program-t=*)
   1049     program_transform_name=$ac_optarg ;;
   1050 
   1051   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1052     ac_prev=pdfdir ;;
   1053   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1054     pdfdir=$ac_optarg ;;
   1055 
   1056   -psdir | --psdir | --psdi | --psd | --ps)
   1057     ac_prev=psdir ;;
   1058   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1059     psdir=$ac_optarg ;;
   1060 
   1061   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1062   | -silent | --silent | --silen | --sile | --sil)
   1063     silent=yes ;;
   1064 
   1065   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1066     ac_prev=sbindir ;;
   1067   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1068   | --sbi=* | --sb=*)
   1069     sbindir=$ac_optarg ;;
   1070 
   1071   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1072   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1073   | --sharedst | --shareds | --shared | --share | --shar \
   1074   | --sha | --sh)
   1075     ac_prev=sharedstatedir ;;
   1076   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1077   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1078   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1079   | --sha=* | --sh=*)
   1080     sharedstatedir=$ac_optarg ;;
   1081 
   1082   -site | --site | --sit)
   1083     ac_prev=site ;;
   1084   -site=* | --site=* | --sit=*)
   1085     site=$ac_optarg ;;
   1086 
   1087   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1088     ac_prev=srcdir ;;
   1089   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1090     srcdir=$ac_optarg ;;
   1091 
   1092   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1093   | --syscon | --sysco | --sysc | --sys | --sy)
   1094     ac_prev=sysconfdir ;;
   1095   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1096   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1097     sysconfdir=$ac_optarg ;;
   1098 
   1099   -target | --target | --targe | --targ | --tar | --ta | --t)
   1100     ac_prev=target_alias ;;
   1101   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1102     target_alias=$ac_optarg ;;
   1103 
   1104   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1105     verbose=yes ;;
   1106 
   1107   -version | --version | --versio | --versi | --vers | -V)
   1108     ac_init_version=: ;;
   1109 
   1110   -with-* | --with-*)
   1111     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1112     # Reject names that are not valid shell variable names.
   1113     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1114       as_fn_error $? "invalid package name: $ac_useropt"
   1115     ac_useropt_orig=$ac_useropt
   1116     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1117     case $ac_user_opts in
   1118       *"
   1119 "with_$ac_useropt"
   1120 "*) ;;
   1121       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1122 	 ac_unrecognized_sep=', ';;
   1123     esac
   1124     eval with_$ac_useropt=\$ac_optarg ;;
   1125 
   1126   -without-* | --without-*)
   1127     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1128     # Reject names that are not valid shell variable names.
   1129     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1130       as_fn_error $? "invalid package name: $ac_useropt"
   1131     ac_useropt_orig=$ac_useropt
   1132     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1133     case $ac_user_opts in
   1134       *"
   1135 "with_$ac_useropt"
   1136 "*) ;;
   1137       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1138 	 ac_unrecognized_sep=', ';;
   1139     esac
   1140     eval with_$ac_useropt=no ;;
   1141 
   1142   --x)
   1143     # Obsolete; use --with-x.
   1144     with_x=yes ;;
   1145 
   1146   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1147   | --x-incl | --x-inc | --x-in | --x-i)
   1148     ac_prev=x_includes ;;
   1149   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1150   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1151     x_includes=$ac_optarg ;;
   1152 
   1153   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1154   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1155     ac_prev=x_libraries ;;
   1156   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1157   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1158     x_libraries=$ac_optarg ;;
   1159 
   1160   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1161 Try \`$0 --help' for more information"
   1162     ;;
   1163 
   1164   *=*)
   1165     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1166     # Reject names that are not valid shell variable names.
   1167     case $ac_envvar in #(
   1168       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1169       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1170     esac
   1171     eval $ac_envvar=\$ac_optarg
   1172     export $ac_envvar ;;
   1173 
   1174   *)
   1175     # FIXME: should be removed in autoconf 3.0.
   1176     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1177     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1178       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1179     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1180     ;;
   1181 
   1182   esac
   1183 done
   1184 
   1185 if test -n "$ac_prev"; then
   1186   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1187   as_fn_error $? "missing argument to $ac_option"
   1188 fi
   1189 
   1190 if test -n "$ac_unrecognized_opts"; then
   1191   case $enable_option_checking in
   1192     no) ;;
   1193     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1194     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1195   esac
   1196 fi
   1197 
   1198 # Check all directory arguments for consistency.
   1199 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1200 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1201 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1202 		libdir localedir mandir
   1203 do
   1204   eval ac_val=\$$ac_var
   1205   # Remove trailing slashes.
   1206   case $ac_val in
   1207     */ )
   1208       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1209       eval $ac_var=\$ac_val;;
   1210   esac
   1211   # Be sure to have absolute directory names.
   1212   case $ac_val in
   1213     [\\/$]* | ?:[\\/]* )  continue;;
   1214     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1215   esac
   1216   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1217 done
   1218 
   1219 # There might be people who depend on the old broken behavior: `$host'
   1220 # used to hold the argument of --host etc.
   1221 # FIXME: To remove some day.
   1222 build=$build_alias
   1223 host=$host_alias
   1224 target=$target_alias
   1225 
   1226 # FIXME: To remove some day.
   1227 if test "x$host_alias" != x; then
   1228   if test "x$build_alias" = x; then
   1229     cross_compiling=maybe
   1230   elif test "x$build_alias" != "x$host_alias"; then
   1231     cross_compiling=yes
   1232   fi
   1233 fi
   1234 
   1235 ac_tool_prefix=
   1236 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1237 
   1238 test "$silent" = yes && exec 6>/dev/null
   1239 
   1240 
   1241 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1242 ac_ls_di=`ls -di .` &&
   1243 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1244   as_fn_error $? "working directory cannot be determined"
   1245 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1246   as_fn_error $? "pwd does not report name of working directory"
   1247 
   1248 
   1249 # Find the source files, if location was not specified.
   1250 if test -z "$srcdir"; then
   1251   ac_srcdir_defaulted=yes
   1252   # Try the directory containing this script, then the parent directory.
   1253   ac_confdir=`$as_dirname -- "$as_myself" ||
   1254 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1255 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1256 	 X"$as_myself" : 'X\(//\)$' \| \
   1257 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1258 $as_echo X"$as_myself" |
   1259     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1260 	    s//\1/
   1261 	    q
   1262 	  }
   1263 	  /^X\(\/\/\)[^/].*/{
   1264 	    s//\1/
   1265 	    q
   1266 	  }
   1267 	  /^X\(\/\/\)$/{
   1268 	    s//\1/
   1269 	    q
   1270 	  }
   1271 	  /^X\(\/\).*/{
   1272 	    s//\1/
   1273 	    q
   1274 	  }
   1275 	  s/.*/./; q'`
   1276   srcdir=$ac_confdir
   1277   if test ! -r "$srcdir/$ac_unique_file"; then
   1278     srcdir=..
   1279   fi
   1280 else
   1281   ac_srcdir_defaulted=no
   1282 fi
   1283 if test ! -r "$srcdir/$ac_unique_file"; then
   1284   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1285   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1286 fi
   1287 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1288 ac_abs_confdir=`(
   1289 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1290 	pwd)`
   1291 # When building in place, set srcdir=.
   1292 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1293   srcdir=.
   1294 fi
   1295 # Remove unnecessary trailing slashes from srcdir.
   1296 # Double slashes in file names in object file debugging info
   1297 # mess up M-x gdb in Emacs.
   1298 case $srcdir in
   1299 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1300 esac
   1301 for ac_var in $ac_precious_vars; do
   1302   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1303   eval ac_env_${ac_var}_value=\$${ac_var}
   1304   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1305   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1306 done
   1307 
   1308 #
   1309 # Report the --help message.
   1310 #
   1311 if test "$ac_init_help" = "long"; then
   1312   # Omit some internal or obsolete options to make the list less imposing.
   1313   # This message is too long to be a string in the A/UX 3.1 sh.
   1314   cat <<_ACEOF
   1315 \`configure' configures xmore 1.0.3 to adapt to many kinds of systems.
   1316 
   1317 Usage: $0 [OPTION]... [VAR=VALUE]...
   1318 
   1319 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1320 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1321 
   1322 Defaults for the options are specified in brackets.
   1323 
   1324 Configuration:
   1325   -h, --help              display this help and exit
   1326       --help=short        display options specific to this package
   1327       --help=recursive    display the short help of all the included packages
   1328   -V, --version           display version information and exit
   1329   -q, --quiet, --silent   do not print \`checking ...' messages
   1330       --cache-file=FILE   cache test results in FILE [disabled]
   1331   -C, --config-cache      alias for \`--cache-file=config.cache'
   1332   -n, --no-create         do not create output files
   1333       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1334 
   1335 Installation directories:
   1336   --prefix=PREFIX         install architecture-independent files in PREFIX
   1337                           [$ac_default_prefix]
   1338   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1339                           [PREFIX]
   1340 
   1341 By default, \`make install' will install all the files in
   1342 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1343 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1344 for instance \`--prefix=\$HOME'.
   1345 
   1346 For better control, use the options below.
   1347 
   1348 Fine tuning of the installation directories:
   1349   --bindir=DIR            user executables [EPREFIX/bin]
   1350   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1351   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1352   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1353   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1354   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1355   --libdir=DIR            object code libraries [EPREFIX/lib]
   1356   --includedir=DIR        C header files [PREFIX/include]
   1357   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1358   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1359   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1360   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1361   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1362   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1363   --docdir=DIR            documentation root [DATAROOTDIR/doc/xmore]
   1364   --htmldir=DIR           html documentation [DOCDIR]
   1365   --dvidir=DIR            dvi documentation [DOCDIR]
   1366   --pdfdir=DIR            pdf documentation [DOCDIR]
   1367   --psdir=DIR             ps documentation [DOCDIR]
   1368 _ACEOF
   1369 
   1370   cat <<\_ACEOF
   1371 
   1372 Program names:
   1373   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1374   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1375   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1376 
   1377 System types:
   1378   --build=BUILD     configure for building on BUILD [guessed]
   1379   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1380 _ACEOF
   1381 fi
   1382 
   1383 if test -n "$ac_init_help"; then
   1384   case $ac_init_help in
   1385      short | recursive ) echo "Configuration of xmore 1.0.3:";;
   1386    esac
   1387   cat <<\_ACEOF
   1388 
   1389 Optional Features:
   1390   --disable-option-checking  ignore unrecognized --enable/--with options
   1391   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1392   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1393   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1394   --disable-silent-rules  verbose build output (undo: "make V=0")
   1395   --enable-dependency-tracking
   1396                           do not reject slow dependency extractors
   1397   --disable-dependency-tracking
   1398                           speeds up one-time build
   1399   --disable-selective-werror
   1400                           Turn off selective compiler errors. (default:
   1401                           enabled)
   1402   --enable-strict-compilation
   1403                           Enable all warnings from compiler and make them
   1404                           errors (default: disabled)
   1405 
   1406 Optional Packages:
   1407   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1408   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1409   --with-appdefaultdir=<pathname>
   1410                           specify directory for app-defaults files (default is
   1411                           autodetected)
   1412 
   1413 Some influential environment variables:
   1414   CC          C compiler command
   1415   CFLAGS      C compiler flags
   1416   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1417               nonstandard directory <lib dir>
   1418   LIBS        libraries to pass to the linker, e.g. -l<library>
   1419   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1420               you have headers in a nonstandard directory <include dir>
   1421   CPP         C preprocessor
   1422   PKG_CONFIG  path to pkg-config utility
   1423   PKG_CONFIG_PATH
   1424               directories to add to pkg-config's search path
   1425   PKG_CONFIG_LIBDIR
   1426               path overriding pkg-config's built-in search path
   1427   XMORE_CFLAGS
   1428               C compiler flags for XMORE, overriding pkg-config
   1429   XMORE_LIBS  linker flags for XMORE, overriding pkg-config
   1430   APPDEFS_CFLAGS
   1431               C compiler flags for APPDEFS, overriding pkg-config
   1432   APPDEFS_LIBS
   1433               linker flags for APPDEFS, overriding pkg-config
   1434 
   1435 Use these variables to override the choices made by `configure' or to help
   1436 it to find libraries and programs with nonstandard names/locations.
   1437 
   1438 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xmore/issues>.
   1439 _ACEOF
   1440 ac_status=$?
   1441 fi
   1442 
   1443 if test "$ac_init_help" = "recursive"; then
   1444   # If there are subdirs, report their specific --help.
   1445   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1446     test -d "$ac_dir" ||
   1447       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1448       continue
   1449     ac_builddir=.
   1450 
   1451 case "$ac_dir" in
   1452 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1453 *)
   1454   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1455   # A ".." for each directory in $ac_dir_suffix.
   1456   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1457   case $ac_top_builddir_sub in
   1458   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1459   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1460   esac ;;
   1461 esac
   1462 ac_abs_top_builddir=$ac_pwd
   1463 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1464 # for backward compatibility:
   1465 ac_top_builddir=$ac_top_build_prefix
   1466 
   1467 case $srcdir in
   1468   .)  # We are building in place.
   1469     ac_srcdir=.
   1470     ac_top_srcdir=$ac_top_builddir_sub
   1471     ac_abs_top_srcdir=$ac_pwd ;;
   1472   [\\/]* | ?:[\\/]* )  # Absolute name.
   1473     ac_srcdir=$srcdir$ac_dir_suffix;
   1474     ac_top_srcdir=$srcdir
   1475     ac_abs_top_srcdir=$srcdir ;;
   1476   *) # Relative name.
   1477     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1478     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1479     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1480 esac
   1481 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1482 
   1483     cd "$ac_dir" || { ac_status=$?; continue; }
   1484     # Check for guested configure.
   1485     if test -f "$ac_srcdir/configure.gnu"; then
   1486       echo &&
   1487       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1488     elif test -f "$ac_srcdir/configure"; then
   1489       echo &&
   1490       $SHELL "$ac_srcdir/configure" --help=recursive
   1491     else
   1492       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1493     fi || ac_status=$?
   1494     cd "$ac_pwd" || { ac_status=$?; break; }
   1495   done
   1496 fi
   1497 
   1498 test -n "$ac_init_help" && exit $ac_status
   1499 if $ac_init_version; then
   1500   cat <<\_ACEOF
   1501 xmore configure 1.0.3
   1502 generated by GNU Autoconf 2.69
   1503 
   1504 Copyright (C) 2012 Free Software Foundation, Inc.
   1505 This configure script is free software; the Free Software Foundation
   1506 gives unlimited permission to copy, distribute and modify it.
   1507 _ACEOF
   1508   exit
   1509 fi
   1510 
   1511 ## ------------------------ ##
   1512 ## Autoconf initialization. ##
   1513 ## ------------------------ ##
   1514 
   1515 # ac_fn_c_try_compile LINENO
   1516 # --------------------------
   1517 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1518 ac_fn_c_try_compile ()
   1519 {
   1520   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1521   rm -f conftest.$ac_objext
   1522   if { { ac_try="$ac_compile"
   1523 case "(($ac_try" in
   1524   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1525   *) ac_try_echo=$ac_try;;
   1526 esac
   1527 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1528 $as_echo "$ac_try_echo"; } >&5
   1529   (eval "$ac_compile") 2>conftest.err
   1530   ac_status=$?
   1531   if test -s conftest.err; then
   1532     grep -v '^ *+' conftest.err >conftest.er1
   1533     cat conftest.er1 >&5
   1534     mv -f conftest.er1 conftest.err
   1535   fi
   1536   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1537   test $ac_status = 0; } && {
   1538 	 test -z "$ac_c_werror_flag" ||
   1539 	 test ! -s conftest.err
   1540        } && test -s conftest.$ac_objext; then :
   1541   ac_retval=0
   1542 else
   1543   $as_echo "$as_me: failed program was:" >&5
   1544 sed 's/^/| /' conftest.$ac_ext >&5
   1545 
   1546 	ac_retval=1
   1547 fi
   1548   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1549   as_fn_set_status $ac_retval
   1550 
   1551 } # ac_fn_c_try_compile
   1552 
   1553 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1554 # ---------------------------------------------
   1555 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1556 # accordingly.
   1557 ac_fn_c_check_decl ()
   1558 {
   1559   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1560   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1561   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1562   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1563 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1564 if eval \${$3+:} false; then :
   1565   $as_echo_n "(cached) " >&6
   1566 else
   1567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1568 /* end confdefs.h.  */
   1569 $4
   1570 int
   1571 main ()
   1572 {
   1573 #ifndef $as_decl_name
   1574 #ifdef __cplusplus
   1575   (void) $as_decl_use;
   1576 #else
   1577   (void) $as_decl_name;
   1578 #endif
   1579 #endif
   1580 
   1581   ;
   1582   return 0;
   1583 }
   1584 _ACEOF
   1585 if ac_fn_c_try_compile "$LINENO"; then :
   1586   eval "$3=yes"
   1587 else
   1588   eval "$3=no"
   1589 fi
   1590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1591 fi
   1592 eval ac_res=\$$3
   1593 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1594 $as_echo "$ac_res" >&6; }
   1595   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1596 
   1597 } # ac_fn_c_check_decl
   1598 
   1599 # ac_fn_c_try_cpp LINENO
   1600 # ----------------------
   1601 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1602 ac_fn_c_try_cpp ()
   1603 {
   1604   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1605   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1606 case "(($ac_try" in
   1607   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1608   *) ac_try_echo=$ac_try;;
   1609 esac
   1610 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1611 $as_echo "$ac_try_echo"; } >&5
   1612   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1613   ac_status=$?
   1614   if test -s conftest.err; then
   1615     grep -v '^ *+' conftest.err >conftest.er1
   1616     cat conftest.er1 >&5
   1617     mv -f conftest.er1 conftest.err
   1618   fi
   1619   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1620   test $ac_status = 0; } > conftest.i && {
   1621 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1622 	 test ! -s conftest.err
   1623        }; then :
   1624   ac_retval=0
   1625 else
   1626   $as_echo "$as_me: failed program was:" >&5
   1627 sed 's/^/| /' conftest.$ac_ext >&5
   1628 
   1629     ac_retval=1
   1630 fi
   1631   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1632   as_fn_set_status $ac_retval
   1633 
   1634 } # ac_fn_c_try_cpp
   1635 
   1636 # ac_fn_c_try_run LINENO
   1637 # ----------------------
   1638 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1639 # that executables *can* be run.
   1640 ac_fn_c_try_run ()
   1641 {
   1642   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1643   if { { ac_try="$ac_link"
   1644 case "(($ac_try" in
   1645   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1646   *) ac_try_echo=$ac_try;;
   1647 esac
   1648 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1649 $as_echo "$ac_try_echo"; } >&5
   1650   (eval "$ac_link") 2>&5
   1651   ac_status=$?
   1652   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1653   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1654   { { case "(($ac_try" in
   1655   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1656   *) ac_try_echo=$ac_try;;
   1657 esac
   1658 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1659 $as_echo "$ac_try_echo"; } >&5
   1660   (eval "$ac_try") 2>&5
   1661   ac_status=$?
   1662   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1663   test $ac_status = 0; }; }; then :
   1664   ac_retval=0
   1665 else
   1666   $as_echo "$as_me: program exited with status $ac_status" >&5
   1667        $as_echo "$as_me: failed program was:" >&5
   1668 sed 's/^/| /' conftest.$ac_ext >&5
   1669 
   1670        ac_retval=$ac_status
   1671 fi
   1672   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1673   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1674   as_fn_set_status $ac_retval
   1675 
   1676 } # ac_fn_c_try_run
   1677 
   1678 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1679 # -------------------------------------------------------
   1680 # Tests whether HEADER exists and can be compiled using the include files in
   1681 # INCLUDES, setting the cache variable VAR accordingly.
   1682 ac_fn_c_check_header_compile ()
   1683 {
   1684   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1685   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1686 $as_echo_n "checking for $2... " >&6; }
   1687 if eval \${$3+:} false; then :
   1688   $as_echo_n "(cached) " >&6
   1689 else
   1690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1691 /* end confdefs.h.  */
   1692 $4
   1693 #include <$2>
   1694 _ACEOF
   1695 if ac_fn_c_try_compile "$LINENO"; then :
   1696   eval "$3=yes"
   1697 else
   1698   eval "$3=no"
   1699 fi
   1700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1701 fi
   1702 eval ac_res=\$$3
   1703 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1704 $as_echo "$ac_res" >&6; }
   1705   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1706 
   1707 } # ac_fn_c_check_header_compile
   1708 
   1709 # ac_fn_c_try_link LINENO
   1710 # -----------------------
   1711 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1712 ac_fn_c_try_link ()
   1713 {
   1714   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1715   rm -f conftest.$ac_objext conftest$ac_exeext
   1716   if { { ac_try="$ac_link"
   1717 case "(($ac_try" in
   1718   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1719   *) ac_try_echo=$ac_try;;
   1720 esac
   1721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1722 $as_echo "$ac_try_echo"; } >&5
   1723   (eval "$ac_link") 2>conftest.err
   1724   ac_status=$?
   1725   if test -s conftest.err; then
   1726     grep -v '^ *+' conftest.err >conftest.er1
   1727     cat conftest.er1 >&5
   1728     mv -f conftest.er1 conftest.err
   1729   fi
   1730   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1731   test $ac_status = 0; } && {
   1732 	 test -z "$ac_c_werror_flag" ||
   1733 	 test ! -s conftest.err
   1734        } && test -s conftest$ac_exeext && {
   1735 	 test "$cross_compiling" = yes ||
   1736 	 test -x conftest$ac_exeext
   1737        }; then :
   1738   ac_retval=0
   1739 else
   1740   $as_echo "$as_me: failed program was:" >&5
   1741 sed 's/^/| /' conftest.$ac_ext >&5
   1742 
   1743 	ac_retval=1
   1744 fi
   1745   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1746   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1747   # interfere with the next link command; also delete a directory that is
   1748   # left behind by Apple's compiler.  We do this before executing the actions.
   1749   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1750   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1751   as_fn_set_status $ac_retval
   1752 
   1753 } # ac_fn_c_try_link
   1754 cat >config.log <<_ACEOF
   1755 This file contains any messages produced by compilers while
   1756 running configure, to aid debugging if configure makes a mistake.
   1757 
   1758 It was created by xmore $as_me 1.0.3, which was
   1759 generated by GNU Autoconf 2.69.  Invocation command line was
   1760 
   1761   $ $0 $@
   1762 
   1763 _ACEOF
   1764 exec 5>>config.log
   1765 {
   1766 cat <<_ASUNAME
   1767 ## --------- ##
   1768 ## Platform. ##
   1769 ## --------- ##
   1770 
   1771 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1772 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1773 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1774 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1775 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1776 
   1777 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1778 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1779 
   1780 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1781 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1782 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1783 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1784 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1785 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1786 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1787 
   1788 _ASUNAME
   1789 
   1790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1791 for as_dir in $PATH
   1792 do
   1793   IFS=$as_save_IFS
   1794   test -z "$as_dir" && as_dir=.
   1795     $as_echo "PATH: $as_dir"
   1796   done
   1797 IFS=$as_save_IFS
   1798 
   1799 } >&5
   1800 
   1801 cat >&5 <<_ACEOF
   1802 
   1803 
   1804 ## ----------- ##
   1805 ## Core tests. ##
   1806 ## ----------- ##
   1807 
   1808 _ACEOF
   1809 
   1810 
   1811 # Keep a trace of the command line.
   1812 # Strip out --no-create and --no-recursion so they do not pile up.
   1813 # Strip out --silent because we don't want to record it for future runs.
   1814 # Also quote any args containing shell meta-characters.
   1815 # Make two passes to allow for proper duplicate-argument suppression.
   1816 ac_configure_args=
   1817 ac_configure_args0=
   1818 ac_configure_args1=
   1819 ac_must_keep_next=false
   1820 for ac_pass in 1 2
   1821 do
   1822   for ac_arg
   1823   do
   1824     case $ac_arg in
   1825     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1826     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1827     | -silent | --silent | --silen | --sile | --sil)
   1828       continue ;;
   1829     *\'*)
   1830       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1831     esac
   1832     case $ac_pass in
   1833     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1834     2)
   1835       as_fn_append ac_configure_args1 " '$ac_arg'"
   1836       if test $ac_must_keep_next = true; then
   1837 	ac_must_keep_next=false # Got value, back to normal.
   1838       else
   1839 	case $ac_arg in
   1840 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1841 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1842 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1843 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1844 	    case "$ac_configure_args0 " in
   1845 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1846 	    esac
   1847 	    ;;
   1848 	  -* ) ac_must_keep_next=true ;;
   1849 	esac
   1850       fi
   1851       as_fn_append ac_configure_args " '$ac_arg'"
   1852       ;;
   1853     esac
   1854   done
   1855 done
   1856 { ac_configure_args0=; unset ac_configure_args0;}
   1857 { ac_configure_args1=; unset ac_configure_args1;}
   1858 
   1859 # When interrupted or exit'd, cleanup temporary files, and complete
   1860 # config.log.  We remove comments because anyway the quotes in there
   1861 # would cause problems or look ugly.
   1862 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1863 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1864 trap 'exit_status=$?
   1865   # Save into config.log some information that might help in debugging.
   1866   {
   1867     echo
   1868 
   1869     $as_echo "## ---------------- ##
   1870 ## Cache variables. ##
   1871 ## ---------------- ##"
   1872     echo
   1873     # The following way of writing the cache mishandles newlines in values,
   1874 (
   1875   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1876     eval ac_val=\$$ac_var
   1877     case $ac_val in #(
   1878     *${as_nl}*)
   1879       case $ac_var in #(
   1880       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1881 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1882       esac
   1883       case $ac_var in #(
   1884       _ | IFS | as_nl) ;; #(
   1885       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1886       *) { eval $ac_var=; unset $ac_var;} ;;
   1887       esac ;;
   1888     esac
   1889   done
   1890   (set) 2>&1 |
   1891     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1892     *${as_nl}ac_space=\ *)
   1893       sed -n \
   1894 	"s/'\''/'\''\\\\'\'''\''/g;
   1895 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1896       ;; #(
   1897     *)
   1898       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1899       ;;
   1900     esac |
   1901     sort
   1902 )
   1903     echo
   1904 
   1905     $as_echo "## ----------------- ##
   1906 ## Output variables. ##
   1907 ## ----------------- ##"
   1908     echo
   1909     for ac_var in $ac_subst_vars
   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 
   1919     if test -n "$ac_subst_files"; then
   1920       $as_echo "## ------------------- ##
   1921 ## File substitutions. ##
   1922 ## ------------------- ##"
   1923       echo
   1924       for ac_var in $ac_subst_files
   1925       do
   1926 	eval ac_val=\$$ac_var
   1927 	case $ac_val in
   1928 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1929 	esac
   1930 	$as_echo "$ac_var='\''$ac_val'\''"
   1931       done | sort
   1932       echo
   1933     fi
   1934 
   1935     if test -s confdefs.h; then
   1936       $as_echo "## ----------- ##
   1937 ## confdefs.h. ##
   1938 ## ----------- ##"
   1939       echo
   1940       cat confdefs.h
   1941       echo
   1942     fi
   1943     test "$ac_signal" != 0 &&
   1944       $as_echo "$as_me: caught signal $ac_signal"
   1945     $as_echo "$as_me: exit $exit_status"
   1946   } >&5
   1947   rm -f core *.core core.conftest.* &&
   1948     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1949     exit $exit_status
   1950 ' 0
   1951 for ac_signal in 1 2 13 15; do
   1952   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1953 done
   1954 ac_signal=0
   1955 
   1956 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1957 rm -f -r conftest* confdefs.h
   1958 
   1959 $as_echo "/* confdefs.h */" > confdefs.h
   1960 
   1961 # Predefined preprocessor variables.
   1962 
   1963 cat >>confdefs.h <<_ACEOF
   1964 #define PACKAGE_NAME "$PACKAGE_NAME"
   1965 _ACEOF
   1966 
   1967 cat >>confdefs.h <<_ACEOF
   1968 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1969 _ACEOF
   1970 
   1971 cat >>confdefs.h <<_ACEOF
   1972 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1973 _ACEOF
   1974 
   1975 cat >>confdefs.h <<_ACEOF
   1976 #define PACKAGE_STRING "$PACKAGE_STRING"
   1977 _ACEOF
   1978 
   1979 cat >>confdefs.h <<_ACEOF
   1980 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1981 _ACEOF
   1982 
   1983 cat >>confdefs.h <<_ACEOF
   1984 #define PACKAGE_URL "$PACKAGE_URL"
   1985 _ACEOF
   1986 
   1987 
   1988 # Let the site file select an alternate cache file if it wants to.
   1989 # Prefer an explicitly selected file to automatically selected ones.
   1990 ac_site_file1=NONE
   1991 ac_site_file2=NONE
   1992 if test -n "$CONFIG_SITE"; then
   1993   # We do not want a PATH search for config.site.
   1994   case $CONFIG_SITE in #((
   1995     -*)  ac_site_file1=./$CONFIG_SITE;;
   1996     */*) ac_site_file1=$CONFIG_SITE;;
   1997     *)   ac_site_file1=./$CONFIG_SITE;;
   1998   esac
   1999 elif test "x$prefix" != xNONE; then
   2000   ac_site_file1=$prefix/share/config.site
   2001   ac_site_file2=$prefix/etc/config.site
   2002 else
   2003   ac_site_file1=$ac_default_prefix/share/config.site
   2004   ac_site_file2=$ac_default_prefix/etc/config.site
   2005 fi
   2006 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2007 do
   2008   test "x$ac_site_file" = xNONE && continue
   2009   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2010     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2011 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2012     sed 's/^/| /' "$ac_site_file" >&5
   2013     . "$ac_site_file" \
   2014       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2015 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2016 as_fn_error $? "failed to load site script $ac_site_file
   2017 See \`config.log' for more details" "$LINENO" 5; }
   2018   fi
   2019 done
   2020 
   2021 if test -r "$cache_file"; then
   2022   # Some versions of bash will fail to source /dev/null (special files
   2023   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2024   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2025     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2026 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2027     case $cache_file in
   2028       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2029       *)                      . "./$cache_file";;
   2030     esac
   2031   fi
   2032 else
   2033   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2034 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2035   >$cache_file
   2036 fi
   2037 
   2038 # Check that the precious variables saved in the cache have kept the same
   2039 # value.
   2040 ac_cache_corrupted=false
   2041 for ac_var in $ac_precious_vars; do
   2042   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2043   eval ac_new_set=\$ac_env_${ac_var}_set
   2044   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2045   eval ac_new_val=\$ac_env_${ac_var}_value
   2046   case $ac_old_set,$ac_new_set in
   2047     set,)
   2048       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2049 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2050       ac_cache_corrupted=: ;;
   2051     ,set)
   2052       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2053 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2054       ac_cache_corrupted=: ;;
   2055     ,);;
   2056     *)
   2057       if test "x$ac_old_val" != "x$ac_new_val"; then
   2058 	# differences in whitespace do not lead to failure.
   2059 	ac_old_val_w=`echo x $ac_old_val`
   2060 	ac_new_val_w=`echo x $ac_new_val`
   2061 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2062 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2063 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2064 	  ac_cache_corrupted=:
   2065 	else
   2066 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2067 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2068 	  eval $ac_var=\$ac_old_val
   2069 	fi
   2070 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2071 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2072 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2073 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2074       fi;;
   2075   esac
   2076   # Pass precious variables to config.status.
   2077   if test "$ac_new_set" = set; then
   2078     case $ac_new_val in
   2079     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2080     *) ac_arg=$ac_var=$ac_new_val ;;
   2081     esac
   2082     case " $ac_configure_args " in
   2083       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2084       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2085     esac
   2086   fi
   2087 done
   2088 if $ac_cache_corrupted; then
   2089   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2090 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2091   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2092 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2093   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2094 fi
   2095 ## -------------------- ##
   2096 ## Main body of script. ##
   2097 ## -------------------- ##
   2098 
   2099 ac_ext=c
   2100 ac_cpp='$CPP $CPPFLAGS'
   2101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2104 
   2105 
   2106 am__api_version='1.15'
   2107 
   2108 ac_aux_dir=
   2109 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2110   if test -f "$ac_dir/install-sh"; then
   2111     ac_aux_dir=$ac_dir
   2112     ac_install_sh="$ac_aux_dir/install-sh -c"
   2113     break
   2114   elif test -f "$ac_dir/install.sh"; then
   2115     ac_aux_dir=$ac_dir
   2116     ac_install_sh="$ac_aux_dir/install.sh -c"
   2117     break
   2118   elif test -f "$ac_dir/shtool"; then
   2119     ac_aux_dir=$ac_dir
   2120     ac_install_sh="$ac_aux_dir/shtool install -c"
   2121     break
   2122   fi
   2123 done
   2124 if test -z "$ac_aux_dir"; then
   2125   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2126 fi
   2127 
   2128 # These three variables are undocumented and unsupported,
   2129 # and are intended to be withdrawn in a future Autoconf release.
   2130 # They can cause serious problems if a builder's source tree is in a directory
   2131 # whose full name contains unusual characters.
   2132 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2133 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2134 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2135 
   2136 
   2137 # Find a good install program.  We prefer a C program (faster),
   2138 # so one script is as good as another.  But avoid the broken or
   2139 # incompatible versions:
   2140 # SysV /etc/install, /usr/sbin/install
   2141 # SunOS /usr/etc/install
   2142 # IRIX /sbin/install
   2143 # AIX /bin/install
   2144 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2145 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2146 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2147 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2148 # OS/2's system install, which has a completely different semantic
   2149 # ./install, which can be erroneously created by make from ./install.sh.
   2150 # Reject install programs that cannot install multiple files.
   2151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2152 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2153 if test -z "$INSTALL"; then
   2154 if ${ac_cv_path_install+:} false; then :
   2155   $as_echo_n "(cached) " >&6
   2156 else
   2157   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2158 for as_dir in $PATH
   2159 do
   2160   IFS=$as_save_IFS
   2161   test -z "$as_dir" && as_dir=.
   2162     # Account for people who put trailing slashes in PATH elements.
   2163 case $as_dir/ in #((
   2164   ./ | .// | /[cC]/* | \
   2165   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2166   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2167   /usr/ucb/* ) ;;
   2168   *)
   2169     # OSF1 and SCO ODT 3.0 have their own names for install.
   2170     # Don't use installbsd from OSF since it installs stuff as root
   2171     # by default.
   2172     for ac_prog in ginstall scoinst install; do
   2173       for ac_exec_ext in '' $ac_executable_extensions; do
   2174 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2175 	  if test $ac_prog = install &&
   2176 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2177 	    # AIX install.  It has an incompatible calling convention.
   2178 	    :
   2179 	  elif test $ac_prog = install &&
   2180 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2181 	    # program-specific install script used by HP pwplus--don't use.
   2182 	    :
   2183 	  else
   2184 	    rm -rf conftest.one conftest.two conftest.dir
   2185 	    echo one > conftest.one
   2186 	    echo two > conftest.two
   2187 	    mkdir conftest.dir
   2188 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2189 	      test -s conftest.one && test -s conftest.two &&
   2190 	      test -s conftest.dir/conftest.one &&
   2191 	      test -s conftest.dir/conftest.two
   2192 	    then
   2193 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2194 	      break 3
   2195 	    fi
   2196 	  fi
   2197 	fi
   2198       done
   2199     done
   2200     ;;
   2201 esac
   2202 
   2203   done
   2204 IFS=$as_save_IFS
   2205 
   2206 rm -rf conftest.one conftest.two conftest.dir
   2207 
   2208 fi
   2209   if test "${ac_cv_path_install+set}" = set; then
   2210     INSTALL=$ac_cv_path_install
   2211   else
   2212     # As a last resort, use the slow shell script.  Don't cache a
   2213     # value for INSTALL within a source directory, because that will
   2214     # break other packages using the cache if that directory is
   2215     # removed, or if the value is a relative name.
   2216     INSTALL=$ac_install_sh
   2217   fi
   2218 fi
   2219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2220 $as_echo "$INSTALL" >&6; }
   2221 
   2222 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2223 # It thinks the first close brace ends the variable substitution.
   2224 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2225 
   2226 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2227 
   2228 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2229 
   2230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2231 $as_echo_n "checking whether build environment is sane... " >&6; }
   2232 # Reject unsafe characters in $srcdir or the absolute working directory
   2233 # name.  Accept space and tab only in the latter.
   2234 am_lf='
   2235 '
   2236 case `pwd` in
   2237   *[\\\"\#\$\&\'\`$am_lf]*)
   2238     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2239 esac
   2240 case $srcdir in
   2241   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2242     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2243 esac
   2244 
   2245 # Do 'set' in a subshell so we don't clobber the current shell's
   2246 # arguments.  Must try -L first in case configure is actually a
   2247 # symlink; some systems play weird games with the mod time of symlinks
   2248 # (eg FreeBSD returns the mod time of the symlink's containing
   2249 # directory).
   2250 if (
   2251    am_has_slept=no
   2252    for am_try in 1 2; do
   2253      echo "timestamp, slept: $am_has_slept" > conftest.file
   2254      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2255      if test "$*" = "X"; then
   2256 	# -L didn't work.
   2257 	set X `ls -t "$srcdir/configure" conftest.file`
   2258      fi
   2259      if test "$*" != "X $srcdir/configure conftest.file" \
   2260 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2261 
   2262 	# If neither matched, then we have a broken ls.  This can happen
   2263 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2264 	# broken ls alias from the environment.  This has actually
   2265 	# happened.  Such a system could not be considered "sane".
   2266 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2267   alias in your environment" "$LINENO" 5
   2268      fi
   2269      if test "$2" = conftest.file || test $am_try -eq 2; then
   2270        break
   2271      fi
   2272      # Just in case.
   2273      sleep 1
   2274      am_has_slept=yes
   2275    done
   2276    test "$2" = conftest.file
   2277    )
   2278 then
   2279    # Ok.
   2280    :
   2281 else
   2282    as_fn_error $? "newly created file is older than distributed files!
   2283 Check your system clock" "$LINENO" 5
   2284 fi
   2285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2286 $as_echo "yes" >&6; }
   2287 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2288 # generated files are strictly newer.
   2289 am_sleep_pid=
   2290 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2291   ( sleep 1 ) &
   2292   am_sleep_pid=$!
   2293 fi
   2294 
   2295 rm -f conftest.file
   2296 
   2297 test "$program_prefix" != NONE &&
   2298   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2299 # Use a double $ so make ignores it.
   2300 test "$program_suffix" != NONE &&
   2301   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2302 # Double any \ or $.
   2303 # By default was `s,x,x', remove it if useless.
   2304 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2305 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2306 
   2307 # Expand $ac_aux_dir to an absolute path.
   2308 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2309 
   2310 if test x"${MISSING+set}" != xset; then
   2311   case $am_aux_dir in
   2312   *\ * | *\	*)
   2313     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2314   *)
   2315     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2316   esac
   2317 fi
   2318 # Use eval to expand $SHELL
   2319 if eval "$MISSING --is-lightweight"; then
   2320   am_missing_run="$MISSING "
   2321 else
   2322   am_missing_run=
   2323   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2324 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2325 fi
   2326 
   2327 if test x"${install_sh+set}" != xset; then
   2328   case $am_aux_dir in
   2329   *\ * | *\	*)
   2330     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2331   *)
   2332     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2333   esac
   2334 fi
   2335 
   2336 # Installed binaries are usually stripped using 'strip' when the user
   2337 # run "make install-strip".  However 'strip' might not be the right
   2338 # tool to use in cross-compilation environments, therefore Automake
   2339 # will honor the 'STRIP' environment variable to overrule this program.
   2340 if test "$cross_compiling" != no; then
   2341   if test -n "$ac_tool_prefix"; then
   2342   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2343 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2345 $as_echo_n "checking for $ac_word... " >&6; }
   2346 if ${ac_cv_prog_STRIP+:} false; then :
   2347   $as_echo_n "(cached) " >&6
   2348 else
   2349   if test -n "$STRIP"; then
   2350   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2351 else
   2352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2353 for as_dir in $PATH
   2354 do
   2355   IFS=$as_save_IFS
   2356   test -z "$as_dir" && as_dir=.
   2357     for ac_exec_ext in '' $ac_executable_extensions; do
   2358   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2359     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2360     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2361     break 2
   2362   fi
   2363 done
   2364   done
   2365 IFS=$as_save_IFS
   2366 
   2367 fi
   2368 fi
   2369 STRIP=$ac_cv_prog_STRIP
   2370 if test -n "$STRIP"; then
   2371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2372 $as_echo "$STRIP" >&6; }
   2373 else
   2374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2375 $as_echo "no" >&6; }
   2376 fi
   2377 
   2378 
   2379 fi
   2380 if test -z "$ac_cv_prog_STRIP"; then
   2381   ac_ct_STRIP=$STRIP
   2382   # Extract the first word of "strip", so it can be a program name with args.
   2383 set dummy strip; ac_word=$2
   2384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2385 $as_echo_n "checking for $ac_word... " >&6; }
   2386 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2387   $as_echo_n "(cached) " >&6
   2388 else
   2389   if test -n "$ac_ct_STRIP"; then
   2390   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2391 else
   2392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2393 for as_dir in $PATH
   2394 do
   2395   IFS=$as_save_IFS
   2396   test -z "$as_dir" && as_dir=.
   2397     for ac_exec_ext in '' $ac_executable_extensions; do
   2398   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2399     ac_cv_prog_ac_ct_STRIP="strip"
   2400     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2401     break 2
   2402   fi
   2403 done
   2404   done
   2405 IFS=$as_save_IFS
   2406 
   2407 fi
   2408 fi
   2409 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2410 if test -n "$ac_ct_STRIP"; then
   2411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2412 $as_echo "$ac_ct_STRIP" >&6; }
   2413 else
   2414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2415 $as_echo "no" >&6; }
   2416 fi
   2417 
   2418   if test "x$ac_ct_STRIP" = x; then
   2419     STRIP=":"
   2420   else
   2421     case $cross_compiling:$ac_tool_warned in
   2422 yes:)
   2423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2424 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2425 ac_tool_warned=yes ;;
   2426 esac
   2427     STRIP=$ac_ct_STRIP
   2428   fi
   2429 else
   2430   STRIP="$ac_cv_prog_STRIP"
   2431 fi
   2432 
   2433 fi
   2434 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2435 
   2436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2437 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2438 if test -z "$MKDIR_P"; then
   2439   if ${ac_cv_path_mkdir+:} false; then :
   2440   $as_echo_n "(cached) " >&6
   2441 else
   2442   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2443 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2444 do
   2445   IFS=$as_save_IFS
   2446   test -z "$as_dir" && as_dir=.
   2447     for ac_prog in mkdir gmkdir; do
   2448 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2449 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2450 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2451 	     'mkdir (GNU coreutils) '* | \
   2452 	     'mkdir (coreutils) '* | \
   2453 	     'mkdir (fileutils) '4.1*)
   2454 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2455 	       break 3;;
   2456 	   esac
   2457 	 done
   2458        done
   2459   done
   2460 IFS=$as_save_IFS
   2461 
   2462 fi
   2463 
   2464   test -d ./--version && rmdir ./--version
   2465   if test "${ac_cv_path_mkdir+set}" = set; then
   2466     MKDIR_P="$ac_cv_path_mkdir -p"
   2467   else
   2468     # As a last resort, use the slow shell script.  Don't cache a
   2469     # value for MKDIR_P within a source directory, because that will
   2470     # break other packages using the cache if that directory is
   2471     # removed, or if the value is a relative name.
   2472     MKDIR_P="$ac_install_sh -d"
   2473   fi
   2474 fi
   2475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2476 $as_echo "$MKDIR_P" >&6; }
   2477 
   2478 for ac_prog in gawk mawk nawk awk
   2479 do
   2480   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2481 set dummy $ac_prog; ac_word=$2
   2482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2483 $as_echo_n "checking for $ac_word... " >&6; }
   2484 if ${ac_cv_prog_AWK+:} false; then :
   2485   $as_echo_n "(cached) " >&6
   2486 else
   2487   if test -n "$AWK"; then
   2488   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2489 else
   2490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2491 for as_dir in $PATH
   2492 do
   2493   IFS=$as_save_IFS
   2494   test -z "$as_dir" && as_dir=.
   2495     for ac_exec_ext in '' $ac_executable_extensions; do
   2496   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2497     ac_cv_prog_AWK="$ac_prog"
   2498     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2499     break 2
   2500   fi
   2501 done
   2502   done
   2503 IFS=$as_save_IFS
   2504 
   2505 fi
   2506 fi
   2507 AWK=$ac_cv_prog_AWK
   2508 if test -n "$AWK"; then
   2509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2510 $as_echo "$AWK" >&6; }
   2511 else
   2512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2513 $as_echo "no" >&6; }
   2514 fi
   2515 
   2516 
   2517   test -n "$AWK" && break
   2518 done
   2519 
   2520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2521 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2522 set x ${MAKE-make}
   2523 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2524 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2525   $as_echo_n "(cached) " >&6
   2526 else
   2527   cat >conftest.make <<\_ACEOF
   2528 SHELL = /bin/sh
   2529 all:
   2530 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2531 _ACEOF
   2532 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2533 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2534   *@@@%%%=?*=@@@%%%*)
   2535     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2536   *)
   2537     eval ac_cv_prog_make_${ac_make}_set=no;;
   2538 esac
   2539 rm -f conftest.make
   2540 fi
   2541 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2543 $as_echo "yes" >&6; }
   2544   SET_MAKE=
   2545 else
   2546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2547 $as_echo "no" >&6; }
   2548   SET_MAKE="MAKE=${MAKE-make}"
   2549 fi
   2550 
   2551 rm -rf .tst 2>/dev/null
   2552 mkdir .tst 2>/dev/null
   2553 if test -d .tst; then
   2554   am__leading_dot=.
   2555 else
   2556   am__leading_dot=_
   2557 fi
   2558 rmdir .tst 2>/dev/null
   2559 
   2560 # Check whether --enable-silent-rules was given.
   2561 if test "${enable_silent_rules+set}" = set; then :
   2562   enableval=$enable_silent_rules;
   2563 fi
   2564 
   2565 case $enable_silent_rules in # (((
   2566   yes) AM_DEFAULT_VERBOSITY=0;;
   2567    no) AM_DEFAULT_VERBOSITY=1;;
   2568     *) AM_DEFAULT_VERBOSITY=1;;
   2569 esac
   2570 am_make=${MAKE-make}
   2571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2572 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2573 if ${am_cv_make_support_nested_variables+:} false; then :
   2574   $as_echo_n "(cached) " >&6
   2575 else
   2576   if $as_echo 'TRUE=$(BAR$(V))
   2577 BAR0=false
   2578 BAR1=true
   2579 V=1
   2580 am__doit:
   2581 	@$(TRUE)
   2582 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2583   am_cv_make_support_nested_variables=yes
   2584 else
   2585   am_cv_make_support_nested_variables=no
   2586 fi
   2587 fi
   2588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2589 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2590 if test $am_cv_make_support_nested_variables = yes; then
   2591     AM_V='$(V)'
   2592   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2593 else
   2594   AM_V=$AM_DEFAULT_VERBOSITY
   2595   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2596 fi
   2597 AM_BACKSLASH='\'
   2598 
   2599 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2600   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2601   # is not polluted with repeated "-I."
   2602   am__isrc=' -I$(srcdir)'
   2603   # test to see if srcdir already configured
   2604   if test -f $srcdir/config.status; then
   2605     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2606   fi
   2607 fi
   2608 
   2609 # test whether we have cygpath
   2610 if test -z "$CYGPATH_W"; then
   2611   if (cygpath --version) >/dev/null 2>/dev/null; then
   2612     CYGPATH_W='cygpath -w'
   2613   else
   2614     CYGPATH_W=echo
   2615   fi
   2616 fi
   2617 
   2618 
   2619 # Define the identity of the package.
   2620  PACKAGE='xmore'
   2621  VERSION='1.0.3'
   2622 
   2623 
   2624 cat >>confdefs.h <<_ACEOF
   2625 #define PACKAGE "$PACKAGE"
   2626 _ACEOF
   2627 
   2628 
   2629 cat >>confdefs.h <<_ACEOF
   2630 #define VERSION "$VERSION"
   2631 _ACEOF
   2632 
   2633 # Some tools Automake needs.
   2634 
   2635 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2636 
   2637 
   2638 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2639 
   2640 
   2641 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2642 
   2643 
   2644 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2645 
   2646 
   2647 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2648 
   2649 # For better backward compatibility.  To be removed once Automake 1.9.x
   2650 # dies out for good.  For more background, see:
   2651 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2652 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2653 mkdir_p='$(MKDIR_P)'
   2654 
   2655 # We need awk for the "check" target (and possibly the TAP driver).  The
   2656 # system "awk" is bad on some platforms.
   2657 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2658 # in the wild :-(  We should find a proper way to deprecate it ...
   2659 AMTAR='$${TAR-tar}'
   2660 
   2661 
   2662 # We'll loop over all known methods to create a tar archive until one works.
   2663 _am_tools='gnutar  pax cpio none'
   2664 
   2665 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2666 
   2667 
   2668 
   2669 
   2670 
   2671 
   2672 # POSIX will say in a future version that running "rm -f" with no argument
   2673 # is OK; and we want to be able to make that assumption in our Makefile
   2674 # recipes.  So use an aggressive probe to check that the usage we want is
   2675 # actually supported "in the wild" to an acceptable degree.
   2676 # See automake bug#10828.
   2677 # To make any issue more visible, cause the running configure to be aborted
   2678 # by default if the 'rm' program in use doesn't match our expectations; the
   2679 # user can still override this though.
   2680 if rm -f && rm -fr && rm -rf; then : OK; else
   2681   cat >&2 <<'END'
   2682 Oops!
   2683 
   2684 Your 'rm' program seems unable to run without file operands specified
   2685 on the command line, even when the '-f' option is present.  This is contrary
   2686 to the behaviour of most rm programs out there, and not conforming with
   2687 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2688 
   2689 Please tell bug-automake@gnu.org about your system, including the value
   2690 of your $PATH and any error possibly output before this message.  This
   2691 can help us improve future automake versions.
   2692 
   2693 END
   2694   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2695     echo 'Configuration will proceed anyway, since you have set the' >&2
   2696     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2697     echo >&2
   2698   else
   2699     cat >&2 <<'END'
   2700 Aborting the configuration process, to ensure you take notice of the issue.
   2701 
   2702 You can download and install GNU coreutils to get an 'rm' implementation
   2703 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2704 
   2705 If you want to complete the configuration process using your problematic
   2706 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2707 to "yes", and re-run configure.
   2708 
   2709 END
   2710     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2711   fi
   2712 fi
   2713 
   2714 
   2715 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2716 
   2717 
   2718 
   2719 
   2720 
   2721 
   2722 
   2723 
   2724 
   2725 
   2726 
   2727 DEPDIR="${am__leading_dot}deps"
   2728 
   2729 ac_config_commands="$ac_config_commands depfiles"
   2730 
   2731 
   2732 am_make=${MAKE-make}
   2733 cat > confinc << 'END'
   2734 am__doit:
   2735 	@echo this is the am__doit target
   2736 .PHONY: am__doit
   2737 END
   2738 # If we don't find an include directive, just comment out the code.
   2739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2740 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2741 am__include="#"
   2742 am__quote=
   2743 _am_result=none
   2744 # First try GNU make style include.
   2745 echo "include confinc" > confmf
   2746 # Ignore all kinds of additional output from 'make'.
   2747 case `$am_make -s -f confmf 2> /dev/null` in #(
   2748 *the\ am__doit\ target*)
   2749   am__include=include
   2750   am__quote=
   2751   _am_result=GNU
   2752   ;;
   2753 esac
   2754 # Now try BSD make style include.
   2755 if test "$am__include" = "#"; then
   2756    echo '.include "confinc"' > confmf
   2757    case `$am_make -s -f confmf 2> /dev/null` in #(
   2758    *the\ am__doit\ target*)
   2759      am__include=.include
   2760      am__quote="\""
   2761      _am_result=BSD
   2762      ;;
   2763    esac
   2764 fi
   2765 
   2766 
   2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2768 $as_echo "$_am_result" >&6; }
   2769 rm -f confinc confmf
   2770 
   2771 # Check whether --enable-dependency-tracking was given.
   2772 if test "${enable_dependency_tracking+set}" = set; then :
   2773   enableval=$enable_dependency_tracking;
   2774 fi
   2775 
   2776 if test "x$enable_dependency_tracking" != xno; then
   2777   am_depcomp="$ac_aux_dir/depcomp"
   2778   AMDEPBACKSLASH='\'
   2779   am__nodep='_no'
   2780 fi
   2781  if test "x$enable_dependency_tracking" != xno; then
   2782   AMDEP_TRUE=
   2783   AMDEP_FALSE='#'
   2784 else
   2785   AMDEP_TRUE='#'
   2786   AMDEP_FALSE=
   2787 fi
   2788 
   2789 
   2790 ac_ext=c
   2791 ac_cpp='$CPP $CPPFLAGS'
   2792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2795 if test -n "$ac_tool_prefix"; then
   2796   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2797 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2799 $as_echo_n "checking for $ac_word... " >&6; }
   2800 if ${ac_cv_prog_CC+:} false; then :
   2801   $as_echo_n "(cached) " >&6
   2802 else
   2803   if test -n "$CC"; then
   2804   ac_cv_prog_CC="$CC" # Let the user override the test.
   2805 else
   2806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2807 for as_dir in $PATH
   2808 do
   2809   IFS=$as_save_IFS
   2810   test -z "$as_dir" && as_dir=.
   2811     for ac_exec_ext in '' $ac_executable_extensions; do
   2812   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2813     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2814     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2815     break 2
   2816   fi
   2817 done
   2818   done
   2819 IFS=$as_save_IFS
   2820 
   2821 fi
   2822 fi
   2823 CC=$ac_cv_prog_CC
   2824 if test -n "$CC"; then
   2825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2826 $as_echo "$CC" >&6; }
   2827 else
   2828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2829 $as_echo "no" >&6; }
   2830 fi
   2831 
   2832 
   2833 fi
   2834 if test -z "$ac_cv_prog_CC"; then
   2835   ac_ct_CC=$CC
   2836   # Extract the first word of "gcc", so it can be a program name with args.
   2837 set dummy gcc; ac_word=$2
   2838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2839 $as_echo_n "checking for $ac_word... " >&6; }
   2840 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2841   $as_echo_n "(cached) " >&6
   2842 else
   2843   if test -n "$ac_ct_CC"; then
   2844   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2845 else
   2846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2847 for as_dir in $PATH
   2848 do
   2849   IFS=$as_save_IFS
   2850   test -z "$as_dir" && as_dir=.
   2851     for ac_exec_ext in '' $ac_executable_extensions; do
   2852   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2853     ac_cv_prog_ac_ct_CC="gcc"
   2854     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2855     break 2
   2856   fi
   2857 done
   2858   done
   2859 IFS=$as_save_IFS
   2860 
   2861 fi
   2862 fi
   2863 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2864 if test -n "$ac_ct_CC"; then
   2865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2866 $as_echo "$ac_ct_CC" >&6; }
   2867 else
   2868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2869 $as_echo "no" >&6; }
   2870 fi
   2871 
   2872   if test "x$ac_ct_CC" = x; then
   2873     CC=""
   2874   else
   2875     case $cross_compiling:$ac_tool_warned in
   2876 yes:)
   2877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2878 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2879 ac_tool_warned=yes ;;
   2880 esac
   2881     CC=$ac_ct_CC
   2882   fi
   2883 else
   2884   CC="$ac_cv_prog_CC"
   2885 fi
   2886 
   2887 if test -z "$CC"; then
   2888           if test -n "$ac_tool_prefix"; then
   2889     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2890 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2892 $as_echo_n "checking for $ac_word... " >&6; }
   2893 if ${ac_cv_prog_CC+:} false; then :
   2894   $as_echo_n "(cached) " >&6
   2895 else
   2896   if test -n "$CC"; then
   2897   ac_cv_prog_CC="$CC" # Let the user override the test.
   2898 else
   2899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2900 for as_dir in $PATH
   2901 do
   2902   IFS=$as_save_IFS
   2903   test -z "$as_dir" && as_dir=.
   2904     for ac_exec_ext in '' $ac_executable_extensions; do
   2905   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2906     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2907     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2908     break 2
   2909   fi
   2910 done
   2911   done
   2912 IFS=$as_save_IFS
   2913 
   2914 fi
   2915 fi
   2916 CC=$ac_cv_prog_CC
   2917 if test -n "$CC"; then
   2918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2919 $as_echo "$CC" >&6; }
   2920 else
   2921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2922 $as_echo "no" >&6; }
   2923 fi
   2924 
   2925 
   2926   fi
   2927 fi
   2928 if test -z "$CC"; then
   2929   # Extract the first word of "cc", so it can be a program name with args.
   2930 set dummy cc; ac_word=$2
   2931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2932 $as_echo_n "checking for $ac_word... " >&6; }
   2933 if ${ac_cv_prog_CC+:} false; then :
   2934   $as_echo_n "(cached) " >&6
   2935 else
   2936   if test -n "$CC"; then
   2937   ac_cv_prog_CC="$CC" # Let the user override the test.
   2938 else
   2939   ac_prog_rejected=no
   2940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2941 for as_dir in $PATH
   2942 do
   2943   IFS=$as_save_IFS
   2944   test -z "$as_dir" && as_dir=.
   2945     for ac_exec_ext in '' $ac_executable_extensions; do
   2946   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2947     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2948        ac_prog_rejected=yes
   2949        continue
   2950      fi
   2951     ac_cv_prog_CC="cc"
   2952     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2953     break 2
   2954   fi
   2955 done
   2956   done
   2957 IFS=$as_save_IFS
   2958 
   2959 if test $ac_prog_rejected = yes; then
   2960   # We found a bogon in the path, so make sure we never use it.
   2961   set dummy $ac_cv_prog_CC
   2962   shift
   2963   if test $# != 0; then
   2964     # We chose a different compiler from the bogus one.
   2965     # However, it has the same basename, so the bogon will be chosen
   2966     # first if we set CC to just the basename; use the full file name.
   2967     shift
   2968     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2969   fi
   2970 fi
   2971 fi
   2972 fi
   2973 CC=$ac_cv_prog_CC
   2974 if test -n "$CC"; then
   2975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2976 $as_echo "$CC" >&6; }
   2977 else
   2978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2979 $as_echo "no" >&6; }
   2980 fi
   2981 
   2982 
   2983 fi
   2984 if test -z "$CC"; then
   2985   if test -n "$ac_tool_prefix"; then
   2986   for ac_prog in cl.exe
   2987   do
   2988     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2989 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2991 $as_echo_n "checking for $ac_word... " >&6; }
   2992 if ${ac_cv_prog_CC+:} false; then :
   2993   $as_echo_n "(cached) " >&6
   2994 else
   2995   if test -n "$CC"; then
   2996   ac_cv_prog_CC="$CC" # Let the user override the test.
   2997 else
   2998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2999 for as_dir in $PATH
   3000 do
   3001   IFS=$as_save_IFS
   3002   test -z "$as_dir" && as_dir=.
   3003     for ac_exec_ext in '' $ac_executable_extensions; do
   3004   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3005     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3006     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3007     break 2
   3008   fi
   3009 done
   3010   done
   3011 IFS=$as_save_IFS
   3012 
   3013 fi
   3014 fi
   3015 CC=$ac_cv_prog_CC
   3016 if test -n "$CC"; then
   3017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3018 $as_echo "$CC" >&6; }
   3019 else
   3020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3021 $as_echo "no" >&6; }
   3022 fi
   3023 
   3024 
   3025     test -n "$CC" && break
   3026   done
   3027 fi
   3028 if test -z "$CC"; then
   3029   ac_ct_CC=$CC
   3030   for ac_prog in cl.exe
   3031 do
   3032   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3033 set dummy $ac_prog; ac_word=$2
   3034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3035 $as_echo_n "checking for $ac_word... " >&6; }
   3036 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3037   $as_echo_n "(cached) " >&6
   3038 else
   3039   if test -n "$ac_ct_CC"; then
   3040   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3041 else
   3042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3043 for as_dir in $PATH
   3044 do
   3045   IFS=$as_save_IFS
   3046   test -z "$as_dir" && as_dir=.
   3047     for ac_exec_ext in '' $ac_executable_extensions; do
   3048   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3049     ac_cv_prog_ac_ct_CC="$ac_prog"
   3050     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3051     break 2
   3052   fi
   3053 done
   3054   done
   3055 IFS=$as_save_IFS
   3056 
   3057 fi
   3058 fi
   3059 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3060 if test -n "$ac_ct_CC"; then
   3061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3062 $as_echo "$ac_ct_CC" >&6; }
   3063 else
   3064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3065 $as_echo "no" >&6; }
   3066 fi
   3067 
   3068 
   3069   test -n "$ac_ct_CC" && break
   3070 done
   3071 
   3072   if test "x$ac_ct_CC" = x; then
   3073     CC=""
   3074   else
   3075     case $cross_compiling:$ac_tool_warned in
   3076 yes:)
   3077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3078 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3079 ac_tool_warned=yes ;;
   3080 esac
   3081     CC=$ac_ct_CC
   3082   fi
   3083 fi
   3084 
   3085 fi
   3086 
   3087 
   3088 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3089 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3090 as_fn_error $? "no acceptable C compiler found in \$PATH
   3091 See \`config.log' for more details" "$LINENO" 5; }
   3092 
   3093 # Provide some information about the compiler.
   3094 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3095 set X $ac_compile
   3096 ac_compiler=$2
   3097 for ac_option in --version -v -V -qversion; do
   3098   { { ac_try="$ac_compiler $ac_option >&5"
   3099 case "(($ac_try" in
   3100   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3101   *) ac_try_echo=$ac_try;;
   3102 esac
   3103 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3104 $as_echo "$ac_try_echo"; } >&5
   3105   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3106   ac_status=$?
   3107   if test -s conftest.err; then
   3108     sed '10a\
   3109 ... rest of stderr output deleted ...
   3110          10q' conftest.err >conftest.er1
   3111     cat conftest.er1 >&5
   3112   fi
   3113   rm -f conftest.er1 conftest.err
   3114   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3115   test $ac_status = 0; }
   3116 done
   3117 
   3118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3119 /* end confdefs.h.  */
   3120 
   3121 int
   3122 main ()
   3123 {
   3124 
   3125   ;
   3126   return 0;
   3127 }
   3128 _ACEOF
   3129 ac_clean_files_save=$ac_clean_files
   3130 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3131 # Try to create an executable without -o first, disregard a.out.
   3132 # It will help us diagnose broken compilers, and finding out an intuition
   3133 # of exeext.
   3134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3135 $as_echo_n "checking whether the C compiler works... " >&6; }
   3136 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3137 
   3138 # The possible output files:
   3139 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3140 
   3141 ac_rmfiles=
   3142 for ac_file in $ac_files
   3143 do
   3144   case $ac_file in
   3145     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3146     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3147   esac
   3148 done
   3149 rm -f $ac_rmfiles
   3150 
   3151 if { { ac_try="$ac_link_default"
   3152 case "(($ac_try" in
   3153   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3154   *) ac_try_echo=$ac_try;;
   3155 esac
   3156 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3157 $as_echo "$ac_try_echo"; } >&5
   3158   (eval "$ac_link_default") 2>&5
   3159   ac_status=$?
   3160   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3161   test $ac_status = 0; }; then :
   3162   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3163 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3164 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3165 # so that the user can short-circuit this test for compilers unknown to
   3166 # Autoconf.
   3167 for ac_file in $ac_files ''
   3168 do
   3169   test -f "$ac_file" || continue
   3170   case $ac_file in
   3171     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3172 	;;
   3173     [ab].out )
   3174 	# We found the default executable, but exeext='' is most
   3175 	# certainly right.
   3176 	break;;
   3177     *.* )
   3178 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3179 	then :; else
   3180 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3181 	fi
   3182 	# We set ac_cv_exeext here because the later test for it is not
   3183 	# safe: cross compilers may not add the suffix if given an `-o'
   3184 	# argument, so we may need to know it at that point already.
   3185 	# Even if this section looks crufty: it has the advantage of
   3186 	# actually working.
   3187 	break;;
   3188     * )
   3189 	break;;
   3190   esac
   3191 done
   3192 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3193 
   3194 else
   3195   ac_file=''
   3196 fi
   3197 if test -z "$ac_file"; then :
   3198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3199 $as_echo "no" >&6; }
   3200 $as_echo "$as_me: failed program was:" >&5
   3201 sed 's/^/| /' conftest.$ac_ext >&5
   3202 
   3203 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3204 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3205 as_fn_error 77 "C compiler cannot create executables
   3206 See \`config.log' for more details" "$LINENO" 5; }
   3207 else
   3208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3209 $as_echo "yes" >&6; }
   3210 fi
   3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3212 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3214 $as_echo "$ac_file" >&6; }
   3215 ac_exeext=$ac_cv_exeext
   3216 
   3217 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3218 ac_clean_files=$ac_clean_files_save
   3219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3220 $as_echo_n "checking for suffix of executables... " >&6; }
   3221 if { { ac_try="$ac_link"
   3222 case "(($ac_try" in
   3223   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3224   *) ac_try_echo=$ac_try;;
   3225 esac
   3226 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3227 $as_echo "$ac_try_echo"; } >&5
   3228   (eval "$ac_link") 2>&5
   3229   ac_status=$?
   3230   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3231   test $ac_status = 0; }; then :
   3232   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3233 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3234 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3235 # `rm'.
   3236 for ac_file in conftest.exe conftest conftest.*; do
   3237   test -f "$ac_file" || continue
   3238   case $ac_file in
   3239     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3240     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3241 	  break;;
   3242     * ) break;;
   3243   esac
   3244 done
   3245 else
   3246   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3247 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3248 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3249 See \`config.log' for more details" "$LINENO" 5; }
   3250 fi
   3251 rm -f conftest conftest$ac_cv_exeext
   3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3253 $as_echo "$ac_cv_exeext" >&6; }
   3254 
   3255 rm -f conftest.$ac_ext
   3256 EXEEXT=$ac_cv_exeext
   3257 ac_exeext=$EXEEXT
   3258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3259 /* end confdefs.h.  */
   3260 #include <stdio.h>
   3261 int
   3262 main ()
   3263 {
   3264 FILE *f = fopen ("conftest.out", "w");
   3265  return ferror (f) || fclose (f) != 0;
   3266 
   3267   ;
   3268   return 0;
   3269 }
   3270 _ACEOF
   3271 ac_clean_files="$ac_clean_files conftest.out"
   3272 # Check that the compiler produces executables we can run.  If not, either
   3273 # the compiler is broken, or we cross compile.
   3274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3275 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3276 if test "$cross_compiling" != yes; then
   3277   { { ac_try="$ac_link"
   3278 case "(($ac_try" in
   3279   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3280   *) ac_try_echo=$ac_try;;
   3281 esac
   3282 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3283 $as_echo "$ac_try_echo"; } >&5
   3284   (eval "$ac_link") 2>&5
   3285   ac_status=$?
   3286   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3287   test $ac_status = 0; }
   3288   if { ac_try='./conftest$ac_cv_exeext'
   3289   { { case "(($ac_try" in
   3290   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3291   *) ac_try_echo=$ac_try;;
   3292 esac
   3293 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3294 $as_echo "$ac_try_echo"; } >&5
   3295   (eval "$ac_try") 2>&5
   3296   ac_status=$?
   3297   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3298   test $ac_status = 0; }; }; then
   3299     cross_compiling=no
   3300   else
   3301     if test "$cross_compiling" = maybe; then
   3302 	cross_compiling=yes
   3303     else
   3304 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3306 as_fn_error $? "cannot run C compiled programs.
   3307 If you meant to cross compile, use \`--host'.
   3308 See \`config.log' for more details" "$LINENO" 5; }
   3309     fi
   3310   fi
   3311 fi
   3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3313 $as_echo "$cross_compiling" >&6; }
   3314 
   3315 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3316 ac_clean_files=$ac_clean_files_save
   3317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3318 $as_echo_n "checking for suffix of object files... " >&6; }
   3319 if ${ac_cv_objext+:} false; then :
   3320   $as_echo_n "(cached) " >&6
   3321 else
   3322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3323 /* end confdefs.h.  */
   3324 
   3325 int
   3326 main ()
   3327 {
   3328 
   3329   ;
   3330   return 0;
   3331 }
   3332 _ACEOF
   3333 rm -f conftest.o conftest.obj
   3334 if { { ac_try="$ac_compile"
   3335 case "(($ac_try" in
   3336   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3337   *) ac_try_echo=$ac_try;;
   3338 esac
   3339 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3340 $as_echo "$ac_try_echo"; } >&5
   3341   (eval "$ac_compile") 2>&5
   3342   ac_status=$?
   3343   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3344   test $ac_status = 0; }; then :
   3345   for ac_file in conftest.o conftest.obj conftest.*; do
   3346   test -f "$ac_file" || continue;
   3347   case $ac_file in
   3348     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3349     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3350        break;;
   3351   esac
   3352 done
   3353 else
   3354   $as_echo "$as_me: failed program was:" >&5
   3355 sed 's/^/| /' conftest.$ac_ext >&5
   3356 
   3357 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3358 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3359 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3360 See \`config.log' for more details" "$LINENO" 5; }
   3361 fi
   3362 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3363 fi
   3364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3365 $as_echo "$ac_cv_objext" >&6; }
   3366 OBJEXT=$ac_cv_objext
   3367 ac_objext=$OBJEXT
   3368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3369 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3370 if ${ac_cv_c_compiler_gnu+:} false; then :
   3371   $as_echo_n "(cached) " >&6
   3372 else
   3373   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3374 /* end confdefs.h.  */
   3375 
   3376 int
   3377 main ()
   3378 {
   3379 #ifndef __GNUC__
   3380        choke me
   3381 #endif
   3382 
   3383   ;
   3384   return 0;
   3385 }
   3386 _ACEOF
   3387 if ac_fn_c_try_compile "$LINENO"; then :
   3388   ac_compiler_gnu=yes
   3389 else
   3390   ac_compiler_gnu=no
   3391 fi
   3392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3393 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3394 
   3395 fi
   3396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3397 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3398 if test $ac_compiler_gnu = yes; then
   3399   GCC=yes
   3400 else
   3401   GCC=
   3402 fi
   3403 ac_test_CFLAGS=${CFLAGS+set}
   3404 ac_save_CFLAGS=$CFLAGS
   3405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3406 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3407 if ${ac_cv_prog_cc_g+:} false; then :
   3408   $as_echo_n "(cached) " >&6
   3409 else
   3410   ac_save_c_werror_flag=$ac_c_werror_flag
   3411    ac_c_werror_flag=yes
   3412    ac_cv_prog_cc_g=no
   3413    CFLAGS="-g"
   3414    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3415 /* end confdefs.h.  */
   3416 
   3417 int
   3418 main ()
   3419 {
   3420 
   3421   ;
   3422   return 0;
   3423 }
   3424 _ACEOF
   3425 if ac_fn_c_try_compile "$LINENO"; then :
   3426   ac_cv_prog_cc_g=yes
   3427 else
   3428   CFLAGS=""
   3429       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3430 /* end confdefs.h.  */
   3431 
   3432 int
   3433 main ()
   3434 {
   3435 
   3436   ;
   3437   return 0;
   3438 }
   3439 _ACEOF
   3440 if ac_fn_c_try_compile "$LINENO"; then :
   3441 
   3442 else
   3443   ac_c_werror_flag=$ac_save_c_werror_flag
   3444 	 CFLAGS="-g"
   3445 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3446 /* end confdefs.h.  */
   3447 
   3448 int
   3449 main ()
   3450 {
   3451 
   3452   ;
   3453   return 0;
   3454 }
   3455 _ACEOF
   3456 if ac_fn_c_try_compile "$LINENO"; then :
   3457   ac_cv_prog_cc_g=yes
   3458 fi
   3459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3460 fi
   3461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3462 fi
   3463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3464    ac_c_werror_flag=$ac_save_c_werror_flag
   3465 fi
   3466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3467 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3468 if test "$ac_test_CFLAGS" = set; then
   3469   CFLAGS=$ac_save_CFLAGS
   3470 elif test $ac_cv_prog_cc_g = yes; then
   3471   if test "$GCC" = yes; then
   3472     CFLAGS="-g -O2"
   3473   else
   3474     CFLAGS="-g"
   3475   fi
   3476 else
   3477   if test "$GCC" = yes; then
   3478     CFLAGS="-O2"
   3479   else
   3480     CFLAGS=
   3481   fi
   3482 fi
   3483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3484 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3485 if ${ac_cv_prog_cc_c89+:} false; then :
   3486   $as_echo_n "(cached) " >&6
   3487 else
   3488   ac_cv_prog_cc_c89=no
   3489 ac_save_CC=$CC
   3490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3491 /* end confdefs.h.  */
   3492 #include <stdarg.h>
   3493 #include <stdio.h>
   3494 struct stat;
   3495 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3496 struct buf { int x; };
   3497 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3498 static char *e (p, i)
   3499      char **p;
   3500      int i;
   3501 {
   3502   return p[i];
   3503 }
   3504 static char *f (char * (*g) (char **, int), char **p, ...)
   3505 {
   3506   char *s;
   3507   va_list v;
   3508   va_start (v,p);
   3509   s = g (p, va_arg (v,int));
   3510   va_end (v);
   3511   return s;
   3512 }
   3513 
   3514 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3515    function prototypes and stuff, but not '\xHH' hex character constants.
   3516    These don't provoke an error unfortunately, instead are silently treated
   3517    as 'x'.  The following induces an error, until -std is added to get
   3518    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3519    array size at least.  It's necessary to write '\x00'==0 to get something
   3520    that's true only with -std.  */
   3521 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3522 
   3523 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3524    inside strings and character constants.  */
   3525 #define FOO(x) 'x'
   3526 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3527 
   3528 int test (int i, double x);
   3529 struct s1 {int (*f) (int a);};
   3530 struct s2 {int (*f) (double a);};
   3531 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3532 int argc;
   3533 char **argv;
   3534 int
   3535 main ()
   3536 {
   3537 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3538   ;
   3539   return 0;
   3540 }
   3541 _ACEOF
   3542 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3543 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3544 do
   3545   CC="$ac_save_CC $ac_arg"
   3546   if ac_fn_c_try_compile "$LINENO"; then :
   3547   ac_cv_prog_cc_c89=$ac_arg
   3548 fi
   3549 rm -f core conftest.err conftest.$ac_objext
   3550   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3551 done
   3552 rm -f conftest.$ac_ext
   3553 CC=$ac_save_CC
   3554 
   3555 fi
   3556 # AC_CACHE_VAL
   3557 case "x$ac_cv_prog_cc_c89" in
   3558   x)
   3559     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3560 $as_echo "none needed" >&6; } ;;
   3561   xno)
   3562     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3563 $as_echo "unsupported" >&6; } ;;
   3564   *)
   3565     CC="$CC $ac_cv_prog_cc_c89"
   3566     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3567 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3568 esac
   3569 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3570 
   3571 fi
   3572 
   3573 ac_ext=c
   3574 ac_cpp='$CPP $CPPFLAGS'
   3575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3578 
   3579 ac_ext=c
   3580 ac_cpp='$CPP $CPPFLAGS'
   3581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3585 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3586 if ${am_cv_prog_cc_c_o+:} false; then :
   3587   $as_echo_n "(cached) " >&6
   3588 else
   3589   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3590 /* end confdefs.h.  */
   3591 
   3592 int
   3593 main ()
   3594 {
   3595 
   3596   ;
   3597   return 0;
   3598 }
   3599 _ACEOF
   3600   # Make sure it works both with $CC and with simple cc.
   3601   # Following AC_PROG_CC_C_O, we do the test twice because some
   3602   # compilers refuse to overwrite an existing .o file with -o,
   3603   # though they will create one.
   3604   am_cv_prog_cc_c_o=yes
   3605   for am_i in 1 2; do
   3606     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3607    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3608    ac_status=$?
   3609    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3610    (exit $ac_status); } \
   3611          && test -f conftest2.$ac_objext; then
   3612       : OK
   3613     else
   3614       am_cv_prog_cc_c_o=no
   3615       break
   3616     fi
   3617   done
   3618   rm -f core conftest*
   3619   unset am_i
   3620 fi
   3621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3622 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3623 if test "$am_cv_prog_cc_c_o" != yes; then
   3624    # Losing compiler, so override with the script.
   3625    # FIXME: It is wrong to rewrite CC.
   3626    # But if we don't then we get into trouble of one sort or another.
   3627    # A longer-term fix would be to have automake use am__CC in this case,
   3628    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3629    CC="$am_aux_dir/compile $CC"
   3630 fi
   3631 ac_ext=c
   3632 ac_cpp='$CPP $CPPFLAGS'
   3633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3636 
   3637 
   3638 depcc="$CC"   am_compiler_list=
   3639 
   3640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3641 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3642 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3643   $as_echo_n "(cached) " >&6
   3644 else
   3645   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3646   # We make a subdir and do the tests there.  Otherwise we can end up
   3647   # making bogus files that we don't know about and never remove.  For
   3648   # instance it was reported that on HP-UX the gcc test will end up
   3649   # making a dummy file named 'D' -- because '-MD' means "put the output
   3650   # in D".
   3651   rm -rf conftest.dir
   3652   mkdir conftest.dir
   3653   # Copy depcomp to subdir because otherwise we won't find it if we're
   3654   # using a relative directory.
   3655   cp "$am_depcomp" conftest.dir
   3656   cd conftest.dir
   3657   # We will build objects and dependencies in a subdirectory because
   3658   # it helps to detect inapplicable dependency modes.  For instance
   3659   # both Tru64's cc and ICC support -MD to output dependencies as a
   3660   # side effect of compilation, but ICC will put the dependencies in
   3661   # the current directory while Tru64 will put them in the object
   3662   # directory.
   3663   mkdir sub
   3664 
   3665   am_cv_CC_dependencies_compiler_type=none
   3666   if test "$am_compiler_list" = ""; then
   3667      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3668   fi
   3669   am__universal=false
   3670   case " $depcc " in #(
   3671      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3672      esac
   3673 
   3674   for depmode in $am_compiler_list; do
   3675     # Setup a source with many dependencies, because some compilers
   3676     # like to wrap large dependency lists on column 80 (with \), and
   3677     # we should not choose a depcomp mode which is confused by this.
   3678     #
   3679     # We need to recreate these files for each test, as the compiler may
   3680     # overwrite some of them when testing with obscure command lines.
   3681     # This happens at least with the AIX C compiler.
   3682     : > sub/conftest.c
   3683     for i in 1 2 3 4 5 6; do
   3684       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3685       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3686       # Solaris 10 /bin/sh.
   3687       echo '/* dummy */' > sub/conftst$i.h
   3688     done
   3689     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3690 
   3691     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3692     # mode.  It turns out that the SunPro C++ compiler does not properly
   3693     # handle '-M -o', and we need to detect this.  Also, some Intel
   3694     # versions had trouble with output in subdirs.
   3695     am__obj=sub/conftest.${OBJEXT-o}
   3696     am__minus_obj="-o $am__obj"
   3697     case $depmode in
   3698     gcc)
   3699       # This depmode causes a compiler race in universal mode.
   3700       test "$am__universal" = false || continue
   3701       ;;
   3702     nosideeffect)
   3703       # After this tag, mechanisms are not by side-effect, so they'll
   3704       # only be used when explicitly requested.
   3705       if test "x$enable_dependency_tracking" = xyes; then
   3706 	continue
   3707       else
   3708 	break
   3709       fi
   3710       ;;
   3711     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3712       # This compiler won't grok '-c -o', but also, the minuso test has
   3713       # not run yet.  These depmodes are late enough in the game, and
   3714       # so weak that their functioning should not be impacted.
   3715       am__obj=conftest.${OBJEXT-o}
   3716       am__minus_obj=
   3717       ;;
   3718     none) break ;;
   3719     esac
   3720     if depmode=$depmode \
   3721        source=sub/conftest.c object=$am__obj \
   3722        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3723        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3724          >/dev/null 2>conftest.err &&
   3725        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3726        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3727        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3728        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3729       # icc doesn't choke on unknown options, it will just issue warnings
   3730       # or remarks (even with -Werror).  So we grep stderr for any message
   3731       # that says an option was ignored or not supported.
   3732       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3733       #   icc: Command line warning: ignoring option '-M'; no argument required
   3734       # The diagnosis changed in icc 8.0:
   3735       #   icc: Command line remark: option '-MP' not supported
   3736       if (grep 'ignoring option' conftest.err ||
   3737           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3738         am_cv_CC_dependencies_compiler_type=$depmode
   3739         break
   3740       fi
   3741     fi
   3742   done
   3743 
   3744   cd ..
   3745   rm -rf conftest.dir
   3746 else
   3747   am_cv_CC_dependencies_compiler_type=none
   3748 fi
   3749 
   3750 fi
   3751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3752 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3753 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3754 
   3755  if
   3756   test "x$enable_dependency_tracking" != xno \
   3757   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3758   am__fastdepCC_TRUE=
   3759   am__fastdepCC_FALSE='#'
   3760 else
   3761   am__fastdepCC_TRUE='#'
   3762   am__fastdepCC_FALSE=
   3763 fi
   3764 
   3765 
   3766    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3767 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3768 if ${ac_cv_prog_cc_c99+:} false; then :
   3769   $as_echo_n "(cached) " >&6
   3770 else
   3771   ac_cv_prog_cc_c99=no
   3772 ac_save_CC=$CC
   3773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3774 /* end confdefs.h.  */
   3775 #include <stdarg.h>
   3776 #include <stdbool.h>
   3777 #include <stdlib.h>
   3778 #include <wchar.h>
   3779 #include <stdio.h>
   3780 
   3781 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3782 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3783 #define showlist(...) puts (#__VA_ARGS__)
   3784 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3785 static void
   3786 test_varargs_macros (void)
   3787 {
   3788   int x = 1234;
   3789   int y = 5678;
   3790   debug ("Flag");
   3791   debug ("X = %d\n", x);
   3792   showlist (The first, second, and third items.);
   3793   report (x>y, "x is %d but y is %d", x, y);
   3794 }
   3795 
   3796 // Check long long types.
   3797 #define BIG64 18446744073709551615ull
   3798 #define BIG32 4294967295ul
   3799 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3800 #if !BIG_OK
   3801   your preprocessor is broken;
   3802 #endif
   3803 #if BIG_OK
   3804 #else
   3805   your preprocessor is broken;
   3806 #endif
   3807 static long long int bignum = -9223372036854775807LL;
   3808 static unsigned long long int ubignum = BIG64;
   3809 
   3810 struct incomplete_array
   3811 {
   3812   int datasize;
   3813   double data[];
   3814 };
   3815 
   3816 struct named_init {
   3817   int number;
   3818   const wchar_t *name;
   3819   double average;
   3820 };
   3821 
   3822 typedef const char *ccp;
   3823 
   3824 static inline int
   3825 test_restrict (ccp restrict text)
   3826 {
   3827   // See if C++-style comments work.
   3828   // Iterate through items via the restricted pointer.
   3829   // Also check for declarations in for loops.
   3830   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3831     continue;
   3832   return 0;
   3833 }
   3834 
   3835 // Check varargs and va_copy.
   3836 static void
   3837 test_varargs (const char *format, ...)
   3838 {
   3839   va_list args;
   3840   va_start (args, format);
   3841   va_list args_copy;
   3842   va_copy (args_copy, args);
   3843 
   3844   const char *str;
   3845   int number;
   3846   float fnumber;
   3847 
   3848   while (*format)
   3849     {
   3850       switch (*format++)
   3851 	{
   3852 	case 's': // string
   3853 	  str = va_arg (args_copy, const char *);
   3854 	  break;
   3855 	case 'd': // int
   3856 	  number = va_arg (args_copy, int);
   3857 	  break;
   3858 	case 'f': // float
   3859 	  fnumber = va_arg (args_copy, double);
   3860 	  break;
   3861 	default:
   3862 	  break;
   3863 	}
   3864     }
   3865   va_end (args_copy);
   3866   va_end (args);
   3867 }
   3868 
   3869 int
   3870 main ()
   3871 {
   3872 
   3873   // Check bool.
   3874   _Bool success = false;
   3875 
   3876   // Check restrict.
   3877   if (test_restrict ("String literal") == 0)
   3878     success = true;
   3879   char *restrict newvar = "Another string";
   3880 
   3881   // Check varargs.
   3882   test_varargs ("s, d' f .", "string", 65, 34.234);
   3883   test_varargs_macros ();
   3884 
   3885   // Check flexible array members.
   3886   struct incomplete_array *ia =
   3887     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3888   ia->datasize = 10;
   3889   for (int i = 0; i < ia->datasize; ++i)
   3890     ia->data[i] = i * 1.234;
   3891 
   3892   // Check named initializers.
   3893   struct named_init ni = {
   3894     .number = 34,
   3895     .name = L"Test wide string",
   3896     .average = 543.34343,
   3897   };
   3898 
   3899   ni.number = 58;
   3900 
   3901   int dynamic_array[ni.number];
   3902   dynamic_array[ni.number - 1] = 543;
   3903 
   3904   // work around unused variable warnings
   3905   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3906 	  || dynamic_array[ni.number - 1] != 543);
   3907 
   3908   ;
   3909   return 0;
   3910 }
   3911 _ACEOF
   3912 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   3913 do
   3914   CC="$ac_save_CC $ac_arg"
   3915   if ac_fn_c_try_compile "$LINENO"; then :
   3916   ac_cv_prog_cc_c99=$ac_arg
   3917 fi
   3918 rm -f core conftest.err conftest.$ac_objext
   3919   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3920 done
   3921 rm -f conftest.$ac_ext
   3922 CC=$ac_save_CC
   3923 
   3924 fi
   3925 # AC_CACHE_VAL
   3926 case "x$ac_cv_prog_cc_c99" in
   3927   x)
   3928     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3929 $as_echo "none needed" >&6; } ;;
   3930   xno)
   3931     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3932 $as_echo "unsupported" >&6; } ;;
   3933   *)
   3934     CC="$CC $ac_cv_prog_cc_c99"
   3935     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3936 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   3937 esac
   3938 if test "x$ac_cv_prog_cc_c99" != xno; then :
   3939 
   3940 fi
   3941 
   3942 
   3943 
   3944 ac_ext=c
   3945 ac_cpp='$CPP $CPPFLAGS'
   3946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3950 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3951 # On Suns, sometimes $CPP names a directory.
   3952 if test -n "$CPP" && test -d "$CPP"; then
   3953   CPP=
   3954 fi
   3955 if test -z "$CPP"; then
   3956   if ${ac_cv_prog_CPP+:} false; then :
   3957   $as_echo_n "(cached) " >&6
   3958 else
   3959       # Double quotes because CPP needs to be expanded
   3960     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3961     do
   3962       ac_preproc_ok=false
   3963 for ac_c_preproc_warn_flag in '' yes
   3964 do
   3965   # Use a header file that comes with gcc, so configuring glibc
   3966   # with a fresh cross-compiler works.
   3967   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3968   # <limits.h> exists even on freestanding compilers.
   3969   # On the NeXT, cc -E runs the code through the compiler's parser,
   3970   # not just through cpp. "Syntax error" is here to catch this case.
   3971   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3972 /* end confdefs.h.  */
   3973 #ifdef __STDC__
   3974 # include <limits.h>
   3975 #else
   3976 # include <assert.h>
   3977 #endif
   3978 		     Syntax error
   3979 _ACEOF
   3980 if ac_fn_c_try_cpp "$LINENO"; then :
   3981 
   3982 else
   3983   # Broken: fails on valid input.
   3984 continue
   3985 fi
   3986 rm -f conftest.err conftest.i conftest.$ac_ext
   3987 
   3988   # OK, works on sane cases.  Now check whether nonexistent headers
   3989   # can be detected and how.
   3990   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3991 /* end confdefs.h.  */
   3992 #include <ac_nonexistent.h>
   3993 _ACEOF
   3994 if ac_fn_c_try_cpp "$LINENO"; then :
   3995   # Broken: success on invalid input.
   3996 continue
   3997 else
   3998   # Passes both tests.
   3999 ac_preproc_ok=:
   4000 break
   4001 fi
   4002 rm -f conftest.err conftest.i conftest.$ac_ext
   4003 
   4004 done
   4005 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4006 rm -f conftest.i conftest.err conftest.$ac_ext
   4007 if $ac_preproc_ok; then :
   4008   break
   4009 fi
   4010 
   4011     done
   4012     ac_cv_prog_CPP=$CPP
   4013 
   4014 fi
   4015   CPP=$ac_cv_prog_CPP
   4016 else
   4017   ac_cv_prog_CPP=$CPP
   4018 fi
   4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4020 $as_echo "$CPP" >&6; }
   4021 ac_preproc_ok=false
   4022 for ac_c_preproc_warn_flag in '' yes
   4023 do
   4024   # Use a header file that comes with gcc, so configuring glibc
   4025   # with a fresh cross-compiler works.
   4026   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4027   # <limits.h> exists even on freestanding compilers.
   4028   # On the NeXT, cc -E runs the code through the compiler's parser,
   4029   # not just through cpp. "Syntax error" is here to catch this case.
   4030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4031 /* end confdefs.h.  */
   4032 #ifdef __STDC__
   4033 # include <limits.h>
   4034 #else
   4035 # include <assert.h>
   4036 #endif
   4037 		     Syntax error
   4038 _ACEOF
   4039 if ac_fn_c_try_cpp "$LINENO"; then :
   4040 
   4041 else
   4042   # Broken: fails on valid input.
   4043 continue
   4044 fi
   4045 rm -f conftest.err conftest.i conftest.$ac_ext
   4046 
   4047   # OK, works on sane cases.  Now check whether nonexistent headers
   4048   # can be detected and how.
   4049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4050 /* end confdefs.h.  */
   4051 #include <ac_nonexistent.h>
   4052 _ACEOF
   4053 if ac_fn_c_try_cpp "$LINENO"; then :
   4054   # Broken: success on invalid input.
   4055 continue
   4056 else
   4057   # Passes both tests.
   4058 ac_preproc_ok=:
   4059 break
   4060 fi
   4061 rm -f conftest.err conftest.i conftest.$ac_ext
   4062 
   4063 done
   4064 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4065 rm -f conftest.i conftest.err conftest.$ac_ext
   4066 if $ac_preproc_ok; then :
   4067 
   4068 else
   4069   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4070 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4071 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4072 See \`config.log' for more details" "$LINENO" 5; }
   4073 fi
   4074 
   4075 ac_ext=c
   4076 ac_cpp='$CPP $CPPFLAGS'
   4077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4080 
   4081 
   4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4083 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4084 if ${ac_cv_path_GREP+:} false; then :
   4085   $as_echo_n "(cached) " >&6
   4086 else
   4087   if test -z "$GREP"; then
   4088   ac_path_GREP_found=false
   4089   # Loop through the user's path and test for each of PROGNAME-LIST
   4090   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4091 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4092 do
   4093   IFS=$as_save_IFS
   4094   test -z "$as_dir" && as_dir=.
   4095     for ac_prog in grep ggrep; do
   4096     for ac_exec_ext in '' $ac_executable_extensions; do
   4097       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4098       as_fn_executable_p "$ac_path_GREP" || continue
   4099 # Check for GNU ac_path_GREP and select it if it is found.
   4100   # Check for GNU $ac_path_GREP
   4101 case `"$ac_path_GREP" --version 2>&1` in
   4102 *GNU*)
   4103   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4104 *)
   4105   ac_count=0
   4106   $as_echo_n 0123456789 >"conftest.in"
   4107   while :
   4108   do
   4109     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4110     mv "conftest.tmp" "conftest.in"
   4111     cp "conftest.in" "conftest.nl"
   4112     $as_echo 'GREP' >> "conftest.nl"
   4113     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4114     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4115     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4116     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4117       # Best one so far, save it but keep looking for a better one
   4118       ac_cv_path_GREP="$ac_path_GREP"
   4119       ac_path_GREP_max=$ac_count
   4120     fi
   4121     # 10*(2^10) chars as input seems more than enough
   4122     test $ac_count -gt 10 && break
   4123   done
   4124   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4125 esac
   4126 
   4127       $ac_path_GREP_found && break 3
   4128     done
   4129   done
   4130   done
   4131 IFS=$as_save_IFS
   4132   if test -z "$ac_cv_path_GREP"; then
   4133     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4134   fi
   4135 else
   4136   ac_cv_path_GREP=$GREP
   4137 fi
   4138 
   4139 fi
   4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4141 $as_echo "$ac_cv_path_GREP" >&6; }
   4142  GREP="$ac_cv_path_GREP"
   4143 
   4144 
   4145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4146 $as_echo_n "checking for egrep... " >&6; }
   4147 if ${ac_cv_path_EGREP+:} false; then :
   4148   $as_echo_n "(cached) " >&6
   4149 else
   4150   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4151    then ac_cv_path_EGREP="$GREP -E"
   4152    else
   4153      if test -z "$EGREP"; then
   4154   ac_path_EGREP_found=false
   4155   # Loop through the user's path and test for each of PROGNAME-LIST
   4156   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4157 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4158 do
   4159   IFS=$as_save_IFS
   4160   test -z "$as_dir" && as_dir=.
   4161     for ac_prog in egrep; do
   4162     for ac_exec_ext in '' $ac_executable_extensions; do
   4163       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4164       as_fn_executable_p "$ac_path_EGREP" || continue
   4165 # Check for GNU ac_path_EGREP and select it if it is found.
   4166   # Check for GNU $ac_path_EGREP
   4167 case `"$ac_path_EGREP" --version 2>&1` in
   4168 *GNU*)
   4169   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4170 *)
   4171   ac_count=0
   4172   $as_echo_n 0123456789 >"conftest.in"
   4173   while :
   4174   do
   4175     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4176     mv "conftest.tmp" "conftest.in"
   4177     cp "conftest.in" "conftest.nl"
   4178     $as_echo 'EGREP' >> "conftest.nl"
   4179     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4180     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4181     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4182     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4183       # Best one so far, save it but keep looking for a better one
   4184       ac_cv_path_EGREP="$ac_path_EGREP"
   4185       ac_path_EGREP_max=$ac_count
   4186     fi
   4187     # 10*(2^10) chars as input seems more than enough
   4188     test $ac_count -gt 10 && break
   4189   done
   4190   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4191 esac
   4192 
   4193       $ac_path_EGREP_found && break 3
   4194     done
   4195   done
   4196   done
   4197 IFS=$as_save_IFS
   4198   if test -z "$ac_cv_path_EGREP"; then
   4199     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4200   fi
   4201 else
   4202   ac_cv_path_EGREP=$EGREP
   4203 fi
   4204 
   4205    fi
   4206 fi
   4207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4208 $as_echo "$ac_cv_path_EGREP" >&6; }
   4209  EGREP="$ac_cv_path_EGREP"
   4210 
   4211 
   4212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4213 $as_echo_n "checking for ANSI C header files... " >&6; }
   4214 if ${ac_cv_header_stdc+:} false; then :
   4215   $as_echo_n "(cached) " >&6
   4216 else
   4217   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4218 /* end confdefs.h.  */
   4219 #include <stdlib.h>
   4220 #include <stdarg.h>
   4221 #include <string.h>
   4222 #include <float.h>
   4223 
   4224 int
   4225 main ()
   4226 {
   4227 
   4228   ;
   4229   return 0;
   4230 }
   4231 _ACEOF
   4232 if ac_fn_c_try_compile "$LINENO"; then :
   4233   ac_cv_header_stdc=yes
   4234 else
   4235   ac_cv_header_stdc=no
   4236 fi
   4237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4238 
   4239 if test $ac_cv_header_stdc = yes; then
   4240   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4241   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4242 /* end confdefs.h.  */
   4243 #include <string.h>
   4244 
   4245 _ACEOF
   4246 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4247   $EGREP "memchr" >/dev/null 2>&1; then :
   4248 
   4249 else
   4250   ac_cv_header_stdc=no
   4251 fi
   4252 rm -f conftest*
   4253 
   4254 fi
   4255 
   4256 if test $ac_cv_header_stdc = yes; then
   4257   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4258   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4259 /* end confdefs.h.  */
   4260 #include <stdlib.h>
   4261 
   4262 _ACEOF
   4263 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4264   $EGREP "free" >/dev/null 2>&1; then :
   4265 
   4266 else
   4267   ac_cv_header_stdc=no
   4268 fi
   4269 rm -f conftest*
   4270 
   4271 fi
   4272 
   4273 if test $ac_cv_header_stdc = yes; then
   4274   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4275   if test "$cross_compiling" = yes; then :
   4276   :
   4277 else
   4278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4279 /* end confdefs.h.  */
   4280 #include <ctype.h>
   4281 #include <stdlib.h>
   4282 #if ((' ' & 0x0FF) == 0x020)
   4283 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4284 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4285 #else
   4286 # define ISLOWER(c) \
   4287 		   (('a' <= (c) && (c) <= 'i') \
   4288 		     || ('j' <= (c) && (c) <= 'r') \
   4289 		     || ('s' <= (c) && (c) <= 'z'))
   4290 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4291 #endif
   4292 
   4293 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4294 int
   4295 main ()
   4296 {
   4297   int i;
   4298   for (i = 0; i < 256; i++)
   4299     if (XOR (islower (i), ISLOWER (i))
   4300 	|| toupper (i) != TOUPPER (i))
   4301       return 2;
   4302   return 0;
   4303 }
   4304 _ACEOF
   4305 if ac_fn_c_try_run "$LINENO"; then :
   4306 
   4307 else
   4308   ac_cv_header_stdc=no
   4309 fi
   4310 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4311   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4312 fi
   4313 
   4314 fi
   4315 fi
   4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4317 $as_echo "$ac_cv_header_stdc" >&6; }
   4318 if test $ac_cv_header_stdc = yes; then
   4319 
   4320 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4321 
   4322 fi
   4323 
   4324 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4325 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4326 		  inttypes.h stdint.h unistd.h
   4327 do :
   4328   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4329 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4330 "
   4331 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4332   cat >>confdefs.h <<_ACEOF
   4333 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4334 _ACEOF
   4335 
   4336 fi
   4337 
   4338 done
   4339 
   4340 
   4341 
   4342 
   4343 
   4344 
   4345 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4346 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4347   CLANGCC="yes"
   4348 else
   4349   CLANGCC="no"
   4350 fi
   4351 
   4352 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4353 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4354   INTELCC="yes"
   4355 else
   4356   INTELCC="no"
   4357 fi
   4358 
   4359 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4360 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4361   SUNCC="yes"
   4362 else
   4363   SUNCC="no"
   4364 fi
   4365 
   4366 
   4367 
   4368 
   4369 
   4370 
   4371 
   4372 
   4373 
   4374 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4375 	if test -n "$ac_tool_prefix"; then
   4376   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4377 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4379 $as_echo_n "checking for $ac_word... " >&6; }
   4380 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4381   $as_echo_n "(cached) " >&6
   4382 else
   4383   case $PKG_CONFIG in
   4384   [\\/]* | ?:[\\/]*)
   4385   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4386   ;;
   4387   *)
   4388   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4389 for as_dir in $PATH
   4390 do
   4391   IFS=$as_save_IFS
   4392   test -z "$as_dir" && as_dir=.
   4393     for ac_exec_ext in '' $ac_executable_extensions; do
   4394   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4395     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4396     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4397     break 2
   4398   fi
   4399 done
   4400   done
   4401 IFS=$as_save_IFS
   4402 
   4403   ;;
   4404 esac
   4405 fi
   4406 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4407 if test -n "$PKG_CONFIG"; then
   4408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4409 $as_echo "$PKG_CONFIG" >&6; }
   4410 else
   4411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4412 $as_echo "no" >&6; }
   4413 fi
   4414 
   4415 
   4416 fi
   4417 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4418   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4419   # Extract the first word of "pkg-config", so it can be a program name with args.
   4420 set dummy pkg-config; ac_word=$2
   4421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4422 $as_echo_n "checking for $ac_word... " >&6; }
   4423 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4424   $as_echo_n "(cached) " >&6
   4425 else
   4426   case $ac_pt_PKG_CONFIG in
   4427   [\\/]* | ?:[\\/]*)
   4428   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4429   ;;
   4430   *)
   4431   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4432 for as_dir in $PATH
   4433 do
   4434   IFS=$as_save_IFS
   4435   test -z "$as_dir" && as_dir=.
   4436     for ac_exec_ext in '' $ac_executable_extensions; do
   4437   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4438     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4439     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4440     break 2
   4441   fi
   4442 done
   4443   done
   4444 IFS=$as_save_IFS
   4445 
   4446   ;;
   4447 esac
   4448 fi
   4449 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4450 if test -n "$ac_pt_PKG_CONFIG"; then
   4451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4452 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4453 else
   4454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4455 $as_echo "no" >&6; }
   4456 fi
   4457 
   4458   if test "x$ac_pt_PKG_CONFIG" = x; then
   4459     PKG_CONFIG=""
   4460   else
   4461     case $cross_compiling:$ac_tool_warned in
   4462 yes:)
   4463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4464 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4465 ac_tool_warned=yes ;;
   4466 esac
   4467     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4468   fi
   4469 else
   4470   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4471 fi
   4472 
   4473 fi
   4474 if test -n "$PKG_CONFIG"; then
   4475 	_pkg_min_version=0.9.0
   4476 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4477 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4478 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4479 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4480 $as_echo "yes" >&6; }
   4481 	else
   4482 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4483 $as_echo "no" >&6; }
   4484 		PKG_CONFIG=""
   4485 	fi
   4486 fi
   4487 # Make sure we can run config.sub.
   4488 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4489   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4490 
   4491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4492 $as_echo_n "checking build system type... " >&6; }
   4493 if ${ac_cv_build+:} false; then :
   4494   $as_echo_n "(cached) " >&6
   4495 else
   4496   ac_build_alias=$build_alias
   4497 test "x$ac_build_alias" = x &&
   4498   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4499 test "x$ac_build_alias" = x &&
   4500   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4501 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4502   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4503 
   4504 fi
   4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4506 $as_echo "$ac_cv_build" >&6; }
   4507 case $ac_cv_build in
   4508 *-*-*) ;;
   4509 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4510 esac
   4511 build=$ac_cv_build
   4512 ac_save_IFS=$IFS; IFS='-'
   4513 set x $ac_cv_build
   4514 shift
   4515 build_cpu=$1
   4516 build_vendor=$2
   4517 shift; shift
   4518 # Remember, the first character of IFS is used to create $*,
   4519 # except with old shells:
   4520 build_os=$*
   4521 IFS=$ac_save_IFS
   4522 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4523 
   4524 
   4525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4526 $as_echo_n "checking host system type... " >&6; }
   4527 if ${ac_cv_host+:} false; then :
   4528   $as_echo_n "(cached) " >&6
   4529 else
   4530   if test "x$host_alias" = x; then
   4531   ac_cv_host=$ac_cv_build
   4532 else
   4533   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4534     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4535 fi
   4536 
   4537 fi
   4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4539 $as_echo "$ac_cv_host" >&6; }
   4540 case $ac_cv_host in
   4541 *-*-*) ;;
   4542 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4543 esac
   4544 host=$ac_cv_host
   4545 ac_save_IFS=$IFS; IFS='-'
   4546 set x $ac_cv_host
   4547 shift
   4548 host_cpu=$1
   4549 host_vendor=$2
   4550 shift; shift
   4551 # Remember, the first character of IFS is used to create $*,
   4552 # except with old shells:
   4553 host_os=$*
   4554 IFS=$ac_save_IFS
   4555 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4556 
   4557 
   4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4559 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4560 if ${ac_cv_path_SED+:} false; then :
   4561   $as_echo_n "(cached) " >&6
   4562 else
   4563             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4564      for ac_i in 1 2 3 4 5 6 7; do
   4565        ac_script="$ac_script$as_nl$ac_script"
   4566      done
   4567      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4568      { ac_script=; unset ac_script;}
   4569      if test -z "$SED"; then
   4570   ac_path_SED_found=false
   4571   # Loop through the user's path and test for each of PROGNAME-LIST
   4572   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4573 for as_dir in $PATH
   4574 do
   4575   IFS=$as_save_IFS
   4576   test -z "$as_dir" && as_dir=.
   4577     for ac_prog in sed gsed; do
   4578     for ac_exec_ext in '' $ac_executable_extensions; do
   4579       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4580       as_fn_executable_p "$ac_path_SED" || continue
   4581 # Check for GNU ac_path_SED and select it if it is found.
   4582   # Check for GNU $ac_path_SED
   4583 case `"$ac_path_SED" --version 2>&1` in
   4584 *GNU*)
   4585   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4586 *)
   4587   ac_count=0
   4588   $as_echo_n 0123456789 >"conftest.in"
   4589   while :
   4590   do
   4591     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4592     mv "conftest.tmp" "conftest.in"
   4593     cp "conftest.in" "conftest.nl"
   4594     $as_echo '' >> "conftest.nl"
   4595     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4596     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4597     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4598     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4599       # Best one so far, save it but keep looking for a better one
   4600       ac_cv_path_SED="$ac_path_SED"
   4601       ac_path_SED_max=$ac_count
   4602     fi
   4603     # 10*(2^10) chars as input seems more than enough
   4604     test $ac_count -gt 10 && break
   4605   done
   4606   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4607 esac
   4608 
   4609       $ac_path_SED_found && break 3
   4610     done
   4611   done
   4612   done
   4613 IFS=$as_save_IFS
   4614   if test -z "$ac_cv_path_SED"; then
   4615     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4616   fi
   4617 else
   4618   ac_cv_path_SED=$SED
   4619 fi
   4620 
   4621 fi
   4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4623 $as_echo "$ac_cv_path_SED" >&6; }
   4624  SED="$ac_cv_path_SED"
   4625   rm -f conftest.sed
   4626 
   4627 
   4628 
   4629 
   4630 
   4631 
   4632 # Check whether --enable-selective-werror was given.
   4633 if test "${enable_selective_werror+set}" = set; then :
   4634   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4635 else
   4636   SELECTIVE_WERROR=yes
   4637 fi
   4638 
   4639 
   4640 
   4641 
   4642 
   4643 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4644 if test "x$SUNCC" = "xyes"; then
   4645     BASE_CFLAGS="-v"
   4646 else
   4647     BASE_CFLAGS=""
   4648 fi
   4649 
   4650 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4651 
   4652 
   4653 
   4654 
   4655 
   4656 
   4657 
   4658 
   4659 
   4660 
   4661 
   4662 
   4663 
   4664 xorg_testset_save_CFLAGS="$CFLAGS"
   4665 
   4666 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4667 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4668 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4669 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4670 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4671   $as_echo_n "(cached) " >&6
   4672 else
   4673   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4674 /* end confdefs.h.  */
   4675 int i;
   4676 _ACEOF
   4677 if ac_fn_c_try_compile "$LINENO"; then :
   4678   xorg_cv_cc_flag_unknown_warning_option=yes
   4679 else
   4680   xorg_cv_cc_flag_unknown_warning_option=no
   4681 fi
   4682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4683 fi
   4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4685 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4686 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4687 	CFLAGS="$xorg_testset_save_CFLAGS"
   4688 fi
   4689 
   4690 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4691 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4692 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4693 	fi
   4694 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4695 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4696 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4697 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4698   $as_echo_n "(cached) " >&6
   4699 else
   4700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4701 /* end confdefs.h.  */
   4702 int i;
   4703 _ACEOF
   4704 if ac_fn_c_try_compile "$LINENO"; then :
   4705   xorg_cv_cc_flag_unused_command_line_argument=yes
   4706 else
   4707   xorg_cv_cc_flag_unused_command_line_argument=no
   4708 fi
   4709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4710 fi
   4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4712 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4713 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4714 	CFLAGS="$xorg_testset_save_CFLAGS"
   4715 fi
   4716 
   4717 found="no"
   4718 
   4719 	if test $found = "no" ; then
   4720 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4721 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4722 		fi
   4723 
   4724 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4725 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4726 		fi
   4727 
   4728 		CFLAGS="$CFLAGS -Wall"
   4729 
   4730 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4731 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4732 		cacheid=xorg_cv_cc_flag__Wall
   4733 		if eval \${$cacheid+:} false; then :
   4734   $as_echo_n "(cached) " >&6
   4735 else
   4736   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4737 /* end confdefs.h.  */
   4738 int i;
   4739 int
   4740 main ()
   4741 {
   4742 
   4743   ;
   4744   return 0;
   4745 }
   4746 _ACEOF
   4747 if ac_fn_c_try_link "$LINENO"; then :
   4748   eval $cacheid=yes
   4749 else
   4750   eval $cacheid=no
   4751 fi
   4752 rm -f core conftest.err conftest.$ac_objext \
   4753     conftest$ac_exeext conftest.$ac_ext
   4754 fi
   4755 
   4756 
   4757 		CFLAGS="$xorg_testset_save_CFLAGS"
   4758 
   4759 		eval supported=\$$cacheid
   4760 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4761 $as_echo "$supported" >&6; }
   4762 		if test "$supported" = "yes" ; then
   4763 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4764 			found="yes"
   4765 		fi
   4766 	fi
   4767 
   4768 
   4769 
   4770 
   4771 
   4772 
   4773 
   4774 
   4775 
   4776 
   4777 
   4778 
   4779 
   4780 
   4781 
   4782 xorg_testset_save_CFLAGS="$CFLAGS"
   4783 
   4784 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4785 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4786 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4787 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4788 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4789   $as_echo_n "(cached) " >&6
   4790 else
   4791   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4792 /* end confdefs.h.  */
   4793 int i;
   4794 _ACEOF
   4795 if ac_fn_c_try_compile "$LINENO"; then :
   4796   xorg_cv_cc_flag_unknown_warning_option=yes
   4797 else
   4798   xorg_cv_cc_flag_unknown_warning_option=no
   4799 fi
   4800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4801 fi
   4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4803 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4804 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4805 	CFLAGS="$xorg_testset_save_CFLAGS"
   4806 fi
   4807 
   4808 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4809 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4810 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4811 	fi
   4812 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4813 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4814 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4815 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4816   $as_echo_n "(cached) " >&6
   4817 else
   4818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4819 /* end confdefs.h.  */
   4820 int i;
   4821 _ACEOF
   4822 if ac_fn_c_try_compile "$LINENO"; then :
   4823   xorg_cv_cc_flag_unused_command_line_argument=yes
   4824 else
   4825   xorg_cv_cc_flag_unused_command_line_argument=no
   4826 fi
   4827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4828 fi
   4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4830 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4831 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4832 	CFLAGS="$xorg_testset_save_CFLAGS"
   4833 fi
   4834 
   4835 found="no"
   4836 
   4837 	if test $found = "no" ; then
   4838 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4839 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4840 		fi
   4841 
   4842 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4843 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4844 		fi
   4845 
   4846 		CFLAGS="$CFLAGS -Wpointer-arith"
   4847 
   4848 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4849 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4850 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4851 		if eval \${$cacheid+:} false; then :
   4852   $as_echo_n "(cached) " >&6
   4853 else
   4854   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4855 /* end confdefs.h.  */
   4856 int i;
   4857 int
   4858 main ()
   4859 {
   4860 
   4861   ;
   4862   return 0;
   4863 }
   4864 _ACEOF
   4865 if ac_fn_c_try_link "$LINENO"; then :
   4866   eval $cacheid=yes
   4867 else
   4868   eval $cacheid=no
   4869 fi
   4870 rm -f core conftest.err conftest.$ac_objext \
   4871     conftest$ac_exeext conftest.$ac_ext
   4872 fi
   4873 
   4874 
   4875 		CFLAGS="$xorg_testset_save_CFLAGS"
   4876 
   4877 		eval supported=\$$cacheid
   4878 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4879 $as_echo "$supported" >&6; }
   4880 		if test "$supported" = "yes" ; then
   4881 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4882 			found="yes"
   4883 		fi
   4884 	fi
   4885 
   4886 
   4887 
   4888 
   4889 
   4890 
   4891 
   4892 
   4893 
   4894 
   4895 
   4896 
   4897 
   4898 
   4899 
   4900 xorg_testset_save_CFLAGS="$CFLAGS"
   4901 
   4902 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4903 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4904 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4905 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4906 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4907   $as_echo_n "(cached) " >&6
   4908 else
   4909   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4910 /* end confdefs.h.  */
   4911 int i;
   4912 _ACEOF
   4913 if ac_fn_c_try_compile "$LINENO"; then :
   4914   xorg_cv_cc_flag_unknown_warning_option=yes
   4915 else
   4916   xorg_cv_cc_flag_unknown_warning_option=no
   4917 fi
   4918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4919 fi
   4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4921 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4922 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4923 	CFLAGS="$xorg_testset_save_CFLAGS"
   4924 fi
   4925 
   4926 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4927 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4928 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4929 	fi
   4930 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4931 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4932 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4933 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4934   $as_echo_n "(cached) " >&6
   4935 else
   4936   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4937 /* end confdefs.h.  */
   4938 int i;
   4939 _ACEOF
   4940 if ac_fn_c_try_compile "$LINENO"; then :
   4941   xorg_cv_cc_flag_unused_command_line_argument=yes
   4942 else
   4943   xorg_cv_cc_flag_unused_command_line_argument=no
   4944 fi
   4945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4946 fi
   4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4948 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4949 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4950 	CFLAGS="$xorg_testset_save_CFLAGS"
   4951 fi
   4952 
   4953 found="no"
   4954 
   4955 	if test $found = "no" ; then
   4956 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4957 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4958 		fi
   4959 
   4960 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4961 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4962 		fi
   4963 
   4964 		CFLAGS="$CFLAGS -Wmissing-declarations"
   4965 
   4966 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   4967 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   4968 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   4969 		if eval \${$cacheid+:} false; then :
   4970   $as_echo_n "(cached) " >&6
   4971 else
   4972   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4973 /* end confdefs.h.  */
   4974 int i;
   4975 int
   4976 main ()
   4977 {
   4978 
   4979   ;
   4980   return 0;
   4981 }
   4982 _ACEOF
   4983 if ac_fn_c_try_link "$LINENO"; then :
   4984   eval $cacheid=yes
   4985 else
   4986   eval $cacheid=no
   4987 fi
   4988 rm -f core conftest.err conftest.$ac_objext \
   4989     conftest$ac_exeext conftest.$ac_ext
   4990 fi
   4991 
   4992 
   4993 		CFLAGS="$xorg_testset_save_CFLAGS"
   4994 
   4995 		eval supported=\$$cacheid
   4996 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4997 $as_echo "$supported" >&6; }
   4998 		if test "$supported" = "yes" ; then
   4999 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5000 			found="yes"
   5001 		fi
   5002 	fi
   5003 
   5004 
   5005 
   5006 
   5007 
   5008 
   5009 
   5010 
   5011 
   5012 
   5013 
   5014 
   5015 
   5016 
   5017 
   5018 xorg_testset_save_CFLAGS="$CFLAGS"
   5019 
   5020 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5021 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5022 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5023 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5024 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5025   $as_echo_n "(cached) " >&6
   5026 else
   5027   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5028 /* end confdefs.h.  */
   5029 int i;
   5030 _ACEOF
   5031 if ac_fn_c_try_compile "$LINENO"; then :
   5032   xorg_cv_cc_flag_unknown_warning_option=yes
   5033 else
   5034   xorg_cv_cc_flag_unknown_warning_option=no
   5035 fi
   5036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5037 fi
   5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5039 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5040 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5041 	CFLAGS="$xorg_testset_save_CFLAGS"
   5042 fi
   5043 
   5044 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5045 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5046 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5047 	fi
   5048 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5049 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5050 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5051 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5052   $as_echo_n "(cached) " >&6
   5053 else
   5054   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5055 /* end confdefs.h.  */
   5056 int i;
   5057 _ACEOF
   5058 if ac_fn_c_try_compile "$LINENO"; then :
   5059   xorg_cv_cc_flag_unused_command_line_argument=yes
   5060 else
   5061   xorg_cv_cc_flag_unused_command_line_argument=no
   5062 fi
   5063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5064 fi
   5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5066 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5067 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5068 	CFLAGS="$xorg_testset_save_CFLAGS"
   5069 fi
   5070 
   5071 found="no"
   5072 
   5073 	if test $found = "no" ; then
   5074 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5075 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5076 		fi
   5077 
   5078 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5079 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5080 		fi
   5081 
   5082 		CFLAGS="$CFLAGS -Wformat=2"
   5083 
   5084 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5085 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5086 		cacheid=xorg_cv_cc_flag__Wformat_2
   5087 		if eval \${$cacheid+:} false; then :
   5088   $as_echo_n "(cached) " >&6
   5089 else
   5090   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5091 /* end confdefs.h.  */
   5092 int i;
   5093 int
   5094 main ()
   5095 {
   5096 
   5097   ;
   5098   return 0;
   5099 }
   5100 _ACEOF
   5101 if ac_fn_c_try_link "$LINENO"; then :
   5102   eval $cacheid=yes
   5103 else
   5104   eval $cacheid=no
   5105 fi
   5106 rm -f core conftest.err conftest.$ac_objext \
   5107     conftest$ac_exeext conftest.$ac_ext
   5108 fi
   5109 
   5110 
   5111 		CFLAGS="$xorg_testset_save_CFLAGS"
   5112 
   5113 		eval supported=\$$cacheid
   5114 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5115 $as_echo "$supported" >&6; }
   5116 		if test "$supported" = "yes" ; then
   5117 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5118 			found="yes"
   5119 		fi
   5120 	fi
   5121 
   5122 	if test $found = "no" ; then
   5123 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5124 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5125 		fi
   5126 
   5127 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5128 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5129 		fi
   5130 
   5131 		CFLAGS="$CFLAGS -Wformat"
   5132 
   5133 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5134 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5135 		cacheid=xorg_cv_cc_flag__Wformat
   5136 		if eval \${$cacheid+:} false; then :
   5137   $as_echo_n "(cached) " >&6
   5138 else
   5139   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5140 /* end confdefs.h.  */
   5141 int i;
   5142 int
   5143 main ()
   5144 {
   5145 
   5146   ;
   5147   return 0;
   5148 }
   5149 _ACEOF
   5150 if ac_fn_c_try_link "$LINENO"; then :
   5151   eval $cacheid=yes
   5152 else
   5153   eval $cacheid=no
   5154 fi
   5155 rm -f core conftest.err conftest.$ac_objext \
   5156     conftest$ac_exeext conftest.$ac_ext
   5157 fi
   5158 
   5159 
   5160 		CFLAGS="$xorg_testset_save_CFLAGS"
   5161 
   5162 		eval supported=\$$cacheid
   5163 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5164 $as_echo "$supported" >&6; }
   5165 		if test "$supported" = "yes" ; then
   5166 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5167 			found="yes"
   5168 		fi
   5169 	fi
   5170 
   5171 
   5172 
   5173 
   5174 
   5175 
   5176 
   5177 
   5178 
   5179 
   5180 
   5181 
   5182 
   5183 
   5184 
   5185 
   5186 
   5187 xorg_testset_save_CFLAGS="$CFLAGS"
   5188 
   5189 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5190 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5191 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5192 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5193 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5194   $as_echo_n "(cached) " >&6
   5195 else
   5196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5197 /* end confdefs.h.  */
   5198 int i;
   5199 _ACEOF
   5200 if ac_fn_c_try_compile "$LINENO"; then :
   5201   xorg_cv_cc_flag_unknown_warning_option=yes
   5202 else
   5203   xorg_cv_cc_flag_unknown_warning_option=no
   5204 fi
   5205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5206 fi
   5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5208 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5209 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5210 	CFLAGS="$xorg_testset_save_CFLAGS"
   5211 fi
   5212 
   5213 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5214 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5215 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5216 	fi
   5217 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5218 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5219 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5220 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5221   $as_echo_n "(cached) " >&6
   5222 else
   5223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5224 /* end confdefs.h.  */
   5225 int i;
   5226 _ACEOF
   5227 if ac_fn_c_try_compile "$LINENO"; then :
   5228   xorg_cv_cc_flag_unused_command_line_argument=yes
   5229 else
   5230   xorg_cv_cc_flag_unused_command_line_argument=no
   5231 fi
   5232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5233 fi
   5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5235 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5236 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5237 	CFLAGS="$xorg_testset_save_CFLAGS"
   5238 fi
   5239 
   5240 found="no"
   5241 
   5242 	if test $found = "no" ; then
   5243 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5244 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5245 		fi
   5246 
   5247 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5248 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5249 		fi
   5250 
   5251 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5252 
   5253 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5254 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5255 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5256 		if eval \${$cacheid+:} false; then :
   5257   $as_echo_n "(cached) " >&6
   5258 else
   5259   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5260 /* end confdefs.h.  */
   5261 int i;
   5262 int
   5263 main ()
   5264 {
   5265 
   5266   ;
   5267   return 0;
   5268 }
   5269 _ACEOF
   5270 if ac_fn_c_try_link "$LINENO"; then :
   5271   eval $cacheid=yes
   5272 else
   5273   eval $cacheid=no
   5274 fi
   5275 rm -f core conftest.err conftest.$ac_objext \
   5276     conftest$ac_exeext conftest.$ac_ext
   5277 fi
   5278 
   5279 
   5280 		CFLAGS="$xorg_testset_save_CFLAGS"
   5281 
   5282 		eval supported=\$$cacheid
   5283 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5284 $as_echo "$supported" >&6; }
   5285 		if test "$supported" = "yes" ; then
   5286 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5287 			found="yes"
   5288 		fi
   5289 	fi
   5290 
   5291 
   5292 
   5293 
   5294 
   5295 
   5296 
   5297 
   5298 
   5299 
   5300 
   5301 
   5302 
   5303 
   5304 
   5305 xorg_testset_save_CFLAGS="$CFLAGS"
   5306 
   5307 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5308 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5309 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5310 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5311 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5312   $as_echo_n "(cached) " >&6
   5313 else
   5314   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5315 /* end confdefs.h.  */
   5316 int i;
   5317 _ACEOF
   5318 if ac_fn_c_try_compile "$LINENO"; then :
   5319   xorg_cv_cc_flag_unknown_warning_option=yes
   5320 else
   5321   xorg_cv_cc_flag_unknown_warning_option=no
   5322 fi
   5323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5324 fi
   5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5326 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5327 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5328 	CFLAGS="$xorg_testset_save_CFLAGS"
   5329 fi
   5330 
   5331 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5332 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5333 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5334 	fi
   5335 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5336 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5337 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5338 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5339   $as_echo_n "(cached) " >&6
   5340 else
   5341   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5342 /* end confdefs.h.  */
   5343 int i;
   5344 _ACEOF
   5345 if ac_fn_c_try_compile "$LINENO"; then :
   5346   xorg_cv_cc_flag_unused_command_line_argument=yes
   5347 else
   5348   xorg_cv_cc_flag_unused_command_line_argument=no
   5349 fi
   5350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5351 fi
   5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5353 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5354 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5355 	CFLAGS="$xorg_testset_save_CFLAGS"
   5356 fi
   5357 
   5358 found="no"
   5359 
   5360 	if test $found = "no" ; then
   5361 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5362 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5363 		fi
   5364 
   5365 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5366 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5367 		fi
   5368 
   5369 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5370 
   5371 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5372 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5373 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5374 		if eval \${$cacheid+:} false; then :
   5375   $as_echo_n "(cached) " >&6
   5376 else
   5377   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5378 /* end confdefs.h.  */
   5379 int i;
   5380 int
   5381 main ()
   5382 {
   5383 
   5384   ;
   5385   return 0;
   5386 }
   5387 _ACEOF
   5388 if ac_fn_c_try_link "$LINENO"; then :
   5389   eval $cacheid=yes
   5390 else
   5391   eval $cacheid=no
   5392 fi
   5393 rm -f core conftest.err conftest.$ac_objext \
   5394     conftest$ac_exeext conftest.$ac_ext
   5395 fi
   5396 
   5397 
   5398 		CFLAGS="$xorg_testset_save_CFLAGS"
   5399 
   5400 		eval supported=\$$cacheid
   5401 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5402 $as_echo "$supported" >&6; }
   5403 		if test "$supported" = "yes" ; then
   5404 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5405 			found="yes"
   5406 		fi
   5407 	fi
   5408 
   5409 
   5410 
   5411 
   5412 
   5413 
   5414 
   5415 
   5416 
   5417 
   5418 
   5419 
   5420 
   5421 
   5422 
   5423 xorg_testset_save_CFLAGS="$CFLAGS"
   5424 
   5425 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5426 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5427 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5428 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5429 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5430   $as_echo_n "(cached) " >&6
   5431 else
   5432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5433 /* end confdefs.h.  */
   5434 int i;
   5435 _ACEOF
   5436 if ac_fn_c_try_compile "$LINENO"; then :
   5437   xorg_cv_cc_flag_unknown_warning_option=yes
   5438 else
   5439   xorg_cv_cc_flag_unknown_warning_option=no
   5440 fi
   5441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5442 fi
   5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5444 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5445 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5446 	CFLAGS="$xorg_testset_save_CFLAGS"
   5447 fi
   5448 
   5449 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5450 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5451 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5452 	fi
   5453 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5454 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5455 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5456 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5457   $as_echo_n "(cached) " >&6
   5458 else
   5459   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5460 /* end confdefs.h.  */
   5461 int i;
   5462 _ACEOF
   5463 if ac_fn_c_try_compile "$LINENO"; then :
   5464   xorg_cv_cc_flag_unused_command_line_argument=yes
   5465 else
   5466   xorg_cv_cc_flag_unused_command_line_argument=no
   5467 fi
   5468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5469 fi
   5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5471 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5472 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5473 	CFLAGS="$xorg_testset_save_CFLAGS"
   5474 fi
   5475 
   5476 found="no"
   5477 
   5478 	if test $found = "no" ; then
   5479 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5480 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5481 		fi
   5482 
   5483 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5484 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5485 		fi
   5486 
   5487 		CFLAGS="$CFLAGS -Wnested-externs"
   5488 
   5489 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5490 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5491 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5492 		if eval \${$cacheid+:} false; then :
   5493   $as_echo_n "(cached) " >&6
   5494 else
   5495   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5496 /* end confdefs.h.  */
   5497 int i;
   5498 int
   5499 main ()
   5500 {
   5501 
   5502   ;
   5503   return 0;
   5504 }
   5505 _ACEOF
   5506 if ac_fn_c_try_link "$LINENO"; then :
   5507   eval $cacheid=yes
   5508 else
   5509   eval $cacheid=no
   5510 fi
   5511 rm -f core conftest.err conftest.$ac_objext \
   5512     conftest$ac_exeext conftest.$ac_ext
   5513 fi
   5514 
   5515 
   5516 		CFLAGS="$xorg_testset_save_CFLAGS"
   5517 
   5518 		eval supported=\$$cacheid
   5519 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5520 $as_echo "$supported" >&6; }
   5521 		if test "$supported" = "yes" ; then
   5522 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5523 			found="yes"
   5524 		fi
   5525 	fi
   5526 
   5527 
   5528 
   5529 
   5530 
   5531 
   5532 
   5533 
   5534 
   5535 
   5536 
   5537 
   5538 
   5539 
   5540 
   5541 xorg_testset_save_CFLAGS="$CFLAGS"
   5542 
   5543 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5544 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5545 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5546 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5547 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5548   $as_echo_n "(cached) " >&6
   5549 else
   5550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5551 /* end confdefs.h.  */
   5552 int i;
   5553 _ACEOF
   5554 if ac_fn_c_try_compile "$LINENO"; then :
   5555   xorg_cv_cc_flag_unknown_warning_option=yes
   5556 else
   5557   xorg_cv_cc_flag_unknown_warning_option=no
   5558 fi
   5559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5560 fi
   5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5562 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5563 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5564 	CFLAGS="$xorg_testset_save_CFLAGS"
   5565 fi
   5566 
   5567 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5568 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5569 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5570 	fi
   5571 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5572 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5573 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5574 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5575   $as_echo_n "(cached) " >&6
   5576 else
   5577   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5578 /* end confdefs.h.  */
   5579 int i;
   5580 _ACEOF
   5581 if ac_fn_c_try_compile "$LINENO"; then :
   5582   xorg_cv_cc_flag_unused_command_line_argument=yes
   5583 else
   5584   xorg_cv_cc_flag_unused_command_line_argument=no
   5585 fi
   5586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5587 fi
   5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5589 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5590 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5591 	CFLAGS="$xorg_testset_save_CFLAGS"
   5592 fi
   5593 
   5594 found="no"
   5595 
   5596 	if test $found = "no" ; then
   5597 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5598 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5599 		fi
   5600 
   5601 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5602 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5603 		fi
   5604 
   5605 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5606 
   5607 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5608 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5609 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5610 		if eval \${$cacheid+:} false; then :
   5611   $as_echo_n "(cached) " >&6
   5612 else
   5613   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5614 /* end confdefs.h.  */
   5615 int i;
   5616 int
   5617 main ()
   5618 {
   5619 
   5620   ;
   5621   return 0;
   5622 }
   5623 _ACEOF
   5624 if ac_fn_c_try_link "$LINENO"; then :
   5625   eval $cacheid=yes
   5626 else
   5627   eval $cacheid=no
   5628 fi
   5629 rm -f core conftest.err conftest.$ac_objext \
   5630     conftest$ac_exeext conftest.$ac_ext
   5631 fi
   5632 
   5633 
   5634 		CFLAGS="$xorg_testset_save_CFLAGS"
   5635 
   5636 		eval supported=\$$cacheid
   5637 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5638 $as_echo "$supported" >&6; }
   5639 		if test "$supported" = "yes" ; then
   5640 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5641 			found="yes"
   5642 		fi
   5643 	fi
   5644 
   5645 
   5646 
   5647 
   5648 
   5649 
   5650 
   5651 
   5652 
   5653 
   5654 
   5655 
   5656 
   5657 
   5658 
   5659 xorg_testset_save_CFLAGS="$CFLAGS"
   5660 
   5661 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5662 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5663 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5664 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5665 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5666   $as_echo_n "(cached) " >&6
   5667 else
   5668   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5669 /* end confdefs.h.  */
   5670 int i;
   5671 _ACEOF
   5672 if ac_fn_c_try_compile "$LINENO"; then :
   5673   xorg_cv_cc_flag_unknown_warning_option=yes
   5674 else
   5675   xorg_cv_cc_flag_unknown_warning_option=no
   5676 fi
   5677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5678 fi
   5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5680 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5681 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5682 	CFLAGS="$xorg_testset_save_CFLAGS"
   5683 fi
   5684 
   5685 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5686 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5687 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5688 	fi
   5689 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5690 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5691 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5692 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5693   $as_echo_n "(cached) " >&6
   5694 else
   5695   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5696 /* end confdefs.h.  */
   5697 int i;
   5698 _ACEOF
   5699 if ac_fn_c_try_compile "$LINENO"; then :
   5700   xorg_cv_cc_flag_unused_command_line_argument=yes
   5701 else
   5702   xorg_cv_cc_flag_unused_command_line_argument=no
   5703 fi
   5704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5705 fi
   5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5707 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5708 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5709 	CFLAGS="$xorg_testset_save_CFLAGS"
   5710 fi
   5711 
   5712 found="no"
   5713 
   5714 	if test $found = "no" ; then
   5715 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5716 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5717 		fi
   5718 
   5719 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5720 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5721 		fi
   5722 
   5723 		CFLAGS="$CFLAGS -Wold-style-definition"
   5724 
   5725 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5726 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5727 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5728 		if eval \${$cacheid+:} false; then :
   5729   $as_echo_n "(cached) " >&6
   5730 else
   5731   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5732 /* end confdefs.h.  */
   5733 int i;
   5734 int
   5735 main ()
   5736 {
   5737 
   5738   ;
   5739   return 0;
   5740 }
   5741 _ACEOF
   5742 if ac_fn_c_try_link "$LINENO"; then :
   5743   eval $cacheid=yes
   5744 else
   5745   eval $cacheid=no
   5746 fi
   5747 rm -f core conftest.err conftest.$ac_objext \
   5748     conftest$ac_exeext conftest.$ac_ext
   5749 fi
   5750 
   5751 
   5752 		CFLAGS="$xorg_testset_save_CFLAGS"
   5753 
   5754 		eval supported=\$$cacheid
   5755 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5756 $as_echo "$supported" >&6; }
   5757 		if test "$supported" = "yes" ; then
   5758 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5759 			found="yes"
   5760 		fi
   5761 	fi
   5762 
   5763 	if test $found = "no" ; then
   5764 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5765 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5766 		fi
   5767 
   5768 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5769 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5770 		fi
   5771 
   5772 		CFLAGS="$CFLAGS -fd"
   5773 
   5774 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   5775 $as_echo_n "checking if $CC supports -fd... " >&6; }
   5776 		cacheid=xorg_cv_cc_flag__fd
   5777 		if eval \${$cacheid+:} false; then :
   5778   $as_echo_n "(cached) " >&6
   5779 else
   5780   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5781 /* end confdefs.h.  */
   5782 int i;
   5783 int
   5784 main ()
   5785 {
   5786 
   5787   ;
   5788   return 0;
   5789 }
   5790 _ACEOF
   5791 if ac_fn_c_try_link "$LINENO"; then :
   5792   eval $cacheid=yes
   5793 else
   5794   eval $cacheid=no
   5795 fi
   5796 rm -f core conftest.err conftest.$ac_objext \
   5797     conftest$ac_exeext conftest.$ac_ext
   5798 fi
   5799 
   5800 
   5801 		CFLAGS="$xorg_testset_save_CFLAGS"
   5802 
   5803 		eval supported=\$$cacheid
   5804 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5805 $as_echo "$supported" >&6; }
   5806 		if test "$supported" = "yes" ; then
   5807 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   5808 			found="yes"
   5809 		fi
   5810 	fi
   5811 
   5812 
   5813 
   5814 
   5815 
   5816 
   5817 
   5818 
   5819 
   5820 
   5821 
   5822 
   5823 
   5824 
   5825 
   5826 xorg_testset_save_CFLAGS="$CFLAGS"
   5827 
   5828 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5829 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5830 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5831 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5832 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5833   $as_echo_n "(cached) " >&6
   5834 else
   5835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5836 /* end confdefs.h.  */
   5837 int i;
   5838 _ACEOF
   5839 if ac_fn_c_try_compile "$LINENO"; then :
   5840   xorg_cv_cc_flag_unknown_warning_option=yes
   5841 else
   5842   xorg_cv_cc_flag_unknown_warning_option=no
   5843 fi
   5844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5845 fi
   5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5847 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5848 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5849 	CFLAGS="$xorg_testset_save_CFLAGS"
   5850 fi
   5851 
   5852 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5853 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5854 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5855 	fi
   5856 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5857 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5858 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5859 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5860   $as_echo_n "(cached) " >&6
   5861 else
   5862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5863 /* end confdefs.h.  */
   5864 int i;
   5865 _ACEOF
   5866 if ac_fn_c_try_compile "$LINENO"; then :
   5867   xorg_cv_cc_flag_unused_command_line_argument=yes
   5868 else
   5869   xorg_cv_cc_flag_unused_command_line_argument=no
   5870 fi
   5871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5872 fi
   5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5874 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5875 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5876 	CFLAGS="$xorg_testset_save_CFLAGS"
   5877 fi
   5878 
   5879 found="no"
   5880 
   5881 	if test $found = "no" ; then
   5882 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5883 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5884 		fi
   5885 
   5886 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5887 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5888 		fi
   5889 
   5890 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5891 
   5892 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5893 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5894 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5895 		if eval \${$cacheid+:} false; then :
   5896   $as_echo_n "(cached) " >&6
   5897 else
   5898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5899 /* end confdefs.h.  */
   5900 int i;
   5901 int
   5902 main ()
   5903 {
   5904 
   5905   ;
   5906   return 0;
   5907 }
   5908 _ACEOF
   5909 if ac_fn_c_try_link "$LINENO"; then :
   5910   eval $cacheid=yes
   5911 else
   5912   eval $cacheid=no
   5913 fi
   5914 rm -f core conftest.err conftest.$ac_objext \
   5915     conftest$ac_exeext conftest.$ac_ext
   5916 fi
   5917 
   5918 
   5919 		CFLAGS="$xorg_testset_save_CFLAGS"
   5920 
   5921 		eval supported=\$$cacheid
   5922 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5923 $as_echo "$supported" >&6; }
   5924 		if test "$supported" = "yes" ; then
   5925 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5926 			found="yes"
   5927 		fi
   5928 	fi
   5929 
   5930 
   5931 
   5932 
   5933 
   5934 # This chunk adds additional warnings that could catch undesired effects.
   5935 
   5936 
   5937 
   5938 
   5939 
   5940 
   5941 
   5942 
   5943 
   5944 
   5945 
   5946 
   5947 
   5948 xorg_testset_save_CFLAGS="$CFLAGS"
   5949 
   5950 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5951 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5952 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5953 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5954 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5955   $as_echo_n "(cached) " >&6
   5956 else
   5957   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5958 /* end confdefs.h.  */
   5959 int i;
   5960 _ACEOF
   5961 if ac_fn_c_try_compile "$LINENO"; then :
   5962   xorg_cv_cc_flag_unknown_warning_option=yes
   5963 else
   5964   xorg_cv_cc_flag_unknown_warning_option=no
   5965 fi
   5966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5967 fi
   5968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5969 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5970 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5971 	CFLAGS="$xorg_testset_save_CFLAGS"
   5972 fi
   5973 
   5974 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5975 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5976 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5977 	fi
   5978 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5979 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5980 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5981 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5982   $as_echo_n "(cached) " >&6
   5983 else
   5984   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5985 /* end confdefs.h.  */
   5986 int i;
   5987 _ACEOF
   5988 if ac_fn_c_try_compile "$LINENO"; then :
   5989   xorg_cv_cc_flag_unused_command_line_argument=yes
   5990 else
   5991   xorg_cv_cc_flag_unused_command_line_argument=no
   5992 fi
   5993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5994 fi
   5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5996 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5997 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5998 	CFLAGS="$xorg_testset_save_CFLAGS"
   5999 fi
   6000 
   6001 found="no"
   6002 
   6003 	if test $found = "no" ; then
   6004 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6005 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6006 		fi
   6007 
   6008 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6009 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6010 		fi
   6011 
   6012 		CFLAGS="$CFLAGS -Wunused"
   6013 
   6014 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6015 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6016 		cacheid=xorg_cv_cc_flag__Wunused
   6017 		if eval \${$cacheid+:} false; then :
   6018   $as_echo_n "(cached) " >&6
   6019 else
   6020   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6021 /* end confdefs.h.  */
   6022 int i;
   6023 int
   6024 main ()
   6025 {
   6026 
   6027   ;
   6028   return 0;
   6029 }
   6030 _ACEOF
   6031 if ac_fn_c_try_link "$LINENO"; then :
   6032   eval $cacheid=yes
   6033 else
   6034   eval $cacheid=no
   6035 fi
   6036 rm -f core conftest.err conftest.$ac_objext \
   6037     conftest$ac_exeext conftest.$ac_ext
   6038 fi
   6039 
   6040 
   6041 		CFLAGS="$xorg_testset_save_CFLAGS"
   6042 
   6043 		eval supported=\$$cacheid
   6044 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6045 $as_echo "$supported" >&6; }
   6046 		if test "$supported" = "yes" ; then
   6047 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6048 			found="yes"
   6049 		fi
   6050 	fi
   6051 
   6052 
   6053 
   6054 
   6055 
   6056 
   6057 
   6058 
   6059 
   6060 
   6061 
   6062 
   6063 
   6064 
   6065 
   6066 xorg_testset_save_CFLAGS="$CFLAGS"
   6067 
   6068 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6069 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6070 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6071 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6072 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6073   $as_echo_n "(cached) " >&6
   6074 else
   6075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6076 /* end confdefs.h.  */
   6077 int i;
   6078 _ACEOF
   6079 if ac_fn_c_try_compile "$LINENO"; then :
   6080   xorg_cv_cc_flag_unknown_warning_option=yes
   6081 else
   6082   xorg_cv_cc_flag_unknown_warning_option=no
   6083 fi
   6084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6085 fi
   6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6087 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6088 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6089 	CFLAGS="$xorg_testset_save_CFLAGS"
   6090 fi
   6091 
   6092 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6093 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6094 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6095 	fi
   6096 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6097 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6098 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6099 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6100   $as_echo_n "(cached) " >&6
   6101 else
   6102   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6103 /* end confdefs.h.  */
   6104 int i;
   6105 _ACEOF
   6106 if ac_fn_c_try_compile "$LINENO"; then :
   6107   xorg_cv_cc_flag_unused_command_line_argument=yes
   6108 else
   6109   xorg_cv_cc_flag_unused_command_line_argument=no
   6110 fi
   6111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6112 fi
   6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6114 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6115 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6116 	CFLAGS="$xorg_testset_save_CFLAGS"
   6117 fi
   6118 
   6119 found="no"
   6120 
   6121 	if test $found = "no" ; then
   6122 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6123 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6124 		fi
   6125 
   6126 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6127 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6128 		fi
   6129 
   6130 		CFLAGS="$CFLAGS -Wuninitialized"
   6131 
   6132 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6133 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6134 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6135 		if eval \${$cacheid+:} false; then :
   6136   $as_echo_n "(cached) " >&6
   6137 else
   6138   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6139 /* end confdefs.h.  */
   6140 int i;
   6141 int
   6142 main ()
   6143 {
   6144 
   6145   ;
   6146   return 0;
   6147 }
   6148 _ACEOF
   6149 if ac_fn_c_try_link "$LINENO"; then :
   6150   eval $cacheid=yes
   6151 else
   6152   eval $cacheid=no
   6153 fi
   6154 rm -f core conftest.err conftest.$ac_objext \
   6155     conftest$ac_exeext conftest.$ac_ext
   6156 fi
   6157 
   6158 
   6159 		CFLAGS="$xorg_testset_save_CFLAGS"
   6160 
   6161 		eval supported=\$$cacheid
   6162 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6163 $as_echo "$supported" >&6; }
   6164 		if test "$supported" = "yes" ; then
   6165 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6166 			found="yes"
   6167 		fi
   6168 	fi
   6169 
   6170 
   6171 
   6172 
   6173 
   6174 
   6175 
   6176 
   6177 
   6178 
   6179 
   6180 
   6181 
   6182 
   6183 
   6184 xorg_testset_save_CFLAGS="$CFLAGS"
   6185 
   6186 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6187 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6188 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6189 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6190 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6191   $as_echo_n "(cached) " >&6
   6192 else
   6193   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6194 /* end confdefs.h.  */
   6195 int i;
   6196 _ACEOF
   6197 if ac_fn_c_try_compile "$LINENO"; then :
   6198   xorg_cv_cc_flag_unknown_warning_option=yes
   6199 else
   6200   xorg_cv_cc_flag_unknown_warning_option=no
   6201 fi
   6202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6203 fi
   6204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6205 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6206 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6207 	CFLAGS="$xorg_testset_save_CFLAGS"
   6208 fi
   6209 
   6210 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6211 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6212 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6213 	fi
   6214 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6215 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6216 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6217 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6218   $as_echo_n "(cached) " >&6
   6219 else
   6220   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6221 /* end confdefs.h.  */
   6222 int i;
   6223 _ACEOF
   6224 if ac_fn_c_try_compile "$LINENO"; then :
   6225   xorg_cv_cc_flag_unused_command_line_argument=yes
   6226 else
   6227   xorg_cv_cc_flag_unused_command_line_argument=no
   6228 fi
   6229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6230 fi
   6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6232 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6233 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6234 	CFLAGS="$xorg_testset_save_CFLAGS"
   6235 fi
   6236 
   6237 found="no"
   6238 
   6239 	if test $found = "no" ; then
   6240 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6241 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6242 		fi
   6243 
   6244 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6245 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6246 		fi
   6247 
   6248 		CFLAGS="$CFLAGS -Wshadow"
   6249 
   6250 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6251 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6252 		cacheid=xorg_cv_cc_flag__Wshadow
   6253 		if eval \${$cacheid+:} false; then :
   6254   $as_echo_n "(cached) " >&6
   6255 else
   6256   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6257 /* end confdefs.h.  */
   6258 int i;
   6259 int
   6260 main ()
   6261 {
   6262 
   6263   ;
   6264   return 0;
   6265 }
   6266 _ACEOF
   6267 if ac_fn_c_try_link "$LINENO"; then :
   6268   eval $cacheid=yes
   6269 else
   6270   eval $cacheid=no
   6271 fi
   6272 rm -f core conftest.err conftest.$ac_objext \
   6273     conftest$ac_exeext conftest.$ac_ext
   6274 fi
   6275 
   6276 
   6277 		CFLAGS="$xorg_testset_save_CFLAGS"
   6278 
   6279 		eval supported=\$$cacheid
   6280 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6281 $as_echo "$supported" >&6; }
   6282 		if test "$supported" = "yes" ; then
   6283 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6284 			found="yes"
   6285 		fi
   6286 	fi
   6287 
   6288 
   6289 
   6290 
   6291 
   6292 
   6293 
   6294 
   6295 
   6296 
   6297 
   6298 
   6299 
   6300 
   6301 
   6302 xorg_testset_save_CFLAGS="$CFLAGS"
   6303 
   6304 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6305 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6306 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6307 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6308 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6309   $as_echo_n "(cached) " >&6
   6310 else
   6311   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6312 /* end confdefs.h.  */
   6313 int i;
   6314 _ACEOF
   6315 if ac_fn_c_try_compile "$LINENO"; then :
   6316   xorg_cv_cc_flag_unknown_warning_option=yes
   6317 else
   6318   xorg_cv_cc_flag_unknown_warning_option=no
   6319 fi
   6320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6321 fi
   6322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6323 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6324 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6325 	CFLAGS="$xorg_testset_save_CFLAGS"
   6326 fi
   6327 
   6328 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6329 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6330 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6331 	fi
   6332 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6333 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6334 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6335 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6336   $as_echo_n "(cached) " >&6
   6337 else
   6338   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6339 /* end confdefs.h.  */
   6340 int i;
   6341 _ACEOF
   6342 if ac_fn_c_try_compile "$LINENO"; then :
   6343   xorg_cv_cc_flag_unused_command_line_argument=yes
   6344 else
   6345   xorg_cv_cc_flag_unused_command_line_argument=no
   6346 fi
   6347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6348 fi
   6349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6350 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6351 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6352 	CFLAGS="$xorg_testset_save_CFLAGS"
   6353 fi
   6354 
   6355 found="no"
   6356 
   6357 	if test $found = "no" ; then
   6358 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6359 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6360 		fi
   6361 
   6362 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6363 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6364 		fi
   6365 
   6366 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6367 
   6368 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6369 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6370 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6371 		if eval \${$cacheid+:} false; then :
   6372   $as_echo_n "(cached) " >&6
   6373 else
   6374   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6375 /* end confdefs.h.  */
   6376 int i;
   6377 int
   6378 main ()
   6379 {
   6380 
   6381   ;
   6382   return 0;
   6383 }
   6384 _ACEOF
   6385 if ac_fn_c_try_link "$LINENO"; then :
   6386   eval $cacheid=yes
   6387 else
   6388   eval $cacheid=no
   6389 fi
   6390 rm -f core conftest.err conftest.$ac_objext \
   6391     conftest$ac_exeext conftest.$ac_ext
   6392 fi
   6393 
   6394 
   6395 		CFLAGS="$xorg_testset_save_CFLAGS"
   6396 
   6397 		eval supported=\$$cacheid
   6398 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6399 $as_echo "$supported" >&6; }
   6400 		if test "$supported" = "yes" ; then
   6401 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6402 			found="yes"
   6403 		fi
   6404 	fi
   6405 
   6406 
   6407 
   6408 
   6409 
   6410 
   6411 
   6412 
   6413 
   6414 
   6415 
   6416 
   6417 
   6418 
   6419 
   6420 xorg_testset_save_CFLAGS="$CFLAGS"
   6421 
   6422 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6423 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6424 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6425 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6426 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6427   $as_echo_n "(cached) " >&6
   6428 else
   6429   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6430 /* end confdefs.h.  */
   6431 int i;
   6432 _ACEOF
   6433 if ac_fn_c_try_compile "$LINENO"; then :
   6434   xorg_cv_cc_flag_unknown_warning_option=yes
   6435 else
   6436   xorg_cv_cc_flag_unknown_warning_option=no
   6437 fi
   6438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6439 fi
   6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6441 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6442 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6443 	CFLAGS="$xorg_testset_save_CFLAGS"
   6444 fi
   6445 
   6446 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6447 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6448 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6449 	fi
   6450 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6451 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6452 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6453 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6454   $as_echo_n "(cached) " >&6
   6455 else
   6456   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6457 /* end confdefs.h.  */
   6458 int i;
   6459 _ACEOF
   6460 if ac_fn_c_try_compile "$LINENO"; then :
   6461   xorg_cv_cc_flag_unused_command_line_argument=yes
   6462 else
   6463   xorg_cv_cc_flag_unused_command_line_argument=no
   6464 fi
   6465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6466 fi
   6467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6468 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6469 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6470 	CFLAGS="$xorg_testset_save_CFLAGS"
   6471 fi
   6472 
   6473 found="no"
   6474 
   6475 	if test $found = "no" ; then
   6476 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6477 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6478 		fi
   6479 
   6480 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6481 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6482 		fi
   6483 
   6484 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6485 
   6486 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6487 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6488 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6489 		if eval \${$cacheid+:} false; then :
   6490   $as_echo_n "(cached) " >&6
   6491 else
   6492   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6493 /* end confdefs.h.  */
   6494 int i;
   6495 int
   6496 main ()
   6497 {
   6498 
   6499   ;
   6500   return 0;
   6501 }
   6502 _ACEOF
   6503 if ac_fn_c_try_link "$LINENO"; then :
   6504   eval $cacheid=yes
   6505 else
   6506   eval $cacheid=no
   6507 fi
   6508 rm -f core conftest.err conftest.$ac_objext \
   6509     conftest$ac_exeext conftest.$ac_ext
   6510 fi
   6511 
   6512 
   6513 		CFLAGS="$xorg_testset_save_CFLAGS"
   6514 
   6515 		eval supported=\$$cacheid
   6516 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6517 $as_echo "$supported" >&6; }
   6518 		if test "$supported" = "yes" ; then
   6519 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6520 			found="yes"
   6521 		fi
   6522 	fi
   6523 
   6524 
   6525 
   6526 
   6527 
   6528 
   6529 
   6530 
   6531 
   6532 
   6533 
   6534 
   6535 
   6536 
   6537 
   6538 xorg_testset_save_CFLAGS="$CFLAGS"
   6539 
   6540 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6541 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6542 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6543 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6544 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6545   $as_echo_n "(cached) " >&6
   6546 else
   6547   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6548 /* end confdefs.h.  */
   6549 int i;
   6550 _ACEOF
   6551 if ac_fn_c_try_compile "$LINENO"; then :
   6552   xorg_cv_cc_flag_unknown_warning_option=yes
   6553 else
   6554   xorg_cv_cc_flag_unknown_warning_option=no
   6555 fi
   6556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6557 fi
   6558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6559 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6560 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6561 	CFLAGS="$xorg_testset_save_CFLAGS"
   6562 fi
   6563 
   6564 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6565 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6566 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6567 	fi
   6568 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6569 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6570 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6571 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6572   $as_echo_n "(cached) " >&6
   6573 else
   6574   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6575 /* end confdefs.h.  */
   6576 int i;
   6577 _ACEOF
   6578 if ac_fn_c_try_compile "$LINENO"; then :
   6579   xorg_cv_cc_flag_unused_command_line_argument=yes
   6580 else
   6581   xorg_cv_cc_flag_unused_command_line_argument=no
   6582 fi
   6583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6584 fi
   6585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6586 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6587 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6588 	CFLAGS="$xorg_testset_save_CFLAGS"
   6589 fi
   6590 
   6591 found="no"
   6592 
   6593 	if test $found = "no" ; then
   6594 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6595 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6596 		fi
   6597 
   6598 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6599 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6600 		fi
   6601 
   6602 		CFLAGS="$CFLAGS -Wredundant-decls"
   6603 
   6604 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6605 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6606 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6607 		if eval \${$cacheid+:} false; then :
   6608   $as_echo_n "(cached) " >&6
   6609 else
   6610   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6611 /* end confdefs.h.  */
   6612 int i;
   6613 int
   6614 main ()
   6615 {
   6616 
   6617   ;
   6618   return 0;
   6619 }
   6620 _ACEOF
   6621 if ac_fn_c_try_link "$LINENO"; then :
   6622   eval $cacheid=yes
   6623 else
   6624   eval $cacheid=no
   6625 fi
   6626 rm -f core conftest.err conftest.$ac_objext \
   6627     conftest$ac_exeext conftest.$ac_ext
   6628 fi
   6629 
   6630 
   6631 		CFLAGS="$xorg_testset_save_CFLAGS"
   6632 
   6633 		eval supported=\$$cacheid
   6634 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6635 $as_echo "$supported" >&6; }
   6636 		if test "$supported" = "yes" ; then
   6637 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6638 			found="yes"
   6639 		fi
   6640 	fi
   6641 
   6642 
   6643 
   6644 
   6645 
   6646 
   6647 
   6648 
   6649 
   6650 
   6651 
   6652 
   6653 
   6654 
   6655 
   6656 xorg_testset_save_CFLAGS="$CFLAGS"
   6657 
   6658 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6659 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6660 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6661 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6662 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6663   $as_echo_n "(cached) " >&6
   6664 else
   6665   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6666 /* end confdefs.h.  */
   6667 int i;
   6668 _ACEOF
   6669 if ac_fn_c_try_compile "$LINENO"; then :
   6670   xorg_cv_cc_flag_unknown_warning_option=yes
   6671 else
   6672   xorg_cv_cc_flag_unknown_warning_option=no
   6673 fi
   6674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6675 fi
   6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6677 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6678 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6679 	CFLAGS="$xorg_testset_save_CFLAGS"
   6680 fi
   6681 
   6682 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6683 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6684 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6685 	fi
   6686 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6687 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6688 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6689 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6690   $as_echo_n "(cached) " >&6
   6691 else
   6692   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6693 /* end confdefs.h.  */
   6694 int i;
   6695 _ACEOF
   6696 if ac_fn_c_try_compile "$LINENO"; then :
   6697   xorg_cv_cc_flag_unused_command_line_argument=yes
   6698 else
   6699   xorg_cv_cc_flag_unused_command_line_argument=no
   6700 fi
   6701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6702 fi
   6703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6704 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6705 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6706 	CFLAGS="$xorg_testset_save_CFLAGS"
   6707 fi
   6708 
   6709 found="no"
   6710 
   6711 	if test $found = "no" ; then
   6712 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6713 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6714 		fi
   6715 
   6716 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6717 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6718 		fi
   6719 
   6720 		CFLAGS="$CFLAGS -Wlogical-op"
   6721 
   6722 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6723 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6724 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6725 		if eval \${$cacheid+:} false; then :
   6726   $as_echo_n "(cached) " >&6
   6727 else
   6728   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6729 /* end confdefs.h.  */
   6730 int i;
   6731 int
   6732 main ()
   6733 {
   6734 
   6735   ;
   6736   return 0;
   6737 }
   6738 _ACEOF
   6739 if ac_fn_c_try_link "$LINENO"; then :
   6740   eval $cacheid=yes
   6741 else
   6742   eval $cacheid=no
   6743 fi
   6744 rm -f core conftest.err conftest.$ac_objext \
   6745     conftest$ac_exeext conftest.$ac_ext
   6746 fi
   6747 
   6748 
   6749 		CFLAGS="$xorg_testset_save_CFLAGS"
   6750 
   6751 		eval supported=\$$cacheid
   6752 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6753 $as_echo "$supported" >&6; }
   6754 		if test "$supported" = "yes" ; then
   6755 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   6756 			found="yes"
   6757 		fi
   6758 	fi
   6759 
   6760 
   6761 
   6762 # These are currently disabled because they are noisy.  They will be enabled
   6763 # in the future once the codebase is sufficiently modernized to silence
   6764 # them.  For now, I don't want them to drown out the other warnings.
   6765 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6766 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6767 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   6768 
   6769 # Turn some warnings into errors, so we don't accidently get successful builds
   6770 # when there are problems that should be fixed.
   6771 
   6772 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6773 
   6774 
   6775 
   6776 
   6777 
   6778 
   6779 
   6780 
   6781 
   6782 
   6783 
   6784 
   6785 
   6786 xorg_testset_save_CFLAGS="$CFLAGS"
   6787 
   6788 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6789 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6790 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6791 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6792 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6793   $as_echo_n "(cached) " >&6
   6794 else
   6795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6796 /* end confdefs.h.  */
   6797 int i;
   6798 _ACEOF
   6799 if ac_fn_c_try_compile "$LINENO"; then :
   6800   xorg_cv_cc_flag_unknown_warning_option=yes
   6801 else
   6802   xorg_cv_cc_flag_unknown_warning_option=no
   6803 fi
   6804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6805 fi
   6806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6807 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6808 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6809 	CFLAGS="$xorg_testset_save_CFLAGS"
   6810 fi
   6811 
   6812 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6813 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6814 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6815 	fi
   6816 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6817 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6818 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6819 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6820   $as_echo_n "(cached) " >&6
   6821 else
   6822   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6823 /* end confdefs.h.  */
   6824 int i;
   6825 _ACEOF
   6826 if ac_fn_c_try_compile "$LINENO"; then :
   6827   xorg_cv_cc_flag_unused_command_line_argument=yes
   6828 else
   6829   xorg_cv_cc_flag_unused_command_line_argument=no
   6830 fi
   6831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6832 fi
   6833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6834 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6835 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6836 	CFLAGS="$xorg_testset_save_CFLAGS"
   6837 fi
   6838 
   6839 found="no"
   6840 
   6841 	if test $found = "no" ; then
   6842 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6843 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6844 		fi
   6845 
   6846 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6847 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6848 		fi
   6849 
   6850 		CFLAGS="$CFLAGS -Werror=implicit"
   6851 
   6852 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6853 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6854 		cacheid=xorg_cv_cc_flag__Werror_implicit
   6855 		if eval \${$cacheid+:} false; then :
   6856   $as_echo_n "(cached) " >&6
   6857 else
   6858   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6859 /* end confdefs.h.  */
   6860 int i;
   6861 int
   6862 main ()
   6863 {
   6864 
   6865   ;
   6866   return 0;
   6867 }
   6868 _ACEOF
   6869 if ac_fn_c_try_link "$LINENO"; then :
   6870   eval $cacheid=yes
   6871 else
   6872   eval $cacheid=no
   6873 fi
   6874 rm -f core conftest.err conftest.$ac_objext \
   6875     conftest$ac_exeext conftest.$ac_ext
   6876 fi
   6877 
   6878 
   6879 		CFLAGS="$xorg_testset_save_CFLAGS"
   6880 
   6881 		eval supported=\$$cacheid
   6882 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6883 $as_echo "$supported" >&6; }
   6884 		if test "$supported" = "yes" ; then
   6885 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6886 			found="yes"
   6887 		fi
   6888 	fi
   6889 
   6890 	if test $found = "no" ; then
   6891 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6892 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6893 		fi
   6894 
   6895 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6896 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6897 		fi
   6898 
   6899 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6900 
   6901 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6902 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6903 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   6904 		if eval \${$cacheid+:} false; then :
   6905   $as_echo_n "(cached) " >&6
   6906 else
   6907   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6908 /* end confdefs.h.  */
   6909 int i;
   6910 int
   6911 main ()
   6912 {
   6913 
   6914   ;
   6915   return 0;
   6916 }
   6917 _ACEOF
   6918 if ac_fn_c_try_link "$LINENO"; then :
   6919   eval $cacheid=yes
   6920 else
   6921   eval $cacheid=no
   6922 fi
   6923 rm -f core conftest.err conftest.$ac_objext \
   6924     conftest$ac_exeext conftest.$ac_ext
   6925 fi
   6926 
   6927 
   6928 		CFLAGS="$xorg_testset_save_CFLAGS"
   6929 
   6930 		eval supported=\$$cacheid
   6931 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6932 $as_echo "$supported" >&6; }
   6933 		if test "$supported" = "yes" ; then
   6934 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6935 			found="yes"
   6936 		fi
   6937 	fi
   6938 
   6939 
   6940 
   6941 
   6942 
   6943 
   6944 
   6945 
   6946 
   6947 
   6948 
   6949 
   6950 
   6951 
   6952 
   6953 xorg_testset_save_CFLAGS="$CFLAGS"
   6954 
   6955 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6956 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6957 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6958 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6959 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6960   $as_echo_n "(cached) " >&6
   6961 else
   6962   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6963 /* end confdefs.h.  */
   6964 int i;
   6965 _ACEOF
   6966 if ac_fn_c_try_compile "$LINENO"; then :
   6967   xorg_cv_cc_flag_unknown_warning_option=yes
   6968 else
   6969   xorg_cv_cc_flag_unknown_warning_option=no
   6970 fi
   6971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6972 fi
   6973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6974 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6975 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6976 	CFLAGS="$xorg_testset_save_CFLAGS"
   6977 fi
   6978 
   6979 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6980 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6981 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6982 	fi
   6983 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6984 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6985 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6986 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6987   $as_echo_n "(cached) " >&6
   6988 else
   6989   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6990 /* end confdefs.h.  */
   6991 int i;
   6992 _ACEOF
   6993 if ac_fn_c_try_compile "$LINENO"; then :
   6994   xorg_cv_cc_flag_unused_command_line_argument=yes
   6995 else
   6996   xorg_cv_cc_flag_unused_command_line_argument=no
   6997 fi
   6998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6999 fi
   7000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7001 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7002 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7003 	CFLAGS="$xorg_testset_save_CFLAGS"
   7004 fi
   7005 
   7006 found="no"
   7007 
   7008 	if test $found = "no" ; then
   7009 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7010 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7011 		fi
   7012 
   7013 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7014 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7015 		fi
   7016 
   7017 		CFLAGS="$CFLAGS -Werror=nonnull"
   7018 
   7019 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7020 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7021 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7022 		if eval \${$cacheid+:} false; then :
   7023   $as_echo_n "(cached) " >&6
   7024 else
   7025   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7026 /* end confdefs.h.  */
   7027 int i;
   7028 int
   7029 main ()
   7030 {
   7031 
   7032   ;
   7033   return 0;
   7034 }
   7035 _ACEOF
   7036 if ac_fn_c_try_link "$LINENO"; then :
   7037   eval $cacheid=yes
   7038 else
   7039   eval $cacheid=no
   7040 fi
   7041 rm -f core conftest.err conftest.$ac_objext \
   7042     conftest$ac_exeext conftest.$ac_ext
   7043 fi
   7044 
   7045 
   7046 		CFLAGS="$xorg_testset_save_CFLAGS"
   7047 
   7048 		eval supported=\$$cacheid
   7049 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7050 $as_echo "$supported" >&6; }
   7051 		if test "$supported" = "yes" ; then
   7052 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7053 			found="yes"
   7054 		fi
   7055 	fi
   7056 
   7057 
   7058 
   7059 
   7060 
   7061 
   7062 
   7063 
   7064 
   7065 
   7066 
   7067 
   7068 
   7069 
   7070 
   7071 xorg_testset_save_CFLAGS="$CFLAGS"
   7072 
   7073 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7074 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7075 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7076 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7077 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7078   $as_echo_n "(cached) " >&6
   7079 else
   7080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7081 /* end confdefs.h.  */
   7082 int i;
   7083 _ACEOF
   7084 if ac_fn_c_try_compile "$LINENO"; then :
   7085   xorg_cv_cc_flag_unknown_warning_option=yes
   7086 else
   7087   xorg_cv_cc_flag_unknown_warning_option=no
   7088 fi
   7089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7090 fi
   7091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7092 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7093 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7094 	CFLAGS="$xorg_testset_save_CFLAGS"
   7095 fi
   7096 
   7097 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7098 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7099 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7100 	fi
   7101 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7102 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7103 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7104 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7105   $as_echo_n "(cached) " >&6
   7106 else
   7107   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7108 /* end confdefs.h.  */
   7109 int i;
   7110 _ACEOF
   7111 if ac_fn_c_try_compile "$LINENO"; then :
   7112   xorg_cv_cc_flag_unused_command_line_argument=yes
   7113 else
   7114   xorg_cv_cc_flag_unused_command_line_argument=no
   7115 fi
   7116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7117 fi
   7118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7119 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7120 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7121 	CFLAGS="$xorg_testset_save_CFLAGS"
   7122 fi
   7123 
   7124 found="no"
   7125 
   7126 	if test $found = "no" ; then
   7127 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7128 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7129 		fi
   7130 
   7131 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7132 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7133 		fi
   7134 
   7135 		CFLAGS="$CFLAGS -Werror=init-self"
   7136 
   7137 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7138 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7139 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7140 		if eval \${$cacheid+:} false; then :
   7141   $as_echo_n "(cached) " >&6
   7142 else
   7143   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7144 /* end confdefs.h.  */
   7145 int i;
   7146 int
   7147 main ()
   7148 {
   7149 
   7150   ;
   7151   return 0;
   7152 }
   7153 _ACEOF
   7154 if ac_fn_c_try_link "$LINENO"; then :
   7155   eval $cacheid=yes
   7156 else
   7157   eval $cacheid=no
   7158 fi
   7159 rm -f core conftest.err conftest.$ac_objext \
   7160     conftest$ac_exeext conftest.$ac_ext
   7161 fi
   7162 
   7163 
   7164 		CFLAGS="$xorg_testset_save_CFLAGS"
   7165 
   7166 		eval supported=\$$cacheid
   7167 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7168 $as_echo "$supported" >&6; }
   7169 		if test "$supported" = "yes" ; then
   7170 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7171 			found="yes"
   7172 		fi
   7173 	fi
   7174 
   7175 
   7176 
   7177 
   7178 
   7179 
   7180 
   7181 
   7182 
   7183 
   7184 
   7185 
   7186 
   7187 
   7188 
   7189 xorg_testset_save_CFLAGS="$CFLAGS"
   7190 
   7191 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7192 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7193 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7194 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7195 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7196   $as_echo_n "(cached) " >&6
   7197 else
   7198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7199 /* end confdefs.h.  */
   7200 int i;
   7201 _ACEOF
   7202 if ac_fn_c_try_compile "$LINENO"; then :
   7203   xorg_cv_cc_flag_unknown_warning_option=yes
   7204 else
   7205   xorg_cv_cc_flag_unknown_warning_option=no
   7206 fi
   7207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7208 fi
   7209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7210 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7211 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7212 	CFLAGS="$xorg_testset_save_CFLAGS"
   7213 fi
   7214 
   7215 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7216 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7217 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7218 	fi
   7219 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7220 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7221 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7222 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7223   $as_echo_n "(cached) " >&6
   7224 else
   7225   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7226 /* end confdefs.h.  */
   7227 int i;
   7228 _ACEOF
   7229 if ac_fn_c_try_compile "$LINENO"; then :
   7230   xorg_cv_cc_flag_unused_command_line_argument=yes
   7231 else
   7232   xorg_cv_cc_flag_unused_command_line_argument=no
   7233 fi
   7234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7235 fi
   7236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7237 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7238 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7239 	CFLAGS="$xorg_testset_save_CFLAGS"
   7240 fi
   7241 
   7242 found="no"
   7243 
   7244 	if test $found = "no" ; then
   7245 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7246 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7247 		fi
   7248 
   7249 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7250 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7251 		fi
   7252 
   7253 		CFLAGS="$CFLAGS -Werror=main"
   7254 
   7255 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7256 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7257 		cacheid=xorg_cv_cc_flag__Werror_main
   7258 		if eval \${$cacheid+:} false; then :
   7259   $as_echo_n "(cached) " >&6
   7260 else
   7261   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7262 /* end confdefs.h.  */
   7263 int i;
   7264 int
   7265 main ()
   7266 {
   7267 
   7268   ;
   7269   return 0;
   7270 }
   7271 _ACEOF
   7272 if ac_fn_c_try_link "$LINENO"; then :
   7273   eval $cacheid=yes
   7274 else
   7275   eval $cacheid=no
   7276 fi
   7277 rm -f core conftest.err conftest.$ac_objext \
   7278     conftest$ac_exeext conftest.$ac_ext
   7279 fi
   7280 
   7281 
   7282 		CFLAGS="$xorg_testset_save_CFLAGS"
   7283 
   7284 		eval supported=\$$cacheid
   7285 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7286 $as_echo "$supported" >&6; }
   7287 		if test "$supported" = "yes" ; then
   7288 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7289 			found="yes"
   7290 		fi
   7291 	fi
   7292 
   7293 
   7294 
   7295 
   7296 
   7297 
   7298 
   7299 
   7300 
   7301 
   7302 
   7303 
   7304 
   7305 
   7306 
   7307 xorg_testset_save_CFLAGS="$CFLAGS"
   7308 
   7309 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7310 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7311 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7312 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7313 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7314   $as_echo_n "(cached) " >&6
   7315 else
   7316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7317 /* end confdefs.h.  */
   7318 int i;
   7319 _ACEOF
   7320 if ac_fn_c_try_compile "$LINENO"; then :
   7321   xorg_cv_cc_flag_unknown_warning_option=yes
   7322 else
   7323   xorg_cv_cc_flag_unknown_warning_option=no
   7324 fi
   7325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7326 fi
   7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7328 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7329 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7330 	CFLAGS="$xorg_testset_save_CFLAGS"
   7331 fi
   7332 
   7333 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7334 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7335 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7336 	fi
   7337 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7338 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7339 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7340 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7341   $as_echo_n "(cached) " >&6
   7342 else
   7343   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7344 /* end confdefs.h.  */
   7345 int i;
   7346 _ACEOF
   7347 if ac_fn_c_try_compile "$LINENO"; then :
   7348   xorg_cv_cc_flag_unused_command_line_argument=yes
   7349 else
   7350   xorg_cv_cc_flag_unused_command_line_argument=no
   7351 fi
   7352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7353 fi
   7354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7355 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7356 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7357 	CFLAGS="$xorg_testset_save_CFLAGS"
   7358 fi
   7359 
   7360 found="no"
   7361 
   7362 	if test $found = "no" ; then
   7363 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7364 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7365 		fi
   7366 
   7367 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7368 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7369 		fi
   7370 
   7371 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7372 
   7373 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7374 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7375 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7376 		if eval \${$cacheid+:} false; then :
   7377   $as_echo_n "(cached) " >&6
   7378 else
   7379   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7380 /* end confdefs.h.  */
   7381 int i;
   7382 int
   7383 main ()
   7384 {
   7385 
   7386   ;
   7387   return 0;
   7388 }
   7389 _ACEOF
   7390 if ac_fn_c_try_link "$LINENO"; then :
   7391   eval $cacheid=yes
   7392 else
   7393   eval $cacheid=no
   7394 fi
   7395 rm -f core conftest.err conftest.$ac_objext \
   7396     conftest$ac_exeext conftest.$ac_ext
   7397 fi
   7398 
   7399 
   7400 		CFLAGS="$xorg_testset_save_CFLAGS"
   7401 
   7402 		eval supported=\$$cacheid
   7403 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7404 $as_echo "$supported" >&6; }
   7405 		if test "$supported" = "yes" ; then
   7406 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7407 			found="yes"
   7408 		fi
   7409 	fi
   7410 
   7411 
   7412 
   7413 
   7414 
   7415 
   7416 
   7417 
   7418 
   7419 
   7420 
   7421 
   7422 
   7423 
   7424 
   7425 xorg_testset_save_CFLAGS="$CFLAGS"
   7426 
   7427 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7428 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7429 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7430 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7431 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7432   $as_echo_n "(cached) " >&6
   7433 else
   7434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7435 /* end confdefs.h.  */
   7436 int i;
   7437 _ACEOF
   7438 if ac_fn_c_try_compile "$LINENO"; then :
   7439   xorg_cv_cc_flag_unknown_warning_option=yes
   7440 else
   7441   xorg_cv_cc_flag_unknown_warning_option=no
   7442 fi
   7443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7444 fi
   7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7446 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7447 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7448 	CFLAGS="$xorg_testset_save_CFLAGS"
   7449 fi
   7450 
   7451 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7452 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7453 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7454 	fi
   7455 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7456 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7457 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7458 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7459   $as_echo_n "(cached) " >&6
   7460 else
   7461   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7462 /* end confdefs.h.  */
   7463 int i;
   7464 _ACEOF
   7465 if ac_fn_c_try_compile "$LINENO"; then :
   7466   xorg_cv_cc_flag_unused_command_line_argument=yes
   7467 else
   7468   xorg_cv_cc_flag_unused_command_line_argument=no
   7469 fi
   7470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7471 fi
   7472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7473 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7474 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7475 	CFLAGS="$xorg_testset_save_CFLAGS"
   7476 fi
   7477 
   7478 found="no"
   7479 
   7480 	if test $found = "no" ; then
   7481 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7482 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7483 		fi
   7484 
   7485 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7486 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7487 		fi
   7488 
   7489 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7490 
   7491 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7492 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7493 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7494 		if eval \${$cacheid+:} false; then :
   7495   $as_echo_n "(cached) " >&6
   7496 else
   7497   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7498 /* end confdefs.h.  */
   7499 int i;
   7500 int
   7501 main ()
   7502 {
   7503 
   7504   ;
   7505   return 0;
   7506 }
   7507 _ACEOF
   7508 if ac_fn_c_try_link "$LINENO"; then :
   7509   eval $cacheid=yes
   7510 else
   7511   eval $cacheid=no
   7512 fi
   7513 rm -f core conftest.err conftest.$ac_objext \
   7514     conftest$ac_exeext conftest.$ac_ext
   7515 fi
   7516 
   7517 
   7518 		CFLAGS="$xorg_testset_save_CFLAGS"
   7519 
   7520 		eval supported=\$$cacheid
   7521 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7522 $as_echo "$supported" >&6; }
   7523 		if test "$supported" = "yes" ; then
   7524 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7525 			found="yes"
   7526 		fi
   7527 	fi
   7528 
   7529 
   7530 
   7531 
   7532 
   7533 
   7534 
   7535 
   7536 
   7537 
   7538 
   7539 
   7540 
   7541 
   7542 
   7543 xorg_testset_save_CFLAGS="$CFLAGS"
   7544 
   7545 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7546 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7547 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7548 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7549 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7550   $as_echo_n "(cached) " >&6
   7551 else
   7552   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7553 /* end confdefs.h.  */
   7554 int i;
   7555 _ACEOF
   7556 if ac_fn_c_try_compile "$LINENO"; then :
   7557   xorg_cv_cc_flag_unknown_warning_option=yes
   7558 else
   7559   xorg_cv_cc_flag_unknown_warning_option=no
   7560 fi
   7561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7562 fi
   7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7564 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7565 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7566 	CFLAGS="$xorg_testset_save_CFLAGS"
   7567 fi
   7568 
   7569 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7570 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7571 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7572 	fi
   7573 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7574 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7575 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7576 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7577   $as_echo_n "(cached) " >&6
   7578 else
   7579   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7580 /* end confdefs.h.  */
   7581 int i;
   7582 _ACEOF
   7583 if ac_fn_c_try_compile "$LINENO"; then :
   7584   xorg_cv_cc_flag_unused_command_line_argument=yes
   7585 else
   7586   xorg_cv_cc_flag_unused_command_line_argument=no
   7587 fi
   7588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7589 fi
   7590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7591 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7592 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7593 	CFLAGS="$xorg_testset_save_CFLAGS"
   7594 fi
   7595 
   7596 found="no"
   7597 
   7598 	if test $found = "no" ; then
   7599 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7600 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7601 		fi
   7602 
   7603 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7604 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7605 		fi
   7606 
   7607 		CFLAGS="$CFLAGS -Werror=return-type"
   7608 
   7609 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7610 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7611 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7612 		if eval \${$cacheid+:} false; then :
   7613   $as_echo_n "(cached) " >&6
   7614 else
   7615   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7616 /* end confdefs.h.  */
   7617 int i;
   7618 int
   7619 main ()
   7620 {
   7621 
   7622   ;
   7623   return 0;
   7624 }
   7625 _ACEOF
   7626 if ac_fn_c_try_link "$LINENO"; then :
   7627   eval $cacheid=yes
   7628 else
   7629   eval $cacheid=no
   7630 fi
   7631 rm -f core conftest.err conftest.$ac_objext \
   7632     conftest$ac_exeext conftest.$ac_ext
   7633 fi
   7634 
   7635 
   7636 		CFLAGS="$xorg_testset_save_CFLAGS"
   7637 
   7638 		eval supported=\$$cacheid
   7639 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7640 $as_echo "$supported" >&6; }
   7641 		if test "$supported" = "yes" ; then
   7642 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7643 			found="yes"
   7644 		fi
   7645 	fi
   7646 
   7647 	if test $found = "no" ; then
   7648 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7649 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7650 		fi
   7651 
   7652 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7653 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7654 		fi
   7655 
   7656 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7657 
   7658 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7659 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7660 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7661 		if eval \${$cacheid+:} false; then :
   7662   $as_echo_n "(cached) " >&6
   7663 else
   7664   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7665 /* end confdefs.h.  */
   7666 int i;
   7667 int
   7668 main ()
   7669 {
   7670 
   7671   ;
   7672   return 0;
   7673 }
   7674 _ACEOF
   7675 if ac_fn_c_try_link "$LINENO"; then :
   7676   eval $cacheid=yes
   7677 else
   7678   eval $cacheid=no
   7679 fi
   7680 rm -f core conftest.err conftest.$ac_objext \
   7681     conftest$ac_exeext conftest.$ac_ext
   7682 fi
   7683 
   7684 
   7685 		CFLAGS="$xorg_testset_save_CFLAGS"
   7686 
   7687 		eval supported=\$$cacheid
   7688 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7689 $as_echo "$supported" >&6; }
   7690 		if test "$supported" = "yes" ; then
   7691 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7692 			found="yes"
   7693 		fi
   7694 	fi
   7695 
   7696 
   7697 
   7698 
   7699 
   7700 
   7701 
   7702 
   7703 
   7704 
   7705 
   7706 
   7707 
   7708 
   7709 
   7710 xorg_testset_save_CFLAGS="$CFLAGS"
   7711 
   7712 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7713 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7714 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7715 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7716 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7717   $as_echo_n "(cached) " >&6
   7718 else
   7719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7720 /* end confdefs.h.  */
   7721 int i;
   7722 _ACEOF
   7723 if ac_fn_c_try_compile "$LINENO"; then :
   7724   xorg_cv_cc_flag_unknown_warning_option=yes
   7725 else
   7726   xorg_cv_cc_flag_unknown_warning_option=no
   7727 fi
   7728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7729 fi
   7730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7731 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7732 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7733 	CFLAGS="$xorg_testset_save_CFLAGS"
   7734 fi
   7735 
   7736 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7737 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7738 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7739 	fi
   7740 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7741 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7742 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7743 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7744   $as_echo_n "(cached) " >&6
   7745 else
   7746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7747 /* end confdefs.h.  */
   7748 int i;
   7749 _ACEOF
   7750 if ac_fn_c_try_compile "$LINENO"; then :
   7751   xorg_cv_cc_flag_unused_command_line_argument=yes
   7752 else
   7753   xorg_cv_cc_flag_unused_command_line_argument=no
   7754 fi
   7755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7756 fi
   7757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7758 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7759 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7760 	CFLAGS="$xorg_testset_save_CFLAGS"
   7761 fi
   7762 
   7763 found="no"
   7764 
   7765 	if test $found = "no" ; then
   7766 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7767 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7768 		fi
   7769 
   7770 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7771 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7772 		fi
   7773 
   7774 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7775 
   7776 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7777 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7778 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   7779 		if eval \${$cacheid+:} false; then :
   7780   $as_echo_n "(cached) " >&6
   7781 else
   7782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7783 /* end confdefs.h.  */
   7784 int i;
   7785 int
   7786 main ()
   7787 {
   7788 
   7789   ;
   7790   return 0;
   7791 }
   7792 _ACEOF
   7793 if ac_fn_c_try_link "$LINENO"; then :
   7794   eval $cacheid=yes
   7795 else
   7796   eval $cacheid=no
   7797 fi
   7798 rm -f core conftest.err conftest.$ac_objext \
   7799     conftest$ac_exeext conftest.$ac_ext
   7800 fi
   7801 
   7802 
   7803 		CFLAGS="$xorg_testset_save_CFLAGS"
   7804 
   7805 		eval supported=\$$cacheid
   7806 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7807 $as_echo "$supported" >&6; }
   7808 		if test "$supported" = "yes" ; then
   7809 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7810 			found="yes"
   7811 		fi
   7812 	fi
   7813 
   7814 
   7815 
   7816 
   7817 
   7818 
   7819 
   7820 
   7821 
   7822 
   7823 
   7824 
   7825 
   7826 
   7827 
   7828 xorg_testset_save_CFLAGS="$CFLAGS"
   7829 
   7830 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7831 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7832 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7833 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7834 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7835   $as_echo_n "(cached) " >&6
   7836 else
   7837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7838 /* end confdefs.h.  */
   7839 int i;
   7840 _ACEOF
   7841 if ac_fn_c_try_compile "$LINENO"; then :
   7842   xorg_cv_cc_flag_unknown_warning_option=yes
   7843 else
   7844   xorg_cv_cc_flag_unknown_warning_option=no
   7845 fi
   7846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7847 fi
   7848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7849 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7850 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7851 	CFLAGS="$xorg_testset_save_CFLAGS"
   7852 fi
   7853 
   7854 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7855 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7856 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7857 	fi
   7858 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7859 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7860 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7861 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7862   $as_echo_n "(cached) " >&6
   7863 else
   7864   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7865 /* end confdefs.h.  */
   7866 int i;
   7867 _ACEOF
   7868 if ac_fn_c_try_compile "$LINENO"; then :
   7869   xorg_cv_cc_flag_unused_command_line_argument=yes
   7870 else
   7871   xorg_cv_cc_flag_unused_command_line_argument=no
   7872 fi
   7873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7874 fi
   7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7876 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7877 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7878 	CFLAGS="$xorg_testset_save_CFLAGS"
   7879 fi
   7880 
   7881 found="no"
   7882 
   7883 	if test $found = "no" ; then
   7884 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7885 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7886 		fi
   7887 
   7888 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7889 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7890 		fi
   7891 
   7892 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7893 
   7894 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7895 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7896 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   7897 		if eval \${$cacheid+:} false; then :
   7898   $as_echo_n "(cached) " >&6
   7899 else
   7900   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7901 /* end confdefs.h.  */
   7902 int i;
   7903 int
   7904 main ()
   7905 {
   7906 
   7907   ;
   7908   return 0;
   7909 }
   7910 _ACEOF
   7911 if ac_fn_c_try_link "$LINENO"; then :
   7912   eval $cacheid=yes
   7913 else
   7914   eval $cacheid=no
   7915 fi
   7916 rm -f core conftest.err conftest.$ac_objext \
   7917     conftest$ac_exeext conftest.$ac_ext
   7918 fi
   7919 
   7920 
   7921 		CFLAGS="$xorg_testset_save_CFLAGS"
   7922 
   7923 		eval supported=\$$cacheid
   7924 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7925 $as_echo "$supported" >&6; }
   7926 		if test "$supported" = "yes" ; then
   7927 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7928 			found="yes"
   7929 		fi
   7930 	fi
   7931 
   7932 
   7933 
   7934 
   7935 
   7936 
   7937 
   7938 
   7939 
   7940 
   7941 
   7942 
   7943 
   7944 
   7945 
   7946 xorg_testset_save_CFLAGS="$CFLAGS"
   7947 
   7948 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7949 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7950 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7951 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7952 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7953   $as_echo_n "(cached) " >&6
   7954 else
   7955   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7956 /* end confdefs.h.  */
   7957 int i;
   7958 _ACEOF
   7959 if ac_fn_c_try_compile "$LINENO"; then :
   7960   xorg_cv_cc_flag_unknown_warning_option=yes
   7961 else
   7962   xorg_cv_cc_flag_unknown_warning_option=no
   7963 fi
   7964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7965 fi
   7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7967 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7968 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7969 	CFLAGS="$xorg_testset_save_CFLAGS"
   7970 fi
   7971 
   7972 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7973 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7974 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7975 	fi
   7976 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7977 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7978 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7979 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7980   $as_echo_n "(cached) " >&6
   7981 else
   7982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7983 /* end confdefs.h.  */
   7984 int i;
   7985 _ACEOF
   7986 if ac_fn_c_try_compile "$LINENO"; then :
   7987   xorg_cv_cc_flag_unused_command_line_argument=yes
   7988 else
   7989   xorg_cv_cc_flag_unused_command_line_argument=no
   7990 fi
   7991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7992 fi
   7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7994 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7995 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7996 	CFLAGS="$xorg_testset_save_CFLAGS"
   7997 fi
   7998 
   7999 found="no"
   8000 
   8001 	if test $found = "no" ; then
   8002 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8003 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8004 		fi
   8005 
   8006 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8007 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8008 		fi
   8009 
   8010 		CFLAGS="$CFLAGS -Werror=write-strings"
   8011 
   8012 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8013 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8014 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8015 		if eval \${$cacheid+:} false; then :
   8016   $as_echo_n "(cached) " >&6
   8017 else
   8018   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8019 /* end confdefs.h.  */
   8020 int i;
   8021 int
   8022 main ()
   8023 {
   8024 
   8025   ;
   8026   return 0;
   8027 }
   8028 _ACEOF
   8029 if ac_fn_c_try_link "$LINENO"; then :
   8030   eval $cacheid=yes
   8031 else
   8032   eval $cacheid=no
   8033 fi
   8034 rm -f core conftest.err conftest.$ac_objext \
   8035     conftest$ac_exeext conftest.$ac_ext
   8036 fi
   8037 
   8038 
   8039 		CFLAGS="$xorg_testset_save_CFLAGS"
   8040 
   8041 		eval supported=\$$cacheid
   8042 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8043 $as_echo "$supported" >&6; }
   8044 		if test "$supported" = "yes" ; then
   8045 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8046 			found="yes"
   8047 		fi
   8048 	fi
   8049 
   8050 
   8051 
   8052 
   8053 
   8054 
   8055 
   8056 
   8057 
   8058 
   8059 
   8060 
   8061 
   8062 
   8063 
   8064 xorg_testset_save_CFLAGS="$CFLAGS"
   8065 
   8066 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8067 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8068 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8069 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8070 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8071   $as_echo_n "(cached) " >&6
   8072 else
   8073   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8074 /* end confdefs.h.  */
   8075 int i;
   8076 _ACEOF
   8077 if ac_fn_c_try_compile "$LINENO"; then :
   8078   xorg_cv_cc_flag_unknown_warning_option=yes
   8079 else
   8080   xorg_cv_cc_flag_unknown_warning_option=no
   8081 fi
   8082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8083 fi
   8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8085 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8086 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8087 	CFLAGS="$xorg_testset_save_CFLAGS"
   8088 fi
   8089 
   8090 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8091 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8092 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8093 	fi
   8094 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8095 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8096 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8097 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8098   $as_echo_n "(cached) " >&6
   8099 else
   8100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8101 /* end confdefs.h.  */
   8102 int i;
   8103 _ACEOF
   8104 if ac_fn_c_try_compile "$LINENO"; then :
   8105   xorg_cv_cc_flag_unused_command_line_argument=yes
   8106 else
   8107   xorg_cv_cc_flag_unused_command_line_argument=no
   8108 fi
   8109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8110 fi
   8111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8112 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8113 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8114 	CFLAGS="$xorg_testset_save_CFLAGS"
   8115 fi
   8116 
   8117 found="no"
   8118 
   8119 	if test $found = "no" ; then
   8120 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8121 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8122 		fi
   8123 
   8124 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8125 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8126 		fi
   8127 
   8128 		CFLAGS="$CFLAGS -Werror=address"
   8129 
   8130 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8131 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8132 		cacheid=xorg_cv_cc_flag__Werror_address
   8133 		if eval \${$cacheid+:} false; then :
   8134   $as_echo_n "(cached) " >&6
   8135 else
   8136   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8137 /* end confdefs.h.  */
   8138 int i;
   8139 int
   8140 main ()
   8141 {
   8142 
   8143   ;
   8144   return 0;
   8145 }
   8146 _ACEOF
   8147 if ac_fn_c_try_link "$LINENO"; then :
   8148   eval $cacheid=yes
   8149 else
   8150   eval $cacheid=no
   8151 fi
   8152 rm -f core conftest.err conftest.$ac_objext \
   8153     conftest$ac_exeext conftest.$ac_ext
   8154 fi
   8155 
   8156 
   8157 		CFLAGS="$xorg_testset_save_CFLAGS"
   8158 
   8159 		eval supported=\$$cacheid
   8160 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8161 $as_echo "$supported" >&6; }
   8162 		if test "$supported" = "yes" ; then
   8163 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8164 			found="yes"
   8165 		fi
   8166 	fi
   8167 
   8168 
   8169 
   8170 
   8171 
   8172 
   8173 
   8174 
   8175 
   8176 
   8177 
   8178 
   8179 
   8180 
   8181 
   8182 xorg_testset_save_CFLAGS="$CFLAGS"
   8183 
   8184 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8185 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8186 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8187 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8188 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8189   $as_echo_n "(cached) " >&6
   8190 else
   8191   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8192 /* end confdefs.h.  */
   8193 int i;
   8194 _ACEOF
   8195 if ac_fn_c_try_compile "$LINENO"; then :
   8196   xorg_cv_cc_flag_unknown_warning_option=yes
   8197 else
   8198   xorg_cv_cc_flag_unknown_warning_option=no
   8199 fi
   8200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8201 fi
   8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8203 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8204 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8205 	CFLAGS="$xorg_testset_save_CFLAGS"
   8206 fi
   8207 
   8208 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8209 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8210 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8211 	fi
   8212 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8213 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8214 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8215 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8216   $as_echo_n "(cached) " >&6
   8217 else
   8218   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8219 /* end confdefs.h.  */
   8220 int i;
   8221 _ACEOF
   8222 if ac_fn_c_try_compile "$LINENO"; then :
   8223   xorg_cv_cc_flag_unused_command_line_argument=yes
   8224 else
   8225   xorg_cv_cc_flag_unused_command_line_argument=no
   8226 fi
   8227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8228 fi
   8229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8230 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8231 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8232 	CFLAGS="$xorg_testset_save_CFLAGS"
   8233 fi
   8234 
   8235 found="no"
   8236 
   8237 	if test $found = "no" ; then
   8238 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8239 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8240 		fi
   8241 
   8242 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8243 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8244 		fi
   8245 
   8246 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8247 
   8248 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8249 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8250 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8251 		if eval \${$cacheid+:} false; then :
   8252   $as_echo_n "(cached) " >&6
   8253 else
   8254   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8255 /* end confdefs.h.  */
   8256 int i;
   8257 int
   8258 main ()
   8259 {
   8260 
   8261   ;
   8262   return 0;
   8263 }
   8264 _ACEOF
   8265 if ac_fn_c_try_link "$LINENO"; then :
   8266   eval $cacheid=yes
   8267 else
   8268   eval $cacheid=no
   8269 fi
   8270 rm -f core conftest.err conftest.$ac_objext \
   8271     conftest$ac_exeext conftest.$ac_ext
   8272 fi
   8273 
   8274 
   8275 		CFLAGS="$xorg_testset_save_CFLAGS"
   8276 
   8277 		eval supported=\$$cacheid
   8278 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8279 $as_echo "$supported" >&6; }
   8280 		if test "$supported" = "yes" ; then
   8281 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8282 			found="yes"
   8283 		fi
   8284 	fi
   8285 
   8286 	if test $found = "no" ; then
   8287 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8288 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8289 		fi
   8290 
   8291 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8292 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8293 		fi
   8294 
   8295 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8296 
   8297 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8298 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8299 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8300 		if eval \${$cacheid+:} false; then :
   8301   $as_echo_n "(cached) " >&6
   8302 else
   8303   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8304 /* end confdefs.h.  */
   8305 int i;
   8306 int
   8307 main ()
   8308 {
   8309 
   8310   ;
   8311   return 0;
   8312 }
   8313 _ACEOF
   8314 if ac_fn_c_try_link "$LINENO"; then :
   8315   eval $cacheid=yes
   8316 else
   8317   eval $cacheid=no
   8318 fi
   8319 rm -f core conftest.err conftest.$ac_objext \
   8320     conftest$ac_exeext conftest.$ac_ext
   8321 fi
   8322 
   8323 
   8324 		CFLAGS="$xorg_testset_save_CFLAGS"
   8325 
   8326 		eval supported=\$$cacheid
   8327 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8328 $as_echo "$supported" >&6; }
   8329 		if test "$supported" = "yes" ; then
   8330 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8331 			found="yes"
   8332 		fi
   8333 	fi
   8334 
   8335 
   8336 
   8337 
   8338 
   8339 
   8340 
   8341 
   8342 
   8343 
   8344 
   8345 
   8346 
   8347 
   8348 
   8349 xorg_testset_save_CFLAGS="$CFLAGS"
   8350 
   8351 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8352 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8353 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8354 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8355 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8356   $as_echo_n "(cached) " >&6
   8357 else
   8358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8359 /* end confdefs.h.  */
   8360 int i;
   8361 _ACEOF
   8362 if ac_fn_c_try_compile "$LINENO"; then :
   8363   xorg_cv_cc_flag_unknown_warning_option=yes
   8364 else
   8365   xorg_cv_cc_flag_unknown_warning_option=no
   8366 fi
   8367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8368 fi
   8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8370 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8371 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8372 	CFLAGS="$xorg_testset_save_CFLAGS"
   8373 fi
   8374 
   8375 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8376 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8377 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8378 	fi
   8379 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8380 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8381 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8382 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8383   $as_echo_n "(cached) " >&6
   8384 else
   8385   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8386 /* end confdefs.h.  */
   8387 int i;
   8388 _ACEOF
   8389 if ac_fn_c_try_compile "$LINENO"; then :
   8390   xorg_cv_cc_flag_unused_command_line_argument=yes
   8391 else
   8392   xorg_cv_cc_flag_unused_command_line_argument=no
   8393 fi
   8394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8395 fi
   8396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8397 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8398 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8399 	CFLAGS="$xorg_testset_save_CFLAGS"
   8400 fi
   8401 
   8402 found="no"
   8403 
   8404 	if test $found = "no" ; then
   8405 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8406 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8407 		fi
   8408 
   8409 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8410 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8411 		fi
   8412 
   8413 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8414 
   8415 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8416 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8417 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8418 		if eval \${$cacheid+:} false; then :
   8419   $as_echo_n "(cached) " >&6
   8420 else
   8421   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8422 /* end confdefs.h.  */
   8423 int i;
   8424 int
   8425 main ()
   8426 {
   8427 
   8428   ;
   8429   return 0;
   8430 }
   8431 _ACEOF
   8432 if ac_fn_c_try_link "$LINENO"; then :
   8433   eval $cacheid=yes
   8434 else
   8435   eval $cacheid=no
   8436 fi
   8437 rm -f core conftest.err conftest.$ac_objext \
   8438     conftest$ac_exeext conftest.$ac_ext
   8439 fi
   8440 
   8441 
   8442 		CFLAGS="$xorg_testset_save_CFLAGS"
   8443 
   8444 		eval supported=\$$cacheid
   8445 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8446 $as_echo "$supported" >&6; }
   8447 		if test "$supported" = "yes" ; then
   8448 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8449 			found="yes"
   8450 		fi
   8451 	fi
   8452 
   8453  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8454 else
   8455 { $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
   8456 $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;}
   8457 
   8458 
   8459 
   8460 
   8461 
   8462 
   8463 
   8464 
   8465 
   8466 
   8467 
   8468 
   8469 
   8470 xorg_testset_save_CFLAGS="$CFLAGS"
   8471 
   8472 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8473 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8474 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8475 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8476 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8477   $as_echo_n "(cached) " >&6
   8478 else
   8479   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8480 /* end confdefs.h.  */
   8481 int i;
   8482 _ACEOF
   8483 if ac_fn_c_try_compile "$LINENO"; then :
   8484   xorg_cv_cc_flag_unknown_warning_option=yes
   8485 else
   8486   xorg_cv_cc_flag_unknown_warning_option=no
   8487 fi
   8488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8489 fi
   8490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8491 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8492 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8493 	CFLAGS="$xorg_testset_save_CFLAGS"
   8494 fi
   8495 
   8496 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8497 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8498 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8499 	fi
   8500 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8501 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8502 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8503 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8504   $as_echo_n "(cached) " >&6
   8505 else
   8506   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8507 /* end confdefs.h.  */
   8508 int i;
   8509 _ACEOF
   8510 if ac_fn_c_try_compile "$LINENO"; then :
   8511   xorg_cv_cc_flag_unused_command_line_argument=yes
   8512 else
   8513   xorg_cv_cc_flag_unused_command_line_argument=no
   8514 fi
   8515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8516 fi
   8517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8518 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8519 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8520 	CFLAGS="$xorg_testset_save_CFLAGS"
   8521 fi
   8522 
   8523 found="no"
   8524 
   8525 	if test $found = "no" ; then
   8526 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8527 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8528 		fi
   8529 
   8530 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8531 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8532 		fi
   8533 
   8534 		CFLAGS="$CFLAGS -Wimplicit"
   8535 
   8536 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8537 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8538 		cacheid=xorg_cv_cc_flag__Wimplicit
   8539 		if eval \${$cacheid+:} false; then :
   8540   $as_echo_n "(cached) " >&6
   8541 else
   8542   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8543 /* end confdefs.h.  */
   8544 int i;
   8545 int
   8546 main ()
   8547 {
   8548 
   8549   ;
   8550   return 0;
   8551 }
   8552 _ACEOF
   8553 if ac_fn_c_try_link "$LINENO"; then :
   8554   eval $cacheid=yes
   8555 else
   8556   eval $cacheid=no
   8557 fi
   8558 rm -f core conftest.err conftest.$ac_objext \
   8559     conftest$ac_exeext conftest.$ac_ext
   8560 fi
   8561 
   8562 
   8563 		CFLAGS="$xorg_testset_save_CFLAGS"
   8564 
   8565 		eval supported=\$$cacheid
   8566 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8567 $as_echo "$supported" >&6; }
   8568 		if test "$supported" = "yes" ; then
   8569 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8570 			found="yes"
   8571 		fi
   8572 	fi
   8573 
   8574 
   8575 
   8576 
   8577 
   8578 
   8579 
   8580 
   8581 
   8582 
   8583 
   8584 
   8585 
   8586 
   8587 
   8588 xorg_testset_save_CFLAGS="$CFLAGS"
   8589 
   8590 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8591 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8592 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8593 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8594 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8595   $as_echo_n "(cached) " >&6
   8596 else
   8597   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8598 /* end confdefs.h.  */
   8599 int i;
   8600 _ACEOF
   8601 if ac_fn_c_try_compile "$LINENO"; then :
   8602   xorg_cv_cc_flag_unknown_warning_option=yes
   8603 else
   8604   xorg_cv_cc_flag_unknown_warning_option=no
   8605 fi
   8606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8607 fi
   8608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8609 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8610 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8611 	CFLAGS="$xorg_testset_save_CFLAGS"
   8612 fi
   8613 
   8614 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8615 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8616 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8617 	fi
   8618 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8619 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8620 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8621 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8622   $as_echo_n "(cached) " >&6
   8623 else
   8624   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8625 /* end confdefs.h.  */
   8626 int i;
   8627 _ACEOF
   8628 if ac_fn_c_try_compile "$LINENO"; then :
   8629   xorg_cv_cc_flag_unused_command_line_argument=yes
   8630 else
   8631   xorg_cv_cc_flag_unused_command_line_argument=no
   8632 fi
   8633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8634 fi
   8635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8636 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8637 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8638 	CFLAGS="$xorg_testset_save_CFLAGS"
   8639 fi
   8640 
   8641 found="no"
   8642 
   8643 	if test $found = "no" ; then
   8644 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8645 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8646 		fi
   8647 
   8648 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8649 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8650 		fi
   8651 
   8652 		CFLAGS="$CFLAGS -Wnonnull"
   8653 
   8654 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8655 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8656 		cacheid=xorg_cv_cc_flag__Wnonnull
   8657 		if eval \${$cacheid+:} false; then :
   8658   $as_echo_n "(cached) " >&6
   8659 else
   8660   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8661 /* end confdefs.h.  */
   8662 int i;
   8663 int
   8664 main ()
   8665 {
   8666 
   8667   ;
   8668   return 0;
   8669 }
   8670 _ACEOF
   8671 if ac_fn_c_try_link "$LINENO"; then :
   8672   eval $cacheid=yes
   8673 else
   8674   eval $cacheid=no
   8675 fi
   8676 rm -f core conftest.err conftest.$ac_objext \
   8677     conftest$ac_exeext conftest.$ac_ext
   8678 fi
   8679 
   8680 
   8681 		CFLAGS="$xorg_testset_save_CFLAGS"
   8682 
   8683 		eval supported=\$$cacheid
   8684 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8685 $as_echo "$supported" >&6; }
   8686 		if test "$supported" = "yes" ; then
   8687 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8688 			found="yes"
   8689 		fi
   8690 	fi
   8691 
   8692 
   8693 
   8694 
   8695 
   8696 
   8697 
   8698 
   8699 
   8700 
   8701 
   8702 
   8703 
   8704 
   8705 
   8706 xorg_testset_save_CFLAGS="$CFLAGS"
   8707 
   8708 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8709 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8710 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8711 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8712 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8713   $as_echo_n "(cached) " >&6
   8714 else
   8715   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8716 /* end confdefs.h.  */
   8717 int i;
   8718 _ACEOF
   8719 if ac_fn_c_try_compile "$LINENO"; then :
   8720   xorg_cv_cc_flag_unknown_warning_option=yes
   8721 else
   8722   xorg_cv_cc_flag_unknown_warning_option=no
   8723 fi
   8724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8725 fi
   8726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8727 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8728 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8729 	CFLAGS="$xorg_testset_save_CFLAGS"
   8730 fi
   8731 
   8732 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8733 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8734 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8735 	fi
   8736 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8737 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8738 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8739 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8740   $as_echo_n "(cached) " >&6
   8741 else
   8742   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8743 /* end confdefs.h.  */
   8744 int i;
   8745 _ACEOF
   8746 if ac_fn_c_try_compile "$LINENO"; then :
   8747   xorg_cv_cc_flag_unused_command_line_argument=yes
   8748 else
   8749   xorg_cv_cc_flag_unused_command_line_argument=no
   8750 fi
   8751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8752 fi
   8753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8754 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8755 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8756 	CFLAGS="$xorg_testset_save_CFLAGS"
   8757 fi
   8758 
   8759 found="no"
   8760 
   8761 	if test $found = "no" ; then
   8762 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8763 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8764 		fi
   8765 
   8766 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8767 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8768 		fi
   8769 
   8770 		CFLAGS="$CFLAGS -Winit-self"
   8771 
   8772 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8773 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8774 		cacheid=xorg_cv_cc_flag__Winit_self
   8775 		if eval \${$cacheid+:} false; then :
   8776   $as_echo_n "(cached) " >&6
   8777 else
   8778   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8779 /* end confdefs.h.  */
   8780 int i;
   8781 int
   8782 main ()
   8783 {
   8784 
   8785   ;
   8786   return 0;
   8787 }
   8788 _ACEOF
   8789 if ac_fn_c_try_link "$LINENO"; then :
   8790   eval $cacheid=yes
   8791 else
   8792   eval $cacheid=no
   8793 fi
   8794 rm -f core conftest.err conftest.$ac_objext \
   8795     conftest$ac_exeext conftest.$ac_ext
   8796 fi
   8797 
   8798 
   8799 		CFLAGS="$xorg_testset_save_CFLAGS"
   8800 
   8801 		eval supported=\$$cacheid
   8802 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8803 $as_echo "$supported" >&6; }
   8804 		if test "$supported" = "yes" ; then
   8805 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8806 			found="yes"
   8807 		fi
   8808 	fi
   8809 
   8810 
   8811 
   8812 
   8813 
   8814 
   8815 
   8816 
   8817 
   8818 
   8819 
   8820 
   8821 
   8822 
   8823 
   8824 xorg_testset_save_CFLAGS="$CFLAGS"
   8825 
   8826 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8827 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8828 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8829 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8830 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8831   $as_echo_n "(cached) " >&6
   8832 else
   8833   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8834 /* end confdefs.h.  */
   8835 int i;
   8836 _ACEOF
   8837 if ac_fn_c_try_compile "$LINENO"; then :
   8838   xorg_cv_cc_flag_unknown_warning_option=yes
   8839 else
   8840   xorg_cv_cc_flag_unknown_warning_option=no
   8841 fi
   8842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8843 fi
   8844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8845 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8846 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8847 	CFLAGS="$xorg_testset_save_CFLAGS"
   8848 fi
   8849 
   8850 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8851 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8852 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8853 	fi
   8854 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8855 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8856 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8857 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8858   $as_echo_n "(cached) " >&6
   8859 else
   8860   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8861 /* end confdefs.h.  */
   8862 int i;
   8863 _ACEOF
   8864 if ac_fn_c_try_compile "$LINENO"; then :
   8865   xorg_cv_cc_flag_unused_command_line_argument=yes
   8866 else
   8867   xorg_cv_cc_flag_unused_command_line_argument=no
   8868 fi
   8869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8870 fi
   8871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8872 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8873 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8874 	CFLAGS="$xorg_testset_save_CFLAGS"
   8875 fi
   8876 
   8877 found="no"
   8878 
   8879 	if test $found = "no" ; then
   8880 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8881 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8882 		fi
   8883 
   8884 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8885 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8886 		fi
   8887 
   8888 		CFLAGS="$CFLAGS -Wmain"
   8889 
   8890 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8891 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8892 		cacheid=xorg_cv_cc_flag__Wmain
   8893 		if eval \${$cacheid+:} false; then :
   8894   $as_echo_n "(cached) " >&6
   8895 else
   8896   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8897 /* end confdefs.h.  */
   8898 int i;
   8899 int
   8900 main ()
   8901 {
   8902 
   8903   ;
   8904   return 0;
   8905 }
   8906 _ACEOF
   8907 if ac_fn_c_try_link "$LINENO"; then :
   8908   eval $cacheid=yes
   8909 else
   8910   eval $cacheid=no
   8911 fi
   8912 rm -f core conftest.err conftest.$ac_objext \
   8913     conftest$ac_exeext conftest.$ac_ext
   8914 fi
   8915 
   8916 
   8917 		CFLAGS="$xorg_testset_save_CFLAGS"
   8918 
   8919 		eval supported=\$$cacheid
   8920 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8921 $as_echo "$supported" >&6; }
   8922 		if test "$supported" = "yes" ; then
   8923 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8924 			found="yes"
   8925 		fi
   8926 	fi
   8927 
   8928 
   8929 
   8930 
   8931 
   8932 
   8933 
   8934 
   8935 
   8936 
   8937 
   8938 
   8939 
   8940 
   8941 
   8942 xorg_testset_save_CFLAGS="$CFLAGS"
   8943 
   8944 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8945 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8946 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8947 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8948 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8949   $as_echo_n "(cached) " >&6
   8950 else
   8951   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8952 /* end confdefs.h.  */
   8953 int i;
   8954 _ACEOF
   8955 if ac_fn_c_try_compile "$LINENO"; then :
   8956   xorg_cv_cc_flag_unknown_warning_option=yes
   8957 else
   8958   xorg_cv_cc_flag_unknown_warning_option=no
   8959 fi
   8960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8961 fi
   8962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8963 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8964 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8965 	CFLAGS="$xorg_testset_save_CFLAGS"
   8966 fi
   8967 
   8968 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8969 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8970 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8971 	fi
   8972 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8973 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8974 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8975 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8976   $as_echo_n "(cached) " >&6
   8977 else
   8978   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8979 /* end confdefs.h.  */
   8980 int i;
   8981 _ACEOF
   8982 if ac_fn_c_try_compile "$LINENO"; then :
   8983   xorg_cv_cc_flag_unused_command_line_argument=yes
   8984 else
   8985   xorg_cv_cc_flag_unused_command_line_argument=no
   8986 fi
   8987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8988 fi
   8989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8990 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8991 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8992 	CFLAGS="$xorg_testset_save_CFLAGS"
   8993 fi
   8994 
   8995 found="no"
   8996 
   8997 	if test $found = "no" ; then
   8998 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8999 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9000 		fi
   9001 
   9002 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9003 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9004 		fi
   9005 
   9006 		CFLAGS="$CFLAGS -Wmissing-braces"
   9007 
   9008 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9009 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9010 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9011 		if eval \${$cacheid+:} false; then :
   9012   $as_echo_n "(cached) " >&6
   9013 else
   9014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9015 /* end confdefs.h.  */
   9016 int i;
   9017 int
   9018 main ()
   9019 {
   9020 
   9021   ;
   9022   return 0;
   9023 }
   9024 _ACEOF
   9025 if ac_fn_c_try_link "$LINENO"; then :
   9026   eval $cacheid=yes
   9027 else
   9028   eval $cacheid=no
   9029 fi
   9030 rm -f core conftest.err conftest.$ac_objext \
   9031     conftest$ac_exeext conftest.$ac_ext
   9032 fi
   9033 
   9034 
   9035 		CFLAGS="$xorg_testset_save_CFLAGS"
   9036 
   9037 		eval supported=\$$cacheid
   9038 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9039 $as_echo "$supported" >&6; }
   9040 		if test "$supported" = "yes" ; then
   9041 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9042 			found="yes"
   9043 		fi
   9044 	fi
   9045 
   9046 
   9047 
   9048 
   9049 
   9050 
   9051 
   9052 
   9053 
   9054 
   9055 
   9056 
   9057 
   9058 
   9059 
   9060 xorg_testset_save_CFLAGS="$CFLAGS"
   9061 
   9062 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9063 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9064 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9065 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9066 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9067   $as_echo_n "(cached) " >&6
   9068 else
   9069   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9070 /* end confdefs.h.  */
   9071 int i;
   9072 _ACEOF
   9073 if ac_fn_c_try_compile "$LINENO"; then :
   9074   xorg_cv_cc_flag_unknown_warning_option=yes
   9075 else
   9076   xorg_cv_cc_flag_unknown_warning_option=no
   9077 fi
   9078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9079 fi
   9080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9081 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9082 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9083 	CFLAGS="$xorg_testset_save_CFLAGS"
   9084 fi
   9085 
   9086 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9087 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9088 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9089 	fi
   9090 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9091 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9092 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9093 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9094   $as_echo_n "(cached) " >&6
   9095 else
   9096   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9097 /* end confdefs.h.  */
   9098 int i;
   9099 _ACEOF
   9100 if ac_fn_c_try_compile "$LINENO"; then :
   9101   xorg_cv_cc_flag_unused_command_line_argument=yes
   9102 else
   9103   xorg_cv_cc_flag_unused_command_line_argument=no
   9104 fi
   9105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9106 fi
   9107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9108 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9109 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9110 	CFLAGS="$xorg_testset_save_CFLAGS"
   9111 fi
   9112 
   9113 found="no"
   9114 
   9115 	if test $found = "no" ; then
   9116 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9117 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9118 		fi
   9119 
   9120 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9121 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9122 		fi
   9123 
   9124 		CFLAGS="$CFLAGS -Wsequence-point"
   9125 
   9126 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9127 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9128 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9129 		if eval \${$cacheid+:} false; then :
   9130   $as_echo_n "(cached) " >&6
   9131 else
   9132   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9133 /* end confdefs.h.  */
   9134 int i;
   9135 int
   9136 main ()
   9137 {
   9138 
   9139   ;
   9140   return 0;
   9141 }
   9142 _ACEOF
   9143 if ac_fn_c_try_link "$LINENO"; then :
   9144   eval $cacheid=yes
   9145 else
   9146   eval $cacheid=no
   9147 fi
   9148 rm -f core conftest.err conftest.$ac_objext \
   9149     conftest$ac_exeext conftest.$ac_ext
   9150 fi
   9151 
   9152 
   9153 		CFLAGS="$xorg_testset_save_CFLAGS"
   9154 
   9155 		eval supported=\$$cacheid
   9156 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9157 $as_echo "$supported" >&6; }
   9158 		if test "$supported" = "yes" ; then
   9159 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9160 			found="yes"
   9161 		fi
   9162 	fi
   9163 
   9164 
   9165 
   9166 
   9167 
   9168 
   9169 
   9170 
   9171 
   9172 
   9173 
   9174 
   9175 
   9176 
   9177 
   9178 xorg_testset_save_CFLAGS="$CFLAGS"
   9179 
   9180 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9181 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9182 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9183 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9184 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9185   $as_echo_n "(cached) " >&6
   9186 else
   9187   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9188 /* end confdefs.h.  */
   9189 int i;
   9190 _ACEOF
   9191 if ac_fn_c_try_compile "$LINENO"; then :
   9192   xorg_cv_cc_flag_unknown_warning_option=yes
   9193 else
   9194   xorg_cv_cc_flag_unknown_warning_option=no
   9195 fi
   9196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9197 fi
   9198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9199 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9200 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9201 	CFLAGS="$xorg_testset_save_CFLAGS"
   9202 fi
   9203 
   9204 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9205 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9206 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9207 	fi
   9208 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9209 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9210 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9211 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9212   $as_echo_n "(cached) " >&6
   9213 else
   9214   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9215 /* end confdefs.h.  */
   9216 int i;
   9217 _ACEOF
   9218 if ac_fn_c_try_compile "$LINENO"; then :
   9219   xorg_cv_cc_flag_unused_command_line_argument=yes
   9220 else
   9221   xorg_cv_cc_flag_unused_command_line_argument=no
   9222 fi
   9223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9224 fi
   9225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9226 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9227 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9228 	CFLAGS="$xorg_testset_save_CFLAGS"
   9229 fi
   9230 
   9231 found="no"
   9232 
   9233 	if test $found = "no" ; then
   9234 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9235 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9236 		fi
   9237 
   9238 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9239 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9240 		fi
   9241 
   9242 		CFLAGS="$CFLAGS -Wreturn-type"
   9243 
   9244 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9245 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9246 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9247 		if eval \${$cacheid+:} false; then :
   9248   $as_echo_n "(cached) " >&6
   9249 else
   9250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9251 /* end confdefs.h.  */
   9252 int i;
   9253 int
   9254 main ()
   9255 {
   9256 
   9257   ;
   9258   return 0;
   9259 }
   9260 _ACEOF
   9261 if ac_fn_c_try_link "$LINENO"; then :
   9262   eval $cacheid=yes
   9263 else
   9264   eval $cacheid=no
   9265 fi
   9266 rm -f core conftest.err conftest.$ac_objext \
   9267     conftest$ac_exeext conftest.$ac_ext
   9268 fi
   9269 
   9270 
   9271 		CFLAGS="$xorg_testset_save_CFLAGS"
   9272 
   9273 		eval supported=\$$cacheid
   9274 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9275 $as_echo "$supported" >&6; }
   9276 		if test "$supported" = "yes" ; then
   9277 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9278 			found="yes"
   9279 		fi
   9280 	fi
   9281 
   9282 
   9283 
   9284 
   9285 
   9286 
   9287 
   9288 
   9289 
   9290 
   9291 
   9292 
   9293 
   9294 
   9295 
   9296 xorg_testset_save_CFLAGS="$CFLAGS"
   9297 
   9298 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9299 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9300 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9301 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9302 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9303   $as_echo_n "(cached) " >&6
   9304 else
   9305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9306 /* end confdefs.h.  */
   9307 int i;
   9308 _ACEOF
   9309 if ac_fn_c_try_compile "$LINENO"; then :
   9310   xorg_cv_cc_flag_unknown_warning_option=yes
   9311 else
   9312   xorg_cv_cc_flag_unknown_warning_option=no
   9313 fi
   9314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9315 fi
   9316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9317 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9318 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9319 	CFLAGS="$xorg_testset_save_CFLAGS"
   9320 fi
   9321 
   9322 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9323 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9324 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9325 	fi
   9326 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9327 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9328 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9329 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9330   $as_echo_n "(cached) " >&6
   9331 else
   9332   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9333 /* end confdefs.h.  */
   9334 int i;
   9335 _ACEOF
   9336 if ac_fn_c_try_compile "$LINENO"; then :
   9337   xorg_cv_cc_flag_unused_command_line_argument=yes
   9338 else
   9339   xorg_cv_cc_flag_unused_command_line_argument=no
   9340 fi
   9341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9342 fi
   9343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9344 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9345 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9346 	CFLAGS="$xorg_testset_save_CFLAGS"
   9347 fi
   9348 
   9349 found="no"
   9350 
   9351 	if test $found = "no" ; then
   9352 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9353 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9354 		fi
   9355 
   9356 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9357 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9358 		fi
   9359 
   9360 		CFLAGS="$CFLAGS -Wtrigraphs"
   9361 
   9362 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9363 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9364 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9365 		if eval \${$cacheid+:} false; then :
   9366   $as_echo_n "(cached) " >&6
   9367 else
   9368   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9369 /* end confdefs.h.  */
   9370 int i;
   9371 int
   9372 main ()
   9373 {
   9374 
   9375   ;
   9376   return 0;
   9377 }
   9378 _ACEOF
   9379 if ac_fn_c_try_link "$LINENO"; then :
   9380   eval $cacheid=yes
   9381 else
   9382   eval $cacheid=no
   9383 fi
   9384 rm -f core conftest.err conftest.$ac_objext \
   9385     conftest$ac_exeext conftest.$ac_ext
   9386 fi
   9387 
   9388 
   9389 		CFLAGS="$xorg_testset_save_CFLAGS"
   9390 
   9391 		eval supported=\$$cacheid
   9392 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9393 $as_echo "$supported" >&6; }
   9394 		if test "$supported" = "yes" ; then
   9395 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9396 			found="yes"
   9397 		fi
   9398 	fi
   9399 
   9400 
   9401 
   9402 
   9403 
   9404 
   9405 
   9406 
   9407 
   9408 
   9409 
   9410 
   9411 
   9412 
   9413 
   9414 xorg_testset_save_CFLAGS="$CFLAGS"
   9415 
   9416 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9417 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9418 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9419 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9420 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9421   $as_echo_n "(cached) " >&6
   9422 else
   9423   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9424 /* end confdefs.h.  */
   9425 int i;
   9426 _ACEOF
   9427 if ac_fn_c_try_compile "$LINENO"; then :
   9428   xorg_cv_cc_flag_unknown_warning_option=yes
   9429 else
   9430   xorg_cv_cc_flag_unknown_warning_option=no
   9431 fi
   9432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9433 fi
   9434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9435 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9436 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9437 	CFLAGS="$xorg_testset_save_CFLAGS"
   9438 fi
   9439 
   9440 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9441 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9442 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9443 	fi
   9444 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9445 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9446 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9447 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9448   $as_echo_n "(cached) " >&6
   9449 else
   9450   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9451 /* end confdefs.h.  */
   9452 int i;
   9453 _ACEOF
   9454 if ac_fn_c_try_compile "$LINENO"; then :
   9455   xorg_cv_cc_flag_unused_command_line_argument=yes
   9456 else
   9457   xorg_cv_cc_flag_unused_command_line_argument=no
   9458 fi
   9459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9460 fi
   9461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9462 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9463 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9464 	CFLAGS="$xorg_testset_save_CFLAGS"
   9465 fi
   9466 
   9467 found="no"
   9468 
   9469 	if test $found = "no" ; then
   9470 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9471 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9472 		fi
   9473 
   9474 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9475 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9476 		fi
   9477 
   9478 		CFLAGS="$CFLAGS -Warray-bounds"
   9479 
   9480 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9481 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9482 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9483 		if eval \${$cacheid+:} false; then :
   9484   $as_echo_n "(cached) " >&6
   9485 else
   9486   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9487 /* end confdefs.h.  */
   9488 int i;
   9489 int
   9490 main ()
   9491 {
   9492 
   9493   ;
   9494   return 0;
   9495 }
   9496 _ACEOF
   9497 if ac_fn_c_try_link "$LINENO"; then :
   9498   eval $cacheid=yes
   9499 else
   9500   eval $cacheid=no
   9501 fi
   9502 rm -f core conftest.err conftest.$ac_objext \
   9503     conftest$ac_exeext conftest.$ac_ext
   9504 fi
   9505 
   9506 
   9507 		CFLAGS="$xorg_testset_save_CFLAGS"
   9508 
   9509 		eval supported=\$$cacheid
   9510 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9511 $as_echo "$supported" >&6; }
   9512 		if test "$supported" = "yes" ; then
   9513 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9514 			found="yes"
   9515 		fi
   9516 	fi
   9517 
   9518 
   9519 
   9520 
   9521 
   9522 
   9523 
   9524 
   9525 
   9526 
   9527 
   9528 
   9529 
   9530 
   9531 
   9532 xorg_testset_save_CFLAGS="$CFLAGS"
   9533 
   9534 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9535 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9536 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9537 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9538 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9539   $as_echo_n "(cached) " >&6
   9540 else
   9541   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9542 /* end confdefs.h.  */
   9543 int i;
   9544 _ACEOF
   9545 if ac_fn_c_try_compile "$LINENO"; then :
   9546   xorg_cv_cc_flag_unknown_warning_option=yes
   9547 else
   9548   xorg_cv_cc_flag_unknown_warning_option=no
   9549 fi
   9550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9551 fi
   9552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9553 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9554 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9555 	CFLAGS="$xorg_testset_save_CFLAGS"
   9556 fi
   9557 
   9558 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9559 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9560 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9561 	fi
   9562 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9563 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9564 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9565 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9566   $as_echo_n "(cached) " >&6
   9567 else
   9568   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9569 /* end confdefs.h.  */
   9570 int i;
   9571 _ACEOF
   9572 if ac_fn_c_try_compile "$LINENO"; then :
   9573   xorg_cv_cc_flag_unused_command_line_argument=yes
   9574 else
   9575   xorg_cv_cc_flag_unused_command_line_argument=no
   9576 fi
   9577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9578 fi
   9579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9580 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9581 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9582 	CFLAGS="$xorg_testset_save_CFLAGS"
   9583 fi
   9584 
   9585 found="no"
   9586 
   9587 	if test $found = "no" ; then
   9588 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9589 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9590 		fi
   9591 
   9592 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9593 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9594 		fi
   9595 
   9596 		CFLAGS="$CFLAGS -Wwrite-strings"
   9597 
   9598 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9599 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9600 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9601 		if eval \${$cacheid+:} false; then :
   9602   $as_echo_n "(cached) " >&6
   9603 else
   9604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9605 /* end confdefs.h.  */
   9606 int i;
   9607 int
   9608 main ()
   9609 {
   9610 
   9611   ;
   9612   return 0;
   9613 }
   9614 _ACEOF
   9615 if ac_fn_c_try_link "$LINENO"; then :
   9616   eval $cacheid=yes
   9617 else
   9618   eval $cacheid=no
   9619 fi
   9620 rm -f core conftest.err conftest.$ac_objext \
   9621     conftest$ac_exeext conftest.$ac_ext
   9622 fi
   9623 
   9624 
   9625 		CFLAGS="$xorg_testset_save_CFLAGS"
   9626 
   9627 		eval supported=\$$cacheid
   9628 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9629 $as_echo "$supported" >&6; }
   9630 		if test "$supported" = "yes" ; then
   9631 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9632 			found="yes"
   9633 		fi
   9634 	fi
   9635 
   9636 
   9637 
   9638 
   9639 
   9640 
   9641 
   9642 
   9643 
   9644 
   9645 
   9646 
   9647 
   9648 
   9649 
   9650 xorg_testset_save_CFLAGS="$CFLAGS"
   9651 
   9652 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9653 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9654 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9655 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9656 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9657   $as_echo_n "(cached) " >&6
   9658 else
   9659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9660 /* end confdefs.h.  */
   9661 int i;
   9662 _ACEOF
   9663 if ac_fn_c_try_compile "$LINENO"; then :
   9664   xorg_cv_cc_flag_unknown_warning_option=yes
   9665 else
   9666   xorg_cv_cc_flag_unknown_warning_option=no
   9667 fi
   9668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9669 fi
   9670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9671 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9672 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9673 	CFLAGS="$xorg_testset_save_CFLAGS"
   9674 fi
   9675 
   9676 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9677 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9678 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9679 	fi
   9680 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9681 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9682 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9683 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9684   $as_echo_n "(cached) " >&6
   9685 else
   9686   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9687 /* end confdefs.h.  */
   9688 int i;
   9689 _ACEOF
   9690 if ac_fn_c_try_compile "$LINENO"; then :
   9691   xorg_cv_cc_flag_unused_command_line_argument=yes
   9692 else
   9693   xorg_cv_cc_flag_unused_command_line_argument=no
   9694 fi
   9695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9696 fi
   9697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9698 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9699 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9700 	CFLAGS="$xorg_testset_save_CFLAGS"
   9701 fi
   9702 
   9703 found="no"
   9704 
   9705 	if test $found = "no" ; then
   9706 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9707 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9708 		fi
   9709 
   9710 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9711 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9712 		fi
   9713 
   9714 		CFLAGS="$CFLAGS -Waddress"
   9715 
   9716 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9717 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9718 		cacheid=xorg_cv_cc_flag__Waddress
   9719 		if eval \${$cacheid+:} false; then :
   9720   $as_echo_n "(cached) " >&6
   9721 else
   9722   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9723 /* end confdefs.h.  */
   9724 int i;
   9725 int
   9726 main ()
   9727 {
   9728 
   9729   ;
   9730   return 0;
   9731 }
   9732 _ACEOF
   9733 if ac_fn_c_try_link "$LINENO"; then :
   9734   eval $cacheid=yes
   9735 else
   9736   eval $cacheid=no
   9737 fi
   9738 rm -f core conftest.err conftest.$ac_objext \
   9739     conftest$ac_exeext conftest.$ac_ext
   9740 fi
   9741 
   9742 
   9743 		CFLAGS="$xorg_testset_save_CFLAGS"
   9744 
   9745 		eval supported=\$$cacheid
   9746 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9747 $as_echo "$supported" >&6; }
   9748 		if test "$supported" = "yes" ; then
   9749 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9750 			found="yes"
   9751 		fi
   9752 	fi
   9753 
   9754 
   9755 
   9756 
   9757 
   9758 
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 
   9765 
   9766 
   9767 
   9768 xorg_testset_save_CFLAGS="$CFLAGS"
   9769 
   9770 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9771 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9772 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9773 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9774 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9775   $as_echo_n "(cached) " >&6
   9776 else
   9777   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9778 /* end confdefs.h.  */
   9779 int i;
   9780 _ACEOF
   9781 if ac_fn_c_try_compile "$LINENO"; then :
   9782   xorg_cv_cc_flag_unknown_warning_option=yes
   9783 else
   9784   xorg_cv_cc_flag_unknown_warning_option=no
   9785 fi
   9786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9787 fi
   9788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9789 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9790 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9791 	CFLAGS="$xorg_testset_save_CFLAGS"
   9792 fi
   9793 
   9794 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9795 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9796 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9797 	fi
   9798 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9799 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9800 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9801 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9802   $as_echo_n "(cached) " >&6
   9803 else
   9804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9805 /* end confdefs.h.  */
   9806 int i;
   9807 _ACEOF
   9808 if ac_fn_c_try_compile "$LINENO"; then :
   9809   xorg_cv_cc_flag_unused_command_line_argument=yes
   9810 else
   9811   xorg_cv_cc_flag_unused_command_line_argument=no
   9812 fi
   9813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9814 fi
   9815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9816 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9817 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9818 	CFLAGS="$xorg_testset_save_CFLAGS"
   9819 fi
   9820 
   9821 found="no"
   9822 
   9823 	if test $found = "no" ; then
   9824 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9825 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9826 		fi
   9827 
   9828 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9829 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9830 		fi
   9831 
   9832 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9833 
   9834 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9835 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9836 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9837 		if eval \${$cacheid+:} false; then :
   9838   $as_echo_n "(cached) " >&6
   9839 else
   9840   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9841 /* end confdefs.h.  */
   9842 int i;
   9843 int
   9844 main ()
   9845 {
   9846 
   9847   ;
   9848   return 0;
   9849 }
   9850 _ACEOF
   9851 if ac_fn_c_try_link "$LINENO"; then :
   9852   eval $cacheid=yes
   9853 else
   9854   eval $cacheid=no
   9855 fi
   9856 rm -f core conftest.err conftest.$ac_objext \
   9857     conftest$ac_exeext conftest.$ac_ext
   9858 fi
   9859 
   9860 
   9861 		CFLAGS="$xorg_testset_save_CFLAGS"
   9862 
   9863 		eval supported=\$$cacheid
   9864 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9865 $as_echo "$supported" >&6; }
   9866 		if test "$supported" = "yes" ; then
   9867 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9868 			found="yes"
   9869 		fi
   9870 	fi
   9871 
   9872 
   9873 
   9874 
   9875 
   9876 
   9877 
   9878 
   9879 
   9880 
   9881 
   9882 
   9883 
   9884 
   9885 
   9886 xorg_testset_save_CFLAGS="$CFLAGS"
   9887 
   9888 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9889 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9890 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9891 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9892 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9893   $as_echo_n "(cached) " >&6
   9894 else
   9895   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9896 /* end confdefs.h.  */
   9897 int i;
   9898 _ACEOF
   9899 if ac_fn_c_try_compile "$LINENO"; then :
   9900   xorg_cv_cc_flag_unknown_warning_option=yes
   9901 else
   9902   xorg_cv_cc_flag_unknown_warning_option=no
   9903 fi
   9904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9905 fi
   9906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9907 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9908 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9909 	CFLAGS="$xorg_testset_save_CFLAGS"
   9910 fi
   9911 
   9912 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9913 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9914 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9915 	fi
   9916 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9917 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9918 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9919 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9920   $as_echo_n "(cached) " >&6
   9921 else
   9922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9923 /* end confdefs.h.  */
   9924 int i;
   9925 _ACEOF
   9926 if ac_fn_c_try_compile "$LINENO"; then :
   9927   xorg_cv_cc_flag_unused_command_line_argument=yes
   9928 else
   9929   xorg_cv_cc_flag_unused_command_line_argument=no
   9930 fi
   9931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9932 fi
   9933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9934 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9935 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9936 	CFLAGS="$xorg_testset_save_CFLAGS"
   9937 fi
   9938 
   9939 found="no"
   9940 
   9941 	if test $found = "no" ; then
   9942 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9943 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9944 		fi
   9945 
   9946 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9947 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9948 		fi
   9949 
   9950 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   9951 
   9952 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   9953 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   9954 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   9955 		if eval \${$cacheid+:} false; then :
   9956   $as_echo_n "(cached) " >&6
   9957 else
   9958   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9959 /* end confdefs.h.  */
   9960 int i;
   9961 int
   9962 main ()
   9963 {
   9964 
   9965   ;
   9966   return 0;
   9967 }
   9968 _ACEOF
   9969 if ac_fn_c_try_link "$LINENO"; then :
   9970   eval $cacheid=yes
   9971 else
   9972   eval $cacheid=no
   9973 fi
   9974 rm -f core conftest.err conftest.$ac_objext \
   9975     conftest$ac_exeext conftest.$ac_ext
   9976 fi
   9977 
   9978 
   9979 		CFLAGS="$xorg_testset_save_CFLAGS"
   9980 
   9981 		eval supported=\$$cacheid
   9982 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9983 $as_echo "$supported" >&6; }
   9984 		if test "$supported" = "yes" ; then
   9985 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   9986 			found="yes"
   9987 		fi
   9988 	fi
   9989 
   9990 
   9991 fi
   9992 
   9993 
   9994 
   9995 
   9996 
   9997 
   9998 
   9999 		CWARNFLAGS="$BASE_CFLAGS"
   10000 		if  test "x$GCC" = xyes ; then
   10001 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10002 		fi
   10003 
   10004 
   10005 
   10006 
   10007 
   10008 
   10009 
   10010 
   10011 # Check whether --enable-strict-compilation was given.
   10012 if test "${enable_strict_compilation+set}" = set; then :
   10013   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10014 else
   10015   STRICT_COMPILE=no
   10016 fi
   10017 
   10018 
   10019 
   10020 
   10021 
   10022 
   10023 STRICT_CFLAGS=""
   10024 
   10025 
   10026 
   10027 
   10028 
   10029 
   10030 
   10031 
   10032 
   10033 
   10034 
   10035 
   10036 
   10037 xorg_testset_save_CFLAGS="$CFLAGS"
   10038 
   10039 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10040 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10041 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10042 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10043 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10044   $as_echo_n "(cached) " >&6
   10045 else
   10046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10047 /* end confdefs.h.  */
   10048 int i;
   10049 _ACEOF
   10050 if ac_fn_c_try_compile "$LINENO"; then :
   10051   xorg_cv_cc_flag_unknown_warning_option=yes
   10052 else
   10053   xorg_cv_cc_flag_unknown_warning_option=no
   10054 fi
   10055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10056 fi
   10057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10058 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10059 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10060 	CFLAGS="$xorg_testset_save_CFLAGS"
   10061 fi
   10062 
   10063 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10064 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10065 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10066 	fi
   10067 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10068 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10069 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10070 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10071   $as_echo_n "(cached) " >&6
   10072 else
   10073   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10074 /* end confdefs.h.  */
   10075 int i;
   10076 _ACEOF
   10077 if ac_fn_c_try_compile "$LINENO"; then :
   10078   xorg_cv_cc_flag_unused_command_line_argument=yes
   10079 else
   10080   xorg_cv_cc_flag_unused_command_line_argument=no
   10081 fi
   10082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10083 fi
   10084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10085 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10086 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10087 	CFLAGS="$xorg_testset_save_CFLAGS"
   10088 fi
   10089 
   10090 found="no"
   10091 
   10092 	if test $found = "no" ; then
   10093 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10094 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10095 		fi
   10096 
   10097 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10098 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10099 		fi
   10100 
   10101 		CFLAGS="$CFLAGS -pedantic"
   10102 
   10103 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10104 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10105 		cacheid=xorg_cv_cc_flag__pedantic
   10106 		if eval \${$cacheid+:} false; then :
   10107   $as_echo_n "(cached) " >&6
   10108 else
   10109   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10110 /* end confdefs.h.  */
   10111 int i;
   10112 int
   10113 main ()
   10114 {
   10115 
   10116   ;
   10117   return 0;
   10118 }
   10119 _ACEOF
   10120 if ac_fn_c_try_link "$LINENO"; then :
   10121   eval $cacheid=yes
   10122 else
   10123   eval $cacheid=no
   10124 fi
   10125 rm -f core conftest.err conftest.$ac_objext \
   10126     conftest$ac_exeext conftest.$ac_ext
   10127 fi
   10128 
   10129 
   10130 		CFLAGS="$xorg_testset_save_CFLAGS"
   10131 
   10132 		eval supported=\$$cacheid
   10133 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10134 $as_echo "$supported" >&6; }
   10135 		if test "$supported" = "yes" ; then
   10136 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10137 			found="yes"
   10138 		fi
   10139 	fi
   10140 
   10141 
   10142 
   10143 
   10144 
   10145 
   10146 
   10147 
   10148 
   10149 
   10150 
   10151 
   10152 
   10153 
   10154 
   10155 xorg_testset_save_CFLAGS="$CFLAGS"
   10156 
   10157 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10158 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10159 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10160 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10161 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10162   $as_echo_n "(cached) " >&6
   10163 else
   10164   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10165 /* end confdefs.h.  */
   10166 int i;
   10167 _ACEOF
   10168 if ac_fn_c_try_compile "$LINENO"; then :
   10169   xorg_cv_cc_flag_unknown_warning_option=yes
   10170 else
   10171   xorg_cv_cc_flag_unknown_warning_option=no
   10172 fi
   10173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10174 fi
   10175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10176 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10177 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10178 	CFLAGS="$xorg_testset_save_CFLAGS"
   10179 fi
   10180 
   10181 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10182 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10183 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10184 	fi
   10185 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10186 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10187 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10188 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10189   $as_echo_n "(cached) " >&6
   10190 else
   10191   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10192 /* end confdefs.h.  */
   10193 int i;
   10194 _ACEOF
   10195 if ac_fn_c_try_compile "$LINENO"; then :
   10196   xorg_cv_cc_flag_unused_command_line_argument=yes
   10197 else
   10198   xorg_cv_cc_flag_unused_command_line_argument=no
   10199 fi
   10200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10201 fi
   10202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10203 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10204 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10205 	CFLAGS="$xorg_testset_save_CFLAGS"
   10206 fi
   10207 
   10208 found="no"
   10209 
   10210 	if test $found = "no" ; then
   10211 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10212 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10213 		fi
   10214 
   10215 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10216 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10217 		fi
   10218 
   10219 		CFLAGS="$CFLAGS -Werror"
   10220 
   10221 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10222 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10223 		cacheid=xorg_cv_cc_flag__Werror
   10224 		if eval \${$cacheid+:} false; then :
   10225   $as_echo_n "(cached) " >&6
   10226 else
   10227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10228 /* end confdefs.h.  */
   10229 int i;
   10230 int
   10231 main ()
   10232 {
   10233 
   10234   ;
   10235   return 0;
   10236 }
   10237 _ACEOF
   10238 if ac_fn_c_try_link "$LINENO"; then :
   10239   eval $cacheid=yes
   10240 else
   10241   eval $cacheid=no
   10242 fi
   10243 rm -f core conftest.err conftest.$ac_objext \
   10244     conftest$ac_exeext conftest.$ac_ext
   10245 fi
   10246 
   10247 
   10248 		CFLAGS="$xorg_testset_save_CFLAGS"
   10249 
   10250 		eval supported=\$$cacheid
   10251 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10252 $as_echo "$supported" >&6; }
   10253 		if test "$supported" = "yes" ; then
   10254 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10255 			found="yes"
   10256 		fi
   10257 	fi
   10258 
   10259 	if test $found = "no" ; then
   10260 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10261 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10262 		fi
   10263 
   10264 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10265 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10266 		fi
   10267 
   10268 		CFLAGS="$CFLAGS -errwarn"
   10269 
   10270 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10271 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10272 		cacheid=xorg_cv_cc_flag__errwarn
   10273 		if eval \${$cacheid+:} false; then :
   10274   $as_echo_n "(cached) " >&6
   10275 else
   10276   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10277 /* end confdefs.h.  */
   10278 int i;
   10279 int
   10280 main ()
   10281 {
   10282 
   10283   ;
   10284   return 0;
   10285 }
   10286 _ACEOF
   10287 if ac_fn_c_try_link "$LINENO"; then :
   10288   eval $cacheid=yes
   10289 else
   10290   eval $cacheid=no
   10291 fi
   10292 rm -f core conftest.err conftest.$ac_objext \
   10293     conftest$ac_exeext conftest.$ac_ext
   10294 fi
   10295 
   10296 
   10297 		CFLAGS="$xorg_testset_save_CFLAGS"
   10298 
   10299 		eval supported=\$$cacheid
   10300 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10301 $as_echo "$supported" >&6; }
   10302 		if test "$supported" = "yes" ; then
   10303 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10304 			found="yes"
   10305 		fi
   10306 	fi
   10307 
   10308 
   10309 
   10310 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10311 # activate it with -Werror, so we add it here explicitly.
   10312 
   10313 
   10314 
   10315 
   10316 
   10317 
   10318 
   10319 
   10320 
   10321 
   10322 
   10323 
   10324 
   10325 xorg_testset_save_CFLAGS="$CFLAGS"
   10326 
   10327 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10328 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10329 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10330 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10331 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10332   $as_echo_n "(cached) " >&6
   10333 else
   10334   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10335 /* end confdefs.h.  */
   10336 int i;
   10337 _ACEOF
   10338 if ac_fn_c_try_compile "$LINENO"; then :
   10339   xorg_cv_cc_flag_unknown_warning_option=yes
   10340 else
   10341   xorg_cv_cc_flag_unknown_warning_option=no
   10342 fi
   10343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10344 fi
   10345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10346 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10347 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10348 	CFLAGS="$xorg_testset_save_CFLAGS"
   10349 fi
   10350 
   10351 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10352 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10353 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10354 	fi
   10355 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10356 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10357 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10358 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10359   $as_echo_n "(cached) " >&6
   10360 else
   10361   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10362 /* end confdefs.h.  */
   10363 int i;
   10364 _ACEOF
   10365 if ac_fn_c_try_compile "$LINENO"; then :
   10366   xorg_cv_cc_flag_unused_command_line_argument=yes
   10367 else
   10368   xorg_cv_cc_flag_unused_command_line_argument=no
   10369 fi
   10370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10371 fi
   10372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10373 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10374 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10375 	CFLAGS="$xorg_testset_save_CFLAGS"
   10376 fi
   10377 
   10378 found="no"
   10379 
   10380 	if test $found = "no" ; then
   10381 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10382 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10383 		fi
   10384 
   10385 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10386 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10387 		fi
   10388 
   10389 		CFLAGS="$CFLAGS -Werror=attributes"
   10390 
   10391 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10392 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10393 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10394 		if eval \${$cacheid+:} false; then :
   10395   $as_echo_n "(cached) " >&6
   10396 else
   10397   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10398 /* end confdefs.h.  */
   10399 int i;
   10400 int
   10401 main ()
   10402 {
   10403 
   10404   ;
   10405   return 0;
   10406 }
   10407 _ACEOF
   10408 if ac_fn_c_try_link "$LINENO"; then :
   10409   eval $cacheid=yes
   10410 else
   10411   eval $cacheid=no
   10412 fi
   10413 rm -f core conftest.err conftest.$ac_objext \
   10414     conftest$ac_exeext conftest.$ac_ext
   10415 fi
   10416 
   10417 
   10418 		CFLAGS="$xorg_testset_save_CFLAGS"
   10419 
   10420 		eval supported=\$$cacheid
   10421 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10422 $as_echo "$supported" >&6; }
   10423 		if test "$supported" = "yes" ; then
   10424 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10425 			found="yes"
   10426 		fi
   10427 	fi
   10428 
   10429 
   10430 
   10431 if test "x$STRICT_COMPILE" = "xyes"; then
   10432     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10433     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10434 fi
   10435 
   10436 
   10437 
   10438 
   10439 
   10440 
   10441 cat >>confdefs.h <<_ACEOF
   10442 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10443 _ACEOF
   10444 
   10445 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10446 	if test "x$PVM" = "x"; then
   10447 		PVM="0"
   10448 	fi
   10449 
   10450 cat >>confdefs.h <<_ACEOF
   10451 #define PACKAGE_VERSION_MINOR $PVM
   10452 _ACEOF
   10453 
   10454 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10455 	if test "x$PVP" = "x"; then
   10456 		PVP="0"
   10457 	fi
   10458 
   10459 cat >>confdefs.h <<_ACEOF
   10460 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10461 _ACEOF
   10462 
   10463 
   10464 
   10465 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10466 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10467 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10468 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10469 
   10470 
   10471 
   10472 
   10473 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10474 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10475 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10476 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10477 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10478 
   10479 
   10480 
   10481 
   10482 
   10483 
   10484 if test x$APP_MAN_SUFFIX = x    ; then
   10485     APP_MAN_SUFFIX=1
   10486 fi
   10487 if test x$APP_MAN_DIR = x    ; then
   10488     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10489 fi
   10490 
   10491 if test x$LIB_MAN_SUFFIX = x    ; then
   10492     LIB_MAN_SUFFIX=3
   10493 fi
   10494 if test x$LIB_MAN_DIR = x    ; then
   10495     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10496 fi
   10497 
   10498 if test x$FILE_MAN_SUFFIX = x    ; then
   10499     case $host_os in
   10500 	# Solaris 2.0 - 11 use SysV man page sections
   10501 	solaris2.?|solaris2.1[01])	FILE_MAN_SUFFIX=4  ;;
   10502 	*)				FILE_MAN_SUFFIX=5  ;;
   10503     esac
   10504 fi
   10505 if test x$FILE_MAN_DIR = x    ; then
   10506     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10507 fi
   10508 
   10509 if test x$MISC_MAN_SUFFIX = x    ; then
   10510     case $host_os in
   10511 	# Solaris 2.0 - 11 use SysV man page sections
   10512 	solaris2.?|solaris2.1[01])	MISC_MAN_SUFFIX=5  ;;
   10513 	*)				MISC_MAN_SUFFIX=7  ;;
   10514     esac
   10515 fi
   10516 if test x$MISC_MAN_DIR = x    ; then
   10517     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10518 fi
   10519 
   10520 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10521     case $host_os in
   10522 	# Solaris 2.0 - 11 use SysV man page sections
   10523 	solaris2.?|solaris2.1[01])	DRIVER_MAN_SUFFIX=7  ;;
   10524 	*)				DRIVER_MAN_SUFFIX=4  ;;
   10525     esac
   10526 fi
   10527 if test x$DRIVER_MAN_DIR = x    ; then
   10528     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10529 fi
   10530 
   10531 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10532     case $host_os in
   10533 	# Solaris 2.0 - 11 use SysV man page sections
   10534 	solaris2.?|solaris2.1[01])	ADMIN_MAN_SUFFIX=1m ;;
   10535 	*)				ADMIN_MAN_SUFFIX=8  ;;
   10536     esac
   10537 fi
   10538 if test x$ADMIN_MAN_DIR = x    ; then
   10539     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10540 fi
   10541 
   10542 
   10543 
   10544 
   10545 
   10546 
   10547 
   10548 
   10549 
   10550 
   10551 
   10552 
   10553 
   10554 
   10555 
   10556 XORG_MAN_PAGE="X Version 11"
   10557 
   10558 MAN_SUBSTS="\
   10559 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10560 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10561 	-e 's|__xservername__|Xorg|g' \
   10562 	-e 's|__xconfigfile__|xorg.conf|g' \
   10563 	-e 's|__projectroot__|\$(prefix)|g' \
   10564 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10565 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10566 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10567 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10568 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10569 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10570 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10571 
   10572 
   10573 
   10574 # Check whether --enable-silent-rules was given.
   10575 if test "${enable_silent_rules+set}" = set; then :
   10576   enableval=$enable_silent_rules;
   10577 fi
   10578 
   10579 case $enable_silent_rules in # (((
   10580   yes) AM_DEFAULT_VERBOSITY=0;;
   10581    no) AM_DEFAULT_VERBOSITY=1;;
   10582     *) AM_DEFAULT_VERBOSITY=0;;
   10583 esac
   10584 am_make=${MAKE-make}
   10585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10586 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10587 if ${am_cv_make_support_nested_variables+:} false; then :
   10588   $as_echo_n "(cached) " >&6
   10589 else
   10590   if $as_echo 'TRUE=$(BAR$(V))
   10591 BAR0=false
   10592 BAR1=true
   10593 V=1
   10594 am__doit:
   10595 	@$(TRUE)
   10596 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10597   am_cv_make_support_nested_variables=yes
   10598 else
   10599   am_cv_make_support_nested_variables=no
   10600 fi
   10601 fi
   10602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10603 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10604 if test $am_cv_make_support_nested_variables = yes; then
   10605     AM_V='$(V)'
   10606   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10607 else
   10608   AM_V=$AM_DEFAULT_VERBOSITY
   10609   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10610 fi
   10611 AM_BACKSLASH='\'
   10612 
   10613 
   10614 
   10615 ac_config_headers="$ac_config_headers config.h"
   10616 
   10617 
   10618 
   10619 # Checks for pkg-config packages
   10620 
   10621 pkg_failed=no
   10622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XMORE" >&5
   10623 $as_echo_n "checking for XMORE... " >&6; }
   10624 
   10625 if test -n "$XMORE_CFLAGS"; then
   10626     pkg_cv_XMORE_CFLAGS="$XMORE_CFLAGS"
   10627  elif test -n "$PKG_CONFIG"; then
   10628     if test -n "$PKG_CONFIG" && \
   10629     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7\""; } >&5
   10630   ($PKG_CONFIG --exists --print-errors "xaw7") 2>&5
   10631   ac_status=$?
   10632   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10633   test $ac_status = 0; }; then
   10634   pkg_cv_XMORE_CFLAGS=`$PKG_CONFIG --cflags "xaw7" 2>/dev/null`
   10635 		      test "x$?" != "x0" && pkg_failed=yes
   10636 else
   10637   pkg_failed=yes
   10638 fi
   10639  else
   10640     pkg_failed=untried
   10641 fi
   10642 if test -n "$XMORE_LIBS"; then
   10643     pkg_cv_XMORE_LIBS="$XMORE_LIBS"
   10644  elif test -n "$PKG_CONFIG"; then
   10645     if test -n "$PKG_CONFIG" && \
   10646     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7\""; } >&5
   10647   ($PKG_CONFIG --exists --print-errors "xaw7") 2>&5
   10648   ac_status=$?
   10649   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10650   test $ac_status = 0; }; then
   10651   pkg_cv_XMORE_LIBS=`$PKG_CONFIG --libs "xaw7" 2>/dev/null`
   10652 		      test "x$?" != "x0" && pkg_failed=yes
   10653 else
   10654   pkg_failed=yes
   10655 fi
   10656  else
   10657     pkg_failed=untried
   10658 fi
   10659 
   10660 
   10661 
   10662 if test $pkg_failed = yes; then
   10663    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10664 $as_echo "no" >&6; }
   10665 
   10666 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10667         _pkg_short_errors_supported=yes
   10668 else
   10669         _pkg_short_errors_supported=no
   10670 fi
   10671         if test $_pkg_short_errors_supported = yes; then
   10672 	        XMORE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xaw7" 2>&1`
   10673         else
   10674 	        XMORE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xaw7" 2>&1`
   10675         fi
   10676 	# Put the nasty error message in config.log where it belongs
   10677 	echo "$XMORE_PKG_ERRORS" >&5
   10678 
   10679 	as_fn_error $? "Package requirements (xaw7) were not met:
   10680 
   10681 $XMORE_PKG_ERRORS
   10682 
   10683 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10684 installed software in a non-standard prefix.
   10685 
   10686 Alternatively, you may set the environment variables XMORE_CFLAGS
   10687 and XMORE_LIBS to avoid the need to call pkg-config.
   10688 See the pkg-config man page for more details." "$LINENO" 5
   10689 elif test $pkg_failed = untried; then
   10690      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10691 $as_echo "no" >&6; }
   10692 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10693 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10694 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10695 is in your PATH or set the PKG_CONFIG environment variable to the full
   10696 path to pkg-config.
   10697 
   10698 Alternatively, you may set the environment variables XMORE_CFLAGS
   10699 and XMORE_LIBS to avoid the need to call pkg-config.
   10700 See the pkg-config man page for more details.
   10701 
   10702 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10703 See \`config.log' for more details" "$LINENO" 5; }
   10704 else
   10705 	XMORE_CFLAGS=$pkg_cv_XMORE_CFLAGS
   10706 	XMORE_LIBS=$pkg_cv_XMORE_LIBS
   10707         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10708 $as_echo "yes" >&6; }
   10709 
   10710 fi
   10711 
   10712 
   10713 pkg_failed=no
   10714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPDEFS" >&5
   10715 $as_echo_n "checking for APPDEFS... " >&6; }
   10716 
   10717 if test -n "$APPDEFS_CFLAGS"; then
   10718     pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS"
   10719  elif test -n "$PKG_CONFIG"; then
   10720     if test -n "$PKG_CONFIG" && \
   10721     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   10722   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   10723   ac_status=$?
   10724   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10725   test $ac_status = 0; }; then
   10726   pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
   10727 		      test "x$?" != "x0" && pkg_failed=yes
   10728 else
   10729   pkg_failed=yes
   10730 fi
   10731  else
   10732     pkg_failed=untried
   10733 fi
   10734 if test -n "$APPDEFS_LIBS"; then
   10735     pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS"
   10736  elif test -n "$PKG_CONFIG"; then
   10737     if test -n "$PKG_CONFIG" && \
   10738     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   10739   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   10740   ac_status=$?
   10741   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10742   test $ac_status = 0; }; then
   10743   pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
   10744 		      test "x$?" != "x0" && pkg_failed=yes
   10745 else
   10746   pkg_failed=yes
   10747 fi
   10748  else
   10749     pkg_failed=untried
   10750 fi
   10751 
   10752 
   10753 
   10754 if test $pkg_failed = yes; then
   10755    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10756 $as_echo "no" >&6; }
   10757 
   10758 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10759         _pkg_short_errors_supported=yes
   10760 else
   10761         _pkg_short_errors_supported=no
   10762 fi
   10763         if test $_pkg_short_errors_supported = yes; then
   10764 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xt" 2>&1`
   10765         else
   10766 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xt" 2>&1`
   10767         fi
   10768 	# Put the nasty error message in config.log where it belongs
   10769 	echo "$APPDEFS_PKG_ERRORS" >&5
   10770 
   10771 	as_fn_error $? "Package requirements (xt) were not met:
   10772 
   10773 $APPDEFS_PKG_ERRORS
   10774 
   10775 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10776 installed software in a non-standard prefix.
   10777 
   10778 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   10779 and APPDEFS_LIBS to avoid the need to call pkg-config.
   10780 See the pkg-config man page for more details." "$LINENO" 5
   10781 elif test $pkg_failed = untried; then
   10782      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10783 $as_echo "no" >&6; }
   10784 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10785 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10786 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10787 is in your PATH or set the PKG_CONFIG environment variable to the full
   10788 path to pkg-config.
   10789 
   10790 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   10791 and APPDEFS_LIBS to avoid the need to call pkg-config.
   10792 See the pkg-config man page for more details.
   10793 
   10794 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10795 See \`config.log' for more details" "$LINENO" 5; }
   10796 else
   10797 	APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS
   10798 	APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS
   10799         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10800 $as_echo "yes" >&6; }
   10801 
   10802 fi
   10803 xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
   10804 
   10805 # Check whether --with-appdefaultdir was given.
   10806 if test "${with_appdefaultdir+set}" = set; then :
   10807   withval=$with_appdefaultdir; appdefaultdir="$withval"
   10808 else
   10809   appdefaultdir="${xt_appdefaultdir}"
   10810 fi
   10811 
   10812 
   10813 
   10814 
   10815 ac_config_files="$ac_config_files Makefile man/Makefile"
   10816 
   10817 cat >confcache <<\_ACEOF
   10818 # This file is a shell script that caches the results of configure
   10819 # tests run on this system so they can be shared between configure
   10820 # scripts and configure runs, see configure's option --config-cache.
   10821 # It is not useful on other systems.  If it contains results you don't
   10822 # want to keep, you may remove or edit it.
   10823 #
   10824 # config.status only pays attention to the cache file if you give it
   10825 # the --recheck option to rerun configure.
   10826 #
   10827 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   10828 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   10829 # following values.
   10830 
   10831 _ACEOF
   10832 
   10833 # The following way of writing the cache mishandles newlines in values,
   10834 # but we know of no workaround that is simple, portable, and efficient.
   10835 # So, we kill variables containing newlines.
   10836 # Ultrix sh set writes to stderr and can't be redirected directly,
   10837 # and sets the high bit in the cache file unless we assign to the vars.
   10838 (
   10839   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   10840     eval ac_val=\$$ac_var
   10841     case $ac_val in #(
   10842     *${as_nl}*)
   10843       case $ac_var in #(
   10844       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   10845 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   10846       esac
   10847       case $ac_var in #(
   10848       _ | IFS | as_nl) ;; #(
   10849       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   10850       *) { eval $ac_var=; unset $ac_var;} ;;
   10851       esac ;;
   10852     esac
   10853   done
   10854 
   10855   (set) 2>&1 |
   10856     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   10857     *${as_nl}ac_space=\ *)
   10858       # `set' does not quote correctly, so add quotes: double-quote
   10859       # substitution turns \\\\ into \\, and sed turns \\ into \.
   10860       sed -n \
   10861 	"s/'/'\\\\''/g;
   10862 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   10863       ;; #(
   10864     *)
   10865       # `set' quotes correctly as required by POSIX, so do not add quotes.
   10866       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   10867       ;;
   10868     esac |
   10869     sort
   10870 ) |
   10871   sed '
   10872      /^ac_cv_env_/b end
   10873      t clear
   10874      :clear
   10875      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   10876      t end
   10877      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   10878      :end' >>confcache
   10879 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   10880   if test -w "$cache_file"; then
   10881     if test "x$cache_file" != "x/dev/null"; then
   10882       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   10883 $as_echo "$as_me: updating cache $cache_file" >&6;}
   10884       if test ! -f "$cache_file" || test -h "$cache_file"; then
   10885 	cat confcache >"$cache_file"
   10886       else
   10887         case $cache_file in #(
   10888         */* | ?:*)
   10889 	  mv -f confcache "$cache_file"$$ &&
   10890 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   10891         *)
   10892 	  mv -f confcache "$cache_file" ;;
   10893 	esac
   10894       fi
   10895     fi
   10896   else
   10897     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   10898 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   10899   fi
   10900 fi
   10901 rm -f confcache
   10902 
   10903 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   10904 # Let make expand exec_prefix.
   10905 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   10906 
   10907 DEFS=-DHAVE_CONFIG_H
   10908 
   10909 ac_libobjs=
   10910 ac_ltlibobjs=
   10911 U=
   10912 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   10913   # 1. Remove the extension, and $U if already installed.
   10914   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   10915   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   10916   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   10917   #    will be set to the directory where LIBOBJS objects are built.
   10918   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   10919   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   10920 done
   10921 LIBOBJS=$ac_libobjs
   10922 
   10923 LTLIBOBJS=$ac_ltlibobjs
   10924 
   10925 
   10926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   10927 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   10928    if test -n "$am_sleep_pid"; then
   10929      # Hide warnings about reused PIDs.
   10930      wait $am_sleep_pid 2>/dev/null
   10931    fi
   10932    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   10933 $as_echo "done" >&6; }
   10934  if test -n "$EXEEXT"; then
   10935   am__EXEEXT_TRUE=
   10936   am__EXEEXT_FALSE='#'
   10937 else
   10938   am__EXEEXT_TRUE='#'
   10939   am__EXEEXT_FALSE=
   10940 fi
   10941 
   10942 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   10943   as_fn_error $? "conditional \"AMDEP\" was never defined.
   10944 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10945 fi
   10946 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   10947   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   10948 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10949 fi
   10950 
   10951 : "${CONFIG_STATUS=./config.status}"
   10952 ac_write_fail=0
   10953 ac_clean_files_save=$ac_clean_files
   10954 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   10955 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   10956 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   10957 as_write_fail=0
   10958 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   10959 #! $SHELL
   10960 # Generated by $as_me.
   10961 # Run this file to recreate the current configuration.
   10962 # Compiler output produced by configure, useful for debugging
   10963 # configure, is in config.log if it exists.
   10964 
   10965 debug=false
   10966 ac_cs_recheck=false
   10967 ac_cs_silent=false
   10968 
   10969 SHELL=\${CONFIG_SHELL-$SHELL}
   10970 export SHELL
   10971 _ASEOF
   10972 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   10973 ## -------------------- ##
   10974 ## M4sh Initialization. ##
   10975 ## -------------------- ##
   10976 
   10977 # Be more Bourne compatible
   10978 DUALCASE=1; export DUALCASE # for MKS sh
   10979 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   10980   emulate sh
   10981   NULLCMD=:
   10982   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   10983   # is contrary to our usage.  Disable this feature.
   10984   alias -g '${1+"$@"}'='"$@"'
   10985   setopt NO_GLOB_SUBST
   10986 else
   10987   case `(set -o) 2>/dev/null` in #(
   10988   *posix*) :
   10989     set -o posix ;; #(
   10990   *) :
   10991      ;;
   10992 esac
   10993 fi
   10994 
   10995 
   10996 as_nl='
   10997 '
   10998 export as_nl
   10999 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11000 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11001 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11002 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11003 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11004 # but without wasting forks for bash or zsh.
   11005 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11006     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11007   as_echo='print -r --'
   11008   as_echo_n='print -rn --'
   11009 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11010   as_echo='printf %s\n'
   11011   as_echo_n='printf %s'
   11012 else
   11013   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11014     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11015     as_echo_n='/usr/ucb/echo -n'
   11016   else
   11017     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11018     as_echo_n_body='eval
   11019       arg=$1;
   11020       case $arg in #(
   11021       *"$as_nl"*)
   11022 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11023 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11024       esac;
   11025       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11026     '
   11027     export as_echo_n_body
   11028     as_echo_n='sh -c $as_echo_n_body as_echo'
   11029   fi
   11030   export as_echo_body
   11031   as_echo='sh -c $as_echo_body as_echo'
   11032 fi
   11033 
   11034 # The user is always right.
   11035 if test "${PATH_SEPARATOR+set}" != set; then
   11036   PATH_SEPARATOR=:
   11037   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11038     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11039       PATH_SEPARATOR=';'
   11040   }
   11041 fi
   11042 
   11043 
   11044 # IFS
   11045 # We need space, tab and new line, in precisely that order.  Quoting is
   11046 # there to prevent editors from complaining about space-tab.
   11047 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11048 # splitting by setting IFS to empty value.)
   11049 IFS=" ""	$as_nl"
   11050 
   11051 # Find who we are.  Look in the path if we contain no directory separator.
   11052 as_myself=
   11053 case $0 in #((
   11054   *[\\/]* ) as_myself=$0 ;;
   11055   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11056 for as_dir in $PATH
   11057 do
   11058   IFS=$as_save_IFS
   11059   test -z "$as_dir" && as_dir=.
   11060     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11061   done
   11062 IFS=$as_save_IFS
   11063 
   11064      ;;
   11065 esac
   11066 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11067 # in which case we are not to be found in the path.
   11068 if test "x$as_myself" = x; then
   11069   as_myself=$0
   11070 fi
   11071 if test ! -f "$as_myself"; then
   11072   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11073   exit 1
   11074 fi
   11075 
   11076 # Unset variables that we do not need and which cause bugs (e.g. in
   11077 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11078 # suppresses any "Segmentation fault" message there.  '((' could
   11079 # trigger a bug in pdksh 5.2.14.
   11080 for as_var in BASH_ENV ENV MAIL MAILPATH
   11081 do eval test x\${$as_var+set} = xset \
   11082   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11083 done
   11084 PS1='$ '
   11085 PS2='> '
   11086 PS4='+ '
   11087 
   11088 # NLS nuisances.
   11089 LC_ALL=C
   11090 export LC_ALL
   11091 LANGUAGE=C
   11092 export LANGUAGE
   11093 
   11094 # CDPATH.
   11095 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11096 
   11097 
   11098 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11099 # ----------------------------------------
   11100 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11101 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11102 # script with STATUS, using 1 if that was 0.
   11103 as_fn_error ()
   11104 {
   11105   as_status=$1; test $as_status -eq 0 && as_status=1
   11106   if test "$4"; then
   11107     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11108     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11109   fi
   11110   $as_echo "$as_me: error: $2" >&2
   11111   as_fn_exit $as_status
   11112 } # as_fn_error
   11113 
   11114 
   11115 # as_fn_set_status STATUS
   11116 # -----------------------
   11117 # Set $? to STATUS, without forking.
   11118 as_fn_set_status ()
   11119 {
   11120   return $1
   11121 } # as_fn_set_status
   11122 
   11123 # as_fn_exit STATUS
   11124 # -----------------
   11125 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11126 as_fn_exit ()
   11127 {
   11128   set +e
   11129   as_fn_set_status $1
   11130   exit $1
   11131 } # as_fn_exit
   11132 
   11133 # as_fn_unset VAR
   11134 # ---------------
   11135 # Portably unset VAR.
   11136 as_fn_unset ()
   11137 {
   11138   { eval $1=; unset $1;}
   11139 }
   11140 as_unset=as_fn_unset
   11141 # as_fn_append VAR VALUE
   11142 # ----------------------
   11143 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11144 # advantage of any shell optimizations that allow amortized linear growth over
   11145 # repeated appends, instead of the typical quadratic growth present in naive
   11146 # implementations.
   11147 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11148   eval 'as_fn_append ()
   11149   {
   11150     eval $1+=\$2
   11151   }'
   11152 else
   11153   as_fn_append ()
   11154   {
   11155     eval $1=\$$1\$2
   11156   }
   11157 fi # as_fn_append
   11158 
   11159 # as_fn_arith ARG...
   11160 # ------------------
   11161 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11162 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11163 # must be portable across $(()) and expr.
   11164 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11165   eval 'as_fn_arith ()
   11166   {
   11167     as_val=$(( $* ))
   11168   }'
   11169 else
   11170   as_fn_arith ()
   11171   {
   11172     as_val=`expr "$@" || test $? -eq 1`
   11173   }
   11174 fi # as_fn_arith
   11175 
   11176 
   11177 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11178    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11179   as_expr=expr
   11180 else
   11181   as_expr=false
   11182 fi
   11183 
   11184 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11185   as_basename=basename
   11186 else
   11187   as_basename=false
   11188 fi
   11189 
   11190 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11191   as_dirname=dirname
   11192 else
   11193   as_dirname=false
   11194 fi
   11195 
   11196 as_me=`$as_basename -- "$0" ||
   11197 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11198 	 X"$0" : 'X\(//\)$' \| \
   11199 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11200 $as_echo X/"$0" |
   11201     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11202 	    s//\1/
   11203 	    q
   11204 	  }
   11205 	  /^X\/\(\/\/\)$/{
   11206 	    s//\1/
   11207 	    q
   11208 	  }
   11209 	  /^X\/\(\/\).*/{
   11210 	    s//\1/
   11211 	    q
   11212 	  }
   11213 	  s/.*/./; q'`
   11214 
   11215 # Avoid depending upon Character Ranges.
   11216 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11217 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11218 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11219 as_cr_digits='0123456789'
   11220 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11221 
   11222 ECHO_C= ECHO_N= ECHO_T=
   11223 case `echo -n x` in #(((((
   11224 -n*)
   11225   case `echo 'xy\c'` in
   11226   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11227   xy)  ECHO_C='\c';;
   11228   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11229        ECHO_T='	';;
   11230   esac;;
   11231 *)
   11232   ECHO_N='-n';;
   11233 esac
   11234 
   11235 rm -f conf$$ conf$$.exe conf$$.file
   11236 if test -d conf$$.dir; then
   11237   rm -f conf$$.dir/conf$$.file
   11238 else
   11239   rm -f conf$$.dir
   11240   mkdir conf$$.dir 2>/dev/null
   11241 fi
   11242 if (echo >conf$$.file) 2>/dev/null; then
   11243   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11244     as_ln_s='ln -s'
   11245     # ... but there are two gotchas:
   11246     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11247     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11248     # In both cases, we have to default to `cp -pR'.
   11249     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11250       as_ln_s='cp -pR'
   11251   elif ln conf$$.file conf$$ 2>/dev/null; then
   11252     as_ln_s=ln
   11253   else
   11254     as_ln_s='cp -pR'
   11255   fi
   11256 else
   11257   as_ln_s='cp -pR'
   11258 fi
   11259 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11260 rmdir conf$$.dir 2>/dev/null
   11261 
   11262 
   11263 # as_fn_mkdir_p
   11264 # -------------
   11265 # Create "$as_dir" as a directory, including parents if necessary.
   11266 as_fn_mkdir_p ()
   11267 {
   11268 
   11269   case $as_dir in #(
   11270   -*) as_dir=./$as_dir;;
   11271   esac
   11272   test -d "$as_dir" || eval $as_mkdir_p || {
   11273     as_dirs=
   11274     while :; do
   11275       case $as_dir in #(
   11276       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11277       *) as_qdir=$as_dir;;
   11278       esac
   11279       as_dirs="'$as_qdir' $as_dirs"
   11280       as_dir=`$as_dirname -- "$as_dir" ||
   11281 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11282 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11283 	 X"$as_dir" : 'X\(//\)$' \| \
   11284 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11285 $as_echo X"$as_dir" |
   11286     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11287 	    s//\1/
   11288 	    q
   11289 	  }
   11290 	  /^X\(\/\/\)[^/].*/{
   11291 	    s//\1/
   11292 	    q
   11293 	  }
   11294 	  /^X\(\/\/\)$/{
   11295 	    s//\1/
   11296 	    q
   11297 	  }
   11298 	  /^X\(\/\).*/{
   11299 	    s//\1/
   11300 	    q
   11301 	  }
   11302 	  s/.*/./; q'`
   11303       test -d "$as_dir" && break
   11304     done
   11305     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11306   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11307 
   11308 
   11309 } # as_fn_mkdir_p
   11310 if mkdir -p . 2>/dev/null; then
   11311   as_mkdir_p='mkdir -p "$as_dir"'
   11312 else
   11313   test -d ./-p && rmdir ./-p
   11314   as_mkdir_p=false
   11315 fi
   11316 
   11317 
   11318 # as_fn_executable_p FILE
   11319 # -----------------------
   11320 # Test if FILE is an executable regular file.
   11321 as_fn_executable_p ()
   11322 {
   11323   test -f "$1" && test -x "$1"
   11324 } # as_fn_executable_p
   11325 as_test_x='test -x'
   11326 as_executable_p=as_fn_executable_p
   11327 
   11328 # Sed expression to map a string onto a valid CPP name.
   11329 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11330 
   11331 # Sed expression to map a string onto a valid variable name.
   11332 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11333 
   11334 
   11335 exec 6>&1
   11336 ## ----------------------------------- ##
   11337 ## Main body of $CONFIG_STATUS script. ##
   11338 ## ----------------------------------- ##
   11339 _ASEOF
   11340 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11341 
   11342 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11343 # Save the log message, to keep $0 and so on meaningful, and to
   11344 # report actual input values of CONFIG_FILES etc. instead of their
   11345 # values after options handling.
   11346 ac_log="
   11347 This file was extended by xmore $as_me 1.0.3, which was
   11348 generated by GNU Autoconf 2.69.  Invocation command line was
   11349 
   11350   CONFIG_FILES    = $CONFIG_FILES
   11351   CONFIG_HEADERS  = $CONFIG_HEADERS
   11352   CONFIG_LINKS    = $CONFIG_LINKS
   11353   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11354   $ $0 $@
   11355 
   11356 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11357 "
   11358 
   11359 _ACEOF
   11360 
   11361 case $ac_config_files in *"
   11362 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11363 esac
   11364 
   11365 case $ac_config_headers in *"
   11366 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11367 esac
   11368 
   11369 
   11370 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11371 # Files that config.status was made for.
   11372 config_files="$ac_config_files"
   11373 config_headers="$ac_config_headers"
   11374 config_commands="$ac_config_commands"
   11375 
   11376 _ACEOF
   11377 
   11378 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11379 ac_cs_usage="\
   11380 \`$as_me' instantiates files and other configuration actions
   11381 from templates according to the current configuration.  Unless the files
   11382 and actions are specified as TAGs, all are instantiated by default.
   11383 
   11384 Usage: $0 [OPTION]... [TAG]...
   11385 
   11386   -h, --help       print this help, then exit
   11387   -V, --version    print version number and configuration settings, then exit
   11388       --config     print configuration, then exit
   11389   -q, --quiet, --silent
   11390                    do not print progress messages
   11391   -d, --debug      don't remove temporary files
   11392       --recheck    update $as_me by reconfiguring in the same conditions
   11393       --file=FILE[:TEMPLATE]
   11394                    instantiate the configuration file FILE
   11395       --header=FILE[:TEMPLATE]
   11396                    instantiate the configuration header FILE
   11397 
   11398 Configuration files:
   11399 $config_files
   11400 
   11401 Configuration headers:
   11402 $config_headers
   11403 
   11404 Configuration commands:
   11405 $config_commands
   11406 
   11407 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xmore/issues>."
   11408 
   11409 _ACEOF
   11410 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11411 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11412 ac_cs_version="\\
   11413 xmore config.status 1.0.3
   11414 configured by $0, generated by GNU Autoconf 2.69,
   11415   with options \\"\$ac_cs_config\\"
   11416 
   11417 Copyright (C) 2012 Free Software Foundation, Inc.
   11418 This config.status script is free software; the Free Software Foundation
   11419 gives unlimited permission to copy, distribute and modify it."
   11420 
   11421 ac_pwd='$ac_pwd'
   11422 srcdir='$srcdir'
   11423 INSTALL='$INSTALL'
   11424 MKDIR_P='$MKDIR_P'
   11425 AWK='$AWK'
   11426 test -n "\$AWK" || AWK=awk
   11427 _ACEOF
   11428 
   11429 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11430 # The default lists apply if the user does not specify any file.
   11431 ac_need_defaults=:
   11432 while test $# != 0
   11433 do
   11434   case $1 in
   11435   --*=?*)
   11436     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11437     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11438     ac_shift=:
   11439     ;;
   11440   --*=)
   11441     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11442     ac_optarg=
   11443     ac_shift=:
   11444     ;;
   11445   *)
   11446     ac_option=$1
   11447     ac_optarg=$2
   11448     ac_shift=shift
   11449     ;;
   11450   esac
   11451 
   11452   case $ac_option in
   11453   # Handling of the options.
   11454   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11455     ac_cs_recheck=: ;;
   11456   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11457     $as_echo "$ac_cs_version"; exit ;;
   11458   --config | --confi | --conf | --con | --co | --c )
   11459     $as_echo "$ac_cs_config"; exit ;;
   11460   --debug | --debu | --deb | --de | --d | -d )
   11461     debug=: ;;
   11462   --file | --fil | --fi | --f )
   11463     $ac_shift
   11464     case $ac_optarg in
   11465     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11466     '') as_fn_error $? "missing file argument" ;;
   11467     esac
   11468     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11469     ac_need_defaults=false;;
   11470   --header | --heade | --head | --hea )
   11471     $ac_shift
   11472     case $ac_optarg in
   11473     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11474     esac
   11475     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11476     ac_need_defaults=false;;
   11477   --he | --h)
   11478     # Conflict between --help and --header
   11479     as_fn_error $? "ambiguous option: \`$1'
   11480 Try \`$0 --help' for more information.";;
   11481   --help | --hel | -h )
   11482     $as_echo "$ac_cs_usage"; exit ;;
   11483   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11484   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11485     ac_cs_silent=: ;;
   11486 
   11487   # This is an error.
   11488   -*) as_fn_error $? "unrecognized option: \`$1'
   11489 Try \`$0 --help' for more information." ;;
   11490 
   11491   *) as_fn_append ac_config_targets " $1"
   11492      ac_need_defaults=false ;;
   11493 
   11494   esac
   11495   shift
   11496 done
   11497 
   11498 ac_configure_extra_args=
   11499 
   11500 if $ac_cs_silent; then
   11501   exec 6>/dev/null
   11502   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11503 fi
   11504 
   11505 _ACEOF
   11506 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11507 if \$ac_cs_recheck; then
   11508   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11509   shift
   11510   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11511   CONFIG_SHELL='$SHELL'
   11512   export CONFIG_SHELL
   11513   exec "\$@"
   11514 fi
   11515 
   11516 _ACEOF
   11517 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11518 exec 5>>config.log
   11519 {
   11520   echo
   11521   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11522 ## Running $as_me. ##
   11523 _ASBOX
   11524   $as_echo "$ac_log"
   11525 } >&5
   11526 
   11527 _ACEOF
   11528 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11529 #
   11530 # INIT-COMMANDS
   11531 #
   11532 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11533 
   11534 _ACEOF
   11535 
   11536 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11537 
   11538 # Handling of arguments.
   11539 for ac_config_target in $ac_config_targets
   11540 do
   11541   case $ac_config_target in
   11542     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11543     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11544     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11545     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11546 
   11547   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11548   esac
   11549 done
   11550 
   11551 
   11552 # If the user did not use the arguments to specify the items to instantiate,
   11553 # then the envvar interface is used.  Set only those that are not.
   11554 # We use the long form for the default assignment because of an extremely
   11555 # bizarre bug on SunOS 4.1.3.
   11556 if $ac_need_defaults; then
   11557   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11558   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11559   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11560 fi
   11561 
   11562 # Have a temporary directory for convenience.  Make it in the build tree
   11563 # simply because there is no reason against having it here, and in addition,
   11564 # creating and moving files from /tmp can sometimes cause problems.
   11565 # Hook for its removal unless debugging.
   11566 # Note that there is a small window in which the directory will not be cleaned:
   11567 # after its creation but before its name has been assigned to `$tmp'.
   11568 $debug ||
   11569 {
   11570   tmp= ac_tmp=
   11571   trap 'exit_status=$?
   11572   : "${ac_tmp:=$tmp}"
   11573   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11574 ' 0
   11575   trap 'as_fn_exit 1' 1 2 13 15
   11576 }
   11577 # Create a (secure) tmp directory for tmp files.
   11578 
   11579 {
   11580   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11581   test -d "$tmp"
   11582 }  ||
   11583 {
   11584   tmp=./conf$$-$RANDOM
   11585   (umask 077 && mkdir "$tmp")
   11586 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11587 ac_tmp=$tmp
   11588 
   11589 # Set up the scripts for CONFIG_FILES section.
   11590 # No need to generate them if there are no CONFIG_FILES.
   11591 # This happens for instance with `./config.status config.h'.
   11592 if test -n "$CONFIG_FILES"; then
   11593 
   11594 
   11595 ac_cr=`echo X | tr X '\015'`
   11596 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11597 # But we know of no other shell where ac_cr would be empty at this
   11598 # point, so we can use a bashism as a fallback.
   11599 if test "x$ac_cr" = x; then
   11600   eval ac_cr=\$\'\\r\'
   11601 fi
   11602 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11603 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11604   ac_cs_awk_cr='\\r'
   11605 else
   11606   ac_cs_awk_cr=$ac_cr
   11607 fi
   11608 
   11609 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11610 _ACEOF
   11611 
   11612 
   11613 {
   11614   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11615   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11616   echo "_ACEOF"
   11617 } >conf$$subs.sh ||
   11618   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11619 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11620 ac_delim='%!_!# '
   11621 for ac_last_try in false false false false false :; do
   11622   . ./conf$$subs.sh ||
   11623     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11624 
   11625   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11626   if test $ac_delim_n = $ac_delim_num; then
   11627     break
   11628   elif $ac_last_try; then
   11629     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11630   else
   11631     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11632   fi
   11633 done
   11634 rm -f conf$$subs.sh
   11635 
   11636 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11637 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11638 _ACEOF
   11639 sed -n '
   11640 h
   11641 s/^/S["/; s/!.*/"]=/
   11642 p
   11643 g
   11644 s/^[^!]*!//
   11645 :repl
   11646 t repl
   11647 s/'"$ac_delim"'$//
   11648 t delim
   11649 :nl
   11650 h
   11651 s/\(.\{148\}\)..*/\1/
   11652 t more1
   11653 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11654 p
   11655 n
   11656 b repl
   11657 :more1
   11658 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11659 p
   11660 g
   11661 s/.\{148\}//
   11662 t nl
   11663 :delim
   11664 h
   11665 s/\(.\{148\}\)..*/\1/
   11666 t more2
   11667 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11668 p
   11669 b
   11670 :more2
   11671 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11672 p
   11673 g
   11674 s/.\{148\}//
   11675 t delim
   11676 ' <conf$$subs.awk | sed '
   11677 /^[^""]/{
   11678   N
   11679   s/\n//
   11680 }
   11681 ' >>$CONFIG_STATUS || ac_write_fail=1
   11682 rm -f conf$$subs.awk
   11683 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11684 _ACAWK
   11685 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   11686   for (key in S) S_is_set[key] = 1
   11687   FS = ""
   11688 
   11689 }
   11690 {
   11691   line = $ 0
   11692   nfields = split(line, field, "@")
   11693   substed = 0
   11694   len = length(field[1])
   11695   for (i = 2; i < nfields; i++) {
   11696     key = field[i]
   11697     keylen = length(key)
   11698     if (S_is_set[key]) {
   11699       value = S[key]
   11700       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   11701       len += length(value) + length(field[++i])
   11702       substed = 1
   11703     } else
   11704       len += 1 + keylen
   11705   }
   11706 
   11707   print line
   11708 }
   11709 
   11710 _ACAWK
   11711 _ACEOF
   11712 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11713 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   11714   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   11715 else
   11716   cat
   11717 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   11718   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   11719 _ACEOF
   11720 
   11721 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   11722 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   11723 # trailing colons and then remove the whole line if VPATH becomes empty
   11724 # (actually we leave an empty line to preserve line numbers).
   11725 if test "x$srcdir" = x.; then
   11726   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   11727 h
   11728 s///
   11729 s/^/:/
   11730 s/[	 ]*$/:/
   11731 s/:\$(srcdir):/:/g
   11732 s/:\${srcdir}:/:/g
   11733 s/:@srcdir@:/:/g
   11734 s/^:*//
   11735 s/:*$//
   11736 x
   11737 s/\(=[	 ]*\).*/\1/
   11738 G
   11739 s/\n//
   11740 s/^[^=]*=[	 ]*$//
   11741 }'
   11742 fi
   11743 
   11744 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11745 fi # test -n "$CONFIG_FILES"
   11746 
   11747 # Set up the scripts for CONFIG_HEADERS section.
   11748 # No need to generate them if there are no CONFIG_HEADERS.
   11749 # This happens for instance with `./config.status Makefile'.
   11750 if test -n "$CONFIG_HEADERS"; then
   11751 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   11752 BEGIN {
   11753 _ACEOF
   11754 
   11755 # Transform confdefs.h into an awk script `defines.awk', embedded as
   11756 # here-document in config.status, that substitutes the proper values into
   11757 # config.h.in to produce config.h.
   11758 
   11759 # Create a delimiter string that does not exist in confdefs.h, to ease
   11760 # handling of long lines.
   11761 ac_delim='%!_!# '
   11762 for ac_last_try in false false :; do
   11763   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   11764   if test -z "$ac_tt"; then
   11765     break
   11766   elif $ac_last_try; then
   11767     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   11768   else
   11769     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11770   fi
   11771 done
   11772 
   11773 # For the awk script, D is an array of macro values keyed by name,
   11774 # likewise P contains macro parameters if any.  Preserve backslash
   11775 # newline sequences.
   11776 
   11777 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   11778 sed -n '
   11779 s/.\{148\}/&'"$ac_delim"'/g
   11780 t rset
   11781 :rset
   11782 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   11783 t def
   11784 d
   11785 :def
   11786 s/\\$//
   11787 t bsnl
   11788 s/["\\]/\\&/g
   11789 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11790 D["\1"]=" \3"/p
   11791 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   11792 d
   11793 :bsnl
   11794 s/["\\]/\\&/g
   11795 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11796 D["\1"]=" \3\\\\\\n"\\/p
   11797 t cont
   11798 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   11799 t cont
   11800 d
   11801 :cont
   11802 n
   11803 s/.\{148\}/&'"$ac_delim"'/g
   11804 t clear
   11805 :clear
   11806 s/\\$//
   11807 t bsnlc
   11808 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   11809 d
   11810 :bsnlc
   11811 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   11812 b cont
   11813 ' <confdefs.h | sed '
   11814 s/'"$ac_delim"'/"\\\
   11815 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   11816 
   11817 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11818   for (key in D) D_is_set[key] = 1
   11819   FS = ""
   11820 }
   11821 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   11822   line = \$ 0
   11823   split(line, arg, " ")
   11824   if (arg[1] == "#") {
   11825     defundef = arg[2]
   11826     mac1 = arg[3]
   11827   } else {
   11828     defundef = substr(arg[1], 2)
   11829     mac1 = arg[2]
   11830   }
   11831   split(mac1, mac2, "(") #)
   11832   macro = mac2[1]
   11833   prefix = substr(line, 1, index(line, defundef) - 1)
   11834   if (D_is_set[macro]) {
   11835     # Preserve the white space surrounding the "#".
   11836     print prefix "define", macro P[macro] D[macro]
   11837     next
   11838   } else {
   11839     # Replace #undef with comments.  This is necessary, for example,
   11840     # in the case of _POSIX_SOURCE, which is predefined and required
   11841     # on some systems where configure will not decide to define it.
   11842     if (defundef == "undef") {
   11843       print "/*", prefix defundef, macro, "*/"
   11844       next
   11845     }
   11846   }
   11847 }
   11848 { print }
   11849 _ACAWK
   11850 _ACEOF
   11851 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11852   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   11853 fi # test -n "$CONFIG_HEADERS"
   11854 
   11855 
   11856 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   11857 shift
   11858 for ac_tag
   11859 do
   11860   case $ac_tag in
   11861   :[FHLC]) ac_mode=$ac_tag; continue;;
   11862   esac
   11863   case $ac_mode$ac_tag in
   11864   :[FHL]*:*);;
   11865   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   11866   :[FH]-) ac_tag=-:-;;
   11867   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   11868   esac
   11869   ac_save_IFS=$IFS
   11870   IFS=:
   11871   set x $ac_tag
   11872   IFS=$ac_save_IFS
   11873   shift
   11874   ac_file=$1
   11875   shift
   11876 
   11877   case $ac_mode in
   11878   :L) ac_source=$1;;
   11879   :[FH])
   11880     ac_file_inputs=
   11881     for ac_f
   11882     do
   11883       case $ac_f in
   11884       -) ac_f="$ac_tmp/stdin";;
   11885       *) # Look for the file first in the build tree, then in the source tree
   11886 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   11887 	 # because $ac_f cannot contain `:'.
   11888 	 test -f "$ac_f" ||
   11889 	   case $ac_f in
   11890 	   [\\/$]*) false;;
   11891 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   11892 	   esac ||
   11893 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   11894       esac
   11895       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   11896       as_fn_append ac_file_inputs " '$ac_f'"
   11897     done
   11898 
   11899     # Let's still pretend it is `configure' which instantiates (i.e., don't
   11900     # use $as_me), people would be surprised to read:
   11901     #    /* config.h.  Generated by config.status.  */
   11902     configure_input='Generated from '`
   11903 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   11904 	`' by configure.'
   11905     if test x"$ac_file" != x-; then
   11906       configure_input="$ac_file.  $configure_input"
   11907       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   11908 $as_echo "$as_me: creating $ac_file" >&6;}
   11909     fi
   11910     # Neutralize special characters interpreted by sed in replacement strings.
   11911     case $configure_input in #(
   11912     *\&* | *\|* | *\\* )
   11913        ac_sed_conf_input=`$as_echo "$configure_input" |
   11914        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   11915     *) ac_sed_conf_input=$configure_input;;
   11916     esac
   11917 
   11918     case $ac_tag in
   11919     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   11920       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   11921     esac
   11922     ;;
   11923   esac
   11924 
   11925   ac_dir=`$as_dirname -- "$ac_file" ||
   11926 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11927 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   11928 	 X"$ac_file" : 'X\(//\)$' \| \
   11929 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   11930 $as_echo X"$ac_file" |
   11931     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11932 	    s//\1/
   11933 	    q
   11934 	  }
   11935 	  /^X\(\/\/\)[^/].*/{
   11936 	    s//\1/
   11937 	    q
   11938 	  }
   11939 	  /^X\(\/\/\)$/{
   11940 	    s//\1/
   11941 	    q
   11942 	  }
   11943 	  /^X\(\/\).*/{
   11944 	    s//\1/
   11945 	    q
   11946 	  }
   11947 	  s/.*/./; q'`
   11948   as_dir="$ac_dir"; as_fn_mkdir_p
   11949   ac_builddir=.
   11950 
   11951 case "$ac_dir" in
   11952 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11953 *)
   11954   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   11955   # A ".." for each directory in $ac_dir_suffix.
   11956   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   11957   case $ac_top_builddir_sub in
   11958   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11959   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   11960   esac ;;
   11961 esac
   11962 ac_abs_top_builddir=$ac_pwd
   11963 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   11964 # for backward compatibility:
   11965 ac_top_builddir=$ac_top_build_prefix
   11966 
   11967 case $srcdir in
   11968   .)  # We are building in place.
   11969     ac_srcdir=.
   11970     ac_top_srcdir=$ac_top_builddir_sub
   11971     ac_abs_top_srcdir=$ac_pwd ;;
   11972   [\\/]* | ?:[\\/]* )  # Absolute name.
   11973     ac_srcdir=$srcdir$ac_dir_suffix;
   11974     ac_top_srcdir=$srcdir
   11975     ac_abs_top_srcdir=$srcdir ;;
   11976   *) # Relative name.
   11977     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   11978     ac_top_srcdir=$ac_top_build_prefix$srcdir
   11979     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   11980 esac
   11981 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   11982 
   11983 
   11984   case $ac_mode in
   11985   :F)
   11986   #
   11987   # CONFIG_FILE
   11988   #
   11989 
   11990   case $INSTALL in
   11991   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   11992   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   11993   esac
   11994   ac_MKDIR_P=$MKDIR_P
   11995   case $MKDIR_P in
   11996   [\\/$]* | ?:[\\/]* ) ;;
   11997   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   11998   esac
   11999 _ACEOF
   12000 
   12001 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12002 # If the template does not know about datarootdir, expand it.
   12003 # FIXME: This hack should be removed a few years after 2.60.
   12004 ac_datarootdir_hack=; ac_datarootdir_seen=
   12005 ac_sed_dataroot='
   12006 /datarootdir/ {
   12007   p
   12008   q
   12009 }
   12010 /@datadir@/p
   12011 /@docdir@/p
   12012 /@infodir@/p
   12013 /@localedir@/p
   12014 /@mandir@/p'
   12015 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12016 *datarootdir*) ac_datarootdir_seen=yes;;
   12017 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12018   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12019 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12020 _ACEOF
   12021 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12022   ac_datarootdir_hack='
   12023   s&@datadir@&$datadir&g
   12024   s&@docdir@&$docdir&g
   12025   s&@infodir@&$infodir&g
   12026   s&@localedir@&$localedir&g
   12027   s&@mandir@&$mandir&g
   12028   s&\\\${datarootdir}&$datarootdir&g' ;;
   12029 esac
   12030 _ACEOF
   12031 
   12032 # Neutralize VPATH when `$srcdir' = `.'.
   12033 # Shell code in configure.ac might set extrasub.
   12034 # FIXME: do we really want to maintain this feature?
   12035 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12036 ac_sed_extra="$ac_vpsub
   12037 $extrasub
   12038 _ACEOF
   12039 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12040 :t
   12041 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12042 s|@configure_input@|$ac_sed_conf_input|;t t
   12043 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12044 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12045 s&@srcdir@&$ac_srcdir&;t t
   12046 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12047 s&@top_srcdir@&$ac_top_srcdir&;t t
   12048 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12049 s&@builddir@&$ac_builddir&;t t
   12050 s&@abs_builddir@&$ac_abs_builddir&;t t
   12051 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12052 s&@INSTALL@&$ac_INSTALL&;t t
   12053 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12054 $ac_datarootdir_hack
   12055 "
   12056 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12057   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12058 
   12059 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12060   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12061   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12062       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12063   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12064 which seems to be undefined.  Please make sure it is defined" >&5
   12065 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12066 which seems to be undefined.  Please make sure it is defined" >&2;}
   12067 
   12068   rm -f "$ac_tmp/stdin"
   12069   case $ac_file in
   12070   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12071   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12072   esac \
   12073   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12074  ;;
   12075   :H)
   12076   #
   12077   # CONFIG_HEADER
   12078   #
   12079   if test x"$ac_file" != x-; then
   12080     {
   12081       $as_echo "/* $configure_input  */" \
   12082       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12083     } >"$ac_tmp/config.h" \
   12084       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12085     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12086       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12087 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12088     else
   12089       rm -f "$ac_file"
   12090       mv "$ac_tmp/config.h" "$ac_file" \
   12091 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12092     fi
   12093   else
   12094     $as_echo "/* $configure_input  */" \
   12095       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12096       || as_fn_error $? "could not create -" "$LINENO" 5
   12097   fi
   12098 # Compute "$ac_file"'s index in $config_headers.
   12099 _am_arg="$ac_file"
   12100 _am_stamp_count=1
   12101 for _am_header in $config_headers :; do
   12102   case $_am_header in
   12103     $_am_arg | $_am_arg:* )
   12104       break ;;
   12105     * )
   12106       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12107   esac
   12108 done
   12109 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12110 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12111 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12112 	 X"$_am_arg" : 'X\(//\)$' \| \
   12113 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12114 $as_echo X"$_am_arg" |
   12115     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12116 	    s//\1/
   12117 	    q
   12118 	  }
   12119 	  /^X\(\/\/\)[^/].*/{
   12120 	    s//\1/
   12121 	    q
   12122 	  }
   12123 	  /^X\(\/\/\)$/{
   12124 	    s//\1/
   12125 	    q
   12126 	  }
   12127 	  /^X\(\/\).*/{
   12128 	    s//\1/
   12129 	    q
   12130 	  }
   12131 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12132  ;;
   12133 
   12134   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12135 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12136  ;;
   12137   esac
   12138 
   12139 
   12140   case $ac_file$ac_mode in
   12141     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12142   # Older Autoconf quotes --file arguments for eval, but not when files
   12143   # are listed without --file.  Let's play safe and only enable the eval
   12144   # if we detect the quoting.
   12145   case $CONFIG_FILES in
   12146   *\'*) eval set x "$CONFIG_FILES" ;;
   12147   *)   set x $CONFIG_FILES ;;
   12148   esac
   12149   shift
   12150   for mf
   12151   do
   12152     # Strip MF so we end up with the name of the file.
   12153     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12154     # Check whether this is an Automake generated Makefile or not.
   12155     # We used to match only the files named 'Makefile.in', but
   12156     # some people rename them; so instead we look at the file content.
   12157     # Grep'ing the first line is not enough: some people post-process
   12158     # each Makefile.in and add a new line on top of each file to say so.
   12159     # Grep'ing the whole file is not good either: AIX grep has a line
   12160     # limit of 2048, but all sed's we know have understand at least 4000.
   12161     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12162       dirpart=`$as_dirname -- "$mf" ||
   12163 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12164 	 X"$mf" : 'X\(//\)[^/]' \| \
   12165 	 X"$mf" : 'X\(//\)$' \| \
   12166 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12167 $as_echo X"$mf" |
   12168     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12169 	    s//\1/
   12170 	    q
   12171 	  }
   12172 	  /^X\(\/\/\)[^/].*/{
   12173 	    s//\1/
   12174 	    q
   12175 	  }
   12176 	  /^X\(\/\/\)$/{
   12177 	    s//\1/
   12178 	    q
   12179 	  }
   12180 	  /^X\(\/\).*/{
   12181 	    s//\1/
   12182 	    q
   12183 	  }
   12184 	  s/.*/./; q'`
   12185     else
   12186       continue
   12187     fi
   12188     # Extract the definition of DEPDIR, am__include, and am__quote
   12189     # from the Makefile without running 'make'.
   12190     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12191     test -z "$DEPDIR" && continue
   12192     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12193     test -z "$am__include" && continue
   12194     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12195     # Find all dependency output files, they are included files with
   12196     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12197     # simplest approach to changing $(DEPDIR) to its actual value in the
   12198     # expansion.
   12199     for file in `sed -n "
   12200       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12201 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   12202       # Make sure the directory exists.
   12203       test -f "$dirpart/$file" && continue
   12204       fdir=`$as_dirname -- "$file" ||
   12205 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12206 	 X"$file" : 'X\(//\)[^/]' \| \
   12207 	 X"$file" : 'X\(//\)$' \| \
   12208 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12209 $as_echo X"$file" |
   12210     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12211 	    s//\1/
   12212 	    q
   12213 	  }
   12214 	  /^X\(\/\/\)[^/].*/{
   12215 	    s//\1/
   12216 	    q
   12217 	  }
   12218 	  /^X\(\/\/\)$/{
   12219 	    s//\1/
   12220 	    q
   12221 	  }
   12222 	  /^X\(\/\).*/{
   12223 	    s//\1/
   12224 	    q
   12225 	  }
   12226 	  s/.*/./; q'`
   12227       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12228       # echo "creating $dirpart/$file"
   12229       echo '# dummy' > "$dirpart/$file"
   12230     done
   12231   done
   12232 }
   12233  ;;
   12234 
   12235   esac
   12236 done # for ac_tag
   12237 
   12238 
   12239 as_fn_exit 0
   12240 _ACEOF
   12241 ac_clean_files=$ac_clean_files_save
   12242 
   12243 test $ac_write_fail = 0 ||
   12244   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12245 
   12246 
   12247 # configure is writing to config.log, and then calls config.status.
   12248 # config.status does its own redirection, appending to config.log.
   12249 # Unfortunately, on DOS this fails, as config.log is still kept open
   12250 # by configure, so config.status won't be able to write to it; its
   12251 # output is simply discarded.  So we exec the FD to /dev/null,
   12252 # effectively closing config.log, so it can be properly (re)opened and
   12253 # appended to by config.status.  When coming back to configure, we
   12254 # need to make the FD available again.
   12255 if test "$no_create" != yes; then
   12256   ac_cs_success=:
   12257   ac_config_status_args=
   12258   test "$silent" = yes &&
   12259     ac_config_status_args="$ac_config_status_args --quiet"
   12260   exec 5>/dev/null
   12261   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12262   exec 5>>config.log
   12263   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12264   # would make configure fail if this is the last instruction.
   12265   $ac_cs_success || as_fn_exit 1
   12266 fi
   12267 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12268   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12269 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12270 fi
   12271 
   12272