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 xditview 1.0.4.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     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://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    271 $0: about your system, including any error possibly output
    272 $0: before this message. Then install a modern shell, or
    273 $0: manually run the script under such a shell if you do
    274 $0: have one."
    275   fi
    276   exit 1
    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='xditview'
    583 PACKAGE_TARNAME='xditview'
    584 PACKAGE_VERSION='1.0.4'
    585 PACKAGE_STRING='xditview 1.0.4'
    586 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    587 PACKAGE_URL=''
    588 
    589 ac_unique_file="Makefile.am"
    590 # Factoring default headers for most tests.
    591 ac_includes_default="\
    592 #include <stdio.h>
    593 #ifdef HAVE_SYS_TYPES_H
    594 # include <sys/types.h>
    595 #endif
    596 #ifdef HAVE_SYS_STAT_H
    597 # include <sys/stat.h>
    598 #endif
    599 #ifdef STDC_HEADERS
    600 # include <stdlib.h>
    601 # include <stddef.h>
    602 #else
    603 # ifdef HAVE_STDLIB_H
    604 #  include <stdlib.h>
    605 # endif
    606 #endif
    607 #ifdef HAVE_STRING_H
    608 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    609 #  include <memory.h>
    610 # endif
    611 # include <string.h>
    612 #endif
    613 #ifdef HAVE_STRINGS_H
    614 # include <strings.h>
    615 #endif
    616 #ifdef HAVE_INTTYPES_H
    617 # include <inttypes.h>
    618 #endif
    619 #ifdef HAVE_STDINT_H
    620 # include <stdint.h>
    621 #endif
    622 #ifdef HAVE_UNISTD_H
    623 # include <unistd.h>
    624 #endif"
    625 
    626 ac_subst_vars='am__EXEEXT_FALSE
    627 am__EXEEXT_TRUE
    628 LTLIBOBJS
    629 LIBOBJS
    630 appdefaultdir
    631 APPDEFS_LIBS
    632 APPDEFS_CFLAGS
    633 XDITVIEW_LIBS
    634 XDITVIEW_CFLAGS
    635 MAN_SUBSTS
    636 XORG_MAN_PAGE
    637 ADMIN_MAN_DIR
    638 DRIVER_MAN_DIR
    639 MISC_MAN_DIR
    640 FILE_MAN_DIR
    641 LIB_MAN_DIR
    642 APP_MAN_DIR
    643 ADMIN_MAN_SUFFIX
    644 DRIVER_MAN_SUFFIX
    645 MISC_MAN_SUFFIX
    646 FILE_MAN_SUFFIX
    647 LIB_MAN_SUFFIX
    648 APP_MAN_SUFFIX
    649 SED
    650 host_os
    651 host_vendor
    652 host_cpu
    653 host
    654 build_os
    655 build_vendor
    656 build_cpu
    657 build
    658 INSTALL_CMD
    659 PKG_CONFIG
    660 CHANGELOG_CMD
    661 STRICT_CFLAGS
    662 CWARNFLAGS
    663 BASE_CFLAGS
    664 EGREP
    665 GREP
    666 CPP
    667 am__fastdepCC_FALSE
    668 am__fastdepCC_TRUE
    669 CCDEPMODE
    670 am__nodep
    671 AMDEPBACKSLASH
    672 AMDEP_FALSE
    673 AMDEP_TRUE
    674 am__quote
    675 am__include
    676 DEPDIR
    677 OBJEXT
    678 EXEEXT
    679 ac_ct_CC
    680 CPPFLAGS
    681 LDFLAGS
    682 CFLAGS
    683 CC
    684 AM_BACKSLASH
    685 AM_DEFAULT_VERBOSITY
    686 AM_DEFAULT_V
    687 AM_V
    688 am__untar
    689 am__tar
    690 AMTAR
    691 am__leading_dot
    692 SET_MAKE
    693 AWK
    694 mkdir_p
    695 MKDIR_P
    696 INSTALL_STRIP_PROGRAM
    697 STRIP
    698 install_sh
    699 MAKEINFO
    700 AUTOHEADER
    701 AUTOMAKE
    702 AUTOCONF
    703 ACLOCAL
    704 VERSION
    705 PACKAGE
    706 CYGPATH_W
    707 am__isrc
    708 INSTALL_DATA
    709 INSTALL_SCRIPT
    710 INSTALL_PROGRAM
    711 target_alias
    712 host_alias
    713 build_alias
    714 LIBS
    715 ECHO_T
    716 ECHO_N
    717 ECHO_C
    718 DEFS
    719 mandir
    720 localedir
    721 libdir
    722 psdir
    723 pdfdir
    724 dvidir
    725 htmldir
    726 infodir
    727 docdir
    728 oldincludedir
    729 includedir
    730 localstatedir
    731 sharedstatedir
    732 sysconfdir
    733 datadir
    734 datarootdir
    735 libexecdir
    736 sbindir
    737 bindir
    738 program_transform_name
    739 prefix
    740 exec_prefix
    741 PACKAGE_URL
    742 PACKAGE_BUGREPORT
    743 PACKAGE_STRING
    744 PACKAGE_VERSION
    745 PACKAGE_TARNAME
    746 PACKAGE_NAME
    747 PATH_SEPARATOR
    748 SHELL'
    749 ac_subst_files=''
    750 ac_user_opts='
    751 enable_option_checking
    752 enable_silent_rules
    753 enable_dependency_tracking
    754 enable_selective_werror
    755 enable_strict_compilation
    756 with_appdefaultdir
    757 '
    758       ac_precious_vars='build_alias
    759 host_alias
    760 target_alias
    761 CC
    762 CFLAGS
    763 LDFLAGS
    764 LIBS
    765 CPPFLAGS
    766 CPP
    767 PKG_CONFIG
    768 XDITVIEW_CFLAGS
    769 XDITVIEW_LIBS
    770 APPDEFS_CFLAGS
    771 APPDEFS_LIBS'
    772 
    773 
    774 # Initialize some variables set by options.
    775 ac_init_help=
    776 ac_init_version=false
    777 ac_unrecognized_opts=
    778 ac_unrecognized_sep=
    779 # The variables have the same names as the options, with
    780 # dashes changed to underlines.
    781 cache_file=/dev/null
    782 exec_prefix=NONE
    783 no_create=
    784 no_recursion=
    785 prefix=NONE
    786 program_prefix=NONE
    787 program_suffix=NONE
    788 program_transform_name=s,x,x,
    789 silent=
    790 site=
    791 srcdir=
    792 verbose=
    793 x_includes=NONE
    794 x_libraries=NONE
    795 
    796 # Installation directory options.
    797 # These are left unexpanded so users can "make install exec_prefix=/foo"
    798 # and all the variables that are supposed to be based on exec_prefix
    799 # by default will actually change.
    800 # Use braces instead of parens because sh, perl, etc. also accept them.
    801 # (The list follows the same order as the GNU Coding Standards.)
    802 bindir='${exec_prefix}/bin'
    803 sbindir='${exec_prefix}/sbin'
    804 libexecdir='${exec_prefix}/libexec'
    805 datarootdir='${prefix}/share'
    806 datadir='${datarootdir}'
    807 sysconfdir='${prefix}/etc'
    808 sharedstatedir='${prefix}/com'
    809 localstatedir='${prefix}/var'
    810 includedir='${prefix}/include'
    811 oldincludedir='/usr/include'
    812 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    813 infodir='${datarootdir}/info'
    814 htmldir='${docdir}'
    815 dvidir='${docdir}'
    816 pdfdir='${docdir}'
    817 psdir='${docdir}'
    818 libdir='${exec_prefix}/lib'
    819 localedir='${datarootdir}/locale'
    820 mandir='${datarootdir}/man'
    821 
    822 ac_prev=
    823 ac_dashdash=
    824 for ac_option
    825 do
    826   # If the previous option needs an argument, assign it.
    827   if test -n "$ac_prev"; then
    828     eval $ac_prev=\$ac_option
    829     ac_prev=
    830     continue
    831   fi
    832 
    833   case $ac_option in
    834   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    835   *=)   ac_optarg= ;;
    836   *)    ac_optarg=yes ;;
    837   esac
    838 
    839   # Accept the important Cygnus configure options, so we can diagnose typos.
    840 
    841   case $ac_dashdash$ac_option in
    842   --)
    843     ac_dashdash=yes ;;
    844 
    845   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    846     ac_prev=bindir ;;
    847   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    848     bindir=$ac_optarg ;;
    849 
    850   -build | --build | --buil | --bui | --bu)
    851     ac_prev=build_alias ;;
    852   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    853     build_alias=$ac_optarg ;;
    854 
    855   -cache-file | --cache-file | --cache-fil | --cache-fi \
    856   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    857     ac_prev=cache_file ;;
    858   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    859   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    860     cache_file=$ac_optarg ;;
    861 
    862   --config-cache | -C)
    863     cache_file=config.cache ;;
    864 
    865   -datadir | --datadir | --datadi | --datad)
    866     ac_prev=datadir ;;
    867   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    868     datadir=$ac_optarg ;;
    869 
    870   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    871   | --dataroo | --dataro | --datar)
    872     ac_prev=datarootdir ;;
    873   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    874   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    875     datarootdir=$ac_optarg ;;
    876 
    877   -disable-* | --disable-*)
    878     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    879     # Reject names that are not valid shell variable names.
    880     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    881       as_fn_error $? "invalid feature name: $ac_useropt"
    882     ac_useropt_orig=$ac_useropt
    883     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    884     case $ac_user_opts in
    885       *"
    886 "enable_$ac_useropt"
    887 "*) ;;
    888       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    889 	 ac_unrecognized_sep=', ';;
    890     esac
    891     eval enable_$ac_useropt=no ;;
    892 
    893   -docdir | --docdir | --docdi | --doc | --do)
    894     ac_prev=docdir ;;
    895   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    896     docdir=$ac_optarg ;;
    897 
    898   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    899     ac_prev=dvidir ;;
    900   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    901     dvidir=$ac_optarg ;;
    902 
    903   -enable-* | --enable-*)
    904     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    905     # Reject names that are not valid shell variable names.
    906     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    907       as_fn_error $? "invalid feature name: $ac_useropt"
    908     ac_useropt_orig=$ac_useropt
    909     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    910     case $ac_user_opts in
    911       *"
    912 "enable_$ac_useropt"
    913 "*) ;;
    914       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    915 	 ac_unrecognized_sep=', ';;
    916     esac
    917     eval enable_$ac_useropt=\$ac_optarg ;;
    918 
    919   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    920   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    921   | --exec | --exe | --ex)
    922     ac_prev=exec_prefix ;;
    923   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    924   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    925   | --exec=* | --exe=* | --ex=*)
    926     exec_prefix=$ac_optarg ;;
    927 
    928   -gas | --gas | --ga | --g)
    929     # Obsolete; use --with-gas.
    930     with_gas=yes ;;
    931 
    932   -help | --help | --hel | --he | -h)
    933     ac_init_help=long ;;
    934   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    935     ac_init_help=recursive ;;
    936   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    937     ac_init_help=short ;;
    938 
    939   -host | --host | --hos | --ho)
    940     ac_prev=host_alias ;;
    941   -host=* | --host=* | --hos=* | --ho=*)
    942     host_alias=$ac_optarg ;;
    943 
    944   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    945     ac_prev=htmldir ;;
    946   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    947   | --ht=*)
    948     htmldir=$ac_optarg ;;
    949 
    950   -includedir | --includedir | --includedi | --included | --include \
    951   | --includ | --inclu | --incl | --inc)
    952     ac_prev=includedir ;;
    953   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    954   | --includ=* | --inclu=* | --incl=* | --inc=*)
    955     includedir=$ac_optarg ;;
    956 
    957   -infodir | --infodir | --infodi | --infod | --info | --inf)
    958     ac_prev=infodir ;;
    959   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    960     infodir=$ac_optarg ;;
    961 
    962   -libdir | --libdir | --libdi | --libd)
    963     ac_prev=libdir ;;
    964   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    965     libdir=$ac_optarg ;;
    966 
    967   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    968   | --libexe | --libex | --libe)
    969     ac_prev=libexecdir ;;
    970   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    971   | --libexe=* | --libex=* | --libe=*)
    972     libexecdir=$ac_optarg ;;
    973 
    974   -localedir | --localedir | --localedi | --localed | --locale)
    975     ac_prev=localedir ;;
    976   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    977     localedir=$ac_optarg ;;
    978 
    979   -localstatedir | --localstatedir | --localstatedi | --localstated \
    980   | --localstate | --localstat | --localsta | --localst | --locals)
    981     ac_prev=localstatedir ;;
    982   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    983   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    984     localstatedir=$ac_optarg ;;
    985 
    986   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    987     ac_prev=mandir ;;
    988   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    989     mandir=$ac_optarg ;;
    990 
    991   -nfp | --nfp | --nf)
    992     # Obsolete; use --without-fp.
    993     with_fp=no ;;
    994 
    995   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    996   | --no-cr | --no-c | -n)
    997     no_create=yes ;;
    998 
    999   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1000   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1001     no_recursion=yes ;;
   1002 
   1003   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1004   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1005   | --oldin | --oldi | --old | --ol | --o)
   1006     ac_prev=oldincludedir ;;
   1007   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1008   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1009   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1010     oldincludedir=$ac_optarg ;;
   1011 
   1012   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1013     ac_prev=prefix ;;
   1014   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1015     prefix=$ac_optarg ;;
   1016 
   1017   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1018   | --program-pre | --program-pr | --program-p)
   1019     ac_prev=program_prefix ;;
   1020   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1021   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1022     program_prefix=$ac_optarg ;;
   1023 
   1024   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1025   | --program-suf | --program-su | --program-s)
   1026     ac_prev=program_suffix ;;
   1027   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1028   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1029     program_suffix=$ac_optarg ;;
   1030 
   1031   -program-transform-name | --program-transform-name \
   1032   | --program-transform-nam | --program-transform-na \
   1033   | --program-transform-n | --program-transform- \
   1034   | --program-transform | --program-transfor \
   1035   | --program-transfo | --program-transf \
   1036   | --program-trans | --program-tran \
   1037   | --progr-tra | --program-tr | --program-t)
   1038     ac_prev=program_transform_name ;;
   1039   -program-transform-name=* | --program-transform-name=* \
   1040   | --program-transform-nam=* | --program-transform-na=* \
   1041   | --program-transform-n=* | --program-transform-=* \
   1042   | --program-transform=* | --program-transfor=* \
   1043   | --program-transfo=* | --program-transf=* \
   1044   | --program-trans=* | --program-tran=* \
   1045   | --progr-tra=* | --program-tr=* | --program-t=*)
   1046     program_transform_name=$ac_optarg ;;
   1047 
   1048   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1049     ac_prev=pdfdir ;;
   1050   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1051     pdfdir=$ac_optarg ;;
   1052 
   1053   -psdir | --psdir | --psdi | --psd | --ps)
   1054     ac_prev=psdir ;;
   1055   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1056     psdir=$ac_optarg ;;
   1057 
   1058   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1059   | -silent | --silent | --silen | --sile | --sil)
   1060     silent=yes ;;
   1061 
   1062   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1063     ac_prev=sbindir ;;
   1064   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1065   | --sbi=* | --sb=*)
   1066     sbindir=$ac_optarg ;;
   1067 
   1068   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1069   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1070   | --sharedst | --shareds | --shared | --share | --shar \
   1071   | --sha | --sh)
   1072     ac_prev=sharedstatedir ;;
   1073   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1074   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1075   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1076   | --sha=* | --sh=*)
   1077     sharedstatedir=$ac_optarg ;;
   1078 
   1079   -site | --site | --sit)
   1080     ac_prev=site ;;
   1081   -site=* | --site=* | --sit=*)
   1082     site=$ac_optarg ;;
   1083 
   1084   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1085     ac_prev=srcdir ;;
   1086   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1087     srcdir=$ac_optarg ;;
   1088 
   1089   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1090   | --syscon | --sysco | --sysc | --sys | --sy)
   1091     ac_prev=sysconfdir ;;
   1092   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1093   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1094     sysconfdir=$ac_optarg ;;
   1095 
   1096   -target | --target | --targe | --targ | --tar | --ta | --t)
   1097     ac_prev=target_alias ;;
   1098   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1099     target_alias=$ac_optarg ;;
   1100 
   1101   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1102     verbose=yes ;;
   1103 
   1104   -version | --version | --versio | --versi | --vers | -V)
   1105     ac_init_version=: ;;
   1106 
   1107   -with-* | --with-*)
   1108     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1109     # Reject names that are not valid shell variable names.
   1110     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1111       as_fn_error $? "invalid package name: $ac_useropt"
   1112     ac_useropt_orig=$ac_useropt
   1113     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1114     case $ac_user_opts in
   1115       *"
   1116 "with_$ac_useropt"
   1117 "*) ;;
   1118       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1119 	 ac_unrecognized_sep=', ';;
   1120     esac
   1121     eval with_$ac_useropt=\$ac_optarg ;;
   1122 
   1123   -without-* | --without-*)
   1124     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1125     # Reject names that are not valid shell variable names.
   1126     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1127       as_fn_error $? "invalid package name: $ac_useropt"
   1128     ac_useropt_orig=$ac_useropt
   1129     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1130     case $ac_user_opts in
   1131       *"
   1132 "with_$ac_useropt"
   1133 "*) ;;
   1134       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1135 	 ac_unrecognized_sep=', ';;
   1136     esac
   1137     eval with_$ac_useropt=no ;;
   1138 
   1139   --x)
   1140     # Obsolete; use --with-x.
   1141     with_x=yes ;;
   1142 
   1143   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1144   | --x-incl | --x-inc | --x-in | --x-i)
   1145     ac_prev=x_includes ;;
   1146   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1147   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1148     x_includes=$ac_optarg ;;
   1149 
   1150   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1151   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1152     ac_prev=x_libraries ;;
   1153   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1154   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1155     x_libraries=$ac_optarg ;;
   1156 
   1157   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1158 Try \`$0 --help' for more information"
   1159     ;;
   1160 
   1161   *=*)
   1162     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1163     # Reject names that are not valid shell variable names.
   1164     case $ac_envvar in #(
   1165       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1166       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1167     esac
   1168     eval $ac_envvar=\$ac_optarg
   1169     export $ac_envvar ;;
   1170 
   1171   *)
   1172     # FIXME: should be removed in autoconf 3.0.
   1173     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1174     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1175       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1176     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1177     ;;
   1178 
   1179   esac
   1180 done
   1181 
   1182 if test -n "$ac_prev"; then
   1183   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1184   as_fn_error $? "missing argument to $ac_option"
   1185 fi
   1186 
   1187 if test -n "$ac_unrecognized_opts"; then
   1188   case $enable_option_checking in
   1189     no) ;;
   1190     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1191     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1192   esac
   1193 fi
   1194 
   1195 # Check all directory arguments for consistency.
   1196 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1197 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1198 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1199 		libdir localedir mandir
   1200 do
   1201   eval ac_val=\$$ac_var
   1202   # Remove trailing slashes.
   1203   case $ac_val in
   1204     */ )
   1205       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1206       eval $ac_var=\$ac_val;;
   1207   esac
   1208   # Be sure to have absolute directory names.
   1209   case $ac_val in
   1210     [\\/$]* | ?:[\\/]* )  continue;;
   1211     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1212   esac
   1213   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1214 done
   1215 
   1216 # There might be people who depend on the old broken behavior: `$host'
   1217 # used to hold the argument of --host etc.
   1218 # FIXME: To remove some day.
   1219 build=$build_alias
   1220 host=$host_alias
   1221 target=$target_alias
   1222 
   1223 # FIXME: To remove some day.
   1224 if test "x$host_alias" != x; then
   1225   if test "x$build_alias" = x; then
   1226     cross_compiling=maybe
   1227   elif test "x$build_alias" != "x$host_alias"; then
   1228     cross_compiling=yes
   1229   fi
   1230 fi
   1231 
   1232 ac_tool_prefix=
   1233 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1234 
   1235 test "$silent" = yes && exec 6>/dev/null
   1236 
   1237 
   1238 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1239 ac_ls_di=`ls -di .` &&
   1240 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1241   as_fn_error $? "working directory cannot be determined"
   1242 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1243   as_fn_error $? "pwd does not report name of working directory"
   1244 
   1245 
   1246 # Find the source files, if location was not specified.
   1247 if test -z "$srcdir"; then
   1248   ac_srcdir_defaulted=yes
   1249   # Try the directory containing this script, then the parent directory.
   1250   ac_confdir=`$as_dirname -- "$as_myself" ||
   1251 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1252 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1253 	 X"$as_myself" : 'X\(//\)$' \| \
   1254 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1255 $as_echo X"$as_myself" |
   1256     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1257 	    s//\1/
   1258 	    q
   1259 	  }
   1260 	  /^X\(\/\/\)[^/].*/{
   1261 	    s//\1/
   1262 	    q
   1263 	  }
   1264 	  /^X\(\/\/\)$/{
   1265 	    s//\1/
   1266 	    q
   1267 	  }
   1268 	  /^X\(\/\).*/{
   1269 	    s//\1/
   1270 	    q
   1271 	  }
   1272 	  s/.*/./; q'`
   1273   srcdir=$ac_confdir
   1274   if test ! -r "$srcdir/$ac_unique_file"; then
   1275     srcdir=..
   1276   fi
   1277 else
   1278   ac_srcdir_defaulted=no
   1279 fi
   1280 if test ! -r "$srcdir/$ac_unique_file"; then
   1281   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1282   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1283 fi
   1284 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1285 ac_abs_confdir=`(
   1286 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1287 	pwd)`
   1288 # When building in place, set srcdir=.
   1289 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1290   srcdir=.
   1291 fi
   1292 # Remove unnecessary trailing slashes from srcdir.
   1293 # Double slashes in file names in object file debugging info
   1294 # mess up M-x gdb in Emacs.
   1295 case $srcdir in
   1296 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1297 esac
   1298 for ac_var in $ac_precious_vars; do
   1299   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1300   eval ac_env_${ac_var}_value=\$${ac_var}
   1301   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1302   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1303 done
   1304 
   1305 #
   1306 # Report the --help message.
   1307 #
   1308 if test "$ac_init_help" = "long"; then
   1309   # Omit some internal or obsolete options to make the list less imposing.
   1310   # This message is too long to be a string in the A/UX 3.1 sh.
   1311   cat <<_ACEOF
   1312 \`configure' configures xditview 1.0.4 to adapt to many kinds of systems.
   1313 
   1314 Usage: $0 [OPTION]... [VAR=VALUE]...
   1315 
   1316 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1317 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1318 
   1319 Defaults for the options are specified in brackets.
   1320 
   1321 Configuration:
   1322   -h, --help              display this help and exit
   1323       --help=short        display options specific to this package
   1324       --help=recursive    display the short help of all the included packages
   1325   -V, --version           display version information and exit
   1326   -q, --quiet, --silent   do not print \`checking ...' messages
   1327       --cache-file=FILE   cache test results in FILE [disabled]
   1328   -C, --config-cache      alias for \`--cache-file=config.cache'
   1329   -n, --no-create         do not create output files
   1330       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1331 
   1332 Installation directories:
   1333   --prefix=PREFIX         install architecture-independent files in PREFIX
   1334                           [$ac_default_prefix]
   1335   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1336                           [PREFIX]
   1337 
   1338 By default, \`make install' will install all the files in
   1339 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1340 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1341 for instance \`--prefix=\$HOME'.
   1342 
   1343 For better control, use the options below.
   1344 
   1345 Fine tuning of the installation directories:
   1346   --bindir=DIR            user executables [EPREFIX/bin]
   1347   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1348   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1349   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1350   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1351   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1352   --libdir=DIR            object code libraries [EPREFIX/lib]
   1353   --includedir=DIR        C header files [PREFIX/include]
   1354   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1355   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1356   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1357   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1358   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1359   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1360   --docdir=DIR            documentation root [DATAROOTDIR/doc/xditview]
   1361   --htmldir=DIR           html documentation [DOCDIR]
   1362   --dvidir=DIR            dvi documentation [DOCDIR]
   1363   --pdfdir=DIR            pdf documentation [DOCDIR]
   1364   --psdir=DIR             ps documentation [DOCDIR]
   1365 _ACEOF
   1366 
   1367   cat <<\_ACEOF
   1368 
   1369 Program names:
   1370   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1371   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1372   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1373 
   1374 System types:
   1375   --build=BUILD     configure for building on BUILD [guessed]
   1376   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1377 _ACEOF
   1378 fi
   1379 
   1380 if test -n "$ac_init_help"; then
   1381   case $ac_init_help in
   1382      short | recursive ) echo "Configuration of xditview 1.0.4:";;
   1383    esac
   1384   cat <<\_ACEOF
   1385 
   1386 Optional Features:
   1387   --disable-option-checking  ignore unrecognized --enable/--with options
   1388   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1389   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1390   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1391   --disable-silent-rules  verbose build output (undo: "make V=0")
   1392   --enable-dependency-tracking
   1393                           do not reject slow dependency extractors
   1394   --disable-dependency-tracking
   1395                           speeds up one-time build
   1396   --disable-selective-werror
   1397                           Turn off selective compiler errors. (default:
   1398                           enabled)
   1399   --enable-strict-compilation
   1400                           Enable all warnings from compiler and make them
   1401                           errors (default: disabled)
   1402 
   1403 Optional Packages:
   1404   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1405   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1406   --with-appdefaultdir=<pathname>
   1407                           specify directory for app-defaults files (default is
   1408                           autodetected)
   1409 
   1410 Some influential environment variables:
   1411   CC          C compiler command
   1412   CFLAGS      C compiler flags
   1413   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1414               nonstandard directory <lib dir>
   1415   LIBS        libraries to pass to the linker, e.g. -l<library>
   1416   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1417               you have headers in a nonstandard directory <include dir>
   1418   CPP         C preprocessor
   1419   PKG_CONFIG  path to pkg-config utility
   1420   XDITVIEW_CFLAGS
   1421               C compiler flags for XDITVIEW, overriding pkg-config
   1422   XDITVIEW_LIBS
   1423               linker flags for XDITVIEW, overriding pkg-config
   1424   APPDEFS_CFLAGS
   1425               C compiler flags for APPDEFS, overriding pkg-config
   1426   APPDEFS_LIBS
   1427               linker flags for APPDEFS, overriding pkg-config
   1428 
   1429 Use these variables to override the choices made by `configure' or to help
   1430 it to find libraries and programs with nonstandard names/locations.
   1431 
   1432 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1433 _ACEOF
   1434 ac_status=$?
   1435 fi
   1436 
   1437 if test "$ac_init_help" = "recursive"; then
   1438   # If there are subdirs, report their specific --help.
   1439   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1440     test -d "$ac_dir" ||
   1441       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1442       continue
   1443     ac_builddir=.
   1444 
   1445 case "$ac_dir" in
   1446 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1447 *)
   1448   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1449   # A ".." for each directory in $ac_dir_suffix.
   1450   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1451   case $ac_top_builddir_sub in
   1452   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1453   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1454   esac ;;
   1455 esac
   1456 ac_abs_top_builddir=$ac_pwd
   1457 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1458 # for backward compatibility:
   1459 ac_top_builddir=$ac_top_build_prefix
   1460 
   1461 case $srcdir in
   1462   .)  # We are building in place.
   1463     ac_srcdir=.
   1464     ac_top_srcdir=$ac_top_builddir_sub
   1465     ac_abs_top_srcdir=$ac_pwd ;;
   1466   [\\/]* | ?:[\\/]* )  # Absolute name.
   1467     ac_srcdir=$srcdir$ac_dir_suffix;
   1468     ac_top_srcdir=$srcdir
   1469     ac_abs_top_srcdir=$srcdir ;;
   1470   *) # Relative name.
   1471     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1472     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1473     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1474 esac
   1475 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1476 
   1477     cd "$ac_dir" || { ac_status=$?; continue; }
   1478     # Check for guested configure.
   1479     if test -f "$ac_srcdir/configure.gnu"; then
   1480       echo &&
   1481       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1482     elif test -f "$ac_srcdir/configure"; then
   1483       echo &&
   1484       $SHELL "$ac_srcdir/configure" --help=recursive
   1485     else
   1486       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1487     fi || ac_status=$?
   1488     cd "$ac_pwd" || { ac_status=$?; break; }
   1489   done
   1490 fi
   1491 
   1492 test -n "$ac_init_help" && exit $ac_status
   1493 if $ac_init_version; then
   1494   cat <<\_ACEOF
   1495 xditview configure 1.0.4
   1496 generated by GNU Autoconf 2.69
   1497 
   1498 Copyright (C) 2012 Free Software Foundation, Inc.
   1499 This configure script is free software; the Free Software Foundation
   1500 gives unlimited permission to copy, distribute and modify it.
   1501 _ACEOF
   1502   exit
   1503 fi
   1504 
   1505 ## ------------------------ ##
   1506 ## Autoconf initialization. ##
   1507 ## ------------------------ ##
   1508 
   1509 # ac_fn_c_try_compile LINENO
   1510 # --------------------------
   1511 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1512 ac_fn_c_try_compile ()
   1513 {
   1514   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1515   rm -f conftest.$ac_objext
   1516   if { { ac_try="$ac_compile"
   1517 case "(($ac_try" in
   1518   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1519   *) ac_try_echo=$ac_try;;
   1520 esac
   1521 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1522 $as_echo "$ac_try_echo"; } >&5
   1523   (eval "$ac_compile") 2>conftest.err
   1524   ac_status=$?
   1525   if test -s conftest.err; then
   1526     grep -v '^ *+' conftest.err >conftest.er1
   1527     cat conftest.er1 >&5
   1528     mv -f conftest.er1 conftest.err
   1529   fi
   1530   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1531   test $ac_status = 0; } && {
   1532 	 test -z "$ac_c_werror_flag" ||
   1533 	 test ! -s conftest.err
   1534        } && test -s conftest.$ac_objext; then :
   1535   ac_retval=0
   1536 else
   1537   $as_echo "$as_me: failed program was:" >&5
   1538 sed 's/^/| /' conftest.$ac_ext >&5
   1539 
   1540 	ac_retval=1
   1541 fi
   1542   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1543   as_fn_set_status $ac_retval
   1544 
   1545 } # ac_fn_c_try_compile
   1546 
   1547 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1548 # ---------------------------------------------
   1549 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1550 # accordingly.
   1551 ac_fn_c_check_decl ()
   1552 {
   1553   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1554   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1555   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1556   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1557 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1558 if eval \${$3+:} false; then :
   1559   $as_echo_n "(cached) " >&6
   1560 else
   1561   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1562 /* end confdefs.h.  */
   1563 $4
   1564 int
   1565 main ()
   1566 {
   1567 #ifndef $as_decl_name
   1568 #ifdef __cplusplus
   1569   (void) $as_decl_use;
   1570 #else
   1571   (void) $as_decl_name;
   1572 #endif
   1573 #endif
   1574 
   1575   ;
   1576   return 0;
   1577 }
   1578 _ACEOF
   1579 if ac_fn_c_try_compile "$LINENO"; then :
   1580   eval "$3=yes"
   1581 else
   1582   eval "$3=no"
   1583 fi
   1584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1585 fi
   1586 eval ac_res=\$$3
   1587 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1588 $as_echo "$ac_res" >&6; }
   1589   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1590 
   1591 } # ac_fn_c_check_decl
   1592 
   1593 # ac_fn_c_try_cpp LINENO
   1594 # ----------------------
   1595 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1596 ac_fn_c_try_cpp ()
   1597 {
   1598   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1599   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1600 case "(($ac_try" in
   1601   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1602   *) ac_try_echo=$ac_try;;
   1603 esac
   1604 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1605 $as_echo "$ac_try_echo"; } >&5
   1606   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1607   ac_status=$?
   1608   if test -s conftest.err; then
   1609     grep -v '^ *+' conftest.err >conftest.er1
   1610     cat conftest.er1 >&5
   1611     mv -f conftest.er1 conftest.err
   1612   fi
   1613   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1614   test $ac_status = 0; } > conftest.i && {
   1615 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1616 	 test ! -s conftest.err
   1617        }; then :
   1618   ac_retval=0
   1619 else
   1620   $as_echo "$as_me: failed program was:" >&5
   1621 sed 's/^/| /' conftest.$ac_ext >&5
   1622 
   1623     ac_retval=1
   1624 fi
   1625   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1626   as_fn_set_status $ac_retval
   1627 
   1628 } # ac_fn_c_try_cpp
   1629 
   1630 # ac_fn_c_try_run LINENO
   1631 # ----------------------
   1632 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1633 # that executables *can* be run.
   1634 ac_fn_c_try_run ()
   1635 {
   1636   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1637   if { { ac_try="$ac_link"
   1638 case "(($ac_try" in
   1639   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1640   *) ac_try_echo=$ac_try;;
   1641 esac
   1642 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1643 $as_echo "$ac_try_echo"; } >&5
   1644   (eval "$ac_link") 2>&5
   1645   ac_status=$?
   1646   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1647   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1648   { { case "(($ac_try" in
   1649   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1650   *) ac_try_echo=$ac_try;;
   1651 esac
   1652 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1653 $as_echo "$ac_try_echo"; } >&5
   1654   (eval "$ac_try") 2>&5
   1655   ac_status=$?
   1656   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1657   test $ac_status = 0; }; }; then :
   1658   ac_retval=0
   1659 else
   1660   $as_echo "$as_me: program exited with status $ac_status" >&5
   1661        $as_echo "$as_me: failed program was:" >&5
   1662 sed 's/^/| /' conftest.$ac_ext >&5
   1663 
   1664        ac_retval=$ac_status
   1665 fi
   1666   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1667   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1668   as_fn_set_status $ac_retval
   1669 
   1670 } # ac_fn_c_try_run
   1671 
   1672 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1673 # -------------------------------------------------------
   1674 # Tests whether HEADER exists and can be compiled using the include files in
   1675 # INCLUDES, setting the cache variable VAR accordingly.
   1676 ac_fn_c_check_header_compile ()
   1677 {
   1678   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1679   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1680 $as_echo_n "checking for $2... " >&6; }
   1681 if eval \${$3+:} false; then :
   1682   $as_echo_n "(cached) " >&6
   1683 else
   1684   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1685 /* end confdefs.h.  */
   1686 $4
   1687 #include <$2>
   1688 _ACEOF
   1689 if ac_fn_c_try_compile "$LINENO"; then :
   1690   eval "$3=yes"
   1691 else
   1692   eval "$3=no"
   1693 fi
   1694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1695 fi
   1696 eval ac_res=\$$3
   1697 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1698 $as_echo "$ac_res" >&6; }
   1699   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1700 
   1701 } # ac_fn_c_check_header_compile
   1702 
   1703 # ac_fn_c_try_link LINENO
   1704 # -----------------------
   1705 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1706 ac_fn_c_try_link ()
   1707 {
   1708   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1709   rm -f conftest.$ac_objext conftest$ac_exeext
   1710   if { { ac_try="$ac_link"
   1711 case "(($ac_try" in
   1712   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1713   *) ac_try_echo=$ac_try;;
   1714 esac
   1715 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1716 $as_echo "$ac_try_echo"; } >&5
   1717   (eval "$ac_link") 2>conftest.err
   1718   ac_status=$?
   1719   if test -s conftest.err; then
   1720     grep -v '^ *+' conftest.err >conftest.er1
   1721     cat conftest.er1 >&5
   1722     mv -f conftest.er1 conftest.err
   1723   fi
   1724   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1725   test $ac_status = 0; } && {
   1726 	 test -z "$ac_c_werror_flag" ||
   1727 	 test ! -s conftest.err
   1728        } && test -s conftest$ac_exeext && {
   1729 	 test "$cross_compiling" = yes ||
   1730 	 test -x conftest$ac_exeext
   1731        }; then :
   1732   ac_retval=0
   1733 else
   1734   $as_echo "$as_me: failed program was:" >&5
   1735 sed 's/^/| /' conftest.$ac_ext >&5
   1736 
   1737 	ac_retval=1
   1738 fi
   1739   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1740   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1741   # interfere with the next link command; also delete a directory that is
   1742   # left behind by Apple's compiler.  We do this before executing the actions.
   1743   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1744   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1745   as_fn_set_status $ac_retval
   1746 
   1747 } # ac_fn_c_try_link
   1748 
   1749 # ac_fn_c_check_func LINENO FUNC VAR
   1750 # ----------------------------------
   1751 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1752 ac_fn_c_check_func ()
   1753 {
   1754   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1755   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1756 $as_echo_n "checking for $2... " >&6; }
   1757 if eval \${$3+:} false; then :
   1758   $as_echo_n "(cached) " >&6
   1759 else
   1760   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1761 /* end confdefs.h.  */
   1762 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1763    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1764 #define $2 innocuous_$2
   1765 
   1766 /* System header to define __stub macros and hopefully few prototypes,
   1767     which can conflict with char $2 (); below.
   1768     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1769     <limits.h> exists even on freestanding compilers.  */
   1770 
   1771 #ifdef __STDC__
   1772 # include <limits.h>
   1773 #else
   1774 # include <assert.h>
   1775 #endif
   1776 
   1777 #undef $2
   1778 
   1779 /* Override any GCC internal prototype to avoid an error.
   1780    Use char because int might match the return type of a GCC
   1781    builtin and then its argument prototype would still apply.  */
   1782 #ifdef __cplusplus
   1783 extern "C"
   1784 #endif
   1785 char $2 ();
   1786 /* The GNU C library defines this for functions which it implements
   1787     to always fail with ENOSYS.  Some functions are actually named
   1788     something starting with __ and the normal name is an alias.  */
   1789 #if defined __stub_$2 || defined __stub___$2
   1790 choke me
   1791 #endif
   1792 
   1793 int
   1794 main ()
   1795 {
   1796 return $2 ();
   1797   ;
   1798   return 0;
   1799 }
   1800 _ACEOF
   1801 if ac_fn_c_try_link "$LINENO"; then :
   1802   eval "$3=yes"
   1803 else
   1804   eval "$3=no"
   1805 fi
   1806 rm -f core conftest.err conftest.$ac_objext \
   1807     conftest$ac_exeext conftest.$ac_ext
   1808 fi
   1809 eval ac_res=\$$3
   1810 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1811 $as_echo "$ac_res" >&6; }
   1812   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1813 
   1814 } # ac_fn_c_check_func
   1815 cat >config.log <<_ACEOF
   1816 This file contains any messages produced by compilers while
   1817 running configure, to aid debugging if configure makes a mistake.
   1818 
   1819 It was created by xditview $as_me 1.0.4, which was
   1820 generated by GNU Autoconf 2.69.  Invocation command line was
   1821 
   1822   $ $0 $@
   1823 
   1824 _ACEOF
   1825 exec 5>>config.log
   1826 {
   1827 cat <<_ASUNAME
   1828 ## --------- ##
   1829 ## Platform. ##
   1830 ## --------- ##
   1831 
   1832 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1833 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1834 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1835 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1836 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1837 
   1838 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1839 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1840 
   1841 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1842 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1843 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1844 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1845 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1846 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1847 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1848 
   1849 _ASUNAME
   1850 
   1851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1852 for as_dir in $PATH
   1853 do
   1854   IFS=$as_save_IFS
   1855   test -z "$as_dir" && as_dir=.
   1856     $as_echo "PATH: $as_dir"
   1857   done
   1858 IFS=$as_save_IFS
   1859 
   1860 } >&5
   1861 
   1862 cat >&5 <<_ACEOF
   1863 
   1864 
   1865 ## ----------- ##
   1866 ## Core tests. ##
   1867 ## ----------- ##
   1868 
   1869 _ACEOF
   1870 
   1871 
   1872 # Keep a trace of the command line.
   1873 # Strip out --no-create and --no-recursion so they do not pile up.
   1874 # Strip out --silent because we don't want to record it for future runs.
   1875 # Also quote any args containing shell meta-characters.
   1876 # Make two passes to allow for proper duplicate-argument suppression.
   1877 ac_configure_args=
   1878 ac_configure_args0=
   1879 ac_configure_args1=
   1880 ac_must_keep_next=false
   1881 for ac_pass in 1 2
   1882 do
   1883   for ac_arg
   1884   do
   1885     case $ac_arg in
   1886     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1887     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1888     | -silent | --silent | --silen | --sile | --sil)
   1889       continue ;;
   1890     *\'*)
   1891       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1892     esac
   1893     case $ac_pass in
   1894     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1895     2)
   1896       as_fn_append ac_configure_args1 " '$ac_arg'"
   1897       if test $ac_must_keep_next = true; then
   1898 	ac_must_keep_next=false # Got value, back to normal.
   1899       else
   1900 	case $ac_arg in
   1901 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1902 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1903 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1904 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1905 	    case "$ac_configure_args0 " in
   1906 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1907 	    esac
   1908 	    ;;
   1909 	  -* ) ac_must_keep_next=true ;;
   1910 	esac
   1911       fi
   1912       as_fn_append ac_configure_args " '$ac_arg'"
   1913       ;;
   1914     esac
   1915   done
   1916 done
   1917 { ac_configure_args0=; unset ac_configure_args0;}
   1918 { ac_configure_args1=; unset ac_configure_args1;}
   1919 
   1920 # When interrupted or exit'd, cleanup temporary files, and complete
   1921 # config.log.  We remove comments because anyway the quotes in there
   1922 # would cause problems or look ugly.
   1923 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1924 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1925 trap 'exit_status=$?
   1926   # Save into config.log some information that might help in debugging.
   1927   {
   1928     echo
   1929 
   1930     $as_echo "## ---------------- ##
   1931 ## Cache variables. ##
   1932 ## ---------------- ##"
   1933     echo
   1934     # The following way of writing the cache mishandles newlines in values,
   1935 (
   1936   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1937     eval ac_val=\$$ac_var
   1938     case $ac_val in #(
   1939     *${as_nl}*)
   1940       case $ac_var in #(
   1941       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1942 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1943       esac
   1944       case $ac_var in #(
   1945       _ | IFS | as_nl) ;; #(
   1946       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1947       *) { eval $ac_var=; unset $ac_var;} ;;
   1948       esac ;;
   1949     esac
   1950   done
   1951   (set) 2>&1 |
   1952     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1953     *${as_nl}ac_space=\ *)
   1954       sed -n \
   1955 	"s/'\''/'\''\\\\'\'''\''/g;
   1956 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1957       ;; #(
   1958     *)
   1959       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1960       ;;
   1961     esac |
   1962     sort
   1963 )
   1964     echo
   1965 
   1966     $as_echo "## ----------------- ##
   1967 ## Output variables. ##
   1968 ## ----------------- ##"
   1969     echo
   1970     for ac_var in $ac_subst_vars
   1971     do
   1972       eval ac_val=\$$ac_var
   1973       case $ac_val in
   1974       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1975       esac
   1976       $as_echo "$ac_var='\''$ac_val'\''"
   1977     done | sort
   1978     echo
   1979 
   1980     if test -n "$ac_subst_files"; then
   1981       $as_echo "## ------------------- ##
   1982 ## File substitutions. ##
   1983 ## ------------------- ##"
   1984       echo
   1985       for ac_var in $ac_subst_files
   1986       do
   1987 	eval ac_val=\$$ac_var
   1988 	case $ac_val in
   1989 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1990 	esac
   1991 	$as_echo "$ac_var='\''$ac_val'\''"
   1992       done | sort
   1993       echo
   1994     fi
   1995 
   1996     if test -s confdefs.h; then
   1997       $as_echo "## ----------- ##
   1998 ## confdefs.h. ##
   1999 ## ----------- ##"
   2000       echo
   2001       cat confdefs.h
   2002       echo
   2003     fi
   2004     test "$ac_signal" != 0 &&
   2005       $as_echo "$as_me: caught signal $ac_signal"
   2006     $as_echo "$as_me: exit $exit_status"
   2007   } >&5
   2008   rm -f core *.core core.conftest.* &&
   2009     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2010     exit $exit_status
   2011 ' 0
   2012 for ac_signal in 1 2 13 15; do
   2013   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2014 done
   2015 ac_signal=0
   2016 
   2017 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2018 rm -f -r conftest* confdefs.h
   2019 
   2020 $as_echo "/* confdefs.h */" > confdefs.h
   2021 
   2022 # Predefined preprocessor variables.
   2023 
   2024 cat >>confdefs.h <<_ACEOF
   2025 #define PACKAGE_NAME "$PACKAGE_NAME"
   2026 _ACEOF
   2027 
   2028 cat >>confdefs.h <<_ACEOF
   2029 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2030 _ACEOF
   2031 
   2032 cat >>confdefs.h <<_ACEOF
   2033 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2034 _ACEOF
   2035 
   2036 cat >>confdefs.h <<_ACEOF
   2037 #define PACKAGE_STRING "$PACKAGE_STRING"
   2038 _ACEOF
   2039 
   2040 cat >>confdefs.h <<_ACEOF
   2041 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2042 _ACEOF
   2043 
   2044 cat >>confdefs.h <<_ACEOF
   2045 #define PACKAGE_URL "$PACKAGE_URL"
   2046 _ACEOF
   2047 
   2048 
   2049 # Let the site file select an alternate cache file if it wants to.
   2050 # Prefer an explicitly selected file to automatically selected ones.
   2051 ac_site_file1=NONE
   2052 ac_site_file2=NONE
   2053 if test -n "$CONFIG_SITE"; then
   2054   # We do not want a PATH search for config.site.
   2055   case $CONFIG_SITE in #((
   2056     -*)  ac_site_file1=./$CONFIG_SITE;;
   2057     */*) ac_site_file1=$CONFIG_SITE;;
   2058     *)   ac_site_file1=./$CONFIG_SITE;;
   2059   esac
   2060 elif test "x$prefix" != xNONE; then
   2061   ac_site_file1=$prefix/share/config.site
   2062   ac_site_file2=$prefix/etc/config.site
   2063 else
   2064   ac_site_file1=$ac_default_prefix/share/config.site
   2065   ac_site_file2=$ac_default_prefix/etc/config.site
   2066 fi
   2067 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2068 do
   2069   test "x$ac_site_file" = xNONE && continue
   2070   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2071     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2072 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2073     sed 's/^/| /' "$ac_site_file" >&5
   2074     . "$ac_site_file" \
   2075       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2076 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2077 as_fn_error $? "failed to load site script $ac_site_file
   2078 See \`config.log' for more details" "$LINENO" 5; }
   2079   fi
   2080 done
   2081 
   2082 if test -r "$cache_file"; then
   2083   # Some versions of bash will fail to source /dev/null (special files
   2084   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2085   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2086     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2087 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2088     case $cache_file in
   2089       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2090       *)                      . "./$cache_file";;
   2091     esac
   2092   fi
   2093 else
   2094   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2095 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2096   >$cache_file
   2097 fi
   2098 
   2099 # Check that the precious variables saved in the cache have kept the same
   2100 # value.
   2101 ac_cache_corrupted=false
   2102 for ac_var in $ac_precious_vars; do
   2103   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2104   eval ac_new_set=\$ac_env_${ac_var}_set
   2105   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2106   eval ac_new_val=\$ac_env_${ac_var}_value
   2107   case $ac_old_set,$ac_new_set in
   2108     set,)
   2109       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2110 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2111       ac_cache_corrupted=: ;;
   2112     ,set)
   2113       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2114 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2115       ac_cache_corrupted=: ;;
   2116     ,);;
   2117     *)
   2118       if test "x$ac_old_val" != "x$ac_new_val"; then
   2119 	# differences in whitespace do not lead to failure.
   2120 	ac_old_val_w=`echo x $ac_old_val`
   2121 	ac_new_val_w=`echo x $ac_new_val`
   2122 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2123 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2124 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2125 	  ac_cache_corrupted=:
   2126 	else
   2127 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2128 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2129 	  eval $ac_var=\$ac_old_val
   2130 	fi
   2131 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2132 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2133 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2134 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2135       fi;;
   2136   esac
   2137   # Pass precious variables to config.status.
   2138   if test "$ac_new_set" = set; then
   2139     case $ac_new_val in
   2140     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2141     *) ac_arg=$ac_var=$ac_new_val ;;
   2142     esac
   2143     case " $ac_configure_args " in
   2144       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2145       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2146     esac
   2147   fi
   2148 done
   2149 if $ac_cache_corrupted; then
   2150   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2151 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2152   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2153 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2154   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2155 fi
   2156 ## -------------------- ##
   2157 ## Main body of script. ##
   2158 ## -------------------- ##
   2159 
   2160 ac_ext=c
   2161 ac_cpp='$CPP $CPPFLAGS'
   2162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2165 
   2166 
   2167 
   2168 ac_config_headers="$ac_config_headers config.h"
   2169 
   2170 
   2171 # Initialize Automake
   2172 am__api_version='1.15'
   2173 
   2174 ac_aux_dir=
   2175 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2176   if test -f "$ac_dir/install-sh"; then
   2177     ac_aux_dir=$ac_dir
   2178     ac_install_sh="$ac_aux_dir/install-sh -c"
   2179     break
   2180   elif test -f "$ac_dir/install.sh"; then
   2181     ac_aux_dir=$ac_dir
   2182     ac_install_sh="$ac_aux_dir/install.sh -c"
   2183     break
   2184   elif test -f "$ac_dir/shtool"; then
   2185     ac_aux_dir=$ac_dir
   2186     ac_install_sh="$ac_aux_dir/shtool install -c"
   2187     break
   2188   fi
   2189 done
   2190 if test -z "$ac_aux_dir"; then
   2191   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2192 fi
   2193 
   2194 # These three variables are undocumented and unsupported,
   2195 # and are intended to be withdrawn in a future Autoconf release.
   2196 # They can cause serious problems if a builder's source tree is in a directory
   2197 # whose full name contains unusual characters.
   2198 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2199 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2200 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2201 
   2202 
   2203 # Find a good install program.  We prefer a C program (faster),
   2204 # so one script is as good as another.  But avoid the broken or
   2205 # incompatible versions:
   2206 # SysV /etc/install, /usr/sbin/install
   2207 # SunOS /usr/etc/install
   2208 # IRIX /sbin/install
   2209 # AIX /bin/install
   2210 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2211 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2212 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2213 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2214 # OS/2's system install, which has a completely different semantic
   2215 # ./install, which can be erroneously created by make from ./install.sh.
   2216 # Reject install programs that cannot install multiple files.
   2217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2218 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2219 if test -z "$INSTALL"; then
   2220 if ${ac_cv_path_install+:} false; then :
   2221   $as_echo_n "(cached) " >&6
   2222 else
   2223   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2224 for as_dir in $PATH
   2225 do
   2226   IFS=$as_save_IFS
   2227   test -z "$as_dir" && as_dir=.
   2228     # Account for people who put trailing slashes in PATH elements.
   2229 case $as_dir/ in #((
   2230   ./ | .// | /[cC]/* | \
   2231   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2232   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2233   /usr/ucb/* ) ;;
   2234   *)
   2235     # OSF1 and SCO ODT 3.0 have their own names for install.
   2236     # Don't use installbsd from OSF since it installs stuff as root
   2237     # by default.
   2238     for ac_prog in ginstall scoinst install; do
   2239       for ac_exec_ext in '' $ac_executable_extensions; do
   2240 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2241 	  if test $ac_prog = install &&
   2242 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2243 	    # AIX install.  It has an incompatible calling convention.
   2244 	    :
   2245 	  elif test $ac_prog = install &&
   2246 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2247 	    # program-specific install script used by HP pwplus--don't use.
   2248 	    :
   2249 	  else
   2250 	    rm -rf conftest.one conftest.two conftest.dir
   2251 	    echo one > conftest.one
   2252 	    echo two > conftest.two
   2253 	    mkdir conftest.dir
   2254 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2255 	      test -s conftest.one && test -s conftest.two &&
   2256 	      test -s conftest.dir/conftest.one &&
   2257 	      test -s conftest.dir/conftest.two
   2258 	    then
   2259 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2260 	      break 3
   2261 	    fi
   2262 	  fi
   2263 	fi
   2264       done
   2265     done
   2266     ;;
   2267 esac
   2268 
   2269   done
   2270 IFS=$as_save_IFS
   2271 
   2272 rm -rf conftest.one conftest.two conftest.dir
   2273 
   2274 fi
   2275   if test "${ac_cv_path_install+set}" = set; then
   2276     INSTALL=$ac_cv_path_install
   2277   else
   2278     # As a last resort, use the slow shell script.  Don't cache a
   2279     # value for INSTALL within a source directory, because that will
   2280     # break other packages using the cache if that directory is
   2281     # removed, or if the value is a relative name.
   2282     INSTALL=$ac_install_sh
   2283   fi
   2284 fi
   2285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2286 $as_echo "$INSTALL" >&6; }
   2287 
   2288 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2289 # It thinks the first close brace ends the variable substitution.
   2290 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2291 
   2292 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2293 
   2294 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2295 
   2296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2297 $as_echo_n "checking whether build environment is sane... " >&6; }
   2298 # Reject unsafe characters in $srcdir or the absolute working directory
   2299 # name.  Accept space and tab only in the latter.
   2300 am_lf='
   2301 '
   2302 case `pwd` in
   2303   *[\\\"\#\$\&\'\`$am_lf]*)
   2304     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2305 esac
   2306 case $srcdir in
   2307   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2308     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2309 esac
   2310 
   2311 # Do 'set' in a subshell so we don't clobber the current shell's
   2312 # arguments.  Must try -L first in case configure is actually a
   2313 # symlink; some systems play weird games with the mod time of symlinks
   2314 # (eg FreeBSD returns the mod time of the symlink's containing
   2315 # directory).
   2316 if (
   2317    am_has_slept=no
   2318    for am_try in 1 2; do
   2319      echo "timestamp, slept: $am_has_slept" > conftest.file
   2320      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2321      if test "$*" = "X"; then
   2322 	# -L didn't work.
   2323 	set X `ls -t "$srcdir/configure" conftest.file`
   2324      fi
   2325      if test "$*" != "X $srcdir/configure conftest.file" \
   2326 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2327 
   2328 	# If neither matched, then we have a broken ls.  This can happen
   2329 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2330 	# broken ls alias from the environment.  This has actually
   2331 	# happened.  Such a system could not be considered "sane".
   2332 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2333   alias in your environment" "$LINENO" 5
   2334      fi
   2335      if test "$2" = conftest.file || test $am_try -eq 2; then
   2336        break
   2337      fi
   2338      # Just in case.
   2339      sleep 1
   2340      am_has_slept=yes
   2341    done
   2342    test "$2" = conftest.file
   2343    )
   2344 then
   2345    # Ok.
   2346    :
   2347 else
   2348    as_fn_error $? "newly created file is older than distributed files!
   2349 Check your system clock" "$LINENO" 5
   2350 fi
   2351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2352 $as_echo "yes" >&6; }
   2353 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2354 # generated files are strictly newer.
   2355 am_sleep_pid=
   2356 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2357   ( sleep 1 ) &
   2358   am_sleep_pid=$!
   2359 fi
   2360 
   2361 rm -f conftest.file
   2362 
   2363 test "$program_prefix" != NONE &&
   2364   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2365 # Use a double $ so make ignores it.
   2366 test "$program_suffix" != NONE &&
   2367   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2368 # Double any \ or $.
   2369 # By default was `s,x,x', remove it if useless.
   2370 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2371 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2372 
   2373 # Expand $ac_aux_dir to an absolute path.
   2374 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2375 
   2376 if test x"${MISSING+set}" != xset; then
   2377   case $am_aux_dir in
   2378   *\ * | *\	*)
   2379     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2380   *)
   2381     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2382   esac
   2383 fi
   2384 # Use eval to expand $SHELL
   2385 if eval "$MISSING --is-lightweight"; then
   2386   am_missing_run="$MISSING "
   2387 else
   2388   am_missing_run=
   2389   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2390 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2391 fi
   2392 
   2393 if test x"${install_sh+set}" != xset; then
   2394   case $am_aux_dir in
   2395   *\ * | *\	*)
   2396     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2397   *)
   2398     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2399   esac
   2400 fi
   2401 
   2402 # Installed binaries are usually stripped using 'strip' when the user
   2403 # run "make install-strip".  However 'strip' might not be the right
   2404 # tool to use in cross-compilation environments, therefore Automake
   2405 # will honor the 'STRIP' environment variable to overrule this program.
   2406 if test "$cross_compiling" != no; then
   2407   if test -n "$ac_tool_prefix"; then
   2408   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2409 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2411 $as_echo_n "checking for $ac_word... " >&6; }
   2412 if ${ac_cv_prog_STRIP+:} false; then :
   2413   $as_echo_n "(cached) " >&6
   2414 else
   2415   if test -n "$STRIP"; then
   2416   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2417 else
   2418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2419 for as_dir in $PATH
   2420 do
   2421   IFS=$as_save_IFS
   2422   test -z "$as_dir" && as_dir=.
   2423     for ac_exec_ext in '' $ac_executable_extensions; do
   2424   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2425     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2426     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2427     break 2
   2428   fi
   2429 done
   2430   done
   2431 IFS=$as_save_IFS
   2432 
   2433 fi
   2434 fi
   2435 STRIP=$ac_cv_prog_STRIP
   2436 if test -n "$STRIP"; then
   2437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2438 $as_echo "$STRIP" >&6; }
   2439 else
   2440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2441 $as_echo "no" >&6; }
   2442 fi
   2443 
   2444 
   2445 fi
   2446 if test -z "$ac_cv_prog_STRIP"; then
   2447   ac_ct_STRIP=$STRIP
   2448   # Extract the first word of "strip", so it can be a program name with args.
   2449 set dummy strip; ac_word=$2
   2450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2451 $as_echo_n "checking for $ac_word... " >&6; }
   2452 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2453   $as_echo_n "(cached) " >&6
   2454 else
   2455   if test -n "$ac_ct_STRIP"; then
   2456   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2457 else
   2458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2459 for as_dir in $PATH
   2460 do
   2461   IFS=$as_save_IFS
   2462   test -z "$as_dir" && as_dir=.
   2463     for ac_exec_ext in '' $ac_executable_extensions; do
   2464   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2465     ac_cv_prog_ac_ct_STRIP="strip"
   2466     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2467     break 2
   2468   fi
   2469 done
   2470   done
   2471 IFS=$as_save_IFS
   2472 
   2473 fi
   2474 fi
   2475 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2476 if test -n "$ac_ct_STRIP"; then
   2477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2478 $as_echo "$ac_ct_STRIP" >&6; }
   2479 else
   2480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2481 $as_echo "no" >&6; }
   2482 fi
   2483 
   2484   if test "x$ac_ct_STRIP" = x; then
   2485     STRIP=":"
   2486   else
   2487     case $cross_compiling:$ac_tool_warned in
   2488 yes:)
   2489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2490 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2491 ac_tool_warned=yes ;;
   2492 esac
   2493     STRIP=$ac_ct_STRIP
   2494   fi
   2495 else
   2496   STRIP="$ac_cv_prog_STRIP"
   2497 fi
   2498 
   2499 fi
   2500 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2501 
   2502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2503 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2504 if test -z "$MKDIR_P"; then
   2505   if ${ac_cv_path_mkdir+:} false; then :
   2506   $as_echo_n "(cached) " >&6
   2507 else
   2508   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2509 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2510 do
   2511   IFS=$as_save_IFS
   2512   test -z "$as_dir" && as_dir=.
   2513     for ac_prog in mkdir gmkdir; do
   2514 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2515 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2516 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2517 	     'mkdir (GNU coreutils) '* | \
   2518 	     'mkdir (coreutils) '* | \
   2519 	     'mkdir (fileutils) '4.1*)
   2520 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2521 	       break 3;;
   2522 	   esac
   2523 	 done
   2524        done
   2525   done
   2526 IFS=$as_save_IFS
   2527 
   2528 fi
   2529 
   2530   test -d ./--version && rmdir ./--version
   2531   if test "${ac_cv_path_mkdir+set}" = set; then
   2532     MKDIR_P="$ac_cv_path_mkdir -p"
   2533   else
   2534     # As a last resort, use the slow shell script.  Don't cache a
   2535     # value for MKDIR_P within a source directory, because that will
   2536     # break other packages using the cache if that directory is
   2537     # removed, or if the value is a relative name.
   2538     MKDIR_P="$ac_install_sh -d"
   2539   fi
   2540 fi
   2541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2542 $as_echo "$MKDIR_P" >&6; }
   2543 
   2544 for ac_prog in gawk mawk nawk awk
   2545 do
   2546   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2547 set dummy $ac_prog; ac_word=$2
   2548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2549 $as_echo_n "checking for $ac_word... " >&6; }
   2550 if ${ac_cv_prog_AWK+:} false; then :
   2551   $as_echo_n "(cached) " >&6
   2552 else
   2553   if test -n "$AWK"; then
   2554   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2555 else
   2556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2557 for as_dir in $PATH
   2558 do
   2559   IFS=$as_save_IFS
   2560   test -z "$as_dir" && as_dir=.
   2561     for ac_exec_ext in '' $ac_executable_extensions; do
   2562   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2563     ac_cv_prog_AWK="$ac_prog"
   2564     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2565     break 2
   2566   fi
   2567 done
   2568   done
   2569 IFS=$as_save_IFS
   2570 
   2571 fi
   2572 fi
   2573 AWK=$ac_cv_prog_AWK
   2574 if test -n "$AWK"; then
   2575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2576 $as_echo "$AWK" >&6; }
   2577 else
   2578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2579 $as_echo "no" >&6; }
   2580 fi
   2581 
   2582 
   2583   test -n "$AWK" && break
   2584 done
   2585 
   2586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2587 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2588 set x ${MAKE-make}
   2589 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2590 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2591   $as_echo_n "(cached) " >&6
   2592 else
   2593   cat >conftest.make <<\_ACEOF
   2594 SHELL = /bin/sh
   2595 all:
   2596 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2597 _ACEOF
   2598 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2599 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2600   *@@@%%%=?*=@@@%%%*)
   2601     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2602   *)
   2603     eval ac_cv_prog_make_${ac_make}_set=no;;
   2604 esac
   2605 rm -f conftest.make
   2606 fi
   2607 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2609 $as_echo "yes" >&6; }
   2610   SET_MAKE=
   2611 else
   2612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2613 $as_echo "no" >&6; }
   2614   SET_MAKE="MAKE=${MAKE-make}"
   2615 fi
   2616 
   2617 rm -rf .tst 2>/dev/null
   2618 mkdir .tst 2>/dev/null
   2619 if test -d .tst; then
   2620   am__leading_dot=.
   2621 else
   2622   am__leading_dot=_
   2623 fi
   2624 rmdir .tst 2>/dev/null
   2625 
   2626 # Check whether --enable-silent-rules was given.
   2627 if test "${enable_silent_rules+set}" = set; then :
   2628   enableval=$enable_silent_rules;
   2629 fi
   2630 
   2631 case $enable_silent_rules in # (((
   2632   yes) AM_DEFAULT_VERBOSITY=0;;
   2633    no) AM_DEFAULT_VERBOSITY=1;;
   2634     *) AM_DEFAULT_VERBOSITY=1;;
   2635 esac
   2636 am_make=${MAKE-make}
   2637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2638 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2639 if ${am_cv_make_support_nested_variables+:} false; then :
   2640   $as_echo_n "(cached) " >&6
   2641 else
   2642   if $as_echo 'TRUE=$(BAR$(V))
   2643 BAR0=false
   2644 BAR1=true
   2645 V=1
   2646 am__doit:
   2647 	@$(TRUE)
   2648 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2649   am_cv_make_support_nested_variables=yes
   2650 else
   2651   am_cv_make_support_nested_variables=no
   2652 fi
   2653 fi
   2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2655 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2656 if test $am_cv_make_support_nested_variables = yes; then
   2657     AM_V='$(V)'
   2658   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2659 else
   2660   AM_V=$AM_DEFAULT_VERBOSITY
   2661   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2662 fi
   2663 AM_BACKSLASH='\'
   2664 
   2665 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2666   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2667   # is not polluted with repeated "-I."
   2668   am__isrc=' -I$(srcdir)'
   2669   # test to see if srcdir already configured
   2670   if test -f $srcdir/config.status; then
   2671     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2672   fi
   2673 fi
   2674 
   2675 # test whether we have cygpath
   2676 if test -z "$CYGPATH_W"; then
   2677   if (cygpath --version) >/dev/null 2>/dev/null; then
   2678     CYGPATH_W='cygpath -w'
   2679   else
   2680     CYGPATH_W=echo
   2681   fi
   2682 fi
   2683 
   2684 
   2685 # Define the identity of the package.
   2686  PACKAGE='xditview'
   2687  VERSION='1.0.4'
   2688 
   2689 
   2690 cat >>confdefs.h <<_ACEOF
   2691 #define PACKAGE "$PACKAGE"
   2692 _ACEOF
   2693 
   2694 
   2695 cat >>confdefs.h <<_ACEOF
   2696 #define VERSION "$VERSION"
   2697 _ACEOF
   2698 
   2699 # Some tools Automake needs.
   2700 
   2701 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2702 
   2703 
   2704 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2705 
   2706 
   2707 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2708 
   2709 
   2710 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2711 
   2712 
   2713 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2714 
   2715 # For better backward compatibility.  To be removed once Automake 1.9.x
   2716 # dies out for good.  For more background, see:
   2717 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2718 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2719 mkdir_p='$(MKDIR_P)'
   2720 
   2721 # We need awk for the "check" target (and possibly the TAP driver).  The
   2722 # system "awk" is bad on some platforms.
   2723 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2724 # in the wild :-(  We should find a proper way to deprecate it ...
   2725 AMTAR='$${TAR-tar}'
   2726 
   2727 
   2728 # We'll loop over all known methods to create a tar archive until one works.
   2729 _am_tools='gnutar  pax cpio none'
   2730 
   2731 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2732 
   2733 
   2734 
   2735 
   2736 
   2737 
   2738 # POSIX will say in a future version that running "rm -f" with no argument
   2739 # is OK; and we want to be able to make that assumption in our Makefile
   2740 # recipes.  So use an aggressive probe to check that the usage we want is
   2741 # actually supported "in the wild" to an acceptable degree.
   2742 # See automake bug#10828.
   2743 # To make any issue more visible, cause the running configure to be aborted
   2744 # by default if the 'rm' program in use doesn't match our expectations; the
   2745 # user can still override this though.
   2746 if rm -f && rm -fr && rm -rf; then : OK; else
   2747   cat >&2 <<'END'
   2748 Oops!
   2749 
   2750 Your 'rm' program seems unable to run without file operands specified
   2751 on the command line, even when the '-f' option is present.  This is contrary
   2752 to the behaviour of most rm programs out there, and not conforming with
   2753 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2754 
   2755 Please tell bug-automake@gnu.org about your system, including the value
   2756 of your $PATH and any error possibly output before this message.  This
   2757 can help us improve future automake versions.
   2758 
   2759 END
   2760   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2761     echo 'Configuration will proceed anyway, since you have set the' >&2
   2762     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2763     echo >&2
   2764   else
   2765     cat >&2 <<'END'
   2766 Aborting the configuration process, to ensure you take notice of the issue.
   2767 
   2768 You can download and install GNU coreutils to get an 'rm' implementation
   2769 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2770 
   2771 If you want to complete the configuration process using your problematic
   2772 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2773 to "yes", and re-run configure.
   2774 
   2775 END
   2776     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2777   fi
   2778 fi
   2779 
   2780 
   2781 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2782 
   2783 
   2784 
   2785 
   2786 
   2787 
   2788 
   2789 
   2790 
   2791 
   2792 
   2793 DEPDIR="${am__leading_dot}deps"
   2794 
   2795 ac_config_commands="$ac_config_commands depfiles"
   2796 
   2797 
   2798 am_make=${MAKE-make}
   2799 cat > confinc << 'END'
   2800 am__doit:
   2801 	@echo this is the am__doit target
   2802 .PHONY: am__doit
   2803 END
   2804 # If we don't find an include directive, just comment out the code.
   2805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2806 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2807 am__include="#"
   2808 am__quote=
   2809 _am_result=none
   2810 # First try GNU make style include.
   2811 echo "include confinc" > confmf
   2812 # Ignore all kinds of additional output from 'make'.
   2813 case `$am_make -s -f confmf 2> /dev/null` in #(
   2814 *the\ am__doit\ target*)
   2815   am__include=include
   2816   am__quote=
   2817   _am_result=GNU
   2818   ;;
   2819 esac
   2820 # Now try BSD make style include.
   2821 if test "$am__include" = "#"; then
   2822    echo '.include "confinc"' > confmf
   2823    case `$am_make -s -f confmf 2> /dev/null` in #(
   2824    *the\ am__doit\ target*)
   2825      am__include=.include
   2826      am__quote="\""
   2827      _am_result=BSD
   2828      ;;
   2829    esac
   2830 fi
   2831 
   2832 
   2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2834 $as_echo "$_am_result" >&6; }
   2835 rm -f confinc confmf
   2836 
   2837 # Check whether --enable-dependency-tracking was given.
   2838 if test "${enable_dependency_tracking+set}" = set; then :
   2839   enableval=$enable_dependency_tracking;
   2840 fi
   2841 
   2842 if test "x$enable_dependency_tracking" != xno; then
   2843   am_depcomp="$ac_aux_dir/depcomp"
   2844   AMDEPBACKSLASH='\'
   2845   am__nodep='_no'
   2846 fi
   2847  if test "x$enable_dependency_tracking" != xno; then
   2848   AMDEP_TRUE=
   2849   AMDEP_FALSE='#'
   2850 else
   2851   AMDEP_TRUE='#'
   2852   AMDEP_FALSE=
   2853 fi
   2854 
   2855 
   2856 ac_ext=c
   2857 ac_cpp='$CPP $CPPFLAGS'
   2858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2861 if test -n "$ac_tool_prefix"; then
   2862   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2863 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2865 $as_echo_n "checking for $ac_word... " >&6; }
   2866 if ${ac_cv_prog_CC+:} false; then :
   2867   $as_echo_n "(cached) " >&6
   2868 else
   2869   if test -n "$CC"; then
   2870   ac_cv_prog_CC="$CC" # Let the user override the test.
   2871 else
   2872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2873 for as_dir in $PATH
   2874 do
   2875   IFS=$as_save_IFS
   2876   test -z "$as_dir" && as_dir=.
   2877     for ac_exec_ext in '' $ac_executable_extensions; do
   2878   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2879     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2880     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2881     break 2
   2882   fi
   2883 done
   2884   done
   2885 IFS=$as_save_IFS
   2886 
   2887 fi
   2888 fi
   2889 CC=$ac_cv_prog_CC
   2890 if test -n "$CC"; then
   2891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2892 $as_echo "$CC" >&6; }
   2893 else
   2894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2895 $as_echo "no" >&6; }
   2896 fi
   2897 
   2898 
   2899 fi
   2900 if test -z "$ac_cv_prog_CC"; then
   2901   ac_ct_CC=$CC
   2902   # Extract the first word of "gcc", so it can be a program name with args.
   2903 set dummy gcc; ac_word=$2
   2904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2905 $as_echo_n "checking for $ac_word... " >&6; }
   2906 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2907   $as_echo_n "(cached) " >&6
   2908 else
   2909   if test -n "$ac_ct_CC"; then
   2910   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2911 else
   2912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2913 for as_dir in $PATH
   2914 do
   2915   IFS=$as_save_IFS
   2916   test -z "$as_dir" && as_dir=.
   2917     for ac_exec_ext in '' $ac_executable_extensions; do
   2918   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2919     ac_cv_prog_ac_ct_CC="gcc"
   2920     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2921     break 2
   2922   fi
   2923 done
   2924   done
   2925 IFS=$as_save_IFS
   2926 
   2927 fi
   2928 fi
   2929 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2930 if test -n "$ac_ct_CC"; then
   2931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2932 $as_echo "$ac_ct_CC" >&6; }
   2933 else
   2934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2935 $as_echo "no" >&6; }
   2936 fi
   2937 
   2938   if test "x$ac_ct_CC" = x; then
   2939     CC=""
   2940   else
   2941     case $cross_compiling:$ac_tool_warned in
   2942 yes:)
   2943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2944 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2945 ac_tool_warned=yes ;;
   2946 esac
   2947     CC=$ac_ct_CC
   2948   fi
   2949 else
   2950   CC="$ac_cv_prog_CC"
   2951 fi
   2952 
   2953 if test -z "$CC"; then
   2954           if test -n "$ac_tool_prefix"; then
   2955     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2956 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2958 $as_echo_n "checking for $ac_word... " >&6; }
   2959 if ${ac_cv_prog_CC+:} false; then :
   2960   $as_echo_n "(cached) " >&6
   2961 else
   2962   if test -n "$CC"; then
   2963   ac_cv_prog_CC="$CC" # Let the user override the test.
   2964 else
   2965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2966 for as_dir in $PATH
   2967 do
   2968   IFS=$as_save_IFS
   2969   test -z "$as_dir" && as_dir=.
   2970     for ac_exec_ext in '' $ac_executable_extensions; do
   2971   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2972     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2973     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2974     break 2
   2975   fi
   2976 done
   2977   done
   2978 IFS=$as_save_IFS
   2979 
   2980 fi
   2981 fi
   2982 CC=$ac_cv_prog_CC
   2983 if test -n "$CC"; then
   2984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2985 $as_echo "$CC" >&6; }
   2986 else
   2987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2988 $as_echo "no" >&6; }
   2989 fi
   2990 
   2991 
   2992   fi
   2993 fi
   2994 if test -z "$CC"; then
   2995   # Extract the first word of "cc", so it can be a program name with args.
   2996 set dummy cc; ac_word=$2
   2997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2998 $as_echo_n "checking for $ac_word... " >&6; }
   2999 if ${ac_cv_prog_CC+:} false; then :
   3000   $as_echo_n "(cached) " >&6
   3001 else
   3002   if test -n "$CC"; then
   3003   ac_cv_prog_CC="$CC" # Let the user override the test.
   3004 else
   3005   ac_prog_rejected=no
   3006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3007 for as_dir in $PATH
   3008 do
   3009   IFS=$as_save_IFS
   3010   test -z "$as_dir" && as_dir=.
   3011     for ac_exec_ext in '' $ac_executable_extensions; do
   3012   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3013     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3014        ac_prog_rejected=yes
   3015        continue
   3016      fi
   3017     ac_cv_prog_CC="cc"
   3018     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3019     break 2
   3020   fi
   3021 done
   3022   done
   3023 IFS=$as_save_IFS
   3024 
   3025 if test $ac_prog_rejected = yes; then
   3026   # We found a bogon in the path, so make sure we never use it.
   3027   set dummy $ac_cv_prog_CC
   3028   shift
   3029   if test $# != 0; then
   3030     # We chose a different compiler from the bogus one.
   3031     # However, it has the same basename, so the bogon will be chosen
   3032     # first if we set CC to just the basename; use the full file name.
   3033     shift
   3034     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3035   fi
   3036 fi
   3037 fi
   3038 fi
   3039 CC=$ac_cv_prog_CC
   3040 if test -n "$CC"; then
   3041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3042 $as_echo "$CC" >&6; }
   3043 else
   3044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3045 $as_echo "no" >&6; }
   3046 fi
   3047 
   3048 
   3049 fi
   3050 if test -z "$CC"; then
   3051   if test -n "$ac_tool_prefix"; then
   3052   for ac_prog in cl.exe
   3053   do
   3054     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3055 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3057 $as_echo_n "checking for $ac_word... " >&6; }
   3058 if ${ac_cv_prog_CC+:} false; then :
   3059   $as_echo_n "(cached) " >&6
   3060 else
   3061   if test -n "$CC"; then
   3062   ac_cv_prog_CC="$CC" # Let the user override the test.
   3063 else
   3064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3065 for as_dir in $PATH
   3066 do
   3067   IFS=$as_save_IFS
   3068   test -z "$as_dir" && as_dir=.
   3069     for ac_exec_ext in '' $ac_executable_extensions; do
   3070   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3071     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3072     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3073     break 2
   3074   fi
   3075 done
   3076   done
   3077 IFS=$as_save_IFS
   3078 
   3079 fi
   3080 fi
   3081 CC=$ac_cv_prog_CC
   3082 if test -n "$CC"; then
   3083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3084 $as_echo "$CC" >&6; }
   3085 else
   3086   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3087 $as_echo "no" >&6; }
   3088 fi
   3089 
   3090 
   3091     test -n "$CC" && break
   3092   done
   3093 fi
   3094 if test -z "$CC"; then
   3095   ac_ct_CC=$CC
   3096   for ac_prog in cl.exe
   3097 do
   3098   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3099 set dummy $ac_prog; ac_word=$2
   3100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3101 $as_echo_n "checking for $ac_word... " >&6; }
   3102 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3103   $as_echo_n "(cached) " >&6
   3104 else
   3105   if test -n "$ac_ct_CC"; then
   3106   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3107 else
   3108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3109 for as_dir in $PATH
   3110 do
   3111   IFS=$as_save_IFS
   3112   test -z "$as_dir" && as_dir=.
   3113     for ac_exec_ext in '' $ac_executable_extensions; do
   3114   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3115     ac_cv_prog_ac_ct_CC="$ac_prog"
   3116     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3117     break 2
   3118   fi
   3119 done
   3120   done
   3121 IFS=$as_save_IFS
   3122 
   3123 fi
   3124 fi
   3125 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3126 if test -n "$ac_ct_CC"; then
   3127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3128 $as_echo "$ac_ct_CC" >&6; }
   3129 else
   3130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3131 $as_echo "no" >&6; }
   3132 fi
   3133 
   3134 
   3135   test -n "$ac_ct_CC" && break
   3136 done
   3137 
   3138   if test "x$ac_ct_CC" = x; then
   3139     CC=""
   3140   else
   3141     case $cross_compiling:$ac_tool_warned in
   3142 yes:)
   3143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3144 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3145 ac_tool_warned=yes ;;
   3146 esac
   3147     CC=$ac_ct_CC
   3148   fi
   3149 fi
   3150 
   3151 fi
   3152 
   3153 
   3154 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3155 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3156 as_fn_error $? "no acceptable C compiler found in \$PATH
   3157 See \`config.log' for more details" "$LINENO" 5; }
   3158 
   3159 # Provide some information about the compiler.
   3160 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3161 set X $ac_compile
   3162 ac_compiler=$2
   3163 for ac_option in --version -v -V -qversion; do
   3164   { { ac_try="$ac_compiler $ac_option >&5"
   3165 case "(($ac_try" in
   3166   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3167   *) ac_try_echo=$ac_try;;
   3168 esac
   3169 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3170 $as_echo "$ac_try_echo"; } >&5
   3171   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3172   ac_status=$?
   3173   if test -s conftest.err; then
   3174     sed '10a\
   3175 ... rest of stderr output deleted ...
   3176          10q' conftest.err >conftest.er1
   3177     cat conftest.er1 >&5
   3178   fi
   3179   rm -f conftest.er1 conftest.err
   3180   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3181   test $ac_status = 0; }
   3182 done
   3183 
   3184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3185 /* end confdefs.h.  */
   3186 
   3187 int
   3188 main ()
   3189 {
   3190 
   3191   ;
   3192   return 0;
   3193 }
   3194 _ACEOF
   3195 ac_clean_files_save=$ac_clean_files
   3196 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3197 # Try to create an executable without -o first, disregard a.out.
   3198 # It will help us diagnose broken compilers, and finding out an intuition
   3199 # of exeext.
   3200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3201 $as_echo_n "checking whether the C compiler works... " >&6; }
   3202 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3203 
   3204 # The possible output files:
   3205 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3206 
   3207 ac_rmfiles=
   3208 for ac_file in $ac_files
   3209 do
   3210   case $ac_file in
   3211     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3212     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3213   esac
   3214 done
   3215 rm -f $ac_rmfiles
   3216 
   3217 if { { ac_try="$ac_link_default"
   3218 case "(($ac_try" in
   3219   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3220   *) ac_try_echo=$ac_try;;
   3221 esac
   3222 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3223 $as_echo "$ac_try_echo"; } >&5
   3224   (eval "$ac_link_default") 2>&5
   3225   ac_status=$?
   3226   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3227   test $ac_status = 0; }; then :
   3228   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3229 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3230 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3231 # so that the user can short-circuit this test for compilers unknown to
   3232 # Autoconf.
   3233 for ac_file in $ac_files ''
   3234 do
   3235   test -f "$ac_file" || continue
   3236   case $ac_file in
   3237     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3238 	;;
   3239     [ab].out )
   3240 	# We found the default executable, but exeext='' is most
   3241 	# certainly right.
   3242 	break;;
   3243     *.* )
   3244 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3245 	then :; else
   3246 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3247 	fi
   3248 	# We set ac_cv_exeext here because the later test for it is not
   3249 	# safe: cross compilers may not add the suffix if given an `-o'
   3250 	# argument, so we may need to know it at that point already.
   3251 	# Even if this section looks crufty: it has the advantage of
   3252 	# actually working.
   3253 	break;;
   3254     * )
   3255 	break;;
   3256   esac
   3257 done
   3258 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3259 
   3260 else
   3261   ac_file=''
   3262 fi
   3263 if test -z "$ac_file"; then :
   3264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3265 $as_echo "no" >&6; }
   3266 $as_echo "$as_me: failed program was:" >&5
   3267 sed 's/^/| /' conftest.$ac_ext >&5
   3268 
   3269 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3270 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3271 as_fn_error 77 "C compiler cannot create executables
   3272 See \`config.log' for more details" "$LINENO" 5; }
   3273 else
   3274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3275 $as_echo "yes" >&6; }
   3276 fi
   3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3278 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3280 $as_echo "$ac_file" >&6; }
   3281 ac_exeext=$ac_cv_exeext
   3282 
   3283 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3284 ac_clean_files=$ac_clean_files_save
   3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3286 $as_echo_n "checking for suffix of executables... " >&6; }
   3287 if { { ac_try="$ac_link"
   3288 case "(($ac_try" in
   3289   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3290   *) ac_try_echo=$ac_try;;
   3291 esac
   3292 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3293 $as_echo "$ac_try_echo"; } >&5
   3294   (eval "$ac_link") 2>&5
   3295   ac_status=$?
   3296   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3297   test $ac_status = 0; }; then :
   3298   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3299 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3300 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3301 # `rm'.
   3302 for ac_file in conftest.exe conftest conftest.*; do
   3303   test -f "$ac_file" || continue
   3304   case $ac_file in
   3305     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3306     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3307 	  break;;
   3308     * ) break;;
   3309   esac
   3310 done
   3311 else
   3312   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3313 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3314 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3315 See \`config.log' for more details" "$LINENO" 5; }
   3316 fi
   3317 rm -f conftest conftest$ac_cv_exeext
   3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3319 $as_echo "$ac_cv_exeext" >&6; }
   3320 
   3321 rm -f conftest.$ac_ext
   3322 EXEEXT=$ac_cv_exeext
   3323 ac_exeext=$EXEEXT
   3324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3325 /* end confdefs.h.  */
   3326 #include <stdio.h>
   3327 int
   3328 main ()
   3329 {
   3330 FILE *f = fopen ("conftest.out", "w");
   3331  return ferror (f) || fclose (f) != 0;
   3332 
   3333   ;
   3334   return 0;
   3335 }
   3336 _ACEOF
   3337 ac_clean_files="$ac_clean_files conftest.out"
   3338 # Check that the compiler produces executables we can run.  If not, either
   3339 # the compiler is broken, or we cross compile.
   3340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3341 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3342 if test "$cross_compiling" != yes; then
   3343   { { ac_try="$ac_link"
   3344 case "(($ac_try" in
   3345   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3346   *) ac_try_echo=$ac_try;;
   3347 esac
   3348 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3349 $as_echo "$ac_try_echo"; } >&5
   3350   (eval "$ac_link") 2>&5
   3351   ac_status=$?
   3352   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3353   test $ac_status = 0; }
   3354   if { ac_try='./conftest$ac_cv_exeext'
   3355   { { case "(($ac_try" in
   3356   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3357   *) ac_try_echo=$ac_try;;
   3358 esac
   3359 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3360 $as_echo "$ac_try_echo"; } >&5
   3361   (eval "$ac_try") 2>&5
   3362   ac_status=$?
   3363   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3364   test $ac_status = 0; }; }; then
   3365     cross_compiling=no
   3366   else
   3367     if test "$cross_compiling" = maybe; then
   3368 	cross_compiling=yes
   3369     else
   3370 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3371 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3372 as_fn_error $? "cannot run C compiled programs.
   3373 If you meant to cross compile, use \`--host'.
   3374 See \`config.log' for more details" "$LINENO" 5; }
   3375     fi
   3376   fi
   3377 fi
   3378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3379 $as_echo "$cross_compiling" >&6; }
   3380 
   3381 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3382 ac_clean_files=$ac_clean_files_save
   3383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3384 $as_echo_n "checking for suffix of object files... " >&6; }
   3385 if ${ac_cv_objext+:} false; then :
   3386   $as_echo_n "(cached) " >&6
   3387 else
   3388   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3389 /* end confdefs.h.  */
   3390 
   3391 int
   3392 main ()
   3393 {
   3394 
   3395   ;
   3396   return 0;
   3397 }
   3398 _ACEOF
   3399 rm -f conftest.o conftest.obj
   3400 if { { ac_try="$ac_compile"
   3401 case "(($ac_try" in
   3402   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3403   *) ac_try_echo=$ac_try;;
   3404 esac
   3405 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3406 $as_echo "$ac_try_echo"; } >&5
   3407   (eval "$ac_compile") 2>&5
   3408   ac_status=$?
   3409   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3410   test $ac_status = 0; }; then :
   3411   for ac_file in conftest.o conftest.obj conftest.*; do
   3412   test -f "$ac_file" || continue;
   3413   case $ac_file in
   3414     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3415     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3416        break;;
   3417   esac
   3418 done
   3419 else
   3420   $as_echo "$as_me: failed program was:" >&5
   3421 sed 's/^/| /' conftest.$ac_ext >&5
   3422 
   3423 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3424 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3425 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3426 See \`config.log' for more details" "$LINENO" 5; }
   3427 fi
   3428 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3429 fi
   3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3431 $as_echo "$ac_cv_objext" >&6; }
   3432 OBJEXT=$ac_cv_objext
   3433 ac_objext=$OBJEXT
   3434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3435 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3436 if ${ac_cv_c_compiler_gnu+:} false; then :
   3437   $as_echo_n "(cached) " >&6
   3438 else
   3439   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3440 /* end confdefs.h.  */
   3441 
   3442 int
   3443 main ()
   3444 {
   3445 #ifndef __GNUC__
   3446        choke me
   3447 #endif
   3448 
   3449   ;
   3450   return 0;
   3451 }
   3452 _ACEOF
   3453 if ac_fn_c_try_compile "$LINENO"; then :
   3454   ac_compiler_gnu=yes
   3455 else
   3456   ac_compiler_gnu=no
   3457 fi
   3458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3459 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3460 
   3461 fi
   3462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3463 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3464 if test $ac_compiler_gnu = yes; then
   3465   GCC=yes
   3466 else
   3467   GCC=
   3468 fi
   3469 ac_test_CFLAGS=${CFLAGS+set}
   3470 ac_save_CFLAGS=$CFLAGS
   3471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3472 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3473 if ${ac_cv_prog_cc_g+:} false; then :
   3474   $as_echo_n "(cached) " >&6
   3475 else
   3476   ac_save_c_werror_flag=$ac_c_werror_flag
   3477    ac_c_werror_flag=yes
   3478    ac_cv_prog_cc_g=no
   3479    CFLAGS="-g"
   3480    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3481 /* end confdefs.h.  */
   3482 
   3483 int
   3484 main ()
   3485 {
   3486 
   3487   ;
   3488   return 0;
   3489 }
   3490 _ACEOF
   3491 if ac_fn_c_try_compile "$LINENO"; then :
   3492   ac_cv_prog_cc_g=yes
   3493 else
   3494   CFLAGS=""
   3495       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3496 /* end confdefs.h.  */
   3497 
   3498 int
   3499 main ()
   3500 {
   3501 
   3502   ;
   3503   return 0;
   3504 }
   3505 _ACEOF
   3506 if ac_fn_c_try_compile "$LINENO"; then :
   3507 
   3508 else
   3509   ac_c_werror_flag=$ac_save_c_werror_flag
   3510 	 CFLAGS="-g"
   3511 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3512 /* end confdefs.h.  */
   3513 
   3514 int
   3515 main ()
   3516 {
   3517 
   3518   ;
   3519   return 0;
   3520 }
   3521 _ACEOF
   3522 if ac_fn_c_try_compile "$LINENO"; then :
   3523   ac_cv_prog_cc_g=yes
   3524 fi
   3525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3526 fi
   3527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3528 fi
   3529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3530    ac_c_werror_flag=$ac_save_c_werror_flag
   3531 fi
   3532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3533 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3534 if test "$ac_test_CFLAGS" = set; then
   3535   CFLAGS=$ac_save_CFLAGS
   3536 elif test $ac_cv_prog_cc_g = yes; then
   3537   if test "$GCC" = yes; then
   3538     CFLAGS="-g -O2"
   3539   else
   3540     CFLAGS="-g"
   3541   fi
   3542 else
   3543   if test "$GCC" = yes; then
   3544     CFLAGS="-O2"
   3545   else
   3546     CFLAGS=
   3547   fi
   3548 fi
   3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3550 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3551 if ${ac_cv_prog_cc_c89+:} false; then :
   3552   $as_echo_n "(cached) " >&6
   3553 else
   3554   ac_cv_prog_cc_c89=no
   3555 ac_save_CC=$CC
   3556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3557 /* end confdefs.h.  */
   3558 #include <stdarg.h>
   3559 #include <stdio.h>
   3560 struct stat;
   3561 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3562 struct buf { int x; };
   3563 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3564 static char *e (p, i)
   3565      char **p;
   3566      int i;
   3567 {
   3568   return p[i];
   3569 }
   3570 static char *f (char * (*g) (char **, int), char **p, ...)
   3571 {
   3572   char *s;
   3573   va_list v;
   3574   va_start (v,p);
   3575   s = g (p, va_arg (v,int));
   3576   va_end (v);
   3577   return s;
   3578 }
   3579 
   3580 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3581    function prototypes and stuff, but not '\xHH' hex character constants.
   3582    These don't provoke an error unfortunately, instead are silently treated
   3583    as 'x'.  The following induces an error, until -std is added to get
   3584    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3585    array size at least.  It's necessary to write '\x00'==0 to get something
   3586    that's true only with -std.  */
   3587 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3588 
   3589 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3590    inside strings and character constants.  */
   3591 #define FOO(x) 'x'
   3592 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3593 
   3594 int test (int i, double x);
   3595 struct s1 {int (*f) (int a);};
   3596 struct s2 {int (*f) (double a);};
   3597 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3598 int argc;
   3599 char **argv;
   3600 int
   3601 main ()
   3602 {
   3603 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3604   ;
   3605   return 0;
   3606 }
   3607 _ACEOF
   3608 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3609 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3610 do
   3611   CC="$ac_save_CC $ac_arg"
   3612   if ac_fn_c_try_compile "$LINENO"; then :
   3613   ac_cv_prog_cc_c89=$ac_arg
   3614 fi
   3615 rm -f core conftest.err conftest.$ac_objext
   3616   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3617 done
   3618 rm -f conftest.$ac_ext
   3619 CC=$ac_save_CC
   3620 
   3621 fi
   3622 # AC_CACHE_VAL
   3623 case "x$ac_cv_prog_cc_c89" in
   3624   x)
   3625     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3626 $as_echo "none needed" >&6; } ;;
   3627   xno)
   3628     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3629 $as_echo "unsupported" >&6; } ;;
   3630   *)
   3631     CC="$CC $ac_cv_prog_cc_c89"
   3632     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3633 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3634 esac
   3635 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3636 
   3637 fi
   3638 
   3639 ac_ext=c
   3640 ac_cpp='$CPP $CPPFLAGS'
   3641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3644 
   3645 ac_ext=c
   3646 ac_cpp='$CPP $CPPFLAGS'
   3647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3651 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3652 if ${am_cv_prog_cc_c_o+:} false; then :
   3653   $as_echo_n "(cached) " >&6
   3654 else
   3655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3656 /* end confdefs.h.  */
   3657 
   3658 int
   3659 main ()
   3660 {
   3661 
   3662   ;
   3663   return 0;
   3664 }
   3665 _ACEOF
   3666   # Make sure it works both with $CC and with simple cc.
   3667   # Following AC_PROG_CC_C_O, we do the test twice because some
   3668   # compilers refuse to overwrite an existing .o file with -o,
   3669   # though they will create one.
   3670   am_cv_prog_cc_c_o=yes
   3671   for am_i in 1 2; do
   3672     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3673    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3674    ac_status=$?
   3675    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3676    (exit $ac_status); } \
   3677          && test -f conftest2.$ac_objext; then
   3678       : OK
   3679     else
   3680       am_cv_prog_cc_c_o=no
   3681       break
   3682     fi
   3683   done
   3684   rm -f core conftest*
   3685   unset am_i
   3686 fi
   3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3688 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3689 if test "$am_cv_prog_cc_c_o" != yes; then
   3690    # Losing compiler, so override with the script.
   3691    # FIXME: It is wrong to rewrite CC.
   3692    # But if we don't then we get into trouble of one sort or another.
   3693    # A longer-term fix would be to have automake use am__CC in this case,
   3694    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3695    CC="$am_aux_dir/compile $CC"
   3696 fi
   3697 ac_ext=c
   3698 ac_cpp='$CPP $CPPFLAGS'
   3699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3702 
   3703 
   3704 depcc="$CC"   am_compiler_list=
   3705 
   3706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3707 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3708 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3709   $as_echo_n "(cached) " >&6
   3710 else
   3711   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3712   # We make a subdir and do the tests there.  Otherwise we can end up
   3713   # making bogus files that we don't know about and never remove.  For
   3714   # instance it was reported that on HP-UX the gcc test will end up
   3715   # making a dummy file named 'D' -- because '-MD' means "put the output
   3716   # in D".
   3717   rm -rf conftest.dir
   3718   mkdir conftest.dir
   3719   # Copy depcomp to subdir because otherwise we won't find it if we're
   3720   # using a relative directory.
   3721   cp "$am_depcomp" conftest.dir
   3722   cd conftest.dir
   3723   # We will build objects and dependencies in a subdirectory because
   3724   # it helps to detect inapplicable dependency modes.  For instance
   3725   # both Tru64's cc and ICC support -MD to output dependencies as a
   3726   # side effect of compilation, but ICC will put the dependencies in
   3727   # the current directory while Tru64 will put them in the object
   3728   # directory.
   3729   mkdir sub
   3730 
   3731   am_cv_CC_dependencies_compiler_type=none
   3732   if test "$am_compiler_list" = ""; then
   3733      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3734   fi
   3735   am__universal=false
   3736   case " $depcc " in #(
   3737      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3738      esac
   3739 
   3740   for depmode in $am_compiler_list; do
   3741     # Setup a source with many dependencies, because some compilers
   3742     # like to wrap large dependency lists on column 80 (with \), and
   3743     # we should not choose a depcomp mode which is confused by this.
   3744     #
   3745     # We need to recreate these files for each test, as the compiler may
   3746     # overwrite some of them when testing with obscure command lines.
   3747     # This happens at least with the AIX C compiler.
   3748     : > sub/conftest.c
   3749     for i in 1 2 3 4 5 6; do
   3750       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3751       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3752       # Solaris 10 /bin/sh.
   3753       echo '/* dummy */' > sub/conftst$i.h
   3754     done
   3755     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3756 
   3757     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3758     # mode.  It turns out that the SunPro C++ compiler does not properly
   3759     # handle '-M -o', and we need to detect this.  Also, some Intel
   3760     # versions had trouble with output in subdirs.
   3761     am__obj=sub/conftest.${OBJEXT-o}
   3762     am__minus_obj="-o $am__obj"
   3763     case $depmode in
   3764     gcc)
   3765       # This depmode causes a compiler race in universal mode.
   3766       test "$am__universal" = false || continue
   3767       ;;
   3768     nosideeffect)
   3769       # After this tag, mechanisms are not by side-effect, so they'll
   3770       # only be used when explicitly requested.
   3771       if test "x$enable_dependency_tracking" = xyes; then
   3772 	continue
   3773       else
   3774 	break
   3775       fi
   3776       ;;
   3777     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3778       # This compiler won't grok '-c -o', but also, the minuso test has
   3779       # not run yet.  These depmodes are late enough in the game, and
   3780       # so weak that their functioning should not be impacted.
   3781       am__obj=conftest.${OBJEXT-o}
   3782       am__minus_obj=
   3783       ;;
   3784     none) break ;;
   3785     esac
   3786     if depmode=$depmode \
   3787        source=sub/conftest.c object=$am__obj \
   3788        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3789        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3790          >/dev/null 2>conftest.err &&
   3791        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3792        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3793        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3794        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3795       # icc doesn't choke on unknown options, it will just issue warnings
   3796       # or remarks (even with -Werror).  So we grep stderr for any message
   3797       # that says an option was ignored or not supported.
   3798       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3799       #   icc: Command line warning: ignoring option '-M'; no argument required
   3800       # The diagnosis changed in icc 8.0:
   3801       #   icc: Command line remark: option '-MP' not supported
   3802       if (grep 'ignoring option' conftest.err ||
   3803           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3804         am_cv_CC_dependencies_compiler_type=$depmode
   3805         break
   3806       fi
   3807     fi
   3808   done
   3809 
   3810   cd ..
   3811   rm -rf conftest.dir
   3812 else
   3813   am_cv_CC_dependencies_compiler_type=none
   3814 fi
   3815 
   3816 fi
   3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3818 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3819 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3820 
   3821  if
   3822   test "x$enable_dependency_tracking" != xno \
   3823   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3824   am__fastdepCC_TRUE=
   3825   am__fastdepCC_FALSE='#'
   3826 else
   3827   am__fastdepCC_TRUE='#'
   3828   am__fastdepCC_FALSE=
   3829 fi
   3830 
   3831 
   3832    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3833 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3834 if ${ac_cv_prog_cc_c99+:} false; then :
   3835   $as_echo_n "(cached) " >&6
   3836 else
   3837   ac_cv_prog_cc_c99=no
   3838 ac_save_CC=$CC
   3839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3840 /* end confdefs.h.  */
   3841 #include <stdarg.h>
   3842 #include <stdbool.h>
   3843 #include <stdlib.h>
   3844 #include <wchar.h>
   3845 #include <stdio.h>
   3846 
   3847 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3848 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3849 #define showlist(...) puts (#__VA_ARGS__)
   3850 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3851 static void
   3852 test_varargs_macros (void)
   3853 {
   3854   int x = 1234;
   3855   int y = 5678;
   3856   debug ("Flag");
   3857   debug ("X = %d\n", x);
   3858   showlist (The first, second, and third items.);
   3859   report (x>y, "x is %d but y is %d", x, y);
   3860 }
   3861 
   3862 // Check long long types.
   3863 #define BIG64 18446744073709551615ull
   3864 #define BIG32 4294967295ul
   3865 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3866 #if !BIG_OK
   3867   your preprocessor is broken;
   3868 #endif
   3869 #if BIG_OK
   3870 #else
   3871   your preprocessor is broken;
   3872 #endif
   3873 static long long int bignum = -9223372036854775807LL;
   3874 static unsigned long long int ubignum = BIG64;
   3875 
   3876 struct incomplete_array
   3877 {
   3878   int datasize;
   3879   double data[];
   3880 };
   3881 
   3882 struct named_init {
   3883   int number;
   3884   const wchar_t *name;
   3885   double average;
   3886 };
   3887 
   3888 typedef const char *ccp;
   3889 
   3890 static inline int
   3891 test_restrict (ccp restrict text)
   3892 {
   3893   // See if C++-style comments work.
   3894   // Iterate through items via the restricted pointer.
   3895   // Also check for declarations in for loops.
   3896   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3897     continue;
   3898   return 0;
   3899 }
   3900 
   3901 // Check varargs and va_copy.
   3902 static void
   3903 test_varargs (const char *format, ...)
   3904 {
   3905   va_list args;
   3906   va_start (args, format);
   3907   va_list args_copy;
   3908   va_copy (args_copy, args);
   3909 
   3910   const char *str;
   3911   int number;
   3912   float fnumber;
   3913 
   3914   while (*format)
   3915     {
   3916       switch (*format++)
   3917 	{
   3918 	case 's': // string
   3919 	  str = va_arg (args_copy, const char *);
   3920 	  break;
   3921 	case 'd': // int
   3922 	  number = va_arg (args_copy, int);
   3923 	  break;
   3924 	case 'f': // float
   3925 	  fnumber = va_arg (args_copy, double);
   3926 	  break;
   3927 	default:
   3928 	  break;
   3929 	}
   3930     }
   3931   va_end (args_copy);
   3932   va_end (args);
   3933 }
   3934 
   3935 int
   3936 main ()
   3937 {
   3938 
   3939   // Check bool.
   3940   _Bool success = false;
   3941 
   3942   // Check restrict.
   3943   if (test_restrict ("String literal") == 0)
   3944     success = true;
   3945   char *restrict newvar = "Another string";
   3946 
   3947   // Check varargs.
   3948   test_varargs ("s, d' f .", "string", 65, 34.234);
   3949   test_varargs_macros ();
   3950 
   3951   // Check flexible array members.
   3952   struct incomplete_array *ia =
   3953     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3954   ia->datasize = 10;
   3955   for (int i = 0; i < ia->datasize; ++i)
   3956     ia->data[i] = i * 1.234;
   3957 
   3958   // Check named initializers.
   3959   struct named_init ni = {
   3960     .number = 34,
   3961     .name = L"Test wide string",
   3962     .average = 543.34343,
   3963   };
   3964 
   3965   ni.number = 58;
   3966 
   3967   int dynamic_array[ni.number];
   3968   dynamic_array[ni.number - 1] = 543;
   3969 
   3970   // work around unused variable warnings
   3971   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3972 	  || dynamic_array[ni.number - 1] != 543);
   3973 
   3974   ;
   3975   return 0;
   3976 }
   3977 _ACEOF
   3978 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   3979 do
   3980   CC="$ac_save_CC $ac_arg"
   3981   if ac_fn_c_try_compile "$LINENO"; then :
   3982   ac_cv_prog_cc_c99=$ac_arg
   3983 fi
   3984 rm -f core conftest.err conftest.$ac_objext
   3985   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3986 done
   3987 rm -f conftest.$ac_ext
   3988 CC=$ac_save_CC
   3989 
   3990 fi
   3991 # AC_CACHE_VAL
   3992 case "x$ac_cv_prog_cc_c99" in
   3993   x)
   3994     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3995 $as_echo "none needed" >&6; } ;;
   3996   xno)
   3997     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3998 $as_echo "unsupported" >&6; } ;;
   3999   *)
   4000     CC="$CC $ac_cv_prog_cc_c99"
   4001     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4002 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4003 esac
   4004 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4005 
   4006 fi
   4007 
   4008 
   4009 
   4010 ac_ext=c
   4011 ac_cpp='$CPP $CPPFLAGS'
   4012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4016 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4017 # On Suns, sometimes $CPP names a directory.
   4018 if test -n "$CPP" && test -d "$CPP"; then
   4019   CPP=
   4020 fi
   4021 if test -z "$CPP"; then
   4022   if ${ac_cv_prog_CPP+:} false; then :
   4023   $as_echo_n "(cached) " >&6
   4024 else
   4025       # Double quotes because CPP needs to be expanded
   4026     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4027     do
   4028       ac_preproc_ok=false
   4029 for ac_c_preproc_warn_flag in '' yes
   4030 do
   4031   # Use a header file that comes with gcc, so configuring glibc
   4032   # with a fresh cross-compiler works.
   4033   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4034   # <limits.h> exists even on freestanding compilers.
   4035   # On the NeXT, cc -E runs the code through the compiler's parser,
   4036   # not just through cpp. "Syntax error" is here to catch this case.
   4037   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4038 /* end confdefs.h.  */
   4039 #ifdef __STDC__
   4040 # include <limits.h>
   4041 #else
   4042 # include <assert.h>
   4043 #endif
   4044 		     Syntax error
   4045 _ACEOF
   4046 if ac_fn_c_try_cpp "$LINENO"; then :
   4047 
   4048 else
   4049   # Broken: fails on valid input.
   4050 continue
   4051 fi
   4052 rm -f conftest.err conftest.i conftest.$ac_ext
   4053 
   4054   # OK, works on sane cases.  Now check whether nonexistent headers
   4055   # can be detected and how.
   4056   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4057 /* end confdefs.h.  */
   4058 #include <ac_nonexistent.h>
   4059 _ACEOF
   4060 if ac_fn_c_try_cpp "$LINENO"; then :
   4061   # Broken: success on invalid input.
   4062 continue
   4063 else
   4064   # Passes both tests.
   4065 ac_preproc_ok=:
   4066 break
   4067 fi
   4068 rm -f conftest.err conftest.i conftest.$ac_ext
   4069 
   4070 done
   4071 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4072 rm -f conftest.i conftest.err conftest.$ac_ext
   4073 if $ac_preproc_ok; then :
   4074   break
   4075 fi
   4076 
   4077     done
   4078     ac_cv_prog_CPP=$CPP
   4079 
   4080 fi
   4081   CPP=$ac_cv_prog_CPP
   4082 else
   4083   ac_cv_prog_CPP=$CPP
   4084 fi
   4085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4086 $as_echo "$CPP" >&6; }
   4087 ac_preproc_ok=false
   4088 for ac_c_preproc_warn_flag in '' yes
   4089 do
   4090   # Use a header file that comes with gcc, so configuring glibc
   4091   # with a fresh cross-compiler works.
   4092   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4093   # <limits.h> exists even on freestanding compilers.
   4094   # On the NeXT, cc -E runs the code through the compiler's parser,
   4095   # not just through cpp. "Syntax error" is here to catch this case.
   4096   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4097 /* end confdefs.h.  */
   4098 #ifdef __STDC__
   4099 # include <limits.h>
   4100 #else
   4101 # include <assert.h>
   4102 #endif
   4103 		     Syntax error
   4104 _ACEOF
   4105 if ac_fn_c_try_cpp "$LINENO"; then :
   4106 
   4107 else
   4108   # Broken: fails on valid input.
   4109 continue
   4110 fi
   4111 rm -f conftest.err conftest.i conftest.$ac_ext
   4112 
   4113   # OK, works on sane cases.  Now check whether nonexistent headers
   4114   # can be detected and how.
   4115   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4116 /* end confdefs.h.  */
   4117 #include <ac_nonexistent.h>
   4118 _ACEOF
   4119 if ac_fn_c_try_cpp "$LINENO"; then :
   4120   # Broken: success on invalid input.
   4121 continue
   4122 else
   4123   # Passes both tests.
   4124 ac_preproc_ok=:
   4125 break
   4126 fi
   4127 rm -f conftest.err conftest.i conftest.$ac_ext
   4128 
   4129 done
   4130 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4131 rm -f conftest.i conftest.err conftest.$ac_ext
   4132 if $ac_preproc_ok; then :
   4133 
   4134 else
   4135   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4136 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4137 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4138 See \`config.log' for more details" "$LINENO" 5; }
   4139 fi
   4140 
   4141 ac_ext=c
   4142 ac_cpp='$CPP $CPPFLAGS'
   4143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4146 
   4147 
   4148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4149 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4150 if ${ac_cv_path_GREP+:} false; then :
   4151   $as_echo_n "(cached) " >&6
   4152 else
   4153   if test -z "$GREP"; then
   4154   ac_path_GREP_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 grep ggrep; do
   4162     for ac_exec_ext in '' $ac_executable_extensions; do
   4163       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4164       as_fn_executable_p "$ac_path_GREP" || continue
   4165 # Check for GNU ac_path_GREP and select it if it is found.
   4166   # Check for GNU $ac_path_GREP
   4167 case `"$ac_path_GREP" --version 2>&1` in
   4168 *GNU*)
   4169   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_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 'GREP' >> "conftest.nl"
   4179     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "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_GREP_max-0}; then
   4183       # Best one so far, save it but keep looking for a better one
   4184       ac_cv_path_GREP="$ac_path_GREP"
   4185       ac_path_GREP_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_GREP_found && break 3
   4194     done
   4195   done
   4196   done
   4197 IFS=$as_save_IFS
   4198   if test -z "$ac_cv_path_GREP"; then
   4199     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4200   fi
   4201 else
   4202   ac_cv_path_GREP=$GREP
   4203 fi
   4204 
   4205 fi
   4206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4207 $as_echo "$ac_cv_path_GREP" >&6; }
   4208  GREP="$ac_cv_path_GREP"
   4209 
   4210 
   4211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4212 $as_echo_n "checking for egrep... " >&6; }
   4213 if ${ac_cv_path_EGREP+:} false; then :
   4214   $as_echo_n "(cached) " >&6
   4215 else
   4216   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4217    then ac_cv_path_EGREP="$GREP -E"
   4218    else
   4219      if test -z "$EGREP"; then
   4220   ac_path_EGREP_found=false
   4221   # Loop through the user's path and test for each of PROGNAME-LIST
   4222   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4223 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4224 do
   4225   IFS=$as_save_IFS
   4226   test -z "$as_dir" && as_dir=.
   4227     for ac_prog in egrep; do
   4228     for ac_exec_ext in '' $ac_executable_extensions; do
   4229       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4230       as_fn_executable_p "$ac_path_EGREP" || continue
   4231 # Check for GNU ac_path_EGREP and select it if it is found.
   4232   # Check for GNU $ac_path_EGREP
   4233 case `"$ac_path_EGREP" --version 2>&1` in
   4234 *GNU*)
   4235   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4236 *)
   4237   ac_count=0
   4238   $as_echo_n 0123456789 >"conftest.in"
   4239   while :
   4240   do
   4241     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4242     mv "conftest.tmp" "conftest.in"
   4243     cp "conftest.in" "conftest.nl"
   4244     $as_echo 'EGREP' >> "conftest.nl"
   4245     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4246     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4247     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4248     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4249       # Best one so far, save it but keep looking for a better one
   4250       ac_cv_path_EGREP="$ac_path_EGREP"
   4251       ac_path_EGREP_max=$ac_count
   4252     fi
   4253     # 10*(2^10) chars as input seems more than enough
   4254     test $ac_count -gt 10 && break
   4255   done
   4256   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4257 esac
   4258 
   4259       $ac_path_EGREP_found && break 3
   4260     done
   4261   done
   4262   done
   4263 IFS=$as_save_IFS
   4264   if test -z "$ac_cv_path_EGREP"; then
   4265     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4266   fi
   4267 else
   4268   ac_cv_path_EGREP=$EGREP
   4269 fi
   4270 
   4271    fi
   4272 fi
   4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4274 $as_echo "$ac_cv_path_EGREP" >&6; }
   4275  EGREP="$ac_cv_path_EGREP"
   4276 
   4277 
   4278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4279 $as_echo_n "checking for ANSI C header files... " >&6; }
   4280 if ${ac_cv_header_stdc+:} false; then :
   4281   $as_echo_n "(cached) " >&6
   4282 else
   4283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4284 /* end confdefs.h.  */
   4285 #include <stdlib.h>
   4286 #include <stdarg.h>
   4287 #include <string.h>
   4288 #include <float.h>
   4289 
   4290 int
   4291 main ()
   4292 {
   4293 
   4294   ;
   4295   return 0;
   4296 }
   4297 _ACEOF
   4298 if ac_fn_c_try_compile "$LINENO"; then :
   4299   ac_cv_header_stdc=yes
   4300 else
   4301   ac_cv_header_stdc=no
   4302 fi
   4303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4304 
   4305 if test $ac_cv_header_stdc = yes; then
   4306   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4308 /* end confdefs.h.  */
   4309 #include <string.h>
   4310 
   4311 _ACEOF
   4312 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4313   $EGREP "memchr" >/dev/null 2>&1; then :
   4314 
   4315 else
   4316   ac_cv_header_stdc=no
   4317 fi
   4318 rm -f conftest*
   4319 
   4320 fi
   4321 
   4322 if test $ac_cv_header_stdc = yes; then
   4323   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4325 /* end confdefs.h.  */
   4326 #include <stdlib.h>
   4327 
   4328 _ACEOF
   4329 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4330   $EGREP "free" >/dev/null 2>&1; then :
   4331 
   4332 else
   4333   ac_cv_header_stdc=no
   4334 fi
   4335 rm -f conftest*
   4336 
   4337 fi
   4338 
   4339 if test $ac_cv_header_stdc = yes; then
   4340   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4341   if test "$cross_compiling" = yes; then :
   4342   :
   4343 else
   4344   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4345 /* end confdefs.h.  */
   4346 #include <ctype.h>
   4347 #include <stdlib.h>
   4348 #if ((' ' & 0x0FF) == 0x020)
   4349 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4350 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4351 #else
   4352 # define ISLOWER(c) \
   4353 		   (('a' <= (c) && (c) <= 'i') \
   4354 		     || ('j' <= (c) && (c) <= 'r') \
   4355 		     || ('s' <= (c) && (c) <= 'z'))
   4356 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4357 #endif
   4358 
   4359 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4360 int
   4361 main ()
   4362 {
   4363   int i;
   4364   for (i = 0; i < 256; i++)
   4365     if (XOR (islower (i), ISLOWER (i))
   4366 	|| toupper (i) != TOUPPER (i))
   4367       return 2;
   4368   return 0;
   4369 }
   4370 _ACEOF
   4371 if ac_fn_c_try_run "$LINENO"; then :
   4372 
   4373 else
   4374   ac_cv_header_stdc=no
   4375 fi
   4376 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4377   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4378 fi
   4379 
   4380 fi
   4381 fi
   4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4383 $as_echo "$ac_cv_header_stdc" >&6; }
   4384 if test $ac_cv_header_stdc = yes; then
   4385 
   4386 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4387 
   4388 fi
   4389 
   4390 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4391 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4392 		  inttypes.h stdint.h unistd.h
   4393 do :
   4394   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4395 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4396 "
   4397 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4398   cat >>confdefs.h <<_ACEOF
   4399 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4400 _ACEOF
   4401 
   4402 fi
   4403 
   4404 done
   4405 
   4406 
   4407 
   4408 
   4409 
   4410 
   4411 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4412 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4413   CLANGCC="yes"
   4414 else
   4415   CLANGCC="no"
   4416 fi
   4417 
   4418 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4419 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4420   INTELCC="yes"
   4421 else
   4422   INTELCC="no"
   4423 fi
   4424 
   4425 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4426 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4427   SUNCC="yes"
   4428 else
   4429   SUNCC="no"
   4430 fi
   4431 
   4432 
   4433 
   4434 
   4435 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4436 	if test -n "$ac_tool_prefix"; then
   4437   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4438 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4440 $as_echo_n "checking for $ac_word... " >&6; }
   4441 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4442   $as_echo_n "(cached) " >&6
   4443 else
   4444   case $PKG_CONFIG in
   4445   [\\/]* | ?:[\\/]*)
   4446   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4447   ;;
   4448   *)
   4449   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4450 for as_dir in $PATH
   4451 do
   4452   IFS=$as_save_IFS
   4453   test -z "$as_dir" && as_dir=.
   4454     for ac_exec_ext in '' $ac_executable_extensions; do
   4455   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4456     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4457     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4458     break 2
   4459   fi
   4460 done
   4461   done
   4462 IFS=$as_save_IFS
   4463 
   4464   ;;
   4465 esac
   4466 fi
   4467 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4468 if test -n "$PKG_CONFIG"; then
   4469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4470 $as_echo "$PKG_CONFIG" >&6; }
   4471 else
   4472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4473 $as_echo "no" >&6; }
   4474 fi
   4475 
   4476 
   4477 fi
   4478 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4479   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4480   # Extract the first word of "pkg-config", so it can be a program name with args.
   4481 set dummy pkg-config; ac_word=$2
   4482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4483 $as_echo_n "checking for $ac_word... " >&6; }
   4484 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4485   $as_echo_n "(cached) " >&6
   4486 else
   4487   case $ac_pt_PKG_CONFIG in
   4488   [\\/]* | ?:[\\/]*)
   4489   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4490   ;;
   4491   *)
   4492   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4493 for as_dir in $PATH
   4494 do
   4495   IFS=$as_save_IFS
   4496   test -z "$as_dir" && as_dir=.
   4497     for ac_exec_ext in '' $ac_executable_extensions; do
   4498   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4499     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4500     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4501     break 2
   4502   fi
   4503 done
   4504   done
   4505 IFS=$as_save_IFS
   4506 
   4507   ;;
   4508 esac
   4509 fi
   4510 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4511 if test -n "$ac_pt_PKG_CONFIG"; then
   4512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4513 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4514 else
   4515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4516 $as_echo "no" >&6; }
   4517 fi
   4518 
   4519   if test "x$ac_pt_PKG_CONFIG" = x; then
   4520     PKG_CONFIG=""
   4521   else
   4522     case $cross_compiling:$ac_tool_warned in
   4523 yes:)
   4524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4525 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4526 ac_tool_warned=yes ;;
   4527 esac
   4528     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4529   fi
   4530 else
   4531   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4532 fi
   4533 
   4534 fi
   4535 if test -n "$PKG_CONFIG"; then
   4536 	_pkg_min_version=0.9.0
   4537 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4538 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4539 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4540 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4541 $as_echo "yes" >&6; }
   4542 	else
   4543 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4544 $as_echo "no" >&6; }
   4545 		PKG_CONFIG=""
   4546 	fi
   4547 
   4548 fi
   4549 # Make sure we can run config.sub.
   4550 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4551   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4552 
   4553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4554 $as_echo_n "checking build system type... " >&6; }
   4555 if ${ac_cv_build+:} false; then :
   4556   $as_echo_n "(cached) " >&6
   4557 else
   4558   ac_build_alias=$build_alias
   4559 test "x$ac_build_alias" = x &&
   4560   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4561 test "x$ac_build_alias" = x &&
   4562   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4563 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4564   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4565 
   4566 fi
   4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4568 $as_echo "$ac_cv_build" >&6; }
   4569 case $ac_cv_build in
   4570 *-*-*) ;;
   4571 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4572 esac
   4573 build=$ac_cv_build
   4574 ac_save_IFS=$IFS; IFS='-'
   4575 set x $ac_cv_build
   4576 shift
   4577 build_cpu=$1
   4578 build_vendor=$2
   4579 shift; shift
   4580 # Remember, the first character of IFS is used to create $*,
   4581 # except with old shells:
   4582 build_os=$*
   4583 IFS=$ac_save_IFS
   4584 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4585 
   4586 
   4587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4588 $as_echo_n "checking host system type... " >&6; }
   4589 if ${ac_cv_host+:} false; then :
   4590   $as_echo_n "(cached) " >&6
   4591 else
   4592   if test "x$host_alias" = x; then
   4593   ac_cv_host=$ac_cv_build
   4594 else
   4595   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4596     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4597 fi
   4598 
   4599 fi
   4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4601 $as_echo "$ac_cv_host" >&6; }
   4602 case $ac_cv_host in
   4603 *-*-*) ;;
   4604 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4605 esac
   4606 host=$ac_cv_host
   4607 ac_save_IFS=$IFS; IFS='-'
   4608 set x $ac_cv_host
   4609 shift
   4610 host_cpu=$1
   4611 host_vendor=$2
   4612 shift; shift
   4613 # Remember, the first character of IFS is used to create $*,
   4614 # except with old shells:
   4615 host_os=$*
   4616 IFS=$ac_save_IFS
   4617 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4618 
   4619 
   4620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4621 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4622 if ${ac_cv_path_SED+:} false; then :
   4623   $as_echo_n "(cached) " >&6
   4624 else
   4625             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4626      for ac_i in 1 2 3 4 5 6 7; do
   4627        ac_script="$ac_script$as_nl$ac_script"
   4628      done
   4629      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4630      { ac_script=; unset ac_script;}
   4631      if test -z "$SED"; then
   4632   ac_path_SED_found=false
   4633   # Loop through the user's path and test for each of PROGNAME-LIST
   4634   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4635 for as_dir in $PATH
   4636 do
   4637   IFS=$as_save_IFS
   4638   test -z "$as_dir" && as_dir=.
   4639     for ac_prog in sed gsed; do
   4640     for ac_exec_ext in '' $ac_executable_extensions; do
   4641       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4642       as_fn_executable_p "$ac_path_SED" || continue
   4643 # Check for GNU ac_path_SED and select it if it is found.
   4644   # Check for GNU $ac_path_SED
   4645 case `"$ac_path_SED" --version 2>&1` in
   4646 *GNU*)
   4647   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4648 *)
   4649   ac_count=0
   4650   $as_echo_n 0123456789 >"conftest.in"
   4651   while :
   4652   do
   4653     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4654     mv "conftest.tmp" "conftest.in"
   4655     cp "conftest.in" "conftest.nl"
   4656     $as_echo '' >> "conftest.nl"
   4657     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4658     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4659     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4660     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4661       # Best one so far, save it but keep looking for a better one
   4662       ac_cv_path_SED="$ac_path_SED"
   4663       ac_path_SED_max=$ac_count
   4664     fi
   4665     # 10*(2^10) chars as input seems more than enough
   4666     test $ac_count -gt 10 && break
   4667   done
   4668   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4669 esac
   4670 
   4671       $ac_path_SED_found && break 3
   4672     done
   4673   done
   4674   done
   4675 IFS=$as_save_IFS
   4676   if test -z "$ac_cv_path_SED"; then
   4677     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4678   fi
   4679 else
   4680   ac_cv_path_SED=$SED
   4681 fi
   4682 
   4683 fi
   4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4685 $as_echo "$ac_cv_path_SED" >&6; }
   4686  SED="$ac_cv_path_SED"
   4687   rm -f conftest.sed
   4688 
   4689 
   4690 
   4691 
   4692 
   4693 
   4694 # Check whether --enable-selective-werror was given.
   4695 if test "${enable_selective_werror+set}" = set; then :
   4696   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4697 else
   4698   SELECTIVE_WERROR=yes
   4699 fi
   4700 
   4701 
   4702 
   4703 
   4704 
   4705 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4706 if test "x$SUNCC" = "xyes"; then
   4707     BASE_CFLAGS="-v"
   4708 else
   4709     BASE_CFLAGS=""
   4710 fi
   4711 
   4712 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4713 
   4714 
   4715 
   4716 
   4717 
   4718 
   4719 
   4720 
   4721 
   4722 
   4723 
   4724 
   4725 
   4726 xorg_testset_save_CFLAGS="$CFLAGS"
   4727 
   4728 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4729 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4730 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4731 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4732 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4733   $as_echo_n "(cached) " >&6
   4734 else
   4735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4736 /* end confdefs.h.  */
   4737 int i;
   4738 _ACEOF
   4739 if ac_fn_c_try_compile "$LINENO"; then :
   4740   xorg_cv_cc_flag_unknown_warning_option=yes
   4741 else
   4742   xorg_cv_cc_flag_unknown_warning_option=no
   4743 fi
   4744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4745 fi
   4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4747 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4748 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4749 	CFLAGS="$xorg_testset_save_CFLAGS"
   4750 fi
   4751 
   4752 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4753 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4754 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4755 	fi
   4756 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4757 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4758 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4759 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4760   $as_echo_n "(cached) " >&6
   4761 else
   4762   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4763 /* end confdefs.h.  */
   4764 int i;
   4765 _ACEOF
   4766 if ac_fn_c_try_compile "$LINENO"; then :
   4767   xorg_cv_cc_flag_unused_command_line_argument=yes
   4768 else
   4769   xorg_cv_cc_flag_unused_command_line_argument=no
   4770 fi
   4771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4772 fi
   4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4774 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4775 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4776 	CFLAGS="$xorg_testset_save_CFLAGS"
   4777 fi
   4778 
   4779 found="no"
   4780 
   4781 	if test $found = "no" ; then
   4782 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4783 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4784 		fi
   4785 
   4786 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4787 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4788 		fi
   4789 
   4790 		CFLAGS="$CFLAGS -Wall"
   4791 
   4792 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4793 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4794 		cacheid=xorg_cv_cc_flag__Wall
   4795 		if eval \${$cacheid+:} false; then :
   4796   $as_echo_n "(cached) " >&6
   4797 else
   4798   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4799 /* end confdefs.h.  */
   4800 int i;
   4801 int
   4802 main ()
   4803 {
   4804 
   4805   ;
   4806   return 0;
   4807 }
   4808 _ACEOF
   4809 if ac_fn_c_try_link "$LINENO"; then :
   4810   eval $cacheid=yes
   4811 else
   4812   eval $cacheid=no
   4813 fi
   4814 rm -f core conftest.err conftest.$ac_objext \
   4815     conftest$ac_exeext conftest.$ac_ext
   4816 fi
   4817 
   4818 
   4819 		CFLAGS="$xorg_testset_save_CFLAGS"
   4820 
   4821 		eval supported=\$$cacheid
   4822 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4823 $as_echo "$supported" >&6; }
   4824 		if test "$supported" = "yes" ; then
   4825 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4826 			found="yes"
   4827 		fi
   4828 	fi
   4829 
   4830 
   4831 
   4832 
   4833 
   4834 
   4835 
   4836 
   4837 
   4838 
   4839 
   4840 
   4841 
   4842 
   4843 
   4844 xorg_testset_save_CFLAGS="$CFLAGS"
   4845 
   4846 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4847 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4848 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4849 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4850 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4851   $as_echo_n "(cached) " >&6
   4852 else
   4853   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4854 /* end confdefs.h.  */
   4855 int i;
   4856 _ACEOF
   4857 if ac_fn_c_try_compile "$LINENO"; then :
   4858   xorg_cv_cc_flag_unknown_warning_option=yes
   4859 else
   4860   xorg_cv_cc_flag_unknown_warning_option=no
   4861 fi
   4862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4863 fi
   4864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4865 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4866 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4867 	CFLAGS="$xorg_testset_save_CFLAGS"
   4868 fi
   4869 
   4870 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4871 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4872 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4873 	fi
   4874 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4875 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4876 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4877 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4878   $as_echo_n "(cached) " >&6
   4879 else
   4880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4881 /* end confdefs.h.  */
   4882 int i;
   4883 _ACEOF
   4884 if ac_fn_c_try_compile "$LINENO"; then :
   4885   xorg_cv_cc_flag_unused_command_line_argument=yes
   4886 else
   4887   xorg_cv_cc_flag_unused_command_line_argument=no
   4888 fi
   4889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4890 fi
   4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4892 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4893 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4894 	CFLAGS="$xorg_testset_save_CFLAGS"
   4895 fi
   4896 
   4897 found="no"
   4898 
   4899 	if test $found = "no" ; then
   4900 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4901 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4902 		fi
   4903 
   4904 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4905 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4906 		fi
   4907 
   4908 		CFLAGS="$CFLAGS -Wpointer-arith"
   4909 
   4910 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4911 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4912 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4913 		if eval \${$cacheid+:} false; then :
   4914   $as_echo_n "(cached) " >&6
   4915 else
   4916   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4917 /* end confdefs.h.  */
   4918 int i;
   4919 int
   4920 main ()
   4921 {
   4922 
   4923   ;
   4924   return 0;
   4925 }
   4926 _ACEOF
   4927 if ac_fn_c_try_link "$LINENO"; then :
   4928   eval $cacheid=yes
   4929 else
   4930   eval $cacheid=no
   4931 fi
   4932 rm -f core conftest.err conftest.$ac_objext \
   4933     conftest$ac_exeext conftest.$ac_ext
   4934 fi
   4935 
   4936 
   4937 		CFLAGS="$xorg_testset_save_CFLAGS"
   4938 
   4939 		eval supported=\$$cacheid
   4940 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4941 $as_echo "$supported" >&6; }
   4942 		if test "$supported" = "yes" ; then
   4943 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4944 			found="yes"
   4945 		fi
   4946 	fi
   4947 
   4948 
   4949 
   4950 
   4951 
   4952 
   4953 
   4954 
   4955 
   4956 
   4957 
   4958 
   4959 
   4960 
   4961 
   4962 xorg_testset_save_CFLAGS="$CFLAGS"
   4963 
   4964 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4965 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4966 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4967 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4968 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4969   $as_echo_n "(cached) " >&6
   4970 else
   4971   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4972 /* end confdefs.h.  */
   4973 int i;
   4974 _ACEOF
   4975 if ac_fn_c_try_compile "$LINENO"; then :
   4976   xorg_cv_cc_flag_unknown_warning_option=yes
   4977 else
   4978   xorg_cv_cc_flag_unknown_warning_option=no
   4979 fi
   4980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4981 fi
   4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4983 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4984 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4985 	CFLAGS="$xorg_testset_save_CFLAGS"
   4986 fi
   4987 
   4988 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4989 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4990 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4991 	fi
   4992 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4993 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4994 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4995 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4996   $as_echo_n "(cached) " >&6
   4997 else
   4998   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4999 /* end confdefs.h.  */
   5000 int i;
   5001 _ACEOF
   5002 if ac_fn_c_try_compile "$LINENO"; then :
   5003   xorg_cv_cc_flag_unused_command_line_argument=yes
   5004 else
   5005   xorg_cv_cc_flag_unused_command_line_argument=no
   5006 fi
   5007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5008 fi
   5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5010 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5011 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5012 	CFLAGS="$xorg_testset_save_CFLAGS"
   5013 fi
   5014 
   5015 found="no"
   5016 
   5017 	if test $found = "no" ; then
   5018 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5019 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5020 		fi
   5021 
   5022 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5023 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5024 		fi
   5025 
   5026 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5027 
   5028 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5029 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5030 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5031 		if eval \${$cacheid+:} false; then :
   5032   $as_echo_n "(cached) " >&6
   5033 else
   5034   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5035 /* end confdefs.h.  */
   5036 int i;
   5037 int
   5038 main ()
   5039 {
   5040 
   5041   ;
   5042   return 0;
   5043 }
   5044 _ACEOF
   5045 if ac_fn_c_try_link "$LINENO"; then :
   5046   eval $cacheid=yes
   5047 else
   5048   eval $cacheid=no
   5049 fi
   5050 rm -f core conftest.err conftest.$ac_objext \
   5051     conftest$ac_exeext conftest.$ac_ext
   5052 fi
   5053 
   5054 
   5055 		CFLAGS="$xorg_testset_save_CFLAGS"
   5056 
   5057 		eval supported=\$$cacheid
   5058 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5059 $as_echo "$supported" >&6; }
   5060 		if test "$supported" = "yes" ; then
   5061 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5062 			found="yes"
   5063 		fi
   5064 	fi
   5065 
   5066 
   5067 
   5068 
   5069 
   5070 
   5071 
   5072 
   5073 
   5074 
   5075 
   5076 
   5077 
   5078 
   5079 
   5080 xorg_testset_save_CFLAGS="$CFLAGS"
   5081 
   5082 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5083 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5084 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5085 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5086 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5087   $as_echo_n "(cached) " >&6
   5088 else
   5089   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5090 /* end confdefs.h.  */
   5091 int i;
   5092 _ACEOF
   5093 if ac_fn_c_try_compile "$LINENO"; then :
   5094   xorg_cv_cc_flag_unknown_warning_option=yes
   5095 else
   5096   xorg_cv_cc_flag_unknown_warning_option=no
   5097 fi
   5098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5099 fi
   5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5101 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5102 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5103 	CFLAGS="$xorg_testset_save_CFLAGS"
   5104 fi
   5105 
   5106 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5107 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5108 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5109 	fi
   5110 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5111 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5112 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5113 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5114   $as_echo_n "(cached) " >&6
   5115 else
   5116   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5117 /* end confdefs.h.  */
   5118 int i;
   5119 _ACEOF
   5120 if ac_fn_c_try_compile "$LINENO"; then :
   5121   xorg_cv_cc_flag_unused_command_line_argument=yes
   5122 else
   5123   xorg_cv_cc_flag_unused_command_line_argument=no
   5124 fi
   5125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5126 fi
   5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5128 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5129 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5130 	CFLAGS="$xorg_testset_save_CFLAGS"
   5131 fi
   5132 
   5133 found="no"
   5134 
   5135 	if test $found = "no" ; then
   5136 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5137 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5138 		fi
   5139 
   5140 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5141 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5142 		fi
   5143 
   5144 		CFLAGS="$CFLAGS -Wformat=2"
   5145 
   5146 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5147 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5148 		cacheid=xorg_cv_cc_flag__Wformat_2
   5149 		if eval \${$cacheid+:} false; then :
   5150   $as_echo_n "(cached) " >&6
   5151 else
   5152   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5153 /* end confdefs.h.  */
   5154 int i;
   5155 int
   5156 main ()
   5157 {
   5158 
   5159   ;
   5160   return 0;
   5161 }
   5162 _ACEOF
   5163 if ac_fn_c_try_link "$LINENO"; then :
   5164   eval $cacheid=yes
   5165 else
   5166   eval $cacheid=no
   5167 fi
   5168 rm -f core conftest.err conftest.$ac_objext \
   5169     conftest$ac_exeext conftest.$ac_ext
   5170 fi
   5171 
   5172 
   5173 		CFLAGS="$xorg_testset_save_CFLAGS"
   5174 
   5175 		eval supported=\$$cacheid
   5176 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5177 $as_echo "$supported" >&6; }
   5178 		if test "$supported" = "yes" ; then
   5179 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5180 			found="yes"
   5181 		fi
   5182 	fi
   5183 
   5184 	if test $found = "no" ; then
   5185 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5186 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5187 		fi
   5188 
   5189 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5190 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5191 		fi
   5192 
   5193 		CFLAGS="$CFLAGS -Wformat"
   5194 
   5195 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5196 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5197 		cacheid=xorg_cv_cc_flag__Wformat
   5198 		if eval \${$cacheid+:} false; then :
   5199   $as_echo_n "(cached) " >&6
   5200 else
   5201   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5202 /* end confdefs.h.  */
   5203 int i;
   5204 int
   5205 main ()
   5206 {
   5207 
   5208   ;
   5209   return 0;
   5210 }
   5211 _ACEOF
   5212 if ac_fn_c_try_link "$LINENO"; then :
   5213   eval $cacheid=yes
   5214 else
   5215   eval $cacheid=no
   5216 fi
   5217 rm -f core conftest.err conftest.$ac_objext \
   5218     conftest$ac_exeext conftest.$ac_ext
   5219 fi
   5220 
   5221 
   5222 		CFLAGS="$xorg_testset_save_CFLAGS"
   5223 
   5224 		eval supported=\$$cacheid
   5225 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5226 $as_echo "$supported" >&6; }
   5227 		if test "$supported" = "yes" ; then
   5228 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5229 			found="yes"
   5230 		fi
   5231 	fi
   5232 
   5233 
   5234 
   5235 
   5236 
   5237 
   5238 
   5239 
   5240 
   5241 
   5242 
   5243 
   5244 
   5245 
   5246 
   5247 
   5248 
   5249 xorg_testset_save_CFLAGS="$CFLAGS"
   5250 
   5251 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5252 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5253 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5254 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5255 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5256   $as_echo_n "(cached) " >&6
   5257 else
   5258   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5259 /* end confdefs.h.  */
   5260 int i;
   5261 _ACEOF
   5262 if ac_fn_c_try_compile "$LINENO"; then :
   5263   xorg_cv_cc_flag_unknown_warning_option=yes
   5264 else
   5265   xorg_cv_cc_flag_unknown_warning_option=no
   5266 fi
   5267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5268 fi
   5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5270 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5271 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5272 	CFLAGS="$xorg_testset_save_CFLAGS"
   5273 fi
   5274 
   5275 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5276 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5277 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5278 	fi
   5279 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5280 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5281 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5282 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5283   $as_echo_n "(cached) " >&6
   5284 else
   5285   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5286 /* end confdefs.h.  */
   5287 int i;
   5288 _ACEOF
   5289 if ac_fn_c_try_compile "$LINENO"; then :
   5290   xorg_cv_cc_flag_unused_command_line_argument=yes
   5291 else
   5292   xorg_cv_cc_flag_unused_command_line_argument=no
   5293 fi
   5294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5295 fi
   5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5297 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5298 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5299 	CFLAGS="$xorg_testset_save_CFLAGS"
   5300 fi
   5301 
   5302 found="no"
   5303 
   5304 	if test $found = "no" ; then
   5305 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5306 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5307 		fi
   5308 
   5309 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5310 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5311 		fi
   5312 
   5313 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5314 
   5315 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5316 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5317 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5318 		if eval \${$cacheid+:} false; then :
   5319   $as_echo_n "(cached) " >&6
   5320 else
   5321   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5322 /* end confdefs.h.  */
   5323 int i;
   5324 int
   5325 main ()
   5326 {
   5327 
   5328   ;
   5329   return 0;
   5330 }
   5331 _ACEOF
   5332 if ac_fn_c_try_link "$LINENO"; then :
   5333   eval $cacheid=yes
   5334 else
   5335   eval $cacheid=no
   5336 fi
   5337 rm -f core conftest.err conftest.$ac_objext \
   5338     conftest$ac_exeext conftest.$ac_ext
   5339 fi
   5340 
   5341 
   5342 		CFLAGS="$xorg_testset_save_CFLAGS"
   5343 
   5344 		eval supported=\$$cacheid
   5345 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5346 $as_echo "$supported" >&6; }
   5347 		if test "$supported" = "yes" ; then
   5348 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5349 			found="yes"
   5350 		fi
   5351 	fi
   5352 
   5353 
   5354 
   5355 
   5356 
   5357 
   5358 
   5359 
   5360 
   5361 
   5362 
   5363 
   5364 
   5365 
   5366 
   5367 xorg_testset_save_CFLAGS="$CFLAGS"
   5368 
   5369 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5370 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5371 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5372 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5373 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5374   $as_echo_n "(cached) " >&6
   5375 else
   5376   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5377 /* end confdefs.h.  */
   5378 int i;
   5379 _ACEOF
   5380 if ac_fn_c_try_compile "$LINENO"; then :
   5381   xorg_cv_cc_flag_unknown_warning_option=yes
   5382 else
   5383   xorg_cv_cc_flag_unknown_warning_option=no
   5384 fi
   5385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5386 fi
   5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5388 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5389 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5390 	CFLAGS="$xorg_testset_save_CFLAGS"
   5391 fi
   5392 
   5393 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5394 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5395 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5396 	fi
   5397 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5398 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5399 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5400 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5401   $as_echo_n "(cached) " >&6
   5402 else
   5403   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5404 /* end confdefs.h.  */
   5405 int i;
   5406 _ACEOF
   5407 if ac_fn_c_try_compile "$LINENO"; then :
   5408   xorg_cv_cc_flag_unused_command_line_argument=yes
   5409 else
   5410   xorg_cv_cc_flag_unused_command_line_argument=no
   5411 fi
   5412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5413 fi
   5414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5415 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5416 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5417 	CFLAGS="$xorg_testset_save_CFLAGS"
   5418 fi
   5419 
   5420 found="no"
   5421 
   5422 	if test $found = "no" ; then
   5423 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5424 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5425 		fi
   5426 
   5427 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5428 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5429 		fi
   5430 
   5431 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5432 
   5433 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5434 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5435 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5436 		if eval \${$cacheid+:} false; then :
   5437   $as_echo_n "(cached) " >&6
   5438 else
   5439   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5440 /* end confdefs.h.  */
   5441 int i;
   5442 int
   5443 main ()
   5444 {
   5445 
   5446   ;
   5447   return 0;
   5448 }
   5449 _ACEOF
   5450 if ac_fn_c_try_link "$LINENO"; then :
   5451   eval $cacheid=yes
   5452 else
   5453   eval $cacheid=no
   5454 fi
   5455 rm -f core conftest.err conftest.$ac_objext \
   5456     conftest$ac_exeext conftest.$ac_ext
   5457 fi
   5458 
   5459 
   5460 		CFLAGS="$xorg_testset_save_CFLAGS"
   5461 
   5462 		eval supported=\$$cacheid
   5463 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5464 $as_echo "$supported" >&6; }
   5465 		if test "$supported" = "yes" ; then
   5466 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5467 			found="yes"
   5468 		fi
   5469 	fi
   5470 
   5471 
   5472 
   5473 
   5474 
   5475 
   5476 
   5477 
   5478 
   5479 
   5480 
   5481 
   5482 
   5483 
   5484 
   5485 xorg_testset_save_CFLAGS="$CFLAGS"
   5486 
   5487 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5488 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5489 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5490 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5491 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5492   $as_echo_n "(cached) " >&6
   5493 else
   5494   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5495 /* end confdefs.h.  */
   5496 int i;
   5497 _ACEOF
   5498 if ac_fn_c_try_compile "$LINENO"; then :
   5499   xorg_cv_cc_flag_unknown_warning_option=yes
   5500 else
   5501   xorg_cv_cc_flag_unknown_warning_option=no
   5502 fi
   5503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5504 fi
   5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5506 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5507 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5508 	CFLAGS="$xorg_testset_save_CFLAGS"
   5509 fi
   5510 
   5511 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5512 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5513 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5514 	fi
   5515 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5516 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5517 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5518 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5519   $as_echo_n "(cached) " >&6
   5520 else
   5521   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5522 /* end confdefs.h.  */
   5523 int i;
   5524 _ACEOF
   5525 if ac_fn_c_try_compile "$LINENO"; then :
   5526   xorg_cv_cc_flag_unused_command_line_argument=yes
   5527 else
   5528   xorg_cv_cc_flag_unused_command_line_argument=no
   5529 fi
   5530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5531 fi
   5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5533 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5534 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5535 	CFLAGS="$xorg_testset_save_CFLAGS"
   5536 fi
   5537 
   5538 found="no"
   5539 
   5540 	if test $found = "no" ; then
   5541 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5542 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5543 		fi
   5544 
   5545 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5546 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5547 		fi
   5548 
   5549 		CFLAGS="$CFLAGS -Wnested-externs"
   5550 
   5551 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5552 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5553 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5554 		if eval \${$cacheid+:} false; then :
   5555   $as_echo_n "(cached) " >&6
   5556 else
   5557   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5558 /* end confdefs.h.  */
   5559 int i;
   5560 int
   5561 main ()
   5562 {
   5563 
   5564   ;
   5565   return 0;
   5566 }
   5567 _ACEOF
   5568 if ac_fn_c_try_link "$LINENO"; then :
   5569   eval $cacheid=yes
   5570 else
   5571   eval $cacheid=no
   5572 fi
   5573 rm -f core conftest.err conftest.$ac_objext \
   5574     conftest$ac_exeext conftest.$ac_ext
   5575 fi
   5576 
   5577 
   5578 		CFLAGS="$xorg_testset_save_CFLAGS"
   5579 
   5580 		eval supported=\$$cacheid
   5581 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5582 $as_echo "$supported" >&6; }
   5583 		if test "$supported" = "yes" ; then
   5584 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5585 			found="yes"
   5586 		fi
   5587 	fi
   5588 
   5589 
   5590 
   5591 
   5592 
   5593 
   5594 
   5595 
   5596 
   5597 
   5598 
   5599 
   5600 
   5601 
   5602 
   5603 xorg_testset_save_CFLAGS="$CFLAGS"
   5604 
   5605 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5606 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5607 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5608 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5609 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5610   $as_echo_n "(cached) " >&6
   5611 else
   5612   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5613 /* end confdefs.h.  */
   5614 int i;
   5615 _ACEOF
   5616 if ac_fn_c_try_compile "$LINENO"; then :
   5617   xorg_cv_cc_flag_unknown_warning_option=yes
   5618 else
   5619   xorg_cv_cc_flag_unknown_warning_option=no
   5620 fi
   5621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5622 fi
   5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5624 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5625 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5626 	CFLAGS="$xorg_testset_save_CFLAGS"
   5627 fi
   5628 
   5629 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5630 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5631 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5632 	fi
   5633 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5634 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5635 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5636 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5637   $as_echo_n "(cached) " >&6
   5638 else
   5639   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5640 /* end confdefs.h.  */
   5641 int i;
   5642 _ACEOF
   5643 if ac_fn_c_try_compile "$LINENO"; then :
   5644   xorg_cv_cc_flag_unused_command_line_argument=yes
   5645 else
   5646   xorg_cv_cc_flag_unused_command_line_argument=no
   5647 fi
   5648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5649 fi
   5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5651 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5652 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5653 	CFLAGS="$xorg_testset_save_CFLAGS"
   5654 fi
   5655 
   5656 found="no"
   5657 
   5658 	if test $found = "no" ; then
   5659 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5660 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5661 		fi
   5662 
   5663 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5664 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5665 		fi
   5666 
   5667 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5668 
   5669 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5670 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5671 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5672 		if eval \${$cacheid+:} false; then :
   5673   $as_echo_n "(cached) " >&6
   5674 else
   5675   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5676 /* end confdefs.h.  */
   5677 int i;
   5678 int
   5679 main ()
   5680 {
   5681 
   5682   ;
   5683   return 0;
   5684 }
   5685 _ACEOF
   5686 if ac_fn_c_try_link "$LINENO"; then :
   5687   eval $cacheid=yes
   5688 else
   5689   eval $cacheid=no
   5690 fi
   5691 rm -f core conftest.err conftest.$ac_objext \
   5692     conftest$ac_exeext conftest.$ac_ext
   5693 fi
   5694 
   5695 
   5696 		CFLAGS="$xorg_testset_save_CFLAGS"
   5697 
   5698 		eval supported=\$$cacheid
   5699 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5700 $as_echo "$supported" >&6; }
   5701 		if test "$supported" = "yes" ; then
   5702 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5703 			found="yes"
   5704 		fi
   5705 	fi
   5706 
   5707 
   5708 
   5709 
   5710 
   5711 
   5712 
   5713 
   5714 
   5715 
   5716 
   5717 
   5718 
   5719 
   5720 
   5721 xorg_testset_save_CFLAGS="$CFLAGS"
   5722 
   5723 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5724 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5725 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5726 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5727 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5728   $as_echo_n "(cached) " >&6
   5729 else
   5730   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5731 /* end confdefs.h.  */
   5732 int i;
   5733 _ACEOF
   5734 if ac_fn_c_try_compile "$LINENO"; then :
   5735   xorg_cv_cc_flag_unknown_warning_option=yes
   5736 else
   5737   xorg_cv_cc_flag_unknown_warning_option=no
   5738 fi
   5739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5740 fi
   5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5742 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5743 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5744 	CFLAGS="$xorg_testset_save_CFLAGS"
   5745 fi
   5746 
   5747 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5748 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5749 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5750 	fi
   5751 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5752 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5753 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5754 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5755   $as_echo_n "(cached) " >&6
   5756 else
   5757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5758 /* end confdefs.h.  */
   5759 int i;
   5760 _ACEOF
   5761 if ac_fn_c_try_compile "$LINENO"; then :
   5762   xorg_cv_cc_flag_unused_command_line_argument=yes
   5763 else
   5764   xorg_cv_cc_flag_unused_command_line_argument=no
   5765 fi
   5766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5767 fi
   5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5769 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5770 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5771 	CFLAGS="$xorg_testset_save_CFLAGS"
   5772 fi
   5773 
   5774 found="no"
   5775 
   5776 	if test $found = "no" ; then
   5777 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5778 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5779 		fi
   5780 
   5781 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5782 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5783 		fi
   5784 
   5785 		CFLAGS="$CFLAGS -Wold-style-definition"
   5786 
   5787 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5788 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5789 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5790 		if eval \${$cacheid+:} false; then :
   5791   $as_echo_n "(cached) " >&6
   5792 else
   5793   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5794 /* end confdefs.h.  */
   5795 int i;
   5796 int
   5797 main ()
   5798 {
   5799 
   5800   ;
   5801   return 0;
   5802 }
   5803 _ACEOF
   5804 if ac_fn_c_try_link "$LINENO"; then :
   5805   eval $cacheid=yes
   5806 else
   5807   eval $cacheid=no
   5808 fi
   5809 rm -f core conftest.err conftest.$ac_objext \
   5810     conftest$ac_exeext conftest.$ac_ext
   5811 fi
   5812 
   5813 
   5814 		CFLAGS="$xorg_testset_save_CFLAGS"
   5815 
   5816 		eval supported=\$$cacheid
   5817 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5818 $as_echo "$supported" >&6; }
   5819 		if test "$supported" = "yes" ; then
   5820 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5821 			found="yes"
   5822 		fi
   5823 	fi
   5824 
   5825 	if test $found = "no" ; then
   5826 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5827 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5828 		fi
   5829 
   5830 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5831 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5832 		fi
   5833 
   5834 		CFLAGS="$CFLAGS -fd"
   5835 
   5836 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   5837 $as_echo_n "checking if $CC supports -fd... " >&6; }
   5838 		cacheid=xorg_cv_cc_flag__fd
   5839 		if eval \${$cacheid+:} false; then :
   5840   $as_echo_n "(cached) " >&6
   5841 else
   5842   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5843 /* end confdefs.h.  */
   5844 int i;
   5845 int
   5846 main ()
   5847 {
   5848 
   5849   ;
   5850   return 0;
   5851 }
   5852 _ACEOF
   5853 if ac_fn_c_try_link "$LINENO"; then :
   5854   eval $cacheid=yes
   5855 else
   5856   eval $cacheid=no
   5857 fi
   5858 rm -f core conftest.err conftest.$ac_objext \
   5859     conftest$ac_exeext conftest.$ac_ext
   5860 fi
   5861 
   5862 
   5863 		CFLAGS="$xorg_testset_save_CFLAGS"
   5864 
   5865 		eval supported=\$$cacheid
   5866 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5867 $as_echo "$supported" >&6; }
   5868 		if test "$supported" = "yes" ; then
   5869 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   5870 			found="yes"
   5871 		fi
   5872 	fi
   5873 
   5874 
   5875 
   5876 
   5877 
   5878 
   5879 
   5880 
   5881 
   5882 
   5883 
   5884 
   5885 
   5886 
   5887 
   5888 xorg_testset_save_CFLAGS="$CFLAGS"
   5889 
   5890 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5891 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5892 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5893 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5894 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5895   $as_echo_n "(cached) " >&6
   5896 else
   5897   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5898 /* end confdefs.h.  */
   5899 int i;
   5900 _ACEOF
   5901 if ac_fn_c_try_compile "$LINENO"; then :
   5902   xorg_cv_cc_flag_unknown_warning_option=yes
   5903 else
   5904   xorg_cv_cc_flag_unknown_warning_option=no
   5905 fi
   5906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5907 fi
   5908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5909 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5910 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5911 	CFLAGS="$xorg_testset_save_CFLAGS"
   5912 fi
   5913 
   5914 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5915 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5916 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5917 	fi
   5918 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5919 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5920 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5921 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5922   $as_echo_n "(cached) " >&6
   5923 else
   5924   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5925 /* end confdefs.h.  */
   5926 int i;
   5927 _ACEOF
   5928 if ac_fn_c_try_compile "$LINENO"; then :
   5929   xorg_cv_cc_flag_unused_command_line_argument=yes
   5930 else
   5931   xorg_cv_cc_flag_unused_command_line_argument=no
   5932 fi
   5933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5934 fi
   5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5936 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5937 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5938 	CFLAGS="$xorg_testset_save_CFLAGS"
   5939 fi
   5940 
   5941 found="no"
   5942 
   5943 	if test $found = "no" ; then
   5944 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5945 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5946 		fi
   5947 
   5948 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5949 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5950 		fi
   5951 
   5952 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5953 
   5954 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5955 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5956 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5957 		if eval \${$cacheid+:} false; then :
   5958   $as_echo_n "(cached) " >&6
   5959 else
   5960   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5961 /* end confdefs.h.  */
   5962 int i;
   5963 int
   5964 main ()
   5965 {
   5966 
   5967   ;
   5968   return 0;
   5969 }
   5970 _ACEOF
   5971 if ac_fn_c_try_link "$LINENO"; then :
   5972   eval $cacheid=yes
   5973 else
   5974   eval $cacheid=no
   5975 fi
   5976 rm -f core conftest.err conftest.$ac_objext \
   5977     conftest$ac_exeext conftest.$ac_ext
   5978 fi
   5979 
   5980 
   5981 		CFLAGS="$xorg_testset_save_CFLAGS"
   5982 
   5983 		eval supported=\$$cacheid
   5984 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5985 $as_echo "$supported" >&6; }
   5986 		if test "$supported" = "yes" ; then
   5987 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5988 			found="yes"
   5989 		fi
   5990 	fi
   5991 
   5992 
   5993 
   5994 
   5995 
   5996 # This chunk adds additional warnings that could catch undesired effects.
   5997 
   5998 
   5999 
   6000 
   6001 
   6002 
   6003 
   6004 
   6005 
   6006 
   6007 
   6008 
   6009 
   6010 xorg_testset_save_CFLAGS="$CFLAGS"
   6011 
   6012 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6013 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6014 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6015 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6016 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6017   $as_echo_n "(cached) " >&6
   6018 else
   6019   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6020 /* end confdefs.h.  */
   6021 int i;
   6022 _ACEOF
   6023 if ac_fn_c_try_compile "$LINENO"; then :
   6024   xorg_cv_cc_flag_unknown_warning_option=yes
   6025 else
   6026   xorg_cv_cc_flag_unknown_warning_option=no
   6027 fi
   6028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6029 fi
   6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6031 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6032 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6033 	CFLAGS="$xorg_testset_save_CFLAGS"
   6034 fi
   6035 
   6036 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6037 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6038 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6039 	fi
   6040 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6041 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6042 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6043 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6044   $as_echo_n "(cached) " >&6
   6045 else
   6046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6047 /* end confdefs.h.  */
   6048 int i;
   6049 _ACEOF
   6050 if ac_fn_c_try_compile "$LINENO"; then :
   6051   xorg_cv_cc_flag_unused_command_line_argument=yes
   6052 else
   6053   xorg_cv_cc_flag_unused_command_line_argument=no
   6054 fi
   6055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6056 fi
   6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6058 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6059 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6060 	CFLAGS="$xorg_testset_save_CFLAGS"
   6061 fi
   6062 
   6063 found="no"
   6064 
   6065 	if test $found = "no" ; then
   6066 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6067 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6068 		fi
   6069 
   6070 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6071 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6072 		fi
   6073 
   6074 		CFLAGS="$CFLAGS -Wunused"
   6075 
   6076 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6077 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6078 		cacheid=xorg_cv_cc_flag__Wunused
   6079 		if eval \${$cacheid+:} false; then :
   6080   $as_echo_n "(cached) " >&6
   6081 else
   6082   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6083 /* end confdefs.h.  */
   6084 int i;
   6085 int
   6086 main ()
   6087 {
   6088 
   6089   ;
   6090   return 0;
   6091 }
   6092 _ACEOF
   6093 if ac_fn_c_try_link "$LINENO"; then :
   6094   eval $cacheid=yes
   6095 else
   6096   eval $cacheid=no
   6097 fi
   6098 rm -f core conftest.err conftest.$ac_objext \
   6099     conftest$ac_exeext conftest.$ac_ext
   6100 fi
   6101 
   6102 
   6103 		CFLAGS="$xorg_testset_save_CFLAGS"
   6104 
   6105 		eval supported=\$$cacheid
   6106 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6107 $as_echo "$supported" >&6; }
   6108 		if test "$supported" = "yes" ; then
   6109 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6110 			found="yes"
   6111 		fi
   6112 	fi
   6113 
   6114 
   6115 
   6116 
   6117 
   6118 
   6119 
   6120 
   6121 
   6122 
   6123 
   6124 
   6125 
   6126 
   6127 
   6128 xorg_testset_save_CFLAGS="$CFLAGS"
   6129 
   6130 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6131 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6132 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6133 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6134 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6135   $as_echo_n "(cached) " >&6
   6136 else
   6137   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6138 /* end confdefs.h.  */
   6139 int i;
   6140 _ACEOF
   6141 if ac_fn_c_try_compile "$LINENO"; then :
   6142   xorg_cv_cc_flag_unknown_warning_option=yes
   6143 else
   6144   xorg_cv_cc_flag_unknown_warning_option=no
   6145 fi
   6146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6147 fi
   6148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6149 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6150 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6151 	CFLAGS="$xorg_testset_save_CFLAGS"
   6152 fi
   6153 
   6154 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6155 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6156 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6157 	fi
   6158 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6159 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6160 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6161 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6162   $as_echo_n "(cached) " >&6
   6163 else
   6164   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6165 /* end confdefs.h.  */
   6166 int i;
   6167 _ACEOF
   6168 if ac_fn_c_try_compile "$LINENO"; then :
   6169   xorg_cv_cc_flag_unused_command_line_argument=yes
   6170 else
   6171   xorg_cv_cc_flag_unused_command_line_argument=no
   6172 fi
   6173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6174 fi
   6175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6176 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6177 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6178 	CFLAGS="$xorg_testset_save_CFLAGS"
   6179 fi
   6180 
   6181 found="no"
   6182 
   6183 	if test $found = "no" ; then
   6184 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6185 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6186 		fi
   6187 
   6188 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6189 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6190 		fi
   6191 
   6192 		CFLAGS="$CFLAGS -Wuninitialized"
   6193 
   6194 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6195 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6196 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6197 		if eval \${$cacheid+:} false; then :
   6198   $as_echo_n "(cached) " >&6
   6199 else
   6200   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6201 /* end confdefs.h.  */
   6202 int i;
   6203 int
   6204 main ()
   6205 {
   6206 
   6207   ;
   6208   return 0;
   6209 }
   6210 _ACEOF
   6211 if ac_fn_c_try_link "$LINENO"; then :
   6212   eval $cacheid=yes
   6213 else
   6214   eval $cacheid=no
   6215 fi
   6216 rm -f core conftest.err conftest.$ac_objext \
   6217     conftest$ac_exeext conftest.$ac_ext
   6218 fi
   6219 
   6220 
   6221 		CFLAGS="$xorg_testset_save_CFLAGS"
   6222 
   6223 		eval supported=\$$cacheid
   6224 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6225 $as_echo "$supported" >&6; }
   6226 		if test "$supported" = "yes" ; then
   6227 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6228 			found="yes"
   6229 		fi
   6230 	fi
   6231 
   6232 
   6233 
   6234 
   6235 
   6236 
   6237 
   6238 
   6239 
   6240 
   6241 
   6242 
   6243 
   6244 
   6245 
   6246 xorg_testset_save_CFLAGS="$CFLAGS"
   6247 
   6248 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6249 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6250 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6251 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6252 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6253   $as_echo_n "(cached) " >&6
   6254 else
   6255   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6256 /* end confdefs.h.  */
   6257 int i;
   6258 _ACEOF
   6259 if ac_fn_c_try_compile "$LINENO"; then :
   6260   xorg_cv_cc_flag_unknown_warning_option=yes
   6261 else
   6262   xorg_cv_cc_flag_unknown_warning_option=no
   6263 fi
   6264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6265 fi
   6266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6267 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6268 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6269 	CFLAGS="$xorg_testset_save_CFLAGS"
   6270 fi
   6271 
   6272 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6273 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6274 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6275 	fi
   6276 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6277 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6278 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6279 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6280   $as_echo_n "(cached) " >&6
   6281 else
   6282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6283 /* end confdefs.h.  */
   6284 int i;
   6285 _ACEOF
   6286 if ac_fn_c_try_compile "$LINENO"; then :
   6287   xorg_cv_cc_flag_unused_command_line_argument=yes
   6288 else
   6289   xorg_cv_cc_flag_unused_command_line_argument=no
   6290 fi
   6291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6292 fi
   6293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6294 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6295 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6296 	CFLAGS="$xorg_testset_save_CFLAGS"
   6297 fi
   6298 
   6299 found="no"
   6300 
   6301 	if test $found = "no" ; then
   6302 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6303 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6304 		fi
   6305 
   6306 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6307 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6308 		fi
   6309 
   6310 		CFLAGS="$CFLAGS -Wshadow"
   6311 
   6312 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6313 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6314 		cacheid=xorg_cv_cc_flag__Wshadow
   6315 		if eval \${$cacheid+:} false; then :
   6316   $as_echo_n "(cached) " >&6
   6317 else
   6318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6319 /* end confdefs.h.  */
   6320 int i;
   6321 int
   6322 main ()
   6323 {
   6324 
   6325   ;
   6326   return 0;
   6327 }
   6328 _ACEOF
   6329 if ac_fn_c_try_link "$LINENO"; then :
   6330   eval $cacheid=yes
   6331 else
   6332   eval $cacheid=no
   6333 fi
   6334 rm -f core conftest.err conftest.$ac_objext \
   6335     conftest$ac_exeext conftest.$ac_ext
   6336 fi
   6337 
   6338 
   6339 		CFLAGS="$xorg_testset_save_CFLAGS"
   6340 
   6341 		eval supported=\$$cacheid
   6342 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6343 $as_echo "$supported" >&6; }
   6344 		if test "$supported" = "yes" ; then
   6345 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6346 			found="yes"
   6347 		fi
   6348 	fi
   6349 
   6350 
   6351 
   6352 
   6353 
   6354 
   6355 
   6356 
   6357 
   6358 
   6359 
   6360 
   6361 
   6362 
   6363 
   6364 xorg_testset_save_CFLAGS="$CFLAGS"
   6365 
   6366 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6367 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6368 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6369 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6370 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6371   $as_echo_n "(cached) " >&6
   6372 else
   6373   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6374 /* end confdefs.h.  */
   6375 int i;
   6376 _ACEOF
   6377 if ac_fn_c_try_compile "$LINENO"; then :
   6378   xorg_cv_cc_flag_unknown_warning_option=yes
   6379 else
   6380   xorg_cv_cc_flag_unknown_warning_option=no
   6381 fi
   6382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6383 fi
   6384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6385 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6386 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6387 	CFLAGS="$xorg_testset_save_CFLAGS"
   6388 fi
   6389 
   6390 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6391 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6392 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6393 	fi
   6394 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6395 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6396 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6397 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6398   $as_echo_n "(cached) " >&6
   6399 else
   6400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6401 /* end confdefs.h.  */
   6402 int i;
   6403 _ACEOF
   6404 if ac_fn_c_try_compile "$LINENO"; then :
   6405   xorg_cv_cc_flag_unused_command_line_argument=yes
   6406 else
   6407   xorg_cv_cc_flag_unused_command_line_argument=no
   6408 fi
   6409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6410 fi
   6411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6412 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6413 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6414 	CFLAGS="$xorg_testset_save_CFLAGS"
   6415 fi
   6416 
   6417 found="no"
   6418 
   6419 	if test $found = "no" ; then
   6420 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6421 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6422 		fi
   6423 
   6424 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6425 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6426 		fi
   6427 
   6428 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6429 
   6430 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6431 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6432 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6433 		if eval \${$cacheid+:} false; then :
   6434   $as_echo_n "(cached) " >&6
   6435 else
   6436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6437 /* end confdefs.h.  */
   6438 int i;
   6439 int
   6440 main ()
   6441 {
   6442 
   6443   ;
   6444   return 0;
   6445 }
   6446 _ACEOF
   6447 if ac_fn_c_try_link "$LINENO"; then :
   6448   eval $cacheid=yes
   6449 else
   6450   eval $cacheid=no
   6451 fi
   6452 rm -f core conftest.err conftest.$ac_objext \
   6453     conftest$ac_exeext conftest.$ac_ext
   6454 fi
   6455 
   6456 
   6457 		CFLAGS="$xorg_testset_save_CFLAGS"
   6458 
   6459 		eval supported=\$$cacheid
   6460 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6461 $as_echo "$supported" >&6; }
   6462 		if test "$supported" = "yes" ; then
   6463 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6464 			found="yes"
   6465 		fi
   6466 	fi
   6467 
   6468 
   6469 
   6470 
   6471 
   6472 
   6473 
   6474 
   6475 
   6476 
   6477 
   6478 
   6479 
   6480 
   6481 
   6482 xorg_testset_save_CFLAGS="$CFLAGS"
   6483 
   6484 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6485 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6486 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6487 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6488 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6489   $as_echo_n "(cached) " >&6
   6490 else
   6491   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6492 /* end confdefs.h.  */
   6493 int i;
   6494 _ACEOF
   6495 if ac_fn_c_try_compile "$LINENO"; then :
   6496   xorg_cv_cc_flag_unknown_warning_option=yes
   6497 else
   6498   xorg_cv_cc_flag_unknown_warning_option=no
   6499 fi
   6500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6501 fi
   6502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6503 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6504 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6505 	CFLAGS="$xorg_testset_save_CFLAGS"
   6506 fi
   6507 
   6508 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6509 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6510 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6511 	fi
   6512 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6513 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6514 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6515 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6516   $as_echo_n "(cached) " >&6
   6517 else
   6518   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6519 /* end confdefs.h.  */
   6520 int i;
   6521 _ACEOF
   6522 if ac_fn_c_try_compile "$LINENO"; then :
   6523   xorg_cv_cc_flag_unused_command_line_argument=yes
   6524 else
   6525   xorg_cv_cc_flag_unused_command_line_argument=no
   6526 fi
   6527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6528 fi
   6529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6530 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6531 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6532 	CFLAGS="$xorg_testset_save_CFLAGS"
   6533 fi
   6534 
   6535 found="no"
   6536 
   6537 	if test $found = "no" ; then
   6538 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6539 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6540 		fi
   6541 
   6542 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6543 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6544 		fi
   6545 
   6546 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6547 
   6548 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6549 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6550 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6551 		if eval \${$cacheid+:} false; then :
   6552   $as_echo_n "(cached) " >&6
   6553 else
   6554   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6555 /* end confdefs.h.  */
   6556 int i;
   6557 int
   6558 main ()
   6559 {
   6560 
   6561   ;
   6562   return 0;
   6563 }
   6564 _ACEOF
   6565 if ac_fn_c_try_link "$LINENO"; then :
   6566   eval $cacheid=yes
   6567 else
   6568   eval $cacheid=no
   6569 fi
   6570 rm -f core conftest.err conftest.$ac_objext \
   6571     conftest$ac_exeext conftest.$ac_ext
   6572 fi
   6573 
   6574 
   6575 		CFLAGS="$xorg_testset_save_CFLAGS"
   6576 
   6577 		eval supported=\$$cacheid
   6578 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6579 $as_echo "$supported" >&6; }
   6580 		if test "$supported" = "yes" ; then
   6581 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6582 			found="yes"
   6583 		fi
   6584 	fi
   6585 
   6586 
   6587 
   6588 
   6589 
   6590 
   6591 
   6592 
   6593 
   6594 
   6595 
   6596 
   6597 
   6598 
   6599 
   6600 xorg_testset_save_CFLAGS="$CFLAGS"
   6601 
   6602 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6603 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6604 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6605 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6606 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6607   $as_echo_n "(cached) " >&6
   6608 else
   6609   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6610 /* end confdefs.h.  */
   6611 int i;
   6612 _ACEOF
   6613 if ac_fn_c_try_compile "$LINENO"; then :
   6614   xorg_cv_cc_flag_unknown_warning_option=yes
   6615 else
   6616   xorg_cv_cc_flag_unknown_warning_option=no
   6617 fi
   6618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6619 fi
   6620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6621 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6622 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6623 	CFLAGS="$xorg_testset_save_CFLAGS"
   6624 fi
   6625 
   6626 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6627 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6628 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6629 	fi
   6630 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6631 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6632 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6633 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6634   $as_echo_n "(cached) " >&6
   6635 else
   6636   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6637 /* end confdefs.h.  */
   6638 int i;
   6639 _ACEOF
   6640 if ac_fn_c_try_compile "$LINENO"; then :
   6641   xorg_cv_cc_flag_unused_command_line_argument=yes
   6642 else
   6643   xorg_cv_cc_flag_unused_command_line_argument=no
   6644 fi
   6645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6646 fi
   6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6648 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6649 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6650 	CFLAGS="$xorg_testset_save_CFLAGS"
   6651 fi
   6652 
   6653 found="no"
   6654 
   6655 	if test $found = "no" ; then
   6656 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6657 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6658 		fi
   6659 
   6660 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6661 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6662 		fi
   6663 
   6664 		CFLAGS="$CFLAGS -Wredundant-decls"
   6665 
   6666 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6667 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6668 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6669 		if eval \${$cacheid+:} false; then :
   6670   $as_echo_n "(cached) " >&6
   6671 else
   6672   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6673 /* end confdefs.h.  */
   6674 int i;
   6675 int
   6676 main ()
   6677 {
   6678 
   6679   ;
   6680   return 0;
   6681 }
   6682 _ACEOF
   6683 if ac_fn_c_try_link "$LINENO"; then :
   6684   eval $cacheid=yes
   6685 else
   6686   eval $cacheid=no
   6687 fi
   6688 rm -f core conftest.err conftest.$ac_objext \
   6689     conftest$ac_exeext conftest.$ac_ext
   6690 fi
   6691 
   6692 
   6693 		CFLAGS="$xorg_testset_save_CFLAGS"
   6694 
   6695 		eval supported=\$$cacheid
   6696 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6697 $as_echo "$supported" >&6; }
   6698 		if test "$supported" = "yes" ; then
   6699 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6700 			found="yes"
   6701 		fi
   6702 	fi
   6703 
   6704 
   6705 
   6706 
   6707 
   6708 
   6709 
   6710 
   6711 
   6712 
   6713 
   6714 
   6715 
   6716 
   6717 
   6718 xorg_testset_save_CFLAGS="$CFLAGS"
   6719 
   6720 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6721 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6722 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6723 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6724 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6725   $as_echo_n "(cached) " >&6
   6726 else
   6727   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6728 /* end confdefs.h.  */
   6729 int i;
   6730 _ACEOF
   6731 if ac_fn_c_try_compile "$LINENO"; then :
   6732   xorg_cv_cc_flag_unknown_warning_option=yes
   6733 else
   6734   xorg_cv_cc_flag_unknown_warning_option=no
   6735 fi
   6736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6737 fi
   6738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6739 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6740 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6741 	CFLAGS="$xorg_testset_save_CFLAGS"
   6742 fi
   6743 
   6744 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6745 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6746 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6747 	fi
   6748 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6749 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6750 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6751 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6752   $as_echo_n "(cached) " >&6
   6753 else
   6754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6755 /* end confdefs.h.  */
   6756 int i;
   6757 _ACEOF
   6758 if ac_fn_c_try_compile "$LINENO"; then :
   6759   xorg_cv_cc_flag_unused_command_line_argument=yes
   6760 else
   6761   xorg_cv_cc_flag_unused_command_line_argument=no
   6762 fi
   6763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6764 fi
   6765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6766 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6767 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6768 	CFLAGS="$xorg_testset_save_CFLAGS"
   6769 fi
   6770 
   6771 found="no"
   6772 
   6773 	if test $found = "no" ; then
   6774 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6775 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6776 		fi
   6777 
   6778 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6779 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6780 		fi
   6781 
   6782 		CFLAGS="$CFLAGS -Wlogical-op"
   6783 
   6784 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6785 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6786 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6787 		if eval \${$cacheid+:} false; then :
   6788   $as_echo_n "(cached) " >&6
   6789 else
   6790   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6791 /* end confdefs.h.  */
   6792 int i;
   6793 int
   6794 main ()
   6795 {
   6796 
   6797   ;
   6798   return 0;
   6799 }
   6800 _ACEOF
   6801 if ac_fn_c_try_link "$LINENO"; then :
   6802   eval $cacheid=yes
   6803 else
   6804   eval $cacheid=no
   6805 fi
   6806 rm -f core conftest.err conftest.$ac_objext \
   6807     conftest$ac_exeext conftest.$ac_ext
   6808 fi
   6809 
   6810 
   6811 		CFLAGS="$xorg_testset_save_CFLAGS"
   6812 
   6813 		eval supported=\$$cacheid
   6814 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6815 $as_echo "$supported" >&6; }
   6816 		if test "$supported" = "yes" ; then
   6817 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   6818 			found="yes"
   6819 		fi
   6820 	fi
   6821 
   6822 
   6823 
   6824 # These are currently disabled because they are noisy.  They will be enabled
   6825 # in the future once the codebase is sufficiently modernized to silence
   6826 # them.  For now, I don't want them to drown out the other warnings.
   6827 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6828 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6829 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   6830 
   6831 # Turn some warnings into errors, so we don't accidently get successful builds
   6832 # when there are problems that should be fixed.
   6833 
   6834 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6835 
   6836 
   6837 
   6838 
   6839 
   6840 
   6841 
   6842 
   6843 
   6844 
   6845 
   6846 
   6847 
   6848 xorg_testset_save_CFLAGS="$CFLAGS"
   6849 
   6850 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6851 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6852 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6853 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6854 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6855   $as_echo_n "(cached) " >&6
   6856 else
   6857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6858 /* end confdefs.h.  */
   6859 int i;
   6860 _ACEOF
   6861 if ac_fn_c_try_compile "$LINENO"; then :
   6862   xorg_cv_cc_flag_unknown_warning_option=yes
   6863 else
   6864   xorg_cv_cc_flag_unknown_warning_option=no
   6865 fi
   6866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6867 fi
   6868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6869 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6870 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6871 	CFLAGS="$xorg_testset_save_CFLAGS"
   6872 fi
   6873 
   6874 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6875 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6876 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6877 	fi
   6878 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6879 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6880 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6881 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6882   $as_echo_n "(cached) " >&6
   6883 else
   6884   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6885 /* end confdefs.h.  */
   6886 int i;
   6887 _ACEOF
   6888 if ac_fn_c_try_compile "$LINENO"; then :
   6889   xorg_cv_cc_flag_unused_command_line_argument=yes
   6890 else
   6891   xorg_cv_cc_flag_unused_command_line_argument=no
   6892 fi
   6893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6894 fi
   6895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6896 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6897 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6898 	CFLAGS="$xorg_testset_save_CFLAGS"
   6899 fi
   6900 
   6901 found="no"
   6902 
   6903 	if test $found = "no" ; then
   6904 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6905 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6906 		fi
   6907 
   6908 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6909 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6910 		fi
   6911 
   6912 		CFLAGS="$CFLAGS -Werror=implicit"
   6913 
   6914 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6915 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6916 		cacheid=xorg_cv_cc_flag__Werror_implicit
   6917 		if eval \${$cacheid+:} false; then :
   6918   $as_echo_n "(cached) " >&6
   6919 else
   6920   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6921 /* end confdefs.h.  */
   6922 int i;
   6923 int
   6924 main ()
   6925 {
   6926 
   6927   ;
   6928   return 0;
   6929 }
   6930 _ACEOF
   6931 if ac_fn_c_try_link "$LINENO"; then :
   6932   eval $cacheid=yes
   6933 else
   6934   eval $cacheid=no
   6935 fi
   6936 rm -f core conftest.err conftest.$ac_objext \
   6937     conftest$ac_exeext conftest.$ac_ext
   6938 fi
   6939 
   6940 
   6941 		CFLAGS="$xorg_testset_save_CFLAGS"
   6942 
   6943 		eval supported=\$$cacheid
   6944 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6945 $as_echo "$supported" >&6; }
   6946 		if test "$supported" = "yes" ; then
   6947 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6948 			found="yes"
   6949 		fi
   6950 	fi
   6951 
   6952 	if test $found = "no" ; then
   6953 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6954 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6955 		fi
   6956 
   6957 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6958 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6959 		fi
   6960 
   6961 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6962 
   6963 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6964 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6965 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   6966 		if eval \${$cacheid+:} false; then :
   6967   $as_echo_n "(cached) " >&6
   6968 else
   6969   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6970 /* end confdefs.h.  */
   6971 int i;
   6972 int
   6973 main ()
   6974 {
   6975 
   6976   ;
   6977   return 0;
   6978 }
   6979 _ACEOF
   6980 if ac_fn_c_try_link "$LINENO"; then :
   6981   eval $cacheid=yes
   6982 else
   6983   eval $cacheid=no
   6984 fi
   6985 rm -f core conftest.err conftest.$ac_objext \
   6986     conftest$ac_exeext conftest.$ac_ext
   6987 fi
   6988 
   6989 
   6990 		CFLAGS="$xorg_testset_save_CFLAGS"
   6991 
   6992 		eval supported=\$$cacheid
   6993 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6994 $as_echo "$supported" >&6; }
   6995 		if test "$supported" = "yes" ; then
   6996 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6997 			found="yes"
   6998 		fi
   6999 	fi
   7000 
   7001 
   7002 
   7003 
   7004 
   7005 
   7006 
   7007 
   7008 
   7009 
   7010 
   7011 
   7012 
   7013 
   7014 
   7015 xorg_testset_save_CFLAGS="$CFLAGS"
   7016 
   7017 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7018 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7019 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7020 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7021 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7022   $as_echo_n "(cached) " >&6
   7023 else
   7024   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7025 /* end confdefs.h.  */
   7026 int i;
   7027 _ACEOF
   7028 if ac_fn_c_try_compile "$LINENO"; then :
   7029   xorg_cv_cc_flag_unknown_warning_option=yes
   7030 else
   7031   xorg_cv_cc_flag_unknown_warning_option=no
   7032 fi
   7033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7034 fi
   7035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7036 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7037 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7038 	CFLAGS="$xorg_testset_save_CFLAGS"
   7039 fi
   7040 
   7041 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7042 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7043 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7044 	fi
   7045 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7046 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7047 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7048 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7049   $as_echo_n "(cached) " >&6
   7050 else
   7051   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7052 /* end confdefs.h.  */
   7053 int i;
   7054 _ACEOF
   7055 if ac_fn_c_try_compile "$LINENO"; then :
   7056   xorg_cv_cc_flag_unused_command_line_argument=yes
   7057 else
   7058   xorg_cv_cc_flag_unused_command_line_argument=no
   7059 fi
   7060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7061 fi
   7062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7063 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7064 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7065 	CFLAGS="$xorg_testset_save_CFLAGS"
   7066 fi
   7067 
   7068 found="no"
   7069 
   7070 	if test $found = "no" ; then
   7071 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7072 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7073 		fi
   7074 
   7075 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7076 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7077 		fi
   7078 
   7079 		CFLAGS="$CFLAGS -Werror=nonnull"
   7080 
   7081 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7082 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7083 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7084 		if eval \${$cacheid+:} false; then :
   7085   $as_echo_n "(cached) " >&6
   7086 else
   7087   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7088 /* end confdefs.h.  */
   7089 int i;
   7090 int
   7091 main ()
   7092 {
   7093 
   7094   ;
   7095   return 0;
   7096 }
   7097 _ACEOF
   7098 if ac_fn_c_try_link "$LINENO"; then :
   7099   eval $cacheid=yes
   7100 else
   7101   eval $cacheid=no
   7102 fi
   7103 rm -f core conftest.err conftest.$ac_objext \
   7104     conftest$ac_exeext conftest.$ac_ext
   7105 fi
   7106 
   7107 
   7108 		CFLAGS="$xorg_testset_save_CFLAGS"
   7109 
   7110 		eval supported=\$$cacheid
   7111 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7112 $as_echo "$supported" >&6; }
   7113 		if test "$supported" = "yes" ; then
   7114 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7115 			found="yes"
   7116 		fi
   7117 	fi
   7118 
   7119 
   7120 
   7121 
   7122 
   7123 
   7124 
   7125 
   7126 
   7127 
   7128 
   7129 
   7130 
   7131 
   7132 
   7133 xorg_testset_save_CFLAGS="$CFLAGS"
   7134 
   7135 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7136 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7137 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7138 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7139 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7140   $as_echo_n "(cached) " >&6
   7141 else
   7142   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7143 /* end confdefs.h.  */
   7144 int i;
   7145 _ACEOF
   7146 if ac_fn_c_try_compile "$LINENO"; then :
   7147   xorg_cv_cc_flag_unknown_warning_option=yes
   7148 else
   7149   xorg_cv_cc_flag_unknown_warning_option=no
   7150 fi
   7151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7152 fi
   7153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7154 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7155 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7156 	CFLAGS="$xorg_testset_save_CFLAGS"
   7157 fi
   7158 
   7159 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7160 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7161 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7162 	fi
   7163 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7164 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7165 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7166 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7167   $as_echo_n "(cached) " >&6
   7168 else
   7169   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7170 /* end confdefs.h.  */
   7171 int i;
   7172 _ACEOF
   7173 if ac_fn_c_try_compile "$LINENO"; then :
   7174   xorg_cv_cc_flag_unused_command_line_argument=yes
   7175 else
   7176   xorg_cv_cc_flag_unused_command_line_argument=no
   7177 fi
   7178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7179 fi
   7180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7181 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7182 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7183 	CFLAGS="$xorg_testset_save_CFLAGS"
   7184 fi
   7185 
   7186 found="no"
   7187 
   7188 	if test $found = "no" ; then
   7189 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7190 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7191 		fi
   7192 
   7193 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7194 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7195 		fi
   7196 
   7197 		CFLAGS="$CFLAGS -Werror=init-self"
   7198 
   7199 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7200 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7201 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7202 		if eval \${$cacheid+:} false; then :
   7203   $as_echo_n "(cached) " >&6
   7204 else
   7205   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7206 /* end confdefs.h.  */
   7207 int i;
   7208 int
   7209 main ()
   7210 {
   7211 
   7212   ;
   7213   return 0;
   7214 }
   7215 _ACEOF
   7216 if ac_fn_c_try_link "$LINENO"; then :
   7217   eval $cacheid=yes
   7218 else
   7219   eval $cacheid=no
   7220 fi
   7221 rm -f core conftest.err conftest.$ac_objext \
   7222     conftest$ac_exeext conftest.$ac_ext
   7223 fi
   7224 
   7225 
   7226 		CFLAGS="$xorg_testset_save_CFLAGS"
   7227 
   7228 		eval supported=\$$cacheid
   7229 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7230 $as_echo "$supported" >&6; }
   7231 		if test "$supported" = "yes" ; then
   7232 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7233 			found="yes"
   7234 		fi
   7235 	fi
   7236 
   7237 
   7238 
   7239 
   7240 
   7241 
   7242 
   7243 
   7244 
   7245 
   7246 
   7247 
   7248 
   7249 
   7250 
   7251 xorg_testset_save_CFLAGS="$CFLAGS"
   7252 
   7253 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7254 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7255 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7256 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7257 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7258   $as_echo_n "(cached) " >&6
   7259 else
   7260   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7261 /* end confdefs.h.  */
   7262 int i;
   7263 _ACEOF
   7264 if ac_fn_c_try_compile "$LINENO"; then :
   7265   xorg_cv_cc_flag_unknown_warning_option=yes
   7266 else
   7267   xorg_cv_cc_flag_unknown_warning_option=no
   7268 fi
   7269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7270 fi
   7271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7272 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7273 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7274 	CFLAGS="$xorg_testset_save_CFLAGS"
   7275 fi
   7276 
   7277 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7278 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7279 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7280 	fi
   7281 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7282 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7283 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7284 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7285   $as_echo_n "(cached) " >&6
   7286 else
   7287   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7288 /* end confdefs.h.  */
   7289 int i;
   7290 _ACEOF
   7291 if ac_fn_c_try_compile "$LINENO"; then :
   7292   xorg_cv_cc_flag_unused_command_line_argument=yes
   7293 else
   7294   xorg_cv_cc_flag_unused_command_line_argument=no
   7295 fi
   7296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7297 fi
   7298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7299 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7300 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7301 	CFLAGS="$xorg_testset_save_CFLAGS"
   7302 fi
   7303 
   7304 found="no"
   7305 
   7306 	if test $found = "no" ; then
   7307 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7308 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7309 		fi
   7310 
   7311 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7312 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7313 		fi
   7314 
   7315 		CFLAGS="$CFLAGS -Werror=main"
   7316 
   7317 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7318 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7319 		cacheid=xorg_cv_cc_flag__Werror_main
   7320 		if eval \${$cacheid+:} false; then :
   7321   $as_echo_n "(cached) " >&6
   7322 else
   7323   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7324 /* end confdefs.h.  */
   7325 int i;
   7326 int
   7327 main ()
   7328 {
   7329 
   7330   ;
   7331   return 0;
   7332 }
   7333 _ACEOF
   7334 if ac_fn_c_try_link "$LINENO"; then :
   7335   eval $cacheid=yes
   7336 else
   7337   eval $cacheid=no
   7338 fi
   7339 rm -f core conftest.err conftest.$ac_objext \
   7340     conftest$ac_exeext conftest.$ac_ext
   7341 fi
   7342 
   7343 
   7344 		CFLAGS="$xorg_testset_save_CFLAGS"
   7345 
   7346 		eval supported=\$$cacheid
   7347 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7348 $as_echo "$supported" >&6; }
   7349 		if test "$supported" = "yes" ; then
   7350 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7351 			found="yes"
   7352 		fi
   7353 	fi
   7354 
   7355 
   7356 
   7357 
   7358 
   7359 
   7360 
   7361 
   7362 
   7363 
   7364 
   7365 
   7366 
   7367 
   7368 
   7369 xorg_testset_save_CFLAGS="$CFLAGS"
   7370 
   7371 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7372 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7373 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7374 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7375 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7376   $as_echo_n "(cached) " >&6
   7377 else
   7378   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7379 /* end confdefs.h.  */
   7380 int i;
   7381 _ACEOF
   7382 if ac_fn_c_try_compile "$LINENO"; then :
   7383   xorg_cv_cc_flag_unknown_warning_option=yes
   7384 else
   7385   xorg_cv_cc_flag_unknown_warning_option=no
   7386 fi
   7387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7388 fi
   7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7390 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7391 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7392 	CFLAGS="$xorg_testset_save_CFLAGS"
   7393 fi
   7394 
   7395 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7396 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7397 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7398 	fi
   7399 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7400 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7401 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7402 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7403   $as_echo_n "(cached) " >&6
   7404 else
   7405   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7406 /* end confdefs.h.  */
   7407 int i;
   7408 _ACEOF
   7409 if ac_fn_c_try_compile "$LINENO"; then :
   7410   xorg_cv_cc_flag_unused_command_line_argument=yes
   7411 else
   7412   xorg_cv_cc_flag_unused_command_line_argument=no
   7413 fi
   7414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7415 fi
   7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7417 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7418 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7419 	CFLAGS="$xorg_testset_save_CFLAGS"
   7420 fi
   7421 
   7422 found="no"
   7423 
   7424 	if test $found = "no" ; then
   7425 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7426 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7427 		fi
   7428 
   7429 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7430 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7431 		fi
   7432 
   7433 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7434 
   7435 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7436 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7437 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7438 		if eval \${$cacheid+:} false; then :
   7439   $as_echo_n "(cached) " >&6
   7440 else
   7441   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7442 /* end confdefs.h.  */
   7443 int i;
   7444 int
   7445 main ()
   7446 {
   7447 
   7448   ;
   7449   return 0;
   7450 }
   7451 _ACEOF
   7452 if ac_fn_c_try_link "$LINENO"; then :
   7453   eval $cacheid=yes
   7454 else
   7455   eval $cacheid=no
   7456 fi
   7457 rm -f core conftest.err conftest.$ac_objext \
   7458     conftest$ac_exeext conftest.$ac_ext
   7459 fi
   7460 
   7461 
   7462 		CFLAGS="$xorg_testset_save_CFLAGS"
   7463 
   7464 		eval supported=\$$cacheid
   7465 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7466 $as_echo "$supported" >&6; }
   7467 		if test "$supported" = "yes" ; then
   7468 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7469 			found="yes"
   7470 		fi
   7471 	fi
   7472 
   7473 
   7474 
   7475 
   7476 
   7477 
   7478 
   7479 
   7480 
   7481 
   7482 
   7483 
   7484 
   7485 
   7486 
   7487 xorg_testset_save_CFLAGS="$CFLAGS"
   7488 
   7489 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7490 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7491 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7492 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7493 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7494   $as_echo_n "(cached) " >&6
   7495 else
   7496   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7497 /* end confdefs.h.  */
   7498 int i;
   7499 _ACEOF
   7500 if ac_fn_c_try_compile "$LINENO"; then :
   7501   xorg_cv_cc_flag_unknown_warning_option=yes
   7502 else
   7503   xorg_cv_cc_flag_unknown_warning_option=no
   7504 fi
   7505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7506 fi
   7507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7508 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7509 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7510 	CFLAGS="$xorg_testset_save_CFLAGS"
   7511 fi
   7512 
   7513 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7514 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7515 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7516 	fi
   7517 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7518 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7519 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7520 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7521   $as_echo_n "(cached) " >&6
   7522 else
   7523   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7524 /* end confdefs.h.  */
   7525 int i;
   7526 _ACEOF
   7527 if ac_fn_c_try_compile "$LINENO"; then :
   7528   xorg_cv_cc_flag_unused_command_line_argument=yes
   7529 else
   7530   xorg_cv_cc_flag_unused_command_line_argument=no
   7531 fi
   7532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7533 fi
   7534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7535 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7536 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7537 	CFLAGS="$xorg_testset_save_CFLAGS"
   7538 fi
   7539 
   7540 found="no"
   7541 
   7542 	if test $found = "no" ; then
   7543 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7544 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7545 		fi
   7546 
   7547 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7548 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7549 		fi
   7550 
   7551 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7552 
   7553 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7554 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7555 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7556 		if eval \${$cacheid+:} false; then :
   7557   $as_echo_n "(cached) " >&6
   7558 else
   7559   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7560 /* end confdefs.h.  */
   7561 int i;
   7562 int
   7563 main ()
   7564 {
   7565 
   7566   ;
   7567   return 0;
   7568 }
   7569 _ACEOF
   7570 if ac_fn_c_try_link "$LINENO"; then :
   7571   eval $cacheid=yes
   7572 else
   7573   eval $cacheid=no
   7574 fi
   7575 rm -f core conftest.err conftest.$ac_objext \
   7576     conftest$ac_exeext conftest.$ac_ext
   7577 fi
   7578 
   7579 
   7580 		CFLAGS="$xorg_testset_save_CFLAGS"
   7581 
   7582 		eval supported=\$$cacheid
   7583 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7584 $as_echo "$supported" >&6; }
   7585 		if test "$supported" = "yes" ; then
   7586 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7587 			found="yes"
   7588 		fi
   7589 	fi
   7590 
   7591 
   7592 
   7593 
   7594 
   7595 
   7596 
   7597 
   7598 
   7599 
   7600 
   7601 
   7602 
   7603 
   7604 
   7605 xorg_testset_save_CFLAGS="$CFLAGS"
   7606 
   7607 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7608 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7609 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7610 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7611 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7612   $as_echo_n "(cached) " >&6
   7613 else
   7614   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7615 /* end confdefs.h.  */
   7616 int i;
   7617 _ACEOF
   7618 if ac_fn_c_try_compile "$LINENO"; then :
   7619   xorg_cv_cc_flag_unknown_warning_option=yes
   7620 else
   7621   xorg_cv_cc_flag_unknown_warning_option=no
   7622 fi
   7623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7624 fi
   7625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7626 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7627 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7628 	CFLAGS="$xorg_testset_save_CFLAGS"
   7629 fi
   7630 
   7631 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7632 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7633 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7634 	fi
   7635 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7636 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7637 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7638 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7639   $as_echo_n "(cached) " >&6
   7640 else
   7641   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7642 /* end confdefs.h.  */
   7643 int i;
   7644 _ACEOF
   7645 if ac_fn_c_try_compile "$LINENO"; then :
   7646   xorg_cv_cc_flag_unused_command_line_argument=yes
   7647 else
   7648   xorg_cv_cc_flag_unused_command_line_argument=no
   7649 fi
   7650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7651 fi
   7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7653 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7654 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7655 	CFLAGS="$xorg_testset_save_CFLAGS"
   7656 fi
   7657 
   7658 found="no"
   7659 
   7660 	if test $found = "no" ; then
   7661 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7662 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7663 		fi
   7664 
   7665 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7666 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7667 		fi
   7668 
   7669 		CFLAGS="$CFLAGS -Werror=return-type"
   7670 
   7671 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7672 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7673 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7674 		if eval \${$cacheid+:} false; then :
   7675   $as_echo_n "(cached) " >&6
   7676 else
   7677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7678 /* end confdefs.h.  */
   7679 int i;
   7680 int
   7681 main ()
   7682 {
   7683 
   7684   ;
   7685   return 0;
   7686 }
   7687 _ACEOF
   7688 if ac_fn_c_try_link "$LINENO"; then :
   7689   eval $cacheid=yes
   7690 else
   7691   eval $cacheid=no
   7692 fi
   7693 rm -f core conftest.err conftest.$ac_objext \
   7694     conftest$ac_exeext conftest.$ac_ext
   7695 fi
   7696 
   7697 
   7698 		CFLAGS="$xorg_testset_save_CFLAGS"
   7699 
   7700 		eval supported=\$$cacheid
   7701 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7702 $as_echo "$supported" >&6; }
   7703 		if test "$supported" = "yes" ; then
   7704 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7705 			found="yes"
   7706 		fi
   7707 	fi
   7708 
   7709 	if test $found = "no" ; then
   7710 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7711 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7712 		fi
   7713 
   7714 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7715 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7716 		fi
   7717 
   7718 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7719 
   7720 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7721 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7722 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7723 		if eval \${$cacheid+:} false; then :
   7724   $as_echo_n "(cached) " >&6
   7725 else
   7726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7727 /* end confdefs.h.  */
   7728 int i;
   7729 int
   7730 main ()
   7731 {
   7732 
   7733   ;
   7734   return 0;
   7735 }
   7736 _ACEOF
   7737 if ac_fn_c_try_link "$LINENO"; then :
   7738   eval $cacheid=yes
   7739 else
   7740   eval $cacheid=no
   7741 fi
   7742 rm -f core conftest.err conftest.$ac_objext \
   7743     conftest$ac_exeext conftest.$ac_ext
   7744 fi
   7745 
   7746 
   7747 		CFLAGS="$xorg_testset_save_CFLAGS"
   7748 
   7749 		eval supported=\$$cacheid
   7750 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7751 $as_echo "$supported" >&6; }
   7752 		if test "$supported" = "yes" ; then
   7753 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7754 			found="yes"
   7755 		fi
   7756 	fi
   7757 
   7758 
   7759 
   7760 
   7761 
   7762 
   7763 
   7764 
   7765 
   7766 
   7767 
   7768 
   7769 
   7770 
   7771 
   7772 xorg_testset_save_CFLAGS="$CFLAGS"
   7773 
   7774 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7775 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7776 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7777 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7778 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7779   $as_echo_n "(cached) " >&6
   7780 else
   7781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7782 /* end confdefs.h.  */
   7783 int i;
   7784 _ACEOF
   7785 if ac_fn_c_try_compile "$LINENO"; then :
   7786   xorg_cv_cc_flag_unknown_warning_option=yes
   7787 else
   7788   xorg_cv_cc_flag_unknown_warning_option=no
   7789 fi
   7790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7791 fi
   7792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7793 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7794 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7795 	CFLAGS="$xorg_testset_save_CFLAGS"
   7796 fi
   7797 
   7798 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7799 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7800 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7801 	fi
   7802 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7803 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7804 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7805 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7806   $as_echo_n "(cached) " >&6
   7807 else
   7808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7809 /* end confdefs.h.  */
   7810 int i;
   7811 _ACEOF
   7812 if ac_fn_c_try_compile "$LINENO"; then :
   7813   xorg_cv_cc_flag_unused_command_line_argument=yes
   7814 else
   7815   xorg_cv_cc_flag_unused_command_line_argument=no
   7816 fi
   7817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7818 fi
   7819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7820 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7821 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7822 	CFLAGS="$xorg_testset_save_CFLAGS"
   7823 fi
   7824 
   7825 found="no"
   7826 
   7827 	if test $found = "no" ; then
   7828 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7829 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7830 		fi
   7831 
   7832 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7833 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7834 		fi
   7835 
   7836 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7837 
   7838 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7839 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7840 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   7841 		if eval \${$cacheid+:} false; then :
   7842   $as_echo_n "(cached) " >&6
   7843 else
   7844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7845 /* end confdefs.h.  */
   7846 int i;
   7847 int
   7848 main ()
   7849 {
   7850 
   7851   ;
   7852   return 0;
   7853 }
   7854 _ACEOF
   7855 if ac_fn_c_try_link "$LINENO"; then :
   7856   eval $cacheid=yes
   7857 else
   7858   eval $cacheid=no
   7859 fi
   7860 rm -f core conftest.err conftest.$ac_objext \
   7861     conftest$ac_exeext conftest.$ac_ext
   7862 fi
   7863 
   7864 
   7865 		CFLAGS="$xorg_testset_save_CFLAGS"
   7866 
   7867 		eval supported=\$$cacheid
   7868 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7869 $as_echo "$supported" >&6; }
   7870 		if test "$supported" = "yes" ; then
   7871 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7872 			found="yes"
   7873 		fi
   7874 	fi
   7875 
   7876 
   7877 
   7878 
   7879 
   7880 
   7881 
   7882 
   7883 
   7884 
   7885 
   7886 
   7887 
   7888 
   7889 
   7890 xorg_testset_save_CFLAGS="$CFLAGS"
   7891 
   7892 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7893 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7894 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7895 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7896 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7897   $as_echo_n "(cached) " >&6
   7898 else
   7899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7900 /* end confdefs.h.  */
   7901 int i;
   7902 _ACEOF
   7903 if ac_fn_c_try_compile "$LINENO"; then :
   7904   xorg_cv_cc_flag_unknown_warning_option=yes
   7905 else
   7906   xorg_cv_cc_flag_unknown_warning_option=no
   7907 fi
   7908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7909 fi
   7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7911 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7912 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7913 	CFLAGS="$xorg_testset_save_CFLAGS"
   7914 fi
   7915 
   7916 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7917 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7918 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7919 	fi
   7920 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7921 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7922 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7923 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7924   $as_echo_n "(cached) " >&6
   7925 else
   7926   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7927 /* end confdefs.h.  */
   7928 int i;
   7929 _ACEOF
   7930 if ac_fn_c_try_compile "$LINENO"; then :
   7931   xorg_cv_cc_flag_unused_command_line_argument=yes
   7932 else
   7933   xorg_cv_cc_flag_unused_command_line_argument=no
   7934 fi
   7935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7936 fi
   7937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7938 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7939 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7940 	CFLAGS="$xorg_testset_save_CFLAGS"
   7941 fi
   7942 
   7943 found="no"
   7944 
   7945 	if test $found = "no" ; then
   7946 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7947 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7948 		fi
   7949 
   7950 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7951 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7952 		fi
   7953 
   7954 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7955 
   7956 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7957 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7958 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   7959 		if eval \${$cacheid+:} false; then :
   7960   $as_echo_n "(cached) " >&6
   7961 else
   7962   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7963 /* end confdefs.h.  */
   7964 int i;
   7965 int
   7966 main ()
   7967 {
   7968 
   7969   ;
   7970   return 0;
   7971 }
   7972 _ACEOF
   7973 if ac_fn_c_try_link "$LINENO"; then :
   7974   eval $cacheid=yes
   7975 else
   7976   eval $cacheid=no
   7977 fi
   7978 rm -f core conftest.err conftest.$ac_objext \
   7979     conftest$ac_exeext conftest.$ac_ext
   7980 fi
   7981 
   7982 
   7983 		CFLAGS="$xorg_testset_save_CFLAGS"
   7984 
   7985 		eval supported=\$$cacheid
   7986 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7987 $as_echo "$supported" >&6; }
   7988 		if test "$supported" = "yes" ; then
   7989 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7990 			found="yes"
   7991 		fi
   7992 	fi
   7993 
   7994 
   7995 
   7996 
   7997 
   7998 
   7999 
   8000 
   8001 
   8002 
   8003 
   8004 
   8005 
   8006 
   8007 
   8008 xorg_testset_save_CFLAGS="$CFLAGS"
   8009 
   8010 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8011 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8012 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8013 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8014 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8015   $as_echo_n "(cached) " >&6
   8016 else
   8017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8018 /* end confdefs.h.  */
   8019 int i;
   8020 _ACEOF
   8021 if ac_fn_c_try_compile "$LINENO"; then :
   8022   xorg_cv_cc_flag_unknown_warning_option=yes
   8023 else
   8024   xorg_cv_cc_flag_unknown_warning_option=no
   8025 fi
   8026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8027 fi
   8028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8029 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8030 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8031 	CFLAGS="$xorg_testset_save_CFLAGS"
   8032 fi
   8033 
   8034 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8035 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8036 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8037 	fi
   8038 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8039 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8040 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8041 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8042   $as_echo_n "(cached) " >&6
   8043 else
   8044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8045 /* end confdefs.h.  */
   8046 int i;
   8047 _ACEOF
   8048 if ac_fn_c_try_compile "$LINENO"; then :
   8049   xorg_cv_cc_flag_unused_command_line_argument=yes
   8050 else
   8051   xorg_cv_cc_flag_unused_command_line_argument=no
   8052 fi
   8053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8054 fi
   8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8056 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8057 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8058 	CFLAGS="$xorg_testset_save_CFLAGS"
   8059 fi
   8060 
   8061 found="no"
   8062 
   8063 	if test $found = "no" ; then
   8064 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8065 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8066 		fi
   8067 
   8068 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8069 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8070 		fi
   8071 
   8072 		CFLAGS="$CFLAGS -Werror=write-strings"
   8073 
   8074 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8075 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8076 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8077 		if eval \${$cacheid+:} false; then :
   8078   $as_echo_n "(cached) " >&6
   8079 else
   8080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8081 /* end confdefs.h.  */
   8082 int i;
   8083 int
   8084 main ()
   8085 {
   8086 
   8087   ;
   8088   return 0;
   8089 }
   8090 _ACEOF
   8091 if ac_fn_c_try_link "$LINENO"; then :
   8092   eval $cacheid=yes
   8093 else
   8094   eval $cacheid=no
   8095 fi
   8096 rm -f core conftest.err conftest.$ac_objext \
   8097     conftest$ac_exeext conftest.$ac_ext
   8098 fi
   8099 
   8100 
   8101 		CFLAGS="$xorg_testset_save_CFLAGS"
   8102 
   8103 		eval supported=\$$cacheid
   8104 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8105 $as_echo "$supported" >&6; }
   8106 		if test "$supported" = "yes" ; then
   8107 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8108 			found="yes"
   8109 		fi
   8110 	fi
   8111 
   8112 
   8113 
   8114 
   8115 
   8116 
   8117 
   8118 
   8119 
   8120 
   8121 
   8122 
   8123 
   8124 
   8125 
   8126 xorg_testset_save_CFLAGS="$CFLAGS"
   8127 
   8128 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8129 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8130 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8131 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8132 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8133   $as_echo_n "(cached) " >&6
   8134 else
   8135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8136 /* end confdefs.h.  */
   8137 int i;
   8138 _ACEOF
   8139 if ac_fn_c_try_compile "$LINENO"; then :
   8140   xorg_cv_cc_flag_unknown_warning_option=yes
   8141 else
   8142   xorg_cv_cc_flag_unknown_warning_option=no
   8143 fi
   8144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8145 fi
   8146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8147 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8148 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8149 	CFLAGS="$xorg_testset_save_CFLAGS"
   8150 fi
   8151 
   8152 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8153 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8154 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8155 	fi
   8156 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8157 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8158 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8159 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8160   $as_echo_n "(cached) " >&6
   8161 else
   8162   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8163 /* end confdefs.h.  */
   8164 int i;
   8165 _ACEOF
   8166 if ac_fn_c_try_compile "$LINENO"; then :
   8167   xorg_cv_cc_flag_unused_command_line_argument=yes
   8168 else
   8169   xorg_cv_cc_flag_unused_command_line_argument=no
   8170 fi
   8171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8172 fi
   8173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8174 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8175 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8176 	CFLAGS="$xorg_testset_save_CFLAGS"
   8177 fi
   8178 
   8179 found="no"
   8180 
   8181 	if test $found = "no" ; then
   8182 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8183 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8184 		fi
   8185 
   8186 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8187 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8188 		fi
   8189 
   8190 		CFLAGS="$CFLAGS -Werror=address"
   8191 
   8192 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8193 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8194 		cacheid=xorg_cv_cc_flag__Werror_address
   8195 		if eval \${$cacheid+:} false; then :
   8196   $as_echo_n "(cached) " >&6
   8197 else
   8198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8199 /* end confdefs.h.  */
   8200 int i;
   8201 int
   8202 main ()
   8203 {
   8204 
   8205   ;
   8206   return 0;
   8207 }
   8208 _ACEOF
   8209 if ac_fn_c_try_link "$LINENO"; then :
   8210   eval $cacheid=yes
   8211 else
   8212   eval $cacheid=no
   8213 fi
   8214 rm -f core conftest.err conftest.$ac_objext \
   8215     conftest$ac_exeext conftest.$ac_ext
   8216 fi
   8217 
   8218 
   8219 		CFLAGS="$xorg_testset_save_CFLAGS"
   8220 
   8221 		eval supported=\$$cacheid
   8222 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8223 $as_echo "$supported" >&6; }
   8224 		if test "$supported" = "yes" ; then
   8225 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8226 			found="yes"
   8227 		fi
   8228 	fi
   8229 
   8230 
   8231 
   8232 
   8233 
   8234 
   8235 
   8236 
   8237 
   8238 
   8239 
   8240 
   8241 
   8242 
   8243 
   8244 xorg_testset_save_CFLAGS="$CFLAGS"
   8245 
   8246 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8247 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8248 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8249 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8250 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8251   $as_echo_n "(cached) " >&6
   8252 else
   8253   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8254 /* end confdefs.h.  */
   8255 int i;
   8256 _ACEOF
   8257 if ac_fn_c_try_compile "$LINENO"; then :
   8258   xorg_cv_cc_flag_unknown_warning_option=yes
   8259 else
   8260   xorg_cv_cc_flag_unknown_warning_option=no
   8261 fi
   8262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8263 fi
   8264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8265 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8266 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8267 	CFLAGS="$xorg_testset_save_CFLAGS"
   8268 fi
   8269 
   8270 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8271 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8272 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8273 	fi
   8274 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8275 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8276 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8277 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8278   $as_echo_n "(cached) " >&6
   8279 else
   8280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8281 /* end confdefs.h.  */
   8282 int i;
   8283 _ACEOF
   8284 if ac_fn_c_try_compile "$LINENO"; then :
   8285   xorg_cv_cc_flag_unused_command_line_argument=yes
   8286 else
   8287   xorg_cv_cc_flag_unused_command_line_argument=no
   8288 fi
   8289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8290 fi
   8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8292 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8293 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8294 	CFLAGS="$xorg_testset_save_CFLAGS"
   8295 fi
   8296 
   8297 found="no"
   8298 
   8299 	if test $found = "no" ; then
   8300 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8301 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8302 		fi
   8303 
   8304 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8305 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8306 		fi
   8307 
   8308 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8309 
   8310 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8311 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8312 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8313 		if eval \${$cacheid+:} false; then :
   8314   $as_echo_n "(cached) " >&6
   8315 else
   8316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8317 /* end confdefs.h.  */
   8318 int i;
   8319 int
   8320 main ()
   8321 {
   8322 
   8323   ;
   8324   return 0;
   8325 }
   8326 _ACEOF
   8327 if ac_fn_c_try_link "$LINENO"; then :
   8328   eval $cacheid=yes
   8329 else
   8330   eval $cacheid=no
   8331 fi
   8332 rm -f core conftest.err conftest.$ac_objext \
   8333     conftest$ac_exeext conftest.$ac_ext
   8334 fi
   8335 
   8336 
   8337 		CFLAGS="$xorg_testset_save_CFLAGS"
   8338 
   8339 		eval supported=\$$cacheid
   8340 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8341 $as_echo "$supported" >&6; }
   8342 		if test "$supported" = "yes" ; then
   8343 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8344 			found="yes"
   8345 		fi
   8346 	fi
   8347 
   8348 	if test $found = "no" ; then
   8349 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8350 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8351 		fi
   8352 
   8353 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8354 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8355 		fi
   8356 
   8357 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8358 
   8359 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8360 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8361 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8362 		if eval \${$cacheid+:} false; then :
   8363   $as_echo_n "(cached) " >&6
   8364 else
   8365   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8366 /* end confdefs.h.  */
   8367 int i;
   8368 int
   8369 main ()
   8370 {
   8371 
   8372   ;
   8373   return 0;
   8374 }
   8375 _ACEOF
   8376 if ac_fn_c_try_link "$LINENO"; then :
   8377   eval $cacheid=yes
   8378 else
   8379   eval $cacheid=no
   8380 fi
   8381 rm -f core conftest.err conftest.$ac_objext \
   8382     conftest$ac_exeext conftest.$ac_ext
   8383 fi
   8384 
   8385 
   8386 		CFLAGS="$xorg_testset_save_CFLAGS"
   8387 
   8388 		eval supported=\$$cacheid
   8389 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8390 $as_echo "$supported" >&6; }
   8391 		if test "$supported" = "yes" ; then
   8392 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8393 			found="yes"
   8394 		fi
   8395 	fi
   8396 
   8397 
   8398 
   8399 
   8400 
   8401 
   8402 
   8403 
   8404 
   8405 
   8406 
   8407 
   8408 
   8409 
   8410 
   8411 xorg_testset_save_CFLAGS="$CFLAGS"
   8412 
   8413 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8414 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8415 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8416 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8417 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8418   $as_echo_n "(cached) " >&6
   8419 else
   8420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8421 /* end confdefs.h.  */
   8422 int i;
   8423 _ACEOF
   8424 if ac_fn_c_try_compile "$LINENO"; then :
   8425   xorg_cv_cc_flag_unknown_warning_option=yes
   8426 else
   8427   xorg_cv_cc_flag_unknown_warning_option=no
   8428 fi
   8429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8430 fi
   8431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8432 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8433 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8434 	CFLAGS="$xorg_testset_save_CFLAGS"
   8435 fi
   8436 
   8437 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8438 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8439 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8440 	fi
   8441 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8442 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8443 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8444 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8445   $as_echo_n "(cached) " >&6
   8446 else
   8447   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8448 /* end confdefs.h.  */
   8449 int i;
   8450 _ACEOF
   8451 if ac_fn_c_try_compile "$LINENO"; then :
   8452   xorg_cv_cc_flag_unused_command_line_argument=yes
   8453 else
   8454   xorg_cv_cc_flag_unused_command_line_argument=no
   8455 fi
   8456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8457 fi
   8458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8459 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8460 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8461 	CFLAGS="$xorg_testset_save_CFLAGS"
   8462 fi
   8463 
   8464 found="no"
   8465 
   8466 	if test $found = "no" ; then
   8467 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8468 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8469 		fi
   8470 
   8471 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8472 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8473 		fi
   8474 
   8475 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8476 
   8477 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8478 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8479 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8480 		if eval \${$cacheid+:} false; then :
   8481   $as_echo_n "(cached) " >&6
   8482 else
   8483   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8484 /* end confdefs.h.  */
   8485 int i;
   8486 int
   8487 main ()
   8488 {
   8489 
   8490   ;
   8491   return 0;
   8492 }
   8493 _ACEOF
   8494 if ac_fn_c_try_link "$LINENO"; then :
   8495   eval $cacheid=yes
   8496 else
   8497   eval $cacheid=no
   8498 fi
   8499 rm -f core conftest.err conftest.$ac_objext \
   8500     conftest$ac_exeext conftest.$ac_ext
   8501 fi
   8502 
   8503 
   8504 		CFLAGS="$xorg_testset_save_CFLAGS"
   8505 
   8506 		eval supported=\$$cacheid
   8507 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8508 $as_echo "$supported" >&6; }
   8509 		if test "$supported" = "yes" ; then
   8510 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8511 			found="yes"
   8512 		fi
   8513 	fi
   8514 
   8515  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8516 else
   8517 { $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
   8518 $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;}
   8519 
   8520 
   8521 
   8522 
   8523 
   8524 
   8525 
   8526 
   8527 
   8528 
   8529 
   8530 
   8531 
   8532 xorg_testset_save_CFLAGS="$CFLAGS"
   8533 
   8534 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8535 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8536 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8537 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8538 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8539   $as_echo_n "(cached) " >&6
   8540 else
   8541   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8542 /* end confdefs.h.  */
   8543 int i;
   8544 _ACEOF
   8545 if ac_fn_c_try_compile "$LINENO"; then :
   8546   xorg_cv_cc_flag_unknown_warning_option=yes
   8547 else
   8548   xorg_cv_cc_flag_unknown_warning_option=no
   8549 fi
   8550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8551 fi
   8552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8553 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8554 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8555 	CFLAGS="$xorg_testset_save_CFLAGS"
   8556 fi
   8557 
   8558 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8559 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8560 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8561 	fi
   8562 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8563 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8564 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8565 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8566   $as_echo_n "(cached) " >&6
   8567 else
   8568   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8569 /* end confdefs.h.  */
   8570 int i;
   8571 _ACEOF
   8572 if ac_fn_c_try_compile "$LINENO"; then :
   8573   xorg_cv_cc_flag_unused_command_line_argument=yes
   8574 else
   8575   xorg_cv_cc_flag_unused_command_line_argument=no
   8576 fi
   8577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8578 fi
   8579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8580 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8581 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8582 	CFLAGS="$xorg_testset_save_CFLAGS"
   8583 fi
   8584 
   8585 found="no"
   8586 
   8587 	if test $found = "no" ; then
   8588 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8589 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8590 		fi
   8591 
   8592 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8593 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8594 		fi
   8595 
   8596 		CFLAGS="$CFLAGS -Wimplicit"
   8597 
   8598 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8599 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8600 		cacheid=xorg_cv_cc_flag__Wimplicit
   8601 		if eval \${$cacheid+:} false; then :
   8602   $as_echo_n "(cached) " >&6
   8603 else
   8604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8605 /* end confdefs.h.  */
   8606 int i;
   8607 int
   8608 main ()
   8609 {
   8610 
   8611   ;
   8612   return 0;
   8613 }
   8614 _ACEOF
   8615 if ac_fn_c_try_link "$LINENO"; then :
   8616   eval $cacheid=yes
   8617 else
   8618   eval $cacheid=no
   8619 fi
   8620 rm -f core conftest.err conftest.$ac_objext \
   8621     conftest$ac_exeext conftest.$ac_ext
   8622 fi
   8623 
   8624 
   8625 		CFLAGS="$xorg_testset_save_CFLAGS"
   8626 
   8627 		eval supported=\$$cacheid
   8628 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8629 $as_echo "$supported" >&6; }
   8630 		if test "$supported" = "yes" ; then
   8631 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8632 			found="yes"
   8633 		fi
   8634 	fi
   8635 
   8636 
   8637 
   8638 
   8639 
   8640 
   8641 
   8642 
   8643 
   8644 
   8645 
   8646 
   8647 
   8648 
   8649 
   8650 xorg_testset_save_CFLAGS="$CFLAGS"
   8651 
   8652 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8653 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8654 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8655 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8656 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8657   $as_echo_n "(cached) " >&6
   8658 else
   8659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8660 /* end confdefs.h.  */
   8661 int i;
   8662 _ACEOF
   8663 if ac_fn_c_try_compile "$LINENO"; then :
   8664   xorg_cv_cc_flag_unknown_warning_option=yes
   8665 else
   8666   xorg_cv_cc_flag_unknown_warning_option=no
   8667 fi
   8668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8669 fi
   8670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8671 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8672 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8673 	CFLAGS="$xorg_testset_save_CFLAGS"
   8674 fi
   8675 
   8676 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8677 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8678 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8679 	fi
   8680 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8681 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8682 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8683 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8684   $as_echo_n "(cached) " >&6
   8685 else
   8686   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8687 /* end confdefs.h.  */
   8688 int i;
   8689 _ACEOF
   8690 if ac_fn_c_try_compile "$LINENO"; then :
   8691   xorg_cv_cc_flag_unused_command_line_argument=yes
   8692 else
   8693   xorg_cv_cc_flag_unused_command_line_argument=no
   8694 fi
   8695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8696 fi
   8697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8698 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8699 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8700 	CFLAGS="$xorg_testset_save_CFLAGS"
   8701 fi
   8702 
   8703 found="no"
   8704 
   8705 	if test $found = "no" ; then
   8706 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8707 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8708 		fi
   8709 
   8710 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8711 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8712 		fi
   8713 
   8714 		CFLAGS="$CFLAGS -Wnonnull"
   8715 
   8716 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8717 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8718 		cacheid=xorg_cv_cc_flag__Wnonnull
   8719 		if eval \${$cacheid+:} false; then :
   8720   $as_echo_n "(cached) " >&6
   8721 else
   8722   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8723 /* end confdefs.h.  */
   8724 int i;
   8725 int
   8726 main ()
   8727 {
   8728 
   8729   ;
   8730   return 0;
   8731 }
   8732 _ACEOF
   8733 if ac_fn_c_try_link "$LINENO"; then :
   8734   eval $cacheid=yes
   8735 else
   8736   eval $cacheid=no
   8737 fi
   8738 rm -f core conftest.err conftest.$ac_objext \
   8739     conftest$ac_exeext conftest.$ac_ext
   8740 fi
   8741 
   8742 
   8743 		CFLAGS="$xorg_testset_save_CFLAGS"
   8744 
   8745 		eval supported=\$$cacheid
   8746 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8747 $as_echo "$supported" >&6; }
   8748 		if test "$supported" = "yes" ; then
   8749 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8750 			found="yes"
   8751 		fi
   8752 	fi
   8753 
   8754 
   8755 
   8756 
   8757 
   8758 
   8759 
   8760 
   8761 
   8762 
   8763 
   8764 
   8765 
   8766 
   8767 
   8768 xorg_testset_save_CFLAGS="$CFLAGS"
   8769 
   8770 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8771 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8772 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8773 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8774 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8775   $as_echo_n "(cached) " >&6
   8776 else
   8777   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8778 /* end confdefs.h.  */
   8779 int i;
   8780 _ACEOF
   8781 if ac_fn_c_try_compile "$LINENO"; then :
   8782   xorg_cv_cc_flag_unknown_warning_option=yes
   8783 else
   8784   xorg_cv_cc_flag_unknown_warning_option=no
   8785 fi
   8786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8787 fi
   8788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8789 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8790 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8791 	CFLAGS="$xorg_testset_save_CFLAGS"
   8792 fi
   8793 
   8794 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8795 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8796 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8797 	fi
   8798 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8799 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8800 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8801 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8802   $as_echo_n "(cached) " >&6
   8803 else
   8804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8805 /* end confdefs.h.  */
   8806 int i;
   8807 _ACEOF
   8808 if ac_fn_c_try_compile "$LINENO"; then :
   8809   xorg_cv_cc_flag_unused_command_line_argument=yes
   8810 else
   8811   xorg_cv_cc_flag_unused_command_line_argument=no
   8812 fi
   8813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8814 fi
   8815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8816 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8817 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8818 	CFLAGS="$xorg_testset_save_CFLAGS"
   8819 fi
   8820 
   8821 found="no"
   8822 
   8823 	if test $found = "no" ; then
   8824 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8825 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8826 		fi
   8827 
   8828 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8829 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8830 		fi
   8831 
   8832 		CFLAGS="$CFLAGS -Winit-self"
   8833 
   8834 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8835 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8836 		cacheid=xorg_cv_cc_flag__Winit_self
   8837 		if eval \${$cacheid+:} false; then :
   8838   $as_echo_n "(cached) " >&6
   8839 else
   8840   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8841 /* end confdefs.h.  */
   8842 int i;
   8843 int
   8844 main ()
   8845 {
   8846 
   8847   ;
   8848   return 0;
   8849 }
   8850 _ACEOF
   8851 if ac_fn_c_try_link "$LINENO"; then :
   8852   eval $cacheid=yes
   8853 else
   8854   eval $cacheid=no
   8855 fi
   8856 rm -f core conftest.err conftest.$ac_objext \
   8857     conftest$ac_exeext conftest.$ac_ext
   8858 fi
   8859 
   8860 
   8861 		CFLAGS="$xorg_testset_save_CFLAGS"
   8862 
   8863 		eval supported=\$$cacheid
   8864 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8865 $as_echo "$supported" >&6; }
   8866 		if test "$supported" = "yes" ; then
   8867 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8868 			found="yes"
   8869 		fi
   8870 	fi
   8871 
   8872 
   8873 
   8874 
   8875 
   8876 
   8877 
   8878 
   8879 
   8880 
   8881 
   8882 
   8883 
   8884 
   8885 
   8886 xorg_testset_save_CFLAGS="$CFLAGS"
   8887 
   8888 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8889 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8890 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8891 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8892 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8893   $as_echo_n "(cached) " >&6
   8894 else
   8895   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8896 /* end confdefs.h.  */
   8897 int i;
   8898 _ACEOF
   8899 if ac_fn_c_try_compile "$LINENO"; then :
   8900   xorg_cv_cc_flag_unknown_warning_option=yes
   8901 else
   8902   xorg_cv_cc_flag_unknown_warning_option=no
   8903 fi
   8904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8905 fi
   8906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8907 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8908 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8909 	CFLAGS="$xorg_testset_save_CFLAGS"
   8910 fi
   8911 
   8912 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8913 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8914 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8915 	fi
   8916 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8917 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8918 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8919 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8920   $as_echo_n "(cached) " >&6
   8921 else
   8922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8923 /* end confdefs.h.  */
   8924 int i;
   8925 _ACEOF
   8926 if ac_fn_c_try_compile "$LINENO"; then :
   8927   xorg_cv_cc_flag_unused_command_line_argument=yes
   8928 else
   8929   xorg_cv_cc_flag_unused_command_line_argument=no
   8930 fi
   8931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8932 fi
   8933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8934 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8935 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8936 	CFLAGS="$xorg_testset_save_CFLAGS"
   8937 fi
   8938 
   8939 found="no"
   8940 
   8941 	if test $found = "no" ; then
   8942 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8943 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8944 		fi
   8945 
   8946 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8947 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8948 		fi
   8949 
   8950 		CFLAGS="$CFLAGS -Wmain"
   8951 
   8952 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8953 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8954 		cacheid=xorg_cv_cc_flag__Wmain
   8955 		if eval \${$cacheid+:} false; then :
   8956   $as_echo_n "(cached) " >&6
   8957 else
   8958   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8959 /* end confdefs.h.  */
   8960 int i;
   8961 int
   8962 main ()
   8963 {
   8964 
   8965   ;
   8966   return 0;
   8967 }
   8968 _ACEOF
   8969 if ac_fn_c_try_link "$LINENO"; then :
   8970   eval $cacheid=yes
   8971 else
   8972   eval $cacheid=no
   8973 fi
   8974 rm -f core conftest.err conftest.$ac_objext \
   8975     conftest$ac_exeext conftest.$ac_ext
   8976 fi
   8977 
   8978 
   8979 		CFLAGS="$xorg_testset_save_CFLAGS"
   8980 
   8981 		eval supported=\$$cacheid
   8982 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8983 $as_echo "$supported" >&6; }
   8984 		if test "$supported" = "yes" ; then
   8985 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8986 			found="yes"
   8987 		fi
   8988 	fi
   8989 
   8990 
   8991 
   8992 
   8993 
   8994 
   8995 
   8996 
   8997 
   8998 
   8999 
   9000 
   9001 
   9002 
   9003 
   9004 xorg_testset_save_CFLAGS="$CFLAGS"
   9005 
   9006 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9007 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9008 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9009 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9010 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9011   $as_echo_n "(cached) " >&6
   9012 else
   9013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9014 /* end confdefs.h.  */
   9015 int i;
   9016 _ACEOF
   9017 if ac_fn_c_try_compile "$LINENO"; then :
   9018   xorg_cv_cc_flag_unknown_warning_option=yes
   9019 else
   9020   xorg_cv_cc_flag_unknown_warning_option=no
   9021 fi
   9022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9023 fi
   9024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9025 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9026 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9027 	CFLAGS="$xorg_testset_save_CFLAGS"
   9028 fi
   9029 
   9030 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9031 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9032 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9033 	fi
   9034 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9035 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9036 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9037 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9038   $as_echo_n "(cached) " >&6
   9039 else
   9040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9041 /* end confdefs.h.  */
   9042 int i;
   9043 _ACEOF
   9044 if ac_fn_c_try_compile "$LINENO"; then :
   9045   xorg_cv_cc_flag_unused_command_line_argument=yes
   9046 else
   9047   xorg_cv_cc_flag_unused_command_line_argument=no
   9048 fi
   9049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9050 fi
   9051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9052 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9053 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9054 	CFLAGS="$xorg_testset_save_CFLAGS"
   9055 fi
   9056 
   9057 found="no"
   9058 
   9059 	if test $found = "no" ; then
   9060 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9061 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9062 		fi
   9063 
   9064 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9065 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9066 		fi
   9067 
   9068 		CFLAGS="$CFLAGS -Wmissing-braces"
   9069 
   9070 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9071 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9072 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9073 		if eval \${$cacheid+:} false; then :
   9074   $as_echo_n "(cached) " >&6
   9075 else
   9076   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9077 /* end confdefs.h.  */
   9078 int i;
   9079 int
   9080 main ()
   9081 {
   9082 
   9083   ;
   9084   return 0;
   9085 }
   9086 _ACEOF
   9087 if ac_fn_c_try_link "$LINENO"; then :
   9088   eval $cacheid=yes
   9089 else
   9090   eval $cacheid=no
   9091 fi
   9092 rm -f core conftest.err conftest.$ac_objext \
   9093     conftest$ac_exeext conftest.$ac_ext
   9094 fi
   9095 
   9096 
   9097 		CFLAGS="$xorg_testset_save_CFLAGS"
   9098 
   9099 		eval supported=\$$cacheid
   9100 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9101 $as_echo "$supported" >&6; }
   9102 		if test "$supported" = "yes" ; then
   9103 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9104 			found="yes"
   9105 		fi
   9106 	fi
   9107 
   9108 
   9109 
   9110 
   9111 
   9112 
   9113 
   9114 
   9115 
   9116 
   9117 
   9118 
   9119 
   9120 
   9121 
   9122 xorg_testset_save_CFLAGS="$CFLAGS"
   9123 
   9124 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9125 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9126 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9127 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9128 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9129   $as_echo_n "(cached) " >&6
   9130 else
   9131   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9132 /* end confdefs.h.  */
   9133 int i;
   9134 _ACEOF
   9135 if ac_fn_c_try_compile "$LINENO"; then :
   9136   xorg_cv_cc_flag_unknown_warning_option=yes
   9137 else
   9138   xorg_cv_cc_flag_unknown_warning_option=no
   9139 fi
   9140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9141 fi
   9142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9143 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9144 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9145 	CFLAGS="$xorg_testset_save_CFLAGS"
   9146 fi
   9147 
   9148 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9149 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9150 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9151 	fi
   9152 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9153 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9154 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9155 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9156   $as_echo_n "(cached) " >&6
   9157 else
   9158   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9159 /* end confdefs.h.  */
   9160 int i;
   9161 _ACEOF
   9162 if ac_fn_c_try_compile "$LINENO"; then :
   9163   xorg_cv_cc_flag_unused_command_line_argument=yes
   9164 else
   9165   xorg_cv_cc_flag_unused_command_line_argument=no
   9166 fi
   9167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9168 fi
   9169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9170 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9171 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9172 	CFLAGS="$xorg_testset_save_CFLAGS"
   9173 fi
   9174 
   9175 found="no"
   9176 
   9177 	if test $found = "no" ; then
   9178 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9179 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9180 		fi
   9181 
   9182 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9183 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9184 		fi
   9185 
   9186 		CFLAGS="$CFLAGS -Wsequence-point"
   9187 
   9188 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9189 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9190 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9191 		if eval \${$cacheid+:} false; then :
   9192   $as_echo_n "(cached) " >&6
   9193 else
   9194   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9195 /* end confdefs.h.  */
   9196 int i;
   9197 int
   9198 main ()
   9199 {
   9200 
   9201   ;
   9202   return 0;
   9203 }
   9204 _ACEOF
   9205 if ac_fn_c_try_link "$LINENO"; then :
   9206   eval $cacheid=yes
   9207 else
   9208   eval $cacheid=no
   9209 fi
   9210 rm -f core conftest.err conftest.$ac_objext \
   9211     conftest$ac_exeext conftest.$ac_ext
   9212 fi
   9213 
   9214 
   9215 		CFLAGS="$xorg_testset_save_CFLAGS"
   9216 
   9217 		eval supported=\$$cacheid
   9218 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9219 $as_echo "$supported" >&6; }
   9220 		if test "$supported" = "yes" ; then
   9221 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9222 			found="yes"
   9223 		fi
   9224 	fi
   9225 
   9226 
   9227 
   9228 
   9229 
   9230 
   9231 
   9232 
   9233 
   9234 
   9235 
   9236 
   9237 
   9238 
   9239 
   9240 xorg_testset_save_CFLAGS="$CFLAGS"
   9241 
   9242 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9243 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9244 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9245 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9246 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9247   $as_echo_n "(cached) " >&6
   9248 else
   9249   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9250 /* end confdefs.h.  */
   9251 int i;
   9252 _ACEOF
   9253 if ac_fn_c_try_compile "$LINENO"; then :
   9254   xorg_cv_cc_flag_unknown_warning_option=yes
   9255 else
   9256   xorg_cv_cc_flag_unknown_warning_option=no
   9257 fi
   9258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9259 fi
   9260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9261 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9262 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9263 	CFLAGS="$xorg_testset_save_CFLAGS"
   9264 fi
   9265 
   9266 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9267 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9268 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9269 	fi
   9270 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9271 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9272 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9273 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9274   $as_echo_n "(cached) " >&6
   9275 else
   9276   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9277 /* end confdefs.h.  */
   9278 int i;
   9279 _ACEOF
   9280 if ac_fn_c_try_compile "$LINENO"; then :
   9281   xorg_cv_cc_flag_unused_command_line_argument=yes
   9282 else
   9283   xorg_cv_cc_flag_unused_command_line_argument=no
   9284 fi
   9285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9286 fi
   9287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9288 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9289 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9290 	CFLAGS="$xorg_testset_save_CFLAGS"
   9291 fi
   9292 
   9293 found="no"
   9294 
   9295 	if test $found = "no" ; then
   9296 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9297 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9298 		fi
   9299 
   9300 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9301 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9302 		fi
   9303 
   9304 		CFLAGS="$CFLAGS -Wreturn-type"
   9305 
   9306 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9307 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9308 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9309 		if eval \${$cacheid+:} false; then :
   9310   $as_echo_n "(cached) " >&6
   9311 else
   9312   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9313 /* end confdefs.h.  */
   9314 int i;
   9315 int
   9316 main ()
   9317 {
   9318 
   9319   ;
   9320   return 0;
   9321 }
   9322 _ACEOF
   9323 if ac_fn_c_try_link "$LINENO"; then :
   9324   eval $cacheid=yes
   9325 else
   9326   eval $cacheid=no
   9327 fi
   9328 rm -f core conftest.err conftest.$ac_objext \
   9329     conftest$ac_exeext conftest.$ac_ext
   9330 fi
   9331 
   9332 
   9333 		CFLAGS="$xorg_testset_save_CFLAGS"
   9334 
   9335 		eval supported=\$$cacheid
   9336 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9337 $as_echo "$supported" >&6; }
   9338 		if test "$supported" = "yes" ; then
   9339 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9340 			found="yes"
   9341 		fi
   9342 	fi
   9343 
   9344 
   9345 
   9346 
   9347 
   9348 
   9349 
   9350 
   9351 
   9352 
   9353 
   9354 
   9355 
   9356 
   9357 
   9358 xorg_testset_save_CFLAGS="$CFLAGS"
   9359 
   9360 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9361 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9362 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9363 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9364 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9365   $as_echo_n "(cached) " >&6
   9366 else
   9367   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9368 /* end confdefs.h.  */
   9369 int i;
   9370 _ACEOF
   9371 if ac_fn_c_try_compile "$LINENO"; then :
   9372   xorg_cv_cc_flag_unknown_warning_option=yes
   9373 else
   9374   xorg_cv_cc_flag_unknown_warning_option=no
   9375 fi
   9376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9377 fi
   9378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9379 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9380 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9381 	CFLAGS="$xorg_testset_save_CFLAGS"
   9382 fi
   9383 
   9384 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9385 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9386 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9387 	fi
   9388 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9389 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9390 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9391 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9392   $as_echo_n "(cached) " >&6
   9393 else
   9394   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9395 /* end confdefs.h.  */
   9396 int i;
   9397 _ACEOF
   9398 if ac_fn_c_try_compile "$LINENO"; then :
   9399   xorg_cv_cc_flag_unused_command_line_argument=yes
   9400 else
   9401   xorg_cv_cc_flag_unused_command_line_argument=no
   9402 fi
   9403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9404 fi
   9405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9406 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9407 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9408 	CFLAGS="$xorg_testset_save_CFLAGS"
   9409 fi
   9410 
   9411 found="no"
   9412 
   9413 	if test $found = "no" ; then
   9414 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9415 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9416 		fi
   9417 
   9418 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9419 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9420 		fi
   9421 
   9422 		CFLAGS="$CFLAGS -Wtrigraphs"
   9423 
   9424 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9425 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9426 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9427 		if eval \${$cacheid+:} false; then :
   9428   $as_echo_n "(cached) " >&6
   9429 else
   9430   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9431 /* end confdefs.h.  */
   9432 int i;
   9433 int
   9434 main ()
   9435 {
   9436 
   9437   ;
   9438   return 0;
   9439 }
   9440 _ACEOF
   9441 if ac_fn_c_try_link "$LINENO"; then :
   9442   eval $cacheid=yes
   9443 else
   9444   eval $cacheid=no
   9445 fi
   9446 rm -f core conftest.err conftest.$ac_objext \
   9447     conftest$ac_exeext conftest.$ac_ext
   9448 fi
   9449 
   9450 
   9451 		CFLAGS="$xorg_testset_save_CFLAGS"
   9452 
   9453 		eval supported=\$$cacheid
   9454 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9455 $as_echo "$supported" >&6; }
   9456 		if test "$supported" = "yes" ; then
   9457 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9458 			found="yes"
   9459 		fi
   9460 	fi
   9461 
   9462 
   9463 
   9464 
   9465 
   9466 
   9467 
   9468 
   9469 
   9470 
   9471 
   9472 
   9473 
   9474 
   9475 
   9476 xorg_testset_save_CFLAGS="$CFLAGS"
   9477 
   9478 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9479 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9480 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9481 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9482 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9483   $as_echo_n "(cached) " >&6
   9484 else
   9485   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9486 /* end confdefs.h.  */
   9487 int i;
   9488 _ACEOF
   9489 if ac_fn_c_try_compile "$LINENO"; then :
   9490   xorg_cv_cc_flag_unknown_warning_option=yes
   9491 else
   9492   xorg_cv_cc_flag_unknown_warning_option=no
   9493 fi
   9494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9495 fi
   9496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9497 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9498 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9499 	CFLAGS="$xorg_testset_save_CFLAGS"
   9500 fi
   9501 
   9502 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9503 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9504 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9505 	fi
   9506 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9507 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9508 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9509 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9510   $as_echo_n "(cached) " >&6
   9511 else
   9512   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9513 /* end confdefs.h.  */
   9514 int i;
   9515 _ACEOF
   9516 if ac_fn_c_try_compile "$LINENO"; then :
   9517   xorg_cv_cc_flag_unused_command_line_argument=yes
   9518 else
   9519   xorg_cv_cc_flag_unused_command_line_argument=no
   9520 fi
   9521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9522 fi
   9523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9524 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9525 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9526 	CFLAGS="$xorg_testset_save_CFLAGS"
   9527 fi
   9528 
   9529 found="no"
   9530 
   9531 	if test $found = "no" ; then
   9532 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9533 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9534 		fi
   9535 
   9536 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9537 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9538 		fi
   9539 
   9540 		CFLAGS="$CFLAGS -Warray-bounds"
   9541 
   9542 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9543 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9544 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9545 		if eval \${$cacheid+:} false; then :
   9546   $as_echo_n "(cached) " >&6
   9547 else
   9548   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9549 /* end confdefs.h.  */
   9550 int i;
   9551 int
   9552 main ()
   9553 {
   9554 
   9555   ;
   9556   return 0;
   9557 }
   9558 _ACEOF
   9559 if ac_fn_c_try_link "$LINENO"; then :
   9560   eval $cacheid=yes
   9561 else
   9562   eval $cacheid=no
   9563 fi
   9564 rm -f core conftest.err conftest.$ac_objext \
   9565     conftest$ac_exeext conftest.$ac_ext
   9566 fi
   9567 
   9568 
   9569 		CFLAGS="$xorg_testset_save_CFLAGS"
   9570 
   9571 		eval supported=\$$cacheid
   9572 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9573 $as_echo "$supported" >&6; }
   9574 		if test "$supported" = "yes" ; then
   9575 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9576 			found="yes"
   9577 		fi
   9578 	fi
   9579 
   9580 
   9581 
   9582 
   9583 
   9584 
   9585 
   9586 
   9587 
   9588 
   9589 
   9590 
   9591 
   9592 
   9593 
   9594 xorg_testset_save_CFLAGS="$CFLAGS"
   9595 
   9596 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9597 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9598 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9599 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9600 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9601   $as_echo_n "(cached) " >&6
   9602 else
   9603   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9604 /* end confdefs.h.  */
   9605 int i;
   9606 _ACEOF
   9607 if ac_fn_c_try_compile "$LINENO"; then :
   9608   xorg_cv_cc_flag_unknown_warning_option=yes
   9609 else
   9610   xorg_cv_cc_flag_unknown_warning_option=no
   9611 fi
   9612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9613 fi
   9614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9615 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9616 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9617 	CFLAGS="$xorg_testset_save_CFLAGS"
   9618 fi
   9619 
   9620 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9621 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9622 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9623 	fi
   9624 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9625 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9626 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9627 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9628   $as_echo_n "(cached) " >&6
   9629 else
   9630   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9631 /* end confdefs.h.  */
   9632 int i;
   9633 _ACEOF
   9634 if ac_fn_c_try_compile "$LINENO"; then :
   9635   xorg_cv_cc_flag_unused_command_line_argument=yes
   9636 else
   9637   xorg_cv_cc_flag_unused_command_line_argument=no
   9638 fi
   9639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9640 fi
   9641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9642 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9643 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9644 	CFLAGS="$xorg_testset_save_CFLAGS"
   9645 fi
   9646 
   9647 found="no"
   9648 
   9649 	if test $found = "no" ; then
   9650 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9651 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9652 		fi
   9653 
   9654 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9655 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9656 		fi
   9657 
   9658 		CFLAGS="$CFLAGS -Wwrite-strings"
   9659 
   9660 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9661 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9662 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9663 		if eval \${$cacheid+:} false; then :
   9664   $as_echo_n "(cached) " >&6
   9665 else
   9666   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9667 /* end confdefs.h.  */
   9668 int i;
   9669 int
   9670 main ()
   9671 {
   9672 
   9673   ;
   9674   return 0;
   9675 }
   9676 _ACEOF
   9677 if ac_fn_c_try_link "$LINENO"; then :
   9678   eval $cacheid=yes
   9679 else
   9680   eval $cacheid=no
   9681 fi
   9682 rm -f core conftest.err conftest.$ac_objext \
   9683     conftest$ac_exeext conftest.$ac_ext
   9684 fi
   9685 
   9686 
   9687 		CFLAGS="$xorg_testset_save_CFLAGS"
   9688 
   9689 		eval supported=\$$cacheid
   9690 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9691 $as_echo "$supported" >&6; }
   9692 		if test "$supported" = "yes" ; then
   9693 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9694 			found="yes"
   9695 		fi
   9696 	fi
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 
   9703 
   9704 
   9705 
   9706 
   9707 
   9708 
   9709 
   9710 
   9711 
   9712 xorg_testset_save_CFLAGS="$CFLAGS"
   9713 
   9714 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9715 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9716 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9717 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9718 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9719   $as_echo_n "(cached) " >&6
   9720 else
   9721   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9722 /* end confdefs.h.  */
   9723 int i;
   9724 _ACEOF
   9725 if ac_fn_c_try_compile "$LINENO"; then :
   9726   xorg_cv_cc_flag_unknown_warning_option=yes
   9727 else
   9728   xorg_cv_cc_flag_unknown_warning_option=no
   9729 fi
   9730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9731 fi
   9732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9733 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9734 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9735 	CFLAGS="$xorg_testset_save_CFLAGS"
   9736 fi
   9737 
   9738 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9739 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9740 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9741 	fi
   9742 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9743 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9744 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9745 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9746   $as_echo_n "(cached) " >&6
   9747 else
   9748   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9749 /* end confdefs.h.  */
   9750 int i;
   9751 _ACEOF
   9752 if ac_fn_c_try_compile "$LINENO"; then :
   9753   xorg_cv_cc_flag_unused_command_line_argument=yes
   9754 else
   9755   xorg_cv_cc_flag_unused_command_line_argument=no
   9756 fi
   9757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9758 fi
   9759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9760 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9761 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9762 	CFLAGS="$xorg_testset_save_CFLAGS"
   9763 fi
   9764 
   9765 found="no"
   9766 
   9767 	if test $found = "no" ; then
   9768 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9769 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9770 		fi
   9771 
   9772 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9773 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9774 		fi
   9775 
   9776 		CFLAGS="$CFLAGS -Waddress"
   9777 
   9778 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9779 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9780 		cacheid=xorg_cv_cc_flag__Waddress
   9781 		if eval \${$cacheid+:} false; then :
   9782   $as_echo_n "(cached) " >&6
   9783 else
   9784   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9785 /* end confdefs.h.  */
   9786 int i;
   9787 int
   9788 main ()
   9789 {
   9790 
   9791   ;
   9792   return 0;
   9793 }
   9794 _ACEOF
   9795 if ac_fn_c_try_link "$LINENO"; then :
   9796   eval $cacheid=yes
   9797 else
   9798   eval $cacheid=no
   9799 fi
   9800 rm -f core conftest.err conftest.$ac_objext \
   9801     conftest$ac_exeext conftest.$ac_ext
   9802 fi
   9803 
   9804 
   9805 		CFLAGS="$xorg_testset_save_CFLAGS"
   9806 
   9807 		eval supported=\$$cacheid
   9808 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9809 $as_echo "$supported" >&6; }
   9810 		if test "$supported" = "yes" ; then
   9811 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9812 			found="yes"
   9813 		fi
   9814 	fi
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 
   9826 
   9827 
   9828 
   9829 
   9830 xorg_testset_save_CFLAGS="$CFLAGS"
   9831 
   9832 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9833 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9834 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9835 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9836 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9837   $as_echo_n "(cached) " >&6
   9838 else
   9839   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9840 /* end confdefs.h.  */
   9841 int i;
   9842 _ACEOF
   9843 if ac_fn_c_try_compile "$LINENO"; then :
   9844   xorg_cv_cc_flag_unknown_warning_option=yes
   9845 else
   9846   xorg_cv_cc_flag_unknown_warning_option=no
   9847 fi
   9848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9849 fi
   9850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9851 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9852 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9853 	CFLAGS="$xorg_testset_save_CFLAGS"
   9854 fi
   9855 
   9856 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9857 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9858 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9859 	fi
   9860 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9861 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9862 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9863 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9864   $as_echo_n "(cached) " >&6
   9865 else
   9866   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9867 /* end confdefs.h.  */
   9868 int i;
   9869 _ACEOF
   9870 if ac_fn_c_try_compile "$LINENO"; then :
   9871   xorg_cv_cc_flag_unused_command_line_argument=yes
   9872 else
   9873   xorg_cv_cc_flag_unused_command_line_argument=no
   9874 fi
   9875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9876 fi
   9877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9878 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9879 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9880 	CFLAGS="$xorg_testset_save_CFLAGS"
   9881 fi
   9882 
   9883 found="no"
   9884 
   9885 	if test $found = "no" ; then
   9886 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9887 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9888 		fi
   9889 
   9890 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9891 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9892 		fi
   9893 
   9894 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9895 
   9896 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9897 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9898 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9899 		if eval \${$cacheid+:} false; then :
   9900   $as_echo_n "(cached) " >&6
   9901 else
   9902   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9903 /* end confdefs.h.  */
   9904 int i;
   9905 int
   9906 main ()
   9907 {
   9908 
   9909   ;
   9910   return 0;
   9911 }
   9912 _ACEOF
   9913 if ac_fn_c_try_link "$LINENO"; then :
   9914   eval $cacheid=yes
   9915 else
   9916   eval $cacheid=no
   9917 fi
   9918 rm -f core conftest.err conftest.$ac_objext \
   9919     conftest$ac_exeext conftest.$ac_ext
   9920 fi
   9921 
   9922 
   9923 		CFLAGS="$xorg_testset_save_CFLAGS"
   9924 
   9925 		eval supported=\$$cacheid
   9926 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9927 $as_echo "$supported" >&6; }
   9928 		if test "$supported" = "yes" ; then
   9929 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9930 			found="yes"
   9931 		fi
   9932 	fi
   9933 
   9934 
   9935 
   9936 
   9937 
   9938 
   9939 
   9940 
   9941 
   9942 
   9943 
   9944 
   9945 
   9946 
   9947 
   9948 xorg_testset_save_CFLAGS="$CFLAGS"
   9949 
   9950 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9951 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9952 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9953 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9954 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9955   $as_echo_n "(cached) " >&6
   9956 else
   9957   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9958 /* end confdefs.h.  */
   9959 int i;
   9960 _ACEOF
   9961 if ac_fn_c_try_compile "$LINENO"; then :
   9962   xorg_cv_cc_flag_unknown_warning_option=yes
   9963 else
   9964   xorg_cv_cc_flag_unknown_warning_option=no
   9965 fi
   9966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9967 fi
   9968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9969 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9970 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9971 	CFLAGS="$xorg_testset_save_CFLAGS"
   9972 fi
   9973 
   9974 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9975 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9976 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9977 	fi
   9978 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9979 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9980 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9981 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9982   $as_echo_n "(cached) " >&6
   9983 else
   9984   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9985 /* end confdefs.h.  */
   9986 int i;
   9987 _ACEOF
   9988 if ac_fn_c_try_compile "$LINENO"; then :
   9989   xorg_cv_cc_flag_unused_command_line_argument=yes
   9990 else
   9991   xorg_cv_cc_flag_unused_command_line_argument=no
   9992 fi
   9993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9994 fi
   9995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9996 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9997 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9998 	CFLAGS="$xorg_testset_save_CFLAGS"
   9999 fi
   10000 
   10001 found="no"
   10002 
   10003 	if test $found = "no" ; then
   10004 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10005 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10006 		fi
   10007 
   10008 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10009 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10010 		fi
   10011 
   10012 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10013 
   10014 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10015 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10016 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10017 		if eval \${$cacheid+:} false; then :
   10018   $as_echo_n "(cached) " >&6
   10019 else
   10020   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10021 /* end confdefs.h.  */
   10022 int i;
   10023 int
   10024 main ()
   10025 {
   10026 
   10027   ;
   10028   return 0;
   10029 }
   10030 _ACEOF
   10031 if ac_fn_c_try_link "$LINENO"; then :
   10032   eval $cacheid=yes
   10033 else
   10034   eval $cacheid=no
   10035 fi
   10036 rm -f core conftest.err conftest.$ac_objext \
   10037     conftest$ac_exeext conftest.$ac_ext
   10038 fi
   10039 
   10040 
   10041 		CFLAGS="$xorg_testset_save_CFLAGS"
   10042 
   10043 		eval supported=\$$cacheid
   10044 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10045 $as_echo "$supported" >&6; }
   10046 		if test "$supported" = "yes" ; then
   10047 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10048 			found="yes"
   10049 		fi
   10050 	fi
   10051 
   10052 
   10053 fi
   10054 
   10055 
   10056 
   10057 
   10058 
   10059 
   10060 
   10061 		CWARNFLAGS="$BASE_CFLAGS"
   10062 		if  test "x$GCC" = xyes ; then
   10063 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10064 		fi
   10065 
   10066 
   10067 
   10068 
   10069 
   10070 
   10071 
   10072 
   10073 # Check whether --enable-strict-compilation was given.
   10074 if test "${enable_strict_compilation+set}" = set; then :
   10075   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10076 else
   10077   STRICT_COMPILE=no
   10078 fi
   10079 
   10080 
   10081 
   10082 
   10083 
   10084 
   10085 STRICT_CFLAGS=""
   10086 
   10087 
   10088 
   10089 
   10090 
   10091 
   10092 
   10093 
   10094 
   10095 
   10096 
   10097 
   10098 
   10099 xorg_testset_save_CFLAGS="$CFLAGS"
   10100 
   10101 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10102 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10103 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10104 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10105 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10106   $as_echo_n "(cached) " >&6
   10107 else
   10108   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10109 /* end confdefs.h.  */
   10110 int i;
   10111 _ACEOF
   10112 if ac_fn_c_try_compile "$LINENO"; then :
   10113   xorg_cv_cc_flag_unknown_warning_option=yes
   10114 else
   10115   xorg_cv_cc_flag_unknown_warning_option=no
   10116 fi
   10117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10118 fi
   10119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10120 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10121 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10122 	CFLAGS="$xorg_testset_save_CFLAGS"
   10123 fi
   10124 
   10125 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10126 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10127 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10128 	fi
   10129 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10130 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10131 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10132 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10133   $as_echo_n "(cached) " >&6
   10134 else
   10135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10136 /* end confdefs.h.  */
   10137 int i;
   10138 _ACEOF
   10139 if ac_fn_c_try_compile "$LINENO"; then :
   10140   xorg_cv_cc_flag_unused_command_line_argument=yes
   10141 else
   10142   xorg_cv_cc_flag_unused_command_line_argument=no
   10143 fi
   10144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10145 fi
   10146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10147 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10148 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10149 	CFLAGS="$xorg_testset_save_CFLAGS"
   10150 fi
   10151 
   10152 found="no"
   10153 
   10154 	if test $found = "no" ; then
   10155 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10156 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10157 		fi
   10158 
   10159 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10160 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10161 		fi
   10162 
   10163 		CFLAGS="$CFLAGS -pedantic"
   10164 
   10165 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10166 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10167 		cacheid=xorg_cv_cc_flag__pedantic
   10168 		if eval \${$cacheid+:} false; then :
   10169   $as_echo_n "(cached) " >&6
   10170 else
   10171   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10172 /* end confdefs.h.  */
   10173 int i;
   10174 int
   10175 main ()
   10176 {
   10177 
   10178   ;
   10179   return 0;
   10180 }
   10181 _ACEOF
   10182 if ac_fn_c_try_link "$LINENO"; then :
   10183   eval $cacheid=yes
   10184 else
   10185   eval $cacheid=no
   10186 fi
   10187 rm -f core conftest.err conftest.$ac_objext \
   10188     conftest$ac_exeext conftest.$ac_ext
   10189 fi
   10190 
   10191 
   10192 		CFLAGS="$xorg_testset_save_CFLAGS"
   10193 
   10194 		eval supported=\$$cacheid
   10195 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10196 $as_echo "$supported" >&6; }
   10197 		if test "$supported" = "yes" ; then
   10198 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10199 			found="yes"
   10200 		fi
   10201 	fi
   10202 
   10203 
   10204 
   10205 
   10206 
   10207 
   10208 
   10209 
   10210 
   10211 
   10212 
   10213 
   10214 
   10215 
   10216 
   10217 xorg_testset_save_CFLAGS="$CFLAGS"
   10218 
   10219 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10220 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10221 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10222 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10223 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10224   $as_echo_n "(cached) " >&6
   10225 else
   10226   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10227 /* end confdefs.h.  */
   10228 int i;
   10229 _ACEOF
   10230 if ac_fn_c_try_compile "$LINENO"; then :
   10231   xorg_cv_cc_flag_unknown_warning_option=yes
   10232 else
   10233   xorg_cv_cc_flag_unknown_warning_option=no
   10234 fi
   10235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10236 fi
   10237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10238 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10239 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10240 	CFLAGS="$xorg_testset_save_CFLAGS"
   10241 fi
   10242 
   10243 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10244 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10245 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10246 	fi
   10247 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10248 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10249 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10250 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10251   $as_echo_n "(cached) " >&6
   10252 else
   10253   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10254 /* end confdefs.h.  */
   10255 int i;
   10256 _ACEOF
   10257 if ac_fn_c_try_compile "$LINENO"; then :
   10258   xorg_cv_cc_flag_unused_command_line_argument=yes
   10259 else
   10260   xorg_cv_cc_flag_unused_command_line_argument=no
   10261 fi
   10262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10263 fi
   10264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10265 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10266 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10267 	CFLAGS="$xorg_testset_save_CFLAGS"
   10268 fi
   10269 
   10270 found="no"
   10271 
   10272 	if test $found = "no" ; then
   10273 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10274 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10275 		fi
   10276 
   10277 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10278 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10279 		fi
   10280 
   10281 		CFLAGS="$CFLAGS -Werror"
   10282 
   10283 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10284 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10285 		cacheid=xorg_cv_cc_flag__Werror
   10286 		if eval \${$cacheid+:} false; then :
   10287   $as_echo_n "(cached) " >&6
   10288 else
   10289   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10290 /* end confdefs.h.  */
   10291 int i;
   10292 int
   10293 main ()
   10294 {
   10295 
   10296   ;
   10297   return 0;
   10298 }
   10299 _ACEOF
   10300 if ac_fn_c_try_link "$LINENO"; then :
   10301   eval $cacheid=yes
   10302 else
   10303   eval $cacheid=no
   10304 fi
   10305 rm -f core conftest.err conftest.$ac_objext \
   10306     conftest$ac_exeext conftest.$ac_ext
   10307 fi
   10308 
   10309 
   10310 		CFLAGS="$xorg_testset_save_CFLAGS"
   10311 
   10312 		eval supported=\$$cacheid
   10313 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10314 $as_echo "$supported" >&6; }
   10315 		if test "$supported" = "yes" ; then
   10316 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10317 			found="yes"
   10318 		fi
   10319 	fi
   10320 
   10321 	if test $found = "no" ; then
   10322 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10323 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10324 		fi
   10325 
   10326 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10327 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10328 		fi
   10329 
   10330 		CFLAGS="$CFLAGS -errwarn"
   10331 
   10332 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10333 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10334 		cacheid=xorg_cv_cc_flag__errwarn
   10335 		if eval \${$cacheid+:} false; then :
   10336   $as_echo_n "(cached) " >&6
   10337 else
   10338   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10339 /* end confdefs.h.  */
   10340 int i;
   10341 int
   10342 main ()
   10343 {
   10344 
   10345   ;
   10346   return 0;
   10347 }
   10348 _ACEOF
   10349 if ac_fn_c_try_link "$LINENO"; then :
   10350   eval $cacheid=yes
   10351 else
   10352   eval $cacheid=no
   10353 fi
   10354 rm -f core conftest.err conftest.$ac_objext \
   10355     conftest$ac_exeext conftest.$ac_ext
   10356 fi
   10357 
   10358 
   10359 		CFLAGS="$xorg_testset_save_CFLAGS"
   10360 
   10361 		eval supported=\$$cacheid
   10362 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10363 $as_echo "$supported" >&6; }
   10364 		if test "$supported" = "yes" ; then
   10365 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10366 			found="yes"
   10367 		fi
   10368 	fi
   10369 
   10370 
   10371 
   10372 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10373 # activate it with -Werror, so we add it here explicitly.
   10374 
   10375 
   10376 
   10377 
   10378 
   10379 
   10380 
   10381 
   10382 
   10383 
   10384 
   10385 
   10386 
   10387 xorg_testset_save_CFLAGS="$CFLAGS"
   10388 
   10389 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10390 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10391 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10392 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10393 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10394   $as_echo_n "(cached) " >&6
   10395 else
   10396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10397 /* end confdefs.h.  */
   10398 int i;
   10399 _ACEOF
   10400 if ac_fn_c_try_compile "$LINENO"; then :
   10401   xorg_cv_cc_flag_unknown_warning_option=yes
   10402 else
   10403   xorg_cv_cc_flag_unknown_warning_option=no
   10404 fi
   10405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10406 fi
   10407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10408 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10409 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10410 	CFLAGS="$xorg_testset_save_CFLAGS"
   10411 fi
   10412 
   10413 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10414 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10415 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10416 	fi
   10417 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10418 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10419 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10420 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10421   $as_echo_n "(cached) " >&6
   10422 else
   10423   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10424 /* end confdefs.h.  */
   10425 int i;
   10426 _ACEOF
   10427 if ac_fn_c_try_compile "$LINENO"; then :
   10428   xorg_cv_cc_flag_unused_command_line_argument=yes
   10429 else
   10430   xorg_cv_cc_flag_unused_command_line_argument=no
   10431 fi
   10432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10433 fi
   10434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10435 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10436 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10437 	CFLAGS="$xorg_testset_save_CFLAGS"
   10438 fi
   10439 
   10440 found="no"
   10441 
   10442 	if test $found = "no" ; then
   10443 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10444 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10445 		fi
   10446 
   10447 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10448 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10449 		fi
   10450 
   10451 		CFLAGS="$CFLAGS -Werror=attributes"
   10452 
   10453 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10454 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10455 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10456 		if eval \${$cacheid+:} false; then :
   10457   $as_echo_n "(cached) " >&6
   10458 else
   10459   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10460 /* end confdefs.h.  */
   10461 int i;
   10462 int
   10463 main ()
   10464 {
   10465 
   10466   ;
   10467   return 0;
   10468 }
   10469 _ACEOF
   10470 if ac_fn_c_try_link "$LINENO"; then :
   10471   eval $cacheid=yes
   10472 else
   10473   eval $cacheid=no
   10474 fi
   10475 rm -f core conftest.err conftest.$ac_objext \
   10476     conftest$ac_exeext conftest.$ac_ext
   10477 fi
   10478 
   10479 
   10480 		CFLAGS="$xorg_testset_save_CFLAGS"
   10481 
   10482 		eval supported=\$$cacheid
   10483 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10484 $as_echo "$supported" >&6; }
   10485 		if test "$supported" = "yes" ; then
   10486 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10487 			found="yes"
   10488 		fi
   10489 	fi
   10490 
   10491 
   10492 
   10493 if test "x$STRICT_COMPILE" = "xyes"; then
   10494     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10495     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10496 fi
   10497 
   10498 
   10499 
   10500 
   10501 
   10502 
   10503 cat >>confdefs.h <<_ACEOF
   10504 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10505 _ACEOF
   10506 
   10507 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10508 	if test "x$PVM" = "x"; then
   10509 		PVM="0"
   10510 	fi
   10511 
   10512 cat >>confdefs.h <<_ACEOF
   10513 #define PACKAGE_VERSION_MINOR $PVM
   10514 _ACEOF
   10515 
   10516 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10517 	if test "x$PVP" = "x"; then
   10518 		PVP="0"
   10519 	fi
   10520 
   10521 cat >>confdefs.h <<_ACEOF
   10522 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10523 _ACEOF
   10524 
   10525 
   10526 
   10527 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10528 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10529 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10530 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10531 
   10532 
   10533 
   10534 
   10535 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10536 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10537 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10538 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10539 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10540 
   10541 
   10542 
   10543 
   10544 
   10545 
   10546 if test x$APP_MAN_SUFFIX = x    ; then
   10547     APP_MAN_SUFFIX=1
   10548 fi
   10549 if test x$APP_MAN_DIR = x    ; then
   10550     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10551 fi
   10552 
   10553 if test x$LIB_MAN_SUFFIX = x    ; then
   10554     LIB_MAN_SUFFIX=3
   10555 fi
   10556 if test x$LIB_MAN_DIR = x    ; then
   10557     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10558 fi
   10559 
   10560 if test x$FILE_MAN_SUFFIX = x    ; then
   10561     case $host_os in
   10562 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10563 	*)		FILE_MAN_SUFFIX=5  ;;
   10564     esac
   10565 fi
   10566 if test x$FILE_MAN_DIR = x    ; then
   10567     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10568 fi
   10569 
   10570 if test x$MISC_MAN_SUFFIX = x    ; then
   10571     case $host_os in
   10572 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10573 	*)		MISC_MAN_SUFFIX=7  ;;
   10574     esac
   10575 fi
   10576 if test x$MISC_MAN_DIR = x    ; then
   10577     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10578 fi
   10579 
   10580 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10581     case $host_os in
   10582 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10583 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10584     esac
   10585 fi
   10586 if test x$DRIVER_MAN_DIR = x    ; then
   10587     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10588 fi
   10589 
   10590 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10591     case $host_os in
   10592 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10593 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10594     esac
   10595 fi
   10596 if test x$ADMIN_MAN_DIR = x    ; then
   10597     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10598 fi
   10599 
   10600 
   10601 
   10602 
   10603 
   10604 
   10605 
   10606 
   10607 
   10608 
   10609 
   10610 
   10611 
   10612 
   10613 
   10614 XORG_MAN_PAGE="X Version 11"
   10615 
   10616 MAN_SUBSTS="\
   10617 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10618 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10619 	-e 's|__xservername__|Xorg|g' \
   10620 	-e 's|__xconfigfile__|xorg.conf|g' \
   10621 	-e 's|__projectroot__|\$(prefix)|g' \
   10622 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10623 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10624 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10625 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10626 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10627 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10628 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10629 
   10630 
   10631 
   10632 # Check whether --enable-silent-rules was given.
   10633 if test "${enable_silent_rules+set}" = set; then :
   10634   enableval=$enable_silent_rules;
   10635 fi
   10636 
   10637 case $enable_silent_rules in # (((
   10638   yes) AM_DEFAULT_VERBOSITY=0;;
   10639    no) AM_DEFAULT_VERBOSITY=1;;
   10640     *) AM_DEFAULT_VERBOSITY=0;;
   10641 esac
   10642 am_make=${MAKE-make}
   10643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10644 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10645 if ${am_cv_make_support_nested_variables+:} false; then :
   10646   $as_echo_n "(cached) " >&6
   10647 else
   10648   if $as_echo 'TRUE=$(BAR$(V))
   10649 BAR0=false
   10650 BAR1=true
   10651 V=1
   10652 am__doit:
   10653 	@$(TRUE)
   10654 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10655   am_cv_make_support_nested_variables=yes
   10656 else
   10657   am_cv_make_support_nested_variables=no
   10658 fi
   10659 fi
   10660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10661 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10662 if test $am_cv_make_support_nested_variables = yes; then
   10663     AM_V='$(V)'
   10664   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10665 else
   10666   AM_V=$AM_DEFAULT_VERBOSITY
   10667   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10668 fi
   10669 AM_BACKSLASH='\'
   10670 
   10671 
   10672 
   10673 # Checks for library functions.
   10674 ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
   10675 if test "x$ac_cv_func_mkstemp" = xyes; then :
   10676 
   10677 $as_echo "#define HAS_MKSTEMP 1" >>confdefs.h
   10678 
   10679 fi
   10680 
   10681 
   10682 # Checks for pkg-config packages
   10683 
   10684 pkg_failed=no
   10685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XDITVIEW" >&5
   10686 $as_echo_n "checking for XDITVIEW... " >&6; }
   10687 
   10688 if test -n "$XDITVIEW_CFLAGS"; then
   10689     pkg_cv_XDITVIEW_CFLAGS="$XDITVIEW_CFLAGS"
   10690  elif test -n "$PKG_CONFIG"; then
   10691     if test -n "$PKG_CONFIG" && \
   10692     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu xt x11\""; } >&5
   10693   ($PKG_CONFIG --exists --print-errors "xaw7 xmu xt x11") 2>&5
   10694   ac_status=$?
   10695   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10696   test $ac_status = 0; }; then
   10697   pkg_cv_XDITVIEW_CFLAGS=`$PKG_CONFIG --cflags "xaw7 xmu xt x11" 2>/dev/null`
   10698 else
   10699   pkg_failed=yes
   10700 fi
   10701  else
   10702     pkg_failed=untried
   10703 fi
   10704 if test -n "$XDITVIEW_LIBS"; then
   10705     pkg_cv_XDITVIEW_LIBS="$XDITVIEW_LIBS"
   10706  elif test -n "$PKG_CONFIG"; then
   10707     if test -n "$PKG_CONFIG" && \
   10708     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu xt x11\""; } >&5
   10709   ($PKG_CONFIG --exists --print-errors "xaw7 xmu xt x11") 2>&5
   10710   ac_status=$?
   10711   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10712   test $ac_status = 0; }; then
   10713   pkg_cv_XDITVIEW_LIBS=`$PKG_CONFIG --libs "xaw7 xmu xt x11" 2>/dev/null`
   10714 else
   10715   pkg_failed=yes
   10716 fi
   10717  else
   10718     pkg_failed=untried
   10719 fi
   10720 
   10721 
   10722 
   10723 if test $pkg_failed = yes; then
   10724 
   10725 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10726         _pkg_short_errors_supported=yes
   10727 else
   10728         _pkg_short_errors_supported=no
   10729 fi
   10730         if test $_pkg_short_errors_supported = yes; then
   10731 	        XDITVIEW_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xaw7 xmu xt x11" 2>&1`
   10732         else
   10733 	        XDITVIEW_PKG_ERRORS=`$PKG_CONFIG --print-errors "xaw7 xmu xt x11" 2>&1`
   10734         fi
   10735 	# Put the nasty error message in config.log where it belongs
   10736 	echo "$XDITVIEW_PKG_ERRORS" >&5
   10737 
   10738 	as_fn_error $? "Package requirements (xaw7 xmu xt x11) were not met:
   10739 
   10740 $XDITVIEW_PKG_ERRORS
   10741 
   10742 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10743 installed software in a non-standard prefix.
   10744 
   10745 Alternatively, you may set the environment variables XDITVIEW_CFLAGS
   10746 and XDITVIEW_LIBS to avoid the need to call pkg-config.
   10747 See the pkg-config man page for more details.
   10748 " "$LINENO" 5
   10749 elif test $pkg_failed = untried; then
   10750 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10751 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10752 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10753 is in your PATH or set the PKG_CONFIG environment variable to the full
   10754 path to pkg-config.
   10755 
   10756 Alternatively, you may set the environment variables XDITVIEW_CFLAGS
   10757 and XDITVIEW_LIBS to avoid the need to call pkg-config.
   10758 See the pkg-config man page for more details.
   10759 
   10760 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10761 See \`config.log' for more details" "$LINENO" 5; }
   10762 else
   10763 	XDITVIEW_CFLAGS=$pkg_cv_XDITVIEW_CFLAGS
   10764 	XDITVIEW_LIBS=$pkg_cv_XDITVIEW_LIBS
   10765         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10766 $as_echo "yes" >&6; }
   10767 	:
   10768 fi
   10769 
   10770 
   10771 pkg_failed=no
   10772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPDEFS" >&5
   10773 $as_echo_n "checking for APPDEFS... " >&6; }
   10774 
   10775 if test -n "$APPDEFS_CFLAGS"; then
   10776     pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS"
   10777  elif test -n "$PKG_CONFIG"; then
   10778     if test -n "$PKG_CONFIG" && \
   10779     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   10780   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   10781   ac_status=$?
   10782   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10783   test $ac_status = 0; }; then
   10784   pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
   10785 else
   10786   pkg_failed=yes
   10787 fi
   10788  else
   10789     pkg_failed=untried
   10790 fi
   10791 if test -n "$APPDEFS_LIBS"; then
   10792     pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS"
   10793  elif test -n "$PKG_CONFIG"; then
   10794     if test -n "$PKG_CONFIG" && \
   10795     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   10796   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   10797   ac_status=$?
   10798   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10799   test $ac_status = 0; }; then
   10800   pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
   10801 else
   10802   pkg_failed=yes
   10803 fi
   10804  else
   10805     pkg_failed=untried
   10806 fi
   10807 
   10808 
   10809 
   10810 if test $pkg_failed = yes; then
   10811 
   10812 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10813         _pkg_short_errors_supported=yes
   10814 else
   10815         _pkg_short_errors_supported=no
   10816 fi
   10817         if test $_pkg_short_errors_supported = yes; then
   10818 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xt" 2>&1`
   10819         else
   10820 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --print-errors "xt" 2>&1`
   10821         fi
   10822 	# Put the nasty error message in config.log where it belongs
   10823 	echo "$APPDEFS_PKG_ERRORS" >&5
   10824 
   10825 	as_fn_error $? "Package requirements (xt) were not met:
   10826 
   10827 $APPDEFS_PKG_ERRORS
   10828 
   10829 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10830 installed software in a non-standard prefix.
   10831 
   10832 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   10833 and APPDEFS_LIBS to avoid the need to call pkg-config.
   10834 See the pkg-config man page for more details.
   10835 " "$LINENO" 5
   10836 elif test $pkg_failed = untried; then
   10837 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10838 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10839 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10840 is in your PATH or set the PKG_CONFIG environment variable to the full
   10841 path to pkg-config.
   10842 
   10843 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   10844 and APPDEFS_LIBS to avoid the need to call pkg-config.
   10845 See the pkg-config man page for more details.
   10846 
   10847 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10848 See \`config.log' for more details" "$LINENO" 5; }
   10849 else
   10850 	APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS
   10851 	APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS
   10852         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10853 $as_echo "yes" >&6; }
   10854 	:
   10855 fi
   10856 xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
   10857 
   10858 # Check whether --with-appdefaultdir was given.
   10859 if test "${with_appdefaultdir+set}" = set; then :
   10860   withval=$with_appdefaultdir; appdefaultdir="$withval"
   10861 else
   10862   appdefaultdir="${xt_appdefaultdir}"
   10863 fi
   10864 
   10865 
   10866 
   10867 
   10868 ac_config_files="$ac_config_files Makefile man/Makefile"
   10869 
   10870 cat >confcache <<\_ACEOF
   10871 # This file is a shell script that caches the results of configure
   10872 # tests run on this system so they can be shared between configure
   10873 # scripts and configure runs, see configure's option --config-cache.
   10874 # It is not useful on other systems.  If it contains results you don't
   10875 # want to keep, you may remove or edit it.
   10876 #
   10877 # config.status only pays attention to the cache file if you give it
   10878 # the --recheck option to rerun configure.
   10879 #
   10880 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   10881 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   10882 # following values.
   10883 
   10884 _ACEOF
   10885 
   10886 # The following way of writing the cache mishandles newlines in values,
   10887 # but we know of no workaround that is simple, portable, and efficient.
   10888 # So, we kill variables containing newlines.
   10889 # Ultrix sh set writes to stderr and can't be redirected directly,
   10890 # and sets the high bit in the cache file unless we assign to the vars.
   10891 (
   10892   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   10893     eval ac_val=\$$ac_var
   10894     case $ac_val in #(
   10895     *${as_nl}*)
   10896       case $ac_var in #(
   10897       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   10898 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   10899       esac
   10900       case $ac_var in #(
   10901       _ | IFS | as_nl) ;; #(
   10902       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   10903       *) { eval $ac_var=; unset $ac_var;} ;;
   10904       esac ;;
   10905     esac
   10906   done
   10907 
   10908   (set) 2>&1 |
   10909     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   10910     *${as_nl}ac_space=\ *)
   10911       # `set' does not quote correctly, so add quotes: double-quote
   10912       # substitution turns \\\\ into \\, and sed turns \\ into \.
   10913       sed -n \
   10914 	"s/'/'\\\\''/g;
   10915 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   10916       ;; #(
   10917     *)
   10918       # `set' quotes correctly as required by POSIX, so do not add quotes.
   10919       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   10920       ;;
   10921     esac |
   10922     sort
   10923 ) |
   10924   sed '
   10925      /^ac_cv_env_/b end
   10926      t clear
   10927      :clear
   10928      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   10929      t end
   10930      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   10931      :end' >>confcache
   10932 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   10933   if test -w "$cache_file"; then
   10934     if test "x$cache_file" != "x/dev/null"; then
   10935       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   10936 $as_echo "$as_me: updating cache $cache_file" >&6;}
   10937       if test ! -f "$cache_file" || test -h "$cache_file"; then
   10938 	cat confcache >"$cache_file"
   10939       else
   10940         case $cache_file in #(
   10941         */* | ?:*)
   10942 	  mv -f confcache "$cache_file"$$ &&
   10943 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   10944         *)
   10945 	  mv -f confcache "$cache_file" ;;
   10946 	esac
   10947       fi
   10948     fi
   10949   else
   10950     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   10951 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   10952   fi
   10953 fi
   10954 rm -f confcache
   10955 
   10956 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   10957 # Let make expand exec_prefix.
   10958 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   10959 
   10960 DEFS=-DHAVE_CONFIG_H
   10961 
   10962 ac_libobjs=
   10963 ac_ltlibobjs=
   10964 U=
   10965 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   10966   # 1. Remove the extension, and $U if already installed.
   10967   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   10968   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   10969   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   10970   #    will be set to the directory where LIBOBJS objects are built.
   10971   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   10972   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   10973 done
   10974 LIBOBJS=$ac_libobjs
   10975 
   10976 LTLIBOBJS=$ac_ltlibobjs
   10977 
   10978 
   10979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   10980 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   10981    if test -n "$am_sleep_pid"; then
   10982      # Hide warnings about reused PIDs.
   10983      wait $am_sleep_pid 2>/dev/null
   10984    fi
   10985    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   10986 $as_echo "done" >&6; }
   10987  if test -n "$EXEEXT"; then
   10988   am__EXEEXT_TRUE=
   10989   am__EXEEXT_FALSE='#'
   10990 else
   10991   am__EXEEXT_TRUE='#'
   10992   am__EXEEXT_FALSE=
   10993 fi
   10994 
   10995 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   10996   as_fn_error $? "conditional \"AMDEP\" was never defined.
   10997 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10998 fi
   10999 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11000   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11001 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11002 fi
   11003 
   11004 : "${CONFIG_STATUS=./config.status}"
   11005 ac_write_fail=0
   11006 ac_clean_files_save=$ac_clean_files
   11007 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11008 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11009 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11010 as_write_fail=0
   11011 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11012 #! $SHELL
   11013 # Generated by $as_me.
   11014 # Run this file to recreate the current configuration.
   11015 # Compiler output produced by configure, useful for debugging
   11016 # configure, is in config.log if it exists.
   11017 
   11018 debug=false
   11019 ac_cs_recheck=false
   11020 ac_cs_silent=false
   11021 
   11022 SHELL=\${CONFIG_SHELL-$SHELL}
   11023 export SHELL
   11024 _ASEOF
   11025 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11026 ## -------------------- ##
   11027 ## M4sh Initialization. ##
   11028 ## -------------------- ##
   11029 
   11030 # Be more Bourne compatible
   11031 DUALCASE=1; export DUALCASE # for MKS sh
   11032 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11033   emulate sh
   11034   NULLCMD=:
   11035   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11036   # is contrary to our usage.  Disable this feature.
   11037   alias -g '${1+"$@"}'='"$@"'
   11038   setopt NO_GLOB_SUBST
   11039 else
   11040   case `(set -o) 2>/dev/null` in #(
   11041   *posix*) :
   11042     set -o posix ;; #(
   11043   *) :
   11044      ;;
   11045 esac
   11046 fi
   11047 
   11048 
   11049 as_nl='
   11050 '
   11051 export as_nl
   11052 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11053 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11054 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11055 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11056 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11057 # but without wasting forks for bash or zsh.
   11058 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11059     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11060   as_echo='print -r --'
   11061   as_echo_n='print -rn --'
   11062 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11063   as_echo='printf %s\n'
   11064   as_echo_n='printf %s'
   11065 else
   11066   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11067     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11068     as_echo_n='/usr/ucb/echo -n'
   11069   else
   11070     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11071     as_echo_n_body='eval
   11072       arg=$1;
   11073       case $arg in #(
   11074       *"$as_nl"*)
   11075 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11076 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11077       esac;
   11078       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11079     '
   11080     export as_echo_n_body
   11081     as_echo_n='sh -c $as_echo_n_body as_echo'
   11082   fi
   11083   export as_echo_body
   11084   as_echo='sh -c $as_echo_body as_echo'
   11085 fi
   11086 
   11087 # The user is always right.
   11088 if test "${PATH_SEPARATOR+set}" != set; then
   11089   PATH_SEPARATOR=:
   11090   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11091     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11092       PATH_SEPARATOR=';'
   11093   }
   11094 fi
   11095 
   11096 
   11097 # IFS
   11098 # We need space, tab and new line, in precisely that order.  Quoting is
   11099 # there to prevent editors from complaining about space-tab.
   11100 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11101 # splitting by setting IFS to empty value.)
   11102 IFS=" ""	$as_nl"
   11103 
   11104 # Find who we are.  Look in the path if we contain no directory separator.
   11105 as_myself=
   11106 case $0 in #((
   11107   *[\\/]* ) as_myself=$0 ;;
   11108   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11109 for as_dir in $PATH
   11110 do
   11111   IFS=$as_save_IFS
   11112   test -z "$as_dir" && as_dir=.
   11113     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11114   done
   11115 IFS=$as_save_IFS
   11116 
   11117      ;;
   11118 esac
   11119 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11120 # in which case we are not to be found in the path.
   11121 if test "x$as_myself" = x; then
   11122   as_myself=$0
   11123 fi
   11124 if test ! -f "$as_myself"; then
   11125   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11126   exit 1
   11127 fi
   11128 
   11129 # Unset variables that we do not need and which cause bugs (e.g. in
   11130 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11131 # suppresses any "Segmentation fault" message there.  '((' could
   11132 # trigger a bug in pdksh 5.2.14.
   11133 for as_var in BASH_ENV ENV MAIL MAILPATH
   11134 do eval test x\${$as_var+set} = xset \
   11135   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11136 done
   11137 PS1='$ '
   11138 PS2='> '
   11139 PS4='+ '
   11140 
   11141 # NLS nuisances.
   11142 LC_ALL=C
   11143 export LC_ALL
   11144 LANGUAGE=C
   11145 export LANGUAGE
   11146 
   11147 # CDPATH.
   11148 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11149 
   11150 
   11151 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11152 # ----------------------------------------
   11153 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11154 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11155 # script with STATUS, using 1 if that was 0.
   11156 as_fn_error ()
   11157 {
   11158   as_status=$1; test $as_status -eq 0 && as_status=1
   11159   if test "$4"; then
   11160     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11161     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11162   fi
   11163   $as_echo "$as_me: error: $2" >&2
   11164   as_fn_exit $as_status
   11165 } # as_fn_error
   11166 
   11167 
   11168 # as_fn_set_status STATUS
   11169 # -----------------------
   11170 # Set $? to STATUS, without forking.
   11171 as_fn_set_status ()
   11172 {
   11173   return $1
   11174 } # as_fn_set_status
   11175 
   11176 # as_fn_exit STATUS
   11177 # -----------------
   11178 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11179 as_fn_exit ()
   11180 {
   11181   set +e
   11182   as_fn_set_status $1
   11183   exit $1
   11184 } # as_fn_exit
   11185 
   11186 # as_fn_unset VAR
   11187 # ---------------
   11188 # Portably unset VAR.
   11189 as_fn_unset ()
   11190 {
   11191   { eval $1=; unset $1;}
   11192 }
   11193 as_unset=as_fn_unset
   11194 # as_fn_append VAR VALUE
   11195 # ----------------------
   11196 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11197 # advantage of any shell optimizations that allow amortized linear growth over
   11198 # repeated appends, instead of the typical quadratic growth present in naive
   11199 # implementations.
   11200 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11201   eval 'as_fn_append ()
   11202   {
   11203     eval $1+=\$2
   11204   }'
   11205 else
   11206   as_fn_append ()
   11207   {
   11208     eval $1=\$$1\$2
   11209   }
   11210 fi # as_fn_append
   11211 
   11212 # as_fn_arith ARG...
   11213 # ------------------
   11214 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11215 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11216 # must be portable across $(()) and expr.
   11217 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11218   eval 'as_fn_arith ()
   11219   {
   11220     as_val=$(( $* ))
   11221   }'
   11222 else
   11223   as_fn_arith ()
   11224   {
   11225     as_val=`expr "$@" || test $? -eq 1`
   11226   }
   11227 fi # as_fn_arith
   11228 
   11229 
   11230 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11231    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11232   as_expr=expr
   11233 else
   11234   as_expr=false
   11235 fi
   11236 
   11237 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11238   as_basename=basename
   11239 else
   11240   as_basename=false
   11241 fi
   11242 
   11243 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11244   as_dirname=dirname
   11245 else
   11246   as_dirname=false
   11247 fi
   11248 
   11249 as_me=`$as_basename -- "$0" ||
   11250 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11251 	 X"$0" : 'X\(//\)$' \| \
   11252 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11253 $as_echo X/"$0" |
   11254     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11255 	    s//\1/
   11256 	    q
   11257 	  }
   11258 	  /^X\/\(\/\/\)$/{
   11259 	    s//\1/
   11260 	    q
   11261 	  }
   11262 	  /^X\/\(\/\).*/{
   11263 	    s//\1/
   11264 	    q
   11265 	  }
   11266 	  s/.*/./; q'`
   11267 
   11268 # Avoid depending upon Character Ranges.
   11269 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11270 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11271 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11272 as_cr_digits='0123456789'
   11273 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11274 
   11275 ECHO_C= ECHO_N= ECHO_T=
   11276 case `echo -n x` in #(((((
   11277 -n*)
   11278   case `echo 'xy\c'` in
   11279   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11280   xy)  ECHO_C='\c';;
   11281   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11282        ECHO_T='	';;
   11283   esac;;
   11284 *)
   11285   ECHO_N='-n';;
   11286 esac
   11287 
   11288 rm -f conf$$ conf$$.exe conf$$.file
   11289 if test -d conf$$.dir; then
   11290   rm -f conf$$.dir/conf$$.file
   11291 else
   11292   rm -f conf$$.dir
   11293   mkdir conf$$.dir 2>/dev/null
   11294 fi
   11295 if (echo >conf$$.file) 2>/dev/null; then
   11296   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11297     as_ln_s='ln -s'
   11298     # ... but there are two gotchas:
   11299     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11300     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11301     # In both cases, we have to default to `cp -pR'.
   11302     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11303       as_ln_s='cp -pR'
   11304   elif ln conf$$.file conf$$ 2>/dev/null; then
   11305     as_ln_s=ln
   11306   else
   11307     as_ln_s='cp -pR'
   11308   fi
   11309 else
   11310   as_ln_s='cp -pR'
   11311 fi
   11312 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11313 rmdir conf$$.dir 2>/dev/null
   11314 
   11315 
   11316 # as_fn_mkdir_p
   11317 # -------------
   11318 # Create "$as_dir" as a directory, including parents if necessary.
   11319 as_fn_mkdir_p ()
   11320 {
   11321 
   11322   case $as_dir in #(
   11323   -*) as_dir=./$as_dir;;
   11324   esac
   11325   test -d "$as_dir" || eval $as_mkdir_p || {
   11326     as_dirs=
   11327     while :; do
   11328       case $as_dir in #(
   11329       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11330       *) as_qdir=$as_dir;;
   11331       esac
   11332       as_dirs="'$as_qdir' $as_dirs"
   11333       as_dir=`$as_dirname -- "$as_dir" ||
   11334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11335 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11336 	 X"$as_dir" : 'X\(//\)$' \| \
   11337 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11338 $as_echo X"$as_dir" |
   11339     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11340 	    s//\1/
   11341 	    q
   11342 	  }
   11343 	  /^X\(\/\/\)[^/].*/{
   11344 	    s//\1/
   11345 	    q
   11346 	  }
   11347 	  /^X\(\/\/\)$/{
   11348 	    s//\1/
   11349 	    q
   11350 	  }
   11351 	  /^X\(\/\).*/{
   11352 	    s//\1/
   11353 	    q
   11354 	  }
   11355 	  s/.*/./; q'`
   11356       test -d "$as_dir" && break
   11357     done
   11358     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11359   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11360 
   11361 
   11362 } # as_fn_mkdir_p
   11363 if mkdir -p . 2>/dev/null; then
   11364   as_mkdir_p='mkdir -p "$as_dir"'
   11365 else
   11366   test -d ./-p && rmdir ./-p
   11367   as_mkdir_p=false
   11368 fi
   11369 
   11370 
   11371 # as_fn_executable_p FILE
   11372 # -----------------------
   11373 # Test if FILE is an executable regular file.
   11374 as_fn_executable_p ()
   11375 {
   11376   test -f "$1" && test -x "$1"
   11377 } # as_fn_executable_p
   11378 as_test_x='test -x'
   11379 as_executable_p=as_fn_executable_p
   11380 
   11381 # Sed expression to map a string onto a valid CPP name.
   11382 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11383 
   11384 # Sed expression to map a string onto a valid variable name.
   11385 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11386 
   11387 
   11388 exec 6>&1
   11389 ## ----------------------------------- ##
   11390 ## Main body of $CONFIG_STATUS script. ##
   11391 ## ----------------------------------- ##
   11392 _ASEOF
   11393 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11394 
   11395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11396 # Save the log message, to keep $0 and so on meaningful, and to
   11397 # report actual input values of CONFIG_FILES etc. instead of their
   11398 # values after options handling.
   11399 ac_log="
   11400 This file was extended by xditview $as_me 1.0.4, which was
   11401 generated by GNU Autoconf 2.69.  Invocation command line was
   11402 
   11403   CONFIG_FILES    = $CONFIG_FILES
   11404   CONFIG_HEADERS  = $CONFIG_HEADERS
   11405   CONFIG_LINKS    = $CONFIG_LINKS
   11406   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11407   $ $0 $@
   11408 
   11409 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11410 "
   11411 
   11412 _ACEOF
   11413 
   11414 case $ac_config_files in *"
   11415 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11416 esac
   11417 
   11418 case $ac_config_headers in *"
   11419 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11420 esac
   11421 
   11422 
   11423 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11424 # Files that config.status was made for.
   11425 config_files="$ac_config_files"
   11426 config_headers="$ac_config_headers"
   11427 config_commands="$ac_config_commands"
   11428 
   11429 _ACEOF
   11430 
   11431 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11432 ac_cs_usage="\
   11433 \`$as_me' instantiates files and other configuration actions
   11434 from templates according to the current configuration.  Unless the files
   11435 and actions are specified as TAGs, all are instantiated by default.
   11436 
   11437 Usage: $0 [OPTION]... [TAG]...
   11438 
   11439   -h, --help       print this help, then exit
   11440   -V, --version    print version number and configuration settings, then exit
   11441       --config     print configuration, then exit
   11442   -q, --quiet, --silent
   11443                    do not print progress messages
   11444   -d, --debug      don't remove temporary files
   11445       --recheck    update $as_me by reconfiguring in the same conditions
   11446       --file=FILE[:TEMPLATE]
   11447                    instantiate the configuration file FILE
   11448       --header=FILE[:TEMPLATE]
   11449                    instantiate the configuration header FILE
   11450 
   11451 Configuration files:
   11452 $config_files
   11453 
   11454 Configuration headers:
   11455 $config_headers
   11456 
   11457 Configuration commands:
   11458 $config_commands
   11459 
   11460 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11461 
   11462 _ACEOF
   11463 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11464 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11465 ac_cs_version="\\
   11466 xditview config.status 1.0.4
   11467 configured by $0, generated by GNU Autoconf 2.69,
   11468   with options \\"\$ac_cs_config\\"
   11469 
   11470 Copyright (C) 2012 Free Software Foundation, Inc.
   11471 This config.status script is free software; the Free Software Foundation
   11472 gives unlimited permission to copy, distribute and modify it."
   11473 
   11474 ac_pwd='$ac_pwd'
   11475 srcdir='$srcdir'
   11476 INSTALL='$INSTALL'
   11477 MKDIR_P='$MKDIR_P'
   11478 AWK='$AWK'
   11479 test -n "\$AWK" || AWK=awk
   11480 _ACEOF
   11481 
   11482 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11483 # The default lists apply if the user does not specify any file.
   11484 ac_need_defaults=:
   11485 while test $# != 0
   11486 do
   11487   case $1 in
   11488   --*=?*)
   11489     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11490     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11491     ac_shift=:
   11492     ;;
   11493   --*=)
   11494     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11495     ac_optarg=
   11496     ac_shift=:
   11497     ;;
   11498   *)
   11499     ac_option=$1
   11500     ac_optarg=$2
   11501     ac_shift=shift
   11502     ;;
   11503   esac
   11504 
   11505   case $ac_option in
   11506   # Handling of the options.
   11507   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11508     ac_cs_recheck=: ;;
   11509   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11510     $as_echo "$ac_cs_version"; exit ;;
   11511   --config | --confi | --conf | --con | --co | --c )
   11512     $as_echo "$ac_cs_config"; exit ;;
   11513   --debug | --debu | --deb | --de | --d | -d )
   11514     debug=: ;;
   11515   --file | --fil | --fi | --f )
   11516     $ac_shift
   11517     case $ac_optarg in
   11518     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11519     '') as_fn_error $? "missing file argument" ;;
   11520     esac
   11521     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11522     ac_need_defaults=false;;
   11523   --header | --heade | --head | --hea )
   11524     $ac_shift
   11525     case $ac_optarg in
   11526     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11527     esac
   11528     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11529     ac_need_defaults=false;;
   11530   --he | --h)
   11531     # Conflict between --help and --header
   11532     as_fn_error $? "ambiguous option: \`$1'
   11533 Try \`$0 --help' for more information.";;
   11534   --help | --hel | -h )
   11535     $as_echo "$ac_cs_usage"; exit ;;
   11536   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11537   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11538     ac_cs_silent=: ;;
   11539 
   11540   # This is an error.
   11541   -*) as_fn_error $? "unrecognized option: \`$1'
   11542 Try \`$0 --help' for more information." ;;
   11543 
   11544   *) as_fn_append ac_config_targets " $1"
   11545      ac_need_defaults=false ;;
   11546 
   11547   esac
   11548   shift
   11549 done
   11550 
   11551 ac_configure_extra_args=
   11552 
   11553 if $ac_cs_silent; then
   11554   exec 6>/dev/null
   11555   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11556 fi
   11557 
   11558 _ACEOF
   11559 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11560 if \$ac_cs_recheck; then
   11561   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11562   shift
   11563   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11564   CONFIG_SHELL='$SHELL'
   11565   export CONFIG_SHELL
   11566   exec "\$@"
   11567 fi
   11568 
   11569 _ACEOF
   11570 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11571 exec 5>>config.log
   11572 {
   11573   echo
   11574   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11575 ## Running $as_me. ##
   11576 _ASBOX
   11577   $as_echo "$ac_log"
   11578 } >&5
   11579 
   11580 _ACEOF
   11581 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11582 #
   11583 # INIT-COMMANDS
   11584 #
   11585 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11586 
   11587 _ACEOF
   11588 
   11589 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11590 
   11591 # Handling of arguments.
   11592 for ac_config_target in $ac_config_targets
   11593 do
   11594   case $ac_config_target in
   11595     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11596     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11597     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11598     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11599 
   11600   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11601   esac
   11602 done
   11603 
   11604 
   11605 # If the user did not use the arguments to specify the items to instantiate,
   11606 # then the envvar interface is used.  Set only those that are not.
   11607 # We use the long form for the default assignment because of an extremely
   11608 # bizarre bug on SunOS 4.1.3.
   11609 if $ac_need_defaults; then
   11610   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11611   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11612   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11613 fi
   11614 
   11615 # Have a temporary directory for convenience.  Make it in the build tree
   11616 # simply because there is no reason against having it here, and in addition,
   11617 # creating and moving files from /tmp can sometimes cause problems.
   11618 # Hook for its removal unless debugging.
   11619 # Note that there is a small window in which the directory will not be cleaned:
   11620 # after its creation but before its name has been assigned to `$tmp'.
   11621 $debug ||
   11622 {
   11623   tmp= ac_tmp=
   11624   trap 'exit_status=$?
   11625   : "${ac_tmp:=$tmp}"
   11626   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11627 ' 0
   11628   trap 'as_fn_exit 1' 1 2 13 15
   11629 }
   11630 # Create a (secure) tmp directory for tmp files.
   11631 
   11632 {
   11633   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11634   test -d "$tmp"
   11635 }  ||
   11636 {
   11637   tmp=./conf$$-$RANDOM
   11638   (umask 077 && mkdir "$tmp")
   11639 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11640 ac_tmp=$tmp
   11641 
   11642 # Set up the scripts for CONFIG_FILES section.
   11643 # No need to generate them if there are no CONFIG_FILES.
   11644 # This happens for instance with `./config.status config.h'.
   11645 if test -n "$CONFIG_FILES"; then
   11646 
   11647 
   11648 ac_cr=`echo X | tr X '\015'`
   11649 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11650 # But we know of no other shell where ac_cr would be empty at this
   11651 # point, so we can use a bashism as a fallback.
   11652 if test "x$ac_cr" = x; then
   11653   eval ac_cr=\$\'\\r\'
   11654 fi
   11655 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11656 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11657   ac_cs_awk_cr='\\r'
   11658 else
   11659   ac_cs_awk_cr=$ac_cr
   11660 fi
   11661 
   11662 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11663 _ACEOF
   11664 
   11665 
   11666 {
   11667   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11668   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11669   echo "_ACEOF"
   11670 } >conf$$subs.sh ||
   11671   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11672 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11673 ac_delim='%!_!# '
   11674 for ac_last_try in false false false false false :; do
   11675   . ./conf$$subs.sh ||
   11676     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11677 
   11678   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11679   if test $ac_delim_n = $ac_delim_num; then
   11680     break
   11681   elif $ac_last_try; then
   11682     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11683   else
   11684     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11685   fi
   11686 done
   11687 rm -f conf$$subs.sh
   11688 
   11689 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11690 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11691 _ACEOF
   11692 sed -n '
   11693 h
   11694 s/^/S["/; s/!.*/"]=/
   11695 p
   11696 g
   11697 s/^[^!]*!//
   11698 :repl
   11699 t repl
   11700 s/'"$ac_delim"'$//
   11701 t delim
   11702 :nl
   11703 h
   11704 s/\(.\{148\}\)..*/\1/
   11705 t more1
   11706 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11707 p
   11708 n
   11709 b repl
   11710 :more1
   11711 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11712 p
   11713 g
   11714 s/.\{148\}//
   11715 t nl
   11716 :delim
   11717 h
   11718 s/\(.\{148\}\)..*/\1/
   11719 t more2
   11720 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11721 p
   11722 b
   11723 :more2
   11724 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11725 p
   11726 g
   11727 s/.\{148\}//
   11728 t delim
   11729 ' <conf$$subs.awk | sed '
   11730 /^[^""]/{
   11731   N
   11732   s/\n//
   11733 }
   11734 ' >>$CONFIG_STATUS || ac_write_fail=1
   11735 rm -f conf$$subs.awk
   11736 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11737 _ACAWK
   11738 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   11739   for (key in S) S_is_set[key] = 1
   11740   FS = ""
   11741 
   11742 }
   11743 {
   11744   line = $ 0
   11745   nfields = split(line, field, "@")
   11746   substed = 0
   11747   len = length(field[1])
   11748   for (i = 2; i < nfields; i++) {
   11749     key = field[i]
   11750     keylen = length(key)
   11751     if (S_is_set[key]) {
   11752       value = S[key]
   11753       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   11754       len += length(value) + length(field[++i])
   11755       substed = 1
   11756     } else
   11757       len += 1 + keylen
   11758   }
   11759 
   11760   print line
   11761 }
   11762 
   11763 _ACAWK
   11764 _ACEOF
   11765 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11766 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   11767   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   11768 else
   11769   cat
   11770 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   11771   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   11772 _ACEOF
   11773 
   11774 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   11775 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   11776 # trailing colons and then remove the whole line if VPATH becomes empty
   11777 # (actually we leave an empty line to preserve line numbers).
   11778 if test "x$srcdir" = x.; then
   11779   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   11780 h
   11781 s///
   11782 s/^/:/
   11783 s/[	 ]*$/:/
   11784 s/:\$(srcdir):/:/g
   11785 s/:\${srcdir}:/:/g
   11786 s/:@srcdir@:/:/g
   11787 s/^:*//
   11788 s/:*$//
   11789 x
   11790 s/\(=[	 ]*\).*/\1/
   11791 G
   11792 s/\n//
   11793 s/^[^=]*=[	 ]*$//
   11794 }'
   11795 fi
   11796 
   11797 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11798 fi # test -n "$CONFIG_FILES"
   11799 
   11800 # Set up the scripts for CONFIG_HEADERS section.
   11801 # No need to generate them if there are no CONFIG_HEADERS.
   11802 # This happens for instance with `./config.status Makefile'.
   11803 if test -n "$CONFIG_HEADERS"; then
   11804 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   11805 BEGIN {
   11806 _ACEOF
   11807 
   11808 # Transform confdefs.h into an awk script `defines.awk', embedded as
   11809 # here-document in config.status, that substitutes the proper values into
   11810 # config.h.in to produce config.h.
   11811 
   11812 # Create a delimiter string that does not exist in confdefs.h, to ease
   11813 # handling of long lines.
   11814 ac_delim='%!_!# '
   11815 for ac_last_try in false false :; do
   11816   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   11817   if test -z "$ac_tt"; then
   11818     break
   11819   elif $ac_last_try; then
   11820     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   11821   else
   11822     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11823   fi
   11824 done
   11825 
   11826 # For the awk script, D is an array of macro values keyed by name,
   11827 # likewise P contains macro parameters if any.  Preserve backslash
   11828 # newline sequences.
   11829 
   11830 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   11831 sed -n '
   11832 s/.\{148\}/&'"$ac_delim"'/g
   11833 t rset
   11834 :rset
   11835 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   11836 t def
   11837 d
   11838 :def
   11839 s/\\$//
   11840 t bsnl
   11841 s/["\\]/\\&/g
   11842 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11843 D["\1"]=" \3"/p
   11844 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   11845 d
   11846 :bsnl
   11847 s/["\\]/\\&/g
   11848 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11849 D["\1"]=" \3\\\\\\n"\\/p
   11850 t cont
   11851 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   11852 t cont
   11853 d
   11854 :cont
   11855 n
   11856 s/.\{148\}/&'"$ac_delim"'/g
   11857 t clear
   11858 :clear
   11859 s/\\$//
   11860 t bsnlc
   11861 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   11862 d
   11863 :bsnlc
   11864 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   11865 b cont
   11866 ' <confdefs.h | sed '
   11867 s/'"$ac_delim"'/"\\\
   11868 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   11869 
   11870 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11871   for (key in D) D_is_set[key] = 1
   11872   FS = ""
   11873 }
   11874 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   11875   line = \$ 0
   11876   split(line, arg, " ")
   11877   if (arg[1] == "#") {
   11878     defundef = arg[2]
   11879     mac1 = arg[3]
   11880   } else {
   11881     defundef = substr(arg[1], 2)
   11882     mac1 = arg[2]
   11883   }
   11884   split(mac1, mac2, "(") #)
   11885   macro = mac2[1]
   11886   prefix = substr(line, 1, index(line, defundef) - 1)
   11887   if (D_is_set[macro]) {
   11888     # Preserve the white space surrounding the "#".
   11889     print prefix "define", macro P[macro] D[macro]
   11890     next
   11891   } else {
   11892     # Replace #undef with comments.  This is necessary, for example,
   11893     # in the case of _POSIX_SOURCE, which is predefined and required
   11894     # on some systems where configure will not decide to define it.
   11895     if (defundef == "undef") {
   11896       print "/*", prefix defundef, macro, "*/"
   11897       next
   11898     }
   11899   }
   11900 }
   11901 { print }
   11902 _ACAWK
   11903 _ACEOF
   11904 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11905   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   11906 fi # test -n "$CONFIG_HEADERS"
   11907 
   11908 
   11909 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   11910 shift
   11911 for ac_tag
   11912 do
   11913   case $ac_tag in
   11914   :[FHLC]) ac_mode=$ac_tag; continue;;
   11915   esac
   11916   case $ac_mode$ac_tag in
   11917   :[FHL]*:*);;
   11918   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   11919   :[FH]-) ac_tag=-:-;;
   11920   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   11921   esac
   11922   ac_save_IFS=$IFS
   11923   IFS=:
   11924   set x $ac_tag
   11925   IFS=$ac_save_IFS
   11926   shift
   11927   ac_file=$1
   11928   shift
   11929 
   11930   case $ac_mode in
   11931   :L) ac_source=$1;;
   11932   :[FH])
   11933     ac_file_inputs=
   11934     for ac_f
   11935     do
   11936       case $ac_f in
   11937       -) ac_f="$ac_tmp/stdin";;
   11938       *) # Look for the file first in the build tree, then in the source tree
   11939 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   11940 	 # because $ac_f cannot contain `:'.
   11941 	 test -f "$ac_f" ||
   11942 	   case $ac_f in
   11943 	   [\\/$]*) false;;
   11944 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   11945 	   esac ||
   11946 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   11947       esac
   11948       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   11949       as_fn_append ac_file_inputs " '$ac_f'"
   11950     done
   11951 
   11952     # Let's still pretend it is `configure' which instantiates (i.e., don't
   11953     # use $as_me), people would be surprised to read:
   11954     #    /* config.h.  Generated by config.status.  */
   11955     configure_input='Generated from '`
   11956 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   11957 	`' by configure.'
   11958     if test x"$ac_file" != x-; then
   11959       configure_input="$ac_file.  $configure_input"
   11960       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   11961 $as_echo "$as_me: creating $ac_file" >&6;}
   11962     fi
   11963     # Neutralize special characters interpreted by sed in replacement strings.
   11964     case $configure_input in #(
   11965     *\&* | *\|* | *\\* )
   11966        ac_sed_conf_input=`$as_echo "$configure_input" |
   11967        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   11968     *) ac_sed_conf_input=$configure_input;;
   11969     esac
   11970 
   11971     case $ac_tag in
   11972     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   11973       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   11974     esac
   11975     ;;
   11976   esac
   11977 
   11978   ac_dir=`$as_dirname -- "$ac_file" ||
   11979 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11980 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   11981 	 X"$ac_file" : 'X\(//\)$' \| \
   11982 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   11983 $as_echo X"$ac_file" |
   11984     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11985 	    s//\1/
   11986 	    q
   11987 	  }
   11988 	  /^X\(\/\/\)[^/].*/{
   11989 	    s//\1/
   11990 	    q
   11991 	  }
   11992 	  /^X\(\/\/\)$/{
   11993 	    s//\1/
   11994 	    q
   11995 	  }
   11996 	  /^X\(\/\).*/{
   11997 	    s//\1/
   11998 	    q
   11999 	  }
   12000 	  s/.*/./; q'`
   12001   as_dir="$ac_dir"; as_fn_mkdir_p
   12002   ac_builddir=.
   12003 
   12004 case "$ac_dir" in
   12005 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12006 *)
   12007   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   12008   # A ".." for each directory in $ac_dir_suffix.
   12009   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12010   case $ac_top_builddir_sub in
   12011   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12012   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12013   esac ;;
   12014 esac
   12015 ac_abs_top_builddir=$ac_pwd
   12016 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12017 # for backward compatibility:
   12018 ac_top_builddir=$ac_top_build_prefix
   12019 
   12020 case $srcdir in
   12021   .)  # We are building in place.
   12022     ac_srcdir=.
   12023     ac_top_srcdir=$ac_top_builddir_sub
   12024     ac_abs_top_srcdir=$ac_pwd ;;
   12025   [\\/]* | ?:[\\/]* )  # Absolute name.
   12026     ac_srcdir=$srcdir$ac_dir_suffix;
   12027     ac_top_srcdir=$srcdir
   12028     ac_abs_top_srcdir=$srcdir ;;
   12029   *) # Relative name.
   12030     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12031     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12032     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12033 esac
   12034 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12035 
   12036 
   12037   case $ac_mode in
   12038   :F)
   12039   #
   12040   # CONFIG_FILE
   12041   #
   12042 
   12043   case $INSTALL in
   12044   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12045   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12046   esac
   12047   ac_MKDIR_P=$MKDIR_P
   12048   case $MKDIR_P in
   12049   [\\/$]* | ?:[\\/]* ) ;;
   12050   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12051   esac
   12052 _ACEOF
   12053 
   12054 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12055 # If the template does not know about datarootdir, expand it.
   12056 # FIXME: This hack should be removed a few years after 2.60.
   12057 ac_datarootdir_hack=; ac_datarootdir_seen=
   12058 ac_sed_dataroot='
   12059 /datarootdir/ {
   12060   p
   12061   q
   12062 }
   12063 /@datadir@/p
   12064 /@docdir@/p
   12065 /@infodir@/p
   12066 /@localedir@/p
   12067 /@mandir@/p'
   12068 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12069 *datarootdir*) ac_datarootdir_seen=yes;;
   12070 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12071   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12072 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12073 _ACEOF
   12074 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12075   ac_datarootdir_hack='
   12076   s&@datadir@&$datadir&g
   12077   s&@docdir@&$docdir&g
   12078   s&@infodir@&$infodir&g
   12079   s&@localedir@&$localedir&g
   12080   s&@mandir@&$mandir&g
   12081   s&\\\${datarootdir}&$datarootdir&g' ;;
   12082 esac
   12083 _ACEOF
   12084 
   12085 # Neutralize VPATH when `$srcdir' = `.'.
   12086 # Shell code in configure.ac might set extrasub.
   12087 # FIXME: do we really want to maintain this feature?
   12088 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12089 ac_sed_extra="$ac_vpsub
   12090 $extrasub
   12091 _ACEOF
   12092 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12093 :t
   12094 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12095 s|@configure_input@|$ac_sed_conf_input|;t t
   12096 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12097 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12098 s&@srcdir@&$ac_srcdir&;t t
   12099 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12100 s&@top_srcdir@&$ac_top_srcdir&;t t
   12101 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12102 s&@builddir@&$ac_builddir&;t t
   12103 s&@abs_builddir@&$ac_abs_builddir&;t t
   12104 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12105 s&@INSTALL@&$ac_INSTALL&;t t
   12106 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12107 $ac_datarootdir_hack
   12108 "
   12109 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12110   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12111 
   12112 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12113   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12114   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12115       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12116   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12117 which seems to be undefined.  Please make sure it is defined" >&5
   12118 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12119 which seems to be undefined.  Please make sure it is defined" >&2;}
   12120 
   12121   rm -f "$ac_tmp/stdin"
   12122   case $ac_file in
   12123   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12124   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12125   esac \
   12126   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12127  ;;
   12128   :H)
   12129   #
   12130   # CONFIG_HEADER
   12131   #
   12132   if test x"$ac_file" != x-; then
   12133     {
   12134       $as_echo "/* $configure_input  */" \
   12135       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12136     } >"$ac_tmp/config.h" \
   12137       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12138     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12139       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12140 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12141     else
   12142       rm -f "$ac_file"
   12143       mv "$ac_tmp/config.h" "$ac_file" \
   12144 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12145     fi
   12146   else
   12147     $as_echo "/* $configure_input  */" \
   12148       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12149       || as_fn_error $? "could not create -" "$LINENO" 5
   12150   fi
   12151 # Compute "$ac_file"'s index in $config_headers.
   12152 _am_arg="$ac_file"
   12153 _am_stamp_count=1
   12154 for _am_header in $config_headers :; do
   12155   case $_am_header in
   12156     $_am_arg | $_am_arg:* )
   12157       break ;;
   12158     * )
   12159       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12160   esac
   12161 done
   12162 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12163 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12164 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12165 	 X"$_am_arg" : 'X\(//\)$' \| \
   12166 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12167 $as_echo X"$_am_arg" |
   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'`/stamp-h$_am_stamp_count
   12185  ;;
   12186 
   12187   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12188 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12189  ;;
   12190   esac
   12191 
   12192 
   12193   case $ac_file$ac_mode in
   12194     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12195   # Older Autoconf quotes --file arguments for eval, but not when files
   12196   # are listed without --file.  Let's play safe and only enable the eval
   12197   # if we detect the quoting.
   12198   case $CONFIG_FILES in
   12199   *\'*) eval set x "$CONFIG_FILES" ;;
   12200   *)   set x $CONFIG_FILES ;;
   12201   esac
   12202   shift
   12203   for mf
   12204   do
   12205     # Strip MF so we end up with the name of the file.
   12206     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12207     # Check whether this is an Automake generated Makefile or not.
   12208     # We used to match only the files named 'Makefile.in', but
   12209     # some people rename them; so instead we look at the file content.
   12210     # Grep'ing the first line is not enough: some people post-process
   12211     # each Makefile.in and add a new line on top of each file to say so.
   12212     # Grep'ing the whole file is not good either: AIX grep has a line
   12213     # limit of 2048, but all sed's we know have understand at least 4000.
   12214     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12215       dirpart=`$as_dirname -- "$mf" ||
   12216 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12217 	 X"$mf" : 'X\(//\)[^/]' \| \
   12218 	 X"$mf" : 'X\(//\)$' \| \
   12219 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12220 $as_echo X"$mf" |
   12221     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12222 	    s//\1/
   12223 	    q
   12224 	  }
   12225 	  /^X\(\/\/\)[^/].*/{
   12226 	    s//\1/
   12227 	    q
   12228 	  }
   12229 	  /^X\(\/\/\)$/{
   12230 	    s//\1/
   12231 	    q
   12232 	  }
   12233 	  /^X\(\/\).*/{
   12234 	    s//\1/
   12235 	    q
   12236 	  }
   12237 	  s/.*/./; q'`
   12238     else
   12239       continue
   12240     fi
   12241     # Extract the definition of DEPDIR, am__include, and am__quote
   12242     # from the Makefile without running 'make'.
   12243     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12244     test -z "$DEPDIR" && continue
   12245     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12246     test -z "$am__include" && continue
   12247     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12248     # Find all dependency output files, they are included files with
   12249     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12250     # simplest approach to changing $(DEPDIR) to its actual value in the
   12251     # expansion.
   12252     for file in `sed -n "
   12253       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12254 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   12255       # Make sure the directory exists.
   12256       test -f "$dirpart/$file" && continue
   12257       fdir=`$as_dirname -- "$file" ||
   12258 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12259 	 X"$file" : 'X\(//\)[^/]' \| \
   12260 	 X"$file" : 'X\(//\)$' \| \
   12261 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12262 $as_echo X"$file" |
   12263     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12264 	    s//\1/
   12265 	    q
   12266 	  }
   12267 	  /^X\(\/\/\)[^/].*/{
   12268 	    s//\1/
   12269 	    q
   12270 	  }
   12271 	  /^X\(\/\/\)$/{
   12272 	    s//\1/
   12273 	    q
   12274 	  }
   12275 	  /^X\(\/\).*/{
   12276 	    s//\1/
   12277 	    q
   12278 	  }
   12279 	  s/.*/./; q'`
   12280       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12281       # echo "creating $dirpart/$file"
   12282       echo '# dummy' > "$dirpart/$file"
   12283     done
   12284   done
   12285 }
   12286  ;;
   12287 
   12288   esac
   12289 done # for ac_tag
   12290 
   12291 
   12292 as_fn_exit 0
   12293 _ACEOF
   12294 ac_clean_files=$ac_clean_files_save
   12295 
   12296 test $ac_write_fail = 0 ||
   12297   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12298 
   12299 
   12300 # configure is writing to config.log, and then calls config.status.
   12301 # config.status does its own redirection, appending to config.log.
   12302 # Unfortunately, on DOS this fails, as config.log is still kept open
   12303 # by configure, so config.status won't be able to write to it; its
   12304 # output is simply discarded.  So we exec the FD to /dev/null,
   12305 # effectively closing config.log, so it can be properly (re)opened and
   12306 # appended to by config.status.  When coming back to configure, we
   12307 # need to make the FD available again.
   12308 if test "$no_create" != yes; then
   12309   ac_cs_success=:
   12310   ac_config_status_args=
   12311   test "$silent" = yes &&
   12312     ac_config_status_args="$ac_config_status_args --quiet"
   12313   exec 5>/dev/null
   12314   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12315   exec 5>>config.log
   12316   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12317   # would make configure fail if this is the last instruction.
   12318   $ac_cs_success || as_fn_exit 1
   12319 fi
   12320 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12321   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12322 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12323 fi
   12324 
   12325