Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.7
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for imake 1.0.8.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/util/imake/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 test \$(( 1 + 1 )) = 2 || exit 1"
    202   if (eval "$as_required") 2>/dev/null; then :
    203   as_have_required=yes
    204 else
    205   as_have_required=no
    206 fi
    207   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    208 
    209 else
    210   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    211 as_found=false
    212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    213 do
    214   IFS=$as_save_IFS
    215   test -z "$as_dir" && as_dir=.
    216   as_found=:
    217   case $as_dir in #(
    218 	 /*)
    219 	   for as_base in sh bash ksh sh5; do
    220 	     # Try only shells that exist, to save several forks.
    221 	     as_shell=$as_dir/$as_base
    222 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    223 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    224   CONFIG_SHELL=$as_shell as_have_required=yes
    225 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    226   break 2
    227 fi
    228 fi
    229 	   done;;
    230        esac
    231   as_found=false
    232 done
    233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    234 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    235   CONFIG_SHELL=$SHELL as_have_required=yes
    236 fi; }
    237 IFS=$as_save_IFS
    238 
    239 
    240       if test "x$CONFIG_SHELL" != x; then :
    241   export CONFIG_SHELL
    242              # We cannot yet assume a decent shell, so we have to provide a
    243 # neutralization value for shells without unset; and this also
    244 # works around shells that cannot unset nonexistent variables.
    245 # Preserve -v and -x to the replacement shell.
    246 BASH_ENV=/dev/null
    247 ENV=/dev/null
    248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    249 case $- in # ((((
    250   *v*x* | *x*v* ) as_opts=-vx ;;
    251   *v* ) as_opts=-v ;;
    252   *x* ) as_opts=-x ;;
    253   * ) as_opts= ;;
    254 esac
    255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    256 # Admittedly, this is quite paranoid, since all the known shells bail
    257 # out after a failed `exec'.
    258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    259 exit 255
    260 fi
    261 
    262     if test x$as_have_required = xno; then :
    263   $as_echo "$0: This script requires a shell more modern than all"
    264   $as_echo "$0: the shells that I found on your system."
    265   if test x${ZSH_VERSION+set} = xset ; then
    266     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    267     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    268   else
    269     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    270 $0: https://gitlab.freedesktop.org/xorg/util/imake/issues
    271 $0: about your system, including any error possibly output
    272 $0: before this message. Then install a modern shell, or
    273 $0: manually run the script under such a shell if you do
    274 $0: have one."
    275   fi
    276   exit 1
    277 fi
    278 fi
    279 fi
    280 SHELL=${CONFIG_SHELL-/bin/sh}
    281 export SHELL
    282 # Unset more variables known to interfere with behavior of common tools.
    283 CLICOLOR_FORCE= GREP_OPTIONS=
    284 unset CLICOLOR_FORCE GREP_OPTIONS
    285 
    286 ## --------------------- ##
    287 ## M4sh Shell Functions. ##
    288 ## --------------------- ##
    289 # as_fn_unset VAR
    290 # ---------------
    291 # Portably unset VAR.
    292 as_fn_unset ()
    293 {
    294   { eval $1=; unset $1;}
    295 }
    296 as_unset=as_fn_unset
    297 
    298 # as_fn_set_status STATUS
    299 # -----------------------
    300 # Set $? to STATUS, without forking.
    301 as_fn_set_status ()
    302 {
    303   return $1
    304 } # as_fn_set_status
    305 
    306 # as_fn_exit STATUS
    307 # -----------------
    308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    309 as_fn_exit ()
    310 {
    311   set +e
    312   as_fn_set_status $1
    313   exit $1
    314 } # as_fn_exit
    315 
    316 # as_fn_mkdir_p
    317 # -------------
    318 # Create "$as_dir" as a directory, including parents if necessary.
    319 as_fn_mkdir_p ()
    320 {
    321 
    322   case $as_dir in #(
    323   -*) as_dir=./$as_dir;;
    324   esac
    325   test -d "$as_dir" || eval $as_mkdir_p || {
    326     as_dirs=
    327     while :; do
    328       case $as_dir in #(
    329       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    330       *) as_qdir=$as_dir;;
    331       esac
    332       as_dirs="'$as_qdir' $as_dirs"
    333       as_dir=`$as_dirname -- "$as_dir" ||
    334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    335 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    336 	 X"$as_dir" : 'X\(//\)$' \| \
    337 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    338 $as_echo X"$as_dir" |
    339     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    340 	    s//\1/
    341 	    q
    342 	  }
    343 	  /^X\(\/\/\)[^/].*/{
    344 	    s//\1/
    345 	    q
    346 	  }
    347 	  /^X\(\/\/\)$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\).*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  s/.*/./; q'`
    356       test -d "$as_dir" && break
    357     done
    358     test -z "$as_dirs" || eval "mkdir $as_dirs"
    359   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    360 
    361 
    362 } # as_fn_mkdir_p
    363 
    364 # as_fn_executable_p FILE
    365 # -----------------------
    366 # Test if FILE is an executable regular file.
    367 as_fn_executable_p ()
    368 {
    369   test -f "$1" && test -x "$1"
    370 } # as_fn_executable_p
    371 # as_fn_append VAR VALUE
    372 # ----------------------
    373 # Append the text in VALUE to the end of the definition contained in VAR. Take
    374 # advantage of any shell optimizations that allow amortized linear growth over
    375 # repeated appends, instead of the typical quadratic growth present in naive
    376 # implementations.
    377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    378   eval 'as_fn_append ()
    379   {
    380     eval $1+=\$2
    381   }'
    382 else
    383   as_fn_append ()
    384   {
    385     eval $1=\$$1\$2
    386   }
    387 fi # as_fn_append
    388 
    389 # as_fn_arith ARG...
    390 # ------------------
    391 # Perform arithmetic evaluation on the ARGs, and store the result in the
    392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    393 # must be portable across $(()) and expr.
    394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    395   eval 'as_fn_arith ()
    396   {
    397     as_val=$(( $* ))
    398   }'
    399 else
    400   as_fn_arith ()
    401   {
    402     as_val=`expr "$@" || test $? -eq 1`
    403   }
    404 fi # as_fn_arith
    405 
    406 
    407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    408 # ----------------------------------------
    409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    411 # script with STATUS, using 1 if that was 0.
    412 as_fn_error ()
    413 {
    414   as_status=$1; test $as_status -eq 0 && as_status=1
    415   if test "$4"; then
    416     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    417     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    418   fi
    419   $as_echo "$as_me: error: $2" >&2
    420   as_fn_exit $as_status
    421 } # as_fn_error
    422 
    423 if expr a : '\(a\)' >/dev/null 2>&1 &&
    424    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    425   as_expr=expr
    426 else
    427   as_expr=false
    428 fi
    429 
    430 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    431   as_basename=basename
    432 else
    433   as_basename=false
    434 fi
    435 
    436 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    437   as_dirname=dirname
    438 else
    439   as_dirname=false
    440 fi
    441 
    442 as_me=`$as_basename -- "$0" ||
    443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    444 	 X"$0" : 'X\(//\)$' \| \
    445 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    446 $as_echo X/"$0" |
    447     sed '/^.*\/\([^/][^/]*\)\/*$/{
    448 	    s//\1/
    449 	    q
    450 	  }
    451 	  /^X\/\(\/\/\)$/{
    452 	    s//\1/
    453 	    q
    454 	  }
    455 	  /^X\/\(\/\).*/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  s/.*/./; q'`
    460 
    461 # Avoid depending upon Character Ranges.
    462 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    463 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    464 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    465 as_cr_digits='0123456789'
    466 as_cr_alnum=$as_cr_Letters$as_cr_digits
    467 
    468 
    469   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    470   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    471   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    472   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    473   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    474   sed -n '
    475     p
    476     /[$]LINENO/=
    477   ' <$as_myself |
    478     sed '
    479       s/[$]LINENO.*/&-/
    480       t lineno
    481       b
    482       :lineno
    483       N
    484       :loop
    485       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    486       t loop
    487       s/-\n.*//
    488     ' >$as_me.lineno &&
    489   chmod +x "$as_me.lineno" ||
    490     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    491 
    492   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    493   # already done that, so ensure we don't try to do so again and fall
    494   # in an infinite loop.  This has already happened in practice.
    495   _as_can_reexec=no; export _as_can_reexec
    496   # Don't try to exec as it changes $[0], causing all sort of problems
    497   # (the dirname of $[0] is not the place where we might find the
    498   # original and so on.  Autoconf is especially sensitive to this).
    499   . "./$as_me.lineno"
    500   # Exit status is that of the last command.
    501   exit
    502 }
    503 
    504 ECHO_C= ECHO_N= ECHO_T=
    505 case `echo -n x` in #(((((
    506 -n*)
    507   case `echo 'xy\c'` in
    508   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    509   xy)  ECHO_C='\c';;
    510   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    511        ECHO_T='	';;
    512   esac;;
    513 *)
    514   ECHO_N='-n';;
    515 esac
    516 
    517 rm -f conf$$ conf$$.exe conf$$.file
    518 if test -d conf$$.dir; then
    519   rm -f conf$$.dir/conf$$.file
    520 else
    521   rm -f conf$$.dir
    522   mkdir conf$$.dir 2>/dev/null
    523 fi
    524 if (echo >conf$$.file) 2>/dev/null; then
    525   if ln -s conf$$.file conf$$ 2>/dev/null; then
    526     as_ln_s='ln -s'
    527     # ... but there are two gotchas:
    528     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    529     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    530     # In both cases, we have to default to `cp -pR'.
    531     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    532       as_ln_s='cp -pR'
    533   elif ln conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s=ln
    535   else
    536     as_ln_s='cp -pR'
    537   fi
    538 else
    539   as_ln_s='cp -pR'
    540 fi
    541 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    542 rmdir conf$$.dir 2>/dev/null
    543 
    544 if mkdir -p . 2>/dev/null; then
    545   as_mkdir_p='mkdir -p "$as_dir"'
    546 else
    547   test -d ./-p && rmdir ./-p
    548   as_mkdir_p=false
    549 fi
    550 
    551 as_test_x='test -x'
    552 as_executable_p=as_fn_executable_p
    553 
    554 # Sed expression to map a string onto a valid CPP name.
    555 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    556 
    557 # Sed expression to map a string onto a valid variable name.
    558 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    559 
    560 
    561 test -n "$DJDIR" || exec 7<&0 </dev/null
    562 exec 6>&1
    563 
    564 # Name of the host.
    565 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    566 # so uname gets run too.
    567 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    568 
    569 #
    570 # Initializations.
    571 #
    572 ac_default_prefix=/usr/local
    573 ac_clean_files=
    574 ac_config_libobj_dir=.
    575 LIBOBJS=
    576 cross_compiling=no
    577 subdirs=
    578 MFLAGS=
    579 MAKEFLAGS=
    580 
    581 # Identity of this package.
    582 PACKAGE_NAME='imake'
    583 PACKAGE_TARNAME='imake'
    584 PACKAGE_VERSION='1.0.8'
    585 PACKAGE_STRING='imake 1.0.8'
    586 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/util/imake/issues'
    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 XPROTO_LIBS
    631 XPROTO_CFLAGS
    632 BUILD_MKHTMLINDEX_FALSE
    633 BUILD_MKHTMLINDEX_TRUE
    634 BUILD_CLEANLINKS_FALSE
    635 BUILD_CLEANLINKS_TRUE
    636 BUILD_MKDIRHIER_FALSE
    637 BUILD_MKDIRHIER_TRUE
    638 BUILD_MERGELIB_FALSE
    639 BUILD_MERGELIB_TRUE
    640 BUILD_CCMAKEDEP_FALSE
    641 BUILD_CCMAKEDEP_TRUE
    642 BUILD_XMKMF_FALSE
    643 BUILD_XMKMF_TRUE
    644 BUILD_MAKEG_FALSE
    645 BUILD_MAKEG_TRUE
    646 BUILD_REVPATH_FALSE
    647 BUILD_REVPATH_TRUE
    648 RANLIB
    649 ARCMD
    650 PREPROCESSCMD_MKDEPEND
    651 XCONFDIR
    652 HAS_PERL_FALSE
    653 HAS_PERL_TRUE
    654 HAS_PERL
    655 CPP_PROGRAM
    656 TRADITIONALCPPFLAGS
    657 RAWCPPFLAGS
    658 RAWCPP
    659 MAN_SUBSTS
    660 XORG_MAN_PAGE
    661 ADMIN_MAN_DIR
    662 DRIVER_MAN_DIR
    663 MISC_MAN_DIR
    664 FILE_MAN_DIR
    665 LIB_MAN_DIR
    666 APP_MAN_DIR
    667 ADMIN_MAN_SUFFIX
    668 DRIVER_MAN_SUFFIX
    669 MISC_MAN_SUFFIX
    670 FILE_MAN_SUFFIX
    671 LIB_MAN_SUFFIX
    672 APP_MAN_SUFFIX
    673 SED
    674 host_os
    675 host_vendor
    676 host_cpu
    677 host
    678 build_os
    679 build_vendor
    680 build_cpu
    681 build
    682 INSTALL_CMD
    683 PKG_CONFIG_LIBDIR
    684 PKG_CONFIG_PATH
    685 PKG_CONFIG
    686 CHANGELOG_CMD
    687 STRICT_CFLAGS
    688 CWARNFLAGS
    689 BASE_CFLAGS
    690 EGREP
    691 GREP
    692 CPP
    693 am__fastdepCC_FALSE
    694 am__fastdepCC_TRUE
    695 CCDEPMODE
    696 am__nodep
    697 AMDEPBACKSLASH
    698 AMDEP_FALSE
    699 AMDEP_TRUE
    700 am__quote
    701 am__include
    702 DEPDIR
    703 OBJEXT
    704 EXEEXT
    705 ac_ct_CC
    706 CPPFLAGS
    707 LDFLAGS
    708 CFLAGS
    709 CC
    710 AM_BACKSLASH
    711 AM_DEFAULT_VERBOSITY
    712 AM_DEFAULT_V
    713 AM_V
    714 am__untar
    715 am__tar
    716 AMTAR
    717 am__leading_dot
    718 SET_MAKE
    719 AWK
    720 mkdir_p
    721 MKDIR_P
    722 INSTALL_STRIP_PROGRAM
    723 STRIP
    724 install_sh
    725 MAKEINFO
    726 AUTOHEADER
    727 AUTOMAKE
    728 AUTOCONF
    729 ACLOCAL
    730 VERSION
    731 PACKAGE
    732 CYGPATH_W
    733 am__isrc
    734 INSTALL_DATA
    735 INSTALL_SCRIPT
    736 INSTALL_PROGRAM
    737 target_alias
    738 host_alias
    739 build_alias
    740 LIBS
    741 ECHO_T
    742 ECHO_N
    743 ECHO_C
    744 DEFS
    745 mandir
    746 localedir
    747 libdir
    748 psdir
    749 pdfdir
    750 dvidir
    751 htmldir
    752 infodir
    753 docdir
    754 oldincludedir
    755 includedir
    756 localstatedir
    757 sharedstatedir
    758 sysconfdir
    759 datadir
    760 datarootdir
    761 libexecdir
    762 sbindir
    763 bindir
    764 program_transform_name
    765 prefix
    766 exec_prefix
    767 PACKAGE_URL
    768 PACKAGE_BUGREPORT
    769 PACKAGE_STRING
    770 PACKAGE_VERSION
    771 PACKAGE_TARNAME
    772 PACKAGE_NAME
    773 PATH_SEPARATOR
    774 SHELL'
    775 ac_subst_files=''
    776 ac_user_opts='
    777 enable_option_checking
    778 enable_silent_rules
    779 enable_dependency_tracking
    780 enable_selective_werror
    781 enable_strict_compilation
    782 with_config_dir
    783 with_script_preproc_cmd
    784 with_create_lib_cmd
    785 with_clean_lib_cmd
    786 enable_revpath
    787 enable_makeg
    788 enable_xmkmf
    789 enable_ccmakedep
    790 enable_mergelib
    791 enable_mkdirhier
    792 enable_cleanlinks
    793 enable_mkhtmlindex
    794 '
    795       ac_precious_vars='build_alias
    796 host_alias
    797 target_alias
    798 CC
    799 CFLAGS
    800 LDFLAGS
    801 LIBS
    802 CPPFLAGS
    803 CPP
    804 PKG_CONFIG
    805 PKG_CONFIG_PATH
    806 PKG_CONFIG_LIBDIR
    807 XPROTO_CFLAGS
    808 XPROTO_LIBS'
    809 
    810 
    811 # Initialize some variables set by options.
    812 ac_init_help=
    813 ac_init_version=false
    814 ac_unrecognized_opts=
    815 ac_unrecognized_sep=
    816 # The variables have the same names as the options, with
    817 # dashes changed to underlines.
    818 cache_file=/dev/null
    819 exec_prefix=NONE
    820 no_create=
    821 no_recursion=
    822 prefix=NONE
    823 program_prefix=NONE
    824 program_suffix=NONE
    825 program_transform_name=s,x,x,
    826 silent=
    827 site=
    828 srcdir=
    829 verbose=
    830 x_includes=NONE
    831 x_libraries=NONE
    832 
    833 # Installation directory options.
    834 # These are left unexpanded so users can "make install exec_prefix=/foo"
    835 # and all the variables that are supposed to be based on exec_prefix
    836 # by default will actually change.
    837 # Use braces instead of parens because sh, perl, etc. also accept them.
    838 # (The list follows the same order as the GNU Coding Standards.)
    839 bindir='${exec_prefix}/bin'
    840 sbindir='${exec_prefix}/sbin'
    841 libexecdir='${exec_prefix}/libexec'
    842 datarootdir='${prefix}/share'
    843 datadir='${datarootdir}'
    844 sysconfdir='${prefix}/etc'
    845 sharedstatedir='${prefix}/com'
    846 localstatedir='${prefix}/var'
    847 includedir='${prefix}/include'
    848 oldincludedir='/usr/include'
    849 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    850 infodir='${datarootdir}/info'
    851 htmldir='${docdir}'
    852 dvidir='${docdir}'
    853 pdfdir='${docdir}'
    854 psdir='${docdir}'
    855 libdir='${exec_prefix}/lib'
    856 localedir='${datarootdir}/locale'
    857 mandir='${datarootdir}/man'
    858 
    859 ac_prev=
    860 ac_dashdash=
    861 for ac_option
    862 do
    863   # If the previous option needs an argument, assign it.
    864   if test -n "$ac_prev"; then
    865     eval $ac_prev=\$ac_option
    866     ac_prev=
    867     continue
    868   fi
    869 
    870   case $ac_option in
    871   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    872   *=)   ac_optarg= ;;
    873   *)    ac_optarg=yes ;;
    874   esac
    875 
    876   # Accept the important Cygnus configure options, so we can diagnose typos.
    877 
    878   case $ac_dashdash$ac_option in
    879   --)
    880     ac_dashdash=yes ;;
    881 
    882   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    883     ac_prev=bindir ;;
    884   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    885     bindir=$ac_optarg ;;
    886 
    887   -build | --build | --buil | --bui | --bu)
    888     ac_prev=build_alias ;;
    889   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    890     build_alias=$ac_optarg ;;
    891 
    892   -cache-file | --cache-file | --cache-fil | --cache-fi \
    893   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    894     ac_prev=cache_file ;;
    895   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    896   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    897     cache_file=$ac_optarg ;;
    898 
    899   --config-cache | -C)
    900     cache_file=config.cache ;;
    901 
    902   -datadir | --datadir | --datadi | --datad)
    903     ac_prev=datadir ;;
    904   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    905     datadir=$ac_optarg ;;
    906 
    907   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    908   | --dataroo | --dataro | --datar)
    909     ac_prev=datarootdir ;;
    910   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    911   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    912     datarootdir=$ac_optarg ;;
    913 
    914   -disable-* | --disable-*)
    915     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    916     # Reject names that are not valid shell variable names.
    917     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    918       as_fn_error $? "invalid feature name: $ac_useropt"
    919     ac_useropt_orig=$ac_useropt
    920     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    921     case $ac_user_opts in
    922       *"
    923 "enable_$ac_useropt"
    924 "*) ;;
    925       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    926 	 ac_unrecognized_sep=', ';;
    927     esac
    928     eval enable_$ac_useropt=no ;;
    929 
    930   -docdir | --docdir | --docdi | --doc | --do)
    931     ac_prev=docdir ;;
    932   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    933     docdir=$ac_optarg ;;
    934 
    935   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    936     ac_prev=dvidir ;;
    937   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    938     dvidir=$ac_optarg ;;
    939 
    940   -enable-* | --enable-*)
    941     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    942     # Reject names that are not valid shell variable names.
    943     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    944       as_fn_error $? "invalid feature name: $ac_useropt"
    945     ac_useropt_orig=$ac_useropt
    946     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    947     case $ac_user_opts in
    948       *"
    949 "enable_$ac_useropt"
    950 "*) ;;
    951       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    952 	 ac_unrecognized_sep=', ';;
    953     esac
    954     eval enable_$ac_useropt=\$ac_optarg ;;
    955 
    956   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    957   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    958   | --exec | --exe | --ex)
    959     ac_prev=exec_prefix ;;
    960   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    961   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    962   | --exec=* | --exe=* | --ex=*)
    963     exec_prefix=$ac_optarg ;;
    964 
    965   -gas | --gas | --ga | --g)
    966     # Obsolete; use --with-gas.
    967     with_gas=yes ;;
    968 
    969   -help | --help | --hel | --he | -h)
    970     ac_init_help=long ;;
    971   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    972     ac_init_help=recursive ;;
    973   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    974     ac_init_help=short ;;
    975 
    976   -host | --host | --hos | --ho)
    977     ac_prev=host_alias ;;
    978   -host=* | --host=* | --hos=* | --ho=*)
    979     host_alias=$ac_optarg ;;
    980 
    981   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    982     ac_prev=htmldir ;;
    983   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    984   | --ht=*)
    985     htmldir=$ac_optarg ;;
    986 
    987   -includedir | --includedir | --includedi | --included | --include \
    988   | --includ | --inclu | --incl | --inc)
    989     ac_prev=includedir ;;
    990   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    991   | --includ=* | --inclu=* | --incl=* | --inc=*)
    992     includedir=$ac_optarg ;;
    993 
    994   -infodir | --infodir | --infodi | --infod | --info | --inf)
    995     ac_prev=infodir ;;
    996   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    997     infodir=$ac_optarg ;;
    998 
    999   -libdir | --libdir | --libdi | --libd)
   1000     ac_prev=libdir ;;
   1001   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1002     libdir=$ac_optarg ;;
   1003 
   1004   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1005   | --libexe | --libex | --libe)
   1006     ac_prev=libexecdir ;;
   1007   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1008   | --libexe=* | --libex=* | --libe=*)
   1009     libexecdir=$ac_optarg ;;
   1010 
   1011   -localedir | --localedir | --localedi | --localed | --locale)
   1012     ac_prev=localedir ;;
   1013   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1014     localedir=$ac_optarg ;;
   1015 
   1016   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1017   | --localstate | --localstat | --localsta | --localst | --locals)
   1018     ac_prev=localstatedir ;;
   1019   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1020   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1021     localstatedir=$ac_optarg ;;
   1022 
   1023   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1024     ac_prev=mandir ;;
   1025   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1026     mandir=$ac_optarg ;;
   1027 
   1028   -nfp | --nfp | --nf)
   1029     # Obsolete; use --without-fp.
   1030     with_fp=no ;;
   1031 
   1032   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1033   | --no-cr | --no-c | -n)
   1034     no_create=yes ;;
   1035 
   1036   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1037   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1038     no_recursion=yes ;;
   1039 
   1040   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1041   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1042   | --oldin | --oldi | --old | --ol | --o)
   1043     ac_prev=oldincludedir ;;
   1044   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1045   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1046   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1047     oldincludedir=$ac_optarg ;;
   1048 
   1049   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1050     ac_prev=prefix ;;
   1051   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1052     prefix=$ac_optarg ;;
   1053 
   1054   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1055   | --program-pre | --program-pr | --program-p)
   1056     ac_prev=program_prefix ;;
   1057   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1058   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1059     program_prefix=$ac_optarg ;;
   1060 
   1061   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1062   | --program-suf | --program-su | --program-s)
   1063     ac_prev=program_suffix ;;
   1064   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1065   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1066     program_suffix=$ac_optarg ;;
   1067 
   1068   -program-transform-name | --program-transform-name \
   1069   | --program-transform-nam | --program-transform-na \
   1070   | --program-transform-n | --program-transform- \
   1071   | --program-transform | --program-transfor \
   1072   | --program-transfo | --program-transf \
   1073   | --program-trans | --program-tran \
   1074   | --progr-tra | --program-tr | --program-t)
   1075     ac_prev=program_transform_name ;;
   1076   -program-transform-name=* | --program-transform-name=* \
   1077   | --program-transform-nam=* | --program-transform-na=* \
   1078   | --program-transform-n=* | --program-transform-=* \
   1079   | --program-transform=* | --program-transfor=* \
   1080   | --program-transfo=* | --program-transf=* \
   1081   | --program-trans=* | --program-tran=* \
   1082   | --progr-tra=* | --program-tr=* | --program-t=*)
   1083     program_transform_name=$ac_optarg ;;
   1084 
   1085   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1086     ac_prev=pdfdir ;;
   1087   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1088     pdfdir=$ac_optarg ;;
   1089 
   1090   -psdir | --psdir | --psdi | --psd | --ps)
   1091     ac_prev=psdir ;;
   1092   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1093     psdir=$ac_optarg ;;
   1094 
   1095   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1096   | -silent | --silent | --silen | --sile | --sil)
   1097     silent=yes ;;
   1098 
   1099   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1100     ac_prev=sbindir ;;
   1101   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1102   | --sbi=* | --sb=*)
   1103     sbindir=$ac_optarg ;;
   1104 
   1105   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1106   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1107   | --sharedst | --shareds | --shared | --share | --shar \
   1108   | --sha | --sh)
   1109     ac_prev=sharedstatedir ;;
   1110   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1111   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1112   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1113   | --sha=* | --sh=*)
   1114     sharedstatedir=$ac_optarg ;;
   1115 
   1116   -site | --site | --sit)
   1117     ac_prev=site ;;
   1118   -site=* | --site=* | --sit=*)
   1119     site=$ac_optarg ;;
   1120 
   1121   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1122     ac_prev=srcdir ;;
   1123   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1124     srcdir=$ac_optarg ;;
   1125 
   1126   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1127   | --syscon | --sysco | --sysc | --sys | --sy)
   1128     ac_prev=sysconfdir ;;
   1129   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1130   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1131     sysconfdir=$ac_optarg ;;
   1132 
   1133   -target | --target | --targe | --targ | --tar | --ta | --t)
   1134     ac_prev=target_alias ;;
   1135   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1136     target_alias=$ac_optarg ;;
   1137 
   1138   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1139     verbose=yes ;;
   1140 
   1141   -version | --version | --versio | --versi | --vers | -V)
   1142     ac_init_version=: ;;
   1143 
   1144   -with-* | --with-*)
   1145     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1146     # Reject names that are not valid shell variable names.
   1147     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1148       as_fn_error $? "invalid package name: $ac_useropt"
   1149     ac_useropt_orig=$ac_useropt
   1150     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1151     case $ac_user_opts in
   1152       *"
   1153 "with_$ac_useropt"
   1154 "*) ;;
   1155       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1156 	 ac_unrecognized_sep=', ';;
   1157     esac
   1158     eval with_$ac_useropt=\$ac_optarg ;;
   1159 
   1160   -without-* | --without-*)
   1161     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1162     # Reject names that are not valid shell variable names.
   1163     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1164       as_fn_error $? "invalid package name: $ac_useropt"
   1165     ac_useropt_orig=$ac_useropt
   1166     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1167     case $ac_user_opts in
   1168       *"
   1169 "with_$ac_useropt"
   1170 "*) ;;
   1171       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1172 	 ac_unrecognized_sep=', ';;
   1173     esac
   1174     eval with_$ac_useropt=no ;;
   1175 
   1176   --x)
   1177     # Obsolete; use --with-x.
   1178     with_x=yes ;;
   1179 
   1180   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1181   | --x-incl | --x-inc | --x-in | --x-i)
   1182     ac_prev=x_includes ;;
   1183   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1184   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1185     x_includes=$ac_optarg ;;
   1186 
   1187   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1188   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1189     ac_prev=x_libraries ;;
   1190   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1191   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1192     x_libraries=$ac_optarg ;;
   1193 
   1194   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1195 Try \`$0 --help' for more information"
   1196     ;;
   1197 
   1198   *=*)
   1199     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1200     # Reject names that are not valid shell variable names.
   1201     case $ac_envvar in #(
   1202       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1203       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1204     esac
   1205     eval $ac_envvar=\$ac_optarg
   1206     export $ac_envvar ;;
   1207 
   1208   *)
   1209     # FIXME: should be removed in autoconf 3.0.
   1210     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1211     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1212       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1213     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1214     ;;
   1215 
   1216   esac
   1217 done
   1218 
   1219 if test -n "$ac_prev"; then
   1220   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1221   as_fn_error $? "missing argument to $ac_option"
   1222 fi
   1223 
   1224 if test -n "$ac_unrecognized_opts"; then
   1225   case $enable_option_checking in
   1226     no) ;;
   1227     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1228     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1229   esac
   1230 fi
   1231 
   1232 # Check all directory arguments for consistency.
   1233 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1234 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1235 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1236 		libdir localedir mandir
   1237 do
   1238   eval ac_val=\$$ac_var
   1239   # Remove trailing slashes.
   1240   case $ac_val in
   1241     */ )
   1242       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1243       eval $ac_var=\$ac_val;;
   1244   esac
   1245   # Be sure to have absolute directory names.
   1246   case $ac_val in
   1247     [\\/$]* | ?:[\\/]* )  continue;;
   1248     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1249   esac
   1250   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1251 done
   1252 
   1253 # There might be people who depend on the old broken behavior: `$host'
   1254 # used to hold the argument of --host etc.
   1255 # FIXME: To remove some day.
   1256 build=$build_alias
   1257 host=$host_alias
   1258 target=$target_alias
   1259 
   1260 # FIXME: To remove some day.
   1261 if test "x$host_alias" != x; then
   1262   if test "x$build_alias" = x; then
   1263     cross_compiling=maybe
   1264   elif test "x$build_alias" != "x$host_alias"; then
   1265     cross_compiling=yes
   1266   fi
   1267 fi
   1268 
   1269 ac_tool_prefix=
   1270 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1271 
   1272 test "$silent" = yes && exec 6>/dev/null
   1273 
   1274 
   1275 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1276 ac_ls_di=`ls -di .` &&
   1277 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1278   as_fn_error $? "working directory cannot be determined"
   1279 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1280   as_fn_error $? "pwd does not report name of working directory"
   1281 
   1282 
   1283 # Find the source files, if location was not specified.
   1284 if test -z "$srcdir"; then
   1285   ac_srcdir_defaulted=yes
   1286   # Try the directory containing this script, then the parent directory.
   1287   ac_confdir=`$as_dirname -- "$as_myself" ||
   1288 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1289 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1290 	 X"$as_myself" : 'X\(//\)$' \| \
   1291 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1292 $as_echo X"$as_myself" |
   1293     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1294 	    s//\1/
   1295 	    q
   1296 	  }
   1297 	  /^X\(\/\/\)[^/].*/{
   1298 	    s//\1/
   1299 	    q
   1300 	  }
   1301 	  /^X\(\/\/\)$/{
   1302 	    s//\1/
   1303 	    q
   1304 	  }
   1305 	  /^X\(\/\).*/{
   1306 	    s//\1/
   1307 	    q
   1308 	  }
   1309 	  s/.*/./; q'`
   1310   srcdir=$ac_confdir
   1311   if test ! -r "$srcdir/$ac_unique_file"; then
   1312     srcdir=..
   1313   fi
   1314 else
   1315   ac_srcdir_defaulted=no
   1316 fi
   1317 if test ! -r "$srcdir/$ac_unique_file"; then
   1318   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1319   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1320 fi
   1321 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1322 ac_abs_confdir=`(
   1323 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1324 	pwd)`
   1325 # When building in place, set srcdir=.
   1326 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1327   srcdir=.
   1328 fi
   1329 # Remove unnecessary trailing slashes from srcdir.
   1330 # Double slashes in file names in object file debugging info
   1331 # mess up M-x gdb in Emacs.
   1332 case $srcdir in
   1333 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1334 esac
   1335 for ac_var in $ac_precious_vars; do
   1336   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1337   eval ac_env_${ac_var}_value=\$${ac_var}
   1338   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1339   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1340 done
   1341 
   1342 #
   1343 # Report the --help message.
   1344 #
   1345 if test "$ac_init_help" = "long"; then
   1346   # Omit some internal or obsolete options to make the list less imposing.
   1347   # This message is too long to be a string in the A/UX 3.1 sh.
   1348   cat <<_ACEOF
   1349 \`configure' configures imake 1.0.8 to adapt to many kinds of systems.
   1350 
   1351 Usage: $0 [OPTION]... [VAR=VALUE]...
   1352 
   1353 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1354 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1355 
   1356 Defaults for the options are specified in brackets.
   1357 
   1358 Configuration:
   1359   -h, --help              display this help and exit
   1360       --help=short        display options specific to this package
   1361       --help=recursive    display the short help of all the included packages
   1362   -V, --version           display version information and exit
   1363   -q, --quiet, --silent   do not print \`checking ...' messages
   1364       --cache-file=FILE   cache test results in FILE [disabled]
   1365   -C, --config-cache      alias for \`--cache-file=config.cache'
   1366   -n, --no-create         do not create output files
   1367       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1368 
   1369 Installation directories:
   1370   --prefix=PREFIX         install architecture-independent files in PREFIX
   1371                           [$ac_default_prefix]
   1372   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1373                           [PREFIX]
   1374 
   1375 By default, \`make install' will install all the files in
   1376 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1377 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1378 for instance \`--prefix=\$HOME'.
   1379 
   1380 For better control, use the options below.
   1381 
   1382 Fine tuning of the installation directories:
   1383   --bindir=DIR            user executables [EPREFIX/bin]
   1384   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1385   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1386   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1387   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1388   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1389   --libdir=DIR            object code libraries [EPREFIX/lib]
   1390   --includedir=DIR        C header files [PREFIX/include]
   1391   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1392   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1393   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1394   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1395   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1396   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1397   --docdir=DIR            documentation root [DATAROOTDIR/doc/imake]
   1398   --htmldir=DIR           html documentation [DOCDIR]
   1399   --dvidir=DIR            dvi documentation [DOCDIR]
   1400   --pdfdir=DIR            pdf documentation [DOCDIR]
   1401   --psdir=DIR             ps documentation [DOCDIR]
   1402 _ACEOF
   1403 
   1404   cat <<\_ACEOF
   1405 
   1406 Program names:
   1407   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1408   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1409   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1410 
   1411 System types:
   1412   --build=BUILD     configure for building on BUILD [guessed]
   1413   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1414 _ACEOF
   1415 fi
   1416 
   1417 if test -n "$ac_init_help"; then
   1418   case $ac_init_help in
   1419      short | recursive ) echo "Configuration of imake 1.0.8:";;
   1420    esac
   1421   cat <<\_ACEOF
   1422 
   1423 Optional Features:
   1424   --disable-option-checking  ignore unrecognized --enable/--with options
   1425   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1426   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1427   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1428   --disable-silent-rules  verbose build output (undo: "make V=0")
   1429   --enable-dependency-tracking
   1430                           do not reject slow dependency extractors
   1431   --disable-dependency-tracking
   1432                           speeds up one-time build
   1433   --disable-selective-werror
   1434                           Turn off selective compiler errors. (default:
   1435                           enabled)
   1436   --enable-strict-compilation
   1437                           Enable all warnings from compiler and make them
   1438                           errors (default: disabled)
   1439   --disable-revpath       Build revpath (default: enabled)
   1440   --disable-makeg         Build makeg (default: enabled)
   1441   --disable-xmkmf         Build xmkmf (default: enabled)
   1442   --disable-ccmakedep     Build ccmakedep (default: enabled)
   1443   --disable-mergelib      Build mergelib (default: enabled)
   1444   --disable-mkdirhier     Build mkdirhier (default: enabled)
   1445   --disable-cleanlinks    Build cleanlinks (default: enabled)
   1446   --disable-mkhtmlindex   Build mkhtmlindex (default: enabled)
   1447 
   1448 Optional Packages:
   1449   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1450   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1451   --with-config-dir=<path>
   1452                           Path to config dir (default: ${libdir}/X11/config)
   1453   --with-script-preproc-cmd=CMD
   1454                           Preprocessor command to run on scripts (default:
   1455                           "gcc -E")
   1456   --with-create-lib-cmd=CMD
   1457                           Command to create libraries (default: "ar clq")
   1458   --with-clean-lib-cmd=CMD
   1459                           Command to clean up libraries (default: "ranlib")
   1460 
   1461 Some influential environment variables:
   1462   CC          C compiler command
   1463   CFLAGS      C compiler flags
   1464   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1465               nonstandard directory <lib dir>
   1466   LIBS        libraries to pass to the linker, e.g. -l<library>
   1467   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1468               you have headers in a nonstandard directory <include dir>
   1469   CPP         C preprocessor
   1470   PKG_CONFIG  path to pkg-config utility
   1471   PKG_CONFIG_PATH
   1472               directories to add to pkg-config's search path
   1473   PKG_CONFIG_LIBDIR
   1474               path overriding pkg-config's built-in search path
   1475   XPROTO_CFLAGS
   1476               C compiler flags for XPROTO, overriding pkg-config
   1477   XPROTO_LIBS linker flags for XPROTO, overriding pkg-config
   1478 
   1479 Use these variables to override the choices made by `configure' or to help
   1480 it to find libraries and programs with nonstandard names/locations.
   1481 
   1482 Report bugs to <https://gitlab.freedesktop.org/xorg/util/imake/issues>.
   1483 _ACEOF
   1484 ac_status=$?
   1485 fi
   1486 
   1487 if test "$ac_init_help" = "recursive"; then
   1488   # If there are subdirs, report their specific --help.
   1489   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1490     test -d "$ac_dir" ||
   1491       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1492       continue
   1493     ac_builddir=.
   1494 
   1495 case "$ac_dir" in
   1496 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1497 *)
   1498   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1499   # A ".." for each directory in $ac_dir_suffix.
   1500   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1501   case $ac_top_builddir_sub in
   1502   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1503   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1504   esac ;;
   1505 esac
   1506 ac_abs_top_builddir=$ac_pwd
   1507 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1508 # for backward compatibility:
   1509 ac_top_builddir=$ac_top_build_prefix
   1510 
   1511 case $srcdir in
   1512   .)  # We are building in place.
   1513     ac_srcdir=.
   1514     ac_top_srcdir=$ac_top_builddir_sub
   1515     ac_abs_top_srcdir=$ac_pwd ;;
   1516   [\\/]* | ?:[\\/]* )  # Absolute name.
   1517     ac_srcdir=$srcdir$ac_dir_suffix;
   1518     ac_top_srcdir=$srcdir
   1519     ac_abs_top_srcdir=$srcdir ;;
   1520   *) # Relative name.
   1521     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1522     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1523     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1524 esac
   1525 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1526 
   1527     cd "$ac_dir" || { ac_status=$?; continue; }
   1528     # Check for guested configure.
   1529     if test -f "$ac_srcdir/configure.gnu"; then
   1530       echo &&
   1531       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1532     elif test -f "$ac_srcdir/configure"; then
   1533       echo &&
   1534       $SHELL "$ac_srcdir/configure" --help=recursive
   1535     else
   1536       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1537     fi || ac_status=$?
   1538     cd "$ac_pwd" || { ac_status=$?; break; }
   1539   done
   1540 fi
   1541 
   1542 test -n "$ac_init_help" && exit $ac_status
   1543 if $ac_init_version; then
   1544   cat <<\_ACEOF
   1545 imake configure 1.0.8
   1546 generated by GNU Autoconf 2.69
   1547 
   1548 Copyright (C) 2012 Free Software Foundation, Inc.
   1549 This configure script is free software; the Free Software Foundation
   1550 gives unlimited permission to copy, distribute and modify it.
   1551 _ACEOF
   1552   exit
   1553 fi
   1554 
   1555 ## ------------------------ ##
   1556 ## Autoconf initialization. ##
   1557 ## ------------------------ ##
   1558 
   1559 # ac_fn_c_try_compile LINENO
   1560 # --------------------------
   1561 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1562 ac_fn_c_try_compile ()
   1563 {
   1564   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1565   rm -f conftest.$ac_objext
   1566   if { { ac_try="$ac_compile"
   1567 case "(($ac_try" in
   1568   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1569   *) ac_try_echo=$ac_try;;
   1570 esac
   1571 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1572 $as_echo "$ac_try_echo"; } >&5
   1573   (eval "$ac_compile") 2>conftest.err
   1574   ac_status=$?
   1575   if test -s conftest.err; then
   1576     grep -v '^ *+' conftest.err >conftest.er1
   1577     cat conftest.er1 >&5
   1578     mv -f conftest.er1 conftest.err
   1579   fi
   1580   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1581   test $ac_status = 0; } && {
   1582 	 test -z "$ac_c_werror_flag" ||
   1583 	 test ! -s conftest.err
   1584        } && test -s conftest.$ac_objext; then :
   1585   ac_retval=0
   1586 else
   1587   $as_echo "$as_me: failed program was:" >&5
   1588 sed 's/^/| /' conftest.$ac_ext >&5
   1589 
   1590 	ac_retval=1
   1591 fi
   1592   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1593   as_fn_set_status $ac_retval
   1594 
   1595 } # ac_fn_c_try_compile
   1596 
   1597 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1598 # ---------------------------------------------
   1599 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1600 # accordingly.
   1601 ac_fn_c_check_decl ()
   1602 {
   1603   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1604   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1605   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1606   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1607 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1608 if eval \${$3+:} false; then :
   1609   $as_echo_n "(cached) " >&6
   1610 else
   1611   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1612 /* end confdefs.h.  */
   1613 $4
   1614 int
   1615 main ()
   1616 {
   1617 #ifndef $as_decl_name
   1618 #ifdef __cplusplus
   1619   (void) $as_decl_use;
   1620 #else
   1621   (void) $as_decl_name;
   1622 #endif
   1623 #endif
   1624 
   1625   ;
   1626   return 0;
   1627 }
   1628 _ACEOF
   1629 if ac_fn_c_try_compile "$LINENO"; then :
   1630   eval "$3=yes"
   1631 else
   1632   eval "$3=no"
   1633 fi
   1634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1635 fi
   1636 eval ac_res=\$$3
   1637 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1638 $as_echo "$ac_res" >&6; }
   1639   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1640 
   1641 } # ac_fn_c_check_decl
   1642 
   1643 # ac_fn_c_try_cpp LINENO
   1644 # ----------------------
   1645 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1646 ac_fn_c_try_cpp ()
   1647 {
   1648   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1649   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1650 case "(($ac_try" in
   1651   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1652   *) ac_try_echo=$ac_try;;
   1653 esac
   1654 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1655 $as_echo "$ac_try_echo"; } >&5
   1656   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1657   ac_status=$?
   1658   if test -s conftest.err; then
   1659     grep -v '^ *+' conftest.err >conftest.er1
   1660     cat conftest.er1 >&5
   1661     mv -f conftest.er1 conftest.err
   1662   fi
   1663   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1664   test $ac_status = 0; } > conftest.i && {
   1665 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1666 	 test ! -s conftest.err
   1667        }; then :
   1668   ac_retval=0
   1669 else
   1670   $as_echo "$as_me: failed program was:" >&5
   1671 sed 's/^/| /' conftest.$ac_ext >&5
   1672 
   1673     ac_retval=1
   1674 fi
   1675   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1676   as_fn_set_status $ac_retval
   1677 
   1678 } # ac_fn_c_try_cpp
   1679 
   1680 # ac_fn_c_try_run LINENO
   1681 # ----------------------
   1682 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1683 # that executables *can* be run.
   1684 ac_fn_c_try_run ()
   1685 {
   1686   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1687   if { { ac_try="$ac_link"
   1688 case "(($ac_try" in
   1689   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1690   *) ac_try_echo=$ac_try;;
   1691 esac
   1692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1693 $as_echo "$ac_try_echo"; } >&5
   1694   (eval "$ac_link") 2>&5
   1695   ac_status=$?
   1696   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1697   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1698   { { case "(($ac_try" in
   1699   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1700   *) ac_try_echo=$ac_try;;
   1701 esac
   1702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1703 $as_echo "$ac_try_echo"; } >&5
   1704   (eval "$ac_try") 2>&5
   1705   ac_status=$?
   1706   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1707   test $ac_status = 0; }; }; then :
   1708   ac_retval=0
   1709 else
   1710   $as_echo "$as_me: program exited with status $ac_status" >&5
   1711        $as_echo "$as_me: failed program was:" >&5
   1712 sed 's/^/| /' conftest.$ac_ext >&5
   1713 
   1714        ac_retval=$ac_status
   1715 fi
   1716   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1717   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1718   as_fn_set_status $ac_retval
   1719 
   1720 } # ac_fn_c_try_run
   1721 
   1722 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1723 # -------------------------------------------------------
   1724 # Tests whether HEADER exists and can be compiled using the include files in
   1725 # INCLUDES, setting the cache variable VAR accordingly.
   1726 ac_fn_c_check_header_compile ()
   1727 {
   1728   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1729   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1730 $as_echo_n "checking for $2... " >&6; }
   1731 if eval \${$3+:} false; then :
   1732   $as_echo_n "(cached) " >&6
   1733 else
   1734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1735 /* end confdefs.h.  */
   1736 $4
   1737 #include <$2>
   1738 _ACEOF
   1739 if ac_fn_c_try_compile "$LINENO"; then :
   1740   eval "$3=yes"
   1741 else
   1742   eval "$3=no"
   1743 fi
   1744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1745 fi
   1746 eval ac_res=\$$3
   1747 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1748 $as_echo "$ac_res" >&6; }
   1749   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1750 
   1751 } # ac_fn_c_check_header_compile
   1752 
   1753 # ac_fn_c_try_link LINENO
   1754 # -----------------------
   1755 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1756 ac_fn_c_try_link ()
   1757 {
   1758   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1759   rm -f conftest.$ac_objext conftest$ac_exeext
   1760   if { { ac_try="$ac_link"
   1761 case "(($ac_try" in
   1762   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1763   *) ac_try_echo=$ac_try;;
   1764 esac
   1765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1766 $as_echo "$ac_try_echo"; } >&5
   1767   (eval "$ac_link") 2>conftest.err
   1768   ac_status=$?
   1769   if test -s conftest.err; then
   1770     grep -v '^ *+' conftest.err >conftest.er1
   1771     cat conftest.er1 >&5
   1772     mv -f conftest.er1 conftest.err
   1773   fi
   1774   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1775   test $ac_status = 0; } && {
   1776 	 test -z "$ac_c_werror_flag" ||
   1777 	 test ! -s conftest.err
   1778        } && test -s conftest$ac_exeext && {
   1779 	 test "$cross_compiling" = yes ||
   1780 	 test -x conftest$ac_exeext
   1781        }; then :
   1782   ac_retval=0
   1783 else
   1784   $as_echo "$as_me: failed program was:" >&5
   1785 sed 's/^/| /' conftest.$ac_ext >&5
   1786 
   1787 	ac_retval=1
   1788 fi
   1789   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1790   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1791   # interfere with the next link command; also delete a directory that is
   1792   # left behind by Apple's compiler.  We do this before executing the actions.
   1793   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1794   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1795   as_fn_set_status $ac_retval
   1796 
   1797 } # ac_fn_c_try_link
   1798 
   1799 # ac_fn_c_check_func LINENO FUNC VAR
   1800 # ----------------------------------
   1801 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1802 ac_fn_c_check_func ()
   1803 {
   1804   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1805   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1806 $as_echo_n "checking for $2... " >&6; }
   1807 if eval \${$3+:} false; then :
   1808   $as_echo_n "(cached) " >&6
   1809 else
   1810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1811 /* end confdefs.h.  */
   1812 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1813    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1814 #define $2 innocuous_$2
   1815 
   1816 /* System header to define __stub macros and hopefully few prototypes,
   1817     which can conflict with char $2 (); below.
   1818     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1819     <limits.h> exists even on freestanding compilers.  */
   1820 
   1821 #ifdef __STDC__
   1822 # include <limits.h>
   1823 #else
   1824 # include <assert.h>
   1825 #endif
   1826 
   1827 #undef $2
   1828 
   1829 /* Override any GCC internal prototype to avoid an error.
   1830    Use char because int might match the return type of a GCC
   1831    builtin and then its argument prototype would still apply.  */
   1832 #ifdef __cplusplus
   1833 extern "C"
   1834 #endif
   1835 char $2 ();
   1836 /* The GNU C library defines this for functions which it implements
   1837     to always fail with ENOSYS.  Some functions are actually named
   1838     something starting with __ and the normal name is an alias.  */
   1839 #if defined __stub_$2 || defined __stub___$2
   1840 choke me
   1841 #endif
   1842 
   1843 int
   1844 main ()
   1845 {
   1846 return $2 ();
   1847   ;
   1848   return 0;
   1849 }
   1850 _ACEOF
   1851 if ac_fn_c_try_link "$LINENO"; then :
   1852   eval "$3=yes"
   1853 else
   1854   eval "$3=no"
   1855 fi
   1856 rm -f core conftest.err conftest.$ac_objext \
   1857     conftest$ac_exeext conftest.$ac_ext
   1858 fi
   1859 eval ac_res=\$$3
   1860 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1861 $as_echo "$ac_res" >&6; }
   1862   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1863 
   1864 } # ac_fn_c_check_func
   1865 cat >config.log <<_ACEOF
   1866 This file contains any messages produced by compilers while
   1867 running configure, to aid debugging if configure makes a mistake.
   1868 
   1869 It was created by imake $as_me 1.0.8, which was
   1870 generated by GNU Autoconf 2.69.  Invocation command line was
   1871 
   1872   $ $0 $@
   1873 
   1874 _ACEOF
   1875 exec 5>>config.log
   1876 {
   1877 cat <<_ASUNAME
   1878 ## --------- ##
   1879 ## Platform. ##
   1880 ## --------- ##
   1881 
   1882 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1883 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1884 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1885 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1886 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1887 
   1888 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1889 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1890 
   1891 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1892 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1893 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1894 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1895 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1896 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1897 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1898 
   1899 _ASUNAME
   1900 
   1901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1902 for as_dir in $PATH
   1903 do
   1904   IFS=$as_save_IFS
   1905   test -z "$as_dir" && as_dir=.
   1906     $as_echo "PATH: $as_dir"
   1907   done
   1908 IFS=$as_save_IFS
   1909 
   1910 } >&5
   1911 
   1912 cat >&5 <<_ACEOF
   1913 
   1914 
   1915 ## ----------- ##
   1916 ## Core tests. ##
   1917 ## ----------- ##
   1918 
   1919 _ACEOF
   1920 
   1921 
   1922 # Keep a trace of the command line.
   1923 # Strip out --no-create and --no-recursion so they do not pile up.
   1924 # Strip out --silent because we don't want to record it for future runs.
   1925 # Also quote any args containing shell meta-characters.
   1926 # Make two passes to allow for proper duplicate-argument suppression.
   1927 ac_configure_args=
   1928 ac_configure_args0=
   1929 ac_configure_args1=
   1930 ac_must_keep_next=false
   1931 for ac_pass in 1 2
   1932 do
   1933   for ac_arg
   1934   do
   1935     case $ac_arg in
   1936     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1937     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1938     | -silent | --silent | --silen | --sile | --sil)
   1939       continue ;;
   1940     *\'*)
   1941       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1942     esac
   1943     case $ac_pass in
   1944     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1945     2)
   1946       as_fn_append ac_configure_args1 " '$ac_arg'"
   1947       if test $ac_must_keep_next = true; then
   1948 	ac_must_keep_next=false # Got value, back to normal.
   1949       else
   1950 	case $ac_arg in
   1951 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1952 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1953 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1954 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1955 	    case "$ac_configure_args0 " in
   1956 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1957 	    esac
   1958 	    ;;
   1959 	  -* ) ac_must_keep_next=true ;;
   1960 	esac
   1961       fi
   1962       as_fn_append ac_configure_args " '$ac_arg'"
   1963       ;;
   1964     esac
   1965   done
   1966 done
   1967 { ac_configure_args0=; unset ac_configure_args0;}
   1968 { ac_configure_args1=; unset ac_configure_args1;}
   1969 
   1970 # When interrupted or exit'd, cleanup temporary files, and complete
   1971 # config.log.  We remove comments because anyway the quotes in there
   1972 # would cause problems or look ugly.
   1973 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1974 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1975 trap 'exit_status=$?
   1976   # Save into config.log some information that might help in debugging.
   1977   {
   1978     echo
   1979 
   1980     $as_echo "## ---------------- ##
   1981 ## Cache variables. ##
   1982 ## ---------------- ##"
   1983     echo
   1984     # The following way of writing the cache mishandles newlines in values,
   1985 (
   1986   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1987     eval ac_val=\$$ac_var
   1988     case $ac_val in #(
   1989     *${as_nl}*)
   1990       case $ac_var in #(
   1991       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1992 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1993       esac
   1994       case $ac_var in #(
   1995       _ | IFS | as_nl) ;; #(
   1996       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1997       *) { eval $ac_var=; unset $ac_var;} ;;
   1998       esac ;;
   1999     esac
   2000   done
   2001   (set) 2>&1 |
   2002     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2003     *${as_nl}ac_space=\ *)
   2004       sed -n \
   2005 	"s/'\''/'\''\\\\'\'''\''/g;
   2006 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2007       ;; #(
   2008     *)
   2009       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2010       ;;
   2011     esac |
   2012     sort
   2013 )
   2014     echo
   2015 
   2016     $as_echo "## ----------------- ##
   2017 ## Output variables. ##
   2018 ## ----------------- ##"
   2019     echo
   2020     for ac_var in $ac_subst_vars
   2021     do
   2022       eval ac_val=\$$ac_var
   2023       case $ac_val in
   2024       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2025       esac
   2026       $as_echo "$ac_var='\''$ac_val'\''"
   2027     done | sort
   2028     echo
   2029 
   2030     if test -n "$ac_subst_files"; then
   2031       $as_echo "## ------------------- ##
   2032 ## File substitutions. ##
   2033 ## ------------------- ##"
   2034       echo
   2035       for ac_var in $ac_subst_files
   2036       do
   2037 	eval ac_val=\$$ac_var
   2038 	case $ac_val in
   2039 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2040 	esac
   2041 	$as_echo "$ac_var='\''$ac_val'\''"
   2042       done | sort
   2043       echo
   2044     fi
   2045 
   2046     if test -s confdefs.h; then
   2047       $as_echo "## ----------- ##
   2048 ## confdefs.h. ##
   2049 ## ----------- ##"
   2050       echo
   2051       cat confdefs.h
   2052       echo
   2053     fi
   2054     test "$ac_signal" != 0 &&
   2055       $as_echo "$as_me: caught signal $ac_signal"
   2056     $as_echo "$as_me: exit $exit_status"
   2057   } >&5
   2058   rm -f core *.core core.conftest.* &&
   2059     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2060     exit $exit_status
   2061 ' 0
   2062 for ac_signal in 1 2 13 15; do
   2063   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2064 done
   2065 ac_signal=0
   2066 
   2067 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2068 rm -f -r conftest* confdefs.h
   2069 
   2070 $as_echo "/* confdefs.h */" > confdefs.h
   2071 
   2072 # Predefined preprocessor variables.
   2073 
   2074 cat >>confdefs.h <<_ACEOF
   2075 #define PACKAGE_NAME "$PACKAGE_NAME"
   2076 _ACEOF
   2077 
   2078 cat >>confdefs.h <<_ACEOF
   2079 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2080 _ACEOF
   2081 
   2082 cat >>confdefs.h <<_ACEOF
   2083 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2084 _ACEOF
   2085 
   2086 cat >>confdefs.h <<_ACEOF
   2087 #define PACKAGE_STRING "$PACKAGE_STRING"
   2088 _ACEOF
   2089 
   2090 cat >>confdefs.h <<_ACEOF
   2091 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2092 _ACEOF
   2093 
   2094 cat >>confdefs.h <<_ACEOF
   2095 #define PACKAGE_URL "$PACKAGE_URL"
   2096 _ACEOF
   2097 
   2098 
   2099 # Let the site file select an alternate cache file if it wants to.
   2100 # Prefer an explicitly selected file to automatically selected ones.
   2101 ac_site_file1=NONE
   2102 ac_site_file2=NONE
   2103 if test -n "$CONFIG_SITE"; then
   2104   # We do not want a PATH search for config.site.
   2105   case $CONFIG_SITE in #((
   2106     -*)  ac_site_file1=./$CONFIG_SITE;;
   2107     */*) ac_site_file1=$CONFIG_SITE;;
   2108     *)   ac_site_file1=./$CONFIG_SITE;;
   2109   esac
   2110 elif test "x$prefix" != xNONE; then
   2111   ac_site_file1=$prefix/share/config.site
   2112   ac_site_file2=$prefix/etc/config.site
   2113 else
   2114   ac_site_file1=$ac_default_prefix/share/config.site
   2115   ac_site_file2=$ac_default_prefix/etc/config.site
   2116 fi
   2117 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2118 do
   2119   test "x$ac_site_file" = xNONE && continue
   2120   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2121     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2122 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2123     sed 's/^/| /' "$ac_site_file" >&5
   2124     . "$ac_site_file" \
   2125       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2126 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2127 as_fn_error $? "failed to load site script $ac_site_file
   2128 See \`config.log' for more details" "$LINENO" 5; }
   2129   fi
   2130 done
   2131 
   2132 if test -r "$cache_file"; then
   2133   # Some versions of bash will fail to source /dev/null (special files
   2134   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2135   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2136     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2137 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2138     case $cache_file in
   2139       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2140       *)                      . "./$cache_file";;
   2141     esac
   2142   fi
   2143 else
   2144   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2145 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2146   >$cache_file
   2147 fi
   2148 
   2149 # Check that the precious variables saved in the cache have kept the same
   2150 # value.
   2151 ac_cache_corrupted=false
   2152 for ac_var in $ac_precious_vars; do
   2153   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2154   eval ac_new_set=\$ac_env_${ac_var}_set
   2155   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2156   eval ac_new_val=\$ac_env_${ac_var}_value
   2157   case $ac_old_set,$ac_new_set in
   2158     set,)
   2159       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2160 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2161       ac_cache_corrupted=: ;;
   2162     ,set)
   2163       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2164 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2165       ac_cache_corrupted=: ;;
   2166     ,);;
   2167     *)
   2168       if test "x$ac_old_val" != "x$ac_new_val"; then
   2169 	# differences in whitespace do not lead to failure.
   2170 	ac_old_val_w=`echo x $ac_old_val`
   2171 	ac_new_val_w=`echo x $ac_new_val`
   2172 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2173 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2174 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2175 	  ac_cache_corrupted=:
   2176 	else
   2177 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2178 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2179 	  eval $ac_var=\$ac_old_val
   2180 	fi
   2181 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2182 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2183 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2184 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2185       fi;;
   2186   esac
   2187   # Pass precious variables to config.status.
   2188   if test "$ac_new_set" = set; then
   2189     case $ac_new_val in
   2190     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2191     *) ac_arg=$ac_var=$ac_new_val ;;
   2192     esac
   2193     case " $ac_configure_args " in
   2194       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2195       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2196     esac
   2197   fi
   2198 done
   2199 if $ac_cache_corrupted; then
   2200   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2202   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2203 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2204   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2205 fi
   2206 ## -------------------- ##
   2207 ## Main body of script. ##
   2208 ## -------------------- ##
   2209 
   2210 ac_ext=c
   2211 ac_cpp='$CPP $CPPFLAGS'
   2212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2215 
   2216 
   2217 
   2218 ac_config_headers="$ac_config_headers config.h"
   2219 
   2220 
   2221 # Initialize Automake
   2222 am__api_version='1.15'
   2223 
   2224 ac_aux_dir=
   2225 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2226   if test -f "$ac_dir/install-sh"; then
   2227     ac_aux_dir=$ac_dir
   2228     ac_install_sh="$ac_aux_dir/install-sh -c"
   2229     break
   2230   elif test -f "$ac_dir/install.sh"; then
   2231     ac_aux_dir=$ac_dir
   2232     ac_install_sh="$ac_aux_dir/install.sh -c"
   2233     break
   2234   elif test -f "$ac_dir/shtool"; then
   2235     ac_aux_dir=$ac_dir
   2236     ac_install_sh="$ac_aux_dir/shtool install -c"
   2237     break
   2238   fi
   2239 done
   2240 if test -z "$ac_aux_dir"; then
   2241   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2242 fi
   2243 
   2244 # These three variables are undocumented and unsupported,
   2245 # and are intended to be withdrawn in a future Autoconf release.
   2246 # They can cause serious problems if a builder's source tree is in a directory
   2247 # whose full name contains unusual characters.
   2248 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2249 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2250 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2251 
   2252 
   2253 # Find a good install program.  We prefer a C program (faster),
   2254 # so one script is as good as another.  But avoid the broken or
   2255 # incompatible versions:
   2256 # SysV /etc/install, /usr/sbin/install
   2257 # SunOS /usr/etc/install
   2258 # IRIX /sbin/install
   2259 # AIX /bin/install
   2260 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2261 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2262 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2263 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2264 # OS/2's system install, which has a completely different semantic
   2265 # ./install, which can be erroneously created by make from ./install.sh.
   2266 # Reject install programs that cannot install multiple files.
   2267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2268 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2269 if test -z "$INSTALL"; then
   2270 if ${ac_cv_path_install+:} false; then :
   2271   $as_echo_n "(cached) " >&6
   2272 else
   2273   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2274 for as_dir in $PATH
   2275 do
   2276   IFS=$as_save_IFS
   2277   test -z "$as_dir" && as_dir=.
   2278     # Account for people who put trailing slashes in PATH elements.
   2279 case $as_dir/ in #((
   2280   ./ | .// | /[cC]/* | \
   2281   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2282   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2283   /usr/ucb/* ) ;;
   2284   *)
   2285     # OSF1 and SCO ODT 3.0 have their own names for install.
   2286     # Don't use installbsd from OSF since it installs stuff as root
   2287     # by default.
   2288     for ac_prog in ginstall scoinst install; do
   2289       for ac_exec_ext in '' $ac_executable_extensions; do
   2290 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2291 	  if test $ac_prog = install &&
   2292 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2293 	    # AIX install.  It has an incompatible calling convention.
   2294 	    :
   2295 	  elif test $ac_prog = install &&
   2296 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2297 	    # program-specific install script used by HP pwplus--don't use.
   2298 	    :
   2299 	  else
   2300 	    rm -rf conftest.one conftest.two conftest.dir
   2301 	    echo one > conftest.one
   2302 	    echo two > conftest.two
   2303 	    mkdir conftest.dir
   2304 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2305 	      test -s conftest.one && test -s conftest.two &&
   2306 	      test -s conftest.dir/conftest.one &&
   2307 	      test -s conftest.dir/conftest.two
   2308 	    then
   2309 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2310 	      break 3
   2311 	    fi
   2312 	  fi
   2313 	fi
   2314       done
   2315     done
   2316     ;;
   2317 esac
   2318 
   2319   done
   2320 IFS=$as_save_IFS
   2321 
   2322 rm -rf conftest.one conftest.two conftest.dir
   2323 
   2324 fi
   2325   if test "${ac_cv_path_install+set}" = set; then
   2326     INSTALL=$ac_cv_path_install
   2327   else
   2328     # As a last resort, use the slow shell script.  Don't cache a
   2329     # value for INSTALL within a source directory, because that will
   2330     # break other packages using the cache if that directory is
   2331     # removed, or if the value is a relative name.
   2332     INSTALL=$ac_install_sh
   2333   fi
   2334 fi
   2335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2336 $as_echo "$INSTALL" >&6; }
   2337 
   2338 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2339 # It thinks the first close brace ends the variable substitution.
   2340 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2341 
   2342 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2343 
   2344 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2345 
   2346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2347 $as_echo_n "checking whether build environment is sane... " >&6; }
   2348 # Reject unsafe characters in $srcdir or the absolute working directory
   2349 # name.  Accept space and tab only in the latter.
   2350 am_lf='
   2351 '
   2352 case `pwd` in
   2353   *[\\\"\#\$\&\'\`$am_lf]*)
   2354     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2355 esac
   2356 case $srcdir in
   2357   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2358     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2359 esac
   2360 
   2361 # Do 'set' in a subshell so we don't clobber the current shell's
   2362 # arguments.  Must try -L first in case configure is actually a
   2363 # symlink; some systems play weird games with the mod time of symlinks
   2364 # (eg FreeBSD returns the mod time of the symlink's containing
   2365 # directory).
   2366 if (
   2367    am_has_slept=no
   2368    for am_try in 1 2; do
   2369      echo "timestamp, slept: $am_has_slept" > conftest.file
   2370      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2371      if test "$*" = "X"; then
   2372 	# -L didn't work.
   2373 	set X `ls -t "$srcdir/configure" conftest.file`
   2374      fi
   2375      if test "$*" != "X $srcdir/configure conftest.file" \
   2376 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2377 
   2378 	# If neither matched, then we have a broken ls.  This can happen
   2379 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2380 	# broken ls alias from the environment.  This has actually
   2381 	# happened.  Such a system could not be considered "sane".
   2382 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2383   alias in your environment" "$LINENO" 5
   2384      fi
   2385      if test "$2" = conftest.file || test $am_try -eq 2; then
   2386        break
   2387      fi
   2388      # Just in case.
   2389      sleep 1
   2390      am_has_slept=yes
   2391    done
   2392    test "$2" = conftest.file
   2393    )
   2394 then
   2395    # Ok.
   2396    :
   2397 else
   2398    as_fn_error $? "newly created file is older than distributed files!
   2399 Check your system clock" "$LINENO" 5
   2400 fi
   2401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2402 $as_echo "yes" >&6; }
   2403 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2404 # generated files are strictly newer.
   2405 am_sleep_pid=
   2406 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2407   ( sleep 1 ) &
   2408   am_sleep_pid=$!
   2409 fi
   2410 
   2411 rm -f conftest.file
   2412 
   2413 test "$program_prefix" != NONE &&
   2414   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2415 # Use a double $ so make ignores it.
   2416 test "$program_suffix" != NONE &&
   2417   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2418 # Double any \ or $.
   2419 # By default was `s,x,x', remove it if useless.
   2420 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2421 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2422 
   2423 # Expand $ac_aux_dir to an absolute path.
   2424 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2425 
   2426 if test x"${MISSING+set}" != xset; then
   2427   case $am_aux_dir in
   2428   *\ * | *\	*)
   2429     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2430   *)
   2431     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2432   esac
   2433 fi
   2434 # Use eval to expand $SHELL
   2435 if eval "$MISSING --is-lightweight"; then
   2436   am_missing_run="$MISSING "
   2437 else
   2438   am_missing_run=
   2439   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2440 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2441 fi
   2442 
   2443 if test x"${install_sh+set}" != xset; then
   2444   case $am_aux_dir in
   2445   *\ * | *\	*)
   2446     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2447   *)
   2448     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2449   esac
   2450 fi
   2451 
   2452 # Installed binaries are usually stripped using 'strip' when the user
   2453 # run "make install-strip".  However 'strip' might not be the right
   2454 # tool to use in cross-compilation environments, therefore Automake
   2455 # will honor the 'STRIP' environment variable to overrule this program.
   2456 if test "$cross_compiling" != no; then
   2457   if test -n "$ac_tool_prefix"; then
   2458   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2459 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2461 $as_echo_n "checking for $ac_word... " >&6; }
   2462 if ${ac_cv_prog_STRIP+:} false; then :
   2463   $as_echo_n "(cached) " >&6
   2464 else
   2465   if test -n "$STRIP"; then
   2466   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2467 else
   2468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2469 for as_dir in $PATH
   2470 do
   2471   IFS=$as_save_IFS
   2472   test -z "$as_dir" && as_dir=.
   2473     for ac_exec_ext in '' $ac_executable_extensions; do
   2474   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2475     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2476     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2477     break 2
   2478   fi
   2479 done
   2480   done
   2481 IFS=$as_save_IFS
   2482 
   2483 fi
   2484 fi
   2485 STRIP=$ac_cv_prog_STRIP
   2486 if test -n "$STRIP"; then
   2487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2488 $as_echo "$STRIP" >&6; }
   2489 else
   2490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2491 $as_echo "no" >&6; }
   2492 fi
   2493 
   2494 
   2495 fi
   2496 if test -z "$ac_cv_prog_STRIP"; then
   2497   ac_ct_STRIP=$STRIP
   2498   # Extract the first word of "strip", so it can be a program name with args.
   2499 set dummy strip; ac_word=$2
   2500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2501 $as_echo_n "checking for $ac_word... " >&6; }
   2502 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2503   $as_echo_n "(cached) " >&6
   2504 else
   2505   if test -n "$ac_ct_STRIP"; then
   2506   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2507 else
   2508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2509 for as_dir in $PATH
   2510 do
   2511   IFS=$as_save_IFS
   2512   test -z "$as_dir" && as_dir=.
   2513     for ac_exec_ext in '' $ac_executable_extensions; do
   2514   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2515     ac_cv_prog_ac_ct_STRIP="strip"
   2516     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2517     break 2
   2518   fi
   2519 done
   2520   done
   2521 IFS=$as_save_IFS
   2522 
   2523 fi
   2524 fi
   2525 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2526 if test -n "$ac_ct_STRIP"; then
   2527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2528 $as_echo "$ac_ct_STRIP" >&6; }
   2529 else
   2530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2531 $as_echo "no" >&6; }
   2532 fi
   2533 
   2534   if test "x$ac_ct_STRIP" = x; then
   2535     STRIP=":"
   2536   else
   2537     case $cross_compiling:$ac_tool_warned in
   2538 yes:)
   2539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2540 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2541 ac_tool_warned=yes ;;
   2542 esac
   2543     STRIP=$ac_ct_STRIP
   2544   fi
   2545 else
   2546   STRIP="$ac_cv_prog_STRIP"
   2547 fi
   2548 
   2549 fi
   2550 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2551 
   2552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2553 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2554 if test -z "$MKDIR_P"; then
   2555   if ${ac_cv_path_mkdir+:} false; then :
   2556   $as_echo_n "(cached) " >&6
   2557 else
   2558   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2559 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2560 do
   2561   IFS=$as_save_IFS
   2562   test -z "$as_dir" && as_dir=.
   2563     for ac_prog in mkdir gmkdir; do
   2564 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2565 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2566 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2567 	     'mkdir (GNU coreutils) '* | \
   2568 	     'mkdir (coreutils) '* | \
   2569 	     'mkdir (fileutils) '4.1*)
   2570 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2571 	       break 3;;
   2572 	   esac
   2573 	 done
   2574        done
   2575   done
   2576 IFS=$as_save_IFS
   2577 
   2578 fi
   2579 
   2580   test -d ./--version && rmdir ./--version
   2581   if test "${ac_cv_path_mkdir+set}" = set; then
   2582     MKDIR_P="$ac_cv_path_mkdir -p"
   2583   else
   2584     # As a last resort, use the slow shell script.  Don't cache a
   2585     # value for MKDIR_P within a source directory, because that will
   2586     # break other packages using the cache if that directory is
   2587     # removed, or if the value is a relative name.
   2588     MKDIR_P="$ac_install_sh -d"
   2589   fi
   2590 fi
   2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2592 $as_echo "$MKDIR_P" >&6; }
   2593 
   2594 for ac_prog in gawk mawk nawk awk
   2595 do
   2596   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2597 set dummy $ac_prog; ac_word=$2
   2598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2599 $as_echo_n "checking for $ac_word... " >&6; }
   2600 if ${ac_cv_prog_AWK+:} false; then :
   2601   $as_echo_n "(cached) " >&6
   2602 else
   2603   if test -n "$AWK"; then
   2604   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2605 else
   2606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2607 for as_dir in $PATH
   2608 do
   2609   IFS=$as_save_IFS
   2610   test -z "$as_dir" && as_dir=.
   2611     for ac_exec_ext in '' $ac_executable_extensions; do
   2612   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2613     ac_cv_prog_AWK="$ac_prog"
   2614     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2615     break 2
   2616   fi
   2617 done
   2618   done
   2619 IFS=$as_save_IFS
   2620 
   2621 fi
   2622 fi
   2623 AWK=$ac_cv_prog_AWK
   2624 if test -n "$AWK"; then
   2625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2626 $as_echo "$AWK" >&6; }
   2627 else
   2628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2629 $as_echo "no" >&6; }
   2630 fi
   2631 
   2632 
   2633   test -n "$AWK" && break
   2634 done
   2635 
   2636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2637 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2638 set x ${MAKE-make}
   2639 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2640 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2641   $as_echo_n "(cached) " >&6
   2642 else
   2643   cat >conftest.make <<\_ACEOF
   2644 SHELL = /bin/sh
   2645 all:
   2646 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2647 _ACEOF
   2648 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2649 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2650   *@@@%%%=?*=@@@%%%*)
   2651     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2652   *)
   2653     eval ac_cv_prog_make_${ac_make}_set=no;;
   2654 esac
   2655 rm -f conftest.make
   2656 fi
   2657 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2659 $as_echo "yes" >&6; }
   2660   SET_MAKE=
   2661 else
   2662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2663 $as_echo "no" >&6; }
   2664   SET_MAKE="MAKE=${MAKE-make}"
   2665 fi
   2666 
   2667 rm -rf .tst 2>/dev/null
   2668 mkdir .tst 2>/dev/null
   2669 if test -d .tst; then
   2670   am__leading_dot=.
   2671 else
   2672   am__leading_dot=_
   2673 fi
   2674 rmdir .tst 2>/dev/null
   2675 
   2676 # Check whether --enable-silent-rules was given.
   2677 if test "${enable_silent_rules+set}" = set; then :
   2678   enableval=$enable_silent_rules;
   2679 fi
   2680 
   2681 case $enable_silent_rules in # (((
   2682   yes) AM_DEFAULT_VERBOSITY=0;;
   2683    no) AM_DEFAULT_VERBOSITY=1;;
   2684     *) AM_DEFAULT_VERBOSITY=1;;
   2685 esac
   2686 am_make=${MAKE-make}
   2687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2688 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2689 if ${am_cv_make_support_nested_variables+:} false; then :
   2690   $as_echo_n "(cached) " >&6
   2691 else
   2692   if $as_echo 'TRUE=$(BAR$(V))
   2693 BAR0=false
   2694 BAR1=true
   2695 V=1
   2696 am__doit:
   2697 	@$(TRUE)
   2698 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2699   am_cv_make_support_nested_variables=yes
   2700 else
   2701   am_cv_make_support_nested_variables=no
   2702 fi
   2703 fi
   2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2705 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2706 if test $am_cv_make_support_nested_variables = yes; then
   2707     AM_V='$(V)'
   2708   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2709 else
   2710   AM_V=$AM_DEFAULT_VERBOSITY
   2711   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2712 fi
   2713 AM_BACKSLASH='\'
   2714 
   2715 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2716   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2717   # is not polluted with repeated "-I."
   2718   am__isrc=' -I$(srcdir)'
   2719   # test to see if srcdir already configured
   2720   if test -f $srcdir/config.status; then
   2721     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2722   fi
   2723 fi
   2724 
   2725 # test whether we have cygpath
   2726 if test -z "$CYGPATH_W"; then
   2727   if (cygpath --version) >/dev/null 2>/dev/null; then
   2728     CYGPATH_W='cygpath -w'
   2729   else
   2730     CYGPATH_W=echo
   2731   fi
   2732 fi
   2733 
   2734 
   2735 # Define the identity of the package.
   2736  PACKAGE='imake'
   2737  VERSION='1.0.8'
   2738 
   2739 
   2740 cat >>confdefs.h <<_ACEOF
   2741 #define PACKAGE "$PACKAGE"
   2742 _ACEOF
   2743 
   2744 
   2745 cat >>confdefs.h <<_ACEOF
   2746 #define VERSION "$VERSION"
   2747 _ACEOF
   2748 
   2749 # Some tools Automake needs.
   2750 
   2751 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2752 
   2753 
   2754 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2755 
   2756 
   2757 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2758 
   2759 
   2760 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2761 
   2762 
   2763 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2764 
   2765 # For better backward compatibility.  To be removed once Automake 1.9.x
   2766 # dies out for good.  For more background, see:
   2767 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2768 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2769 mkdir_p='$(MKDIR_P)'
   2770 
   2771 # We need awk for the "check" target (and possibly the TAP driver).  The
   2772 # system "awk" is bad on some platforms.
   2773 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2774 # in the wild :-(  We should find a proper way to deprecate it ...
   2775 AMTAR='$${TAR-tar}'
   2776 
   2777 
   2778 # We'll loop over all known methods to create a tar archive until one works.
   2779 _am_tools='gnutar  pax cpio none'
   2780 
   2781 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2782 
   2783 
   2784 
   2785 
   2786 
   2787 
   2788 # POSIX will say in a future version that running "rm -f" with no argument
   2789 # is OK; and we want to be able to make that assumption in our Makefile
   2790 # recipes.  So use an aggressive probe to check that the usage we want is
   2791 # actually supported "in the wild" to an acceptable degree.
   2792 # See automake bug#10828.
   2793 # To make any issue more visible, cause the running configure to be aborted
   2794 # by default if the 'rm' program in use doesn't match our expectations; the
   2795 # user can still override this though.
   2796 if rm -f && rm -fr && rm -rf; then : OK; else
   2797   cat >&2 <<'END'
   2798 Oops!
   2799 
   2800 Your 'rm' program seems unable to run without file operands specified
   2801 on the command line, even when the '-f' option is present.  This is contrary
   2802 to the behaviour of most rm programs out there, and not conforming with
   2803 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2804 
   2805 Please tell bug-automake@gnu.org about your system, including the value
   2806 of your $PATH and any error possibly output before this message.  This
   2807 can help us improve future automake versions.
   2808 
   2809 END
   2810   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2811     echo 'Configuration will proceed anyway, since you have set the' >&2
   2812     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2813     echo >&2
   2814   else
   2815     cat >&2 <<'END'
   2816 Aborting the configuration process, to ensure you take notice of the issue.
   2817 
   2818 You can download and install GNU coreutils to get an 'rm' implementation
   2819 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2820 
   2821 If you want to complete the configuration process using your problematic
   2822 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2823 to "yes", and re-run configure.
   2824 
   2825 END
   2826     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2827   fi
   2828 fi
   2829 
   2830 
   2831 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2832 
   2833 
   2834 
   2835 
   2836 
   2837 
   2838 
   2839 
   2840 
   2841 
   2842 
   2843 DEPDIR="${am__leading_dot}deps"
   2844 
   2845 ac_config_commands="$ac_config_commands depfiles"
   2846 
   2847 
   2848 am_make=${MAKE-make}
   2849 cat > confinc << 'END'
   2850 am__doit:
   2851 	@echo this is the am__doit target
   2852 .PHONY: am__doit
   2853 END
   2854 # If we don't find an include directive, just comment out the code.
   2855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2856 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2857 am__include="#"
   2858 am__quote=
   2859 _am_result=none
   2860 # First try GNU make style include.
   2861 echo "include confinc" > confmf
   2862 # Ignore all kinds of additional output from 'make'.
   2863 case `$am_make -s -f confmf 2> /dev/null` in #(
   2864 *the\ am__doit\ target*)
   2865   am__include=include
   2866   am__quote=
   2867   _am_result=GNU
   2868   ;;
   2869 esac
   2870 # Now try BSD make style include.
   2871 if test "$am__include" = "#"; then
   2872    echo '.include "confinc"' > confmf
   2873    case `$am_make -s -f confmf 2> /dev/null` in #(
   2874    *the\ am__doit\ target*)
   2875      am__include=.include
   2876      am__quote="\""
   2877      _am_result=BSD
   2878      ;;
   2879    esac
   2880 fi
   2881 
   2882 
   2883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2884 $as_echo "$_am_result" >&6; }
   2885 rm -f confinc confmf
   2886 
   2887 # Check whether --enable-dependency-tracking was given.
   2888 if test "${enable_dependency_tracking+set}" = set; then :
   2889   enableval=$enable_dependency_tracking;
   2890 fi
   2891 
   2892 if test "x$enable_dependency_tracking" != xno; then
   2893   am_depcomp="$ac_aux_dir/depcomp"
   2894   AMDEPBACKSLASH='\'
   2895   am__nodep='_no'
   2896 fi
   2897  if test "x$enable_dependency_tracking" != xno; then
   2898   AMDEP_TRUE=
   2899   AMDEP_FALSE='#'
   2900 else
   2901   AMDEP_TRUE='#'
   2902   AMDEP_FALSE=
   2903 fi
   2904 
   2905 
   2906 ac_ext=c
   2907 ac_cpp='$CPP $CPPFLAGS'
   2908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2911 if test -n "$ac_tool_prefix"; then
   2912   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2913 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2915 $as_echo_n "checking for $ac_word... " >&6; }
   2916 if ${ac_cv_prog_CC+:} false; then :
   2917   $as_echo_n "(cached) " >&6
   2918 else
   2919   if test -n "$CC"; then
   2920   ac_cv_prog_CC="$CC" # Let the user override the test.
   2921 else
   2922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2923 for as_dir in $PATH
   2924 do
   2925   IFS=$as_save_IFS
   2926   test -z "$as_dir" && as_dir=.
   2927     for ac_exec_ext in '' $ac_executable_extensions; do
   2928   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2929     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2930     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2931     break 2
   2932   fi
   2933 done
   2934   done
   2935 IFS=$as_save_IFS
   2936 
   2937 fi
   2938 fi
   2939 CC=$ac_cv_prog_CC
   2940 if test -n "$CC"; then
   2941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2942 $as_echo "$CC" >&6; }
   2943 else
   2944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2945 $as_echo "no" >&6; }
   2946 fi
   2947 
   2948 
   2949 fi
   2950 if test -z "$ac_cv_prog_CC"; then
   2951   ac_ct_CC=$CC
   2952   # Extract the first word of "gcc", so it can be a program name with args.
   2953 set dummy gcc; ac_word=$2
   2954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2955 $as_echo_n "checking for $ac_word... " >&6; }
   2956 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2957   $as_echo_n "(cached) " >&6
   2958 else
   2959   if test -n "$ac_ct_CC"; then
   2960   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2961 else
   2962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2963 for as_dir in $PATH
   2964 do
   2965   IFS=$as_save_IFS
   2966   test -z "$as_dir" && as_dir=.
   2967     for ac_exec_ext in '' $ac_executable_extensions; do
   2968   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2969     ac_cv_prog_ac_ct_CC="gcc"
   2970     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2971     break 2
   2972   fi
   2973 done
   2974   done
   2975 IFS=$as_save_IFS
   2976 
   2977 fi
   2978 fi
   2979 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2980 if test -n "$ac_ct_CC"; then
   2981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2982 $as_echo "$ac_ct_CC" >&6; }
   2983 else
   2984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2985 $as_echo "no" >&6; }
   2986 fi
   2987 
   2988   if test "x$ac_ct_CC" = x; then
   2989     CC=""
   2990   else
   2991     case $cross_compiling:$ac_tool_warned in
   2992 yes:)
   2993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2994 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2995 ac_tool_warned=yes ;;
   2996 esac
   2997     CC=$ac_ct_CC
   2998   fi
   2999 else
   3000   CC="$ac_cv_prog_CC"
   3001 fi
   3002 
   3003 if test -z "$CC"; then
   3004           if test -n "$ac_tool_prefix"; then
   3005     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3006 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3008 $as_echo_n "checking for $ac_word... " >&6; }
   3009 if ${ac_cv_prog_CC+:} false; then :
   3010   $as_echo_n "(cached) " >&6
   3011 else
   3012   if test -n "$CC"; then
   3013   ac_cv_prog_CC="$CC" # Let the user override the test.
   3014 else
   3015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3016 for as_dir in $PATH
   3017 do
   3018   IFS=$as_save_IFS
   3019   test -z "$as_dir" && as_dir=.
   3020     for ac_exec_ext in '' $ac_executable_extensions; do
   3021   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3022     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3023     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3024     break 2
   3025   fi
   3026 done
   3027   done
   3028 IFS=$as_save_IFS
   3029 
   3030 fi
   3031 fi
   3032 CC=$ac_cv_prog_CC
   3033 if test -n "$CC"; then
   3034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3035 $as_echo "$CC" >&6; }
   3036 else
   3037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3038 $as_echo "no" >&6; }
   3039 fi
   3040 
   3041 
   3042   fi
   3043 fi
   3044 if test -z "$CC"; then
   3045   # Extract the first word of "cc", so it can be a program name with args.
   3046 set dummy cc; ac_word=$2
   3047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3048 $as_echo_n "checking for $ac_word... " >&6; }
   3049 if ${ac_cv_prog_CC+:} false; then :
   3050   $as_echo_n "(cached) " >&6
   3051 else
   3052   if test -n "$CC"; then
   3053   ac_cv_prog_CC="$CC" # Let the user override the test.
   3054 else
   3055   ac_prog_rejected=no
   3056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3057 for as_dir in $PATH
   3058 do
   3059   IFS=$as_save_IFS
   3060   test -z "$as_dir" && as_dir=.
   3061     for ac_exec_ext in '' $ac_executable_extensions; do
   3062   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3063     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3064        ac_prog_rejected=yes
   3065        continue
   3066      fi
   3067     ac_cv_prog_CC="cc"
   3068     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3069     break 2
   3070   fi
   3071 done
   3072   done
   3073 IFS=$as_save_IFS
   3074 
   3075 if test $ac_prog_rejected = yes; then
   3076   # We found a bogon in the path, so make sure we never use it.
   3077   set dummy $ac_cv_prog_CC
   3078   shift
   3079   if test $# != 0; then
   3080     # We chose a different compiler from the bogus one.
   3081     # However, it has the same basename, so the bogon will be chosen
   3082     # first if we set CC to just the basename; use the full file name.
   3083     shift
   3084     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3085   fi
   3086 fi
   3087 fi
   3088 fi
   3089 CC=$ac_cv_prog_CC
   3090 if test -n "$CC"; then
   3091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3092 $as_echo "$CC" >&6; }
   3093 else
   3094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3095 $as_echo "no" >&6; }
   3096 fi
   3097 
   3098 
   3099 fi
   3100 if test -z "$CC"; then
   3101   if test -n "$ac_tool_prefix"; then
   3102   for ac_prog in cl.exe
   3103   do
   3104     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3105 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3107 $as_echo_n "checking for $ac_word... " >&6; }
   3108 if ${ac_cv_prog_CC+:} false; then :
   3109   $as_echo_n "(cached) " >&6
   3110 else
   3111   if test -n "$CC"; then
   3112   ac_cv_prog_CC="$CC" # Let the user override the test.
   3113 else
   3114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3115 for as_dir in $PATH
   3116 do
   3117   IFS=$as_save_IFS
   3118   test -z "$as_dir" && as_dir=.
   3119     for ac_exec_ext in '' $ac_executable_extensions; do
   3120   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3121     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3122     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3123     break 2
   3124   fi
   3125 done
   3126   done
   3127 IFS=$as_save_IFS
   3128 
   3129 fi
   3130 fi
   3131 CC=$ac_cv_prog_CC
   3132 if test -n "$CC"; then
   3133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3134 $as_echo "$CC" >&6; }
   3135 else
   3136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3137 $as_echo "no" >&6; }
   3138 fi
   3139 
   3140 
   3141     test -n "$CC" && break
   3142   done
   3143 fi
   3144 if test -z "$CC"; then
   3145   ac_ct_CC=$CC
   3146   for ac_prog in cl.exe
   3147 do
   3148   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3149 set dummy $ac_prog; ac_word=$2
   3150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3151 $as_echo_n "checking for $ac_word... " >&6; }
   3152 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3153   $as_echo_n "(cached) " >&6
   3154 else
   3155   if test -n "$ac_ct_CC"; then
   3156   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3157 else
   3158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3159 for as_dir in $PATH
   3160 do
   3161   IFS=$as_save_IFS
   3162   test -z "$as_dir" && as_dir=.
   3163     for ac_exec_ext in '' $ac_executable_extensions; do
   3164   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3165     ac_cv_prog_ac_ct_CC="$ac_prog"
   3166     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3167     break 2
   3168   fi
   3169 done
   3170   done
   3171 IFS=$as_save_IFS
   3172 
   3173 fi
   3174 fi
   3175 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3176 if test -n "$ac_ct_CC"; then
   3177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3178 $as_echo "$ac_ct_CC" >&6; }
   3179 else
   3180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3181 $as_echo "no" >&6; }
   3182 fi
   3183 
   3184 
   3185   test -n "$ac_ct_CC" && break
   3186 done
   3187 
   3188   if test "x$ac_ct_CC" = x; then
   3189     CC=""
   3190   else
   3191     case $cross_compiling:$ac_tool_warned in
   3192 yes:)
   3193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3194 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3195 ac_tool_warned=yes ;;
   3196 esac
   3197     CC=$ac_ct_CC
   3198   fi
   3199 fi
   3200 
   3201 fi
   3202 
   3203 
   3204 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3205 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3206 as_fn_error $? "no acceptable C compiler found in \$PATH
   3207 See \`config.log' for more details" "$LINENO" 5; }
   3208 
   3209 # Provide some information about the compiler.
   3210 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3211 set X $ac_compile
   3212 ac_compiler=$2
   3213 for ac_option in --version -v -V -qversion; do
   3214   { { ac_try="$ac_compiler $ac_option >&5"
   3215 case "(($ac_try" in
   3216   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3217   *) ac_try_echo=$ac_try;;
   3218 esac
   3219 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3220 $as_echo "$ac_try_echo"; } >&5
   3221   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3222   ac_status=$?
   3223   if test -s conftest.err; then
   3224     sed '10a\
   3225 ... rest of stderr output deleted ...
   3226          10q' conftest.err >conftest.er1
   3227     cat conftest.er1 >&5
   3228   fi
   3229   rm -f conftest.er1 conftest.err
   3230   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3231   test $ac_status = 0; }
   3232 done
   3233 
   3234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3235 /* end confdefs.h.  */
   3236 
   3237 int
   3238 main ()
   3239 {
   3240 
   3241   ;
   3242   return 0;
   3243 }
   3244 _ACEOF
   3245 ac_clean_files_save=$ac_clean_files
   3246 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3247 # Try to create an executable without -o first, disregard a.out.
   3248 # It will help us diagnose broken compilers, and finding out an intuition
   3249 # of exeext.
   3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3251 $as_echo_n "checking whether the C compiler works... " >&6; }
   3252 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3253 
   3254 # The possible output files:
   3255 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3256 
   3257 ac_rmfiles=
   3258 for ac_file in $ac_files
   3259 do
   3260   case $ac_file in
   3261     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3262     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3263   esac
   3264 done
   3265 rm -f $ac_rmfiles
   3266 
   3267 if { { ac_try="$ac_link_default"
   3268 case "(($ac_try" in
   3269   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3270   *) ac_try_echo=$ac_try;;
   3271 esac
   3272 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3273 $as_echo "$ac_try_echo"; } >&5
   3274   (eval "$ac_link_default") 2>&5
   3275   ac_status=$?
   3276   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3277   test $ac_status = 0; }; then :
   3278   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3279 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3280 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3281 # so that the user can short-circuit this test for compilers unknown to
   3282 # Autoconf.
   3283 for ac_file in $ac_files ''
   3284 do
   3285   test -f "$ac_file" || continue
   3286   case $ac_file in
   3287     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3288 	;;
   3289     [ab].out )
   3290 	# We found the default executable, but exeext='' is most
   3291 	# certainly right.
   3292 	break;;
   3293     *.* )
   3294 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3295 	then :; else
   3296 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3297 	fi
   3298 	# We set ac_cv_exeext here because the later test for it is not
   3299 	# safe: cross compilers may not add the suffix if given an `-o'
   3300 	# argument, so we may need to know it at that point already.
   3301 	# Even if this section looks crufty: it has the advantage of
   3302 	# actually working.
   3303 	break;;
   3304     * )
   3305 	break;;
   3306   esac
   3307 done
   3308 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3309 
   3310 else
   3311   ac_file=''
   3312 fi
   3313 if test -z "$ac_file"; then :
   3314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3315 $as_echo "no" >&6; }
   3316 $as_echo "$as_me: failed program was:" >&5
   3317 sed 's/^/| /' conftest.$ac_ext >&5
   3318 
   3319 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3320 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3321 as_fn_error 77 "C compiler cannot create executables
   3322 See \`config.log' for more details" "$LINENO" 5; }
   3323 else
   3324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3325 $as_echo "yes" >&6; }
   3326 fi
   3327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3328 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3330 $as_echo "$ac_file" >&6; }
   3331 ac_exeext=$ac_cv_exeext
   3332 
   3333 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3334 ac_clean_files=$ac_clean_files_save
   3335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3336 $as_echo_n "checking for suffix of executables... " >&6; }
   3337 if { { ac_try="$ac_link"
   3338 case "(($ac_try" in
   3339   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3340   *) ac_try_echo=$ac_try;;
   3341 esac
   3342 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3343 $as_echo "$ac_try_echo"; } >&5
   3344   (eval "$ac_link") 2>&5
   3345   ac_status=$?
   3346   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3347   test $ac_status = 0; }; then :
   3348   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3349 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3350 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3351 # `rm'.
   3352 for ac_file in conftest.exe conftest conftest.*; do
   3353   test -f "$ac_file" || continue
   3354   case $ac_file in
   3355     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3356     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3357 	  break;;
   3358     * ) break;;
   3359   esac
   3360 done
   3361 else
   3362   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3363 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3364 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3365 See \`config.log' for more details" "$LINENO" 5; }
   3366 fi
   3367 rm -f conftest conftest$ac_cv_exeext
   3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3369 $as_echo "$ac_cv_exeext" >&6; }
   3370 
   3371 rm -f conftest.$ac_ext
   3372 EXEEXT=$ac_cv_exeext
   3373 ac_exeext=$EXEEXT
   3374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3375 /* end confdefs.h.  */
   3376 #include <stdio.h>
   3377 int
   3378 main ()
   3379 {
   3380 FILE *f = fopen ("conftest.out", "w");
   3381  return ferror (f) || fclose (f) != 0;
   3382 
   3383   ;
   3384   return 0;
   3385 }
   3386 _ACEOF
   3387 ac_clean_files="$ac_clean_files conftest.out"
   3388 # Check that the compiler produces executables we can run.  If not, either
   3389 # the compiler is broken, or we cross compile.
   3390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3391 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3392 if test "$cross_compiling" != yes; then
   3393   { { ac_try="$ac_link"
   3394 case "(($ac_try" in
   3395   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3396   *) ac_try_echo=$ac_try;;
   3397 esac
   3398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3399 $as_echo "$ac_try_echo"; } >&5
   3400   (eval "$ac_link") 2>&5
   3401   ac_status=$?
   3402   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3403   test $ac_status = 0; }
   3404   if { ac_try='./conftest$ac_cv_exeext'
   3405   { { case "(($ac_try" in
   3406   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3407   *) ac_try_echo=$ac_try;;
   3408 esac
   3409 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3410 $as_echo "$ac_try_echo"; } >&5
   3411   (eval "$ac_try") 2>&5
   3412   ac_status=$?
   3413   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3414   test $ac_status = 0; }; }; then
   3415     cross_compiling=no
   3416   else
   3417     if test "$cross_compiling" = maybe; then
   3418 	cross_compiling=yes
   3419     else
   3420 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3421 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3422 as_fn_error $? "cannot run C compiled programs.
   3423 If you meant to cross compile, use \`--host'.
   3424 See \`config.log' for more details" "$LINENO" 5; }
   3425     fi
   3426   fi
   3427 fi
   3428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3429 $as_echo "$cross_compiling" >&6; }
   3430 
   3431 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3432 ac_clean_files=$ac_clean_files_save
   3433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3434 $as_echo_n "checking for suffix of object files... " >&6; }
   3435 if ${ac_cv_objext+:} false; then :
   3436   $as_echo_n "(cached) " >&6
   3437 else
   3438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3439 /* end confdefs.h.  */
   3440 
   3441 int
   3442 main ()
   3443 {
   3444 
   3445   ;
   3446   return 0;
   3447 }
   3448 _ACEOF
   3449 rm -f conftest.o conftest.obj
   3450 if { { ac_try="$ac_compile"
   3451 case "(($ac_try" in
   3452   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3453   *) ac_try_echo=$ac_try;;
   3454 esac
   3455 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3456 $as_echo "$ac_try_echo"; } >&5
   3457   (eval "$ac_compile") 2>&5
   3458   ac_status=$?
   3459   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3460   test $ac_status = 0; }; then :
   3461   for ac_file in conftest.o conftest.obj conftest.*; do
   3462   test -f "$ac_file" || continue;
   3463   case $ac_file in
   3464     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3465     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3466        break;;
   3467   esac
   3468 done
   3469 else
   3470   $as_echo "$as_me: failed program was:" >&5
   3471 sed 's/^/| /' conftest.$ac_ext >&5
   3472 
   3473 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3474 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3475 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3476 See \`config.log' for more details" "$LINENO" 5; }
   3477 fi
   3478 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3479 fi
   3480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3481 $as_echo "$ac_cv_objext" >&6; }
   3482 OBJEXT=$ac_cv_objext
   3483 ac_objext=$OBJEXT
   3484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3485 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3486 if ${ac_cv_c_compiler_gnu+:} false; then :
   3487   $as_echo_n "(cached) " >&6
   3488 else
   3489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3490 /* end confdefs.h.  */
   3491 
   3492 int
   3493 main ()
   3494 {
   3495 #ifndef __GNUC__
   3496        choke me
   3497 #endif
   3498 
   3499   ;
   3500   return 0;
   3501 }
   3502 _ACEOF
   3503 if ac_fn_c_try_compile "$LINENO"; then :
   3504   ac_compiler_gnu=yes
   3505 else
   3506   ac_compiler_gnu=no
   3507 fi
   3508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3509 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3510 
   3511 fi
   3512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3513 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3514 if test $ac_compiler_gnu = yes; then
   3515   GCC=yes
   3516 else
   3517   GCC=
   3518 fi
   3519 ac_test_CFLAGS=${CFLAGS+set}
   3520 ac_save_CFLAGS=$CFLAGS
   3521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3522 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3523 if ${ac_cv_prog_cc_g+:} false; then :
   3524   $as_echo_n "(cached) " >&6
   3525 else
   3526   ac_save_c_werror_flag=$ac_c_werror_flag
   3527    ac_c_werror_flag=yes
   3528    ac_cv_prog_cc_g=no
   3529    CFLAGS="-g"
   3530    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3531 /* end confdefs.h.  */
   3532 
   3533 int
   3534 main ()
   3535 {
   3536 
   3537   ;
   3538   return 0;
   3539 }
   3540 _ACEOF
   3541 if ac_fn_c_try_compile "$LINENO"; then :
   3542   ac_cv_prog_cc_g=yes
   3543 else
   3544   CFLAGS=""
   3545       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3546 /* end confdefs.h.  */
   3547 
   3548 int
   3549 main ()
   3550 {
   3551 
   3552   ;
   3553   return 0;
   3554 }
   3555 _ACEOF
   3556 if ac_fn_c_try_compile "$LINENO"; then :
   3557 
   3558 else
   3559   ac_c_werror_flag=$ac_save_c_werror_flag
   3560 	 CFLAGS="-g"
   3561 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3562 /* end confdefs.h.  */
   3563 
   3564 int
   3565 main ()
   3566 {
   3567 
   3568   ;
   3569   return 0;
   3570 }
   3571 _ACEOF
   3572 if ac_fn_c_try_compile "$LINENO"; then :
   3573   ac_cv_prog_cc_g=yes
   3574 fi
   3575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3576 fi
   3577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3578 fi
   3579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3580    ac_c_werror_flag=$ac_save_c_werror_flag
   3581 fi
   3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3583 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3584 if test "$ac_test_CFLAGS" = set; then
   3585   CFLAGS=$ac_save_CFLAGS
   3586 elif test $ac_cv_prog_cc_g = yes; then
   3587   if test "$GCC" = yes; then
   3588     CFLAGS="-g -O2"
   3589   else
   3590     CFLAGS="-g"
   3591   fi
   3592 else
   3593   if test "$GCC" = yes; then
   3594     CFLAGS="-O2"
   3595   else
   3596     CFLAGS=
   3597   fi
   3598 fi
   3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3600 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3601 if ${ac_cv_prog_cc_c89+:} false; then :
   3602   $as_echo_n "(cached) " >&6
   3603 else
   3604   ac_cv_prog_cc_c89=no
   3605 ac_save_CC=$CC
   3606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3607 /* end confdefs.h.  */
   3608 #include <stdarg.h>
   3609 #include <stdio.h>
   3610 struct stat;
   3611 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3612 struct buf { int x; };
   3613 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3614 static char *e (p, i)
   3615      char **p;
   3616      int i;
   3617 {
   3618   return p[i];
   3619 }
   3620 static char *f (char * (*g) (char **, int), char **p, ...)
   3621 {
   3622   char *s;
   3623   va_list v;
   3624   va_start (v,p);
   3625   s = g (p, va_arg (v,int));
   3626   va_end (v);
   3627   return s;
   3628 }
   3629 
   3630 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3631    function prototypes and stuff, but not '\xHH' hex character constants.
   3632    These don't provoke an error unfortunately, instead are silently treated
   3633    as 'x'.  The following induces an error, until -std is added to get
   3634    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3635    array size at least.  It's necessary to write '\x00'==0 to get something
   3636    that's true only with -std.  */
   3637 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3638 
   3639 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3640    inside strings and character constants.  */
   3641 #define FOO(x) 'x'
   3642 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3643 
   3644 int test (int i, double x);
   3645 struct s1 {int (*f) (int a);};
   3646 struct s2 {int (*f) (double a);};
   3647 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3648 int argc;
   3649 char **argv;
   3650 int
   3651 main ()
   3652 {
   3653 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3654   ;
   3655   return 0;
   3656 }
   3657 _ACEOF
   3658 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3659 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3660 do
   3661   CC="$ac_save_CC $ac_arg"
   3662   if ac_fn_c_try_compile "$LINENO"; then :
   3663   ac_cv_prog_cc_c89=$ac_arg
   3664 fi
   3665 rm -f core conftest.err conftest.$ac_objext
   3666   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3667 done
   3668 rm -f conftest.$ac_ext
   3669 CC=$ac_save_CC
   3670 
   3671 fi
   3672 # AC_CACHE_VAL
   3673 case "x$ac_cv_prog_cc_c89" in
   3674   x)
   3675     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3676 $as_echo "none needed" >&6; } ;;
   3677   xno)
   3678     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3679 $as_echo "unsupported" >&6; } ;;
   3680   *)
   3681     CC="$CC $ac_cv_prog_cc_c89"
   3682     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3683 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3684 esac
   3685 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3686 
   3687 fi
   3688 
   3689 ac_ext=c
   3690 ac_cpp='$CPP $CPPFLAGS'
   3691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3694 
   3695 ac_ext=c
   3696 ac_cpp='$CPP $CPPFLAGS'
   3697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3701 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3702 if ${am_cv_prog_cc_c_o+:} false; then :
   3703   $as_echo_n "(cached) " >&6
   3704 else
   3705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3706 /* end confdefs.h.  */
   3707 
   3708 int
   3709 main ()
   3710 {
   3711 
   3712   ;
   3713   return 0;
   3714 }
   3715 _ACEOF
   3716   # Make sure it works both with $CC and with simple cc.
   3717   # Following AC_PROG_CC_C_O, we do the test twice because some
   3718   # compilers refuse to overwrite an existing .o file with -o,
   3719   # though they will create one.
   3720   am_cv_prog_cc_c_o=yes
   3721   for am_i in 1 2; do
   3722     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3723    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3724    ac_status=$?
   3725    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3726    (exit $ac_status); } \
   3727          && test -f conftest2.$ac_objext; then
   3728       : OK
   3729     else
   3730       am_cv_prog_cc_c_o=no
   3731       break
   3732     fi
   3733   done
   3734   rm -f core conftest*
   3735   unset am_i
   3736 fi
   3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3738 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3739 if test "$am_cv_prog_cc_c_o" != yes; then
   3740    # Losing compiler, so override with the script.
   3741    # FIXME: It is wrong to rewrite CC.
   3742    # But if we don't then we get into trouble of one sort or another.
   3743    # A longer-term fix would be to have automake use am__CC in this case,
   3744    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3745    CC="$am_aux_dir/compile $CC"
   3746 fi
   3747 ac_ext=c
   3748 ac_cpp='$CPP $CPPFLAGS'
   3749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3752 
   3753 
   3754 depcc="$CC"   am_compiler_list=
   3755 
   3756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3757 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3758 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3759   $as_echo_n "(cached) " >&6
   3760 else
   3761   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3762   # We make a subdir and do the tests there.  Otherwise we can end up
   3763   # making bogus files that we don't know about and never remove.  For
   3764   # instance it was reported that on HP-UX the gcc test will end up
   3765   # making a dummy file named 'D' -- because '-MD' means "put the output
   3766   # in D".
   3767   rm -rf conftest.dir
   3768   mkdir conftest.dir
   3769   # Copy depcomp to subdir because otherwise we won't find it if we're
   3770   # using a relative directory.
   3771   cp "$am_depcomp" conftest.dir
   3772   cd conftest.dir
   3773   # We will build objects and dependencies in a subdirectory because
   3774   # it helps to detect inapplicable dependency modes.  For instance
   3775   # both Tru64's cc and ICC support -MD to output dependencies as a
   3776   # side effect of compilation, but ICC will put the dependencies in
   3777   # the current directory while Tru64 will put them in the object
   3778   # directory.
   3779   mkdir sub
   3780 
   3781   am_cv_CC_dependencies_compiler_type=none
   3782   if test "$am_compiler_list" = ""; then
   3783      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3784   fi
   3785   am__universal=false
   3786   case " $depcc " in #(
   3787      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3788      esac
   3789 
   3790   for depmode in $am_compiler_list; do
   3791     # Setup a source with many dependencies, because some compilers
   3792     # like to wrap large dependency lists on column 80 (with \), and
   3793     # we should not choose a depcomp mode which is confused by this.
   3794     #
   3795     # We need to recreate these files for each test, as the compiler may
   3796     # overwrite some of them when testing with obscure command lines.
   3797     # This happens at least with the AIX C compiler.
   3798     : > sub/conftest.c
   3799     for i in 1 2 3 4 5 6; do
   3800       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3801       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3802       # Solaris 10 /bin/sh.
   3803       echo '/* dummy */' > sub/conftst$i.h
   3804     done
   3805     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3806 
   3807     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3808     # mode.  It turns out that the SunPro C++ compiler does not properly
   3809     # handle '-M -o', and we need to detect this.  Also, some Intel
   3810     # versions had trouble with output in subdirs.
   3811     am__obj=sub/conftest.${OBJEXT-o}
   3812     am__minus_obj="-o $am__obj"
   3813     case $depmode in
   3814     gcc)
   3815       # This depmode causes a compiler race in universal mode.
   3816       test "$am__universal" = false || continue
   3817       ;;
   3818     nosideeffect)
   3819       # After this tag, mechanisms are not by side-effect, so they'll
   3820       # only be used when explicitly requested.
   3821       if test "x$enable_dependency_tracking" = xyes; then
   3822 	continue
   3823       else
   3824 	break
   3825       fi
   3826       ;;
   3827     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3828       # This compiler won't grok '-c -o', but also, the minuso test has
   3829       # not run yet.  These depmodes are late enough in the game, and
   3830       # so weak that their functioning should not be impacted.
   3831       am__obj=conftest.${OBJEXT-o}
   3832       am__minus_obj=
   3833       ;;
   3834     none) break ;;
   3835     esac
   3836     if depmode=$depmode \
   3837        source=sub/conftest.c object=$am__obj \
   3838        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3839        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3840          >/dev/null 2>conftest.err &&
   3841        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3842        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3843        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3844        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3845       # icc doesn't choke on unknown options, it will just issue warnings
   3846       # or remarks (even with -Werror).  So we grep stderr for any message
   3847       # that says an option was ignored or not supported.
   3848       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3849       #   icc: Command line warning: ignoring option '-M'; no argument required
   3850       # The diagnosis changed in icc 8.0:
   3851       #   icc: Command line remark: option '-MP' not supported
   3852       if (grep 'ignoring option' conftest.err ||
   3853           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3854         am_cv_CC_dependencies_compiler_type=$depmode
   3855         break
   3856       fi
   3857     fi
   3858   done
   3859 
   3860   cd ..
   3861   rm -rf conftest.dir
   3862 else
   3863   am_cv_CC_dependencies_compiler_type=none
   3864 fi
   3865 
   3866 fi
   3867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3868 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3869 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3870 
   3871  if
   3872   test "x$enable_dependency_tracking" != xno \
   3873   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3874   am__fastdepCC_TRUE=
   3875   am__fastdepCC_FALSE='#'
   3876 else
   3877   am__fastdepCC_TRUE='#'
   3878   am__fastdepCC_FALSE=
   3879 fi
   3880 
   3881 
   3882    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3883 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3884 if ${ac_cv_prog_cc_c99+:} false; then :
   3885   $as_echo_n "(cached) " >&6
   3886 else
   3887   ac_cv_prog_cc_c99=no
   3888 ac_save_CC=$CC
   3889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3890 /* end confdefs.h.  */
   3891 #include <stdarg.h>
   3892 #include <stdbool.h>
   3893 #include <stdlib.h>
   3894 #include <wchar.h>
   3895 #include <stdio.h>
   3896 
   3897 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3898 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3899 #define showlist(...) puts (#__VA_ARGS__)
   3900 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3901 static void
   3902 test_varargs_macros (void)
   3903 {
   3904   int x = 1234;
   3905   int y = 5678;
   3906   debug ("Flag");
   3907   debug ("X = %d\n", x);
   3908   showlist (The first, second, and third items.);
   3909   report (x>y, "x is %d but y is %d", x, y);
   3910 }
   3911 
   3912 // Check long long types.
   3913 #define BIG64 18446744073709551615ull
   3914 #define BIG32 4294967295ul
   3915 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3916 #if !BIG_OK
   3917   your preprocessor is broken;
   3918 #endif
   3919 #if BIG_OK
   3920 #else
   3921   your preprocessor is broken;
   3922 #endif
   3923 static long long int bignum = -9223372036854775807LL;
   3924 static unsigned long long int ubignum = BIG64;
   3925 
   3926 struct incomplete_array
   3927 {
   3928   int datasize;
   3929   double data[];
   3930 };
   3931 
   3932 struct named_init {
   3933   int number;
   3934   const wchar_t *name;
   3935   double average;
   3936 };
   3937 
   3938 typedef const char *ccp;
   3939 
   3940 static inline int
   3941 test_restrict (ccp restrict text)
   3942 {
   3943   // See if C++-style comments work.
   3944   // Iterate through items via the restricted pointer.
   3945   // Also check for declarations in for loops.
   3946   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3947     continue;
   3948   return 0;
   3949 }
   3950 
   3951 // Check varargs and va_copy.
   3952 static void
   3953 test_varargs (const char *format, ...)
   3954 {
   3955   va_list args;
   3956   va_start (args, format);
   3957   va_list args_copy;
   3958   va_copy (args_copy, args);
   3959 
   3960   const char *str;
   3961   int number;
   3962   float fnumber;
   3963 
   3964   while (*format)
   3965     {
   3966       switch (*format++)
   3967 	{
   3968 	case 's': // string
   3969 	  str = va_arg (args_copy, const char *);
   3970 	  break;
   3971 	case 'd': // int
   3972 	  number = va_arg (args_copy, int);
   3973 	  break;
   3974 	case 'f': // float
   3975 	  fnumber = va_arg (args_copy, double);
   3976 	  break;
   3977 	default:
   3978 	  break;
   3979 	}
   3980     }
   3981   va_end (args_copy);
   3982   va_end (args);
   3983 }
   3984 
   3985 int
   3986 main ()
   3987 {
   3988 
   3989   // Check bool.
   3990   _Bool success = false;
   3991 
   3992   // Check restrict.
   3993   if (test_restrict ("String literal") == 0)
   3994     success = true;
   3995   char *restrict newvar = "Another string";
   3996 
   3997   // Check varargs.
   3998   test_varargs ("s, d' f .", "string", 65, 34.234);
   3999   test_varargs_macros ();
   4000 
   4001   // Check flexible array members.
   4002   struct incomplete_array *ia =
   4003     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4004   ia->datasize = 10;
   4005   for (int i = 0; i < ia->datasize; ++i)
   4006     ia->data[i] = i * 1.234;
   4007 
   4008   // Check named initializers.
   4009   struct named_init ni = {
   4010     .number = 34,
   4011     .name = L"Test wide string",
   4012     .average = 543.34343,
   4013   };
   4014 
   4015   ni.number = 58;
   4016 
   4017   int dynamic_array[ni.number];
   4018   dynamic_array[ni.number - 1] = 543;
   4019 
   4020   // work around unused variable warnings
   4021   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4022 	  || dynamic_array[ni.number - 1] != 543);
   4023 
   4024   ;
   4025   return 0;
   4026 }
   4027 _ACEOF
   4028 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   4029 do
   4030   CC="$ac_save_CC $ac_arg"
   4031   if ac_fn_c_try_compile "$LINENO"; then :
   4032   ac_cv_prog_cc_c99=$ac_arg
   4033 fi
   4034 rm -f core conftest.err conftest.$ac_objext
   4035   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4036 done
   4037 rm -f conftest.$ac_ext
   4038 CC=$ac_save_CC
   4039 
   4040 fi
   4041 # AC_CACHE_VAL
   4042 case "x$ac_cv_prog_cc_c99" in
   4043   x)
   4044     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4045 $as_echo "none needed" >&6; } ;;
   4046   xno)
   4047     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4048 $as_echo "unsupported" >&6; } ;;
   4049   *)
   4050     CC="$CC $ac_cv_prog_cc_c99"
   4051     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4052 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4053 esac
   4054 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4055 
   4056 fi
   4057 
   4058 
   4059 
   4060 ac_ext=c
   4061 ac_cpp='$CPP $CPPFLAGS'
   4062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4066 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4067 # On Suns, sometimes $CPP names a directory.
   4068 if test -n "$CPP" && test -d "$CPP"; then
   4069   CPP=
   4070 fi
   4071 if test -z "$CPP"; then
   4072   if ${ac_cv_prog_CPP+:} false; then :
   4073   $as_echo_n "(cached) " >&6
   4074 else
   4075       # Double quotes because CPP needs to be expanded
   4076     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4077     do
   4078       ac_preproc_ok=false
   4079 for ac_c_preproc_warn_flag in '' yes
   4080 do
   4081   # Use a header file that comes with gcc, so configuring glibc
   4082   # with a fresh cross-compiler works.
   4083   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4084   # <limits.h> exists even on freestanding compilers.
   4085   # On the NeXT, cc -E runs the code through the compiler's parser,
   4086   # not just through cpp. "Syntax error" is here to catch this case.
   4087   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4088 /* end confdefs.h.  */
   4089 #ifdef __STDC__
   4090 # include <limits.h>
   4091 #else
   4092 # include <assert.h>
   4093 #endif
   4094 		     Syntax error
   4095 _ACEOF
   4096 if ac_fn_c_try_cpp "$LINENO"; then :
   4097 
   4098 else
   4099   # Broken: fails on valid input.
   4100 continue
   4101 fi
   4102 rm -f conftest.err conftest.i conftest.$ac_ext
   4103 
   4104   # OK, works on sane cases.  Now check whether nonexistent headers
   4105   # can be detected and how.
   4106   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4107 /* end confdefs.h.  */
   4108 #include <ac_nonexistent.h>
   4109 _ACEOF
   4110 if ac_fn_c_try_cpp "$LINENO"; then :
   4111   # Broken: success on invalid input.
   4112 continue
   4113 else
   4114   # Passes both tests.
   4115 ac_preproc_ok=:
   4116 break
   4117 fi
   4118 rm -f conftest.err conftest.i conftest.$ac_ext
   4119 
   4120 done
   4121 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4122 rm -f conftest.i conftest.err conftest.$ac_ext
   4123 if $ac_preproc_ok; then :
   4124   break
   4125 fi
   4126 
   4127     done
   4128     ac_cv_prog_CPP=$CPP
   4129 
   4130 fi
   4131   CPP=$ac_cv_prog_CPP
   4132 else
   4133   ac_cv_prog_CPP=$CPP
   4134 fi
   4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4136 $as_echo "$CPP" >&6; }
   4137 ac_preproc_ok=false
   4138 for ac_c_preproc_warn_flag in '' yes
   4139 do
   4140   # Use a header file that comes with gcc, so configuring glibc
   4141   # with a fresh cross-compiler works.
   4142   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4143   # <limits.h> exists even on freestanding compilers.
   4144   # On the NeXT, cc -E runs the code through the compiler's parser,
   4145   # not just through cpp. "Syntax error" is here to catch this case.
   4146   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4147 /* end confdefs.h.  */
   4148 #ifdef __STDC__
   4149 # include <limits.h>
   4150 #else
   4151 # include <assert.h>
   4152 #endif
   4153 		     Syntax error
   4154 _ACEOF
   4155 if ac_fn_c_try_cpp "$LINENO"; then :
   4156 
   4157 else
   4158   # Broken: fails on valid input.
   4159 continue
   4160 fi
   4161 rm -f conftest.err conftest.i conftest.$ac_ext
   4162 
   4163   # OK, works on sane cases.  Now check whether nonexistent headers
   4164   # can be detected and how.
   4165   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4166 /* end confdefs.h.  */
   4167 #include <ac_nonexistent.h>
   4168 _ACEOF
   4169 if ac_fn_c_try_cpp "$LINENO"; then :
   4170   # Broken: success on invalid input.
   4171 continue
   4172 else
   4173   # Passes both tests.
   4174 ac_preproc_ok=:
   4175 break
   4176 fi
   4177 rm -f conftest.err conftest.i conftest.$ac_ext
   4178 
   4179 done
   4180 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4181 rm -f conftest.i conftest.err conftest.$ac_ext
   4182 if $ac_preproc_ok; then :
   4183 
   4184 else
   4185   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4186 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4187 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4188 See \`config.log' for more details" "$LINENO" 5; }
   4189 fi
   4190 
   4191 ac_ext=c
   4192 ac_cpp='$CPP $CPPFLAGS'
   4193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4196 
   4197 
   4198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4199 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4200 if ${ac_cv_path_GREP+:} false; then :
   4201   $as_echo_n "(cached) " >&6
   4202 else
   4203   if test -z "$GREP"; then
   4204   ac_path_GREP_found=false
   4205   # Loop through the user's path and test for each of PROGNAME-LIST
   4206   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4207 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4208 do
   4209   IFS=$as_save_IFS
   4210   test -z "$as_dir" && as_dir=.
   4211     for ac_prog in grep ggrep; do
   4212     for ac_exec_ext in '' $ac_executable_extensions; do
   4213       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4214       as_fn_executable_p "$ac_path_GREP" || continue
   4215 # Check for GNU ac_path_GREP and select it if it is found.
   4216   # Check for GNU $ac_path_GREP
   4217 case `"$ac_path_GREP" --version 2>&1` in
   4218 *GNU*)
   4219   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4220 *)
   4221   ac_count=0
   4222   $as_echo_n 0123456789 >"conftest.in"
   4223   while :
   4224   do
   4225     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4226     mv "conftest.tmp" "conftest.in"
   4227     cp "conftest.in" "conftest.nl"
   4228     $as_echo 'GREP' >> "conftest.nl"
   4229     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4230     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4231     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4232     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4233       # Best one so far, save it but keep looking for a better one
   4234       ac_cv_path_GREP="$ac_path_GREP"
   4235       ac_path_GREP_max=$ac_count
   4236     fi
   4237     # 10*(2^10) chars as input seems more than enough
   4238     test $ac_count -gt 10 && break
   4239   done
   4240   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4241 esac
   4242 
   4243       $ac_path_GREP_found && break 3
   4244     done
   4245   done
   4246   done
   4247 IFS=$as_save_IFS
   4248   if test -z "$ac_cv_path_GREP"; then
   4249     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4250   fi
   4251 else
   4252   ac_cv_path_GREP=$GREP
   4253 fi
   4254 
   4255 fi
   4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4257 $as_echo "$ac_cv_path_GREP" >&6; }
   4258  GREP="$ac_cv_path_GREP"
   4259 
   4260 
   4261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4262 $as_echo_n "checking for egrep... " >&6; }
   4263 if ${ac_cv_path_EGREP+:} false; then :
   4264   $as_echo_n "(cached) " >&6
   4265 else
   4266   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4267    then ac_cv_path_EGREP="$GREP -E"
   4268    else
   4269      if test -z "$EGREP"; then
   4270   ac_path_EGREP_found=false
   4271   # Loop through the user's path and test for each of PROGNAME-LIST
   4272   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4273 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4274 do
   4275   IFS=$as_save_IFS
   4276   test -z "$as_dir" && as_dir=.
   4277     for ac_prog in egrep; do
   4278     for ac_exec_ext in '' $ac_executable_extensions; do
   4279       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4280       as_fn_executable_p "$ac_path_EGREP" || continue
   4281 # Check for GNU ac_path_EGREP and select it if it is found.
   4282   # Check for GNU $ac_path_EGREP
   4283 case `"$ac_path_EGREP" --version 2>&1` in
   4284 *GNU*)
   4285   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4286 *)
   4287   ac_count=0
   4288   $as_echo_n 0123456789 >"conftest.in"
   4289   while :
   4290   do
   4291     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4292     mv "conftest.tmp" "conftest.in"
   4293     cp "conftest.in" "conftest.nl"
   4294     $as_echo 'EGREP' >> "conftest.nl"
   4295     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4296     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4297     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4298     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4299       # Best one so far, save it but keep looking for a better one
   4300       ac_cv_path_EGREP="$ac_path_EGREP"
   4301       ac_path_EGREP_max=$ac_count
   4302     fi
   4303     # 10*(2^10) chars as input seems more than enough
   4304     test $ac_count -gt 10 && break
   4305   done
   4306   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4307 esac
   4308 
   4309       $ac_path_EGREP_found && break 3
   4310     done
   4311   done
   4312   done
   4313 IFS=$as_save_IFS
   4314   if test -z "$ac_cv_path_EGREP"; then
   4315     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4316   fi
   4317 else
   4318   ac_cv_path_EGREP=$EGREP
   4319 fi
   4320 
   4321    fi
   4322 fi
   4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4324 $as_echo "$ac_cv_path_EGREP" >&6; }
   4325  EGREP="$ac_cv_path_EGREP"
   4326 
   4327 
   4328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4329 $as_echo_n "checking for ANSI C header files... " >&6; }
   4330 if ${ac_cv_header_stdc+:} false; then :
   4331   $as_echo_n "(cached) " >&6
   4332 else
   4333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4334 /* end confdefs.h.  */
   4335 #include <stdlib.h>
   4336 #include <stdarg.h>
   4337 #include <string.h>
   4338 #include <float.h>
   4339 
   4340 int
   4341 main ()
   4342 {
   4343 
   4344   ;
   4345   return 0;
   4346 }
   4347 _ACEOF
   4348 if ac_fn_c_try_compile "$LINENO"; then :
   4349   ac_cv_header_stdc=yes
   4350 else
   4351   ac_cv_header_stdc=no
   4352 fi
   4353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4354 
   4355 if test $ac_cv_header_stdc = yes; then
   4356   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4357   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4358 /* end confdefs.h.  */
   4359 #include <string.h>
   4360 
   4361 _ACEOF
   4362 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4363   $EGREP "memchr" >/dev/null 2>&1; then :
   4364 
   4365 else
   4366   ac_cv_header_stdc=no
   4367 fi
   4368 rm -f conftest*
   4369 
   4370 fi
   4371 
   4372 if test $ac_cv_header_stdc = yes; then
   4373   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4374   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4375 /* end confdefs.h.  */
   4376 #include <stdlib.h>
   4377 
   4378 _ACEOF
   4379 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4380   $EGREP "free" >/dev/null 2>&1; then :
   4381 
   4382 else
   4383   ac_cv_header_stdc=no
   4384 fi
   4385 rm -f conftest*
   4386 
   4387 fi
   4388 
   4389 if test $ac_cv_header_stdc = yes; then
   4390   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4391   if test "$cross_compiling" = yes; then :
   4392   :
   4393 else
   4394   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4395 /* end confdefs.h.  */
   4396 #include <ctype.h>
   4397 #include <stdlib.h>
   4398 #if ((' ' & 0x0FF) == 0x020)
   4399 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4400 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4401 #else
   4402 # define ISLOWER(c) \
   4403 		   (('a' <= (c) && (c) <= 'i') \
   4404 		     || ('j' <= (c) && (c) <= 'r') \
   4405 		     || ('s' <= (c) && (c) <= 'z'))
   4406 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4407 #endif
   4408 
   4409 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4410 int
   4411 main ()
   4412 {
   4413   int i;
   4414   for (i = 0; i < 256; i++)
   4415     if (XOR (islower (i), ISLOWER (i))
   4416 	|| toupper (i) != TOUPPER (i))
   4417       return 2;
   4418   return 0;
   4419 }
   4420 _ACEOF
   4421 if ac_fn_c_try_run "$LINENO"; then :
   4422 
   4423 else
   4424   ac_cv_header_stdc=no
   4425 fi
   4426 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4427   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4428 fi
   4429 
   4430 fi
   4431 fi
   4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4433 $as_echo "$ac_cv_header_stdc" >&6; }
   4434 if test $ac_cv_header_stdc = yes; then
   4435 
   4436 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4437 
   4438 fi
   4439 
   4440 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4441 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4442 		  inttypes.h stdint.h unistd.h
   4443 do :
   4444   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4445 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4446 "
   4447 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4448   cat >>confdefs.h <<_ACEOF
   4449 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4450 _ACEOF
   4451 
   4452 fi
   4453 
   4454 done
   4455 
   4456 
   4457 
   4458 
   4459 
   4460 
   4461 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4462 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4463   CLANGCC="yes"
   4464 else
   4465   CLANGCC="no"
   4466 fi
   4467 
   4468 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4469 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4470   INTELCC="yes"
   4471 else
   4472   INTELCC="no"
   4473 fi
   4474 
   4475 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4476 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4477   SUNCC="yes"
   4478 else
   4479   SUNCC="no"
   4480 fi
   4481 
   4482 
   4483 
   4484 
   4485 
   4486 
   4487 
   4488 
   4489 
   4490 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4491 	if test -n "$ac_tool_prefix"; then
   4492   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4493 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4495 $as_echo_n "checking for $ac_word... " >&6; }
   4496 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4497   $as_echo_n "(cached) " >&6
   4498 else
   4499   case $PKG_CONFIG in
   4500   [\\/]* | ?:[\\/]*)
   4501   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4502   ;;
   4503   *)
   4504   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4505 for as_dir in $PATH
   4506 do
   4507   IFS=$as_save_IFS
   4508   test -z "$as_dir" && as_dir=.
   4509     for ac_exec_ext in '' $ac_executable_extensions; do
   4510   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4511     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4512     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4513     break 2
   4514   fi
   4515 done
   4516   done
   4517 IFS=$as_save_IFS
   4518 
   4519   ;;
   4520 esac
   4521 fi
   4522 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4523 if test -n "$PKG_CONFIG"; then
   4524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4525 $as_echo "$PKG_CONFIG" >&6; }
   4526 else
   4527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4528 $as_echo "no" >&6; }
   4529 fi
   4530 
   4531 
   4532 fi
   4533 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4534   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4535   # Extract the first word of "pkg-config", so it can be a program name with args.
   4536 set dummy pkg-config; ac_word=$2
   4537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4538 $as_echo_n "checking for $ac_word... " >&6; }
   4539 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4540   $as_echo_n "(cached) " >&6
   4541 else
   4542   case $ac_pt_PKG_CONFIG in
   4543   [\\/]* | ?:[\\/]*)
   4544   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4545   ;;
   4546   *)
   4547   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4548 for as_dir in $PATH
   4549 do
   4550   IFS=$as_save_IFS
   4551   test -z "$as_dir" && as_dir=.
   4552     for ac_exec_ext in '' $ac_executable_extensions; do
   4553   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4554     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4555     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4556     break 2
   4557   fi
   4558 done
   4559   done
   4560 IFS=$as_save_IFS
   4561 
   4562   ;;
   4563 esac
   4564 fi
   4565 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4566 if test -n "$ac_pt_PKG_CONFIG"; then
   4567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4568 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4569 else
   4570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4571 $as_echo "no" >&6; }
   4572 fi
   4573 
   4574   if test "x$ac_pt_PKG_CONFIG" = x; then
   4575     PKG_CONFIG=""
   4576   else
   4577     case $cross_compiling:$ac_tool_warned in
   4578 yes:)
   4579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4580 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4581 ac_tool_warned=yes ;;
   4582 esac
   4583     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4584   fi
   4585 else
   4586   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4587 fi
   4588 
   4589 fi
   4590 if test -n "$PKG_CONFIG"; then
   4591 	_pkg_min_version=0.9.0
   4592 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4593 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4594 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4595 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4596 $as_echo "yes" >&6; }
   4597 	else
   4598 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4599 $as_echo "no" >&6; }
   4600 		PKG_CONFIG=""
   4601 	fi
   4602 fi
   4603 # Make sure we can run config.sub.
   4604 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4605   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4606 
   4607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4608 $as_echo_n "checking build system type... " >&6; }
   4609 if ${ac_cv_build+:} false; then :
   4610   $as_echo_n "(cached) " >&6
   4611 else
   4612   ac_build_alias=$build_alias
   4613 test "x$ac_build_alias" = x &&
   4614   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4615 test "x$ac_build_alias" = x &&
   4616   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4617 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4618   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4619 
   4620 fi
   4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4622 $as_echo "$ac_cv_build" >&6; }
   4623 case $ac_cv_build in
   4624 *-*-*) ;;
   4625 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4626 esac
   4627 build=$ac_cv_build
   4628 ac_save_IFS=$IFS; IFS='-'
   4629 set x $ac_cv_build
   4630 shift
   4631 build_cpu=$1
   4632 build_vendor=$2
   4633 shift; shift
   4634 # Remember, the first character of IFS is used to create $*,
   4635 # except with old shells:
   4636 build_os=$*
   4637 IFS=$ac_save_IFS
   4638 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4639 
   4640 
   4641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4642 $as_echo_n "checking host system type... " >&6; }
   4643 if ${ac_cv_host+:} false; then :
   4644   $as_echo_n "(cached) " >&6
   4645 else
   4646   if test "x$host_alias" = x; then
   4647   ac_cv_host=$ac_cv_build
   4648 else
   4649   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4650     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4651 fi
   4652 
   4653 fi
   4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4655 $as_echo "$ac_cv_host" >&6; }
   4656 case $ac_cv_host in
   4657 *-*-*) ;;
   4658 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4659 esac
   4660 host=$ac_cv_host
   4661 ac_save_IFS=$IFS; IFS='-'
   4662 set x $ac_cv_host
   4663 shift
   4664 host_cpu=$1
   4665 host_vendor=$2
   4666 shift; shift
   4667 # Remember, the first character of IFS is used to create $*,
   4668 # except with old shells:
   4669 host_os=$*
   4670 IFS=$ac_save_IFS
   4671 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4672 
   4673 
   4674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4675 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4676 if ${ac_cv_path_SED+:} false; then :
   4677   $as_echo_n "(cached) " >&6
   4678 else
   4679             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4680      for ac_i in 1 2 3 4 5 6 7; do
   4681        ac_script="$ac_script$as_nl$ac_script"
   4682      done
   4683      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4684      { ac_script=; unset ac_script;}
   4685      if test -z "$SED"; then
   4686   ac_path_SED_found=false
   4687   # Loop through the user's path and test for each of PROGNAME-LIST
   4688   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4689 for as_dir in $PATH
   4690 do
   4691   IFS=$as_save_IFS
   4692   test -z "$as_dir" && as_dir=.
   4693     for ac_prog in sed gsed; do
   4694     for ac_exec_ext in '' $ac_executable_extensions; do
   4695       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4696       as_fn_executable_p "$ac_path_SED" || continue
   4697 # Check for GNU ac_path_SED and select it if it is found.
   4698   # Check for GNU $ac_path_SED
   4699 case `"$ac_path_SED" --version 2>&1` in
   4700 *GNU*)
   4701   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4702 *)
   4703   ac_count=0
   4704   $as_echo_n 0123456789 >"conftest.in"
   4705   while :
   4706   do
   4707     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4708     mv "conftest.tmp" "conftest.in"
   4709     cp "conftest.in" "conftest.nl"
   4710     $as_echo '' >> "conftest.nl"
   4711     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4712     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4713     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4714     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4715       # Best one so far, save it but keep looking for a better one
   4716       ac_cv_path_SED="$ac_path_SED"
   4717       ac_path_SED_max=$ac_count
   4718     fi
   4719     # 10*(2^10) chars as input seems more than enough
   4720     test $ac_count -gt 10 && break
   4721   done
   4722   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4723 esac
   4724 
   4725       $ac_path_SED_found && break 3
   4726     done
   4727   done
   4728   done
   4729 IFS=$as_save_IFS
   4730   if test -z "$ac_cv_path_SED"; then
   4731     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4732   fi
   4733 else
   4734   ac_cv_path_SED=$SED
   4735 fi
   4736 
   4737 fi
   4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4739 $as_echo "$ac_cv_path_SED" >&6; }
   4740  SED="$ac_cv_path_SED"
   4741   rm -f conftest.sed
   4742 
   4743 
   4744 
   4745 
   4746 
   4747 
   4748 # Check whether --enable-selective-werror was given.
   4749 if test "${enable_selective_werror+set}" = set; then :
   4750   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4751 else
   4752   SELECTIVE_WERROR=yes
   4753 fi
   4754 
   4755 
   4756 
   4757 
   4758 
   4759 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4760 if test "x$SUNCC" = "xyes"; then
   4761     BASE_CFLAGS="-v"
   4762 else
   4763     BASE_CFLAGS=""
   4764 fi
   4765 
   4766 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4767 
   4768 
   4769 
   4770 
   4771 
   4772 
   4773 
   4774 
   4775 
   4776 
   4777 
   4778 
   4779 
   4780 xorg_testset_save_CFLAGS="$CFLAGS"
   4781 
   4782 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4783 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4784 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4785 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4786 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4787   $as_echo_n "(cached) " >&6
   4788 else
   4789   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4790 /* end confdefs.h.  */
   4791 int i;
   4792 _ACEOF
   4793 if ac_fn_c_try_compile "$LINENO"; then :
   4794   xorg_cv_cc_flag_unknown_warning_option=yes
   4795 else
   4796   xorg_cv_cc_flag_unknown_warning_option=no
   4797 fi
   4798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4799 fi
   4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4801 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4802 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4803 	CFLAGS="$xorg_testset_save_CFLAGS"
   4804 fi
   4805 
   4806 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4807 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4808 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4809 	fi
   4810 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4811 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4812 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4813 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4814   $as_echo_n "(cached) " >&6
   4815 else
   4816   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4817 /* end confdefs.h.  */
   4818 int i;
   4819 _ACEOF
   4820 if ac_fn_c_try_compile "$LINENO"; then :
   4821   xorg_cv_cc_flag_unused_command_line_argument=yes
   4822 else
   4823   xorg_cv_cc_flag_unused_command_line_argument=no
   4824 fi
   4825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4826 fi
   4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4828 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4829 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4830 	CFLAGS="$xorg_testset_save_CFLAGS"
   4831 fi
   4832 
   4833 found="no"
   4834 
   4835 	if test $found = "no" ; then
   4836 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4837 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4838 		fi
   4839 
   4840 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4841 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4842 		fi
   4843 
   4844 		CFLAGS="$CFLAGS -Wall"
   4845 
   4846 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4847 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4848 		cacheid=xorg_cv_cc_flag__Wall
   4849 		if eval \${$cacheid+:} false; then :
   4850   $as_echo_n "(cached) " >&6
   4851 else
   4852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4853 /* end confdefs.h.  */
   4854 int i;
   4855 int
   4856 main ()
   4857 {
   4858 
   4859   ;
   4860   return 0;
   4861 }
   4862 _ACEOF
   4863 if ac_fn_c_try_link "$LINENO"; then :
   4864   eval $cacheid=yes
   4865 else
   4866   eval $cacheid=no
   4867 fi
   4868 rm -f core conftest.err conftest.$ac_objext \
   4869     conftest$ac_exeext conftest.$ac_ext
   4870 fi
   4871 
   4872 
   4873 		CFLAGS="$xorg_testset_save_CFLAGS"
   4874 
   4875 		eval supported=\$$cacheid
   4876 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4877 $as_echo "$supported" >&6; }
   4878 		if test "$supported" = "yes" ; then
   4879 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4880 			found="yes"
   4881 		fi
   4882 	fi
   4883 
   4884 
   4885 
   4886 
   4887 
   4888 
   4889 
   4890 
   4891 
   4892 
   4893 
   4894 
   4895 
   4896 
   4897 
   4898 xorg_testset_save_CFLAGS="$CFLAGS"
   4899 
   4900 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4901 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4902 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4903 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4904 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4905   $as_echo_n "(cached) " >&6
   4906 else
   4907   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4908 /* end confdefs.h.  */
   4909 int i;
   4910 _ACEOF
   4911 if ac_fn_c_try_compile "$LINENO"; then :
   4912   xorg_cv_cc_flag_unknown_warning_option=yes
   4913 else
   4914   xorg_cv_cc_flag_unknown_warning_option=no
   4915 fi
   4916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4917 fi
   4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4919 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4920 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4921 	CFLAGS="$xorg_testset_save_CFLAGS"
   4922 fi
   4923 
   4924 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4925 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4926 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4927 	fi
   4928 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4929 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4930 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4931 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4932   $as_echo_n "(cached) " >&6
   4933 else
   4934   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4935 /* end confdefs.h.  */
   4936 int i;
   4937 _ACEOF
   4938 if ac_fn_c_try_compile "$LINENO"; then :
   4939   xorg_cv_cc_flag_unused_command_line_argument=yes
   4940 else
   4941   xorg_cv_cc_flag_unused_command_line_argument=no
   4942 fi
   4943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4944 fi
   4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4946 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4947 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4948 	CFLAGS="$xorg_testset_save_CFLAGS"
   4949 fi
   4950 
   4951 found="no"
   4952 
   4953 	if test $found = "no" ; then
   4954 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4955 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4956 		fi
   4957 
   4958 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4959 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4960 		fi
   4961 
   4962 		CFLAGS="$CFLAGS -Wpointer-arith"
   4963 
   4964 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4965 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4966 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4967 		if eval \${$cacheid+:} false; then :
   4968   $as_echo_n "(cached) " >&6
   4969 else
   4970   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4971 /* end confdefs.h.  */
   4972 int i;
   4973 int
   4974 main ()
   4975 {
   4976 
   4977   ;
   4978   return 0;
   4979 }
   4980 _ACEOF
   4981 if ac_fn_c_try_link "$LINENO"; then :
   4982   eval $cacheid=yes
   4983 else
   4984   eval $cacheid=no
   4985 fi
   4986 rm -f core conftest.err conftest.$ac_objext \
   4987     conftest$ac_exeext conftest.$ac_ext
   4988 fi
   4989 
   4990 
   4991 		CFLAGS="$xorg_testset_save_CFLAGS"
   4992 
   4993 		eval supported=\$$cacheid
   4994 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4995 $as_echo "$supported" >&6; }
   4996 		if test "$supported" = "yes" ; then
   4997 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4998 			found="yes"
   4999 		fi
   5000 	fi
   5001 
   5002 
   5003 
   5004 
   5005 
   5006 
   5007 
   5008 
   5009 
   5010 
   5011 
   5012 
   5013 
   5014 
   5015 
   5016 xorg_testset_save_CFLAGS="$CFLAGS"
   5017 
   5018 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5019 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5020 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5021 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5022 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5023   $as_echo_n "(cached) " >&6
   5024 else
   5025   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5026 /* end confdefs.h.  */
   5027 int i;
   5028 _ACEOF
   5029 if ac_fn_c_try_compile "$LINENO"; then :
   5030   xorg_cv_cc_flag_unknown_warning_option=yes
   5031 else
   5032   xorg_cv_cc_flag_unknown_warning_option=no
   5033 fi
   5034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5035 fi
   5036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5037 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5038 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5039 	CFLAGS="$xorg_testset_save_CFLAGS"
   5040 fi
   5041 
   5042 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5043 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5044 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5045 	fi
   5046 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5047 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5048 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5049 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5050   $as_echo_n "(cached) " >&6
   5051 else
   5052   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5053 /* end confdefs.h.  */
   5054 int i;
   5055 _ACEOF
   5056 if ac_fn_c_try_compile "$LINENO"; then :
   5057   xorg_cv_cc_flag_unused_command_line_argument=yes
   5058 else
   5059   xorg_cv_cc_flag_unused_command_line_argument=no
   5060 fi
   5061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5062 fi
   5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5064 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5065 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5066 	CFLAGS="$xorg_testset_save_CFLAGS"
   5067 fi
   5068 
   5069 found="no"
   5070 
   5071 	if test $found = "no" ; then
   5072 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5073 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5074 		fi
   5075 
   5076 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5077 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5078 		fi
   5079 
   5080 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5081 
   5082 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5083 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5084 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5085 		if eval \${$cacheid+:} false; then :
   5086   $as_echo_n "(cached) " >&6
   5087 else
   5088   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5089 /* end confdefs.h.  */
   5090 int i;
   5091 int
   5092 main ()
   5093 {
   5094 
   5095   ;
   5096   return 0;
   5097 }
   5098 _ACEOF
   5099 if ac_fn_c_try_link "$LINENO"; then :
   5100   eval $cacheid=yes
   5101 else
   5102   eval $cacheid=no
   5103 fi
   5104 rm -f core conftest.err conftest.$ac_objext \
   5105     conftest$ac_exeext conftest.$ac_ext
   5106 fi
   5107 
   5108 
   5109 		CFLAGS="$xorg_testset_save_CFLAGS"
   5110 
   5111 		eval supported=\$$cacheid
   5112 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5113 $as_echo "$supported" >&6; }
   5114 		if test "$supported" = "yes" ; then
   5115 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5116 			found="yes"
   5117 		fi
   5118 	fi
   5119 
   5120 
   5121 
   5122 
   5123 
   5124 
   5125 
   5126 
   5127 
   5128 
   5129 
   5130 
   5131 
   5132 
   5133 
   5134 xorg_testset_save_CFLAGS="$CFLAGS"
   5135 
   5136 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5137 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5138 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5139 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5140 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5141   $as_echo_n "(cached) " >&6
   5142 else
   5143   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5144 /* end confdefs.h.  */
   5145 int i;
   5146 _ACEOF
   5147 if ac_fn_c_try_compile "$LINENO"; then :
   5148   xorg_cv_cc_flag_unknown_warning_option=yes
   5149 else
   5150   xorg_cv_cc_flag_unknown_warning_option=no
   5151 fi
   5152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5153 fi
   5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5155 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5156 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5157 	CFLAGS="$xorg_testset_save_CFLAGS"
   5158 fi
   5159 
   5160 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5161 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5162 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5163 	fi
   5164 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5165 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5166 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5167 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5168   $as_echo_n "(cached) " >&6
   5169 else
   5170   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5171 /* end confdefs.h.  */
   5172 int i;
   5173 _ACEOF
   5174 if ac_fn_c_try_compile "$LINENO"; then :
   5175   xorg_cv_cc_flag_unused_command_line_argument=yes
   5176 else
   5177   xorg_cv_cc_flag_unused_command_line_argument=no
   5178 fi
   5179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5180 fi
   5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5182 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5183 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5184 	CFLAGS="$xorg_testset_save_CFLAGS"
   5185 fi
   5186 
   5187 found="no"
   5188 
   5189 	if test $found = "no" ; then
   5190 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5191 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5192 		fi
   5193 
   5194 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5195 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5196 		fi
   5197 
   5198 		CFLAGS="$CFLAGS -Wformat=2"
   5199 
   5200 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5201 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5202 		cacheid=xorg_cv_cc_flag__Wformat_2
   5203 		if eval \${$cacheid+:} false; then :
   5204   $as_echo_n "(cached) " >&6
   5205 else
   5206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5207 /* end confdefs.h.  */
   5208 int i;
   5209 int
   5210 main ()
   5211 {
   5212 
   5213   ;
   5214   return 0;
   5215 }
   5216 _ACEOF
   5217 if ac_fn_c_try_link "$LINENO"; then :
   5218   eval $cacheid=yes
   5219 else
   5220   eval $cacheid=no
   5221 fi
   5222 rm -f core conftest.err conftest.$ac_objext \
   5223     conftest$ac_exeext conftest.$ac_ext
   5224 fi
   5225 
   5226 
   5227 		CFLAGS="$xorg_testset_save_CFLAGS"
   5228 
   5229 		eval supported=\$$cacheid
   5230 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5231 $as_echo "$supported" >&6; }
   5232 		if test "$supported" = "yes" ; then
   5233 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5234 			found="yes"
   5235 		fi
   5236 	fi
   5237 
   5238 	if test $found = "no" ; then
   5239 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5240 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5241 		fi
   5242 
   5243 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5244 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5245 		fi
   5246 
   5247 		CFLAGS="$CFLAGS -Wformat"
   5248 
   5249 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5250 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5251 		cacheid=xorg_cv_cc_flag__Wformat
   5252 		if eval \${$cacheid+:} false; then :
   5253   $as_echo_n "(cached) " >&6
   5254 else
   5255   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5256 /* end confdefs.h.  */
   5257 int i;
   5258 int
   5259 main ()
   5260 {
   5261 
   5262   ;
   5263   return 0;
   5264 }
   5265 _ACEOF
   5266 if ac_fn_c_try_link "$LINENO"; then :
   5267   eval $cacheid=yes
   5268 else
   5269   eval $cacheid=no
   5270 fi
   5271 rm -f core conftest.err conftest.$ac_objext \
   5272     conftest$ac_exeext conftest.$ac_ext
   5273 fi
   5274 
   5275 
   5276 		CFLAGS="$xorg_testset_save_CFLAGS"
   5277 
   5278 		eval supported=\$$cacheid
   5279 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5280 $as_echo "$supported" >&6; }
   5281 		if test "$supported" = "yes" ; then
   5282 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5283 			found="yes"
   5284 		fi
   5285 	fi
   5286 
   5287 
   5288 
   5289 
   5290 
   5291 
   5292 
   5293 
   5294 
   5295 
   5296 
   5297 
   5298 
   5299 
   5300 
   5301 
   5302 
   5303 xorg_testset_save_CFLAGS="$CFLAGS"
   5304 
   5305 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5306 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5307 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5308 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5309 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5310   $as_echo_n "(cached) " >&6
   5311 else
   5312   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5313 /* end confdefs.h.  */
   5314 int i;
   5315 _ACEOF
   5316 if ac_fn_c_try_compile "$LINENO"; then :
   5317   xorg_cv_cc_flag_unknown_warning_option=yes
   5318 else
   5319   xorg_cv_cc_flag_unknown_warning_option=no
   5320 fi
   5321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5322 fi
   5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5324 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5325 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5326 	CFLAGS="$xorg_testset_save_CFLAGS"
   5327 fi
   5328 
   5329 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5330 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5331 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5332 	fi
   5333 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5334 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5335 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5336 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5337   $as_echo_n "(cached) " >&6
   5338 else
   5339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5340 /* end confdefs.h.  */
   5341 int i;
   5342 _ACEOF
   5343 if ac_fn_c_try_compile "$LINENO"; then :
   5344   xorg_cv_cc_flag_unused_command_line_argument=yes
   5345 else
   5346   xorg_cv_cc_flag_unused_command_line_argument=no
   5347 fi
   5348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5349 fi
   5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5351 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5352 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5353 	CFLAGS="$xorg_testset_save_CFLAGS"
   5354 fi
   5355 
   5356 found="no"
   5357 
   5358 	if test $found = "no" ; then
   5359 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5360 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5361 		fi
   5362 
   5363 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5364 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5365 		fi
   5366 
   5367 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5368 
   5369 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5370 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5371 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5372 		if eval \${$cacheid+:} false; then :
   5373   $as_echo_n "(cached) " >&6
   5374 else
   5375   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5376 /* end confdefs.h.  */
   5377 int i;
   5378 int
   5379 main ()
   5380 {
   5381 
   5382   ;
   5383   return 0;
   5384 }
   5385 _ACEOF
   5386 if ac_fn_c_try_link "$LINENO"; then :
   5387   eval $cacheid=yes
   5388 else
   5389   eval $cacheid=no
   5390 fi
   5391 rm -f core conftest.err conftest.$ac_objext \
   5392     conftest$ac_exeext conftest.$ac_ext
   5393 fi
   5394 
   5395 
   5396 		CFLAGS="$xorg_testset_save_CFLAGS"
   5397 
   5398 		eval supported=\$$cacheid
   5399 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5400 $as_echo "$supported" >&6; }
   5401 		if test "$supported" = "yes" ; then
   5402 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5403 			found="yes"
   5404 		fi
   5405 	fi
   5406 
   5407 
   5408 
   5409 
   5410 
   5411 
   5412 
   5413 
   5414 
   5415 
   5416 
   5417 
   5418 
   5419 
   5420 
   5421 xorg_testset_save_CFLAGS="$CFLAGS"
   5422 
   5423 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5424 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5425 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5426 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5427 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5428   $as_echo_n "(cached) " >&6
   5429 else
   5430   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5431 /* end confdefs.h.  */
   5432 int i;
   5433 _ACEOF
   5434 if ac_fn_c_try_compile "$LINENO"; then :
   5435   xorg_cv_cc_flag_unknown_warning_option=yes
   5436 else
   5437   xorg_cv_cc_flag_unknown_warning_option=no
   5438 fi
   5439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5440 fi
   5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5442 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5443 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5444 	CFLAGS="$xorg_testset_save_CFLAGS"
   5445 fi
   5446 
   5447 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5448 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5449 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5450 	fi
   5451 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5452 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5453 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5454 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5455   $as_echo_n "(cached) " >&6
   5456 else
   5457   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5458 /* end confdefs.h.  */
   5459 int i;
   5460 _ACEOF
   5461 if ac_fn_c_try_compile "$LINENO"; then :
   5462   xorg_cv_cc_flag_unused_command_line_argument=yes
   5463 else
   5464   xorg_cv_cc_flag_unused_command_line_argument=no
   5465 fi
   5466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5467 fi
   5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5469 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5470 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5471 	CFLAGS="$xorg_testset_save_CFLAGS"
   5472 fi
   5473 
   5474 found="no"
   5475 
   5476 	if test $found = "no" ; then
   5477 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5478 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5479 		fi
   5480 
   5481 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5482 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5483 		fi
   5484 
   5485 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5486 
   5487 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5488 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5489 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5490 		if eval \${$cacheid+:} false; then :
   5491   $as_echo_n "(cached) " >&6
   5492 else
   5493   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5494 /* end confdefs.h.  */
   5495 int i;
   5496 int
   5497 main ()
   5498 {
   5499 
   5500   ;
   5501   return 0;
   5502 }
   5503 _ACEOF
   5504 if ac_fn_c_try_link "$LINENO"; then :
   5505   eval $cacheid=yes
   5506 else
   5507   eval $cacheid=no
   5508 fi
   5509 rm -f core conftest.err conftest.$ac_objext \
   5510     conftest$ac_exeext conftest.$ac_ext
   5511 fi
   5512 
   5513 
   5514 		CFLAGS="$xorg_testset_save_CFLAGS"
   5515 
   5516 		eval supported=\$$cacheid
   5517 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5518 $as_echo "$supported" >&6; }
   5519 		if test "$supported" = "yes" ; then
   5520 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5521 			found="yes"
   5522 		fi
   5523 	fi
   5524 
   5525 
   5526 
   5527 
   5528 
   5529 
   5530 
   5531 
   5532 
   5533 
   5534 
   5535 
   5536 
   5537 
   5538 
   5539 xorg_testset_save_CFLAGS="$CFLAGS"
   5540 
   5541 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5542 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5543 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5544 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5545 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5546   $as_echo_n "(cached) " >&6
   5547 else
   5548   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5549 /* end confdefs.h.  */
   5550 int i;
   5551 _ACEOF
   5552 if ac_fn_c_try_compile "$LINENO"; then :
   5553   xorg_cv_cc_flag_unknown_warning_option=yes
   5554 else
   5555   xorg_cv_cc_flag_unknown_warning_option=no
   5556 fi
   5557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5558 fi
   5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5560 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5561 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5562 	CFLAGS="$xorg_testset_save_CFLAGS"
   5563 fi
   5564 
   5565 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5566 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5567 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5568 	fi
   5569 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5570 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5571 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5572 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5573   $as_echo_n "(cached) " >&6
   5574 else
   5575   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5576 /* end confdefs.h.  */
   5577 int i;
   5578 _ACEOF
   5579 if ac_fn_c_try_compile "$LINENO"; then :
   5580   xorg_cv_cc_flag_unused_command_line_argument=yes
   5581 else
   5582   xorg_cv_cc_flag_unused_command_line_argument=no
   5583 fi
   5584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5585 fi
   5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5587 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5588 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5589 	CFLAGS="$xorg_testset_save_CFLAGS"
   5590 fi
   5591 
   5592 found="no"
   5593 
   5594 	if test $found = "no" ; then
   5595 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5596 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5597 		fi
   5598 
   5599 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5600 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5601 		fi
   5602 
   5603 		CFLAGS="$CFLAGS -Wnested-externs"
   5604 
   5605 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5606 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5607 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5608 		if eval \${$cacheid+:} false; then :
   5609   $as_echo_n "(cached) " >&6
   5610 else
   5611   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5612 /* end confdefs.h.  */
   5613 int i;
   5614 int
   5615 main ()
   5616 {
   5617 
   5618   ;
   5619   return 0;
   5620 }
   5621 _ACEOF
   5622 if ac_fn_c_try_link "$LINENO"; then :
   5623   eval $cacheid=yes
   5624 else
   5625   eval $cacheid=no
   5626 fi
   5627 rm -f core conftest.err conftest.$ac_objext \
   5628     conftest$ac_exeext conftest.$ac_ext
   5629 fi
   5630 
   5631 
   5632 		CFLAGS="$xorg_testset_save_CFLAGS"
   5633 
   5634 		eval supported=\$$cacheid
   5635 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5636 $as_echo "$supported" >&6; }
   5637 		if test "$supported" = "yes" ; then
   5638 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5639 			found="yes"
   5640 		fi
   5641 	fi
   5642 
   5643 
   5644 
   5645 
   5646 
   5647 
   5648 
   5649 
   5650 
   5651 
   5652 
   5653 
   5654 
   5655 
   5656 
   5657 xorg_testset_save_CFLAGS="$CFLAGS"
   5658 
   5659 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5660 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5661 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5662 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5663 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5664   $as_echo_n "(cached) " >&6
   5665 else
   5666   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5667 /* end confdefs.h.  */
   5668 int i;
   5669 _ACEOF
   5670 if ac_fn_c_try_compile "$LINENO"; then :
   5671   xorg_cv_cc_flag_unknown_warning_option=yes
   5672 else
   5673   xorg_cv_cc_flag_unknown_warning_option=no
   5674 fi
   5675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5676 fi
   5677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5678 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5679 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5680 	CFLAGS="$xorg_testset_save_CFLAGS"
   5681 fi
   5682 
   5683 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5684 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5685 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5686 	fi
   5687 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5688 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5689 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5690 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5691   $as_echo_n "(cached) " >&6
   5692 else
   5693   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5694 /* end confdefs.h.  */
   5695 int i;
   5696 _ACEOF
   5697 if ac_fn_c_try_compile "$LINENO"; then :
   5698   xorg_cv_cc_flag_unused_command_line_argument=yes
   5699 else
   5700   xorg_cv_cc_flag_unused_command_line_argument=no
   5701 fi
   5702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5703 fi
   5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5705 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5706 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5707 	CFLAGS="$xorg_testset_save_CFLAGS"
   5708 fi
   5709 
   5710 found="no"
   5711 
   5712 	if test $found = "no" ; then
   5713 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5714 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5715 		fi
   5716 
   5717 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5718 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5719 		fi
   5720 
   5721 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5722 
   5723 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5724 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5725 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5726 		if eval \${$cacheid+:} false; then :
   5727   $as_echo_n "(cached) " >&6
   5728 else
   5729   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5730 /* end confdefs.h.  */
   5731 int i;
   5732 int
   5733 main ()
   5734 {
   5735 
   5736   ;
   5737   return 0;
   5738 }
   5739 _ACEOF
   5740 if ac_fn_c_try_link "$LINENO"; then :
   5741   eval $cacheid=yes
   5742 else
   5743   eval $cacheid=no
   5744 fi
   5745 rm -f core conftest.err conftest.$ac_objext \
   5746     conftest$ac_exeext conftest.$ac_ext
   5747 fi
   5748 
   5749 
   5750 		CFLAGS="$xorg_testset_save_CFLAGS"
   5751 
   5752 		eval supported=\$$cacheid
   5753 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5754 $as_echo "$supported" >&6; }
   5755 		if test "$supported" = "yes" ; then
   5756 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5757 			found="yes"
   5758 		fi
   5759 	fi
   5760 
   5761 
   5762 
   5763 
   5764 
   5765 
   5766 
   5767 
   5768 
   5769 
   5770 
   5771 
   5772 
   5773 
   5774 
   5775 xorg_testset_save_CFLAGS="$CFLAGS"
   5776 
   5777 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5778 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5779 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5780 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5781 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5782   $as_echo_n "(cached) " >&6
   5783 else
   5784   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5785 /* end confdefs.h.  */
   5786 int i;
   5787 _ACEOF
   5788 if ac_fn_c_try_compile "$LINENO"; then :
   5789   xorg_cv_cc_flag_unknown_warning_option=yes
   5790 else
   5791   xorg_cv_cc_flag_unknown_warning_option=no
   5792 fi
   5793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5794 fi
   5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5796 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5797 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5798 	CFLAGS="$xorg_testset_save_CFLAGS"
   5799 fi
   5800 
   5801 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5802 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5803 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5804 	fi
   5805 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5806 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5807 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5808 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5809   $as_echo_n "(cached) " >&6
   5810 else
   5811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5812 /* end confdefs.h.  */
   5813 int i;
   5814 _ACEOF
   5815 if ac_fn_c_try_compile "$LINENO"; then :
   5816   xorg_cv_cc_flag_unused_command_line_argument=yes
   5817 else
   5818   xorg_cv_cc_flag_unused_command_line_argument=no
   5819 fi
   5820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5821 fi
   5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5823 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5824 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5825 	CFLAGS="$xorg_testset_save_CFLAGS"
   5826 fi
   5827 
   5828 found="no"
   5829 
   5830 	if test $found = "no" ; then
   5831 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5832 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5833 		fi
   5834 
   5835 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5836 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5837 		fi
   5838 
   5839 		CFLAGS="$CFLAGS -Wold-style-definition"
   5840 
   5841 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5842 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5843 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5844 		if eval \${$cacheid+:} false; then :
   5845   $as_echo_n "(cached) " >&6
   5846 else
   5847   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5848 /* end confdefs.h.  */
   5849 int i;
   5850 int
   5851 main ()
   5852 {
   5853 
   5854   ;
   5855   return 0;
   5856 }
   5857 _ACEOF
   5858 if ac_fn_c_try_link "$LINENO"; then :
   5859   eval $cacheid=yes
   5860 else
   5861   eval $cacheid=no
   5862 fi
   5863 rm -f core conftest.err conftest.$ac_objext \
   5864     conftest$ac_exeext conftest.$ac_ext
   5865 fi
   5866 
   5867 
   5868 		CFLAGS="$xorg_testset_save_CFLAGS"
   5869 
   5870 		eval supported=\$$cacheid
   5871 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5872 $as_echo "$supported" >&6; }
   5873 		if test "$supported" = "yes" ; then
   5874 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5875 			found="yes"
   5876 		fi
   5877 	fi
   5878 
   5879 	if test $found = "no" ; then
   5880 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5881 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5882 		fi
   5883 
   5884 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5885 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5886 		fi
   5887 
   5888 		CFLAGS="$CFLAGS -fd"
   5889 
   5890 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   5891 $as_echo_n "checking if $CC supports -fd... " >&6; }
   5892 		cacheid=xorg_cv_cc_flag__fd
   5893 		if eval \${$cacheid+:} false; then :
   5894   $as_echo_n "(cached) " >&6
   5895 else
   5896   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5897 /* end confdefs.h.  */
   5898 int i;
   5899 int
   5900 main ()
   5901 {
   5902 
   5903   ;
   5904   return 0;
   5905 }
   5906 _ACEOF
   5907 if ac_fn_c_try_link "$LINENO"; then :
   5908   eval $cacheid=yes
   5909 else
   5910   eval $cacheid=no
   5911 fi
   5912 rm -f core conftest.err conftest.$ac_objext \
   5913     conftest$ac_exeext conftest.$ac_ext
   5914 fi
   5915 
   5916 
   5917 		CFLAGS="$xorg_testset_save_CFLAGS"
   5918 
   5919 		eval supported=\$$cacheid
   5920 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5921 $as_echo "$supported" >&6; }
   5922 		if test "$supported" = "yes" ; then
   5923 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   5924 			found="yes"
   5925 		fi
   5926 	fi
   5927 
   5928 
   5929 
   5930 
   5931 
   5932 
   5933 
   5934 
   5935 
   5936 
   5937 
   5938 
   5939 
   5940 
   5941 
   5942 xorg_testset_save_CFLAGS="$CFLAGS"
   5943 
   5944 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5945 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5946 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5947 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5948 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5949   $as_echo_n "(cached) " >&6
   5950 else
   5951   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5952 /* end confdefs.h.  */
   5953 int i;
   5954 _ACEOF
   5955 if ac_fn_c_try_compile "$LINENO"; then :
   5956   xorg_cv_cc_flag_unknown_warning_option=yes
   5957 else
   5958   xorg_cv_cc_flag_unknown_warning_option=no
   5959 fi
   5960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5961 fi
   5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5963 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5964 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5965 	CFLAGS="$xorg_testset_save_CFLAGS"
   5966 fi
   5967 
   5968 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5969 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5970 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5971 	fi
   5972 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5973 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5974 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5975 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5976   $as_echo_n "(cached) " >&6
   5977 else
   5978   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5979 /* end confdefs.h.  */
   5980 int i;
   5981 _ACEOF
   5982 if ac_fn_c_try_compile "$LINENO"; then :
   5983   xorg_cv_cc_flag_unused_command_line_argument=yes
   5984 else
   5985   xorg_cv_cc_flag_unused_command_line_argument=no
   5986 fi
   5987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5988 fi
   5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5990 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5991 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5992 	CFLAGS="$xorg_testset_save_CFLAGS"
   5993 fi
   5994 
   5995 found="no"
   5996 
   5997 	if test $found = "no" ; then
   5998 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5999 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6000 		fi
   6001 
   6002 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6003 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6004 		fi
   6005 
   6006 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6007 
   6008 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6009 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6010 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6011 		if eval \${$cacheid+:} false; then :
   6012   $as_echo_n "(cached) " >&6
   6013 else
   6014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6015 /* end confdefs.h.  */
   6016 int i;
   6017 int
   6018 main ()
   6019 {
   6020 
   6021   ;
   6022   return 0;
   6023 }
   6024 _ACEOF
   6025 if ac_fn_c_try_link "$LINENO"; then :
   6026   eval $cacheid=yes
   6027 else
   6028   eval $cacheid=no
   6029 fi
   6030 rm -f core conftest.err conftest.$ac_objext \
   6031     conftest$ac_exeext conftest.$ac_ext
   6032 fi
   6033 
   6034 
   6035 		CFLAGS="$xorg_testset_save_CFLAGS"
   6036 
   6037 		eval supported=\$$cacheid
   6038 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6039 $as_echo "$supported" >&6; }
   6040 		if test "$supported" = "yes" ; then
   6041 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6042 			found="yes"
   6043 		fi
   6044 	fi
   6045 
   6046 
   6047 
   6048 
   6049 
   6050 # This chunk adds additional warnings that could catch undesired effects.
   6051 
   6052 
   6053 
   6054 
   6055 
   6056 
   6057 
   6058 
   6059 
   6060 
   6061 
   6062 
   6063 
   6064 xorg_testset_save_CFLAGS="$CFLAGS"
   6065 
   6066 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6067 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6068 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6069 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6070 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6071   $as_echo_n "(cached) " >&6
   6072 else
   6073   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6074 /* end confdefs.h.  */
   6075 int i;
   6076 _ACEOF
   6077 if ac_fn_c_try_compile "$LINENO"; then :
   6078   xorg_cv_cc_flag_unknown_warning_option=yes
   6079 else
   6080   xorg_cv_cc_flag_unknown_warning_option=no
   6081 fi
   6082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6083 fi
   6084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6085 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6086 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6087 	CFLAGS="$xorg_testset_save_CFLAGS"
   6088 fi
   6089 
   6090 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6091 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6092 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6093 	fi
   6094 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6095 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6096 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6097 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6098   $as_echo_n "(cached) " >&6
   6099 else
   6100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6101 /* end confdefs.h.  */
   6102 int i;
   6103 _ACEOF
   6104 if ac_fn_c_try_compile "$LINENO"; then :
   6105   xorg_cv_cc_flag_unused_command_line_argument=yes
   6106 else
   6107   xorg_cv_cc_flag_unused_command_line_argument=no
   6108 fi
   6109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6110 fi
   6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6112 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6113 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6114 	CFLAGS="$xorg_testset_save_CFLAGS"
   6115 fi
   6116 
   6117 found="no"
   6118 
   6119 	if test $found = "no" ; then
   6120 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6121 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6122 		fi
   6123 
   6124 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6125 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6126 		fi
   6127 
   6128 		CFLAGS="$CFLAGS -Wunused"
   6129 
   6130 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6131 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6132 		cacheid=xorg_cv_cc_flag__Wunused
   6133 		if eval \${$cacheid+:} false; then :
   6134   $as_echo_n "(cached) " >&6
   6135 else
   6136   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6137 /* end confdefs.h.  */
   6138 int i;
   6139 int
   6140 main ()
   6141 {
   6142 
   6143   ;
   6144   return 0;
   6145 }
   6146 _ACEOF
   6147 if ac_fn_c_try_link "$LINENO"; then :
   6148   eval $cacheid=yes
   6149 else
   6150   eval $cacheid=no
   6151 fi
   6152 rm -f core conftest.err conftest.$ac_objext \
   6153     conftest$ac_exeext conftest.$ac_ext
   6154 fi
   6155 
   6156 
   6157 		CFLAGS="$xorg_testset_save_CFLAGS"
   6158 
   6159 		eval supported=\$$cacheid
   6160 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6161 $as_echo "$supported" >&6; }
   6162 		if test "$supported" = "yes" ; then
   6163 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6164 			found="yes"
   6165 		fi
   6166 	fi
   6167 
   6168 
   6169 
   6170 
   6171 
   6172 
   6173 
   6174 
   6175 
   6176 
   6177 
   6178 
   6179 
   6180 
   6181 
   6182 xorg_testset_save_CFLAGS="$CFLAGS"
   6183 
   6184 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6185 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6186 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6187 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6188 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6189   $as_echo_n "(cached) " >&6
   6190 else
   6191   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6192 /* end confdefs.h.  */
   6193 int i;
   6194 _ACEOF
   6195 if ac_fn_c_try_compile "$LINENO"; then :
   6196   xorg_cv_cc_flag_unknown_warning_option=yes
   6197 else
   6198   xorg_cv_cc_flag_unknown_warning_option=no
   6199 fi
   6200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6201 fi
   6202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6203 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6204 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6205 	CFLAGS="$xorg_testset_save_CFLAGS"
   6206 fi
   6207 
   6208 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6209 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6210 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6211 	fi
   6212 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6213 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6214 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6215 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6216   $as_echo_n "(cached) " >&6
   6217 else
   6218   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6219 /* end confdefs.h.  */
   6220 int i;
   6221 _ACEOF
   6222 if ac_fn_c_try_compile "$LINENO"; then :
   6223   xorg_cv_cc_flag_unused_command_line_argument=yes
   6224 else
   6225   xorg_cv_cc_flag_unused_command_line_argument=no
   6226 fi
   6227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6228 fi
   6229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6230 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6231 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6232 	CFLAGS="$xorg_testset_save_CFLAGS"
   6233 fi
   6234 
   6235 found="no"
   6236 
   6237 	if test $found = "no" ; then
   6238 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6239 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6240 		fi
   6241 
   6242 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6243 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6244 		fi
   6245 
   6246 		CFLAGS="$CFLAGS -Wuninitialized"
   6247 
   6248 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6249 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6250 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6251 		if eval \${$cacheid+:} false; then :
   6252   $as_echo_n "(cached) " >&6
   6253 else
   6254   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6255 /* end confdefs.h.  */
   6256 int i;
   6257 int
   6258 main ()
   6259 {
   6260 
   6261   ;
   6262   return 0;
   6263 }
   6264 _ACEOF
   6265 if ac_fn_c_try_link "$LINENO"; then :
   6266   eval $cacheid=yes
   6267 else
   6268   eval $cacheid=no
   6269 fi
   6270 rm -f core conftest.err conftest.$ac_objext \
   6271     conftest$ac_exeext conftest.$ac_ext
   6272 fi
   6273 
   6274 
   6275 		CFLAGS="$xorg_testset_save_CFLAGS"
   6276 
   6277 		eval supported=\$$cacheid
   6278 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6279 $as_echo "$supported" >&6; }
   6280 		if test "$supported" = "yes" ; then
   6281 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6282 			found="yes"
   6283 		fi
   6284 	fi
   6285 
   6286 
   6287 
   6288 
   6289 
   6290 
   6291 
   6292 
   6293 
   6294 
   6295 
   6296 
   6297 
   6298 
   6299 
   6300 xorg_testset_save_CFLAGS="$CFLAGS"
   6301 
   6302 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6303 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6304 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6305 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6306 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6307   $as_echo_n "(cached) " >&6
   6308 else
   6309   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6310 /* end confdefs.h.  */
   6311 int i;
   6312 _ACEOF
   6313 if ac_fn_c_try_compile "$LINENO"; then :
   6314   xorg_cv_cc_flag_unknown_warning_option=yes
   6315 else
   6316   xorg_cv_cc_flag_unknown_warning_option=no
   6317 fi
   6318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6319 fi
   6320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6321 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6322 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6323 	CFLAGS="$xorg_testset_save_CFLAGS"
   6324 fi
   6325 
   6326 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6327 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6328 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6329 	fi
   6330 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6331 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6332 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6333 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6334   $as_echo_n "(cached) " >&6
   6335 else
   6336   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6337 /* end confdefs.h.  */
   6338 int i;
   6339 _ACEOF
   6340 if ac_fn_c_try_compile "$LINENO"; then :
   6341   xorg_cv_cc_flag_unused_command_line_argument=yes
   6342 else
   6343   xorg_cv_cc_flag_unused_command_line_argument=no
   6344 fi
   6345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6346 fi
   6347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6348 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6349 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6350 	CFLAGS="$xorg_testset_save_CFLAGS"
   6351 fi
   6352 
   6353 found="no"
   6354 
   6355 	if test $found = "no" ; then
   6356 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6357 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6358 		fi
   6359 
   6360 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6361 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6362 		fi
   6363 
   6364 		CFLAGS="$CFLAGS -Wshadow"
   6365 
   6366 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6367 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6368 		cacheid=xorg_cv_cc_flag__Wshadow
   6369 		if eval \${$cacheid+:} false; then :
   6370   $as_echo_n "(cached) " >&6
   6371 else
   6372   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6373 /* end confdefs.h.  */
   6374 int i;
   6375 int
   6376 main ()
   6377 {
   6378 
   6379   ;
   6380   return 0;
   6381 }
   6382 _ACEOF
   6383 if ac_fn_c_try_link "$LINENO"; then :
   6384   eval $cacheid=yes
   6385 else
   6386   eval $cacheid=no
   6387 fi
   6388 rm -f core conftest.err conftest.$ac_objext \
   6389     conftest$ac_exeext conftest.$ac_ext
   6390 fi
   6391 
   6392 
   6393 		CFLAGS="$xorg_testset_save_CFLAGS"
   6394 
   6395 		eval supported=\$$cacheid
   6396 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6397 $as_echo "$supported" >&6; }
   6398 		if test "$supported" = "yes" ; then
   6399 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6400 			found="yes"
   6401 		fi
   6402 	fi
   6403 
   6404 
   6405 
   6406 
   6407 
   6408 
   6409 
   6410 
   6411 
   6412 
   6413 
   6414 
   6415 
   6416 
   6417 
   6418 xorg_testset_save_CFLAGS="$CFLAGS"
   6419 
   6420 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6421 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6422 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6423 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6424 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6425   $as_echo_n "(cached) " >&6
   6426 else
   6427   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6428 /* end confdefs.h.  */
   6429 int i;
   6430 _ACEOF
   6431 if ac_fn_c_try_compile "$LINENO"; then :
   6432   xorg_cv_cc_flag_unknown_warning_option=yes
   6433 else
   6434   xorg_cv_cc_flag_unknown_warning_option=no
   6435 fi
   6436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6437 fi
   6438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6439 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6440 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6441 	CFLAGS="$xorg_testset_save_CFLAGS"
   6442 fi
   6443 
   6444 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6445 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6446 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6447 	fi
   6448 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6449 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6450 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6451 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6452   $as_echo_n "(cached) " >&6
   6453 else
   6454   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6455 /* end confdefs.h.  */
   6456 int i;
   6457 _ACEOF
   6458 if ac_fn_c_try_compile "$LINENO"; then :
   6459   xorg_cv_cc_flag_unused_command_line_argument=yes
   6460 else
   6461   xorg_cv_cc_flag_unused_command_line_argument=no
   6462 fi
   6463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6464 fi
   6465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6466 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6467 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6468 	CFLAGS="$xorg_testset_save_CFLAGS"
   6469 fi
   6470 
   6471 found="no"
   6472 
   6473 	if test $found = "no" ; then
   6474 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6475 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6476 		fi
   6477 
   6478 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6479 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6480 		fi
   6481 
   6482 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6483 
   6484 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6485 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6486 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6487 		if eval \${$cacheid+:} false; then :
   6488   $as_echo_n "(cached) " >&6
   6489 else
   6490   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6491 /* end confdefs.h.  */
   6492 int i;
   6493 int
   6494 main ()
   6495 {
   6496 
   6497   ;
   6498   return 0;
   6499 }
   6500 _ACEOF
   6501 if ac_fn_c_try_link "$LINENO"; then :
   6502   eval $cacheid=yes
   6503 else
   6504   eval $cacheid=no
   6505 fi
   6506 rm -f core conftest.err conftest.$ac_objext \
   6507     conftest$ac_exeext conftest.$ac_ext
   6508 fi
   6509 
   6510 
   6511 		CFLAGS="$xorg_testset_save_CFLAGS"
   6512 
   6513 		eval supported=\$$cacheid
   6514 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6515 $as_echo "$supported" >&6; }
   6516 		if test "$supported" = "yes" ; then
   6517 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6518 			found="yes"
   6519 		fi
   6520 	fi
   6521 
   6522 
   6523 
   6524 
   6525 
   6526 
   6527 
   6528 
   6529 
   6530 
   6531 
   6532 
   6533 
   6534 
   6535 
   6536 xorg_testset_save_CFLAGS="$CFLAGS"
   6537 
   6538 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6539 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6540 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6541 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6542 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6543   $as_echo_n "(cached) " >&6
   6544 else
   6545   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6546 /* end confdefs.h.  */
   6547 int i;
   6548 _ACEOF
   6549 if ac_fn_c_try_compile "$LINENO"; then :
   6550   xorg_cv_cc_flag_unknown_warning_option=yes
   6551 else
   6552   xorg_cv_cc_flag_unknown_warning_option=no
   6553 fi
   6554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6555 fi
   6556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6557 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6558 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6559 	CFLAGS="$xorg_testset_save_CFLAGS"
   6560 fi
   6561 
   6562 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6563 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6564 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6565 	fi
   6566 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6567 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6568 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6569 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6570   $as_echo_n "(cached) " >&6
   6571 else
   6572   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6573 /* end confdefs.h.  */
   6574 int i;
   6575 _ACEOF
   6576 if ac_fn_c_try_compile "$LINENO"; then :
   6577   xorg_cv_cc_flag_unused_command_line_argument=yes
   6578 else
   6579   xorg_cv_cc_flag_unused_command_line_argument=no
   6580 fi
   6581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6582 fi
   6583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6584 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6585 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6586 	CFLAGS="$xorg_testset_save_CFLAGS"
   6587 fi
   6588 
   6589 found="no"
   6590 
   6591 	if test $found = "no" ; then
   6592 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6593 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6594 		fi
   6595 
   6596 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6597 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6598 		fi
   6599 
   6600 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6601 
   6602 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6603 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6604 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6605 		if eval \${$cacheid+:} false; then :
   6606   $as_echo_n "(cached) " >&6
   6607 else
   6608   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6609 /* end confdefs.h.  */
   6610 int i;
   6611 int
   6612 main ()
   6613 {
   6614 
   6615   ;
   6616   return 0;
   6617 }
   6618 _ACEOF
   6619 if ac_fn_c_try_link "$LINENO"; then :
   6620   eval $cacheid=yes
   6621 else
   6622   eval $cacheid=no
   6623 fi
   6624 rm -f core conftest.err conftest.$ac_objext \
   6625     conftest$ac_exeext conftest.$ac_ext
   6626 fi
   6627 
   6628 
   6629 		CFLAGS="$xorg_testset_save_CFLAGS"
   6630 
   6631 		eval supported=\$$cacheid
   6632 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6633 $as_echo "$supported" >&6; }
   6634 		if test "$supported" = "yes" ; then
   6635 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6636 			found="yes"
   6637 		fi
   6638 	fi
   6639 
   6640 
   6641 
   6642 
   6643 
   6644 
   6645 
   6646 
   6647 
   6648 
   6649 
   6650 
   6651 
   6652 
   6653 
   6654 xorg_testset_save_CFLAGS="$CFLAGS"
   6655 
   6656 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6657 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6658 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6659 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6660 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6661   $as_echo_n "(cached) " >&6
   6662 else
   6663   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6664 /* end confdefs.h.  */
   6665 int i;
   6666 _ACEOF
   6667 if ac_fn_c_try_compile "$LINENO"; then :
   6668   xorg_cv_cc_flag_unknown_warning_option=yes
   6669 else
   6670   xorg_cv_cc_flag_unknown_warning_option=no
   6671 fi
   6672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6673 fi
   6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6675 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6676 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6677 	CFLAGS="$xorg_testset_save_CFLAGS"
   6678 fi
   6679 
   6680 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6681 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6682 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6683 	fi
   6684 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6685 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6686 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6687 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6688   $as_echo_n "(cached) " >&6
   6689 else
   6690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6691 /* end confdefs.h.  */
   6692 int i;
   6693 _ACEOF
   6694 if ac_fn_c_try_compile "$LINENO"; then :
   6695   xorg_cv_cc_flag_unused_command_line_argument=yes
   6696 else
   6697   xorg_cv_cc_flag_unused_command_line_argument=no
   6698 fi
   6699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6700 fi
   6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6702 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6703 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6704 	CFLAGS="$xorg_testset_save_CFLAGS"
   6705 fi
   6706 
   6707 found="no"
   6708 
   6709 	if test $found = "no" ; then
   6710 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6711 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6712 		fi
   6713 
   6714 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6715 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6716 		fi
   6717 
   6718 		CFLAGS="$CFLAGS -Wredundant-decls"
   6719 
   6720 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6721 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6722 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6723 		if eval \${$cacheid+:} false; then :
   6724   $as_echo_n "(cached) " >&6
   6725 else
   6726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6727 /* end confdefs.h.  */
   6728 int i;
   6729 int
   6730 main ()
   6731 {
   6732 
   6733   ;
   6734   return 0;
   6735 }
   6736 _ACEOF
   6737 if ac_fn_c_try_link "$LINENO"; then :
   6738   eval $cacheid=yes
   6739 else
   6740   eval $cacheid=no
   6741 fi
   6742 rm -f core conftest.err conftest.$ac_objext \
   6743     conftest$ac_exeext conftest.$ac_ext
   6744 fi
   6745 
   6746 
   6747 		CFLAGS="$xorg_testset_save_CFLAGS"
   6748 
   6749 		eval supported=\$$cacheid
   6750 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6751 $as_echo "$supported" >&6; }
   6752 		if test "$supported" = "yes" ; then
   6753 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6754 			found="yes"
   6755 		fi
   6756 	fi
   6757 
   6758 
   6759 
   6760 
   6761 
   6762 
   6763 
   6764 
   6765 
   6766 
   6767 
   6768 
   6769 
   6770 
   6771 
   6772 xorg_testset_save_CFLAGS="$CFLAGS"
   6773 
   6774 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6775 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6776 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6777 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6778 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6779   $as_echo_n "(cached) " >&6
   6780 else
   6781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6782 /* end confdefs.h.  */
   6783 int i;
   6784 _ACEOF
   6785 if ac_fn_c_try_compile "$LINENO"; then :
   6786   xorg_cv_cc_flag_unknown_warning_option=yes
   6787 else
   6788   xorg_cv_cc_flag_unknown_warning_option=no
   6789 fi
   6790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6791 fi
   6792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6793 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6794 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6795 	CFLAGS="$xorg_testset_save_CFLAGS"
   6796 fi
   6797 
   6798 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6799 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6800 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6801 	fi
   6802 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6803 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6804 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6805 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6806   $as_echo_n "(cached) " >&6
   6807 else
   6808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6809 /* end confdefs.h.  */
   6810 int i;
   6811 _ACEOF
   6812 if ac_fn_c_try_compile "$LINENO"; then :
   6813   xorg_cv_cc_flag_unused_command_line_argument=yes
   6814 else
   6815   xorg_cv_cc_flag_unused_command_line_argument=no
   6816 fi
   6817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6818 fi
   6819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6820 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6821 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6822 	CFLAGS="$xorg_testset_save_CFLAGS"
   6823 fi
   6824 
   6825 found="no"
   6826 
   6827 	if test $found = "no" ; then
   6828 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6829 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6830 		fi
   6831 
   6832 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6833 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6834 		fi
   6835 
   6836 		CFLAGS="$CFLAGS -Wlogical-op"
   6837 
   6838 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6839 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6840 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6841 		if eval \${$cacheid+:} false; then :
   6842   $as_echo_n "(cached) " >&6
   6843 else
   6844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6845 /* end confdefs.h.  */
   6846 int i;
   6847 int
   6848 main ()
   6849 {
   6850 
   6851   ;
   6852   return 0;
   6853 }
   6854 _ACEOF
   6855 if ac_fn_c_try_link "$LINENO"; then :
   6856   eval $cacheid=yes
   6857 else
   6858   eval $cacheid=no
   6859 fi
   6860 rm -f core conftest.err conftest.$ac_objext \
   6861     conftest$ac_exeext conftest.$ac_ext
   6862 fi
   6863 
   6864 
   6865 		CFLAGS="$xorg_testset_save_CFLAGS"
   6866 
   6867 		eval supported=\$$cacheid
   6868 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6869 $as_echo "$supported" >&6; }
   6870 		if test "$supported" = "yes" ; then
   6871 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   6872 			found="yes"
   6873 		fi
   6874 	fi
   6875 
   6876 
   6877 
   6878 # These are currently disabled because they are noisy.  They will be enabled
   6879 # in the future once the codebase is sufficiently modernized to silence
   6880 # them.  For now, I don't want them to drown out the other warnings.
   6881 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6882 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6883 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   6884 
   6885 # Turn some warnings into errors, so we don't accidently get successful builds
   6886 # when there are problems that should be fixed.
   6887 
   6888 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6889 
   6890 
   6891 
   6892 
   6893 
   6894 
   6895 
   6896 
   6897 
   6898 
   6899 
   6900 
   6901 
   6902 xorg_testset_save_CFLAGS="$CFLAGS"
   6903 
   6904 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6905 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6906 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6907 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6908 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6909   $as_echo_n "(cached) " >&6
   6910 else
   6911   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6912 /* end confdefs.h.  */
   6913 int i;
   6914 _ACEOF
   6915 if ac_fn_c_try_compile "$LINENO"; then :
   6916   xorg_cv_cc_flag_unknown_warning_option=yes
   6917 else
   6918   xorg_cv_cc_flag_unknown_warning_option=no
   6919 fi
   6920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6921 fi
   6922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6923 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6924 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6925 	CFLAGS="$xorg_testset_save_CFLAGS"
   6926 fi
   6927 
   6928 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6929 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6930 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6931 	fi
   6932 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6933 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6934 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6935 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6936   $as_echo_n "(cached) " >&6
   6937 else
   6938   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6939 /* end confdefs.h.  */
   6940 int i;
   6941 _ACEOF
   6942 if ac_fn_c_try_compile "$LINENO"; then :
   6943   xorg_cv_cc_flag_unused_command_line_argument=yes
   6944 else
   6945   xorg_cv_cc_flag_unused_command_line_argument=no
   6946 fi
   6947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6948 fi
   6949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6950 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6951 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6952 	CFLAGS="$xorg_testset_save_CFLAGS"
   6953 fi
   6954 
   6955 found="no"
   6956 
   6957 	if test $found = "no" ; then
   6958 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6959 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6960 		fi
   6961 
   6962 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6963 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6964 		fi
   6965 
   6966 		CFLAGS="$CFLAGS -Werror=implicit"
   6967 
   6968 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6969 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6970 		cacheid=xorg_cv_cc_flag__Werror_implicit
   6971 		if eval \${$cacheid+:} false; then :
   6972   $as_echo_n "(cached) " >&6
   6973 else
   6974   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6975 /* end confdefs.h.  */
   6976 int i;
   6977 int
   6978 main ()
   6979 {
   6980 
   6981   ;
   6982   return 0;
   6983 }
   6984 _ACEOF
   6985 if ac_fn_c_try_link "$LINENO"; then :
   6986   eval $cacheid=yes
   6987 else
   6988   eval $cacheid=no
   6989 fi
   6990 rm -f core conftest.err conftest.$ac_objext \
   6991     conftest$ac_exeext conftest.$ac_ext
   6992 fi
   6993 
   6994 
   6995 		CFLAGS="$xorg_testset_save_CFLAGS"
   6996 
   6997 		eval supported=\$$cacheid
   6998 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6999 $as_echo "$supported" >&6; }
   7000 		if test "$supported" = "yes" ; then
   7001 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7002 			found="yes"
   7003 		fi
   7004 	fi
   7005 
   7006 	if test $found = "no" ; then
   7007 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7008 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7009 		fi
   7010 
   7011 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7012 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7013 		fi
   7014 
   7015 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7016 
   7017 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   7018 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7019 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7020 		if eval \${$cacheid+:} false; then :
   7021   $as_echo_n "(cached) " >&6
   7022 else
   7023   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7024 /* end confdefs.h.  */
   7025 int i;
   7026 int
   7027 main ()
   7028 {
   7029 
   7030   ;
   7031   return 0;
   7032 }
   7033 _ACEOF
   7034 if ac_fn_c_try_link "$LINENO"; then :
   7035   eval $cacheid=yes
   7036 else
   7037   eval $cacheid=no
   7038 fi
   7039 rm -f core conftest.err conftest.$ac_objext \
   7040     conftest$ac_exeext conftest.$ac_ext
   7041 fi
   7042 
   7043 
   7044 		CFLAGS="$xorg_testset_save_CFLAGS"
   7045 
   7046 		eval supported=\$$cacheid
   7047 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7048 $as_echo "$supported" >&6; }
   7049 		if test "$supported" = "yes" ; then
   7050 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7051 			found="yes"
   7052 		fi
   7053 	fi
   7054 
   7055 
   7056 
   7057 
   7058 
   7059 
   7060 
   7061 
   7062 
   7063 
   7064 
   7065 
   7066 
   7067 
   7068 
   7069 xorg_testset_save_CFLAGS="$CFLAGS"
   7070 
   7071 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7072 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7073 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7074 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7075 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7076   $as_echo_n "(cached) " >&6
   7077 else
   7078   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7079 /* end confdefs.h.  */
   7080 int i;
   7081 _ACEOF
   7082 if ac_fn_c_try_compile "$LINENO"; then :
   7083   xorg_cv_cc_flag_unknown_warning_option=yes
   7084 else
   7085   xorg_cv_cc_flag_unknown_warning_option=no
   7086 fi
   7087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7088 fi
   7089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7090 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7091 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7092 	CFLAGS="$xorg_testset_save_CFLAGS"
   7093 fi
   7094 
   7095 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7096 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7097 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7098 	fi
   7099 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7100 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7101 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7102 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7103   $as_echo_n "(cached) " >&6
   7104 else
   7105   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7106 /* end confdefs.h.  */
   7107 int i;
   7108 _ACEOF
   7109 if ac_fn_c_try_compile "$LINENO"; then :
   7110   xorg_cv_cc_flag_unused_command_line_argument=yes
   7111 else
   7112   xorg_cv_cc_flag_unused_command_line_argument=no
   7113 fi
   7114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7115 fi
   7116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7117 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7118 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7119 	CFLAGS="$xorg_testset_save_CFLAGS"
   7120 fi
   7121 
   7122 found="no"
   7123 
   7124 	if test $found = "no" ; then
   7125 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7126 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7127 		fi
   7128 
   7129 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7130 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7131 		fi
   7132 
   7133 		CFLAGS="$CFLAGS -Werror=nonnull"
   7134 
   7135 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7136 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7137 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7138 		if eval \${$cacheid+:} false; then :
   7139   $as_echo_n "(cached) " >&6
   7140 else
   7141   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7142 /* end confdefs.h.  */
   7143 int i;
   7144 int
   7145 main ()
   7146 {
   7147 
   7148   ;
   7149   return 0;
   7150 }
   7151 _ACEOF
   7152 if ac_fn_c_try_link "$LINENO"; then :
   7153   eval $cacheid=yes
   7154 else
   7155   eval $cacheid=no
   7156 fi
   7157 rm -f core conftest.err conftest.$ac_objext \
   7158     conftest$ac_exeext conftest.$ac_ext
   7159 fi
   7160 
   7161 
   7162 		CFLAGS="$xorg_testset_save_CFLAGS"
   7163 
   7164 		eval supported=\$$cacheid
   7165 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7166 $as_echo "$supported" >&6; }
   7167 		if test "$supported" = "yes" ; then
   7168 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7169 			found="yes"
   7170 		fi
   7171 	fi
   7172 
   7173 
   7174 
   7175 
   7176 
   7177 
   7178 
   7179 
   7180 
   7181 
   7182 
   7183 
   7184 
   7185 
   7186 
   7187 xorg_testset_save_CFLAGS="$CFLAGS"
   7188 
   7189 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7190 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7191 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7192 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7193 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7194   $as_echo_n "(cached) " >&6
   7195 else
   7196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7197 /* end confdefs.h.  */
   7198 int i;
   7199 _ACEOF
   7200 if ac_fn_c_try_compile "$LINENO"; then :
   7201   xorg_cv_cc_flag_unknown_warning_option=yes
   7202 else
   7203   xorg_cv_cc_flag_unknown_warning_option=no
   7204 fi
   7205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7206 fi
   7207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7208 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7209 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7210 	CFLAGS="$xorg_testset_save_CFLAGS"
   7211 fi
   7212 
   7213 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7214 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7215 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7216 	fi
   7217 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7218 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7219 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7220 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7221   $as_echo_n "(cached) " >&6
   7222 else
   7223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7224 /* end confdefs.h.  */
   7225 int i;
   7226 _ACEOF
   7227 if ac_fn_c_try_compile "$LINENO"; then :
   7228   xorg_cv_cc_flag_unused_command_line_argument=yes
   7229 else
   7230   xorg_cv_cc_flag_unused_command_line_argument=no
   7231 fi
   7232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7233 fi
   7234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7235 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7236 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7237 	CFLAGS="$xorg_testset_save_CFLAGS"
   7238 fi
   7239 
   7240 found="no"
   7241 
   7242 	if test $found = "no" ; then
   7243 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7244 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7245 		fi
   7246 
   7247 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7248 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7249 		fi
   7250 
   7251 		CFLAGS="$CFLAGS -Werror=init-self"
   7252 
   7253 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7254 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7255 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7256 		if eval \${$cacheid+:} false; then :
   7257   $as_echo_n "(cached) " >&6
   7258 else
   7259   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7260 /* end confdefs.h.  */
   7261 int i;
   7262 int
   7263 main ()
   7264 {
   7265 
   7266   ;
   7267   return 0;
   7268 }
   7269 _ACEOF
   7270 if ac_fn_c_try_link "$LINENO"; then :
   7271   eval $cacheid=yes
   7272 else
   7273   eval $cacheid=no
   7274 fi
   7275 rm -f core conftest.err conftest.$ac_objext \
   7276     conftest$ac_exeext conftest.$ac_ext
   7277 fi
   7278 
   7279 
   7280 		CFLAGS="$xorg_testset_save_CFLAGS"
   7281 
   7282 		eval supported=\$$cacheid
   7283 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7284 $as_echo "$supported" >&6; }
   7285 		if test "$supported" = "yes" ; then
   7286 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7287 			found="yes"
   7288 		fi
   7289 	fi
   7290 
   7291 
   7292 
   7293 
   7294 
   7295 
   7296 
   7297 
   7298 
   7299 
   7300 
   7301 
   7302 
   7303 
   7304 
   7305 xorg_testset_save_CFLAGS="$CFLAGS"
   7306 
   7307 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7308 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7309 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7310 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7311 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7312   $as_echo_n "(cached) " >&6
   7313 else
   7314   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7315 /* end confdefs.h.  */
   7316 int i;
   7317 _ACEOF
   7318 if ac_fn_c_try_compile "$LINENO"; then :
   7319   xorg_cv_cc_flag_unknown_warning_option=yes
   7320 else
   7321   xorg_cv_cc_flag_unknown_warning_option=no
   7322 fi
   7323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7324 fi
   7325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7326 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7327 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7328 	CFLAGS="$xorg_testset_save_CFLAGS"
   7329 fi
   7330 
   7331 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7332 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7333 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7334 	fi
   7335 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7336 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7337 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7338 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7339   $as_echo_n "(cached) " >&6
   7340 else
   7341   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7342 /* end confdefs.h.  */
   7343 int i;
   7344 _ACEOF
   7345 if ac_fn_c_try_compile "$LINENO"; then :
   7346   xorg_cv_cc_flag_unused_command_line_argument=yes
   7347 else
   7348   xorg_cv_cc_flag_unused_command_line_argument=no
   7349 fi
   7350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7351 fi
   7352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7353 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7354 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7355 	CFLAGS="$xorg_testset_save_CFLAGS"
   7356 fi
   7357 
   7358 found="no"
   7359 
   7360 	if test $found = "no" ; then
   7361 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7362 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7363 		fi
   7364 
   7365 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7366 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7367 		fi
   7368 
   7369 		CFLAGS="$CFLAGS -Werror=main"
   7370 
   7371 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7372 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7373 		cacheid=xorg_cv_cc_flag__Werror_main
   7374 		if eval \${$cacheid+:} false; then :
   7375   $as_echo_n "(cached) " >&6
   7376 else
   7377   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7378 /* end confdefs.h.  */
   7379 int i;
   7380 int
   7381 main ()
   7382 {
   7383 
   7384   ;
   7385   return 0;
   7386 }
   7387 _ACEOF
   7388 if ac_fn_c_try_link "$LINENO"; then :
   7389   eval $cacheid=yes
   7390 else
   7391   eval $cacheid=no
   7392 fi
   7393 rm -f core conftest.err conftest.$ac_objext \
   7394     conftest$ac_exeext conftest.$ac_ext
   7395 fi
   7396 
   7397 
   7398 		CFLAGS="$xorg_testset_save_CFLAGS"
   7399 
   7400 		eval supported=\$$cacheid
   7401 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7402 $as_echo "$supported" >&6; }
   7403 		if test "$supported" = "yes" ; then
   7404 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7405 			found="yes"
   7406 		fi
   7407 	fi
   7408 
   7409 
   7410 
   7411 
   7412 
   7413 
   7414 
   7415 
   7416 
   7417 
   7418 
   7419 
   7420 
   7421 
   7422 
   7423 xorg_testset_save_CFLAGS="$CFLAGS"
   7424 
   7425 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7426 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7427 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7428 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7429 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7430   $as_echo_n "(cached) " >&6
   7431 else
   7432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7433 /* end confdefs.h.  */
   7434 int i;
   7435 _ACEOF
   7436 if ac_fn_c_try_compile "$LINENO"; then :
   7437   xorg_cv_cc_flag_unknown_warning_option=yes
   7438 else
   7439   xorg_cv_cc_flag_unknown_warning_option=no
   7440 fi
   7441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7442 fi
   7443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7444 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7445 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7446 	CFLAGS="$xorg_testset_save_CFLAGS"
   7447 fi
   7448 
   7449 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7450 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7451 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7452 	fi
   7453 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7454 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7455 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7456 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7457   $as_echo_n "(cached) " >&6
   7458 else
   7459   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7460 /* end confdefs.h.  */
   7461 int i;
   7462 _ACEOF
   7463 if ac_fn_c_try_compile "$LINENO"; then :
   7464   xorg_cv_cc_flag_unused_command_line_argument=yes
   7465 else
   7466   xorg_cv_cc_flag_unused_command_line_argument=no
   7467 fi
   7468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7469 fi
   7470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7471 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7472 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7473 	CFLAGS="$xorg_testset_save_CFLAGS"
   7474 fi
   7475 
   7476 found="no"
   7477 
   7478 	if test $found = "no" ; then
   7479 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7480 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7481 		fi
   7482 
   7483 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7484 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7485 		fi
   7486 
   7487 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7488 
   7489 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7490 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7491 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7492 		if eval \${$cacheid+:} false; then :
   7493   $as_echo_n "(cached) " >&6
   7494 else
   7495   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7496 /* end confdefs.h.  */
   7497 int i;
   7498 int
   7499 main ()
   7500 {
   7501 
   7502   ;
   7503   return 0;
   7504 }
   7505 _ACEOF
   7506 if ac_fn_c_try_link "$LINENO"; then :
   7507   eval $cacheid=yes
   7508 else
   7509   eval $cacheid=no
   7510 fi
   7511 rm -f core conftest.err conftest.$ac_objext \
   7512     conftest$ac_exeext conftest.$ac_ext
   7513 fi
   7514 
   7515 
   7516 		CFLAGS="$xorg_testset_save_CFLAGS"
   7517 
   7518 		eval supported=\$$cacheid
   7519 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7520 $as_echo "$supported" >&6; }
   7521 		if test "$supported" = "yes" ; then
   7522 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7523 			found="yes"
   7524 		fi
   7525 	fi
   7526 
   7527 
   7528 
   7529 
   7530 
   7531 
   7532 
   7533 
   7534 
   7535 
   7536 
   7537 
   7538 
   7539 
   7540 
   7541 xorg_testset_save_CFLAGS="$CFLAGS"
   7542 
   7543 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7544 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7545 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7546 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7547 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7548   $as_echo_n "(cached) " >&6
   7549 else
   7550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7551 /* end confdefs.h.  */
   7552 int i;
   7553 _ACEOF
   7554 if ac_fn_c_try_compile "$LINENO"; then :
   7555   xorg_cv_cc_flag_unknown_warning_option=yes
   7556 else
   7557   xorg_cv_cc_flag_unknown_warning_option=no
   7558 fi
   7559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7560 fi
   7561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7562 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7563 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7564 	CFLAGS="$xorg_testset_save_CFLAGS"
   7565 fi
   7566 
   7567 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7568 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7569 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7570 	fi
   7571 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7572 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7573 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7574 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7575   $as_echo_n "(cached) " >&6
   7576 else
   7577   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7578 /* end confdefs.h.  */
   7579 int i;
   7580 _ACEOF
   7581 if ac_fn_c_try_compile "$LINENO"; then :
   7582   xorg_cv_cc_flag_unused_command_line_argument=yes
   7583 else
   7584   xorg_cv_cc_flag_unused_command_line_argument=no
   7585 fi
   7586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7587 fi
   7588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7589 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7590 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7591 	CFLAGS="$xorg_testset_save_CFLAGS"
   7592 fi
   7593 
   7594 found="no"
   7595 
   7596 	if test $found = "no" ; then
   7597 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7598 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7599 		fi
   7600 
   7601 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7602 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7603 		fi
   7604 
   7605 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7606 
   7607 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7608 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7609 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7610 		if eval \${$cacheid+:} false; then :
   7611   $as_echo_n "(cached) " >&6
   7612 else
   7613   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7614 /* end confdefs.h.  */
   7615 int i;
   7616 int
   7617 main ()
   7618 {
   7619 
   7620   ;
   7621   return 0;
   7622 }
   7623 _ACEOF
   7624 if ac_fn_c_try_link "$LINENO"; then :
   7625   eval $cacheid=yes
   7626 else
   7627   eval $cacheid=no
   7628 fi
   7629 rm -f core conftest.err conftest.$ac_objext \
   7630     conftest$ac_exeext conftest.$ac_ext
   7631 fi
   7632 
   7633 
   7634 		CFLAGS="$xorg_testset_save_CFLAGS"
   7635 
   7636 		eval supported=\$$cacheid
   7637 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7638 $as_echo "$supported" >&6; }
   7639 		if test "$supported" = "yes" ; then
   7640 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7641 			found="yes"
   7642 		fi
   7643 	fi
   7644 
   7645 
   7646 
   7647 
   7648 
   7649 
   7650 
   7651 
   7652 
   7653 
   7654 
   7655 
   7656 
   7657 
   7658 
   7659 xorg_testset_save_CFLAGS="$CFLAGS"
   7660 
   7661 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7662 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7663 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7664 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7665 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7666   $as_echo_n "(cached) " >&6
   7667 else
   7668   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7669 /* end confdefs.h.  */
   7670 int i;
   7671 _ACEOF
   7672 if ac_fn_c_try_compile "$LINENO"; then :
   7673   xorg_cv_cc_flag_unknown_warning_option=yes
   7674 else
   7675   xorg_cv_cc_flag_unknown_warning_option=no
   7676 fi
   7677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7678 fi
   7679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7680 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7681 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7682 	CFLAGS="$xorg_testset_save_CFLAGS"
   7683 fi
   7684 
   7685 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7686 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7687 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7688 	fi
   7689 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7690 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7691 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7692 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7693   $as_echo_n "(cached) " >&6
   7694 else
   7695   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7696 /* end confdefs.h.  */
   7697 int i;
   7698 _ACEOF
   7699 if ac_fn_c_try_compile "$LINENO"; then :
   7700   xorg_cv_cc_flag_unused_command_line_argument=yes
   7701 else
   7702   xorg_cv_cc_flag_unused_command_line_argument=no
   7703 fi
   7704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7705 fi
   7706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7707 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7708 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7709 	CFLAGS="$xorg_testset_save_CFLAGS"
   7710 fi
   7711 
   7712 found="no"
   7713 
   7714 	if test $found = "no" ; then
   7715 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7716 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7717 		fi
   7718 
   7719 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7720 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7721 		fi
   7722 
   7723 		CFLAGS="$CFLAGS -Werror=return-type"
   7724 
   7725 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7726 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7727 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7728 		if eval \${$cacheid+:} false; then :
   7729   $as_echo_n "(cached) " >&6
   7730 else
   7731   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7732 /* end confdefs.h.  */
   7733 int i;
   7734 int
   7735 main ()
   7736 {
   7737 
   7738   ;
   7739   return 0;
   7740 }
   7741 _ACEOF
   7742 if ac_fn_c_try_link "$LINENO"; then :
   7743   eval $cacheid=yes
   7744 else
   7745   eval $cacheid=no
   7746 fi
   7747 rm -f core conftest.err conftest.$ac_objext \
   7748     conftest$ac_exeext conftest.$ac_ext
   7749 fi
   7750 
   7751 
   7752 		CFLAGS="$xorg_testset_save_CFLAGS"
   7753 
   7754 		eval supported=\$$cacheid
   7755 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7756 $as_echo "$supported" >&6; }
   7757 		if test "$supported" = "yes" ; then
   7758 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7759 			found="yes"
   7760 		fi
   7761 	fi
   7762 
   7763 	if test $found = "no" ; then
   7764 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7765 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7766 		fi
   7767 
   7768 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7769 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7770 		fi
   7771 
   7772 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7773 
   7774 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7775 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7776 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7777 		if eval \${$cacheid+:} false; then :
   7778   $as_echo_n "(cached) " >&6
   7779 else
   7780   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7781 /* end confdefs.h.  */
   7782 int i;
   7783 int
   7784 main ()
   7785 {
   7786 
   7787   ;
   7788   return 0;
   7789 }
   7790 _ACEOF
   7791 if ac_fn_c_try_link "$LINENO"; then :
   7792   eval $cacheid=yes
   7793 else
   7794   eval $cacheid=no
   7795 fi
   7796 rm -f core conftest.err conftest.$ac_objext \
   7797     conftest$ac_exeext conftest.$ac_ext
   7798 fi
   7799 
   7800 
   7801 		CFLAGS="$xorg_testset_save_CFLAGS"
   7802 
   7803 		eval supported=\$$cacheid
   7804 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7805 $as_echo "$supported" >&6; }
   7806 		if test "$supported" = "yes" ; then
   7807 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7808 			found="yes"
   7809 		fi
   7810 	fi
   7811 
   7812 
   7813 
   7814 
   7815 
   7816 
   7817 
   7818 
   7819 
   7820 
   7821 
   7822 
   7823 
   7824 
   7825 
   7826 xorg_testset_save_CFLAGS="$CFLAGS"
   7827 
   7828 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7829 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7830 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7831 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7832 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7833   $as_echo_n "(cached) " >&6
   7834 else
   7835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7836 /* end confdefs.h.  */
   7837 int i;
   7838 _ACEOF
   7839 if ac_fn_c_try_compile "$LINENO"; then :
   7840   xorg_cv_cc_flag_unknown_warning_option=yes
   7841 else
   7842   xorg_cv_cc_flag_unknown_warning_option=no
   7843 fi
   7844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7845 fi
   7846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7847 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7848 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7849 	CFLAGS="$xorg_testset_save_CFLAGS"
   7850 fi
   7851 
   7852 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7853 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7854 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7855 	fi
   7856 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7857 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7858 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7859 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7860   $as_echo_n "(cached) " >&6
   7861 else
   7862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7863 /* end confdefs.h.  */
   7864 int i;
   7865 _ACEOF
   7866 if ac_fn_c_try_compile "$LINENO"; then :
   7867   xorg_cv_cc_flag_unused_command_line_argument=yes
   7868 else
   7869   xorg_cv_cc_flag_unused_command_line_argument=no
   7870 fi
   7871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7872 fi
   7873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7874 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7875 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7876 	CFLAGS="$xorg_testset_save_CFLAGS"
   7877 fi
   7878 
   7879 found="no"
   7880 
   7881 	if test $found = "no" ; then
   7882 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7883 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7884 		fi
   7885 
   7886 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7887 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7888 		fi
   7889 
   7890 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7891 
   7892 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7893 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7894 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   7895 		if eval \${$cacheid+:} false; then :
   7896   $as_echo_n "(cached) " >&6
   7897 else
   7898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7899 /* end confdefs.h.  */
   7900 int i;
   7901 int
   7902 main ()
   7903 {
   7904 
   7905   ;
   7906   return 0;
   7907 }
   7908 _ACEOF
   7909 if ac_fn_c_try_link "$LINENO"; then :
   7910   eval $cacheid=yes
   7911 else
   7912   eval $cacheid=no
   7913 fi
   7914 rm -f core conftest.err conftest.$ac_objext \
   7915     conftest$ac_exeext conftest.$ac_ext
   7916 fi
   7917 
   7918 
   7919 		CFLAGS="$xorg_testset_save_CFLAGS"
   7920 
   7921 		eval supported=\$$cacheid
   7922 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7923 $as_echo "$supported" >&6; }
   7924 		if test "$supported" = "yes" ; then
   7925 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7926 			found="yes"
   7927 		fi
   7928 	fi
   7929 
   7930 
   7931 
   7932 
   7933 
   7934 
   7935 
   7936 
   7937 
   7938 
   7939 
   7940 
   7941 
   7942 
   7943 
   7944 xorg_testset_save_CFLAGS="$CFLAGS"
   7945 
   7946 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7947 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7948 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7949 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7950 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7951   $as_echo_n "(cached) " >&6
   7952 else
   7953   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7954 /* end confdefs.h.  */
   7955 int i;
   7956 _ACEOF
   7957 if ac_fn_c_try_compile "$LINENO"; then :
   7958   xorg_cv_cc_flag_unknown_warning_option=yes
   7959 else
   7960   xorg_cv_cc_flag_unknown_warning_option=no
   7961 fi
   7962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7963 fi
   7964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7965 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7966 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7967 	CFLAGS="$xorg_testset_save_CFLAGS"
   7968 fi
   7969 
   7970 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7971 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7972 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7973 	fi
   7974 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7975 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7976 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7977 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7978   $as_echo_n "(cached) " >&6
   7979 else
   7980   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7981 /* end confdefs.h.  */
   7982 int i;
   7983 _ACEOF
   7984 if ac_fn_c_try_compile "$LINENO"; then :
   7985   xorg_cv_cc_flag_unused_command_line_argument=yes
   7986 else
   7987   xorg_cv_cc_flag_unused_command_line_argument=no
   7988 fi
   7989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7990 fi
   7991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7992 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7993 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7994 	CFLAGS="$xorg_testset_save_CFLAGS"
   7995 fi
   7996 
   7997 found="no"
   7998 
   7999 	if test $found = "no" ; then
   8000 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8001 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8002 		fi
   8003 
   8004 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8005 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8006 		fi
   8007 
   8008 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8009 
   8010 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8011 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   8012 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8013 		if eval \${$cacheid+:} false; then :
   8014   $as_echo_n "(cached) " >&6
   8015 else
   8016   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8017 /* end confdefs.h.  */
   8018 int i;
   8019 int
   8020 main ()
   8021 {
   8022 
   8023   ;
   8024   return 0;
   8025 }
   8026 _ACEOF
   8027 if ac_fn_c_try_link "$LINENO"; then :
   8028   eval $cacheid=yes
   8029 else
   8030   eval $cacheid=no
   8031 fi
   8032 rm -f core conftest.err conftest.$ac_objext \
   8033     conftest$ac_exeext conftest.$ac_ext
   8034 fi
   8035 
   8036 
   8037 		CFLAGS="$xorg_testset_save_CFLAGS"
   8038 
   8039 		eval supported=\$$cacheid
   8040 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8041 $as_echo "$supported" >&6; }
   8042 		if test "$supported" = "yes" ; then
   8043 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8044 			found="yes"
   8045 		fi
   8046 	fi
   8047 
   8048 
   8049 
   8050 
   8051 
   8052 
   8053 
   8054 
   8055 
   8056 
   8057 
   8058 
   8059 
   8060 
   8061 
   8062 xorg_testset_save_CFLAGS="$CFLAGS"
   8063 
   8064 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8065 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8066 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8067 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8068 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8069   $as_echo_n "(cached) " >&6
   8070 else
   8071   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8072 /* end confdefs.h.  */
   8073 int i;
   8074 _ACEOF
   8075 if ac_fn_c_try_compile "$LINENO"; then :
   8076   xorg_cv_cc_flag_unknown_warning_option=yes
   8077 else
   8078   xorg_cv_cc_flag_unknown_warning_option=no
   8079 fi
   8080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8081 fi
   8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8083 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8084 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8085 	CFLAGS="$xorg_testset_save_CFLAGS"
   8086 fi
   8087 
   8088 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8089 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8090 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8091 	fi
   8092 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8093 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8094 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8095 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8096   $as_echo_n "(cached) " >&6
   8097 else
   8098   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8099 /* end confdefs.h.  */
   8100 int i;
   8101 _ACEOF
   8102 if ac_fn_c_try_compile "$LINENO"; then :
   8103   xorg_cv_cc_flag_unused_command_line_argument=yes
   8104 else
   8105   xorg_cv_cc_flag_unused_command_line_argument=no
   8106 fi
   8107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8108 fi
   8109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8110 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8111 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8112 	CFLAGS="$xorg_testset_save_CFLAGS"
   8113 fi
   8114 
   8115 found="no"
   8116 
   8117 	if test $found = "no" ; then
   8118 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8119 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8120 		fi
   8121 
   8122 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8123 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8124 		fi
   8125 
   8126 		CFLAGS="$CFLAGS -Werror=write-strings"
   8127 
   8128 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8129 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8130 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8131 		if eval \${$cacheid+:} false; then :
   8132   $as_echo_n "(cached) " >&6
   8133 else
   8134   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8135 /* end confdefs.h.  */
   8136 int i;
   8137 int
   8138 main ()
   8139 {
   8140 
   8141   ;
   8142   return 0;
   8143 }
   8144 _ACEOF
   8145 if ac_fn_c_try_link "$LINENO"; then :
   8146   eval $cacheid=yes
   8147 else
   8148   eval $cacheid=no
   8149 fi
   8150 rm -f core conftest.err conftest.$ac_objext \
   8151     conftest$ac_exeext conftest.$ac_ext
   8152 fi
   8153 
   8154 
   8155 		CFLAGS="$xorg_testset_save_CFLAGS"
   8156 
   8157 		eval supported=\$$cacheid
   8158 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8159 $as_echo "$supported" >&6; }
   8160 		if test "$supported" = "yes" ; then
   8161 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8162 			found="yes"
   8163 		fi
   8164 	fi
   8165 
   8166 
   8167 
   8168 
   8169 
   8170 
   8171 
   8172 
   8173 
   8174 
   8175 
   8176 
   8177 
   8178 
   8179 
   8180 xorg_testset_save_CFLAGS="$CFLAGS"
   8181 
   8182 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8183 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8184 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8185 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8186 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8187   $as_echo_n "(cached) " >&6
   8188 else
   8189   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8190 /* end confdefs.h.  */
   8191 int i;
   8192 _ACEOF
   8193 if ac_fn_c_try_compile "$LINENO"; then :
   8194   xorg_cv_cc_flag_unknown_warning_option=yes
   8195 else
   8196   xorg_cv_cc_flag_unknown_warning_option=no
   8197 fi
   8198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8199 fi
   8200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8201 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8202 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8203 	CFLAGS="$xorg_testset_save_CFLAGS"
   8204 fi
   8205 
   8206 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8207 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8208 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8209 	fi
   8210 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8211 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8212 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8213 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8214   $as_echo_n "(cached) " >&6
   8215 else
   8216   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8217 /* end confdefs.h.  */
   8218 int i;
   8219 _ACEOF
   8220 if ac_fn_c_try_compile "$LINENO"; then :
   8221   xorg_cv_cc_flag_unused_command_line_argument=yes
   8222 else
   8223   xorg_cv_cc_flag_unused_command_line_argument=no
   8224 fi
   8225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8226 fi
   8227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8228 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8229 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8230 	CFLAGS="$xorg_testset_save_CFLAGS"
   8231 fi
   8232 
   8233 found="no"
   8234 
   8235 	if test $found = "no" ; then
   8236 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8237 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8238 		fi
   8239 
   8240 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8241 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8242 		fi
   8243 
   8244 		CFLAGS="$CFLAGS -Werror=address"
   8245 
   8246 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8247 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8248 		cacheid=xorg_cv_cc_flag__Werror_address
   8249 		if eval \${$cacheid+:} false; then :
   8250   $as_echo_n "(cached) " >&6
   8251 else
   8252   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8253 /* end confdefs.h.  */
   8254 int i;
   8255 int
   8256 main ()
   8257 {
   8258 
   8259   ;
   8260   return 0;
   8261 }
   8262 _ACEOF
   8263 if ac_fn_c_try_link "$LINENO"; then :
   8264   eval $cacheid=yes
   8265 else
   8266   eval $cacheid=no
   8267 fi
   8268 rm -f core conftest.err conftest.$ac_objext \
   8269     conftest$ac_exeext conftest.$ac_ext
   8270 fi
   8271 
   8272 
   8273 		CFLAGS="$xorg_testset_save_CFLAGS"
   8274 
   8275 		eval supported=\$$cacheid
   8276 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8277 $as_echo "$supported" >&6; }
   8278 		if test "$supported" = "yes" ; then
   8279 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8280 			found="yes"
   8281 		fi
   8282 	fi
   8283 
   8284 
   8285 
   8286 
   8287 
   8288 
   8289 
   8290 
   8291 
   8292 
   8293 
   8294 
   8295 
   8296 
   8297 
   8298 xorg_testset_save_CFLAGS="$CFLAGS"
   8299 
   8300 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8301 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8302 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8303 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8304 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8305   $as_echo_n "(cached) " >&6
   8306 else
   8307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8308 /* end confdefs.h.  */
   8309 int i;
   8310 _ACEOF
   8311 if ac_fn_c_try_compile "$LINENO"; then :
   8312   xorg_cv_cc_flag_unknown_warning_option=yes
   8313 else
   8314   xorg_cv_cc_flag_unknown_warning_option=no
   8315 fi
   8316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8317 fi
   8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8319 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8320 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8321 	CFLAGS="$xorg_testset_save_CFLAGS"
   8322 fi
   8323 
   8324 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8325 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8326 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8327 	fi
   8328 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8329 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8330 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8331 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8332   $as_echo_n "(cached) " >&6
   8333 else
   8334   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8335 /* end confdefs.h.  */
   8336 int i;
   8337 _ACEOF
   8338 if ac_fn_c_try_compile "$LINENO"; then :
   8339   xorg_cv_cc_flag_unused_command_line_argument=yes
   8340 else
   8341   xorg_cv_cc_flag_unused_command_line_argument=no
   8342 fi
   8343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8344 fi
   8345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8346 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8347 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8348 	CFLAGS="$xorg_testset_save_CFLAGS"
   8349 fi
   8350 
   8351 found="no"
   8352 
   8353 	if test $found = "no" ; then
   8354 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8355 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8356 		fi
   8357 
   8358 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8359 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8360 		fi
   8361 
   8362 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8363 
   8364 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8365 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8366 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8367 		if eval \${$cacheid+:} false; then :
   8368   $as_echo_n "(cached) " >&6
   8369 else
   8370   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8371 /* end confdefs.h.  */
   8372 int i;
   8373 int
   8374 main ()
   8375 {
   8376 
   8377   ;
   8378   return 0;
   8379 }
   8380 _ACEOF
   8381 if ac_fn_c_try_link "$LINENO"; then :
   8382   eval $cacheid=yes
   8383 else
   8384   eval $cacheid=no
   8385 fi
   8386 rm -f core conftest.err conftest.$ac_objext \
   8387     conftest$ac_exeext conftest.$ac_ext
   8388 fi
   8389 
   8390 
   8391 		CFLAGS="$xorg_testset_save_CFLAGS"
   8392 
   8393 		eval supported=\$$cacheid
   8394 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8395 $as_echo "$supported" >&6; }
   8396 		if test "$supported" = "yes" ; then
   8397 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8398 			found="yes"
   8399 		fi
   8400 	fi
   8401 
   8402 	if test $found = "no" ; then
   8403 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8404 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8405 		fi
   8406 
   8407 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8408 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8409 		fi
   8410 
   8411 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8412 
   8413 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8414 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8415 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8416 		if eval \${$cacheid+:} false; then :
   8417   $as_echo_n "(cached) " >&6
   8418 else
   8419   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8420 /* end confdefs.h.  */
   8421 int i;
   8422 int
   8423 main ()
   8424 {
   8425 
   8426   ;
   8427   return 0;
   8428 }
   8429 _ACEOF
   8430 if ac_fn_c_try_link "$LINENO"; then :
   8431   eval $cacheid=yes
   8432 else
   8433   eval $cacheid=no
   8434 fi
   8435 rm -f core conftest.err conftest.$ac_objext \
   8436     conftest$ac_exeext conftest.$ac_ext
   8437 fi
   8438 
   8439 
   8440 		CFLAGS="$xorg_testset_save_CFLAGS"
   8441 
   8442 		eval supported=\$$cacheid
   8443 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8444 $as_echo "$supported" >&6; }
   8445 		if test "$supported" = "yes" ; then
   8446 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8447 			found="yes"
   8448 		fi
   8449 	fi
   8450 
   8451 
   8452 
   8453 
   8454 
   8455 
   8456 
   8457 
   8458 
   8459 
   8460 
   8461 
   8462 
   8463 
   8464 
   8465 xorg_testset_save_CFLAGS="$CFLAGS"
   8466 
   8467 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8468 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8469 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8470 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8471 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8472   $as_echo_n "(cached) " >&6
   8473 else
   8474   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8475 /* end confdefs.h.  */
   8476 int i;
   8477 _ACEOF
   8478 if ac_fn_c_try_compile "$LINENO"; then :
   8479   xorg_cv_cc_flag_unknown_warning_option=yes
   8480 else
   8481   xorg_cv_cc_flag_unknown_warning_option=no
   8482 fi
   8483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8484 fi
   8485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8486 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8487 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8488 	CFLAGS="$xorg_testset_save_CFLAGS"
   8489 fi
   8490 
   8491 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8492 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8493 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8494 	fi
   8495 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8496 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8497 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8498 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8499   $as_echo_n "(cached) " >&6
   8500 else
   8501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8502 /* end confdefs.h.  */
   8503 int i;
   8504 _ACEOF
   8505 if ac_fn_c_try_compile "$LINENO"; then :
   8506   xorg_cv_cc_flag_unused_command_line_argument=yes
   8507 else
   8508   xorg_cv_cc_flag_unused_command_line_argument=no
   8509 fi
   8510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8511 fi
   8512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8513 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8514 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8515 	CFLAGS="$xorg_testset_save_CFLAGS"
   8516 fi
   8517 
   8518 found="no"
   8519 
   8520 	if test $found = "no" ; then
   8521 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8522 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8523 		fi
   8524 
   8525 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8526 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8527 		fi
   8528 
   8529 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8530 
   8531 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8532 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8533 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8534 		if eval \${$cacheid+:} false; then :
   8535   $as_echo_n "(cached) " >&6
   8536 else
   8537   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8538 /* end confdefs.h.  */
   8539 int i;
   8540 int
   8541 main ()
   8542 {
   8543 
   8544   ;
   8545   return 0;
   8546 }
   8547 _ACEOF
   8548 if ac_fn_c_try_link "$LINENO"; then :
   8549   eval $cacheid=yes
   8550 else
   8551   eval $cacheid=no
   8552 fi
   8553 rm -f core conftest.err conftest.$ac_objext \
   8554     conftest$ac_exeext conftest.$ac_ext
   8555 fi
   8556 
   8557 
   8558 		CFLAGS="$xorg_testset_save_CFLAGS"
   8559 
   8560 		eval supported=\$$cacheid
   8561 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8562 $as_echo "$supported" >&6; }
   8563 		if test "$supported" = "yes" ; then
   8564 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8565 			found="yes"
   8566 		fi
   8567 	fi
   8568 
   8569  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8570 else
   8571 { $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
   8572 $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;}
   8573 
   8574 
   8575 
   8576 
   8577 
   8578 
   8579 
   8580 
   8581 
   8582 
   8583 
   8584 
   8585 
   8586 xorg_testset_save_CFLAGS="$CFLAGS"
   8587 
   8588 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8589 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8590 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8591 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8592 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8593   $as_echo_n "(cached) " >&6
   8594 else
   8595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8596 /* end confdefs.h.  */
   8597 int i;
   8598 _ACEOF
   8599 if ac_fn_c_try_compile "$LINENO"; then :
   8600   xorg_cv_cc_flag_unknown_warning_option=yes
   8601 else
   8602   xorg_cv_cc_flag_unknown_warning_option=no
   8603 fi
   8604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8605 fi
   8606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8607 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8608 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8609 	CFLAGS="$xorg_testset_save_CFLAGS"
   8610 fi
   8611 
   8612 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8613 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8614 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8615 	fi
   8616 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8617 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8618 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8619 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8620   $as_echo_n "(cached) " >&6
   8621 else
   8622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8623 /* end confdefs.h.  */
   8624 int i;
   8625 _ACEOF
   8626 if ac_fn_c_try_compile "$LINENO"; then :
   8627   xorg_cv_cc_flag_unused_command_line_argument=yes
   8628 else
   8629   xorg_cv_cc_flag_unused_command_line_argument=no
   8630 fi
   8631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8632 fi
   8633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8634 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8635 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8636 	CFLAGS="$xorg_testset_save_CFLAGS"
   8637 fi
   8638 
   8639 found="no"
   8640 
   8641 	if test $found = "no" ; then
   8642 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8643 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8644 		fi
   8645 
   8646 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8647 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8648 		fi
   8649 
   8650 		CFLAGS="$CFLAGS -Wimplicit"
   8651 
   8652 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8653 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8654 		cacheid=xorg_cv_cc_flag__Wimplicit
   8655 		if eval \${$cacheid+:} false; then :
   8656   $as_echo_n "(cached) " >&6
   8657 else
   8658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8659 /* end confdefs.h.  */
   8660 int i;
   8661 int
   8662 main ()
   8663 {
   8664 
   8665   ;
   8666   return 0;
   8667 }
   8668 _ACEOF
   8669 if ac_fn_c_try_link "$LINENO"; then :
   8670   eval $cacheid=yes
   8671 else
   8672   eval $cacheid=no
   8673 fi
   8674 rm -f core conftest.err conftest.$ac_objext \
   8675     conftest$ac_exeext conftest.$ac_ext
   8676 fi
   8677 
   8678 
   8679 		CFLAGS="$xorg_testset_save_CFLAGS"
   8680 
   8681 		eval supported=\$$cacheid
   8682 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8683 $as_echo "$supported" >&6; }
   8684 		if test "$supported" = "yes" ; then
   8685 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8686 			found="yes"
   8687 		fi
   8688 	fi
   8689 
   8690 
   8691 
   8692 
   8693 
   8694 
   8695 
   8696 
   8697 
   8698 
   8699 
   8700 
   8701 
   8702 
   8703 
   8704 xorg_testset_save_CFLAGS="$CFLAGS"
   8705 
   8706 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8707 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8708 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8709 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8710 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8711   $as_echo_n "(cached) " >&6
   8712 else
   8713   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8714 /* end confdefs.h.  */
   8715 int i;
   8716 _ACEOF
   8717 if ac_fn_c_try_compile "$LINENO"; then :
   8718   xorg_cv_cc_flag_unknown_warning_option=yes
   8719 else
   8720   xorg_cv_cc_flag_unknown_warning_option=no
   8721 fi
   8722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8723 fi
   8724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8725 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8726 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8727 	CFLAGS="$xorg_testset_save_CFLAGS"
   8728 fi
   8729 
   8730 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8731 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8732 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8733 	fi
   8734 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8735 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8736 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8737 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8738   $as_echo_n "(cached) " >&6
   8739 else
   8740   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8741 /* end confdefs.h.  */
   8742 int i;
   8743 _ACEOF
   8744 if ac_fn_c_try_compile "$LINENO"; then :
   8745   xorg_cv_cc_flag_unused_command_line_argument=yes
   8746 else
   8747   xorg_cv_cc_flag_unused_command_line_argument=no
   8748 fi
   8749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8750 fi
   8751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8752 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8753 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8754 	CFLAGS="$xorg_testset_save_CFLAGS"
   8755 fi
   8756 
   8757 found="no"
   8758 
   8759 	if test $found = "no" ; then
   8760 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8761 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8762 		fi
   8763 
   8764 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8765 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8766 		fi
   8767 
   8768 		CFLAGS="$CFLAGS -Wnonnull"
   8769 
   8770 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8771 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8772 		cacheid=xorg_cv_cc_flag__Wnonnull
   8773 		if eval \${$cacheid+:} false; then :
   8774   $as_echo_n "(cached) " >&6
   8775 else
   8776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8777 /* end confdefs.h.  */
   8778 int i;
   8779 int
   8780 main ()
   8781 {
   8782 
   8783   ;
   8784   return 0;
   8785 }
   8786 _ACEOF
   8787 if ac_fn_c_try_link "$LINENO"; then :
   8788   eval $cacheid=yes
   8789 else
   8790   eval $cacheid=no
   8791 fi
   8792 rm -f core conftest.err conftest.$ac_objext \
   8793     conftest$ac_exeext conftest.$ac_ext
   8794 fi
   8795 
   8796 
   8797 		CFLAGS="$xorg_testset_save_CFLAGS"
   8798 
   8799 		eval supported=\$$cacheid
   8800 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8801 $as_echo "$supported" >&6; }
   8802 		if test "$supported" = "yes" ; then
   8803 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8804 			found="yes"
   8805 		fi
   8806 	fi
   8807 
   8808 
   8809 
   8810 
   8811 
   8812 
   8813 
   8814 
   8815 
   8816 
   8817 
   8818 
   8819 
   8820 
   8821 
   8822 xorg_testset_save_CFLAGS="$CFLAGS"
   8823 
   8824 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8825 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8826 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8827 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8828 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8829   $as_echo_n "(cached) " >&6
   8830 else
   8831   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8832 /* end confdefs.h.  */
   8833 int i;
   8834 _ACEOF
   8835 if ac_fn_c_try_compile "$LINENO"; then :
   8836   xorg_cv_cc_flag_unknown_warning_option=yes
   8837 else
   8838   xorg_cv_cc_flag_unknown_warning_option=no
   8839 fi
   8840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8841 fi
   8842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8843 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8844 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8845 	CFLAGS="$xorg_testset_save_CFLAGS"
   8846 fi
   8847 
   8848 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8849 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8850 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8851 	fi
   8852 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8853 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8854 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8855 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8856   $as_echo_n "(cached) " >&6
   8857 else
   8858   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8859 /* end confdefs.h.  */
   8860 int i;
   8861 _ACEOF
   8862 if ac_fn_c_try_compile "$LINENO"; then :
   8863   xorg_cv_cc_flag_unused_command_line_argument=yes
   8864 else
   8865   xorg_cv_cc_flag_unused_command_line_argument=no
   8866 fi
   8867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8868 fi
   8869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8870 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8871 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8872 	CFLAGS="$xorg_testset_save_CFLAGS"
   8873 fi
   8874 
   8875 found="no"
   8876 
   8877 	if test $found = "no" ; then
   8878 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8879 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8880 		fi
   8881 
   8882 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8883 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8884 		fi
   8885 
   8886 		CFLAGS="$CFLAGS -Winit-self"
   8887 
   8888 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8889 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8890 		cacheid=xorg_cv_cc_flag__Winit_self
   8891 		if eval \${$cacheid+:} false; then :
   8892   $as_echo_n "(cached) " >&6
   8893 else
   8894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8895 /* end confdefs.h.  */
   8896 int i;
   8897 int
   8898 main ()
   8899 {
   8900 
   8901   ;
   8902   return 0;
   8903 }
   8904 _ACEOF
   8905 if ac_fn_c_try_link "$LINENO"; then :
   8906   eval $cacheid=yes
   8907 else
   8908   eval $cacheid=no
   8909 fi
   8910 rm -f core conftest.err conftest.$ac_objext \
   8911     conftest$ac_exeext conftest.$ac_ext
   8912 fi
   8913 
   8914 
   8915 		CFLAGS="$xorg_testset_save_CFLAGS"
   8916 
   8917 		eval supported=\$$cacheid
   8918 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8919 $as_echo "$supported" >&6; }
   8920 		if test "$supported" = "yes" ; then
   8921 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8922 			found="yes"
   8923 		fi
   8924 	fi
   8925 
   8926 
   8927 
   8928 
   8929 
   8930 
   8931 
   8932 
   8933 
   8934 
   8935 
   8936 
   8937 
   8938 
   8939 
   8940 xorg_testset_save_CFLAGS="$CFLAGS"
   8941 
   8942 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8943 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8944 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8945 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8946 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8947   $as_echo_n "(cached) " >&6
   8948 else
   8949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8950 /* end confdefs.h.  */
   8951 int i;
   8952 _ACEOF
   8953 if ac_fn_c_try_compile "$LINENO"; then :
   8954   xorg_cv_cc_flag_unknown_warning_option=yes
   8955 else
   8956   xorg_cv_cc_flag_unknown_warning_option=no
   8957 fi
   8958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8959 fi
   8960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8961 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8962 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8963 	CFLAGS="$xorg_testset_save_CFLAGS"
   8964 fi
   8965 
   8966 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8967 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8968 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8969 	fi
   8970 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8971 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8972 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8973 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8974   $as_echo_n "(cached) " >&6
   8975 else
   8976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8977 /* end confdefs.h.  */
   8978 int i;
   8979 _ACEOF
   8980 if ac_fn_c_try_compile "$LINENO"; then :
   8981   xorg_cv_cc_flag_unused_command_line_argument=yes
   8982 else
   8983   xorg_cv_cc_flag_unused_command_line_argument=no
   8984 fi
   8985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8986 fi
   8987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8988 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8989 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8990 	CFLAGS="$xorg_testset_save_CFLAGS"
   8991 fi
   8992 
   8993 found="no"
   8994 
   8995 	if test $found = "no" ; then
   8996 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8997 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8998 		fi
   8999 
   9000 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9001 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9002 		fi
   9003 
   9004 		CFLAGS="$CFLAGS -Wmain"
   9005 
   9006 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9007 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   9008 		cacheid=xorg_cv_cc_flag__Wmain
   9009 		if eval \${$cacheid+:} false; then :
   9010   $as_echo_n "(cached) " >&6
   9011 else
   9012   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9013 /* end confdefs.h.  */
   9014 int i;
   9015 int
   9016 main ()
   9017 {
   9018 
   9019   ;
   9020   return 0;
   9021 }
   9022 _ACEOF
   9023 if ac_fn_c_try_link "$LINENO"; then :
   9024   eval $cacheid=yes
   9025 else
   9026   eval $cacheid=no
   9027 fi
   9028 rm -f core conftest.err conftest.$ac_objext \
   9029     conftest$ac_exeext conftest.$ac_ext
   9030 fi
   9031 
   9032 
   9033 		CFLAGS="$xorg_testset_save_CFLAGS"
   9034 
   9035 		eval supported=\$$cacheid
   9036 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9037 $as_echo "$supported" >&6; }
   9038 		if test "$supported" = "yes" ; then
   9039 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9040 			found="yes"
   9041 		fi
   9042 	fi
   9043 
   9044 
   9045 
   9046 
   9047 
   9048 
   9049 
   9050 
   9051 
   9052 
   9053 
   9054 
   9055 
   9056 
   9057 
   9058 xorg_testset_save_CFLAGS="$CFLAGS"
   9059 
   9060 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9061 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9062 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9063 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9064 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9065   $as_echo_n "(cached) " >&6
   9066 else
   9067   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9068 /* end confdefs.h.  */
   9069 int i;
   9070 _ACEOF
   9071 if ac_fn_c_try_compile "$LINENO"; then :
   9072   xorg_cv_cc_flag_unknown_warning_option=yes
   9073 else
   9074   xorg_cv_cc_flag_unknown_warning_option=no
   9075 fi
   9076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9077 fi
   9078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9079 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9080 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9081 	CFLAGS="$xorg_testset_save_CFLAGS"
   9082 fi
   9083 
   9084 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9085 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9086 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9087 	fi
   9088 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9089 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9090 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9091 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9092   $as_echo_n "(cached) " >&6
   9093 else
   9094   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9095 /* end confdefs.h.  */
   9096 int i;
   9097 _ACEOF
   9098 if ac_fn_c_try_compile "$LINENO"; then :
   9099   xorg_cv_cc_flag_unused_command_line_argument=yes
   9100 else
   9101   xorg_cv_cc_flag_unused_command_line_argument=no
   9102 fi
   9103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9104 fi
   9105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9106 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9107 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9108 	CFLAGS="$xorg_testset_save_CFLAGS"
   9109 fi
   9110 
   9111 found="no"
   9112 
   9113 	if test $found = "no" ; then
   9114 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9115 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9116 		fi
   9117 
   9118 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9119 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9120 		fi
   9121 
   9122 		CFLAGS="$CFLAGS -Wmissing-braces"
   9123 
   9124 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9125 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9126 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9127 		if eval \${$cacheid+:} false; then :
   9128   $as_echo_n "(cached) " >&6
   9129 else
   9130   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9131 /* end confdefs.h.  */
   9132 int i;
   9133 int
   9134 main ()
   9135 {
   9136 
   9137   ;
   9138   return 0;
   9139 }
   9140 _ACEOF
   9141 if ac_fn_c_try_link "$LINENO"; then :
   9142   eval $cacheid=yes
   9143 else
   9144   eval $cacheid=no
   9145 fi
   9146 rm -f core conftest.err conftest.$ac_objext \
   9147     conftest$ac_exeext conftest.$ac_ext
   9148 fi
   9149 
   9150 
   9151 		CFLAGS="$xorg_testset_save_CFLAGS"
   9152 
   9153 		eval supported=\$$cacheid
   9154 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9155 $as_echo "$supported" >&6; }
   9156 		if test "$supported" = "yes" ; then
   9157 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9158 			found="yes"
   9159 		fi
   9160 	fi
   9161 
   9162 
   9163 
   9164 
   9165 
   9166 
   9167 
   9168 
   9169 
   9170 
   9171 
   9172 
   9173 
   9174 
   9175 
   9176 xorg_testset_save_CFLAGS="$CFLAGS"
   9177 
   9178 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9179 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9180 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9181 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9182 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9183   $as_echo_n "(cached) " >&6
   9184 else
   9185   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9186 /* end confdefs.h.  */
   9187 int i;
   9188 _ACEOF
   9189 if ac_fn_c_try_compile "$LINENO"; then :
   9190   xorg_cv_cc_flag_unknown_warning_option=yes
   9191 else
   9192   xorg_cv_cc_flag_unknown_warning_option=no
   9193 fi
   9194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9195 fi
   9196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9197 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9198 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9199 	CFLAGS="$xorg_testset_save_CFLAGS"
   9200 fi
   9201 
   9202 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9203 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9204 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9205 	fi
   9206 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9207 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9208 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9209 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9210   $as_echo_n "(cached) " >&6
   9211 else
   9212   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9213 /* end confdefs.h.  */
   9214 int i;
   9215 _ACEOF
   9216 if ac_fn_c_try_compile "$LINENO"; then :
   9217   xorg_cv_cc_flag_unused_command_line_argument=yes
   9218 else
   9219   xorg_cv_cc_flag_unused_command_line_argument=no
   9220 fi
   9221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9222 fi
   9223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9224 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9225 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9226 	CFLAGS="$xorg_testset_save_CFLAGS"
   9227 fi
   9228 
   9229 found="no"
   9230 
   9231 	if test $found = "no" ; then
   9232 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9233 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9234 		fi
   9235 
   9236 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9237 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9238 		fi
   9239 
   9240 		CFLAGS="$CFLAGS -Wsequence-point"
   9241 
   9242 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9243 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9244 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9245 		if eval \${$cacheid+:} false; then :
   9246   $as_echo_n "(cached) " >&6
   9247 else
   9248   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9249 /* end confdefs.h.  */
   9250 int i;
   9251 int
   9252 main ()
   9253 {
   9254 
   9255   ;
   9256   return 0;
   9257 }
   9258 _ACEOF
   9259 if ac_fn_c_try_link "$LINENO"; then :
   9260   eval $cacheid=yes
   9261 else
   9262   eval $cacheid=no
   9263 fi
   9264 rm -f core conftest.err conftest.$ac_objext \
   9265     conftest$ac_exeext conftest.$ac_ext
   9266 fi
   9267 
   9268 
   9269 		CFLAGS="$xorg_testset_save_CFLAGS"
   9270 
   9271 		eval supported=\$$cacheid
   9272 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9273 $as_echo "$supported" >&6; }
   9274 		if test "$supported" = "yes" ; then
   9275 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9276 			found="yes"
   9277 		fi
   9278 	fi
   9279 
   9280 
   9281 
   9282 
   9283 
   9284 
   9285 
   9286 
   9287 
   9288 
   9289 
   9290 
   9291 
   9292 
   9293 
   9294 xorg_testset_save_CFLAGS="$CFLAGS"
   9295 
   9296 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9297 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9298 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9299 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9300 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9301   $as_echo_n "(cached) " >&6
   9302 else
   9303   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9304 /* end confdefs.h.  */
   9305 int i;
   9306 _ACEOF
   9307 if ac_fn_c_try_compile "$LINENO"; then :
   9308   xorg_cv_cc_flag_unknown_warning_option=yes
   9309 else
   9310   xorg_cv_cc_flag_unknown_warning_option=no
   9311 fi
   9312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9313 fi
   9314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9315 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9316 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9317 	CFLAGS="$xorg_testset_save_CFLAGS"
   9318 fi
   9319 
   9320 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9321 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9322 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9323 	fi
   9324 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9325 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9326 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9327 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9328   $as_echo_n "(cached) " >&6
   9329 else
   9330   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9331 /* end confdefs.h.  */
   9332 int i;
   9333 _ACEOF
   9334 if ac_fn_c_try_compile "$LINENO"; then :
   9335   xorg_cv_cc_flag_unused_command_line_argument=yes
   9336 else
   9337   xorg_cv_cc_flag_unused_command_line_argument=no
   9338 fi
   9339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9340 fi
   9341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9342 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9343 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9344 	CFLAGS="$xorg_testset_save_CFLAGS"
   9345 fi
   9346 
   9347 found="no"
   9348 
   9349 	if test $found = "no" ; then
   9350 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9351 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9352 		fi
   9353 
   9354 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9355 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9356 		fi
   9357 
   9358 		CFLAGS="$CFLAGS -Wreturn-type"
   9359 
   9360 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9361 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9362 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9363 		if eval \${$cacheid+:} false; then :
   9364   $as_echo_n "(cached) " >&6
   9365 else
   9366   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9367 /* end confdefs.h.  */
   9368 int i;
   9369 int
   9370 main ()
   9371 {
   9372 
   9373   ;
   9374   return 0;
   9375 }
   9376 _ACEOF
   9377 if ac_fn_c_try_link "$LINENO"; then :
   9378   eval $cacheid=yes
   9379 else
   9380   eval $cacheid=no
   9381 fi
   9382 rm -f core conftest.err conftest.$ac_objext \
   9383     conftest$ac_exeext conftest.$ac_ext
   9384 fi
   9385 
   9386 
   9387 		CFLAGS="$xorg_testset_save_CFLAGS"
   9388 
   9389 		eval supported=\$$cacheid
   9390 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9391 $as_echo "$supported" >&6; }
   9392 		if test "$supported" = "yes" ; then
   9393 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9394 			found="yes"
   9395 		fi
   9396 	fi
   9397 
   9398 
   9399 
   9400 
   9401 
   9402 
   9403 
   9404 
   9405 
   9406 
   9407 
   9408 
   9409 
   9410 
   9411 
   9412 xorg_testset_save_CFLAGS="$CFLAGS"
   9413 
   9414 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9415 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9416 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9417 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9418 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9419   $as_echo_n "(cached) " >&6
   9420 else
   9421   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9422 /* end confdefs.h.  */
   9423 int i;
   9424 _ACEOF
   9425 if ac_fn_c_try_compile "$LINENO"; then :
   9426   xorg_cv_cc_flag_unknown_warning_option=yes
   9427 else
   9428   xorg_cv_cc_flag_unknown_warning_option=no
   9429 fi
   9430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9431 fi
   9432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9433 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9434 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9435 	CFLAGS="$xorg_testset_save_CFLAGS"
   9436 fi
   9437 
   9438 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9439 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9440 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9441 	fi
   9442 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9443 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9444 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9445 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9446   $as_echo_n "(cached) " >&6
   9447 else
   9448   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9449 /* end confdefs.h.  */
   9450 int i;
   9451 _ACEOF
   9452 if ac_fn_c_try_compile "$LINENO"; then :
   9453   xorg_cv_cc_flag_unused_command_line_argument=yes
   9454 else
   9455   xorg_cv_cc_flag_unused_command_line_argument=no
   9456 fi
   9457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9458 fi
   9459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9460 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9461 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9462 	CFLAGS="$xorg_testset_save_CFLAGS"
   9463 fi
   9464 
   9465 found="no"
   9466 
   9467 	if test $found = "no" ; then
   9468 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9469 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9470 		fi
   9471 
   9472 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9473 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9474 		fi
   9475 
   9476 		CFLAGS="$CFLAGS -Wtrigraphs"
   9477 
   9478 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9479 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9480 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9481 		if eval \${$cacheid+:} false; then :
   9482   $as_echo_n "(cached) " >&6
   9483 else
   9484   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9485 /* end confdefs.h.  */
   9486 int i;
   9487 int
   9488 main ()
   9489 {
   9490 
   9491   ;
   9492   return 0;
   9493 }
   9494 _ACEOF
   9495 if ac_fn_c_try_link "$LINENO"; then :
   9496   eval $cacheid=yes
   9497 else
   9498   eval $cacheid=no
   9499 fi
   9500 rm -f core conftest.err conftest.$ac_objext \
   9501     conftest$ac_exeext conftest.$ac_ext
   9502 fi
   9503 
   9504 
   9505 		CFLAGS="$xorg_testset_save_CFLAGS"
   9506 
   9507 		eval supported=\$$cacheid
   9508 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9509 $as_echo "$supported" >&6; }
   9510 		if test "$supported" = "yes" ; then
   9511 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9512 			found="yes"
   9513 		fi
   9514 	fi
   9515 
   9516 
   9517 
   9518 
   9519 
   9520 
   9521 
   9522 
   9523 
   9524 
   9525 
   9526 
   9527 
   9528 
   9529 
   9530 xorg_testset_save_CFLAGS="$CFLAGS"
   9531 
   9532 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9533 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9534 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9535 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9536 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9537   $as_echo_n "(cached) " >&6
   9538 else
   9539   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9540 /* end confdefs.h.  */
   9541 int i;
   9542 _ACEOF
   9543 if ac_fn_c_try_compile "$LINENO"; then :
   9544   xorg_cv_cc_flag_unknown_warning_option=yes
   9545 else
   9546   xorg_cv_cc_flag_unknown_warning_option=no
   9547 fi
   9548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9549 fi
   9550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9551 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9552 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9553 	CFLAGS="$xorg_testset_save_CFLAGS"
   9554 fi
   9555 
   9556 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9557 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9558 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9559 	fi
   9560 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9561 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9562 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9563 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9564   $as_echo_n "(cached) " >&6
   9565 else
   9566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9567 /* end confdefs.h.  */
   9568 int i;
   9569 _ACEOF
   9570 if ac_fn_c_try_compile "$LINENO"; then :
   9571   xorg_cv_cc_flag_unused_command_line_argument=yes
   9572 else
   9573   xorg_cv_cc_flag_unused_command_line_argument=no
   9574 fi
   9575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9576 fi
   9577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9578 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9579 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9580 	CFLAGS="$xorg_testset_save_CFLAGS"
   9581 fi
   9582 
   9583 found="no"
   9584 
   9585 	if test $found = "no" ; then
   9586 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9587 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9588 		fi
   9589 
   9590 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9591 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9592 		fi
   9593 
   9594 		CFLAGS="$CFLAGS -Warray-bounds"
   9595 
   9596 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9597 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9598 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9599 		if eval \${$cacheid+:} false; then :
   9600   $as_echo_n "(cached) " >&6
   9601 else
   9602   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9603 /* end confdefs.h.  */
   9604 int i;
   9605 int
   9606 main ()
   9607 {
   9608 
   9609   ;
   9610   return 0;
   9611 }
   9612 _ACEOF
   9613 if ac_fn_c_try_link "$LINENO"; then :
   9614   eval $cacheid=yes
   9615 else
   9616   eval $cacheid=no
   9617 fi
   9618 rm -f core conftest.err conftest.$ac_objext \
   9619     conftest$ac_exeext conftest.$ac_ext
   9620 fi
   9621 
   9622 
   9623 		CFLAGS="$xorg_testset_save_CFLAGS"
   9624 
   9625 		eval supported=\$$cacheid
   9626 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9627 $as_echo "$supported" >&6; }
   9628 		if test "$supported" = "yes" ; then
   9629 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9630 			found="yes"
   9631 		fi
   9632 	fi
   9633 
   9634 
   9635 
   9636 
   9637 
   9638 
   9639 
   9640 
   9641 
   9642 
   9643 
   9644 
   9645 
   9646 
   9647 
   9648 xorg_testset_save_CFLAGS="$CFLAGS"
   9649 
   9650 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9651 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9652 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9653 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9654 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9655   $as_echo_n "(cached) " >&6
   9656 else
   9657   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9658 /* end confdefs.h.  */
   9659 int i;
   9660 _ACEOF
   9661 if ac_fn_c_try_compile "$LINENO"; then :
   9662   xorg_cv_cc_flag_unknown_warning_option=yes
   9663 else
   9664   xorg_cv_cc_flag_unknown_warning_option=no
   9665 fi
   9666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9667 fi
   9668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9669 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9670 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9671 	CFLAGS="$xorg_testset_save_CFLAGS"
   9672 fi
   9673 
   9674 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9675 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9676 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9677 	fi
   9678 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9679 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9680 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9681 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9682   $as_echo_n "(cached) " >&6
   9683 else
   9684   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9685 /* end confdefs.h.  */
   9686 int i;
   9687 _ACEOF
   9688 if ac_fn_c_try_compile "$LINENO"; then :
   9689   xorg_cv_cc_flag_unused_command_line_argument=yes
   9690 else
   9691   xorg_cv_cc_flag_unused_command_line_argument=no
   9692 fi
   9693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9694 fi
   9695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9696 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9697 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9698 	CFLAGS="$xorg_testset_save_CFLAGS"
   9699 fi
   9700 
   9701 found="no"
   9702 
   9703 	if test $found = "no" ; then
   9704 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9705 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9706 		fi
   9707 
   9708 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9709 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9710 		fi
   9711 
   9712 		CFLAGS="$CFLAGS -Wwrite-strings"
   9713 
   9714 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9715 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9716 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9717 		if eval \${$cacheid+:} false; then :
   9718   $as_echo_n "(cached) " >&6
   9719 else
   9720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9721 /* end confdefs.h.  */
   9722 int i;
   9723 int
   9724 main ()
   9725 {
   9726 
   9727   ;
   9728   return 0;
   9729 }
   9730 _ACEOF
   9731 if ac_fn_c_try_link "$LINENO"; then :
   9732   eval $cacheid=yes
   9733 else
   9734   eval $cacheid=no
   9735 fi
   9736 rm -f core conftest.err conftest.$ac_objext \
   9737     conftest$ac_exeext conftest.$ac_ext
   9738 fi
   9739 
   9740 
   9741 		CFLAGS="$xorg_testset_save_CFLAGS"
   9742 
   9743 		eval supported=\$$cacheid
   9744 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9745 $as_echo "$supported" >&6; }
   9746 		if test "$supported" = "yes" ; then
   9747 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9748 			found="yes"
   9749 		fi
   9750 	fi
   9751 
   9752 
   9753 
   9754 
   9755 
   9756 
   9757 
   9758 
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 
   9765 
   9766 xorg_testset_save_CFLAGS="$CFLAGS"
   9767 
   9768 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9769 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9770 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9771 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9772 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9773   $as_echo_n "(cached) " >&6
   9774 else
   9775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9776 /* end confdefs.h.  */
   9777 int i;
   9778 _ACEOF
   9779 if ac_fn_c_try_compile "$LINENO"; then :
   9780   xorg_cv_cc_flag_unknown_warning_option=yes
   9781 else
   9782   xorg_cv_cc_flag_unknown_warning_option=no
   9783 fi
   9784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9785 fi
   9786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9787 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9788 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9789 	CFLAGS="$xorg_testset_save_CFLAGS"
   9790 fi
   9791 
   9792 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9793 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9794 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9795 	fi
   9796 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9797 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9798 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9799 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9800   $as_echo_n "(cached) " >&6
   9801 else
   9802   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9803 /* end confdefs.h.  */
   9804 int i;
   9805 _ACEOF
   9806 if ac_fn_c_try_compile "$LINENO"; then :
   9807   xorg_cv_cc_flag_unused_command_line_argument=yes
   9808 else
   9809   xorg_cv_cc_flag_unused_command_line_argument=no
   9810 fi
   9811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9812 fi
   9813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9814 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9815 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9816 	CFLAGS="$xorg_testset_save_CFLAGS"
   9817 fi
   9818 
   9819 found="no"
   9820 
   9821 	if test $found = "no" ; then
   9822 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9823 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9824 		fi
   9825 
   9826 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9827 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9828 		fi
   9829 
   9830 		CFLAGS="$CFLAGS -Waddress"
   9831 
   9832 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9833 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9834 		cacheid=xorg_cv_cc_flag__Waddress
   9835 		if eval \${$cacheid+:} false; then :
   9836   $as_echo_n "(cached) " >&6
   9837 else
   9838   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9839 /* end confdefs.h.  */
   9840 int i;
   9841 int
   9842 main ()
   9843 {
   9844 
   9845   ;
   9846   return 0;
   9847 }
   9848 _ACEOF
   9849 if ac_fn_c_try_link "$LINENO"; then :
   9850   eval $cacheid=yes
   9851 else
   9852   eval $cacheid=no
   9853 fi
   9854 rm -f core conftest.err conftest.$ac_objext \
   9855     conftest$ac_exeext conftest.$ac_ext
   9856 fi
   9857 
   9858 
   9859 		CFLAGS="$xorg_testset_save_CFLAGS"
   9860 
   9861 		eval supported=\$$cacheid
   9862 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9863 $as_echo "$supported" >&6; }
   9864 		if test "$supported" = "yes" ; then
   9865 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9866 			found="yes"
   9867 		fi
   9868 	fi
   9869 
   9870 
   9871 
   9872 
   9873 
   9874 
   9875 
   9876 
   9877 
   9878 
   9879 
   9880 
   9881 
   9882 
   9883 
   9884 xorg_testset_save_CFLAGS="$CFLAGS"
   9885 
   9886 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9887 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9888 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9889 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9890 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9891   $as_echo_n "(cached) " >&6
   9892 else
   9893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9894 /* end confdefs.h.  */
   9895 int i;
   9896 _ACEOF
   9897 if ac_fn_c_try_compile "$LINENO"; then :
   9898   xorg_cv_cc_flag_unknown_warning_option=yes
   9899 else
   9900   xorg_cv_cc_flag_unknown_warning_option=no
   9901 fi
   9902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9903 fi
   9904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9905 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9906 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9907 	CFLAGS="$xorg_testset_save_CFLAGS"
   9908 fi
   9909 
   9910 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9911 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9912 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9913 	fi
   9914 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9915 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9916 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9917 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9918   $as_echo_n "(cached) " >&6
   9919 else
   9920   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9921 /* end confdefs.h.  */
   9922 int i;
   9923 _ACEOF
   9924 if ac_fn_c_try_compile "$LINENO"; then :
   9925   xorg_cv_cc_flag_unused_command_line_argument=yes
   9926 else
   9927   xorg_cv_cc_flag_unused_command_line_argument=no
   9928 fi
   9929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9930 fi
   9931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9932 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9933 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9934 	CFLAGS="$xorg_testset_save_CFLAGS"
   9935 fi
   9936 
   9937 found="no"
   9938 
   9939 	if test $found = "no" ; then
   9940 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9941 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9942 		fi
   9943 
   9944 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9945 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9946 		fi
   9947 
   9948 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9949 
   9950 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9951 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9952 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9953 		if eval \${$cacheid+:} false; then :
   9954   $as_echo_n "(cached) " >&6
   9955 else
   9956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9957 /* end confdefs.h.  */
   9958 int i;
   9959 int
   9960 main ()
   9961 {
   9962 
   9963   ;
   9964   return 0;
   9965 }
   9966 _ACEOF
   9967 if ac_fn_c_try_link "$LINENO"; then :
   9968   eval $cacheid=yes
   9969 else
   9970   eval $cacheid=no
   9971 fi
   9972 rm -f core conftest.err conftest.$ac_objext \
   9973     conftest$ac_exeext conftest.$ac_ext
   9974 fi
   9975 
   9976 
   9977 		CFLAGS="$xorg_testset_save_CFLAGS"
   9978 
   9979 		eval supported=\$$cacheid
   9980 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9981 $as_echo "$supported" >&6; }
   9982 		if test "$supported" = "yes" ; then
   9983 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9984 			found="yes"
   9985 		fi
   9986 	fi
   9987 
   9988 
   9989 
   9990 
   9991 
   9992 
   9993 
   9994 
   9995 
   9996 
   9997 
   9998 
   9999 
   10000 
   10001 
   10002 xorg_testset_save_CFLAGS="$CFLAGS"
   10003 
   10004 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10005 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10006 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10007 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10008 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10009   $as_echo_n "(cached) " >&6
   10010 else
   10011   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10012 /* end confdefs.h.  */
   10013 int i;
   10014 _ACEOF
   10015 if ac_fn_c_try_compile "$LINENO"; then :
   10016   xorg_cv_cc_flag_unknown_warning_option=yes
   10017 else
   10018   xorg_cv_cc_flag_unknown_warning_option=no
   10019 fi
   10020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10021 fi
   10022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10023 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10024 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10025 	CFLAGS="$xorg_testset_save_CFLAGS"
   10026 fi
   10027 
   10028 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10029 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10030 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10031 	fi
   10032 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10033 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10034 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10035 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10036   $as_echo_n "(cached) " >&6
   10037 else
   10038   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10039 /* end confdefs.h.  */
   10040 int i;
   10041 _ACEOF
   10042 if ac_fn_c_try_compile "$LINENO"; then :
   10043   xorg_cv_cc_flag_unused_command_line_argument=yes
   10044 else
   10045   xorg_cv_cc_flag_unused_command_line_argument=no
   10046 fi
   10047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10048 fi
   10049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10050 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10051 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10052 	CFLAGS="$xorg_testset_save_CFLAGS"
   10053 fi
   10054 
   10055 found="no"
   10056 
   10057 	if test $found = "no" ; then
   10058 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10059 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10060 		fi
   10061 
   10062 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10063 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10064 		fi
   10065 
   10066 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10067 
   10068 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10069 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10070 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10071 		if eval \${$cacheid+:} false; then :
   10072   $as_echo_n "(cached) " >&6
   10073 else
   10074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10075 /* end confdefs.h.  */
   10076 int i;
   10077 int
   10078 main ()
   10079 {
   10080 
   10081   ;
   10082   return 0;
   10083 }
   10084 _ACEOF
   10085 if ac_fn_c_try_link "$LINENO"; then :
   10086   eval $cacheid=yes
   10087 else
   10088   eval $cacheid=no
   10089 fi
   10090 rm -f core conftest.err conftest.$ac_objext \
   10091     conftest$ac_exeext conftest.$ac_ext
   10092 fi
   10093 
   10094 
   10095 		CFLAGS="$xorg_testset_save_CFLAGS"
   10096 
   10097 		eval supported=\$$cacheid
   10098 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10099 $as_echo "$supported" >&6; }
   10100 		if test "$supported" = "yes" ; then
   10101 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10102 			found="yes"
   10103 		fi
   10104 	fi
   10105 
   10106 
   10107 fi
   10108 
   10109 
   10110 
   10111 
   10112 
   10113 
   10114 
   10115 		CWARNFLAGS="$BASE_CFLAGS"
   10116 		if  test "x$GCC" = xyes ; then
   10117 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10118 		fi
   10119 
   10120 
   10121 
   10122 
   10123 
   10124 
   10125 
   10126 
   10127 # Check whether --enable-strict-compilation was given.
   10128 if test "${enable_strict_compilation+set}" = set; then :
   10129   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10130 else
   10131   STRICT_COMPILE=no
   10132 fi
   10133 
   10134 
   10135 
   10136 
   10137 
   10138 
   10139 STRICT_CFLAGS=""
   10140 
   10141 
   10142 
   10143 
   10144 
   10145 
   10146 
   10147 
   10148 
   10149 
   10150 
   10151 
   10152 
   10153 xorg_testset_save_CFLAGS="$CFLAGS"
   10154 
   10155 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10156 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10157 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10158 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10159 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10160   $as_echo_n "(cached) " >&6
   10161 else
   10162   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10163 /* end confdefs.h.  */
   10164 int i;
   10165 _ACEOF
   10166 if ac_fn_c_try_compile "$LINENO"; then :
   10167   xorg_cv_cc_flag_unknown_warning_option=yes
   10168 else
   10169   xorg_cv_cc_flag_unknown_warning_option=no
   10170 fi
   10171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10172 fi
   10173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10174 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10175 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10176 	CFLAGS="$xorg_testset_save_CFLAGS"
   10177 fi
   10178 
   10179 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10180 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10181 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10182 	fi
   10183 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10184 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10185 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10186 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10187   $as_echo_n "(cached) " >&6
   10188 else
   10189   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10190 /* end confdefs.h.  */
   10191 int i;
   10192 _ACEOF
   10193 if ac_fn_c_try_compile "$LINENO"; then :
   10194   xorg_cv_cc_flag_unused_command_line_argument=yes
   10195 else
   10196   xorg_cv_cc_flag_unused_command_line_argument=no
   10197 fi
   10198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10199 fi
   10200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10201 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10202 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10203 	CFLAGS="$xorg_testset_save_CFLAGS"
   10204 fi
   10205 
   10206 found="no"
   10207 
   10208 	if test $found = "no" ; then
   10209 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10210 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10211 		fi
   10212 
   10213 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10214 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10215 		fi
   10216 
   10217 		CFLAGS="$CFLAGS -pedantic"
   10218 
   10219 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10220 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10221 		cacheid=xorg_cv_cc_flag__pedantic
   10222 		if eval \${$cacheid+:} false; then :
   10223   $as_echo_n "(cached) " >&6
   10224 else
   10225   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10226 /* end confdefs.h.  */
   10227 int i;
   10228 int
   10229 main ()
   10230 {
   10231 
   10232   ;
   10233   return 0;
   10234 }
   10235 _ACEOF
   10236 if ac_fn_c_try_link "$LINENO"; then :
   10237   eval $cacheid=yes
   10238 else
   10239   eval $cacheid=no
   10240 fi
   10241 rm -f core conftest.err conftest.$ac_objext \
   10242     conftest$ac_exeext conftest.$ac_ext
   10243 fi
   10244 
   10245 
   10246 		CFLAGS="$xorg_testset_save_CFLAGS"
   10247 
   10248 		eval supported=\$$cacheid
   10249 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10250 $as_echo "$supported" >&6; }
   10251 		if test "$supported" = "yes" ; then
   10252 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10253 			found="yes"
   10254 		fi
   10255 	fi
   10256 
   10257 
   10258 
   10259 
   10260 
   10261 
   10262 
   10263 
   10264 
   10265 
   10266 
   10267 
   10268 
   10269 
   10270 
   10271 xorg_testset_save_CFLAGS="$CFLAGS"
   10272 
   10273 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10274 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10275 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10276 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10277 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10278   $as_echo_n "(cached) " >&6
   10279 else
   10280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10281 /* end confdefs.h.  */
   10282 int i;
   10283 _ACEOF
   10284 if ac_fn_c_try_compile "$LINENO"; then :
   10285   xorg_cv_cc_flag_unknown_warning_option=yes
   10286 else
   10287   xorg_cv_cc_flag_unknown_warning_option=no
   10288 fi
   10289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10290 fi
   10291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10292 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10293 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10294 	CFLAGS="$xorg_testset_save_CFLAGS"
   10295 fi
   10296 
   10297 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10298 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10299 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10300 	fi
   10301 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10302 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10303 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10304 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10305   $as_echo_n "(cached) " >&6
   10306 else
   10307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10308 /* end confdefs.h.  */
   10309 int i;
   10310 _ACEOF
   10311 if ac_fn_c_try_compile "$LINENO"; then :
   10312   xorg_cv_cc_flag_unused_command_line_argument=yes
   10313 else
   10314   xorg_cv_cc_flag_unused_command_line_argument=no
   10315 fi
   10316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10317 fi
   10318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10319 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10320 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10321 	CFLAGS="$xorg_testset_save_CFLAGS"
   10322 fi
   10323 
   10324 found="no"
   10325 
   10326 	if test $found = "no" ; then
   10327 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10328 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10329 		fi
   10330 
   10331 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10332 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10333 		fi
   10334 
   10335 		CFLAGS="$CFLAGS -Werror"
   10336 
   10337 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10338 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10339 		cacheid=xorg_cv_cc_flag__Werror
   10340 		if eval \${$cacheid+:} false; then :
   10341   $as_echo_n "(cached) " >&6
   10342 else
   10343   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10344 /* end confdefs.h.  */
   10345 int i;
   10346 int
   10347 main ()
   10348 {
   10349 
   10350   ;
   10351   return 0;
   10352 }
   10353 _ACEOF
   10354 if ac_fn_c_try_link "$LINENO"; then :
   10355   eval $cacheid=yes
   10356 else
   10357   eval $cacheid=no
   10358 fi
   10359 rm -f core conftest.err conftest.$ac_objext \
   10360     conftest$ac_exeext conftest.$ac_ext
   10361 fi
   10362 
   10363 
   10364 		CFLAGS="$xorg_testset_save_CFLAGS"
   10365 
   10366 		eval supported=\$$cacheid
   10367 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10368 $as_echo "$supported" >&6; }
   10369 		if test "$supported" = "yes" ; then
   10370 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10371 			found="yes"
   10372 		fi
   10373 	fi
   10374 
   10375 	if test $found = "no" ; then
   10376 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10377 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10378 		fi
   10379 
   10380 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10381 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10382 		fi
   10383 
   10384 		CFLAGS="$CFLAGS -errwarn"
   10385 
   10386 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10387 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10388 		cacheid=xorg_cv_cc_flag__errwarn
   10389 		if eval \${$cacheid+:} false; then :
   10390   $as_echo_n "(cached) " >&6
   10391 else
   10392   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10393 /* end confdefs.h.  */
   10394 int i;
   10395 int
   10396 main ()
   10397 {
   10398 
   10399   ;
   10400   return 0;
   10401 }
   10402 _ACEOF
   10403 if ac_fn_c_try_link "$LINENO"; then :
   10404   eval $cacheid=yes
   10405 else
   10406   eval $cacheid=no
   10407 fi
   10408 rm -f core conftest.err conftest.$ac_objext \
   10409     conftest$ac_exeext conftest.$ac_ext
   10410 fi
   10411 
   10412 
   10413 		CFLAGS="$xorg_testset_save_CFLAGS"
   10414 
   10415 		eval supported=\$$cacheid
   10416 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10417 $as_echo "$supported" >&6; }
   10418 		if test "$supported" = "yes" ; then
   10419 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10420 			found="yes"
   10421 		fi
   10422 	fi
   10423 
   10424 
   10425 
   10426 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10427 # activate it with -Werror, so we add it here explicitly.
   10428 
   10429 
   10430 
   10431 
   10432 
   10433 
   10434 
   10435 
   10436 
   10437 
   10438 
   10439 
   10440 
   10441 xorg_testset_save_CFLAGS="$CFLAGS"
   10442 
   10443 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10444 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10445 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10446 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10447 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10448   $as_echo_n "(cached) " >&6
   10449 else
   10450   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10451 /* end confdefs.h.  */
   10452 int i;
   10453 _ACEOF
   10454 if ac_fn_c_try_compile "$LINENO"; then :
   10455   xorg_cv_cc_flag_unknown_warning_option=yes
   10456 else
   10457   xorg_cv_cc_flag_unknown_warning_option=no
   10458 fi
   10459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10460 fi
   10461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10462 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10463 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10464 	CFLAGS="$xorg_testset_save_CFLAGS"
   10465 fi
   10466 
   10467 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10468 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10469 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10470 	fi
   10471 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10472 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10473 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10474 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10475   $as_echo_n "(cached) " >&6
   10476 else
   10477   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10478 /* end confdefs.h.  */
   10479 int i;
   10480 _ACEOF
   10481 if ac_fn_c_try_compile "$LINENO"; then :
   10482   xorg_cv_cc_flag_unused_command_line_argument=yes
   10483 else
   10484   xorg_cv_cc_flag_unused_command_line_argument=no
   10485 fi
   10486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10487 fi
   10488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10489 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10490 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10491 	CFLAGS="$xorg_testset_save_CFLAGS"
   10492 fi
   10493 
   10494 found="no"
   10495 
   10496 	if test $found = "no" ; then
   10497 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10498 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10499 		fi
   10500 
   10501 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10502 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10503 		fi
   10504 
   10505 		CFLAGS="$CFLAGS -Werror=attributes"
   10506 
   10507 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10508 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10509 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10510 		if eval \${$cacheid+:} false; then :
   10511   $as_echo_n "(cached) " >&6
   10512 else
   10513   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10514 /* end confdefs.h.  */
   10515 int i;
   10516 int
   10517 main ()
   10518 {
   10519 
   10520   ;
   10521   return 0;
   10522 }
   10523 _ACEOF
   10524 if ac_fn_c_try_link "$LINENO"; then :
   10525   eval $cacheid=yes
   10526 else
   10527   eval $cacheid=no
   10528 fi
   10529 rm -f core conftest.err conftest.$ac_objext \
   10530     conftest$ac_exeext conftest.$ac_ext
   10531 fi
   10532 
   10533 
   10534 		CFLAGS="$xorg_testset_save_CFLAGS"
   10535 
   10536 		eval supported=\$$cacheid
   10537 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10538 $as_echo "$supported" >&6; }
   10539 		if test "$supported" = "yes" ; then
   10540 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10541 			found="yes"
   10542 		fi
   10543 	fi
   10544 
   10545 
   10546 
   10547 if test "x$STRICT_COMPILE" = "xyes"; then
   10548     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10549     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10550 fi
   10551 
   10552 
   10553 
   10554 
   10555 
   10556 
   10557 cat >>confdefs.h <<_ACEOF
   10558 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10559 _ACEOF
   10560 
   10561 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10562 	if test "x$PVM" = "x"; then
   10563 		PVM="0"
   10564 	fi
   10565 
   10566 cat >>confdefs.h <<_ACEOF
   10567 #define PACKAGE_VERSION_MINOR $PVM
   10568 _ACEOF
   10569 
   10570 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10571 	if test "x$PVP" = "x"; then
   10572 		PVP="0"
   10573 	fi
   10574 
   10575 cat >>confdefs.h <<_ACEOF
   10576 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10577 _ACEOF
   10578 
   10579 
   10580 
   10581 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10582 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10583 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10584 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10585 
   10586 
   10587 
   10588 
   10589 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10590 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10591 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10592 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10593 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10594 
   10595 
   10596 
   10597 
   10598 
   10599 
   10600 if test x$APP_MAN_SUFFIX = x    ; then
   10601     APP_MAN_SUFFIX=1
   10602 fi
   10603 if test x$APP_MAN_DIR = x    ; then
   10604     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10605 fi
   10606 
   10607 if test x$LIB_MAN_SUFFIX = x    ; then
   10608     LIB_MAN_SUFFIX=3
   10609 fi
   10610 if test x$LIB_MAN_DIR = x    ; then
   10611     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10612 fi
   10613 
   10614 if test x$FILE_MAN_SUFFIX = x    ; then
   10615     case $host_os in
   10616 	# Solaris 2.0 - 11 use SysV man page sections
   10617 	solaris2.?|solaris2.1[01])	FILE_MAN_SUFFIX=4  ;;
   10618 	*)				FILE_MAN_SUFFIX=5  ;;
   10619     esac
   10620 fi
   10621 if test x$FILE_MAN_DIR = x    ; then
   10622     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10623 fi
   10624 
   10625 if test x$MISC_MAN_SUFFIX = x    ; then
   10626     case $host_os in
   10627 	# Solaris 2.0 - 11 use SysV man page sections
   10628 	solaris2.?|solaris2.1[01])	MISC_MAN_SUFFIX=5  ;;
   10629 	*)				MISC_MAN_SUFFIX=7  ;;
   10630     esac
   10631 fi
   10632 if test x$MISC_MAN_DIR = x    ; then
   10633     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10634 fi
   10635 
   10636 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10637     case $host_os in
   10638 	# Solaris 2.0 - 11 use SysV man page sections
   10639 	solaris2.?|solaris2.1[01])	DRIVER_MAN_SUFFIX=7  ;;
   10640 	*)				DRIVER_MAN_SUFFIX=4  ;;
   10641     esac
   10642 fi
   10643 if test x$DRIVER_MAN_DIR = x    ; then
   10644     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10645 fi
   10646 
   10647 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10648     case $host_os in
   10649 	# Solaris 2.0 - 11 use SysV man page sections
   10650 	solaris2.?|solaris2.1[01])	ADMIN_MAN_SUFFIX=1m ;;
   10651 	*)				ADMIN_MAN_SUFFIX=8  ;;
   10652     esac
   10653 fi
   10654 if test x$ADMIN_MAN_DIR = x    ; then
   10655     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10656 fi
   10657 
   10658 
   10659 
   10660 
   10661 
   10662 
   10663 
   10664 
   10665 
   10666 
   10667 
   10668 
   10669 
   10670 
   10671 
   10672 XORG_MAN_PAGE="X Version 11"
   10673 
   10674 MAN_SUBSTS="\
   10675 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10676 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10677 	-e 's|__xservername__|Xorg|g' \
   10678 	-e 's|__xconfigfile__|xorg.conf|g' \
   10679 	-e 's|__projectroot__|\$(prefix)|g' \
   10680 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10681 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10682 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10683 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10684 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10685 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10686 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10687 
   10688 
   10689 
   10690 # Check whether --enable-silent-rules was given.
   10691 if test "${enable_silent_rules+set}" = set; then :
   10692   enableval=$enable_silent_rules;
   10693 fi
   10694 
   10695 case $enable_silent_rules in # (((
   10696   yes) AM_DEFAULT_VERBOSITY=0;;
   10697    no) AM_DEFAULT_VERBOSITY=1;;
   10698     *) AM_DEFAULT_VERBOSITY=0;;
   10699 esac
   10700 am_make=${MAKE-make}
   10701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10702 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10703 if ${am_cv_make_support_nested_variables+:} false; then :
   10704   $as_echo_n "(cached) " >&6
   10705 else
   10706   if $as_echo 'TRUE=$(BAR$(V))
   10707 BAR0=false
   10708 BAR1=true
   10709 V=1
   10710 am__doit:
   10711 	@$(TRUE)
   10712 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10713   am_cv_make_support_nested_variables=yes
   10714 else
   10715   am_cv_make_support_nested_variables=no
   10716 fi
   10717 fi
   10718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10719 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10720 if test $am_cv_make_support_nested_variables = yes; then
   10721     AM_V='$(V)'
   10722   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10723 else
   10724   AM_V=$AM_DEFAULT_VERBOSITY
   10725   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10726 fi
   10727 AM_BACKSLASH='\'
   10728 
   10729 
   10730 
   10731 ac_ext=c
   10732 ac_cpp='$CPP $CPPFLAGS'
   10733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   10737 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   10738 # On Suns, sometimes $CPP names a directory.
   10739 if test -n "$CPP" && test -d "$CPP"; then
   10740   CPP=
   10741 fi
   10742 if test -z "$CPP"; then
   10743   if ${ac_cv_prog_CPP+:} false; then :
   10744   $as_echo_n "(cached) " >&6
   10745 else
   10746       # Double quotes because CPP needs to be expanded
   10747     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   10748     do
   10749       ac_preproc_ok=false
   10750 for ac_c_preproc_warn_flag in '' yes
   10751 do
   10752   # Use a header file that comes with gcc, so configuring glibc
   10753   # with a fresh cross-compiler works.
   10754   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10755   # <limits.h> exists even on freestanding compilers.
   10756   # On the NeXT, cc -E runs the code through the compiler's parser,
   10757   # not just through cpp. "Syntax error" is here to catch this case.
   10758   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10759 /* end confdefs.h.  */
   10760 #ifdef __STDC__
   10761 # include <limits.h>
   10762 #else
   10763 # include <assert.h>
   10764 #endif
   10765 		     Syntax error
   10766 _ACEOF
   10767 if ac_fn_c_try_cpp "$LINENO"; then :
   10768 
   10769 else
   10770   # Broken: fails on valid input.
   10771 continue
   10772 fi
   10773 rm -f conftest.err conftest.i conftest.$ac_ext
   10774 
   10775   # OK, works on sane cases.  Now check whether nonexistent headers
   10776   # can be detected and how.
   10777   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10778 /* end confdefs.h.  */
   10779 #include <ac_nonexistent.h>
   10780 _ACEOF
   10781 if ac_fn_c_try_cpp "$LINENO"; then :
   10782   # Broken: success on invalid input.
   10783 continue
   10784 else
   10785   # Passes both tests.
   10786 ac_preproc_ok=:
   10787 break
   10788 fi
   10789 rm -f conftest.err conftest.i conftest.$ac_ext
   10790 
   10791 done
   10792 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   10793 rm -f conftest.i conftest.err conftest.$ac_ext
   10794 if $ac_preproc_ok; then :
   10795   break
   10796 fi
   10797 
   10798     done
   10799     ac_cv_prog_CPP=$CPP
   10800 
   10801 fi
   10802   CPP=$ac_cv_prog_CPP
   10803 else
   10804   ac_cv_prog_CPP=$CPP
   10805 fi
   10806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   10807 $as_echo "$CPP" >&6; }
   10808 ac_preproc_ok=false
   10809 for ac_c_preproc_warn_flag in '' yes
   10810 do
   10811   # Use a header file that comes with gcc, so configuring glibc
   10812   # with a fresh cross-compiler works.
   10813   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10814   # <limits.h> exists even on freestanding compilers.
   10815   # On the NeXT, cc -E runs the code through the compiler's parser,
   10816   # not just through cpp. "Syntax error" is here to catch this case.
   10817   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10818 /* end confdefs.h.  */
   10819 #ifdef __STDC__
   10820 # include <limits.h>
   10821 #else
   10822 # include <assert.h>
   10823 #endif
   10824 		     Syntax error
   10825 _ACEOF
   10826 if ac_fn_c_try_cpp "$LINENO"; then :
   10827 
   10828 else
   10829   # Broken: fails on valid input.
   10830 continue
   10831 fi
   10832 rm -f conftest.err conftest.i conftest.$ac_ext
   10833 
   10834   # OK, works on sane cases.  Now check whether nonexistent headers
   10835   # can be detected and how.
   10836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10837 /* end confdefs.h.  */
   10838 #include <ac_nonexistent.h>
   10839 _ACEOF
   10840 if ac_fn_c_try_cpp "$LINENO"; then :
   10841   # Broken: success on invalid input.
   10842 continue
   10843 else
   10844   # Passes both tests.
   10845 ac_preproc_ok=:
   10846 break
   10847 fi
   10848 rm -f conftest.err conftest.i conftest.$ac_ext
   10849 
   10850 done
   10851 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   10852 rm -f conftest.i conftest.err conftest.$ac_ext
   10853 if $ac_preproc_ok; then :
   10854 
   10855 else
   10856   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10858 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   10859 See \`config.log' for more details" "$LINENO" 5; }
   10860 fi
   10861 
   10862 ac_ext=c
   10863 ac_cpp='$CPP $CPPFLAGS'
   10864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10867 
   10868 
   10869 
   10870 for ac_prog in cpp
   10871 do
   10872   # Extract the first word of "$ac_prog", so it can be a program name with args.
   10873 set dummy $ac_prog; ac_word=$2
   10874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10875 $as_echo_n "checking for $ac_word... " >&6; }
   10876 if ${ac_cv_path_RAWCPP+:} false; then :
   10877   $as_echo_n "(cached) " >&6
   10878 else
   10879   case $RAWCPP in
   10880   [\\/]* | ?:[\\/]*)
   10881   ac_cv_path_RAWCPP="$RAWCPP" # Let the user override the test with a path.
   10882   ;;
   10883   *)
   10884   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10885 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
   10886 for as_dir in $as_dummy
   10887 do
   10888   IFS=$as_save_IFS
   10889   test -z "$as_dir" && as_dir=.
   10890     for ac_exec_ext in '' $ac_executable_extensions; do
   10891   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10892     ac_cv_path_RAWCPP="$as_dir/$ac_word$ac_exec_ext"
   10893     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10894     break 2
   10895   fi
   10896 done
   10897   done
   10898 IFS=$as_save_IFS
   10899 
   10900   ;;
   10901 esac
   10902 fi
   10903 RAWCPP=$ac_cv_path_RAWCPP
   10904 if test -n "$RAWCPP"; then
   10905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RAWCPP" >&5
   10906 $as_echo "$RAWCPP" >&6; }
   10907 else
   10908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10909 $as_echo "no" >&6; }
   10910 fi
   10911 
   10912 
   10913   test -n "$RAWCPP" && break
   10914 done
   10915 test -n "$RAWCPP" || RAWCPP="${CPP}"
   10916 
   10917 
   10918 # Check for flag to avoid builtin definitions - assumes unix is predefined,
   10919 # which is not the best choice for supporting other OS'es, but covers most
   10920 # of the ones we need for now.
   10921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -undef" >&5
   10922 $as_echo_n "checking if $RAWCPP requires -undef... " >&6; }
   10923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10924 /* end confdefs.h.  */
   10925 Does cpp redefine unix ?
   10926 _ACEOF
   10927 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   10928 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10929 $as_echo "no" >&6; }
   10930 else
   10931 	if test `${RAWCPP} -undef < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   10932 		RAWCPPFLAGS=-undef
   10933 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10934 $as_echo "yes" >&6; }
   10935 	# under Cygwin unix is still defined even with -undef
   10936 	elif test `${RAWCPP} -undef -ansi < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   10937 		RAWCPPFLAGS="-undef -ansi"
   10938 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, with -ansi" >&5
   10939 $as_echo "yes, with -ansi" >&6; }
   10940 	else
   10941 		as_fn_error $? "${RAWCPP} defines unix with or without -undef.  I don't know what to do." "$LINENO" 5
   10942 	fi
   10943 fi
   10944 rm -f conftest.$ac_ext
   10945 
   10946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -traditional" >&5
   10947 $as_echo_n "checking if $RAWCPP requires -traditional... " >&6; }
   10948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10949 /* end confdefs.h.  */
   10950 Does cpp preserve   "whitespace"?
   10951 _ACEOF
   10952 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
   10953 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10954 $as_echo "no" >&6; }
   10955 else
   10956 	if test `${RAWCPP} -traditional < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
   10957 		TRADITIONALCPPFLAGS="-traditional"
   10958 		RAWCPPFLAGS="${RAWCPPFLAGS} -traditional"
   10959 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10960 $as_echo "yes" >&6; }
   10961 	else
   10962 		as_fn_error $? "${RAWCPP} does not preserve whitespace with or without -traditional.  I don't know what to do." "$LINENO" 5
   10963 	fi
   10964 fi
   10965 rm -f conftest.$ac_ext
   10966 
   10967 
   10968 
   10969 CPP_PROGRAM=${RAWCPP}
   10970 
   10971 
   10972 for ac_func in mkstemp
   10973 do :
   10974   ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
   10975 if test "x$ac_cv_func_mkstemp" = xyes; then :
   10976   cat >>confdefs.h <<_ACEOF
   10977 #define HAVE_MKSTEMP 1
   10978 _ACEOF
   10979 
   10980 fi
   10981 done
   10982 
   10983 
   10984 # Extract the first word of "perl", so it can be a program name with args.
   10985 set dummy perl; ac_word=$2
   10986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10987 $as_echo_n "checking for $ac_word... " >&6; }
   10988 if ${ac_cv_prog_HAS_PERL+:} false; then :
   10989   $as_echo_n "(cached) " >&6
   10990 else
   10991   if test -n "$HAS_PERL"; then
   10992   ac_cv_prog_HAS_PERL="$HAS_PERL" # Let the user override the test.
   10993 else
   10994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10995 for as_dir in $PATH
   10996 do
   10997   IFS=$as_save_IFS
   10998   test -z "$as_dir" && as_dir=.
   10999     for ac_exec_ext in '' $ac_executable_extensions; do
   11000   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11001     ac_cv_prog_HAS_PERL="yes"
   11002     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11003     break 2
   11004   fi
   11005 done
   11006   done
   11007 IFS=$as_save_IFS
   11008 
   11009 fi
   11010 fi
   11011 HAS_PERL=$ac_cv_prog_HAS_PERL
   11012 if test -n "$HAS_PERL"; then
   11013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAS_PERL" >&5
   11014 $as_echo "$HAS_PERL" >&6; }
   11015 else
   11016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11017 $as_echo "no" >&6; }
   11018 fi
   11019 
   11020 
   11021  if test "x$HAS_PERL" = xyes; then
   11022   HAS_PERL_TRUE=
   11023   HAS_PERL_FALSE='#'
   11024 else
   11025   HAS_PERL_TRUE='#'
   11026   HAS_PERL_FALSE=
   11027 fi
   11028 
   11029 
   11030 
   11031 
   11032 DEFAULT_XCONFDIR="${libdir}/X11/config"
   11033 
   11034 # Check whether --with-config-dir was given.
   11035 if test "${with_config_dir+set}" = set; then :
   11036   withval=$with_config_dir; XCONFDIR="$withval"
   11037 else
   11038   XCONFDIR="$DEFAULT_XCONFDIR"
   11039 fi
   11040 
   11041 
   11042 
   11043 DEFAULT_PREPROCESSCMD_MKDEPEND="gcc -E"
   11044 
   11045 # Check whether --with-script-preproc-cmd was given.
   11046 if test "${with_script_preproc_cmd+set}" = set; then :
   11047   withval=$with_script_preproc_cmd; PREPROCESSCMD_MKDEPEND="$withval"
   11048 else
   11049   PREPROCESSCMD_MKDEPEND="$DEFAULT_PREPROCESSCMD_MKDEPEND"
   11050 fi
   11051 
   11052 
   11053 
   11054 DEFAULT_ARCMD="ar clq"
   11055 
   11056 # Check whether --with-create-lib-cmd was given.
   11057 if test "${with_create_lib_cmd+set}" = set; then :
   11058   withval=$with_create_lib_cmd; ARCMD="$withval"
   11059 else
   11060   ARCMD="$DEFAULT_ARCMD"
   11061 fi
   11062 
   11063 
   11064 
   11065 DEFAULT_RANLIB="ranlib"
   11066 
   11067 # Check whether --with-clean-lib-cmd was given.
   11068 if test "${with_clean_lib_cmd+set}" = set; then :
   11069   withval=$with_clean_lib_cmd; RANLIB="$withval"
   11070 else
   11071   RANLIB="$DEFAULT_RANLIB"
   11072 fi
   11073 
   11074 
   11075 
   11076 # Check whether --enable-revpath was given.
   11077 if test "${enable_revpath+set}" = set; then :
   11078   enableval=$enable_revpath; BUILD_REVPATH="$enableval"
   11079 else
   11080   BUILD_REVPATH=yes
   11081 fi
   11082 
   11083  if test "x$BUILD_REVPATH" = xyes; then
   11084   BUILD_REVPATH_TRUE=
   11085   BUILD_REVPATH_FALSE='#'
   11086 else
   11087   BUILD_REVPATH_TRUE='#'
   11088   BUILD_REVPATH_FALSE=
   11089 fi
   11090 
   11091 
   11092 # Check whether --enable-makeg was given.
   11093 if test "${enable_makeg+set}" = set; then :
   11094   enableval=$enable_makeg; BUILD_MAKEG="$enableval"
   11095 else
   11096   BUILD_MAKEG=yes
   11097 fi
   11098 
   11099  if test "x$BUILD_MAKEG" = xyes; then
   11100   BUILD_MAKEG_TRUE=
   11101   BUILD_MAKEG_FALSE='#'
   11102 else
   11103   BUILD_MAKEG_TRUE='#'
   11104   BUILD_MAKEG_FALSE=
   11105 fi
   11106 
   11107 
   11108 # Check whether --enable-xmkmf was given.
   11109 if test "${enable_xmkmf+set}" = set; then :
   11110   enableval=$enable_xmkmf; BUILD_XMKMF="$enableval"
   11111 else
   11112   BUILD_XMKMF=yes
   11113 fi
   11114 
   11115  if test "x$BUILD_XMKMF" = xyes; then
   11116   BUILD_XMKMF_TRUE=
   11117   BUILD_XMKMF_FALSE='#'
   11118 else
   11119   BUILD_XMKMF_TRUE='#'
   11120   BUILD_XMKMF_FALSE=
   11121 fi
   11122 
   11123 
   11124 # Check whether --enable-ccmakedep was given.
   11125 if test "${enable_ccmakedep+set}" = set; then :
   11126   enableval=$enable_ccmakedep; BUILD_CCMAKEDEP="$enableval"
   11127 else
   11128   BUILD_CCMAKEDEP=yes
   11129 fi
   11130 
   11131  if test "x$BUILD_CCMAKEDEP" = xyes; then
   11132   BUILD_CCMAKEDEP_TRUE=
   11133   BUILD_CCMAKEDEP_FALSE='#'
   11134 else
   11135   BUILD_CCMAKEDEP_TRUE='#'
   11136   BUILD_CCMAKEDEP_FALSE=
   11137 fi
   11138 
   11139 
   11140 # Check whether --enable-mergelib was given.
   11141 if test "${enable_mergelib+set}" = set; then :
   11142   enableval=$enable_mergelib; BUILD_MERGELIB="$enableval"
   11143 else
   11144   BUILD_MERGELIB=yes
   11145 fi
   11146 
   11147  if test "x$BUILD_MERGELIB" = xyes; then
   11148   BUILD_MERGELIB_TRUE=
   11149   BUILD_MERGELIB_FALSE='#'
   11150 else
   11151   BUILD_MERGELIB_TRUE='#'
   11152   BUILD_MERGELIB_FALSE=
   11153 fi
   11154 
   11155 
   11156 # Check whether --enable-mkdirhier was given.
   11157 if test "${enable_mkdirhier+set}" = set; then :
   11158   enableval=$enable_mkdirhier; BUILD_MKDIRHIER="$enableval"
   11159 else
   11160   BUILD_MKDIRHIER=yes
   11161 fi
   11162 
   11163  if test "x$BUILD_MKDIRHIER" = xyes; then
   11164   BUILD_MKDIRHIER_TRUE=
   11165   BUILD_MKDIRHIER_FALSE='#'
   11166 else
   11167   BUILD_MKDIRHIER_TRUE='#'
   11168   BUILD_MKDIRHIER_FALSE=
   11169 fi
   11170 
   11171 
   11172 # Check whether --enable-cleanlinks was given.
   11173 if test "${enable_cleanlinks+set}" = set; then :
   11174   enableval=$enable_cleanlinks; BUILD_CLEANLINKS="$enableval"
   11175 else
   11176   BUILD_CLEANLINKS=yes
   11177 fi
   11178 
   11179  if test "x$BUILD_CLEANLINKS" = xyes; then
   11180   BUILD_CLEANLINKS_TRUE=
   11181   BUILD_CLEANLINKS_FALSE='#'
   11182 else
   11183   BUILD_CLEANLINKS_TRUE='#'
   11184   BUILD_CLEANLINKS_FALSE=
   11185 fi
   11186 
   11187 
   11188 # Check whether --enable-mkhtmlindex was given.
   11189 if test "${enable_mkhtmlindex+set}" = set; then :
   11190   enableval=$enable_mkhtmlindex; BUILD_MKHTMLINDEX="$enableval"
   11191 else
   11192   BUILD_MKHTMLINDEX=yes
   11193 fi
   11194 
   11195  if test "x$BUILD_MKHTMLINDEX" = xyes; then
   11196   BUILD_MKHTMLINDEX_TRUE=
   11197   BUILD_MKHTMLINDEX_FALSE='#'
   11198 else
   11199   BUILD_MKHTMLINDEX_TRUE='#'
   11200   BUILD_MKHTMLINDEX_FALSE=
   11201 fi
   11202 
   11203 
   11204 # Checks for pkg-config packages
   11205 
   11206 pkg_failed=no
   11207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XPROTO" >&5
   11208 $as_echo_n "checking for XPROTO... " >&6; }
   11209 
   11210 if test -n "$XPROTO_CFLAGS"; then
   11211     pkg_cv_XPROTO_CFLAGS="$XPROTO_CFLAGS"
   11212  elif test -n "$PKG_CONFIG"; then
   11213     if test -n "$PKG_CONFIG" && \
   11214     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto\""; } >&5
   11215   ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
   11216   ac_status=$?
   11217   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11218   test $ac_status = 0; }; then
   11219   pkg_cv_XPROTO_CFLAGS=`$PKG_CONFIG --cflags "xproto" 2>/dev/null`
   11220 		      test "x$?" != "x0" && pkg_failed=yes
   11221 else
   11222   pkg_failed=yes
   11223 fi
   11224  else
   11225     pkg_failed=untried
   11226 fi
   11227 if test -n "$XPROTO_LIBS"; then
   11228     pkg_cv_XPROTO_LIBS="$XPROTO_LIBS"
   11229  elif test -n "$PKG_CONFIG"; then
   11230     if test -n "$PKG_CONFIG" && \
   11231     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto\""; } >&5
   11232   ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
   11233   ac_status=$?
   11234   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11235   test $ac_status = 0; }; then
   11236   pkg_cv_XPROTO_LIBS=`$PKG_CONFIG --libs "xproto" 2>/dev/null`
   11237 		      test "x$?" != "x0" && pkg_failed=yes
   11238 else
   11239   pkg_failed=yes
   11240 fi
   11241  else
   11242     pkg_failed=untried
   11243 fi
   11244 
   11245 
   11246 
   11247 if test $pkg_failed = yes; then
   11248    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11249 $as_echo "no" >&6; }
   11250 
   11251 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11252         _pkg_short_errors_supported=yes
   11253 else
   11254         _pkg_short_errors_supported=no
   11255 fi
   11256         if test $_pkg_short_errors_supported = yes; then
   11257 	        XPROTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto" 2>&1`
   11258         else
   11259 	        XPROTO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto" 2>&1`
   11260         fi
   11261 	# Put the nasty error message in config.log where it belongs
   11262 	echo "$XPROTO_PKG_ERRORS" >&5
   11263 
   11264 	as_fn_error $? "Package requirements (xproto) were not met:
   11265 
   11266 $XPROTO_PKG_ERRORS
   11267 
   11268 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11269 installed software in a non-standard prefix.
   11270 
   11271 Alternatively, you may set the environment variables XPROTO_CFLAGS
   11272 and XPROTO_LIBS to avoid the need to call pkg-config.
   11273 See the pkg-config man page for more details." "$LINENO" 5
   11274 elif test $pkg_failed = untried; then
   11275      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11276 $as_echo "no" >&6; }
   11277 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11278 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11279 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11280 is in your PATH or set the PKG_CONFIG environment variable to the full
   11281 path to pkg-config.
   11282 
   11283 Alternatively, you may set the environment variables XPROTO_CFLAGS
   11284 and XPROTO_LIBS to avoid the need to call pkg-config.
   11285 See the pkg-config man page for more details.
   11286 
   11287 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11288 See \`config.log' for more details" "$LINENO" 5; }
   11289 else
   11290 	XPROTO_CFLAGS=$pkg_cv_XPROTO_CFLAGS
   11291 	XPROTO_LIBS=$pkg_cv_XPROTO_LIBS
   11292         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11293 $as_echo "yes" >&6; }
   11294 
   11295 fi
   11296 
   11297 ac_config_files="$ac_config_files Makefile"
   11298 
   11299 cat >confcache <<\_ACEOF
   11300 # This file is a shell script that caches the results of configure
   11301 # tests run on this system so they can be shared between configure
   11302 # scripts and configure runs, see configure's option --config-cache.
   11303 # It is not useful on other systems.  If it contains results you don't
   11304 # want to keep, you may remove or edit it.
   11305 #
   11306 # config.status only pays attention to the cache file if you give it
   11307 # the --recheck option to rerun configure.
   11308 #
   11309 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11310 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11311 # following values.
   11312 
   11313 _ACEOF
   11314 
   11315 # The following way of writing the cache mishandles newlines in values,
   11316 # but we know of no workaround that is simple, portable, and efficient.
   11317 # So, we kill variables containing newlines.
   11318 # Ultrix sh set writes to stderr and can't be redirected directly,
   11319 # and sets the high bit in the cache file unless we assign to the vars.
   11320 (
   11321   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11322     eval ac_val=\$$ac_var
   11323     case $ac_val in #(
   11324     *${as_nl}*)
   11325       case $ac_var in #(
   11326       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11327 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11328       esac
   11329       case $ac_var in #(
   11330       _ | IFS | as_nl) ;; #(
   11331       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11332       *) { eval $ac_var=; unset $ac_var;} ;;
   11333       esac ;;
   11334     esac
   11335   done
   11336 
   11337   (set) 2>&1 |
   11338     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11339     *${as_nl}ac_space=\ *)
   11340       # `set' does not quote correctly, so add quotes: double-quote
   11341       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11342       sed -n \
   11343 	"s/'/'\\\\''/g;
   11344 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11345       ;; #(
   11346     *)
   11347       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11348       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11349       ;;
   11350     esac |
   11351     sort
   11352 ) |
   11353   sed '
   11354      /^ac_cv_env_/b end
   11355      t clear
   11356      :clear
   11357      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   11358      t end
   11359      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11360      :end' >>confcache
   11361 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11362   if test -w "$cache_file"; then
   11363     if test "x$cache_file" != "x/dev/null"; then
   11364       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11365 $as_echo "$as_me: updating cache $cache_file" >&6;}
   11366       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11367 	cat confcache >"$cache_file"
   11368       else
   11369         case $cache_file in #(
   11370         */* | ?:*)
   11371 	  mv -f confcache "$cache_file"$$ &&
   11372 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11373         *)
   11374 	  mv -f confcache "$cache_file" ;;
   11375 	esac
   11376       fi
   11377     fi
   11378   else
   11379     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11380 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   11381   fi
   11382 fi
   11383 rm -f confcache
   11384 
   11385 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11386 # Let make expand exec_prefix.
   11387 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11388 
   11389 DEFS=-DHAVE_CONFIG_H
   11390 
   11391 ac_libobjs=
   11392 ac_ltlibobjs=
   11393 U=
   11394 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11395   # 1. Remove the extension, and $U if already installed.
   11396   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11397   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11398   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11399   #    will be set to the directory where LIBOBJS objects are built.
   11400   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11401   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11402 done
   11403 LIBOBJS=$ac_libobjs
   11404 
   11405 LTLIBOBJS=$ac_ltlibobjs
   11406 
   11407 
   11408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11409 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   11410    if test -n "$am_sleep_pid"; then
   11411      # Hide warnings about reused PIDs.
   11412      wait $am_sleep_pid 2>/dev/null
   11413    fi
   11414    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11415 $as_echo "done" >&6; }
   11416  if test -n "$EXEEXT"; then
   11417   am__EXEEXT_TRUE=
   11418   am__EXEEXT_FALSE='#'
   11419 else
   11420   am__EXEEXT_TRUE='#'
   11421   am__EXEEXT_FALSE=
   11422 fi
   11423 
   11424 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11425   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11426 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11427 fi
   11428 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11429   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11430 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11431 fi
   11432 if test -z "${HAS_PERL_TRUE}" && test -z "${HAS_PERL_FALSE}"; then
   11433   as_fn_error $? "conditional \"HAS_PERL\" was never defined.
   11434 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11435 fi
   11436 if test -z "${BUILD_REVPATH_TRUE}" && test -z "${BUILD_REVPATH_FALSE}"; then
   11437   as_fn_error $? "conditional \"BUILD_REVPATH\" was never defined.
   11438 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11439 fi
   11440 if test -z "${BUILD_MAKEG_TRUE}" && test -z "${BUILD_MAKEG_FALSE}"; then
   11441   as_fn_error $? "conditional \"BUILD_MAKEG\" was never defined.
   11442 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11443 fi
   11444 if test -z "${BUILD_XMKMF_TRUE}" && test -z "${BUILD_XMKMF_FALSE}"; then
   11445   as_fn_error $? "conditional \"BUILD_XMKMF\" was never defined.
   11446 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11447 fi
   11448 if test -z "${BUILD_CCMAKEDEP_TRUE}" && test -z "${BUILD_CCMAKEDEP_FALSE}"; then
   11449   as_fn_error $? "conditional \"BUILD_CCMAKEDEP\" was never defined.
   11450 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11451 fi
   11452 if test -z "${BUILD_MERGELIB_TRUE}" && test -z "${BUILD_MERGELIB_FALSE}"; then
   11453   as_fn_error $? "conditional \"BUILD_MERGELIB\" was never defined.
   11454 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11455 fi
   11456 if test -z "${BUILD_MKDIRHIER_TRUE}" && test -z "${BUILD_MKDIRHIER_FALSE}"; then
   11457   as_fn_error $? "conditional \"BUILD_MKDIRHIER\" was never defined.
   11458 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11459 fi
   11460 if test -z "${BUILD_CLEANLINKS_TRUE}" && test -z "${BUILD_CLEANLINKS_FALSE}"; then
   11461   as_fn_error $? "conditional \"BUILD_CLEANLINKS\" was never defined.
   11462 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11463 fi
   11464 if test -z "${BUILD_MKHTMLINDEX_TRUE}" && test -z "${BUILD_MKHTMLINDEX_FALSE}"; then
   11465   as_fn_error $? "conditional \"BUILD_MKHTMLINDEX\" was never defined.
   11466 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11467 fi
   11468 
   11469 : "${CONFIG_STATUS=./config.status}"
   11470 ac_write_fail=0
   11471 ac_clean_files_save=$ac_clean_files
   11472 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11473 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11474 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11475 as_write_fail=0
   11476 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11477 #! $SHELL
   11478 # Generated by $as_me.
   11479 # Run this file to recreate the current configuration.
   11480 # Compiler output produced by configure, useful for debugging
   11481 # configure, is in config.log if it exists.
   11482 
   11483 debug=false
   11484 ac_cs_recheck=false
   11485 ac_cs_silent=false
   11486 
   11487 SHELL=\${CONFIG_SHELL-$SHELL}
   11488 export SHELL
   11489 _ASEOF
   11490 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11491 ## -------------------- ##
   11492 ## M4sh Initialization. ##
   11493 ## -------------------- ##
   11494 
   11495 # Be more Bourne compatible
   11496 DUALCASE=1; export DUALCASE # for MKS sh
   11497 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11498   emulate sh
   11499   NULLCMD=:
   11500   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11501   # is contrary to our usage.  Disable this feature.
   11502   alias -g '${1+"$@"}'='"$@"'
   11503   setopt NO_GLOB_SUBST
   11504 else
   11505   case `(set -o) 2>/dev/null` in #(
   11506   *posix*) :
   11507     set -o posix ;; #(
   11508   *) :
   11509      ;;
   11510 esac
   11511 fi
   11512 
   11513 
   11514 as_nl='
   11515 '
   11516 export as_nl
   11517 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11518 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11519 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11520 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11521 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11522 # but without wasting forks for bash or zsh.
   11523 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11524     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11525   as_echo='print -r --'
   11526   as_echo_n='print -rn --'
   11527 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11528   as_echo='printf %s\n'
   11529   as_echo_n='printf %s'
   11530 else
   11531   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11532     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11533     as_echo_n='/usr/ucb/echo -n'
   11534   else
   11535     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11536     as_echo_n_body='eval
   11537       arg=$1;
   11538       case $arg in #(
   11539       *"$as_nl"*)
   11540 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11541 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11542       esac;
   11543       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11544     '
   11545     export as_echo_n_body
   11546     as_echo_n='sh -c $as_echo_n_body as_echo'
   11547   fi
   11548   export as_echo_body
   11549   as_echo='sh -c $as_echo_body as_echo'
   11550 fi
   11551 
   11552 # The user is always right.
   11553 if test "${PATH_SEPARATOR+set}" != set; then
   11554   PATH_SEPARATOR=:
   11555   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11556     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11557       PATH_SEPARATOR=';'
   11558   }
   11559 fi
   11560 
   11561 
   11562 # IFS
   11563 # We need space, tab and new line, in precisely that order.  Quoting is
   11564 # there to prevent editors from complaining about space-tab.
   11565 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11566 # splitting by setting IFS to empty value.)
   11567 IFS=" ""	$as_nl"
   11568 
   11569 # Find who we are.  Look in the path if we contain no directory separator.
   11570 as_myself=
   11571 case $0 in #((
   11572   *[\\/]* ) as_myself=$0 ;;
   11573   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11574 for as_dir in $PATH
   11575 do
   11576   IFS=$as_save_IFS
   11577   test -z "$as_dir" && as_dir=.
   11578     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11579   done
   11580 IFS=$as_save_IFS
   11581 
   11582      ;;
   11583 esac
   11584 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11585 # in which case we are not to be found in the path.
   11586 if test "x$as_myself" = x; then
   11587   as_myself=$0
   11588 fi
   11589 if test ! -f "$as_myself"; then
   11590   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11591   exit 1
   11592 fi
   11593 
   11594 # Unset variables that we do not need and which cause bugs (e.g. in
   11595 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11596 # suppresses any "Segmentation fault" message there.  '((' could
   11597 # trigger a bug in pdksh 5.2.14.
   11598 for as_var in BASH_ENV ENV MAIL MAILPATH
   11599 do eval test x\${$as_var+set} = xset \
   11600   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11601 done
   11602 PS1='$ '
   11603 PS2='> '
   11604 PS4='+ '
   11605 
   11606 # NLS nuisances.
   11607 LC_ALL=C
   11608 export LC_ALL
   11609 LANGUAGE=C
   11610 export LANGUAGE
   11611 
   11612 # CDPATH.
   11613 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11614 
   11615 
   11616 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11617 # ----------------------------------------
   11618 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11619 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11620 # script with STATUS, using 1 if that was 0.
   11621 as_fn_error ()
   11622 {
   11623   as_status=$1; test $as_status -eq 0 && as_status=1
   11624   if test "$4"; then
   11625     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11626     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11627   fi
   11628   $as_echo "$as_me: error: $2" >&2
   11629   as_fn_exit $as_status
   11630 } # as_fn_error
   11631 
   11632 
   11633 # as_fn_set_status STATUS
   11634 # -----------------------
   11635 # Set $? to STATUS, without forking.
   11636 as_fn_set_status ()
   11637 {
   11638   return $1
   11639 } # as_fn_set_status
   11640 
   11641 # as_fn_exit STATUS
   11642 # -----------------
   11643 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11644 as_fn_exit ()
   11645 {
   11646   set +e
   11647   as_fn_set_status $1
   11648   exit $1
   11649 } # as_fn_exit
   11650 
   11651 # as_fn_unset VAR
   11652 # ---------------
   11653 # Portably unset VAR.
   11654 as_fn_unset ()
   11655 {
   11656   { eval $1=; unset $1;}
   11657 }
   11658 as_unset=as_fn_unset
   11659 # as_fn_append VAR VALUE
   11660 # ----------------------
   11661 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11662 # advantage of any shell optimizations that allow amortized linear growth over
   11663 # repeated appends, instead of the typical quadratic growth present in naive
   11664 # implementations.
   11665 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11666   eval 'as_fn_append ()
   11667   {
   11668     eval $1+=\$2
   11669   }'
   11670 else
   11671   as_fn_append ()
   11672   {
   11673     eval $1=\$$1\$2
   11674   }
   11675 fi # as_fn_append
   11676 
   11677 # as_fn_arith ARG...
   11678 # ------------------
   11679 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11680 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11681 # must be portable across $(()) and expr.
   11682 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11683   eval 'as_fn_arith ()
   11684   {
   11685     as_val=$(( $* ))
   11686   }'
   11687 else
   11688   as_fn_arith ()
   11689   {
   11690     as_val=`expr "$@" || test $? -eq 1`
   11691   }
   11692 fi # as_fn_arith
   11693 
   11694 
   11695 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11696    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11697   as_expr=expr
   11698 else
   11699   as_expr=false
   11700 fi
   11701 
   11702 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11703   as_basename=basename
   11704 else
   11705   as_basename=false
   11706 fi
   11707 
   11708 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11709   as_dirname=dirname
   11710 else
   11711   as_dirname=false
   11712 fi
   11713 
   11714 as_me=`$as_basename -- "$0" ||
   11715 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11716 	 X"$0" : 'X\(//\)$' \| \
   11717 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11718 $as_echo X/"$0" |
   11719     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11720 	    s//\1/
   11721 	    q
   11722 	  }
   11723 	  /^X\/\(\/\/\)$/{
   11724 	    s//\1/
   11725 	    q
   11726 	  }
   11727 	  /^X\/\(\/\).*/{
   11728 	    s//\1/
   11729 	    q
   11730 	  }
   11731 	  s/.*/./; q'`
   11732 
   11733 # Avoid depending upon Character Ranges.
   11734 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11735 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11736 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11737 as_cr_digits='0123456789'
   11738 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11739 
   11740 ECHO_C= ECHO_N= ECHO_T=
   11741 case `echo -n x` in #(((((
   11742 -n*)
   11743   case `echo 'xy\c'` in
   11744   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11745   xy)  ECHO_C='\c';;
   11746   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11747        ECHO_T='	';;
   11748   esac;;
   11749 *)
   11750   ECHO_N='-n';;
   11751 esac
   11752 
   11753 rm -f conf$$ conf$$.exe conf$$.file
   11754 if test -d conf$$.dir; then
   11755   rm -f conf$$.dir/conf$$.file
   11756 else
   11757   rm -f conf$$.dir
   11758   mkdir conf$$.dir 2>/dev/null
   11759 fi
   11760 if (echo >conf$$.file) 2>/dev/null; then
   11761   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11762     as_ln_s='ln -s'
   11763     # ... but there are two gotchas:
   11764     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11765     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11766     # In both cases, we have to default to `cp -pR'.
   11767     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11768       as_ln_s='cp -pR'
   11769   elif ln conf$$.file conf$$ 2>/dev/null; then
   11770     as_ln_s=ln
   11771   else
   11772     as_ln_s='cp -pR'
   11773   fi
   11774 else
   11775   as_ln_s='cp -pR'
   11776 fi
   11777 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11778 rmdir conf$$.dir 2>/dev/null
   11779 
   11780 
   11781 # as_fn_mkdir_p
   11782 # -------------
   11783 # Create "$as_dir" as a directory, including parents if necessary.
   11784 as_fn_mkdir_p ()
   11785 {
   11786 
   11787   case $as_dir in #(
   11788   -*) as_dir=./$as_dir;;
   11789   esac
   11790   test -d "$as_dir" || eval $as_mkdir_p || {
   11791     as_dirs=
   11792     while :; do
   11793       case $as_dir in #(
   11794       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11795       *) as_qdir=$as_dir;;
   11796       esac
   11797       as_dirs="'$as_qdir' $as_dirs"
   11798       as_dir=`$as_dirname -- "$as_dir" ||
   11799 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11800 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11801 	 X"$as_dir" : 'X\(//\)$' \| \
   11802 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11803 $as_echo X"$as_dir" |
   11804     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11805 	    s//\1/
   11806 	    q
   11807 	  }
   11808 	  /^X\(\/\/\)[^/].*/{
   11809 	    s//\1/
   11810 	    q
   11811 	  }
   11812 	  /^X\(\/\/\)$/{
   11813 	    s//\1/
   11814 	    q
   11815 	  }
   11816 	  /^X\(\/\).*/{
   11817 	    s//\1/
   11818 	    q
   11819 	  }
   11820 	  s/.*/./; q'`
   11821       test -d "$as_dir" && break
   11822     done
   11823     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11824   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11825 
   11826 
   11827 } # as_fn_mkdir_p
   11828 if mkdir -p . 2>/dev/null; then
   11829   as_mkdir_p='mkdir -p "$as_dir"'
   11830 else
   11831   test -d ./-p && rmdir ./-p
   11832   as_mkdir_p=false
   11833 fi
   11834 
   11835 
   11836 # as_fn_executable_p FILE
   11837 # -----------------------
   11838 # Test if FILE is an executable regular file.
   11839 as_fn_executable_p ()
   11840 {
   11841   test -f "$1" && test -x "$1"
   11842 } # as_fn_executable_p
   11843 as_test_x='test -x'
   11844 as_executable_p=as_fn_executable_p
   11845 
   11846 # Sed expression to map a string onto a valid CPP name.
   11847 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11848 
   11849 # Sed expression to map a string onto a valid variable name.
   11850 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11851 
   11852 
   11853 exec 6>&1
   11854 ## ----------------------------------- ##
   11855 ## Main body of $CONFIG_STATUS script. ##
   11856 ## ----------------------------------- ##
   11857 _ASEOF
   11858 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11859 
   11860 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11861 # Save the log message, to keep $0 and so on meaningful, and to
   11862 # report actual input values of CONFIG_FILES etc. instead of their
   11863 # values after options handling.
   11864 ac_log="
   11865 This file was extended by imake $as_me 1.0.8, which was
   11866 generated by GNU Autoconf 2.69.  Invocation command line was
   11867 
   11868   CONFIG_FILES    = $CONFIG_FILES
   11869   CONFIG_HEADERS  = $CONFIG_HEADERS
   11870   CONFIG_LINKS    = $CONFIG_LINKS
   11871   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11872   $ $0 $@
   11873 
   11874 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11875 "
   11876 
   11877 _ACEOF
   11878 
   11879 case $ac_config_files in *"
   11880 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11881 esac
   11882 
   11883 case $ac_config_headers in *"
   11884 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11885 esac
   11886 
   11887 
   11888 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11889 # Files that config.status was made for.
   11890 config_files="$ac_config_files"
   11891 config_headers="$ac_config_headers"
   11892 config_commands="$ac_config_commands"
   11893 
   11894 _ACEOF
   11895 
   11896 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11897 ac_cs_usage="\
   11898 \`$as_me' instantiates files and other configuration actions
   11899 from templates according to the current configuration.  Unless the files
   11900 and actions are specified as TAGs, all are instantiated by default.
   11901 
   11902 Usage: $0 [OPTION]... [TAG]...
   11903 
   11904   -h, --help       print this help, then exit
   11905   -V, --version    print version number and configuration settings, then exit
   11906       --config     print configuration, then exit
   11907   -q, --quiet, --silent
   11908                    do not print progress messages
   11909   -d, --debug      don't remove temporary files
   11910       --recheck    update $as_me by reconfiguring in the same conditions
   11911       --file=FILE[:TEMPLATE]
   11912                    instantiate the configuration file FILE
   11913       --header=FILE[:TEMPLATE]
   11914                    instantiate the configuration header FILE
   11915 
   11916 Configuration files:
   11917 $config_files
   11918 
   11919 Configuration headers:
   11920 $config_headers
   11921 
   11922 Configuration commands:
   11923 $config_commands
   11924 
   11925 Report bugs to <https://gitlab.freedesktop.org/xorg/util/imake/issues>."
   11926 
   11927 _ACEOF
   11928 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11929 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11930 ac_cs_version="\\
   11931 imake config.status 1.0.8
   11932 configured by $0, generated by GNU Autoconf 2.69,
   11933   with options \\"\$ac_cs_config\\"
   11934 
   11935 Copyright (C) 2012 Free Software Foundation, Inc.
   11936 This config.status script is free software; the Free Software Foundation
   11937 gives unlimited permission to copy, distribute and modify it."
   11938 
   11939 ac_pwd='$ac_pwd'
   11940 srcdir='$srcdir'
   11941 INSTALL='$INSTALL'
   11942 MKDIR_P='$MKDIR_P'
   11943 AWK='$AWK'
   11944 test -n "\$AWK" || AWK=awk
   11945 _ACEOF
   11946 
   11947 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11948 # The default lists apply if the user does not specify any file.
   11949 ac_need_defaults=:
   11950 while test $# != 0
   11951 do
   11952   case $1 in
   11953   --*=?*)
   11954     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11955     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11956     ac_shift=:
   11957     ;;
   11958   --*=)
   11959     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11960     ac_optarg=
   11961     ac_shift=:
   11962     ;;
   11963   *)
   11964     ac_option=$1
   11965     ac_optarg=$2
   11966     ac_shift=shift
   11967     ;;
   11968   esac
   11969 
   11970   case $ac_option in
   11971   # Handling of the options.
   11972   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11973     ac_cs_recheck=: ;;
   11974   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11975     $as_echo "$ac_cs_version"; exit ;;
   11976   --config | --confi | --conf | --con | --co | --c )
   11977     $as_echo "$ac_cs_config"; exit ;;
   11978   --debug | --debu | --deb | --de | --d | -d )
   11979     debug=: ;;
   11980   --file | --fil | --fi | --f )
   11981     $ac_shift
   11982     case $ac_optarg in
   11983     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11984     '') as_fn_error $? "missing file argument" ;;
   11985     esac
   11986     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11987     ac_need_defaults=false;;
   11988   --header | --heade | --head | --hea )
   11989     $ac_shift
   11990     case $ac_optarg in
   11991     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11992     esac
   11993     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11994     ac_need_defaults=false;;
   11995   --he | --h)
   11996     # Conflict between --help and --header
   11997     as_fn_error $? "ambiguous option: \`$1'
   11998 Try \`$0 --help' for more information.";;
   11999   --help | --hel | -h )
   12000     $as_echo "$ac_cs_usage"; exit ;;
   12001   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12002   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12003     ac_cs_silent=: ;;
   12004 
   12005   # This is an error.
   12006   -*) as_fn_error $? "unrecognized option: \`$1'
   12007 Try \`$0 --help' for more information." ;;
   12008 
   12009   *) as_fn_append ac_config_targets " $1"
   12010      ac_need_defaults=false ;;
   12011 
   12012   esac
   12013   shift
   12014 done
   12015 
   12016 ac_configure_extra_args=
   12017 
   12018 if $ac_cs_silent; then
   12019   exec 6>/dev/null
   12020   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12021 fi
   12022 
   12023 _ACEOF
   12024 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12025 if \$ac_cs_recheck; then
   12026   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12027   shift
   12028   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   12029   CONFIG_SHELL='$SHELL'
   12030   export CONFIG_SHELL
   12031   exec "\$@"
   12032 fi
   12033 
   12034 _ACEOF
   12035 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12036 exec 5>>config.log
   12037 {
   12038   echo
   12039   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12040 ## Running $as_me. ##
   12041 _ASBOX
   12042   $as_echo "$ac_log"
   12043 } >&5
   12044 
   12045 _ACEOF
   12046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12047 #
   12048 # INIT-COMMANDS
   12049 #
   12050 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   12051 
   12052 _ACEOF
   12053 
   12054 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12055 
   12056 # Handling of arguments.
   12057 for ac_config_target in $ac_config_targets
   12058 do
   12059   case $ac_config_target in
   12060     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12061     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12062     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12063 
   12064   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   12065   esac
   12066 done
   12067 
   12068 
   12069 # If the user did not use the arguments to specify the items to instantiate,
   12070 # then the envvar interface is used.  Set only those that are not.
   12071 # We use the long form for the default assignment because of an extremely
   12072 # bizarre bug on SunOS 4.1.3.
   12073 if $ac_need_defaults; then
   12074   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   12075   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   12076   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   12077 fi
   12078 
   12079 # Have a temporary directory for convenience.  Make it in the build tree
   12080 # simply because there is no reason against having it here, and in addition,
   12081 # creating and moving files from /tmp can sometimes cause problems.
   12082 # Hook for its removal unless debugging.
   12083 # Note that there is a small window in which the directory will not be cleaned:
   12084 # after its creation but before its name has been assigned to `$tmp'.
   12085 $debug ||
   12086 {
   12087   tmp= ac_tmp=
   12088   trap 'exit_status=$?
   12089   : "${ac_tmp:=$tmp}"
   12090   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12091 ' 0
   12092   trap 'as_fn_exit 1' 1 2 13 15
   12093 }
   12094 # Create a (secure) tmp directory for tmp files.
   12095 
   12096 {
   12097   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12098   test -d "$tmp"
   12099 }  ||
   12100 {
   12101   tmp=./conf$$-$RANDOM
   12102   (umask 077 && mkdir "$tmp")
   12103 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12104 ac_tmp=$tmp
   12105 
   12106 # Set up the scripts for CONFIG_FILES section.
   12107 # No need to generate them if there are no CONFIG_FILES.
   12108 # This happens for instance with `./config.status config.h'.
   12109 if test -n "$CONFIG_FILES"; then
   12110 
   12111 
   12112 ac_cr=`echo X | tr X '\015'`
   12113 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12114 # But we know of no other shell where ac_cr would be empty at this
   12115 # point, so we can use a bashism as a fallback.
   12116 if test "x$ac_cr" = x; then
   12117   eval ac_cr=\$\'\\r\'
   12118 fi
   12119 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12120 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12121   ac_cs_awk_cr='\\r'
   12122 else
   12123   ac_cs_awk_cr=$ac_cr
   12124 fi
   12125 
   12126 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12127 _ACEOF
   12128 
   12129 
   12130 {
   12131   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12132   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12133   echo "_ACEOF"
   12134 } >conf$$subs.sh ||
   12135   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12136 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12137 ac_delim='%!_!# '
   12138 for ac_last_try in false false false false false :; do
   12139   . ./conf$$subs.sh ||
   12140     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12141 
   12142   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12143   if test $ac_delim_n = $ac_delim_num; then
   12144     break
   12145   elif $ac_last_try; then
   12146     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12147   else
   12148     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12149   fi
   12150 done
   12151 rm -f conf$$subs.sh
   12152 
   12153 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12154 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12155 _ACEOF
   12156 sed -n '
   12157 h
   12158 s/^/S["/; s/!.*/"]=/
   12159 p
   12160 g
   12161 s/^[^!]*!//
   12162 :repl
   12163 t repl
   12164 s/'"$ac_delim"'$//
   12165 t delim
   12166 :nl
   12167 h
   12168 s/\(.\{148\}\)..*/\1/
   12169 t more1
   12170 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12171 p
   12172 n
   12173 b repl
   12174 :more1
   12175 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12176 p
   12177 g
   12178 s/.\{148\}//
   12179 t nl
   12180 :delim
   12181 h
   12182 s/\(.\{148\}\)..*/\1/
   12183 t more2
   12184 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12185 p
   12186 b
   12187 :more2
   12188 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12189 p
   12190 g
   12191 s/.\{148\}//
   12192 t delim
   12193 ' <conf$$subs.awk | sed '
   12194 /^[^""]/{
   12195   N
   12196   s/\n//
   12197 }
   12198 ' >>$CONFIG_STATUS || ac_write_fail=1
   12199 rm -f conf$$subs.awk
   12200 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12201 _ACAWK
   12202 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12203   for (key in S) S_is_set[key] = 1
   12204   FS = ""
   12205 
   12206 }
   12207 {
   12208   line = $ 0
   12209   nfields = split(line, field, "@")
   12210   substed = 0
   12211   len = length(field[1])
   12212   for (i = 2; i < nfields; i++) {
   12213     key = field[i]
   12214     keylen = length(key)
   12215     if (S_is_set[key]) {
   12216       value = S[key]
   12217       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12218       len += length(value) + length(field[++i])
   12219       substed = 1
   12220     } else
   12221       len += 1 + keylen
   12222   }
   12223 
   12224   print line
   12225 }
   12226 
   12227 _ACAWK
   12228 _ACEOF
   12229 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12230 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12231   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12232 else
   12233   cat
   12234 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12235   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12236 _ACEOF
   12237 
   12238 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12239 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12240 # trailing colons and then remove the whole line if VPATH becomes empty
   12241 # (actually we leave an empty line to preserve line numbers).
   12242 if test "x$srcdir" = x.; then
   12243   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12244 h
   12245 s///
   12246 s/^/:/
   12247 s/[	 ]*$/:/
   12248 s/:\$(srcdir):/:/g
   12249 s/:\${srcdir}:/:/g
   12250 s/:@srcdir@:/:/g
   12251 s/^:*//
   12252 s/:*$//
   12253 x
   12254 s/\(=[	 ]*\).*/\1/
   12255 G
   12256 s/\n//
   12257 s/^[^=]*=[	 ]*$//
   12258 }'
   12259 fi
   12260 
   12261 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12262 fi # test -n "$CONFIG_FILES"
   12263 
   12264 # Set up the scripts for CONFIG_HEADERS section.
   12265 # No need to generate them if there are no CONFIG_HEADERS.
   12266 # This happens for instance with `./config.status Makefile'.
   12267 if test -n "$CONFIG_HEADERS"; then
   12268 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12269 BEGIN {
   12270 _ACEOF
   12271 
   12272 # Transform confdefs.h into an awk script `defines.awk', embedded as
   12273 # here-document in config.status, that substitutes the proper values into
   12274 # config.h.in to produce config.h.
   12275 
   12276 # Create a delimiter string that does not exist in confdefs.h, to ease
   12277 # handling of long lines.
   12278 ac_delim='%!_!# '
   12279 for ac_last_try in false false :; do
   12280   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12281   if test -z "$ac_tt"; then
   12282     break
   12283   elif $ac_last_try; then
   12284     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12285   else
   12286     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12287   fi
   12288 done
   12289 
   12290 # For the awk script, D is an array of macro values keyed by name,
   12291 # likewise P contains macro parameters if any.  Preserve backslash
   12292 # newline sequences.
   12293 
   12294 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12295 sed -n '
   12296 s/.\{148\}/&'"$ac_delim"'/g
   12297 t rset
   12298 :rset
   12299 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12300 t def
   12301 d
   12302 :def
   12303 s/\\$//
   12304 t bsnl
   12305 s/["\\]/\\&/g
   12306 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12307 D["\1"]=" \3"/p
   12308 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12309 d
   12310 :bsnl
   12311 s/["\\]/\\&/g
   12312 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12313 D["\1"]=" \3\\\\\\n"\\/p
   12314 t cont
   12315 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12316 t cont
   12317 d
   12318 :cont
   12319 n
   12320 s/.\{148\}/&'"$ac_delim"'/g
   12321 t clear
   12322 :clear
   12323 s/\\$//
   12324 t bsnlc
   12325 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12326 d
   12327 :bsnlc
   12328 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12329 b cont
   12330 ' <confdefs.h | sed '
   12331 s/'"$ac_delim"'/"\\\
   12332 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12333 
   12334 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12335   for (key in D) D_is_set[key] = 1
   12336   FS = ""
   12337 }
   12338 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12339   line = \$ 0
   12340   split(line, arg, " ")
   12341   if (arg[1] == "#") {
   12342     defundef = arg[2]
   12343     mac1 = arg[3]
   12344   } else {
   12345     defundef = substr(arg[1], 2)
   12346     mac1 = arg[2]
   12347   }
   12348   split(mac1, mac2, "(") #)
   12349   macro = mac2[1]
   12350   prefix = substr(line, 1, index(line, defundef) - 1)
   12351   if (D_is_set[macro]) {
   12352     # Preserve the white space surrounding the "#".
   12353     print prefix "define", macro P[macro] D[macro]
   12354     next
   12355   } else {
   12356     # Replace #undef with comments.  This is necessary, for example,
   12357     # in the case of _POSIX_SOURCE, which is predefined and required
   12358     # on some systems where configure will not decide to define it.
   12359     if (defundef == "undef") {
   12360       print "/*", prefix defundef, macro, "*/"
   12361       next
   12362     }
   12363   }
   12364 }
   12365 { print }
   12366 _ACAWK
   12367 _ACEOF
   12368 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12369   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12370 fi # test -n "$CONFIG_HEADERS"
   12371 
   12372 
   12373 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12374 shift
   12375 for ac_tag
   12376 do
   12377   case $ac_tag in
   12378   :[FHLC]) ac_mode=$ac_tag; continue;;
   12379   esac
   12380   case $ac_mode$ac_tag in
   12381   :[FHL]*:*);;
   12382   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12383   :[FH]-) ac_tag=-:-;;
   12384   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12385   esac
   12386   ac_save_IFS=$IFS
   12387   IFS=:
   12388   set x $ac_tag
   12389   IFS=$ac_save_IFS
   12390   shift
   12391   ac_file=$1
   12392   shift
   12393 
   12394   case $ac_mode in
   12395   :L) ac_source=$1;;
   12396   :[FH])
   12397     ac_file_inputs=
   12398     for ac_f
   12399     do
   12400       case $ac_f in
   12401       -) ac_f="$ac_tmp/stdin";;
   12402       *) # Look for the file first in the build tree, then in the source tree
   12403 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12404 	 # because $ac_f cannot contain `:'.
   12405 	 test -f "$ac_f" ||
   12406 	   case $ac_f in
   12407 	   [\\/$]*) false;;
   12408 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12409 	   esac ||
   12410 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12411       esac
   12412       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12413       as_fn_append ac_file_inputs " '$ac_f'"
   12414     done
   12415 
   12416     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12417     # use $as_me), people would be surprised to read:
   12418     #    /* config.h.  Generated by config.status.  */
   12419     configure_input='Generated from '`
   12420 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12421 	`' by configure.'
   12422     if test x"$ac_file" != x-; then
   12423       configure_input="$ac_file.  $configure_input"
   12424       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12425 $as_echo "$as_me: creating $ac_file" >&6;}
   12426     fi
   12427     # Neutralize special characters interpreted by sed in replacement strings.
   12428     case $configure_input in #(
   12429     *\&* | *\|* | *\\* )
   12430        ac_sed_conf_input=`$as_echo "$configure_input" |
   12431        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12432     *) ac_sed_conf_input=$configure_input;;
   12433     esac
   12434 
   12435     case $ac_tag in
   12436     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12437       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12438     esac
   12439     ;;
   12440   esac
   12441 
   12442   ac_dir=`$as_dirname -- "$ac_file" ||
   12443 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12444 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12445 	 X"$ac_file" : 'X\(//\)$' \| \
   12446 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12447 $as_echo X"$ac_file" |
   12448     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12449 	    s//\1/
   12450 	    q
   12451 	  }
   12452 	  /^X\(\/\/\)[^/].*/{
   12453 	    s//\1/
   12454 	    q
   12455 	  }
   12456 	  /^X\(\/\/\)$/{
   12457 	    s//\1/
   12458 	    q
   12459 	  }
   12460 	  /^X\(\/\).*/{
   12461 	    s//\1/
   12462 	    q
   12463 	  }
   12464 	  s/.*/./; q'`
   12465   as_dir="$ac_dir"; as_fn_mkdir_p
   12466   ac_builddir=.
   12467 
   12468 case "$ac_dir" in
   12469 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12470 *)
   12471   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   12472   # A ".." for each directory in $ac_dir_suffix.
   12473   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12474   case $ac_top_builddir_sub in
   12475   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12476   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12477   esac ;;
   12478 esac
   12479 ac_abs_top_builddir=$ac_pwd
   12480 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12481 # for backward compatibility:
   12482 ac_top_builddir=$ac_top_build_prefix
   12483 
   12484 case $srcdir in
   12485   .)  # We are building in place.
   12486     ac_srcdir=.
   12487     ac_top_srcdir=$ac_top_builddir_sub
   12488     ac_abs_top_srcdir=$ac_pwd ;;
   12489   [\\/]* | ?:[\\/]* )  # Absolute name.
   12490     ac_srcdir=$srcdir$ac_dir_suffix;
   12491     ac_top_srcdir=$srcdir
   12492     ac_abs_top_srcdir=$srcdir ;;
   12493   *) # Relative name.
   12494     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12495     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12496     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12497 esac
   12498 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12499 
   12500 
   12501   case $ac_mode in
   12502   :F)
   12503   #
   12504   # CONFIG_FILE
   12505   #
   12506 
   12507   case $INSTALL in
   12508   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12509   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12510   esac
   12511   ac_MKDIR_P=$MKDIR_P
   12512   case $MKDIR_P in
   12513   [\\/$]* | ?:[\\/]* ) ;;
   12514   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12515   esac
   12516 _ACEOF
   12517 
   12518 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12519 # If the template does not know about datarootdir, expand it.
   12520 # FIXME: This hack should be removed a few years after 2.60.
   12521 ac_datarootdir_hack=; ac_datarootdir_seen=
   12522 ac_sed_dataroot='
   12523 /datarootdir/ {
   12524   p
   12525   q
   12526 }
   12527 /@datadir@/p
   12528 /@docdir@/p
   12529 /@infodir@/p
   12530 /@localedir@/p
   12531 /@mandir@/p'
   12532 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12533 *datarootdir*) ac_datarootdir_seen=yes;;
   12534 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12535   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12536 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12537 _ACEOF
   12538 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12539   ac_datarootdir_hack='
   12540   s&@datadir@&$datadir&g
   12541   s&@docdir@&$docdir&g
   12542   s&@infodir@&$infodir&g
   12543   s&@localedir@&$localedir&g
   12544   s&@mandir@&$mandir&g
   12545   s&\\\${datarootdir}&$datarootdir&g' ;;
   12546 esac
   12547 _ACEOF
   12548 
   12549 # Neutralize VPATH when `$srcdir' = `.'.
   12550 # Shell code in configure.ac might set extrasub.
   12551 # FIXME: do we really want to maintain this feature?
   12552 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12553 ac_sed_extra="$ac_vpsub
   12554 $extrasub
   12555 _ACEOF
   12556 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12557 :t
   12558 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12559 s|@configure_input@|$ac_sed_conf_input|;t t
   12560 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12561 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12562 s&@srcdir@&$ac_srcdir&;t t
   12563 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12564 s&@top_srcdir@&$ac_top_srcdir&;t t
   12565 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12566 s&@builddir@&$ac_builddir&;t t
   12567 s&@abs_builddir@&$ac_abs_builddir&;t t
   12568 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12569 s&@INSTALL@&$ac_INSTALL&;t t
   12570 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12571 $ac_datarootdir_hack
   12572 "
   12573 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12574   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12575 
   12576 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12577   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12578   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12579       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12580   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12581 which seems to be undefined.  Please make sure it is defined" >&5
   12582 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12583 which seems to be undefined.  Please make sure it is defined" >&2;}
   12584 
   12585   rm -f "$ac_tmp/stdin"
   12586   case $ac_file in
   12587   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12588   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12589   esac \
   12590   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12591  ;;
   12592   :H)
   12593   #
   12594   # CONFIG_HEADER
   12595   #
   12596   if test x"$ac_file" != x-; then
   12597     {
   12598       $as_echo "/* $configure_input  */" \
   12599       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12600     } >"$ac_tmp/config.h" \
   12601       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12602     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12603       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12604 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12605     else
   12606       rm -f "$ac_file"
   12607       mv "$ac_tmp/config.h" "$ac_file" \
   12608 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12609     fi
   12610   else
   12611     $as_echo "/* $configure_input  */" \
   12612       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12613       || as_fn_error $? "could not create -" "$LINENO" 5
   12614   fi
   12615 # Compute "$ac_file"'s index in $config_headers.
   12616 _am_arg="$ac_file"
   12617 _am_stamp_count=1
   12618 for _am_header in $config_headers :; do
   12619   case $_am_header in
   12620     $_am_arg | $_am_arg:* )
   12621       break ;;
   12622     * )
   12623       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12624   esac
   12625 done
   12626 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12627 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12628 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12629 	 X"$_am_arg" : 'X\(//\)$' \| \
   12630 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12631 $as_echo X"$_am_arg" |
   12632     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12633 	    s//\1/
   12634 	    q
   12635 	  }
   12636 	  /^X\(\/\/\)[^/].*/{
   12637 	    s//\1/
   12638 	    q
   12639 	  }
   12640 	  /^X\(\/\/\)$/{
   12641 	    s//\1/
   12642 	    q
   12643 	  }
   12644 	  /^X\(\/\).*/{
   12645 	    s//\1/
   12646 	    q
   12647 	  }
   12648 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12649  ;;
   12650 
   12651   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12652 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12653  ;;
   12654   esac
   12655 
   12656 
   12657   case $ac_file$ac_mode in
   12658     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12659   # Older Autoconf quotes --file arguments for eval, but not when files
   12660   # are listed without --file.  Let's play safe and only enable the eval
   12661   # if we detect the quoting.
   12662   case $CONFIG_FILES in
   12663   *\'*) eval set x "$CONFIG_FILES" ;;
   12664   *)   set x $CONFIG_FILES ;;
   12665   esac
   12666   shift
   12667   for mf
   12668   do
   12669     # Strip MF so we end up with the name of the file.
   12670     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12671     # Check whether this is an Automake generated Makefile or not.
   12672     # We used to match only the files named 'Makefile.in', but
   12673     # some people rename them; so instead we look at the file content.
   12674     # Grep'ing the first line is not enough: some people post-process
   12675     # each Makefile.in and add a new line on top of each file to say so.
   12676     # Grep'ing the whole file is not good either: AIX grep has a line
   12677     # limit of 2048, but all sed's we know have understand at least 4000.
   12678     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12679       dirpart=`$as_dirname -- "$mf" ||
   12680 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12681 	 X"$mf" : 'X\(//\)[^/]' \| \
   12682 	 X"$mf" : 'X\(//\)$' \| \
   12683 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12684 $as_echo X"$mf" |
   12685     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12686 	    s//\1/
   12687 	    q
   12688 	  }
   12689 	  /^X\(\/\/\)[^/].*/{
   12690 	    s//\1/
   12691 	    q
   12692 	  }
   12693 	  /^X\(\/\/\)$/{
   12694 	    s//\1/
   12695 	    q
   12696 	  }
   12697 	  /^X\(\/\).*/{
   12698 	    s//\1/
   12699 	    q
   12700 	  }
   12701 	  s/.*/./; q'`
   12702     else
   12703       continue
   12704     fi
   12705     # Extract the definition of DEPDIR, am__include, and am__quote
   12706     # from the Makefile without running 'make'.
   12707     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12708     test -z "$DEPDIR" && continue
   12709     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12710     test -z "$am__include" && continue
   12711     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12712     # Find all dependency output files, they are included files with
   12713     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12714     # simplest approach to changing $(DEPDIR) to its actual value in the
   12715     # expansion.
   12716     for file in `sed -n "
   12717       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12718 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   12719       # Make sure the directory exists.
   12720       test -f "$dirpart/$file" && continue
   12721       fdir=`$as_dirname -- "$file" ||
   12722 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12723 	 X"$file" : 'X\(//\)[^/]' \| \
   12724 	 X"$file" : 'X\(//\)$' \| \
   12725 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12726 $as_echo X"$file" |
   12727     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12728 	    s//\1/
   12729 	    q
   12730 	  }
   12731 	  /^X\(\/\/\)[^/].*/{
   12732 	    s//\1/
   12733 	    q
   12734 	  }
   12735 	  /^X\(\/\/\)$/{
   12736 	    s//\1/
   12737 	    q
   12738 	  }
   12739 	  /^X\(\/\).*/{
   12740 	    s//\1/
   12741 	    q
   12742 	  }
   12743 	  s/.*/./; q'`
   12744       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12745       # echo "creating $dirpart/$file"
   12746       echo '# dummy' > "$dirpart/$file"
   12747     done
   12748   done
   12749 }
   12750  ;;
   12751 
   12752   esac
   12753 done # for ac_tag
   12754 
   12755 
   12756 as_fn_exit 0
   12757 _ACEOF
   12758 ac_clean_files=$ac_clean_files_save
   12759 
   12760 test $ac_write_fail = 0 ||
   12761   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12762 
   12763 
   12764 # configure is writing to config.log, and then calls config.status.
   12765 # config.status does its own redirection, appending to config.log.
   12766 # Unfortunately, on DOS this fails, as config.log is still kept open
   12767 # by configure, so config.status won't be able to write to it; its
   12768 # output is simply discarded.  So we exec the FD to /dev/null,
   12769 # effectively closing config.log, so it can be properly (re)opened and
   12770 # appended to by config.status.  When coming back to configure, we
   12771 # need to make the FD available again.
   12772 if test "$no_create" != yes; then
   12773   ac_cs_success=:
   12774   ac_config_status_args=
   12775   test "$silent" = yes &&
   12776     ac_config_status_args="$ac_config_status_args --quiet"
   12777   exec 5>/dev/null
   12778   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12779   exec 5>>config.log
   12780   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12781   # would make configure fail if this is the last instruction.
   12782   $ac_cs_success || as_fn_exit 1
   12783 fi
   12784 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12785   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12786 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12787 fi
   12788 
   12789