Home | History | Annotate | Line # | Download | only in dist
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.72 for xgc 1.0.7.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xgc/-/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation,
      9 # Inc.
     10 #
     11 #
     12 # This configure script is free software; the Free Software Foundation
     13 # gives unlimited permission to copy, distribute and modify it.
     14 ## -------------------- ##
     15 ## M4sh Initialization. ##
     16 ## -------------------- ##
     17 
     18 # Be more Bourne compatible
     19 DUALCASE=1; export DUALCASE # for MKS sh
     20 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     21 then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else case e in #(
     29   e) case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac ;;
     35 esac
     36 fi
     37 
     38 
     39 
     40 # Reset variables that may have inherited troublesome values from
     41 # the environment.
     42 
     43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
     44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
     45 # side effect of setting IFS to empty, thus disabling word splitting.)
     46 # Quoting is to prevent editors from complaining about space-tab.
     47 as_nl='
     48 '
     49 export as_nl
     50 IFS=" ""	$as_nl"
     51 
     52 PS1='$ '
     53 PS2='> '
     54 PS4='+ '
     55 
     56 # Ensure predictable behavior from utilities with locale-dependent output.
     57 LC_ALL=C
     58 export LC_ALL
     59 LANGUAGE=C
     60 export LANGUAGE
     61 
     62 # We cannot yet rely on "unset" to work, but we need these variables
     63 # to be unset--not just set to an empty or harmless value--now, to
     64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
     65 # also avoids known problems related to "unset" and subshell syntax
     66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
     67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
     68 do eval test \${$as_var+y} \
     69   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     70 done
     71 
     72 # Ensure that fds 0, 1, and 2 are open.
     73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
     74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
     75 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
     76 
     77 # The user is always right.
     78 if ${PATH_SEPARATOR+false} :; then
     79   PATH_SEPARATOR=:
     80   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     81     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     82       PATH_SEPARATOR=';'
     83   }
     84 fi
     85 
     86 
     87 # Find who we are.  Look in the path if we contain no directory separator.
     88 as_myself=
     89 case $0 in #((
     90   *[\\/]* ) as_myself=$0 ;;
     91   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     92 for as_dir in $PATH
     93 do
     94   IFS=$as_save_IFS
     95   case $as_dir in #(((
     96     '') as_dir=./ ;;
     97     */) ;;
     98     *) as_dir=$as_dir/ ;;
     99   esac
    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   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 
    117 # Use a proper internal environment variable to ensure we don't fall
    118   # into an infinite loop, continuously re-executing ourselves.
    119   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    120     _as_can_reexec=no; export _as_can_reexec;
    121     # We cannot yet assume a decent shell, so we have to provide a
    122 # neutralization value for shells without unset; and this also
    123 # works around shells that cannot unset nonexistent variables.
    124 # Preserve -v and -x to the replacement shell.
    125 BASH_ENV=/dev/null
    126 ENV=/dev/null
    127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    128 case $- in # ((((
    129   *v*x* | *x*v* ) as_opts=-vx ;;
    130   *v* ) as_opts=-v ;;
    131   *x* ) as_opts=-x ;;
    132   * ) as_opts= ;;
    133 esac
    134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    135 # Admittedly, this is quite paranoid, since all the known shells bail
    136 # out after a failed 'exec'.
    137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    138 exit 255
    139   fi
    140   # We don't want this to propagate to other subprocesses.
    141           { _as_can_reexec=; unset _as_can_reexec;}
    142 if test "x$CONFIG_SHELL" = x; then
    143   as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    144 then :
    145   emulate sh
    146   NULLCMD=:
    147   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    148   # is contrary to our usage.  Disable this feature.
    149   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    150   setopt NO_GLOB_SUBST
    151 else case e in #(
    152   e) case \`(set -o) 2>/dev/null\` in #(
    153   *posix*) :
    154     set -o posix ;; #(
    155   *) :
    156      ;;
    157 esac ;;
    158 esac
    159 fi
    160 "
    161   as_required="as_fn_return () { (exit \$1); }
    162 as_fn_success () { as_fn_return 0; }
    163 as_fn_failure () { as_fn_return 1; }
    164 as_fn_ret_success () { return 0; }
    165 as_fn_ret_failure () { return 1; }
    166 
    167 exitcode=0
    168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
    173 then :
    174 
    175 else case e in #(
    176   e) exitcode=1; echo positional parameters were not saved. ;;
    177 esac
    178 fi
    179 test x\$exitcode = x0 || exit 1
    180 blah=\$(echo \$(echo blah))
    181 test x\"\$blah\" = xblah || exit 1
    182 test -x / || exit 1"
    183   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    184   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    185   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    186   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    187 test \$(( 1 + 1 )) = 2 || exit 1"
    188   if (eval "$as_required") 2>/dev/null
    189 then :
    190   as_have_required=yes
    191 else case e in #(
    192   e) as_have_required=no ;;
    193 esac
    194 fi
    195   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    196 then :
    197 
    198 else case e in #(
    199   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    200 as_found=false
    201 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    202 do
    203   IFS=$as_save_IFS
    204   case $as_dir in #(((
    205     '') as_dir=./ ;;
    206     */) ;;
    207     *) as_dir=$as_dir/ ;;
    208   esac
    209   as_found=:
    210   case $as_dir in #(
    211 	 /*)
    212 	   for as_base in sh bash ksh sh5; do
    213 	     # Try only shells that exist, to save several forks.
    214 	     as_shell=$as_dir$as_base
    215 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    216 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    217 then :
    218   CONFIG_SHELL=$as_shell as_have_required=yes
    219 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    220 then :
    221   break 2
    222 fi
    223 fi
    224 	   done;;
    225        esac
    226   as_found=false
    227 done
    228 IFS=$as_save_IFS
    229 if $as_found
    230 then :
    231 
    232 else case e in #(
    233   e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    234 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    235 then :
    236   CONFIG_SHELL=$SHELL as_have_required=yes
    237 fi ;;
    238 esac
    239 fi
    240 
    241 
    242       if test "x$CONFIG_SHELL" != x
    243 then :
    244   export CONFIG_SHELL
    245              # We cannot yet assume a decent shell, so we have to provide a
    246 # neutralization value for shells without unset; and this also
    247 # works around shells that cannot unset nonexistent variables.
    248 # Preserve -v and -x to the replacement shell.
    249 BASH_ENV=/dev/null
    250 ENV=/dev/null
    251 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    252 case $- in # ((((
    253   *v*x* | *x*v* ) as_opts=-vx ;;
    254   *v* ) as_opts=-v ;;
    255   *x* ) as_opts=-x ;;
    256   * ) as_opts= ;;
    257 esac
    258 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    259 # Admittedly, this is quite paranoid, since all the known shells bail
    260 # out after a failed 'exec'.
    261 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    262 exit 255
    263 fi
    264 
    265     if test x$as_have_required = xno
    266 then :
    267   printf "%s\n" "$0: This script requires a shell more modern than all"
    268   printf "%s\n" "$0: the shells that I found on your system."
    269   if test ${ZSH_VERSION+y} ; then
    270     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    271     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    272   else
    273     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    274 $0: https://gitlab.freedesktop.org/xorg/app/xgc/-/issues
    275 $0: about your system, including any error possibly output
    276 $0: before this message. Then install a modern shell, or
    277 $0: manually run the script under such a shell if you do
    278 $0: have one."
    279   fi
    280   exit 1
    281 fi ;;
    282 esac
    283 fi
    284 fi
    285 SHELL=${CONFIG_SHELL-/bin/sh}
    286 export SHELL
    287 # Unset more variables known to interfere with behavior of common tools.
    288 CLICOLOR_FORCE= GREP_OPTIONS=
    289 unset CLICOLOR_FORCE GREP_OPTIONS
    290 
    291 ## --------------------- ##
    292 ## M4sh Shell Functions. ##
    293 ## --------------------- ##
    294 # as_fn_unset VAR
    295 # ---------------
    296 # Portably unset VAR.
    297 as_fn_unset ()
    298 {
    299   { eval $1=; unset $1;}
    300 }
    301 as_unset=as_fn_unset
    302 
    303 
    304 # as_fn_set_status STATUS
    305 # -----------------------
    306 # Set $? to STATUS, without forking.
    307 as_fn_set_status ()
    308 {
    309   return $1
    310 } # as_fn_set_status
    311 
    312 # as_fn_exit STATUS
    313 # -----------------
    314 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    315 as_fn_exit ()
    316 {
    317   set +e
    318   as_fn_set_status $1
    319   exit $1
    320 } # as_fn_exit
    321 
    322 # as_fn_mkdir_p
    323 # -------------
    324 # Create "$as_dir" as a directory, including parents if necessary.
    325 as_fn_mkdir_p ()
    326 {
    327 
    328   case $as_dir in #(
    329   -*) as_dir=./$as_dir;;
    330   esac
    331   test -d "$as_dir" || eval $as_mkdir_p || {
    332     as_dirs=
    333     while :; do
    334       case $as_dir in #(
    335       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    336       *) as_qdir=$as_dir;;
    337       esac
    338       as_dirs="'$as_qdir' $as_dirs"
    339       as_dir=`$as_dirname -- "$as_dir" ||
    340 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    341 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    342 	 X"$as_dir" : 'X\(//\)$' \| \
    343 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    344 printf "%s\n" X"$as_dir" |
    345     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    346 	    s//\1/
    347 	    q
    348 	  }
    349 	  /^X\(\/\/\)[^/].*/{
    350 	    s//\1/
    351 	    q
    352 	  }
    353 	  /^X\(\/\/\)$/{
    354 	    s//\1/
    355 	    q
    356 	  }
    357 	  /^X\(\/\).*/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  s/.*/./; q'`
    362       test -d "$as_dir" && break
    363     done
    364     test -z "$as_dirs" || eval "mkdir $as_dirs"
    365   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    366 
    367 
    368 } # as_fn_mkdir_p
    369 
    370 # as_fn_executable_p FILE
    371 # -----------------------
    372 # Test if FILE is an executable regular file.
    373 as_fn_executable_p ()
    374 {
    375   test -f "$1" && test -x "$1"
    376 } # as_fn_executable_p
    377 # as_fn_append VAR VALUE
    378 # ----------------------
    379 # Append the text in VALUE to the end of the definition contained in VAR. Take
    380 # advantage of any shell optimizations that allow amortized linear growth over
    381 # repeated appends, instead of the typical quadratic growth present in naive
    382 # implementations.
    383 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    384 then :
    385   eval 'as_fn_append ()
    386   {
    387     eval $1+=\$2
    388   }'
    389 else case e in #(
    390   e) as_fn_append ()
    391   {
    392     eval $1=\$$1\$2
    393   } ;;
    394 esac
    395 fi # as_fn_append
    396 
    397 # as_fn_arith ARG...
    398 # ------------------
    399 # Perform arithmetic evaluation on the ARGs, and store the result in the
    400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    401 # must be portable across $(()) and expr.
    402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    403 then :
    404   eval 'as_fn_arith ()
    405   {
    406     as_val=$(( $* ))
    407   }'
    408 else case e in #(
    409   e) as_fn_arith ()
    410   {
    411     as_val=`expr "$@" || test $? -eq 1`
    412   } ;;
    413 esac
    414 fi # as_fn_arith
    415 
    416 
    417 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    418 # ----------------------------------------
    419 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    420 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    421 # script with STATUS, using 1 if that was 0.
    422 as_fn_error ()
    423 {
    424   as_status=$1; test $as_status -eq 0 && as_status=1
    425   if test "$4"; then
    426     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    427     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    428   fi
    429   printf "%s\n" "$as_me: error: $2" >&2
    430   as_fn_exit $as_status
    431 } # as_fn_error
    432 
    433 if expr a : '\(a\)' >/dev/null 2>&1 &&
    434    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    435   as_expr=expr
    436 else
    437   as_expr=false
    438 fi
    439 
    440 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    441   as_basename=basename
    442 else
    443   as_basename=false
    444 fi
    445 
    446 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    447   as_dirname=dirname
    448 else
    449   as_dirname=false
    450 fi
    451 
    452 as_me=`$as_basename -- "$0" ||
    453 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    454 	 X"$0" : 'X\(//\)$' \| \
    455 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    456 printf "%s\n" X/"$0" |
    457     sed '/^.*\/\([^/][^/]*\)\/*$/{
    458 	    s//\1/
    459 	    q
    460 	  }
    461 	  /^X\/\(\/\/\)$/{
    462 	    s//\1/
    463 	    q
    464 	  }
    465 	  /^X\/\(\/\).*/{
    466 	    s//\1/
    467 	    q
    468 	  }
    469 	  s/.*/./; q'`
    470 
    471 # Avoid depending upon Character Ranges.
    472 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    473 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    474 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    475 as_cr_digits='0123456789'
    476 as_cr_alnum=$as_cr_Letters$as_cr_digits
    477 
    478 
    479   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    480   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    481   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    482   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    483   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    484   sed -n '
    485     p
    486     /[$]LINENO/=
    487   ' <$as_myself |
    488     sed '
    489       t clear
    490       :clear
    491       s/[$]LINENO.*/&-/
    492       t lineno
    493       b
    494       :lineno
    495       N
    496       :loop
    497       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    498       t loop
    499       s/-\n.*//
    500     ' >$as_me.lineno &&
    501   chmod +x "$as_me.lineno" ||
    502     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    503 
    504   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    505   # already done that, so ensure we don't try to do so again and fall
    506   # in an infinite loop.  This has already happened in practice.
    507   _as_can_reexec=no; export _as_can_reexec
    508   # Don't try to exec as it changes $[0], causing all sort of problems
    509   # (the dirname of $[0] is not the place where we might find the
    510   # original and so on.  Autoconf is especially sensitive to this).
    511   . "./$as_me.lineno"
    512   # Exit status is that of the last command.
    513   exit
    514 }
    515 
    516 
    517 # Determine whether it's possible to make 'echo' print without a newline.
    518 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    519 # for compatibility with existing Makefiles.
    520 ECHO_C= ECHO_N= ECHO_T=
    521 case `echo -n x` in #(((((
    522 -n*)
    523   case `echo 'xy\c'` in
    524   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    525   xy)  ECHO_C='\c';;
    526   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    527        ECHO_T='	';;
    528   esac;;
    529 *)
    530   ECHO_N='-n';;
    531 esac
    532 
    533 # For backward compatibility with old third-party macros, we provide
    534 # the shell variables $as_echo and $as_echo_n.  New code should use
    535 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    536 as_echo='printf %s\n'
    537 as_echo_n='printf %s'
    538 
    539 rm -f conf$$ conf$$.exe conf$$.file
    540 if test -d conf$$.dir; then
    541   rm -f conf$$.dir/conf$$.file
    542 else
    543   rm -f conf$$.dir
    544   mkdir conf$$.dir 2>/dev/null
    545 fi
    546 if (echo >conf$$.file) 2>/dev/null; then
    547   if ln -s conf$$.file conf$$ 2>/dev/null; then
    548     as_ln_s='ln -s'
    549     # ... but there are two gotchas:
    550     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
    551     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
    552     # In both cases, we have to default to 'cp -pR'.
    553     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    554       as_ln_s='cp -pR'
    555   elif ln conf$$.file conf$$ 2>/dev/null; then
    556     as_ln_s=ln
    557   else
    558     as_ln_s='cp -pR'
    559   fi
    560 else
    561   as_ln_s='cp -pR'
    562 fi
    563 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    564 rmdir conf$$.dir 2>/dev/null
    565 
    566 if mkdir -p . 2>/dev/null; then
    567   as_mkdir_p='mkdir -p "$as_dir"'
    568 else
    569   test -d ./-p && rmdir ./-p
    570   as_mkdir_p=false
    571 fi
    572 
    573 as_test_x='test -x'
    574 as_executable_p=as_fn_executable_p
    575 
    576 # Sed expression to map a string onto a valid CPP name.
    577 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
    578 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
    579 
    580 # Sed expression to map a string onto a valid variable name.
    581 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
    582 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
    583 
    584 
    585 test -n "$DJDIR" || exec 7<&0 </dev/null
    586 exec 6>&1
    587 
    588 # Name of the host.
    589 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    590 # so uname gets run too.
    591 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    592 
    593 #
    594 # Initializations.
    595 #
    596 ac_default_prefix=/usr/local
    597 ac_clean_files=
    598 ac_config_libobj_dir=.
    599 LIBOBJS=
    600 cross_compiling=no
    601 subdirs=
    602 MFLAGS=
    603 MAKEFLAGS=
    604 
    605 # Identity of this package.
    606 PACKAGE_NAME='xgc'
    607 PACKAGE_TARNAME='xgc'
    608 PACKAGE_VERSION='1.0.7'
    609 PACKAGE_STRING='xgc 1.0.7'
    610 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xgc/-/issues'
    611 PACKAGE_URL=''
    612 
    613 ac_unique_file="Makefile.am"
    614 # Factoring default headers for most tests.
    615 ac_includes_default="\
    616 #include <stddef.h>
    617 #ifdef HAVE_STDIO_H
    618 # include <stdio.h>
    619 #endif
    620 #ifdef HAVE_STDLIB_H
    621 # include <stdlib.h>
    622 #endif
    623 #ifdef HAVE_STRING_H
    624 # include <string.h>
    625 #endif
    626 #ifdef HAVE_INTTYPES_H
    627 # include <inttypes.h>
    628 #endif
    629 #ifdef HAVE_STDINT_H
    630 # include <stdint.h>
    631 #endif
    632 #ifdef HAVE_STRINGS_H
    633 # include <strings.h>
    634 #endif
    635 #ifdef HAVE_SYS_TYPES_H
    636 # include <sys/types.h>
    637 #endif
    638 #ifdef HAVE_SYS_STAT_H
    639 # include <sys/stat.h>
    640 #endif
    641 #ifdef HAVE_UNISTD_H
    642 # include <unistd.h>
    643 #endif"
    644 
    645 ac_header_c_list=
    646 ac_subst_vars='am__EXEEXT_FALSE
    647 am__EXEEXT_TRUE
    648 LTLIBOBJS
    649 LIBOBJS
    650 appdefaultdir
    651 XGC_LIBS
    652 XGC_CFLAGS
    653 YACC_INST
    654 YFLAGS
    655 YACC
    656 LEXLIB
    657 LEX_OUTPUT_ROOT
    658 LEX
    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 am__fastdepCC_FALSE
    691 am__fastdepCC_TRUE
    692 CCDEPMODE
    693 am__nodep
    694 AMDEPBACKSLASH
    695 AMDEP_FALSE
    696 AMDEP_TRUE
    697 am__include
    698 DEPDIR
    699 OBJEXT
    700 EXEEXT
    701 ac_ct_CC
    702 CPPFLAGS
    703 LDFLAGS
    704 CFLAGS
    705 CC
    706 am__xargs_n
    707 am__rm_f_notfound
    708 AM_BACKSLASH
    709 AM_DEFAULT_VERBOSITY
    710 AM_DEFAULT_V
    711 AM_V
    712 CSCOPE
    713 ETAGS
    714 CTAGS
    715 am__untar
    716 am__tar
    717 AMTAR
    718 am__leading_dot
    719 SET_MAKE
    720 AWK
    721 mkdir_p
    722 MKDIR_P
    723 INSTALL_STRIP_PROGRAM
    724 STRIP
    725 install_sh
    726 MAKEINFO
    727 AUTOHEADER
    728 AUTOMAKE
    729 AUTOCONF
    730 ACLOCAL
    731 VERSION
    732 PACKAGE
    733 CYGPATH_W
    734 am__isrc
    735 INSTALL_DATA
    736 INSTALL_SCRIPT
    737 INSTALL_PROGRAM
    738 target_alias
    739 host_alias
    740 build_alias
    741 LIBS
    742 ECHO_T
    743 ECHO_N
    744 ECHO_C
    745 DEFS
    746 mandir
    747 localedir
    748 libdir
    749 psdir
    750 pdfdir
    751 dvidir
    752 htmldir
    753 infodir
    754 docdir
    755 oldincludedir
    756 includedir
    757 runstatedir
    758 localstatedir
    759 sharedstatedir
    760 sysconfdir
    761 datadir
    762 datarootdir
    763 libexecdir
    764 sbindir
    765 bindir
    766 program_transform_name
    767 prefix
    768 exec_prefix
    769 PACKAGE_URL
    770 PACKAGE_BUGREPORT
    771 PACKAGE_STRING
    772 PACKAGE_VERSION
    773 PACKAGE_TARNAME
    774 PACKAGE_NAME
    775 PATH_SEPARATOR
    776 SHELL
    777 am__quote'
    778 ac_subst_files=''
    779 ac_user_opts='
    780 enable_option_checking
    781 enable_silent_rules
    782 enable_dependency_tracking
    783 enable_selective_werror
    784 enable_strict_compilation
    785 with_appdefaultdir
    786 '
    787       ac_precious_vars='build_alias
    788 host_alias
    789 target_alias
    790 CC
    791 CFLAGS
    792 LDFLAGS
    793 LIBS
    794 CPPFLAGS
    795 PKG_CONFIG
    796 PKG_CONFIG_PATH
    797 PKG_CONFIG_LIBDIR
    798 YACC
    799 YFLAGS
    800 XGC_CFLAGS
    801 XGC_LIBS'
    802 
    803 
    804 # Initialize some variables set by options.
    805 ac_init_help=
    806 ac_init_version=false
    807 ac_unrecognized_opts=
    808 ac_unrecognized_sep=
    809 # The variables have the same names as the options, with
    810 # dashes changed to underlines.
    811 cache_file=/dev/null
    812 exec_prefix=NONE
    813 no_create=
    814 no_recursion=
    815 prefix=NONE
    816 program_prefix=NONE
    817 program_suffix=NONE
    818 program_transform_name=s,x,x,
    819 silent=
    820 site=
    821 srcdir=
    822 verbose=
    823 x_includes=NONE
    824 x_libraries=NONE
    825 
    826 # Installation directory options.
    827 # These are left unexpanded so users can "make install exec_prefix=/foo"
    828 # and all the variables that are supposed to be based on exec_prefix
    829 # by default will actually change.
    830 # Use braces instead of parens because sh, perl, etc. also accept them.
    831 # (The list follows the same order as the GNU Coding Standards.)
    832 bindir='${exec_prefix}/bin'
    833 sbindir='${exec_prefix}/sbin'
    834 libexecdir='${exec_prefix}/libexec'
    835 datarootdir='${prefix}/share'
    836 datadir='${datarootdir}'
    837 sysconfdir='${prefix}/etc'
    838 sharedstatedir='${prefix}/com'
    839 localstatedir='${prefix}/var'
    840 runstatedir='${localstatedir}/run'
    841 includedir='${prefix}/include'
    842 oldincludedir='/usr/include'
    843 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    844 infodir='${datarootdir}/info'
    845 htmldir='${docdir}'
    846 dvidir='${docdir}'
    847 pdfdir='${docdir}'
    848 psdir='${docdir}'
    849 libdir='${exec_prefix}/lib'
    850 localedir='${datarootdir}/locale'
    851 mandir='${datarootdir}/man'
    852 
    853 ac_prev=
    854 ac_dashdash=
    855 for ac_option
    856 do
    857   # If the previous option needs an argument, assign it.
    858   if test -n "$ac_prev"; then
    859     eval $ac_prev=\$ac_option
    860     ac_prev=
    861     continue
    862   fi
    863 
    864   case $ac_option in
    865   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    866   *=)   ac_optarg= ;;
    867   *)    ac_optarg=yes ;;
    868   esac
    869 
    870   case $ac_dashdash$ac_option in
    871   --)
    872     ac_dashdash=yes ;;
    873 
    874   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    875     ac_prev=bindir ;;
    876   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    877     bindir=$ac_optarg ;;
    878 
    879   -build | --build | --buil | --bui | --bu)
    880     ac_prev=build_alias ;;
    881   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    882     build_alias=$ac_optarg ;;
    883 
    884   -cache-file | --cache-file | --cache-fil | --cache-fi \
    885   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    886     ac_prev=cache_file ;;
    887   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    888   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    889     cache_file=$ac_optarg ;;
    890 
    891   --config-cache | -C)
    892     cache_file=config.cache ;;
    893 
    894   -datadir | --datadir | --datadi | --datad)
    895     ac_prev=datadir ;;
    896   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    897     datadir=$ac_optarg ;;
    898 
    899   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    900   | --dataroo | --dataro | --datar)
    901     ac_prev=datarootdir ;;
    902   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    903   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    904     datarootdir=$ac_optarg ;;
    905 
    906   -disable-* | --disable-*)
    907     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    908     # Reject names that are not valid shell variable names.
    909     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    910       as_fn_error $? "invalid feature name: '$ac_useropt'"
    911     ac_useropt_orig=$ac_useropt
    912     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    913     case $ac_user_opts in
    914       *"
    915 "enable_$ac_useropt"
    916 "*) ;;
    917       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    918 	 ac_unrecognized_sep=', ';;
    919     esac
    920     eval enable_$ac_useropt=no ;;
    921 
    922   -docdir | --docdir | --docdi | --doc | --do)
    923     ac_prev=docdir ;;
    924   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    925     docdir=$ac_optarg ;;
    926 
    927   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    928     ac_prev=dvidir ;;
    929   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    930     dvidir=$ac_optarg ;;
    931 
    932   -enable-* | --enable-*)
    933     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    934     # Reject names that are not valid shell variable names.
    935     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    936       as_fn_error $? "invalid feature name: '$ac_useropt'"
    937     ac_useropt_orig=$ac_useropt
    938     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    939     case $ac_user_opts in
    940       *"
    941 "enable_$ac_useropt"
    942 "*) ;;
    943       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    944 	 ac_unrecognized_sep=', ';;
    945     esac
    946     eval enable_$ac_useropt=\$ac_optarg ;;
    947 
    948   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    949   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    950   | --exec | --exe | --ex)
    951     ac_prev=exec_prefix ;;
    952   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    953   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    954   | --exec=* | --exe=* | --ex=*)
    955     exec_prefix=$ac_optarg ;;
    956 
    957   -gas | --gas | --ga | --g)
    958     # Obsolete; use --with-gas.
    959     with_gas=yes ;;
    960 
    961   -help | --help | --hel | --he | -h)
    962     ac_init_help=long ;;
    963   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    964     ac_init_help=recursive ;;
    965   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    966     ac_init_help=short ;;
    967 
    968   -host | --host | --hos | --ho)
    969     ac_prev=host_alias ;;
    970   -host=* | --host=* | --hos=* | --ho=*)
    971     host_alias=$ac_optarg ;;
    972 
    973   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    974     ac_prev=htmldir ;;
    975   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    976   | --ht=*)
    977     htmldir=$ac_optarg ;;
    978 
    979   -includedir | --includedir | --includedi | --included | --include \
    980   | --includ | --inclu | --incl | --inc)
    981     ac_prev=includedir ;;
    982   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    983   | --includ=* | --inclu=* | --incl=* | --inc=*)
    984     includedir=$ac_optarg ;;
    985 
    986   -infodir | --infodir | --infodi | --infod | --info | --inf)
    987     ac_prev=infodir ;;
    988   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    989     infodir=$ac_optarg ;;
    990 
    991   -libdir | --libdir | --libdi | --libd)
    992     ac_prev=libdir ;;
    993   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    994     libdir=$ac_optarg ;;
    995 
    996   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    997   | --libexe | --libex | --libe)
    998     ac_prev=libexecdir ;;
    999   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1000   | --libexe=* | --libex=* | --libe=*)
   1001     libexecdir=$ac_optarg ;;
   1002 
   1003   -localedir | --localedir | --localedi | --localed | --locale)
   1004     ac_prev=localedir ;;
   1005   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1006     localedir=$ac_optarg ;;
   1007 
   1008   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1009   | --localstate | --localstat | --localsta | --localst | --locals)
   1010     ac_prev=localstatedir ;;
   1011   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1012   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1013     localstatedir=$ac_optarg ;;
   1014 
   1015   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1016     ac_prev=mandir ;;
   1017   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1018     mandir=$ac_optarg ;;
   1019 
   1020   -nfp | --nfp | --nf)
   1021     # Obsolete; use --without-fp.
   1022     with_fp=no ;;
   1023 
   1024   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1025   | --no-cr | --no-c | -n)
   1026     no_create=yes ;;
   1027 
   1028   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1029   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1030     no_recursion=yes ;;
   1031 
   1032   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1033   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1034   | --oldin | --oldi | --old | --ol | --o)
   1035     ac_prev=oldincludedir ;;
   1036   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1037   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1038   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1039     oldincludedir=$ac_optarg ;;
   1040 
   1041   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1042     ac_prev=prefix ;;
   1043   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1044     prefix=$ac_optarg ;;
   1045 
   1046   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1047   | --program-pre | --program-pr | --program-p)
   1048     ac_prev=program_prefix ;;
   1049   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1050   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1051     program_prefix=$ac_optarg ;;
   1052 
   1053   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1054   | --program-suf | --program-su | --program-s)
   1055     ac_prev=program_suffix ;;
   1056   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1057   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1058     program_suffix=$ac_optarg ;;
   1059 
   1060   -program-transform-name | --program-transform-name \
   1061   | --program-transform-nam | --program-transform-na \
   1062   | --program-transform-n | --program-transform- \
   1063   | --program-transform | --program-transfor \
   1064   | --program-transfo | --program-transf \
   1065   | --program-trans | --program-tran \
   1066   | --progr-tra | --program-tr | --program-t)
   1067     ac_prev=program_transform_name ;;
   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     program_transform_name=$ac_optarg ;;
   1076 
   1077   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1078     ac_prev=pdfdir ;;
   1079   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1080     pdfdir=$ac_optarg ;;
   1081 
   1082   -psdir | --psdir | --psdi | --psd | --ps)
   1083     ac_prev=psdir ;;
   1084   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1085     psdir=$ac_optarg ;;
   1086 
   1087   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1088   | -silent | --silent | --silen | --sile | --sil)
   1089     silent=yes ;;
   1090 
   1091   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1092   | --runstate | --runstat | --runsta | --runst | --runs \
   1093   | --run | --ru | --r)
   1094     ac_prev=runstatedir ;;
   1095   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1096   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1097   | --run=* | --ru=* | --r=*)
   1098     runstatedir=$ac_optarg ;;
   1099 
   1100   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1101     ac_prev=sbindir ;;
   1102   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1103   | --sbi=* | --sb=*)
   1104     sbindir=$ac_optarg ;;
   1105 
   1106   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1107   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1108   | --sharedst | --shareds | --shared | --share | --shar \
   1109   | --sha | --sh)
   1110     ac_prev=sharedstatedir ;;
   1111   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1112   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1113   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1114   | --sha=* | --sh=*)
   1115     sharedstatedir=$ac_optarg ;;
   1116 
   1117   -site | --site | --sit)
   1118     ac_prev=site ;;
   1119   -site=* | --site=* | --sit=*)
   1120     site=$ac_optarg ;;
   1121 
   1122   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1123     ac_prev=srcdir ;;
   1124   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1125     srcdir=$ac_optarg ;;
   1126 
   1127   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1128   | --syscon | --sysco | --sysc | --sys | --sy)
   1129     ac_prev=sysconfdir ;;
   1130   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1131   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1132     sysconfdir=$ac_optarg ;;
   1133 
   1134   -target | --target | --targe | --targ | --tar | --ta | --t)
   1135     ac_prev=target_alias ;;
   1136   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1137     target_alias=$ac_optarg ;;
   1138 
   1139   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1140     verbose=yes ;;
   1141 
   1142   -version | --version | --versio | --versi | --vers | -V)
   1143     ac_init_version=: ;;
   1144 
   1145   -with-* | --with-*)
   1146     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1147     # Reject names that are not valid shell variable names.
   1148     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1149       as_fn_error $? "invalid package name: '$ac_useropt'"
   1150     ac_useropt_orig=$ac_useropt
   1151     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1152     case $ac_user_opts in
   1153       *"
   1154 "with_$ac_useropt"
   1155 "*) ;;
   1156       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1157 	 ac_unrecognized_sep=', ';;
   1158     esac
   1159     eval with_$ac_useropt=\$ac_optarg ;;
   1160 
   1161   -without-* | --without-*)
   1162     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1163     # Reject names that are not valid shell variable names.
   1164     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1165       as_fn_error $? "invalid package name: '$ac_useropt'"
   1166     ac_useropt_orig=$ac_useropt
   1167     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1168     case $ac_user_opts in
   1169       *"
   1170 "with_$ac_useropt"
   1171 "*) ;;
   1172       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1173 	 ac_unrecognized_sep=', ';;
   1174     esac
   1175     eval with_$ac_useropt=no ;;
   1176 
   1177   --x)
   1178     # Obsolete; use --with-x.
   1179     with_x=yes ;;
   1180 
   1181   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1182   | --x-incl | --x-inc | --x-in | --x-i)
   1183     ac_prev=x_includes ;;
   1184   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1185   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1186     x_includes=$ac_optarg ;;
   1187 
   1188   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1189   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1190     ac_prev=x_libraries ;;
   1191   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1192   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1193     x_libraries=$ac_optarg ;;
   1194 
   1195   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1196 Try '$0 --help' for more information"
   1197     ;;
   1198 
   1199   *=*)
   1200     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1201     # Reject names that are not valid shell variable names.
   1202     case $ac_envvar in #(
   1203       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1204       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1205     esac
   1206     eval $ac_envvar=\$ac_optarg
   1207     export $ac_envvar ;;
   1208 
   1209   *)
   1210     # FIXME: should be removed in autoconf 3.0.
   1211     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1212     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1213       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1214     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1215     ;;
   1216 
   1217   esac
   1218 done
   1219 
   1220 if test -n "$ac_prev"; then
   1221   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1222   as_fn_error $? "missing argument to $ac_option"
   1223 fi
   1224 
   1225 if test -n "$ac_unrecognized_opts"; then
   1226   case $enable_option_checking in
   1227     no) ;;
   1228     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1229     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1230   esac
   1231 fi
   1232 
   1233 # Check all directory arguments for consistency.
   1234 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1235 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1236 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1237 		libdir localedir mandir runstatedir
   1238 do
   1239   eval ac_val=\$$ac_var
   1240   # Remove trailing slashes.
   1241   case $ac_val in
   1242     */ )
   1243       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1244       eval $ac_var=\$ac_val;;
   1245   esac
   1246   # Be sure to have absolute directory names.
   1247   case $ac_val in
   1248     [\\/$]* | ?:[\\/]* )  continue;;
   1249     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1250   esac
   1251   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1252 done
   1253 
   1254 # There might be people who depend on the old broken behavior: '$host'
   1255 # used to hold the argument of --host etc.
   1256 # FIXME: To remove some day.
   1257 build=$build_alias
   1258 host=$host_alias
   1259 target=$target_alias
   1260 
   1261 # FIXME: To remove some day.
   1262 if test "x$host_alias" != x; then
   1263   if test "x$build_alias" = x; then
   1264     cross_compiling=maybe
   1265   elif test "x$build_alias" != "x$host_alias"; then
   1266     cross_compiling=yes
   1267   fi
   1268 fi
   1269 
   1270 ac_tool_prefix=
   1271 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1272 
   1273 test "$silent" = yes && exec 6>/dev/null
   1274 
   1275 
   1276 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1277 ac_ls_di=`ls -di .` &&
   1278 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1279   as_fn_error $? "working directory cannot be determined"
   1280 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1281   as_fn_error $? "pwd does not report name of working directory"
   1282 
   1283 
   1284 # Find the source files, if location was not specified.
   1285 if test -z "$srcdir"; then
   1286   ac_srcdir_defaulted=yes
   1287   # Try the directory containing this script, then the parent directory.
   1288   ac_confdir=`$as_dirname -- "$as_myself" ||
   1289 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1290 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1291 	 X"$as_myself" : 'X\(//\)$' \| \
   1292 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1293 printf "%s\n" X"$as_myself" |
   1294     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1295 	    s//\1/
   1296 	    q
   1297 	  }
   1298 	  /^X\(\/\/\)[^/].*/{
   1299 	    s//\1/
   1300 	    q
   1301 	  }
   1302 	  /^X\(\/\/\)$/{
   1303 	    s//\1/
   1304 	    q
   1305 	  }
   1306 	  /^X\(\/\).*/{
   1307 	    s//\1/
   1308 	    q
   1309 	  }
   1310 	  s/.*/./; q'`
   1311   srcdir=$ac_confdir
   1312   if test ! -r "$srcdir/$ac_unique_file"; then
   1313     srcdir=..
   1314   fi
   1315 else
   1316   ac_srcdir_defaulted=no
   1317 fi
   1318 if test ! -r "$srcdir/$ac_unique_file"; then
   1319   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1320   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1321 fi
   1322 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1323 ac_abs_confdir=`(
   1324 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1325 	pwd)`
   1326 # When building in place, set srcdir=.
   1327 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1328   srcdir=.
   1329 fi
   1330 # Remove unnecessary trailing slashes from srcdir.
   1331 # Double slashes in file names in object file debugging info
   1332 # mess up M-x gdb in Emacs.
   1333 case $srcdir in
   1334 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1335 esac
   1336 for ac_var in $ac_precious_vars; do
   1337   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1338   eval ac_env_${ac_var}_value=\$${ac_var}
   1339   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1340   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1341 done
   1342 
   1343 #
   1344 # Report the --help message.
   1345 #
   1346 if test "$ac_init_help" = "long"; then
   1347   # Omit some internal or obsolete options to make the list less imposing.
   1348   # This message is too long to be a string in the A/UX 3.1 sh.
   1349   cat <<_ACEOF
   1350 'configure' configures xgc 1.0.7 to adapt to many kinds of systems.
   1351 
   1352 Usage: $0 [OPTION]... [VAR=VALUE]...
   1353 
   1354 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1355 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1356 
   1357 Defaults for the options are specified in brackets.
   1358 
   1359 Configuration:
   1360   -h, --help              display this help and exit
   1361       --help=short        display options specific to this package
   1362       --help=recursive    display the short help of all the included packages
   1363   -V, --version           display version information and exit
   1364   -q, --quiet, --silent   do not print 'checking ...' messages
   1365       --cache-file=FILE   cache test results in FILE [disabled]
   1366   -C, --config-cache      alias for '--cache-file=config.cache'
   1367   -n, --no-create         do not create output files
   1368       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1369 
   1370 Installation directories:
   1371   --prefix=PREFIX         install architecture-independent files in PREFIX
   1372                           [$ac_default_prefix]
   1373   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1374                           [PREFIX]
   1375 
   1376 By default, 'make install' will install all the files in
   1377 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1378 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1379 for instance '--prefix=\$HOME'.
   1380 
   1381 For better control, use the options below.
   1382 
   1383 Fine tuning of the installation directories:
   1384   --bindir=DIR            user executables [EPREFIX/bin]
   1385   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1386   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1387   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1388   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1389   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1390   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1391   --libdir=DIR            object code libraries [EPREFIX/lib]
   1392   --includedir=DIR        C header files [PREFIX/include]
   1393   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1394   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1395   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1396   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1397   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1398   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1399   --docdir=DIR            documentation root [DATAROOTDIR/doc/xgc]
   1400   --htmldir=DIR           html documentation [DOCDIR]
   1401   --dvidir=DIR            dvi documentation [DOCDIR]
   1402   --pdfdir=DIR            pdf documentation [DOCDIR]
   1403   --psdir=DIR             ps documentation [DOCDIR]
   1404 _ACEOF
   1405 
   1406   cat <<\_ACEOF
   1407 
   1408 Program names:
   1409   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1410   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1411   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1412 
   1413 System types:
   1414   --build=BUILD     configure for building on BUILD [guessed]
   1415   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1416 _ACEOF
   1417 fi
   1418 
   1419 if test -n "$ac_init_help"; then
   1420   case $ac_init_help in
   1421      short | recursive ) echo "Configuration of xgc 1.0.7:";;
   1422    esac
   1423   cat <<\_ACEOF
   1424 
   1425 Optional Features:
   1426   --disable-option-checking  ignore unrecognized --enable/--with options
   1427   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1428   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1429   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1430   --disable-silent-rules  verbose build output (undo: "make V=0")
   1431   --enable-dependency-tracking
   1432                           do not reject slow dependency extractors
   1433   --disable-dependency-tracking
   1434                           speeds up one-time build
   1435   --disable-selective-werror
   1436                           Turn off selective compiler errors. (default:
   1437                           enabled)
   1438   --enable-strict-compilation
   1439                           Enable all warnings from compiler and make them
   1440                           errors (default: disabled)
   1441 
   1442 Optional Packages:
   1443   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1444   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1445   --with-appdefaultdir=<pathname>
   1446                           specify directory for app-defaults files (default is
   1447                           autodetected)
   1448 
   1449 Some influential environment variables:
   1450   CC          C compiler command
   1451   CFLAGS      C compiler flags
   1452   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1453               nonstandard directory <lib dir>
   1454   LIBS        libraries to pass to the linker, e.g. -l<library>
   1455   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1456               you have headers in a nonstandard directory <include dir>
   1457   PKG_CONFIG  path to pkg-config utility
   1458   PKG_CONFIG_PATH
   1459               directories to add to pkg-config's search path
   1460   PKG_CONFIG_LIBDIR
   1461               path overriding pkg-config's built-in search path
   1462   YACC        The 'Yet Another Compiler Compiler' implementation to use.
   1463               Defaults to the first program found out of: 'bison -y', 'byacc',
   1464               'yacc'.
   1465   YFLAGS      The list of arguments that will be passed by default to $YACC.
   1466               This script will default YFLAGS to the empty string to avoid a
   1467               default value of '-d' given by some make applications.
   1468   XGC_CFLAGS  C compiler flags for XGC, overriding pkg-config
   1469   XGC_LIBS    linker flags for XGC, overriding pkg-config
   1470 
   1471 Use these variables to override the choices made by 'configure' or to help
   1472 it to find libraries and programs with nonstandard names/locations.
   1473 
   1474 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xgc/-/issues>.
   1475 _ACEOF
   1476 ac_status=$?
   1477 fi
   1478 
   1479 if test "$ac_init_help" = "recursive"; then
   1480   # If there are subdirs, report their specific --help.
   1481   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1482     test -d "$ac_dir" ||
   1483       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1484       continue
   1485     ac_builddir=.
   1486 
   1487 case "$ac_dir" in
   1488 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1489 *)
   1490   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1491   # A ".." for each directory in $ac_dir_suffix.
   1492   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1493   case $ac_top_builddir_sub in
   1494   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1495   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1496   esac ;;
   1497 esac
   1498 ac_abs_top_builddir=$ac_pwd
   1499 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1500 # for backward compatibility:
   1501 ac_top_builddir=$ac_top_build_prefix
   1502 
   1503 case $srcdir in
   1504   .)  # We are building in place.
   1505     ac_srcdir=.
   1506     ac_top_srcdir=$ac_top_builddir_sub
   1507     ac_abs_top_srcdir=$ac_pwd ;;
   1508   [\\/]* | ?:[\\/]* )  # Absolute name.
   1509     ac_srcdir=$srcdir$ac_dir_suffix;
   1510     ac_top_srcdir=$srcdir
   1511     ac_abs_top_srcdir=$srcdir ;;
   1512   *) # Relative name.
   1513     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1514     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1515     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1516 esac
   1517 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1518 
   1519     cd "$ac_dir" || { ac_status=$?; continue; }
   1520     # Check for configure.gnu first; this name is used for a wrapper for
   1521     # Metaconfig's "Configure" on case-insensitive file systems.
   1522     if test -f "$ac_srcdir/configure.gnu"; then
   1523       echo &&
   1524       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1525     elif test -f "$ac_srcdir/configure"; then
   1526       echo &&
   1527       $SHELL "$ac_srcdir/configure" --help=recursive
   1528     else
   1529       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1530     fi || ac_status=$?
   1531     cd "$ac_pwd" || { ac_status=$?; break; }
   1532   done
   1533 fi
   1534 
   1535 test -n "$ac_init_help" && exit $ac_status
   1536 if $ac_init_version; then
   1537   cat <<\_ACEOF
   1538 xgc configure 1.0.7
   1539 generated by GNU Autoconf 2.72
   1540 
   1541 Copyright (C) 2023 Free Software Foundation, Inc.
   1542 This configure script is free software; the Free Software Foundation
   1543 gives unlimited permission to copy, distribute and modify it.
   1544 _ACEOF
   1545   exit
   1546 fi
   1547 
   1548 ## ------------------------ ##
   1549 ## Autoconf initialization. ##
   1550 ## ------------------------ ##
   1551 
   1552 # ac_fn_c_try_compile LINENO
   1553 # --------------------------
   1554 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1555 ac_fn_c_try_compile ()
   1556 {
   1557   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1558   rm -f conftest.$ac_objext conftest.beam
   1559   if { { ac_try="$ac_compile"
   1560 case "(($ac_try" in
   1561   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1562   *) ac_try_echo=$ac_try;;
   1563 esac
   1564 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1565 printf "%s\n" "$ac_try_echo"; } >&5
   1566   (eval "$ac_compile") 2>conftest.err
   1567   ac_status=$?
   1568   if test -s conftest.err; then
   1569     grep -v '^ *+' conftest.err >conftest.er1
   1570     cat conftest.er1 >&5
   1571     mv -f conftest.er1 conftest.err
   1572   fi
   1573   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1574   test $ac_status = 0; } && {
   1575 	 test -z "$ac_c_werror_flag" ||
   1576 	 test ! -s conftest.err
   1577        } && test -s conftest.$ac_objext
   1578 then :
   1579   ac_retval=0
   1580 else case e in #(
   1581   e) printf "%s\n" "$as_me: failed program was:" >&5
   1582 sed 's/^/| /' conftest.$ac_ext >&5
   1583 
   1584 	ac_retval=1 ;;
   1585 esac
   1586 fi
   1587   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1588   as_fn_set_status $ac_retval
   1589 
   1590 } # ac_fn_c_try_compile
   1591 
   1592 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1593 # ------------------------------------------------------------------
   1594 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1595 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1596 ac_fn_check_decl ()
   1597 {
   1598   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1599   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1600   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1601 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1602 if eval test \${$3+y}
   1603 then :
   1604   printf %s "(cached) " >&6
   1605 else case e in #(
   1606   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1607   eval ac_save_FLAGS=\$$6
   1608   as_fn_append $6 " $5"
   1609   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1610 /* end confdefs.h.  */
   1611 $4
   1612 int
   1613 main (void)
   1614 {
   1615 #ifndef $as_decl_name
   1616 #ifdef __cplusplus
   1617   (void) $as_decl_use;
   1618 #else
   1619   (void) $as_decl_name;
   1620 #endif
   1621 #endif
   1622 
   1623   ;
   1624   return 0;
   1625 }
   1626 _ACEOF
   1627 if ac_fn_c_try_compile "$LINENO"
   1628 then :
   1629   eval "$3=yes"
   1630 else case e in #(
   1631   e) eval "$3=no" ;;
   1632 esac
   1633 fi
   1634 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1635   eval $6=\$ac_save_FLAGS
   1636  ;;
   1637 esac
   1638 fi
   1639 eval ac_res=\$$3
   1640 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1641 printf "%s\n" "$ac_res" >&6; }
   1642   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1643 
   1644 } # ac_fn_check_decl
   1645 
   1646 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1647 # -------------------------------------------------------
   1648 # Tests whether HEADER exists and can be compiled using the include files in
   1649 # INCLUDES, setting the cache variable VAR accordingly.
   1650 ac_fn_c_check_header_compile ()
   1651 {
   1652   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1653   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1654 printf %s "checking for $2... " >&6; }
   1655 if eval test \${$3+y}
   1656 then :
   1657   printf %s "(cached) " >&6
   1658 else case e in #(
   1659   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1660 /* end confdefs.h.  */
   1661 $4
   1662 #include <$2>
   1663 _ACEOF
   1664 if ac_fn_c_try_compile "$LINENO"
   1665 then :
   1666   eval "$3=yes"
   1667 else case e in #(
   1668   e) eval "$3=no" ;;
   1669 esac
   1670 fi
   1671 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1672 esac
   1673 fi
   1674 eval ac_res=\$$3
   1675 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1676 printf "%s\n" "$ac_res" >&6; }
   1677   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1678 
   1679 } # ac_fn_c_check_header_compile
   1680 
   1681 # ac_fn_c_try_link LINENO
   1682 # -----------------------
   1683 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1684 ac_fn_c_try_link ()
   1685 {
   1686   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1687   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1688   if { { ac_try="$ac_link"
   1689 case "(($ac_try" in
   1690   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1691   *) ac_try_echo=$ac_try;;
   1692 esac
   1693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1694 printf "%s\n" "$ac_try_echo"; } >&5
   1695   (eval "$ac_link") 2>conftest.err
   1696   ac_status=$?
   1697   if test -s conftest.err; then
   1698     grep -v '^ *+' conftest.err >conftest.er1
   1699     cat conftest.er1 >&5
   1700     mv -f conftest.er1 conftest.err
   1701   fi
   1702   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1703   test $ac_status = 0; } && {
   1704 	 test -z "$ac_c_werror_flag" ||
   1705 	 test ! -s conftest.err
   1706        } && test -s conftest$ac_exeext && {
   1707 	 test "$cross_compiling" = yes ||
   1708 	 test -x conftest$ac_exeext
   1709        }
   1710 then :
   1711   ac_retval=0
   1712 else case e in #(
   1713   e) printf "%s\n" "$as_me: failed program was:" >&5
   1714 sed 's/^/| /' conftest.$ac_ext >&5
   1715 
   1716 	ac_retval=1 ;;
   1717 esac
   1718 fi
   1719   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1720   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1721   # interfere with the next link command; also delete a directory that is
   1722   # left behind by Apple's compiler.  We do this before executing the actions.
   1723   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1724   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1725   as_fn_set_status $ac_retval
   1726 
   1727 } # ac_fn_c_try_link
   1728 
   1729 # ac_fn_c_check_func LINENO FUNC VAR
   1730 # ----------------------------------
   1731 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1732 ac_fn_c_check_func ()
   1733 {
   1734   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1735   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1736 printf %s "checking for $2... " >&6; }
   1737 if eval test \${$3+y}
   1738 then :
   1739   printf %s "(cached) " >&6
   1740 else case e in #(
   1741   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1742 /* end confdefs.h.  */
   1743 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1744    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1745 #define $2 innocuous_$2
   1746 
   1747 /* System header to define __stub macros and hopefully few prototypes,
   1748    which can conflict with char $2 (void); below.  */
   1749 
   1750 #include <limits.h>
   1751 #undef $2
   1752 
   1753 /* Override any GCC internal prototype to avoid an error.
   1754    Use char because int might match the return type of a GCC
   1755    builtin and then its argument prototype would still apply.  */
   1756 #ifdef __cplusplus
   1757 extern "C"
   1758 #endif
   1759 char $2 (void);
   1760 /* The GNU C library defines this for functions which it implements
   1761     to always fail with ENOSYS.  Some functions are actually named
   1762     something starting with __ and the normal name is an alias.  */
   1763 #if defined __stub_$2 || defined __stub___$2
   1764 choke me
   1765 #endif
   1766 
   1767 int
   1768 main (void)
   1769 {
   1770 return $2 ();
   1771   ;
   1772   return 0;
   1773 }
   1774 _ACEOF
   1775 if ac_fn_c_try_link "$LINENO"
   1776 then :
   1777   eval "$3=yes"
   1778 else case e in #(
   1779   e) eval "$3=no" ;;
   1780 esac
   1781 fi
   1782 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1783     conftest$ac_exeext conftest.$ac_ext ;;
   1784 esac
   1785 fi
   1786 eval ac_res=\$$3
   1787 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1788 printf "%s\n" "$ac_res" >&6; }
   1789   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1790 
   1791 } # ac_fn_c_check_func
   1792 ac_configure_args_raw=
   1793 for ac_arg
   1794 do
   1795   case $ac_arg in
   1796   *\'*)
   1797     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1798   esac
   1799   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1800 done
   1801 
   1802 case $ac_configure_args_raw in
   1803   *$as_nl*)
   1804     ac_safe_unquote= ;;
   1805   *)
   1806     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1807     ac_unsafe_a="$ac_unsafe_z#~"
   1808     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1809     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1810 esac
   1811 
   1812 cat >config.log <<_ACEOF
   1813 This file contains any messages produced by compilers while
   1814 running configure, to aid debugging if configure makes a mistake.
   1815 
   1816 It was created by xgc $as_me 1.0.7, which was
   1817 generated by GNU Autoconf 2.72.  Invocation command line was
   1818 
   1819   $ $0$ac_configure_args_raw
   1820 
   1821 _ACEOF
   1822 exec 5>>config.log
   1823 {
   1824 cat <<_ASUNAME
   1825 ## --------- ##
   1826 ## Platform. ##
   1827 ## --------- ##
   1828 
   1829 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1830 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1831 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1832 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1833 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1834 
   1835 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1836 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1837 
   1838 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1839 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1840 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1841 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1842 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1843 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1844 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1845 
   1846 _ASUNAME
   1847 
   1848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1849 for as_dir in $PATH
   1850 do
   1851   IFS=$as_save_IFS
   1852   case $as_dir in #(((
   1853     '') as_dir=./ ;;
   1854     */) ;;
   1855     *) as_dir=$as_dir/ ;;
   1856   esac
   1857     printf "%s\n" "PATH: $as_dir"
   1858   done
   1859 IFS=$as_save_IFS
   1860 
   1861 } >&5
   1862 
   1863 cat >&5 <<_ACEOF
   1864 
   1865 
   1866 ## ----------- ##
   1867 ## Core tests. ##
   1868 ## ----------- ##
   1869 
   1870 _ACEOF
   1871 
   1872 
   1873 # Keep a trace of the command line.
   1874 # Strip out --no-create and --no-recursion so they do not pile up.
   1875 # Strip out --silent because we don't want to record it for future runs.
   1876 # Also quote any args containing shell meta-characters.
   1877 # Make two passes to allow for proper duplicate-argument suppression.
   1878 ac_configure_args=
   1879 ac_configure_args0=
   1880 ac_configure_args1=
   1881 ac_must_keep_next=false
   1882 for ac_pass in 1 2
   1883 do
   1884   for ac_arg
   1885   do
   1886     case $ac_arg in
   1887     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1888     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1889     | -silent | --silent | --silen | --sile | --sil)
   1890       continue ;;
   1891     *\'*)
   1892       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1893     esac
   1894     case $ac_pass in
   1895     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1896     2)
   1897       as_fn_append ac_configure_args1 " '$ac_arg'"
   1898       if test $ac_must_keep_next = true; then
   1899 	ac_must_keep_next=false # Got value, back to normal.
   1900       else
   1901 	case $ac_arg in
   1902 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1903 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1904 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1905 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1906 	    case "$ac_configure_args0 " in
   1907 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1908 	    esac
   1909 	    ;;
   1910 	  -* ) ac_must_keep_next=true ;;
   1911 	esac
   1912       fi
   1913       as_fn_append ac_configure_args " '$ac_arg'"
   1914       ;;
   1915     esac
   1916   done
   1917 done
   1918 { ac_configure_args0=; unset ac_configure_args0;}
   1919 { ac_configure_args1=; unset ac_configure_args1;}
   1920 
   1921 # When interrupted or exit'd, cleanup temporary files, and complete
   1922 # config.log.  We remove comments because anyway the quotes in there
   1923 # would cause problems or look ugly.
   1924 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1925 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1926 trap 'exit_status=$?
   1927   # Sanitize IFS.
   1928   IFS=" ""	$as_nl"
   1929   # Save into config.log some information that might help in debugging.
   1930   {
   1931     echo
   1932 
   1933     printf "%s\n" "## ---------------- ##
   1934 ## Cache variables. ##
   1935 ## ---------------- ##"
   1936     echo
   1937     # The following way of writing the cache mishandles newlines in values,
   1938 (
   1939   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1940     eval ac_val=\$$ac_var
   1941     case $ac_val in #(
   1942     *${as_nl}*)
   1943       case $ac_var in #(
   1944       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1945 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1946       esac
   1947       case $ac_var in #(
   1948       _ | IFS | as_nl) ;; #(
   1949       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1950       *) { eval $ac_var=; unset $ac_var;} ;;
   1951       esac ;;
   1952     esac
   1953   done
   1954   (set) 2>&1 |
   1955     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1956     *${as_nl}ac_space=\ *)
   1957       sed -n \
   1958 	"s/'\''/'\''\\\\'\'''\''/g;
   1959 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1960       ;; #(
   1961     *)
   1962       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1963       ;;
   1964     esac |
   1965     sort
   1966 )
   1967     echo
   1968 
   1969     printf "%s\n" "## ----------------- ##
   1970 ## Output variables. ##
   1971 ## ----------------- ##"
   1972     echo
   1973     for ac_var in $ac_subst_vars
   1974     do
   1975       eval ac_val=\$$ac_var
   1976       case $ac_val in
   1977       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1978       esac
   1979       printf "%s\n" "$ac_var='\''$ac_val'\''"
   1980     done | sort
   1981     echo
   1982 
   1983     if test -n "$ac_subst_files"; then
   1984       printf "%s\n" "## ------------------- ##
   1985 ## File substitutions. ##
   1986 ## ------------------- ##"
   1987       echo
   1988       for ac_var in $ac_subst_files
   1989       do
   1990 	eval ac_val=\$$ac_var
   1991 	case $ac_val in
   1992 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1993 	esac
   1994 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   1995       done | sort
   1996       echo
   1997     fi
   1998 
   1999     if test -s confdefs.h; then
   2000       printf "%s\n" "## ----------- ##
   2001 ## confdefs.h. ##
   2002 ## ----------- ##"
   2003       echo
   2004       cat confdefs.h
   2005       echo
   2006     fi
   2007     test "$ac_signal" != 0 &&
   2008       printf "%s\n" "$as_me: caught signal $ac_signal"
   2009     printf "%s\n" "$as_me: exit $exit_status"
   2010   } >&5
   2011   rm -f core *.core core.conftest.* &&
   2012     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2013     exit $exit_status
   2014 ' 0
   2015 for ac_signal in 1 2 13 15; do
   2016   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2017 done
   2018 ac_signal=0
   2019 
   2020 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2021 rm -f -r conftest* confdefs.h
   2022 
   2023 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2024 
   2025 # Predefined preprocessor variables.
   2026 
   2027 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2028 
   2029 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2030 
   2031 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2032 
   2033 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2034 
   2035 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2036 
   2037 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2038 
   2039 
   2040 # Let the site file select an alternate cache file if it wants to.
   2041 # Prefer an explicitly selected file to automatically selected ones.
   2042 if test -n "$CONFIG_SITE"; then
   2043   ac_site_files="$CONFIG_SITE"
   2044 elif test "x$prefix" != xNONE; then
   2045   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2046 else
   2047   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2048 fi
   2049 
   2050 for ac_site_file in $ac_site_files
   2051 do
   2052   case $ac_site_file in #(
   2053   */*) :
   2054      ;; #(
   2055   *) :
   2056     ac_site_file=./$ac_site_file ;;
   2057 esac
   2058   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2059     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2060 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2061     sed 's/^/| /' "$ac_site_file" >&5
   2062     . "$ac_site_file" \
   2063       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2064 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2065 as_fn_error $? "failed to load site script $ac_site_file
   2066 See 'config.log' for more details" "$LINENO" 5; }
   2067   fi
   2068 done
   2069 
   2070 if test -r "$cache_file"; then
   2071   # Some versions of bash will fail to source /dev/null (special files
   2072   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2073   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2074     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2075 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2076     case $cache_file in
   2077       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2078       *)                      . "./$cache_file";;
   2079     esac
   2080   fi
   2081 else
   2082   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2083 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2084   >$cache_file
   2085 fi
   2086 
   2087 # Test code for whether the C compiler supports C89 (global declarations)
   2088 ac_c_conftest_c89_globals='
   2089 /* Does the compiler advertise C89 conformance?
   2090    Do not test the value of __STDC__, because some compilers set it to 0
   2091    while being otherwise adequately conformant. */
   2092 #if !defined __STDC__
   2093 # error "Compiler does not advertise C89 conformance"
   2094 #endif
   2095 
   2096 #include <stddef.h>
   2097 #include <stdarg.h>
   2098 struct stat;
   2099 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2100 struct buf { int x; };
   2101 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2102 static char *e (char **p, int i)
   2103 {
   2104   return p[i];
   2105 }
   2106 static char *f (char * (*g) (char **, int), char **p, ...)
   2107 {
   2108   char *s;
   2109   va_list v;
   2110   va_start (v,p);
   2111   s = g (p, va_arg (v,int));
   2112   va_end (v);
   2113   return s;
   2114 }
   2115 
   2116 /* C89 style stringification. */
   2117 #define noexpand_stringify(a) #a
   2118 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2119 
   2120 /* C89 style token pasting.  Exercises some of the corner cases that
   2121    e.g. old MSVC gets wrong, but not very hard. */
   2122 #define noexpand_concat(a,b) a##b
   2123 #define expand_concat(a,b) noexpand_concat(a,b)
   2124 extern int vA;
   2125 extern int vbee;
   2126 #define aye A
   2127 #define bee B
   2128 int *pvA = &expand_concat(v,aye);
   2129 int *pvbee = &noexpand_concat(v,bee);
   2130 
   2131 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2132    function prototypes and stuff, but not \xHH hex character constants.
   2133    These do not provoke an error unfortunately, instead are silently treated
   2134    as an "x".  The following induces an error, until -std is added to get
   2135    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2136    array size at least.  It is necessary to write \x00 == 0 to get something
   2137    that is true only with -std.  */
   2138 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2139 
   2140 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2141    inside strings and character constants.  */
   2142 #define FOO(x) '\''x'\''
   2143 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2144 
   2145 int test (int i, double x);
   2146 struct s1 {int (*f) (int a);};
   2147 struct s2 {int (*f) (double a);};
   2148 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2149                int, int);'
   2150 
   2151 # Test code for whether the C compiler supports C89 (body of main).
   2152 ac_c_conftest_c89_main='
   2153 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2154 '
   2155 
   2156 # Test code for whether the C compiler supports C99 (global declarations)
   2157 ac_c_conftest_c99_globals='
   2158 /* Does the compiler advertise C99 conformance? */
   2159 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2160 # error "Compiler does not advertise C99 conformance"
   2161 #endif
   2162 
   2163 // See if C++-style comments work.
   2164 
   2165 #include <stdbool.h>
   2166 extern int puts (const char *);
   2167 extern int printf (const char *, ...);
   2168 extern int dprintf (int, const char *, ...);
   2169 extern void *malloc (size_t);
   2170 extern void free (void *);
   2171 
   2172 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2173 // dprintf is used instead of fprintf to avoid needing to declare
   2174 // FILE and stderr.
   2175 #define debug(...) dprintf (2, __VA_ARGS__)
   2176 #define showlist(...) puts (#__VA_ARGS__)
   2177 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2178 static void
   2179 test_varargs_macros (void)
   2180 {
   2181   int x = 1234;
   2182   int y = 5678;
   2183   debug ("Flag");
   2184   debug ("X = %d\n", x);
   2185   showlist (The first, second, and third items.);
   2186   report (x>y, "x is %d but y is %d", x, y);
   2187 }
   2188 
   2189 // Check long long types.
   2190 #define BIG64 18446744073709551615ull
   2191 #define BIG32 4294967295ul
   2192 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2193 #if !BIG_OK
   2194   #error "your preprocessor is broken"
   2195 #endif
   2196 #if BIG_OK
   2197 #else
   2198   #error "your preprocessor is broken"
   2199 #endif
   2200 static long long int bignum = -9223372036854775807LL;
   2201 static unsigned long long int ubignum = BIG64;
   2202 
   2203 struct incomplete_array
   2204 {
   2205   int datasize;
   2206   double data[];
   2207 };
   2208 
   2209 struct named_init {
   2210   int number;
   2211   const wchar_t *name;
   2212   double average;
   2213 };
   2214 
   2215 typedef const char *ccp;
   2216 
   2217 static inline int
   2218 test_restrict (ccp restrict text)
   2219 {
   2220   // Iterate through items via the restricted pointer.
   2221   // Also check for declarations in for loops.
   2222   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2223     continue;
   2224   return 0;
   2225 }
   2226 
   2227 // Check varargs and va_copy.
   2228 static bool
   2229 test_varargs (const char *format, ...)
   2230 {
   2231   va_list args;
   2232   va_start (args, format);
   2233   va_list args_copy;
   2234   va_copy (args_copy, args);
   2235 
   2236   const char *str = "";
   2237   int number = 0;
   2238   float fnumber = 0;
   2239 
   2240   while (*format)
   2241     {
   2242       switch (*format++)
   2243 	{
   2244 	case '\''s'\'': // string
   2245 	  str = va_arg (args_copy, const char *);
   2246 	  break;
   2247 	case '\''d'\'': // int
   2248 	  number = va_arg (args_copy, int);
   2249 	  break;
   2250 	case '\''f'\'': // float
   2251 	  fnumber = va_arg (args_copy, double);
   2252 	  break;
   2253 	default:
   2254 	  break;
   2255 	}
   2256     }
   2257   va_end (args_copy);
   2258   va_end (args);
   2259 
   2260   return *str && number && fnumber;
   2261 }
   2262 '
   2263 
   2264 # Test code for whether the C compiler supports C99 (body of main).
   2265 ac_c_conftest_c99_main='
   2266   // Check bool.
   2267   _Bool success = false;
   2268   success |= (argc != 0);
   2269 
   2270   // Check restrict.
   2271   if (test_restrict ("String literal") == 0)
   2272     success = true;
   2273   char *restrict newvar = "Another string";
   2274 
   2275   // Check varargs.
   2276   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2277   test_varargs_macros ();
   2278 
   2279   // Check flexible array members.
   2280   struct incomplete_array *ia =
   2281     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2282   ia->datasize = 10;
   2283   for (int i = 0; i < ia->datasize; ++i)
   2284     ia->data[i] = i * 1.234;
   2285   // Work around memory leak warnings.
   2286   free (ia);
   2287 
   2288   // Check named initializers.
   2289   struct named_init ni = {
   2290     .number = 34,
   2291     .name = L"Test wide string",
   2292     .average = 543.34343,
   2293   };
   2294 
   2295   ni.number = 58;
   2296 
   2297   int dynamic_array[ni.number];
   2298   dynamic_array[0] = argv[0][0];
   2299   dynamic_array[ni.number - 1] = 543;
   2300 
   2301   // work around unused variable warnings
   2302   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2303 	 || dynamic_array[ni.number - 1] != 543);
   2304 '
   2305 
   2306 # Test code for whether the C compiler supports C11 (global declarations)
   2307 ac_c_conftest_c11_globals='
   2308 /* Does the compiler advertise C11 conformance? */
   2309 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2310 # error "Compiler does not advertise C11 conformance"
   2311 #endif
   2312 
   2313 // Check _Alignas.
   2314 char _Alignas (double) aligned_as_double;
   2315 char _Alignas (0) no_special_alignment;
   2316 extern char aligned_as_int;
   2317 char _Alignas (0) _Alignas (int) aligned_as_int;
   2318 
   2319 // Check _Alignof.
   2320 enum
   2321 {
   2322   int_alignment = _Alignof (int),
   2323   int_array_alignment = _Alignof (int[100]),
   2324   char_alignment = _Alignof (char)
   2325 };
   2326 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2327 
   2328 // Check _Noreturn.
   2329 int _Noreturn does_not_return (void) { for (;;) continue; }
   2330 
   2331 // Check _Static_assert.
   2332 struct test_static_assert
   2333 {
   2334   int x;
   2335   _Static_assert (sizeof (int) <= sizeof (long int),
   2336                   "_Static_assert does not work in struct");
   2337   long int y;
   2338 };
   2339 
   2340 // Check UTF-8 literals.
   2341 #define u8 syntax error!
   2342 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2343 
   2344 // Check duplicate typedefs.
   2345 typedef long *long_ptr;
   2346 typedef long int *long_ptr;
   2347 typedef long_ptr long_ptr;
   2348 
   2349 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2350 struct anonymous
   2351 {
   2352   union {
   2353     struct { int i; int j; };
   2354     struct { int k; long int l; } w;
   2355   };
   2356   int m;
   2357 } v1;
   2358 '
   2359 
   2360 # Test code for whether the C compiler supports C11 (body of main).
   2361 ac_c_conftest_c11_main='
   2362   _Static_assert ((offsetof (struct anonymous, i)
   2363 		   == offsetof (struct anonymous, w.k)),
   2364 		  "Anonymous union alignment botch");
   2365   v1.i = 2;
   2366   v1.w.k = 5;
   2367   ok |= v1.i != 5;
   2368 '
   2369 
   2370 # Test code for whether the C compiler supports C11 (complete).
   2371 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2372 ${ac_c_conftest_c99_globals}
   2373 ${ac_c_conftest_c11_globals}
   2374 
   2375 int
   2376 main (int argc, char **argv)
   2377 {
   2378   int ok = 0;
   2379   ${ac_c_conftest_c89_main}
   2380   ${ac_c_conftest_c99_main}
   2381   ${ac_c_conftest_c11_main}
   2382   return ok;
   2383 }
   2384 "
   2385 
   2386 # Test code for whether the C compiler supports C99 (complete).
   2387 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2388 ${ac_c_conftest_c99_globals}
   2389 
   2390 int
   2391 main (int argc, char **argv)
   2392 {
   2393   int ok = 0;
   2394   ${ac_c_conftest_c89_main}
   2395   ${ac_c_conftest_c99_main}
   2396   return ok;
   2397 }
   2398 "
   2399 
   2400 # Test code for whether the C compiler supports C89 (complete).
   2401 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2402 
   2403 int
   2404 main (int argc, char **argv)
   2405 {
   2406   int ok = 0;
   2407   ${ac_c_conftest_c89_main}
   2408   return ok;
   2409 }
   2410 "
   2411 
   2412 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2413 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2414 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2415 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2416 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2417 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2418 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2419 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2420 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2421 
   2422 # Auxiliary files required by this configure script.
   2423 ac_aux_files="config.guess config.sub compile missing install-sh"
   2424 
   2425 # Locations in which to look for auxiliary files.
   2426 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2427 
   2428 # Search for a directory containing all of the required auxiliary files,
   2429 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2430 # If we don't find one directory that contains all the files we need,
   2431 # we report the set of missing files from the *first* directory in
   2432 # $ac_aux_dir_candidates and give up.
   2433 ac_missing_aux_files=""
   2434 ac_first_candidate=:
   2435 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2437 as_found=false
   2438 for as_dir in $ac_aux_dir_candidates
   2439 do
   2440   IFS=$as_save_IFS
   2441   case $as_dir in #(((
   2442     '') as_dir=./ ;;
   2443     */) ;;
   2444     *) as_dir=$as_dir/ ;;
   2445   esac
   2446   as_found=:
   2447 
   2448   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2449   ac_aux_dir_found=yes
   2450   ac_install_sh=
   2451   for ac_aux in $ac_aux_files
   2452   do
   2453     # As a special case, if "install-sh" is required, that requirement
   2454     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2455     # and $ac_install_sh is set appropriately for whichever one is found.
   2456     if test x"$ac_aux" = x"install-sh"
   2457     then
   2458       if test -f "${as_dir}install-sh"; then
   2459         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2460         ac_install_sh="${as_dir}install-sh -c"
   2461       elif test -f "${as_dir}install.sh"; then
   2462         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2463         ac_install_sh="${as_dir}install.sh -c"
   2464       elif test -f "${as_dir}shtool"; then
   2465         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2466         ac_install_sh="${as_dir}shtool install -c"
   2467       else
   2468         ac_aux_dir_found=no
   2469         if $ac_first_candidate; then
   2470           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2471         else
   2472           break
   2473         fi
   2474       fi
   2475     else
   2476       if test -f "${as_dir}${ac_aux}"; then
   2477         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2478       else
   2479         ac_aux_dir_found=no
   2480         if $ac_first_candidate; then
   2481           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2482         else
   2483           break
   2484         fi
   2485       fi
   2486     fi
   2487   done
   2488   if test "$ac_aux_dir_found" = yes; then
   2489     ac_aux_dir="$as_dir"
   2490     break
   2491   fi
   2492   ac_first_candidate=false
   2493 
   2494   as_found=false
   2495 done
   2496 IFS=$as_save_IFS
   2497 if $as_found
   2498 then :
   2499 
   2500 else case e in #(
   2501   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2502 esac
   2503 fi
   2504 
   2505 
   2506 # These three variables are undocumented and unsupported,
   2507 # and are intended to be withdrawn in a future Autoconf release.
   2508 # They can cause serious problems if a builder's source tree is in a directory
   2509 # whose full name contains unusual characters.
   2510 if test -f "${ac_aux_dir}config.guess"; then
   2511   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2512 fi
   2513 if test -f "${ac_aux_dir}config.sub"; then
   2514   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2515 fi
   2516 if test -f "$ac_aux_dir/configure"; then
   2517   ac_configure="$SHELL ${ac_aux_dir}configure"
   2518 fi
   2519 
   2520 # Check that the precious variables saved in the cache have kept the same
   2521 # value.
   2522 ac_cache_corrupted=false
   2523 for ac_var in $ac_precious_vars; do
   2524   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2525   eval ac_new_set=\$ac_env_${ac_var}_set
   2526   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2527   eval ac_new_val=\$ac_env_${ac_var}_value
   2528   case $ac_old_set,$ac_new_set in
   2529     set,)
   2530       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2531 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2532       ac_cache_corrupted=: ;;
   2533     ,set)
   2534       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2535 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2536       ac_cache_corrupted=: ;;
   2537     ,);;
   2538     *)
   2539       if test "x$ac_old_val" != "x$ac_new_val"; then
   2540 	# differences in whitespace do not lead to failure.
   2541 	ac_old_val_w=`echo x $ac_old_val`
   2542 	ac_new_val_w=`echo x $ac_new_val`
   2543 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2544 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2545 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2546 	  ac_cache_corrupted=:
   2547 	else
   2548 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2549 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2550 	  eval $ac_var=\$ac_old_val
   2551 	fi
   2552 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2553 printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
   2554 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2555 printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
   2556       fi;;
   2557   esac
   2558   # Pass precious variables to config.status.
   2559   if test "$ac_new_set" = set; then
   2560     case $ac_new_val in
   2561     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2562     *) ac_arg=$ac_var=$ac_new_val ;;
   2563     esac
   2564     case " $ac_configure_args " in
   2565       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2566       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2567     esac
   2568   fi
   2569 done
   2570 if $ac_cache_corrupted; then
   2571   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2572 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2573   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2574 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2575   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2576 	    and start over" "$LINENO" 5
   2577 fi
   2578 ## -------------------- ##
   2579 ## Main body of script. ##
   2580 ## -------------------- ##
   2581 
   2582 ac_ext=c
   2583 ac_cpp='$CPP $CPPFLAGS'
   2584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2587 
   2588 
   2589 
   2590 ac_config_headers="$ac_config_headers config.h"
   2591 
   2592 
   2593 # Initialize Automake
   2594 am__api_version='1.18'
   2595 
   2596 
   2597 
   2598   # Find a good install program.  We prefer a C program (faster),
   2599 # so one script is as good as another.  But avoid the broken or
   2600 # incompatible versions:
   2601 # SysV /etc/install, /usr/sbin/install
   2602 # SunOS /usr/etc/install
   2603 # IRIX /sbin/install
   2604 # AIX /bin/install
   2605 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2606 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2607 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2608 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2609 # OS/2's system install, which has a completely different semantic
   2610 # ./install, which can be erroneously created by make from ./install.sh.
   2611 # Reject install programs that cannot install multiple files.
   2612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2613 printf %s "checking for a BSD-compatible install... " >&6; }
   2614 if test -z "$INSTALL"; then
   2615 if test ${ac_cv_path_install+y}
   2616 then :
   2617   printf %s "(cached) " >&6
   2618 else case e in #(
   2619   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2620 for as_dir in $PATH
   2621 do
   2622   IFS=$as_save_IFS
   2623   case $as_dir in #(((
   2624     '') as_dir=./ ;;
   2625     */) ;;
   2626     *) as_dir=$as_dir/ ;;
   2627   esac
   2628     # Account for fact that we put trailing slashes in our PATH walk.
   2629 case $as_dir in #((
   2630   ./ | /[cC]/* | \
   2631   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2632   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2633   /usr/ucb/* ) ;;
   2634   *)
   2635     # OSF1 and SCO ODT 3.0 have their own names for install.
   2636     # Don't use installbsd from OSF since it installs stuff as root
   2637     # by default.
   2638     for ac_prog in ginstall scoinst install; do
   2639       for ac_exec_ext in '' $ac_executable_extensions; do
   2640 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2641 	  if test $ac_prog = install &&
   2642 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2643 	    # AIX install.  It has an incompatible calling convention.
   2644 	    :
   2645 	  elif test $ac_prog = install &&
   2646 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2647 	    # program-specific install script used by HP pwplus--don't use.
   2648 	    :
   2649 	  else
   2650 	    rm -rf conftest.one conftest.two conftest.dir
   2651 	    echo one > conftest.one
   2652 	    echo two > conftest.two
   2653 	    mkdir conftest.dir
   2654 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2655 	      test -s conftest.one && test -s conftest.two &&
   2656 	      test -s conftest.dir/conftest.one &&
   2657 	      test -s conftest.dir/conftest.two
   2658 	    then
   2659 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2660 	      break 3
   2661 	    fi
   2662 	  fi
   2663 	fi
   2664       done
   2665     done
   2666     ;;
   2667 esac
   2668 
   2669   done
   2670 IFS=$as_save_IFS
   2671 
   2672 rm -rf conftest.one conftest.two conftest.dir
   2673  ;;
   2674 esac
   2675 fi
   2676   if test ${ac_cv_path_install+y}; then
   2677     INSTALL=$ac_cv_path_install
   2678   else
   2679     # As a last resort, use the slow shell script.  Don't cache a
   2680     # value for INSTALL within a source directory, because that will
   2681     # break other packages using the cache if that directory is
   2682     # removed, or if the value is a relative name.
   2683     INSTALL=$ac_install_sh
   2684   fi
   2685 fi
   2686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2687 printf "%s\n" "$INSTALL" >&6; }
   2688 
   2689 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2690 # It thinks the first close brace ends the variable substitution.
   2691 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2692 
   2693 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2694 
   2695 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2696 
   2697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   2698 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   2699 if test ${am_cv_sleep_fractional_seconds+y}
   2700 then :
   2701   printf %s "(cached) " >&6
   2702 else case e in #(
   2703   e) if sleep 0.001 2>/dev/null
   2704 then :
   2705   am_cv_sleep_fractional_seconds=yes
   2706 else case e in #(
   2707   e) am_cv_sleep_fractional_seconds=no ;;
   2708 esac
   2709 fi
   2710  ;;
   2711 esac
   2712 fi
   2713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   2714 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
   2715 
   2716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   2717 printf %s "checking filesystem timestamp resolution... " >&6; }
   2718 if test ${am_cv_filesystem_timestamp_resolution+y}
   2719 then :
   2720   printf %s "(cached) " >&6
   2721 else case e in #(
   2722   e) # Default to the worst case.
   2723 am_cv_filesystem_timestamp_resolution=2
   2724 
   2725 # Only try to go finer than 1 sec if sleep can do it.
   2726 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   2727 # - 1 sec is not much of a win compared to 2 sec, and
   2728 # - it takes 2 seconds to perform the test whether 1 sec works.
   2729 #
   2730 # Instead, just use the default 2s on platforms that have 1s resolution,
   2731 # accept the extra 1s delay when using $sleep in the Automake tests, in
   2732 # exchange for not incurring the 2s delay for running the test for all
   2733 # packages.
   2734 #
   2735 am_try_resolutions=
   2736 if test "$am_cv_sleep_fractional_seconds" = yes; then
   2737   # Even a millisecond often causes a bunch of false positives,
   2738   # so just try a hundredth of a second. The time saved between .001 and
   2739   # .01 is not terribly consequential.
   2740   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   2741 fi
   2742 
   2743 # In order to catch current-generation FAT out, we must *modify* files
   2744 # that already exist; the *creation* timestamp is finer.  Use names
   2745 # that make ls -t sort them differently when they have equal
   2746 # timestamps than when they have distinct timestamps, keeping
   2747 # in mind that ls -t prints the *newest* file first.
   2748 rm -f conftest.ts?
   2749 : > conftest.ts1
   2750 : > conftest.ts2
   2751 : > conftest.ts3
   2752 
   2753 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   2754 # clobber the current shell's arguments. (Outer-level square brackets
   2755 # are removed by m4; they're present so that m4 does not expand
   2756 # <dollar><star>; be careful, easy to get confused.)
   2757 if (
   2758      set X `ls -t conftest.ts[12]` &&
   2759      {
   2760        test "$*" != "X conftest.ts1 conftest.ts2" ||
   2761        test "$*" != "X conftest.ts2 conftest.ts1";
   2762      }
   2763 ); then :; else
   2764   # If neither matched, then we have a broken ls.  This can happen
   2765   # if, for instance, CONFIG_SHELL is bash and it inherits a
   2766   # broken ls alias from the environment.  This has actually
   2767   # happened.  Such a system could not be considered "sane".
   2768   printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   2769   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2770 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2771 as_fn_error $? "ls -t produces unexpected output.
   2772 Make sure there is not a broken ls alias in your environment.
   2773 See 'config.log' for more details" "$LINENO" 5; }
   2774 fi
   2775 
   2776 for am_try_res in $am_try_resolutions; do
   2777   # Any one fine-grained sleep might happen to cross the boundary
   2778   # between two values of a coarser actual resolution, but if we do
   2779   # two fine-grained sleeps in a row, at least one of them will fall
   2780   # entirely within a coarse interval.
   2781   echo alpha > conftest.ts1
   2782   sleep $am_try_res
   2783   echo beta > conftest.ts2
   2784   sleep $am_try_res
   2785   echo gamma > conftest.ts3
   2786 
   2787   # We assume that 'ls -t' will make use of high-resolution
   2788   # timestamps if the operating system supports them at all.
   2789   if (set X `ls -t conftest.ts?` &&
   2790       test "$2" = conftest.ts3 &&
   2791       test "$3" = conftest.ts2 &&
   2792       test "$4" = conftest.ts1); then
   2793     #
   2794     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   2795     # because we don't need to test make.
   2796     make_ok=true
   2797     if test $am_try_res != 1; then
   2798       # But if we've succeeded so far with a subsecond resolution, we
   2799       # have one more thing to check: make. It can happen that
   2800       # everything else supports the subsecond mtimes, but make doesn't;
   2801       # notably on macOS, which ships make 3.81 from 2006 (the last one
   2802       # released under GPLv2). https://bugs.gnu.org/68808
   2803       #
   2804       # We test $MAKE if it is defined in the environment, else "make".
   2805       # It might get overridden later, but our hope is that in practice
   2806       # it does not matter: it is the system "make" which is (by far)
   2807       # the most likely to be broken, whereas if the user overrides it,
   2808       # probably they did so with a better, or at least not worse, make.
   2809       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   2810       #
   2811       # Create a Makefile (real tab character here):
   2812       rm -f conftest.mk
   2813       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   2814       echo '	touch conftest.ts2' >>conftest.mk
   2815       #
   2816       # Now, running
   2817       #   touch conftest.ts1; touch conftest.ts2; make
   2818       # should touch ts1 because ts2 is newer. This could happen by luck,
   2819       # but most often, it will fail if make's support is insufficient. So
   2820       # test for several consecutive successes.
   2821       #
   2822       # (We reuse conftest.ts[12] because we still want to modify existing
   2823       # files, not create new ones, per above.)
   2824       n=0
   2825       make=${MAKE-make}
   2826       until test $n -eq 3; do
   2827         echo one > conftest.ts1
   2828         sleep $am_try_res
   2829         echo two > conftest.ts2 # ts2 should now be newer than ts1
   2830         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   2831           make_ok=false
   2832           break # out of $n loop
   2833         fi
   2834         n=`expr $n + 1`
   2835       done
   2836     fi
   2837     #
   2838     if $make_ok; then
   2839       # Everything we know to check worked out, so call this resolution good.
   2840       am_cv_filesystem_timestamp_resolution=$am_try_res
   2841       break # out of $am_try_res loop
   2842     fi
   2843     # Otherwise, we'll go on to check the next resolution.
   2844   fi
   2845 done
   2846 rm -f conftest.ts?
   2847 # (end _am_filesystem_timestamp_resolution)
   2848  ;;
   2849 esac
   2850 fi
   2851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   2852 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
   2853 
   2854 # This check should not be cached, as it may vary across builds of
   2855 # different projects.
   2856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2857 printf %s "checking whether build environment is sane... " >&6; }
   2858 # Reject unsafe characters in $srcdir or the absolute working directory
   2859 # name.  Accept space and tab only in the latter.
   2860 am_lf='
   2861 '
   2862 case `pwd` in
   2863   *[\\\"\#\$\&\'\`$am_lf]*)
   2864     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2865 printf "%s\n" "no" >&6; }
   2866     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2867 esac
   2868 case $srcdir in
   2869   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2870     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2871 printf "%s\n" "no" >&6; }
   2872     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2873 esac
   2874 
   2875 # Do 'set' in a subshell so we don't clobber the current shell's
   2876 # arguments.  Must try -L first in case configure is actually a
   2877 # symlink; some systems play weird games with the mod time of symlinks
   2878 # (eg FreeBSD returns the mod time of the symlink's containing
   2879 # directory).
   2880 am_build_env_is_sane=no
   2881 am_has_slept=no
   2882 rm -f conftest.file
   2883 for am_try in 1 2; do
   2884   echo "timestamp, slept: $am_has_slept" > conftest.file
   2885   if (
   2886     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2887     if test "$*" = "X"; then
   2888       # -L didn't work.
   2889       set X `ls -t "$srcdir/configure" conftest.file`
   2890     fi
   2891     test "$2" = conftest.file
   2892   ); then
   2893     am_build_env_is_sane=yes
   2894     break
   2895   fi
   2896   # Just in case.
   2897   sleep "$am_cv_filesystem_timestamp_resolution"
   2898   am_has_slept=yes
   2899 done
   2900 
   2901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   2902 printf "%s\n" "$am_build_env_is_sane" >&6; }
   2903 if test "$am_build_env_is_sane" = no; then
   2904   as_fn_error $? "newly created file is older than distributed files!
   2905 Check your system clock" "$LINENO" 5
   2906 fi
   2907 
   2908 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2909 # generated files are strictly newer.
   2910 am_sleep_pid=
   2911 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   2912 then :
   2913 
   2914 else case e in #(
   2915   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   2916   am_sleep_pid=$!
   2917  ;;
   2918 esac
   2919 fi
   2920 
   2921 rm -f conftest.file
   2922 
   2923 test "$program_prefix" != NONE &&
   2924   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2925 # Use a double $ so make ignores it.
   2926 test "$program_suffix" != NONE &&
   2927   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2928 # Double any \ or $.
   2929 # By default was 's,x,x', remove it if useless.
   2930 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2931 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2932 
   2933 
   2934 # Expand $ac_aux_dir to an absolute path.
   2935 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2936 
   2937 
   2938   if test x"${MISSING+set}" != xset; then
   2939   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2940 fi
   2941 # Use eval to expand $SHELL
   2942 if eval "$MISSING --is-lightweight"; then
   2943   am_missing_run="$MISSING "
   2944 else
   2945   am_missing_run=
   2946   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2947 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2948 fi
   2949 
   2950 if test x"${install_sh+set}" != xset; then
   2951   case $am_aux_dir in
   2952   *\ * | *\	*)
   2953     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2954   *)
   2955     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2956   esac
   2957 fi
   2958 
   2959 # Installed binaries are usually stripped using 'strip' when the user
   2960 # run "make install-strip".  However 'strip' might not be the right
   2961 # tool to use in cross-compilation environments, therefore Automake
   2962 # will honor the 'STRIP' environment variable to overrule this program.
   2963 if test "$cross_compiling" != no; then
   2964   if test -n "$ac_tool_prefix"; then
   2965   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2966 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2968 printf %s "checking for $ac_word... " >&6; }
   2969 if test ${ac_cv_prog_STRIP+y}
   2970 then :
   2971   printf %s "(cached) " >&6
   2972 else case e in #(
   2973   e) if test -n "$STRIP"; then
   2974   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2975 else
   2976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2977 for as_dir in $PATH
   2978 do
   2979   IFS=$as_save_IFS
   2980   case $as_dir in #(((
   2981     '') as_dir=./ ;;
   2982     */) ;;
   2983     *) as_dir=$as_dir/ ;;
   2984   esac
   2985     for ac_exec_ext in '' $ac_executable_extensions; do
   2986   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2987     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2988     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2989     break 2
   2990   fi
   2991 done
   2992   done
   2993 IFS=$as_save_IFS
   2994 
   2995 fi ;;
   2996 esac
   2997 fi
   2998 STRIP=$ac_cv_prog_STRIP
   2999 if test -n "$STRIP"; then
   3000   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3001 printf "%s\n" "$STRIP" >&6; }
   3002 else
   3003   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3004 printf "%s\n" "no" >&6; }
   3005 fi
   3006 
   3007 
   3008 fi
   3009 if test -z "$ac_cv_prog_STRIP"; then
   3010   ac_ct_STRIP=$STRIP
   3011   # Extract the first word of "strip", so it can be a program name with args.
   3012 set dummy strip; ac_word=$2
   3013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3014 printf %s "checking for $ac_word... " >&6; }
   3015 if test ${ac_cv_prog_ac_ct_STRIP+y}
   3016 then :
   3017   printf %s "(cached) " >&6
   3018 else case e in #(
   3019   e) if test -n "$ac_ct_STRIP"; then
   3020   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3021 else
   3022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3023 for as_dir in $PATH
   3024 do
   3025   IFS=$as_save_IFS
   3026   case $as_dir in #(((
   3027     '') as_dir=./ ;;
   3028     */) ;;
   3029     *) as_dir=$as_dir/ ;;
   3030   esac
   3031     for ac_exec_ext in '' $ac_executable_extensions; do
   3032   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3033     ac_cv_prog_ac_ct_STRIP="strip"
   3034     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3035     break 2
   3036   fi
   3037 done
   3038   done
   3039 IFS=$as_save_IFS
   3040 
   3041 fi ;;
   3042 esac
   3043 fi
   3044 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3045 if test -n "$ac_ct_STRIP"; then
   3046   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3047 printf "%s\n" "$ac_ct_STRIP" >&6; }
   3048 else
   3049   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3050 printf "%s\n" "no" >&6; }
   3051 fi
   3052 
   3053   if test "x$ac_ct_STRIP" = x; then
   3054     STRIP=":"
   3055   else
   3056     case $cross_compiling:$ac_tool_warned in
   3057 yes:)
   3058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3059 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3060 ac_tool_warned=yes ;;
   3061 esac
   3062     STRIP=$ac_ct_STRIP
   3063   fi
   3064 else
   3065   STRIP="$ac_cv_prog_STRIP"
   3066 fi
   3067 
   3068 fi
   3069 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3070 
   3071 
   3072   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   3073 printf %s "checking for a race-free mkdir -p... " >&6; }
   3074 if test -z "$MKDIR_P"; then
   3075   if test ${ac_cv_path_mkdir+y}
   3076 then :
   3077   printf %s "(cached) " >&6
   3078 else case e in #(
   3079   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3080 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3081 do
   3082   IFS=$as_save_IFS
   3083   case $as_dir in #(((
   3084     '') as_dir=./ ;;
   3085     */) ;;
   3086     *) as_dir=$as_dir/ ;;
   3087   esac
   3088     for ac_prog in mkdir gmkdir; do
   3089 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3090 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3091 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3092 	     'mkdir ('*'coreutils) '* | \
   3093 	     *'BusyBox '* | \
   3094 	     'mkdir (fileutils) '4.1*)
   3095 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3096 	       break 3;;
   3097 	   esac
   3098 	 done
   3099        done
   3100   done
   3101 IFS=$as_save_IFS
   3102  ;;
   3103 esac
   3104 fi
   3105 
   3106   test -d ./--version && rmdir ./--version
   3107   if test ${ac_cv_path_mkdir+y}; then
   3108     MKDIR_P="$ac_cv_path_mkdir -p"
   3109   else
   3110     # As a last resort, use plain mkdir -p,
   3111     # in the hope it doesn't have the bugs of ancient mkdir.
   3112     MKDIR_P='mkdir -p'
   3113   fi
   3114 fi
   3115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3116 printf "%s\n" "$MKDIR_P" >&6; }
   3117 
   3118 for ac_prog in gawk mawk nawk awk
   3119 do
   3120   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3121 set dummy $ac_prog; ac_word=$2
   3122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3123 printf %s "checking for $ac_word... " >&6; }
   3124 if test ${ac_cv_prog_AWK+y}
   3125 then :
   3126   printf %s "(cached) " >&6
   3127 else case e in #(
   3128   e) if test -n "$AWK"; then
   3129   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3130 else
   3131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3132 for as_dir in $PATH
   3133 do
   3134   IFS=$as_save_IFS
   3135   case $as_dir in #(((
   3136     '') as_dir=./ ;;
   3137     */) ;;
   3138     *) as_dir=$as_dir/ ;;
   3139   esac
   3140     for ac_exec_ext in '' $ac_executable_extensions; do
   3141   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3142     ac_cv_prog_AWK="$ac_prog"
   3143     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3144     break 2
   3145   fi
   3146 done
   3147   done
   3148 IFS=$as_save_IFS
   3149 
   3150 fi ;;
   3151 esac
   3152 fi
   3153 AWK=$ac_cv_prog_AWK
   3154 if test -n "$AWK"; then
   3155   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3156 printf "%s\n" "$AWK" >&6; }
   3157 else
   3158   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3159 printf "%s\n" "no" >&6; }
   3160 fi
   3161 
   3162 
   3163   test -n "$AWK" && break
   3164 done
   3165 
   3166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3167 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3168 set x ${MAKE-make}
   3169 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3170 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3171 then :
   3172   printf %s "(cached) " >&6
   3173 else case e in #(
   3174   e) cat >conftest.make <<\_ACEOF
   3175 SHELL = /bin/sh
   3176 all:
   3177 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3178 _ACEOF
   3179 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3180 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3181   *@@@%%%=?*=@@@%%%*)
   3182     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3183   *)
   3184     eval ac_cv_prog_make_${ac_make}_set=no;;
   3185 esac
   3186 rm -f conftest.make ;;
   3187 esac
   3188 fi
   3189 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3190   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3191 printf "%s\n" "yes" >&6; }
   3192   SET_MAKE=
   3193 else
   3194   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3195 printf "%s\n" "no" >&6; }
   3196   SET_MAKE="MAKE=${MAKE-make}"
   3197 fi
   3198 
   3199 rm -rf .tst 2>/dev/null
   3200 mkdir .tst 2>/dev/null
   3201 if test -d .tst; then
   3202   am__leading_dot=.
   3203 else
   3204   am__leading_dot=_
   3205 fi
   3206 rmdir .tst 2>/dev/null
   3207 
   3208 AM_DEFAULT_VERBOSITY=1
   3209 # Check whether --enable-silent-rules was given.
   3210 if test ${enable_silent_rules+y}
   3211 then :
   3212   enableval=$enable_silent_rules;
   3213 fi
   3214 
   3215 am_make=${MAKE-make}
   3216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3217 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3218 if test ${am_cv_make_support_nested_variables+y}
   3219 then :
   3220   printf %s "(cached) " >&6
   3221 else case e in #(
   3222   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   3223 BAR0=false
   3224 BAR1=true
   3225 V=1
   3226 am__doit:
   3227 	@$(TRUE)
   3228 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3229   am_cv_make_support_nested_variables=yes
   3230 else
   3231   am_cv_make_support_nested_variables=no
   3232 fi ;;
   3233 esac
   3234 fi
   3235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3236 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3237 AM_BACKSLASH='\'
   3238 
   3239 am__rm_f_notfound=
   3240 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   3241 then :
   3242 
   3243 else case e in #(
   3244   e) am__rm_f_notfound='""' ;;
   3245 esac
   3246 fi
   3247 
   3248 
   3249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   3250 printf %s "checking xargs -n works... " >&6; }
   3251 if test ${am_cv_xargs_n_works+y}
   3252 then :
   3253   printf %s "(cached) " >&6
   3254 else case e in #(
   3255   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   3256 3"
   3257 then :
   3258   am_cv_xargs_n_works=yes
   3259 else case e in #(
   3260   e) am_cv_xargs_n_works=no ;;
   3261 esac
   3262 fi ;;
   3263 esac
   3264 fi
   3265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   3266 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
   3267 if test "$am_cv_xargs_n_works" = yes
   3268 then :
   3269   am__xargs_n='xargs -n'
   3270 else case e in #(
   3271   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   3272  ;;
   3273 esac
   3274 fi
   3275 
   3276 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3277   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3278   # is not polluted with repeated "-I."
   3279   am__isrc=' -I$(srcdir)'
   3280   # test to see if srcdir already configured
   3281   if test -f $srcdir/config.status; then
   3282     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3283   fi
   3284 fi
   3285 
   3286 # test whether we have cygpath
   3287 if test -z "$CYGPATH_W"; then
   3288   if (cygpath --version) >/dev/null 2>/dev/null; then
   3289     CYGPATH_W='cygpath -w'
   3290   else
   3291     CYGPATH_W=echo
   3292   fi
   3293 fi
   3294 
   3295 
   3296 # Define the identity of the package.
   3297  PACKAGE='xgc'
   3298  VERSION='1.0.7'
   3299 
   3300 
   3301 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3302 
   3303 
   3304 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3305 
   3306 # Some tools Automake needs.
   3307 
   3308 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3309 
   3310 
   3311 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3312 
   3313 
   3314 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3315 
   3316 
   3317 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3318 
   3319 
   3320 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3321 
   3322 # For better backward compatibility.  To be removed once Automake 1.9.x
   3323 # dies out for good.  For more background, see:
   3324 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3325 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3326 mkdir_p='$(MKDIR_P)'
   3327 
   3328 # We need awk for the "check" target (and possibly the TAP driver).  The
   3329 # system "awk" is bad on some platforms.
   3330 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3331 # in the wild :-(  We should find a proper way to deprecate it ...
   3332 AMTAR='$${TAR-tar}'
   3333 
   3334 
   3335 # We'll loop over all known methods to create a tar archive until one works.
   3336 _am_tools='gnutar plaintar pax cpio none'
   3337 
   3338 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
   3339       # There is notably a 21 bits limit for the UID and the GID.  In fact,
   3340       # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
   3341       # and bug#13588).
   3342       am_max_uid=2097151 # 2^21 - 1
   3343       am_max_gid=$am_max_uid
   3344       # The $UID and $GID variables are not portable, so we need to resort
   3345       # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
   3346       # below are definitely unexpected, so allow the users to see them
   3347       # (that is, avoid stderr redirection).
   3348       am_uid=`id -u || echo unknown`
   3349       am_gid=`id -g || echo unknown`
   3350       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
   3351 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
   3352       if test x$am_uid = xunknown; then
   3353         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
   3354 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
   3355       elif test $am_uid -le $am_max_uid; then
   3356         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3357 printf "%s\n" "yes" >&6; }
   3358       else
   3359         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3360 printf "%s\n" "no" >&6; }
   3361         _am_tools=none
   3362       fi
   3363       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
   3364 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
   3365       if test x$gm_gid = xunknown; then
   3366         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
   3367 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
   3368       elif test $am_gid -le $am_max_gid; then
   3369         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3370 printf "%s\n" "yes" >&6; }
   3371       else
   3372         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3373 printf "%s\n" "no" >&6; }
   3374         _am_tools=none
   3375       fi
   3376 
   3377   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
   3378 printf %s "checking how to create a ustar tar archive... " >&6; }
   3379 
   3380   # Go ahead even if we have the value already cached.  We do so because we
   3381   # need to set the values for the 'am__tar' and 'am__untar' variables.
   3382   _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
   3383 
   3384   for _am_tool in $_am_tools; do
   3385     case $_am_tool in
   3386     gnutar)
   3387       for _am_tar in tar gnutar gtar; do
   3388         { echo "$as_me:$LINENO: $_am_tar --version" >&5
   3389    ($_am_tar --version) >&5 2>&5
   3390    ac_status=$?
   3391    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3392    (exit $ac_status); } && break
   3393       done
   3394       am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
   3395       am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
   3396       am__untar="$_am_tar -xf -"
   3397       ;;
   3398     plaintar)
   3399       # Must skip GNU tar: if it does not support --format= it doesn't create
   3400       # ustar tarball either.
   3401       (tar --version) >/dev/null 2>&1 && continue
   3402       am__tar='tar chf - "$$tardir"'
   3403       am__tar_='tar chf - "$tardir"'
   3404       am__untar='tar xf -'
   3405       ;;
   3406     pax)
   3407       am__tar='pax -L -x ustar -w "$$tardir"'
   3408       am__tar_='pax -L -x ustar -w "$tardir"'
   3409       am__untar='pax -r'
   3410       ;;
   3411     cpio)
   3412       am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
   3413       am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
   3414       am__untar='cpio -i -H ustar -d'
   3415       ;;
   3416     none)
   3417       am__tar=false
   3418       am__tar_=false
   3419       am__untar=false
   3420       ;;
   3421     esac
   3422 
   3423     # If the value was cached, stop now.  We just wanted to have am__tar
   3424     # and am__untar set.
   3425     test -n "${am_cv_prog_tar_ustar}" && break
   3426 
   3427     # tar/untar a dummy directory, and stop if the command works.
   3428     rm -rf conftest.dir
   3429     mkdir conftest.dir
   3430     echo GrepMe > conftest.dir/file
   3431     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
   3432    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
   3433    ac_status=$?
   3434    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3435    (exit $ac_status); }
   3436     rm -rf conftest.dir
   3437     if test -s conftest.tar; then
   3438       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
   3439    ($am__untar <conftest.tar) >&5 2>&5
   3440    ac_status=$?
   3441    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3442    (exit $ac_status); }
   3443       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
   3444    (cat conftest.dir/file) >&5 2>&5
   3445    ac_status=$?
   3446    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3447    (exit $ac_status); }
   3448       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
   3449     fi
   3450   done
   3451   rm -rf conftest.dir
   3452 
   3453   if test ${am_cv_prog_tar_ustar+y}
   3454 then :
   3455   printf %s "(cached) " >&6
   3456 else case e in #(
   3457   e) am_cv_prog_tar_ustar=$_am_tool ;;
   3458 esac
   3459 fi
   3460 
   3461   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
   3462 printf "%s\n" "$am_cv_prog_tar_ustar" >&6; }
   3463 
   3464 
   3465 
   3466 
   3467 
   3468 # Variables for tags utilities; see am/tags.am
   3469 if test -z "$CTAGS"; then
   3470   CTAGS=ctags
   3471 fi
   3472 
   3473 if test -z "$ETAGS"; then
   3474   ETAGS=etags
   3475 fi
   3476 
   3477 if test -z "$CSCOPE"; then
   3478   CSCOPE=cscope
   3479 fi
   3480 
   3481 
   3482 
   3483 
   3484 
   3485 
   3486 
   3487 
   3488 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   3489 
   3490 
   3491 
   3492 
   3493 
   3494 
   3495 
   3496 
   3497 
   3498 
   3499 
   3500 
   3501 
   3502 
   3503 
   3504 
   3505 
   3506 
   3507 
   3508 
   3509 DEPDIR="${am__leading_dot}deps"
   3510 
   3511 ac_config_commands="$ac_config_commands depfiles"
   3512 
   3513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3514 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3515 cat > confinc.mk << 'END'
   3516 am__doit:
   3517 	@echo this is the am__doit target >confinc.out
   3518 .PHONY: am__doit
   3519 END
   3520 am__include="#"
   3521 am__quote=
   3522 # BSD make does it like this.
   3523 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3524 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3525 echo 'include confinc.mk # ignored' > confmf.GNU
   3526 _am_result=no
   3527 for s in GNU BSD; do
   3528   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3529    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3530    ac_status=$?
   3531    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3532    (exit $ac_status); }
   3533   case $?:`cat confinc.out 2>/dev/null` in #(
   3534   '0:this is the am__doit target') :
   3535     case $s in #(
   3536   BSD) :
   3537     am__include='.include' am__quote='"' ;; #(
   3538   *) :
   3539     am__include='include' am__quote='' ;;
   3540 esac ;; #(
   3541   *) :
   3542      ;;
   3543 esac
   3544   if test "$am__include" != "#"; then
   3545     _am_result="yes ($s style)"
   3546     break
   3547   fi
   3548 done
   3549 rm -f confinc.* confmf.*
   3550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3551 printf "%s\n" "${_am_result}" >&6; }
   3552 
   3553 # Check whether --enable-dependency-tracking was given.
   3554 if test ${enable_dependency_tracking+y}
   3555 then :
   3556   enableval=$enable_dependency_tracking;
   3557 fi
   3558 
   3559 if test "x$enable_dependency_tracking" != xno; then
   3560   am_depcomp="$ac_aux_dir/depcomp"
   3561   AMDEPBACKSLASH='\'
   3562   am__nodep='_no'
   3563 fi
   3564  if test "x$enable_dependency_tracking" != xno; then
   3565   AMDEP_TRUE=
   3566   AMDEP_FALSE='#'
   3567 else
   3568   AMDEP_TRUE='#'
   3569   AMDEP_FALSE=
   3570 fi
   3571 
   3572 
   3573 ac_ext=c
   3574 ac_cpp='$CPP $CPPFLAGS'
   3575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3578 if test -n "$ac_tool_prefix"; then
   3579   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3580 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3582 printf %s "checking for $ac_word... " >&6; }
   3583 if test ${ac_cv_prog_CC+y}
   3584 then :
   3585   printf %s "(cached) " >&6
   3586 else case e in #(
   3587   e) if test -n "$CC"; then
   3588   ac_cv_prog_CC="$CC" # Let the user override the test.
   3589 else
   3590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3591 for as_dir in $PATH
   3592 do
   3593   IFS=$as_save_IFS
   3594   case $as_dir in #(((
   3595     '') as_dir=./ ;;
   3596     */) ;;
   3597     *) as_dir=$as_dir/ ;;
   3598   esac
   3599     for ac_exec_ext in '' $ac_executable_extensions; do
   3600   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3601     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3602     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3603     break 2
   3604   fi
   3605 done
   3606   done
   3607 IFS=$as_save_IFS
   3608 
   3609 fi ;;
   3610 esac
   3611 fi
   3612 CC=$ac_cv_prog_CC
   3613 if test -n "$CC"; then
   3614   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3615 printf "%s\n" "$CC" >&6; }
   3616 else
   3617   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3618 printf "%s\n" "no" >&6; }
   3619 fi
   3620 
   3621 
   3622 fi
   3623 if test -z "$ac_cv_prog_CC"; then
   3624   ac_ct_CC=$CC
   3625   # Extract the first word of "gcc", so it can be a program name with args.
   3626 set dummy gcc; ac_word=$2
   3627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3628 printf %s "checking for $ac_word... " >&6; }
   3629 if test ${ac_cv_prog_ac_ct_CC+y}
   3630 then :
   3631   printf %s "(cached) " >&6
   3632 else case e in #(
   3633   e) if test -n "$ac_ct_CC"; then
   3634   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3635 else
   3636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3637 for as_dir in $PATH
   3638 do
   3639   IFS=$as_save_IFS
   3640   case $as_dir in #(((
   3641     '') as_dir=./ ;;
   3642     */) ;;
   3643     *) as_dir=$as_dir/ ;;
   3644   esac
   3645     for ac_exec_ext in '' $ac_executable_extensions; do
   3646   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3647     ac_cv_prog_ac_ct_CC="gcc"
   3648     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3649     break 2
   3650   fi
   3651 done
   3652   done
   3653 IFS=$as_save_IFS
   3654 
   3655 fi ;;
   3656 esac
   3657 fi
   3658 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3659 if test -n "$ac_ct_CC"; then
   3660   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3661 printf "%s\n" "$ac_ct_CC" >&6; }
   3662 else
   3663   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3664 printf "%s\n" "no" >&6; }
   3665 fi
   3666 
   3667   if test "x$ac_ct_CC" = x; then
   3668     CC=""
   3669   else
   3670     case $cross_compiling:$ac_tool_warned in
   3671 yes:)
   3672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3673 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3674 ac_tool_warned=yes ;;
   3675 esac
   3676     CC=$ac_ct_CC
   3677   fi
   3678 else
   3679   CC="$ac_cv_prog_CC"
   3680 fi
   3681 
   3682 if test -z "$CC"; then
   3683           if test -n "$ac_tool_prefix"; then
   3684     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3685 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3687 printf %s "checking for $ac_word... " >&6; }
   3688 if test ${ac_cv_prog_CC+y}
   3689 then :
   3690   printf %s "(cached) " >&6
   3691 else case e in #(
   3692   e) if test -n "$CC"; then
   3693   ac_cv_prog_CC="$CC" # Let the user override the test.
   3694 else
   3695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3696 for as_dir in $PATH
   3697 do
   3698   IFS=$as_save_IFS
   3699   case $as_dir in #(((
   3700     '') as_dir=./ ;;
   3701     */) ;;
   3702     *) as_dir=$as_dir/ ;;
   3703   esac
   3704     for ac_exec_ext in '' $ac_executable_extensions; do
   3705   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3706     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3707     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3708     break 2
   3709   fi
   3710 done
   3711   done
   3712 IFS=$as_save_IFS
   3713 
   3714 fi ;;
   3715 esac
   3716 fi
   3717 CC=$ac_cv_prog_CC
   3718 if test -n "$CC"; then
   3719   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3720 printf "%s\n" "$CC" >&6; }
   3721 else
   3722   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3723 printf "%s\n" "no" >&6; }
   3724 fi
   3725 
   3726 
   3727   fi
   3728 fi
   3729 if test -z "$CC"; then
   3730   # Extract the first word of "cc", so it can be a program name with args.
   3731 set dummy cc; ac_word=$2
   3732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3733 printf %s "checking for $ac_word... " >&6; }
   3734 if test ${ac_cv_prog_CC+y}
   3735 then :
   3736   printf %s "(cached) " >&6
   3737 else case e in #(
   3738   e) if test -n "$CC"; then
   3739   ac_cv_prog_CC="$CC" # Let the user override the test.
   3740 else
   3741   ac_prog_rejected=no
   3742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3743 for as_dir in $PATH
   3744 do
   3745   IFS=$as_save_IFS
   3746   case $as_dir in #(((
   3747     '') as_dir=./ ;;
   3748     */) ;;
   3749     *) as_dir=$as_dir/ ;;
   3750   esac
   3751     for ac_exec_ext in '' $ac_executable_extensions; do
   3752   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3753     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3754        ac_prog_rejected=yes
   3755        continue
   3756      fi
   3757     ac_cv_prog_CC="cc"
   3758     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3759     break 2
   3760   fi
   3761 done
   3762   done
   3763 IFS=$as_save_IFS
   3764 
   3765 if test $ac_prog_rejected = yes; then
   3766   # We found a bogon in the path, so make sure we never use it.
   3767   set dummy $ac_cv_prog_CC
   3768   shift
   3769   if test $# != 0; then
   3770     # We chose a different compiler from the bogus one.
   3771     # However, it has the same basename, so the bogon will be chosen
   3772     # first if we set CC to just the basename; use the full file name.
   3773     shift
   3774     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3775   fi
   3776 fi
   3777 fi ;;
   3778 esac
   3779 fi
   3780 CC=$ac_cv_prog_CC
   3781 if test -n "$CC"; then
   3782   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3783 printf "%s\n" "$CC" >&6; }
   3784 else
   3785   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3786 printf "%s\n" "no" >&6; }
   3787 fi
   3788 
   3789 
   3790 fi
   3791 if test -z "$CC"; then
   3792   if test -n "$ac_tool_prefix"; then
   3793   for ac_prog in cl.exe
   3794   do
   3795     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3796 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3798 printf %s "checking for $ac_word... " >&6; }
   3799 if test ${ac_cv_prog_CC+y}
   3800 then :
   3801   printf %s "(cached) " >&6
   3802 else case e in #(
   3803   e) if test -n "$CC"; then
   3804   ac_cv_prog_CC="$CC" # Let the user override the test.
   3805 else
   3806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3807 for as_dir in $PATH
   3808 do
   3809   IFS=$as_save_IFS
   3810   case $as_dir in #(((
   3811     '') as_dir=./ ;;
   3812     */) ;;
   3813     *) as_dir=$as_dir/ ;;
   3814   esac
   3815     for ac_exec_ext in '' $ac_executable_extensions; do
   3816   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3817     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3818     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3819     break 2
   3820   fi
   3821 done
   3822   done
   3823 IFS=$as_save_IFS
   3824 
   3825 fi ;;
   3826 esac
   3827 fi
   3828 CC=$ac_cv_prog_CC
   3829 if test -n "$CC"; then
   3830   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3831 printf "%s\n" "$CC" >&6; }
   3832 else
   3833   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3834 printf "%s\n" "no" >&6; }
   3835 fi
   3836 
   3837 
   3838     test -n "$CC" && break
   3839   done
   3840 fi
   3841 if test -z "$CC"; then
   3842   ac_ct_CC=$CC
   3843   for ac_prog in cl.exe
   3844 do
   3845   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3846 set dummy $ac_prog; ac_word=$2
   3847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3848 printf %s "checking for $ac_word... " >&6; }
   3849 if test ${ac_cv_prog_ac_ct_CC+y}
   3850 then :
   3851   printf %s "(cached) " >&6
   3852 else case e in #(
   3853   e) if test -n "$ac_ct_CC"; then
   3854   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3855 else
   3856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3857 for as_dir in $PATH
   3858 do
   3859   IFS=$as_save_IFS
   3860   case $as_dir in #(((
   3861     '') as_dir=./ ;;
   3862     */) ;;
   3863     *) as_dir=$as_dir/ ;;
   3864   esac
   3865     for ac_exec_ext in '' $ac_executable_extensions; do
   3866   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3867     ac_cv_prog_ac_ct_CC="$ac_prog"
   3868     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3869     break 2
   3870   fi
   3871 done
   3872   done
   3873 IFS=$as_save_IFS
   3874 
   3875 fi ;;
   3876 esac
   3877 fi
   3878 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3879 if test -n "$ac_ct_CC"; then
   3880   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3881 printf "%s\n" "$ac_ct_CC" >&6; }
   3882 else
   3883   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3884 printf "%s\n" "no" >&6; }
   3885 fi
   3886 
   3887 
   3888   test -n "$ac_ct_CC" && break
   3889 done
   3890 
   3891   if test "x$ac_ct_CC" = x; then
   3892     CC=""
   3893   else
   3894     case $cross_compiling:$ac_tool_warned in
   3895 yes:)
   3896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3897 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3898 ac_tool_warned=yes ;;
   3899 esac
   3900     CC=$ac_ct_CC
   3901   fi
   3902 fi
   3903 
   3904 fi
   3905 if test -z "$CC"; then
   3906   if test -n "$ac_tool_prefix"; then
   3907   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3908 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3910 printf %s "checking for $ac_word... " >&6; }
   3911 if test ${ac_cv_prog_CC+y}
   3912 then :
   3913   printf %s "(cached) " >&6
   3914 else case e in #(
   3915   e) if test -n "$CC"; then
   3916   ac_cv_prog_CC="$CC" # Let the user override the test.
   3917 else
   3918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3919 for as_dir in $PATH
   3920 do
   3921   IFS=$as_save_IFS
   3922   case $as_dir in #(((
   3923     '') as_dir=./ ;;
   3924     */) ;;
   3925     *) as_dir=$as_dir/ ;;
   3926   esac
   3927     for ac_exec_ext in '' $ac_executable_extensions; do
   3928   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3929     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3930     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3931     break 2
   3932   fi
   3933 done
   3934   done
   3935 IFS=$as_save_IFS
   3936 
   3937 fi ;;
   3938 esac
   3939 fi
   3940 CC=$ac_cv_prog_CC
   3941 if test -n "$CC"; then
   3942   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3943 printf "%s\n" "$CC" >&6; }
   3944 else
   3945   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3946 printf "%s\n" "no" >&6; }
   3947 fi
   3948 
   3949 
   3950 fi
   3951 if test -z "$ac_cv_prog_CC"; then
   3952   ac_ct_CC=$CC
   3953   # Extract the first word of "clang", so it can be a program name with args.
   3954 set dummy clang; ac_word=$2
   3955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3956 printf %s "checking for $ac_word... " >&6; }
   3957 if test ${ac_cv_prog_ac_ct_CC+y}
   3958 then :
   3959   printf %s "(cached) " >&6
   3960 else case e in #(
   3961   e) if test -n "$ac_ct_CC"; then
   3962   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3963 else
   3964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3965 for as_dir in $PATH
   3966 do
   3967   IFS=$as_save_IFS
   3968   case $as_dir in #(((
   3969     '') as_dir=./ ;;
   3970     */) ;;
   3971     *) as_dir=$as_dir/ ;;
   3972   esac
   3973     for ac_exec_ext in '' $ac_executable_extensions; do
   3974   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3975     ac_cv_prog_ac_ct_CC="clang"
   3976     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3977     break 2
   3978   fi
   3979 done
   3980   done
   3981 IFS=$as_save_IFS
   3982 
   3983 fi ;;
   3984 esac
   3985 fi
   3986 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3987 if test -n "$ac_ct_CC"; then
   3988   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3989 printf "%s\n" "$ac_ct_CC" >&6; }
   3990 else
   3991   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3992 printf "%s\n" "no" >&6; }
   3993 fi
   3994 
   3995   if test "x$ac_ct_CC" = x; then
   3996     CC=""
   3997   else
   3998     case $cross_compiling:$ac_tool_warned in
   3999 yes:)
   4000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4001 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4002 ac_tool_warned=yes ;;
   4003 esac
   4004     CC=$ac_ct_CC
   4005   fi
   4006 else
   4007   CC="$ac_cv_prog_CC"
   4008 fi
   4009 
   4010 fi
   4011 
   4012 
   4013 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4014 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4015 as_fn_error $? "no acceptable C compiler found in \$PATH
   4016 See 'config.log' for more details" "$LINENO" 5; }
   4017 
   4018 # Provide some information about the compiler.
   4019 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4020 set X $ac_compile
   4021 ac_compiler=$2
   4022 for ac_option in --version -v -V -qversion -version; do
   4023   { { ac_try="$ac_compiler $ac_option >&5"
   4024 case "(($ac_try" in
   4025   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4026   *) ac_try_echo=$ac_try;;
   4027 esac
   4028 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4029 printf "%s\n" "$ac_try_echo"; } >&5
   4030   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4031   ac_status=$?
   4032   if test -s conftest.err; then
   4033     sed '10a\
   4034 ... rest of stderr output deleted ...
   4035          10q' conftest.err >conftest.er1
   4036     cat conftest.er1 >&5
   4037   fi
   4038   rm -f conftest.er1 conftest.err
   4039   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4040   test $ac_status = 0; }
   4041 done
   4042 
   4043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4044 /* end confdefs.h.  */
   4045 
   4046 int
   4047 main (void)
   4048 {
   4049 
   4050   ;
   4051   return 0;
   4052 }
   4053 _ACEOF
   4054 ac_clean_files_save=$ac_clean_files
   4055 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4056 # Try to create an executable without -o first, disregard a.out.
   4057 # It will help us diagnose broken compilers, and finding out an intuition
   4058 # of exeext.
   4059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4060 printf %s "checking whether the C compiler works... " >&6; }
   4061 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4062 
   4063 # The possible output files:
   4064 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4065 
   4066 ac_rmfiles=
   4067 for ac_file in $ac_files
   4068 do
   4069   case $ac_file in
   4070     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4071     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4072   esac
   4073 done
   4074 rm -f $ac_rmfiles
   4075 
   4076 if { { ac_try="$ac_link_default"
   4077 case "(($ac_try" in
   4078   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4079   *) ac_try_echo=$ac_try;;
   4080 esac
   4081 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4082 printf "%s\n" "$ac_try_echo"; } >&5
   4083   (eval "$ac_link_default") 2>&5
   4084   ac_status=$?
   4085   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4086   test $ac_status = 0; }
   4087 then :
   4088   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   4089 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   4090 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4091 # so that the user can short-circuit this test for compilers unknown to
   4092 # Autoconf.
   4093 for ac_file in $ac_files ''
   4094 do
   4095   test -f "$ac_file" || continue
   4096   case $ac_file in
   4097     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4098 	;;
   4099     [ab].out )
   4100 	# We found the default executable, but exeext='' is most
   4101 	# certainly right.
   4102 	break;;
   4103     *.* )
   4104 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4105 	then :; else
   4106 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4107 	fi
   4108 	# We set ac_cv_exeext here because the later test for it is not
   4109 	# safe: cross compilers may not add the suffix if given an '-o'
   4110 	# argument, so we may need to know it at that point already.
   4111 	# Even if this section looks crufty: it has the advantage of
   4112 	# actually working.
   4113 	break;;
   4114     * )
   4115 	break;;
   4116   esac
   4117 done
   4118 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4119 
   4120 else case e in #(
   4121   e) ac_file='' ;;
   4122 esac
   4123 fi
   4124 if test -z "$ac_file"
   4125 then :
   4126   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4127 printf "%s\n" "no" >&6; }
   4128 printf "%s\n" "$as_me: failed program was:" >&5
   4129 sed 's/^/| /' conftest.$ac_ext >&5
   4130 
   4131 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4132 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4133 as_fn_error 77 "C compiler cannot create executables
   4134 See 'config.log' for more details" "$LINENO" 5; }
   4135 else case e in #(
   4136   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4137 printf "%s\n" "yes" >&6; } ;;
   4138 esac
   4139 fi
   4140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4141 printf %s "checking for C compiler default output file name... " >&6; }
   4142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4143 printf "%s\n" "$ac_file" >&6; }
   4144 ac_exeext=$ac_cv_exeext
   4145 
   4146 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4147 ac_clean_files=$ac_clean_files_save
   4148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4149 printf %s "checking for suffix of executables... " >&6; }
   4150 if { { ac_try="$ac_link"
   4151 case "(($ac_try" in
   4152   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4153   *) ac_try_echo=$ac_try;;
   4154 esac
   4155 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4156 printf "%s\n" "$ac_try_echo"; } >&5
   4157   (eval "$ac_link") 2>&5
   4158   ac_status=$?
   4159   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4160   test $ac_status = 0; }
   4161 then :
   4162   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   4163 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   4164 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   4165 # 'rm'.
   4166 for ac_file in conftest.exe conftest conftest.*; do
   4167   test -f "$ac_file" || continue
   4168   case $ac_file in
   4169     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4170     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4171 	  break;;
   4172     * ) break;;
   4173   esac
   4174 done
   4175 else case e in #(
   4176   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4177 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4178 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4179 See 'config.log' for more details" "$LINENO" 5; } ;;
   4180 esac
   4181 fi
   4182 rm -f conftest conftest$ac_cv_exeext
   4183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4184 printf "%s\n" "$ac_cv_exeext" >&6; }
   4185 
   4186 rm -f conftest.$ac_ext
   4187 EXEEXT=$ac_cv_exeext
   4188 ac_exeext=$EXEEXT
   4189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4190 /* end confdefs.h.  */
   4191 #include <stdio.h>
   4192 int
   4193 main (void)
   4194 {
   4195 FILE *f = fopen ("conftest.out", "w");
   4196  if (!f)
   4197   return 1;
   4198  return ferror (f) || fclose (f) != 0;
   4199 
   4200   ;
   4201   return 0;
   4202 }
   4203 _ACEOF
   4204 ac_clean_files="$ac_clean_files conftest.out"
   4205 # Check that the compiler produces executables we can run.  If not, either
   4206 # the compiler is broken, or we cross compile.
   4207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4208 printf %s "checking whether we are cross compiling... " >&6; }
   4209 if test "$cross_compiling" != yes; then
   4210   { { ac_try="$ac_link"
   4211 case "(($ac_try" in
   4212   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4213   *) ac_try_echo=$ac_try;;
   4214 esac
   4215 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4216 printf "%s\n" "$ac_try_echo"; } >&5
   4217   (eval "$ac_link") 2>&5
   4218   ac_status=$?
   4219   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4220   test $ac_status = 0; }
   4221   if { ac_try='./conftest$ac_cv_exeext'
   4222   { { case "(($ac_try" in
   4223   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4224   *) ac_try_echo=$ac_try;;
   4225 esac
   4226 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4227 printf "%s\n" "$ac_try_echo"; } >&5
   4228   (eval "$ac_try") 2>&5
   4229   ac_status=$?
   4230   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4231   test $ac_status = 0; }; }; then
   4232     cross_compiling=no
   4233   else
   4234     if test "$cross_compiling" = maybe; then
   4235 	cross_compiling=yes
   4236     else
   4237 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4238 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4239 as_fn_error 77 "cannot run C compiled programs.
   4240 If you meant to cross compile, use '--host'.
   4241 See 'config.log' for more details" "$LINENO" 5; }
   4242     fi
   4243   fi
   4244 fi
   4245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4246 printf "%s\n" "$cross_compiling" >&6; }
   4247 
   4248 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   4249   conftest.o conftest.obj conftest.out
   4250 ac_clean_files=$ac_clean_files_save
   4251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4252 printf %s "checking for suffix of object files... " >&6; }
   4253 if test ${ac_cv_objext+y}
   4254 then :
   4255   printf %s "(cached) " >&6
   4256 else case e in #(
   4257   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4258 /* end confdefs.h.  */
   4259 
   4260 int
   4261 main (void)
   4262 {
   4263 
   4264   ;
   4265   return 0;
   4266 }
   4267 _ACEOF
   4268 rm -f conftest.o conftest.obj
   4269 if { { ac_try="$ac_compile"
   4270 case "(($ac_try" in
   4271   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4272   *) ac_try_echo=$ac_try;;
   4273 esac
   4274 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4275 printf "%s\n" "$ac_try_echo"; } >&5
   4276   (eval "$ac_compile") 2>&5
   4277   ac_status=$?
   4278   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4279   test $ac_status = 0; }
   4280 then :
   4281   for ac_file in conftest.o conftest.obj conftest.*; do
   4282   test -f "$ac_file" || continue;
   4283   case $ac_file in
   4284     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4285     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4286        break;;
   4287   esac
   4288 done
   4289 else case e in #(
   4290   e) printf "%s\n" "$as_me: failed program was:" >&5
   4291 sed 's/^/| /' conftest.$ac_ext >&5
   4292 
   4293 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4294 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4295 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4296 See 'config.log' for more details" "$LINENO" 5; } ;;
   4297 esac
   4298 fi
   4299 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   4300 esac
   4301 fi
   4302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4303 printf "%s\n" "$ac_cv_objext" >&6; }
   4304 OBJEXT=$ac_cv_objext
   4305 ac_objext=$OBJEXT
   4306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4307 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4308 if test ${ac_cv_c_compiler_gnu+y}
   4309 then :
   4310   printf %s "(cached) " >&6
   4311 else case e in #(
   4312   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4313 /* end confdefs.h.  */
   4314 
   4315 int
   4316 main (void)
   4317 {
   4318 #ifndef __GNUC__
   4319        choke me
   4320 #endif
   4321 
   4322   ;
   4323   return 0;
   4324 }
   4325 _ACEOF
   4326 if ac_fn_c_try_compile "$LINENO"
   4327 then :
   4328   ac_compiler_gnu=yes
   4329 else case e in #(
   4330   e) ac_compiler_gnu=no ;;
   4331 esac
   4332 fi
   4333 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4334 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4335  ;;
   4336 esac
   4337 fi
   4338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4339 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4341 
   4342 if test $ac_compiler_gnu = yes; then
   4343   GCC=yes
   4344 else
   4345   GCC=
   4346 fi
   4347 ac_test_CFLAGS=${CFLAGS+y}
   4348 ac_save_CFLAGS=$CFLAGS
   4349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4350 printf %s "checking whether $CC accepts -g... " >&6; }
   4351 if test ${ac_cv_prog_cc_g+y}
   4352 then :
   4353   printf %s "(cached) " >&6
   4354 else case e in #(
   4355   e) ac_save_c_werror_flag=$ac_c_werror_flag
   4356    ac_c_werror_flag=yes
   4357    ac_cv_prog_cc_g=no
   4358    CFLAGS="-g"
   4359    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4360 /* end confdefs.h.  */
   4361 
   4362 int
   4363 main (void)
   4364 {
   4365 
   4366   ;
   4367   return 0;
   4368 }
   4369 _ACEOF
   4370 if ac_fn_c_try_compile "$LINENO"
   4371 then :
   4372   ac_cv_prog_cc_g=yes
   4373 else case e in #(
   4374   e) CFLAGS=""
   4375       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4376 /* end confdefs.h.  */
   4377 
   4378 int
   4379 main (void)
   4380 {
   4381 
   4382   ;
   4383   return 0;
   4384 }
   4385 _ACEOF
   4386 if ac_fn_c_try_compile "$LINENO"
   4387 then :
   4388 
   4389 else case e in #(
   4390   e) ac_c_werror_flag=$ac_save_c_werror_flag
   4391 	 CFLAGS="-g"
   4392 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4393 /* end confdefs.h.  */
   4394 
   4395 int
   4396 main (void)
   4397 {
   4398 
   4399   ;
   4400   return 0;
   4401 }
   4402 _ACEOF
   4403 if ac_fn_c_try_compile "$LINENO"
   4404 then :
   4405   ac_cv_prog_cc_g=yes
   4406 fi
   4407 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4408 esac
   4409 fi
   4410 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4411 esac
   4412 fi
   4413 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4414    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   4415 esac
   4416 fi
   4417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4418 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4419 if test $ac_test_CFLAGS; then
   4420   CFLAGS=$ac_save_CFLAGS
   4421 elif test $ac_cv_prog_cc_g = yes; then
   4422   if test "$GCC" = yes; then
   4423     CFLAGS="-g -O2"
   4424   else
   4425     CFLAGS="-g"
   4426   fi
   4427 else
   4428   if test "$GCC" = yes; then
   4429     CFLAGS="-O2"
   4430   else
   4431     CFLAGS=
   4432   fi
   4433 fi
   4434 ac_prog_cc_stdc=no
   4435 if test x$ac_prog_cc_stdc = xno
   4436 then :
   4437   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4438 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4439 if test ${ac_cv_prog_cc_c11+y}
   4440 then :
   4441   printf %s "(cached) " >&6
   4442 else case e in #(
   4443   e) ac_cv_prog_cc_c11=no
   4444 ac_save_CC=$CC
   4445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4446 /* end confdefs.h.  */
   4447 $ac_c_conftest_c11_program
   4448 _ACEOF
   4449 for ac_arg in '' -std=gnu11
   4450 do
   4451   CC="$ac_save_CC $ac_arg"
   4452   if ac_fn_c_try_compile "$LINENO"
   4453 then :
   4454   ac_cv_prog_cc_c11=$ac_arg
   4455 fi
   4456 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4457   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4458 done
   4459 rm -f conftest.$ac_ext
   4460 CC=$ac_save_CC ;;
   4461 esac
   4462 fi
   4463 
   4464 if test "x$ac_cv_prog_cc_c11" = xno
   4465 then :
   4466   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4467 printf "%s\n" "unsupported" >&6; }
   4468 else case e in #(
   4469   e) if test "x$ac_cv_prog_cc_c11" = x
   4470 then :
   4471   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4472 printf "%s\n" "none needed" >&6; }
   4473 else case e in #(
   4474   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4475 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4476      CC="$CC $ac_cv_prog_cc_c11" ;;
   4477 esac
   4478 fi
   4479   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4480   ac_prog_cc_stdc=c11 ;;
   4481 esac
   4482 fi
   4483 fi
   4484 if test x$ac_prog_cc_stdc = xno
   4485 then :
   4486   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4487 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4488 if test ${ac_cv_prog_cc_c99+y}
   4489 then :
   4490   printf %s "(cached) " >&6
   4491 else case e in #(
   4492   e) ac_cv_prog_cc_c99=no
   4493 ac_save_CC=$CC
   4494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4495 /* end confdefs.h.  */
   4496 $ac_c_conftest_c99_program
   4497 _ACEOF
   4498 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4499 do
   4500   CC="$ac_save_CC $ac_arg"
   4501   if ac_fn_c_try_compile "$LINENO"
   4502 then :
   4503   ac_cv_prog_cc_c99=$ac_arg
   4504 fi
   4505 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4506   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4507 done
   4508 rm -f conftest.$ac_ext
   4509 CC=$ac_save_CC ;;
   4510 esac
   4511 fi
   4512 
   4513 if test "x$ac_cv_prog_cc_c99" = xno
   4514 then :
   4515   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4516 printf "%s\n" "unsupported" >&6; }
   4517 else case e in #(
   4518   e) if test "x$ac_cv_prog_cc_c99" = x
   4519 then :
   4520   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4521 printf "%s\n" "none needed" >&6; }
   4522 else case e in #(
   4523   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4524 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4525      CC="$CC $ac_cv_prog_cc_c99" ;;
   4526 esac
   4527 fi
   4528   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4529   ac_prog_cc_stdc=c99 ;;
   4530 esac
   4531 fi
   4532 fi
   4533 if test x$ac_prog_cc_stdc = xno
   4534 then :
   4535   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4536 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4537 if test ${ac_cv_prog_cc_c89+y}
   4538 then :
   4539   printf %s "(cached) " >&6
   4540 else case e in #(
   4541   e) ac_cv_prog_cc_c89=no
   4542 ac_save_CC=$CC
   4543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4544 /* end confdefs.h.  */
   4545 $ac_c_conftest_c89_program
   4546 _ACEOF
   4547 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4548 do
   4549   CC="$ac_save_CC $ac_arg"
   4550   if ac_fn_c_try_compile "$LINENO"
   4551 then :
   4552   ac_cv_prog_cc_c89=$ac_arg
   4553 fi
   4554 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4555   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4556 done
   4557 rm -f conftest.$ac_ext
   4558 CC=$ac_save_CC ;;
   4559 esac
   4560 fi
   4561 
   4562 if test "x$ac_cv_prog_cc_c89" = xno
   4563 then :
   4564   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4565 printf "%s\n" "unsupported" >&6; }
   4566 else case e in #(
   4567   e) if test "x$ac_cv_prog_cc_c89" = x
   4568 then :
   4569   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4570 printf "%s\n" "none needed" >&6; }
   4571 else case e in #(
   4572   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4573 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4574      CC="$CC $ac_cv_prog_cc_c89" ;;
   4575 esac
   4576 fi
   4577   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4578   ac_prog_cc_stdc=c89 ;;
   4579 esac
   4580 fi
   4581 fi
   4582 
   4583 ac_ext=c
   4584 ac_cpp='$CPP $CPPFLAGS'
   4585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4588 
   4589 
   4590   ac_ext=c
   4591 ac_cpp='$CPP $CPPFLAGS'
   4592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4596 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4597 if test ${am_cv_prog_cc_c_o+y}
   4598 then :
   4599   printf %s "(cached) " >&6
   4600 else case e in #(
   4601   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4602 /* end confdefs.h.  */
   4603 
   4604 int
   4605 main (void)
   4606 {
   4607 
   4608   ;
   4609   return 0;
   4610 }
   4611 _ACEOF
   4612   # Make sure it works both with $CC and with simple cc.
   4613   # Following AC_PROG_CC_C_O, we do the test twice because some
   4614   # compilers refuse to overwrite an existing .o file with -o,
   4615   # though they will create one.
   4616   am_cv_prog_cc_c_o=yes
   4617   for am_i in 1 2; do
   4618     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4619    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4620    ac_status=$?
   4621    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4622    (exit $ac_status); } \
   4623          && test -f conftest2.$ac_objext; then
   4624       : OK
   4625     else
   4626       am_cv_prog_cc_c_o=no
   4627       break
   4628     fi
   4629   done
   4630   # aligned with autoconf, so not including core; see bug#72225.
   4631   rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
   4632     conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
   4633     conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
   4634   unset am_i ;;
   4635 esac
   4636 fi
   4637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4638 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4639 if test "$am_cv_prog_cc_c_o" != yes; then
   4640    # Losing compiler, so override with the script.
   4641    # FIXME: It is wrong to rewrite CC.
   4642    # But if we don't then we get into trouble of one sort or another.
   4643    # A longer-term fix would be to have automake use am__CC in this case,
   4644    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4645    CC="$am_aux_dir/compile $CC"
   4646 fi
   4647 ac_ext=c
   4648 ac_cpp='$CPP $CPPFLAGS'
   4649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4652 
   4653 
   4654 depcc="$CC"   am_compiler_list=
   4655 
   4656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4657 printf %s "checking dependency style of $depcc... " >&6; }
   4658 if test ${am_cv_CC_dependencies_compiler_type+y}
   4659 then :
   4660   printf %s "(cached) " >&6
   4661 else case e in #(
   4662   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4663   # We make a subdir and do the tests there.  Otherwise we can end up
   4664   # making bogus files that we don't know about and never remove.  For
   4665   # instance it was reported that on HP-UX the gcc test will end up
   4666   # making a dummy file named 'D' -- because '-MD' means "put the output
   4667   # in D".
   4668   rm -rf conftest.dir
   4669   mkdir conftest.dir
   4670   # Copy depcomp to subdir because otherwise we won't find it if we're
   4671   # using a relative directory.
   4672   cp "$am_depcomp" conftest.dir
   4673   cd conftest.dir
   4674   # We will build objects and dependencies in a subdirectory because
   4675   # it helps to detect inapplicable dependency modes.  For instance
   4676   # both Tru64's cc and ICC support -MD to output dependencies as a
   4677   # side effect of compilation, but ICC will put the dependencies in
   4678   # the current directory while Tru64 will put them in the object
   4679   # directory.
   4680   mkdir sub
   4681 
   4682   am_cv_CC_dependencies_compiler_type=none
   4683   if test "$am_compiler_list" = ""; then
   4684      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4685   fi
   4686   am__universal=false
   4687   case " $depcc " in #(
   4688      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4689      esac
   4690 
   4691   for depmode in $am_compiler_list; do
   4692     # Setup a source with many dependencies, because some compilers
   4693     # like to wrap large dependency lists on column 80 (with \), and
   4694     # we should not choose a depcomp mode which is confused by this.
   4695     #
   4696     # We need to recreate these files for each test, as the compiler may
   4697     # overwrite some of them when testing with obscure command lines.
   4698     # This happens at least with the AIX C compiler.
   4699     : > sub/conftest.c
   4700     for i in 1 2 3 4 5 6; do
   4701       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4702       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4703       # Solaris 10 /bin/sh.
   4704       echo '/* dummy */' > sub/conftst$i.h
   4705     done
   4706     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4707 
   4708     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4709     # mode.  It turns out that the SunPro C++ compiler does not properly
   4710     # handle '-M -o', and we need to detect this.  Also, some Intel
   4711     # versions had trouble with output in subdirs.
   4712     am__obj=sub/conftest.${OBJEXT-o}
   4713     am__minus_obj="-o $am__obj"
   4714     case $depmode in
   4715     gcc)
   4716       # This depmode causes a compiler race in universal mode.
   4717       test "$am__universal" = false || continue
   4718       ;;
   4719     nosideeffect)
   4720       # After this tag, mechanisms are not by side-effect, so they'll
   4721       # only be used when explicitly requested.
   4722       if test "x$enable_dependency_tracking" = xyes; then
   4723 	continue
   4724       else
   4725 	break
   4726       fi
   4727       ;;
   4728     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4729       # This compiler won't grok '-c -o', but also, the minuso test has
   4730       # not run yet.  These depmodes are late enough in the game, and
   4731       # so weak that their functioning should not be impacted.
   4732       am__obj=conftest.${OBJEXT-o}
   4733       am__minus_obj=
   4734       ;;
   4735     none) break ;;
   4736     esac
   4737     if depmode=$depmode \
   4738        source=sub/conftest.c object=$am__obj \
   4739        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4740        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4741          >/dev/null 2>conftest.err &&
   4742        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4743        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4744        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4745        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4746       # icc doesn't choke on unknown options, it will just issue warnings
   4747       # or remarks (even with -Werror).  So we grep stderr for any message
   4748       # that says an option was ignored or not supported.
   4749       # When given -MP, icc 7.0 and 7.1 complain thus:
   4750       #   icc: Command line warning: ignoring option '-M'; no argument required
   4751       # The diagnosis changed in icc 8.0:
   4752       #   icc: Command line remark: option '-MP' not supported
   4753       if (grep 'ignoring option' conftest.err ||
   4754           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4755         am_cv_CC_dependencies_compiler_type=$depmode
   4756         break
   4757       fi
   4758     fi
   4759   done
   4760 
   4761   cd ..
   4762   rm -rf conftest.dir
   4763 else
   4764   am_cv_CC_dependencies_compiler_type=none
   4765 fi
   4766  ;;
   4767 esac
   4768 fi
   4769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4770 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4771 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4772 
   4773  if
   4774   test "x$enable_dependency_tracking" != xno \
   4775   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4776   am__fastdepCC_TRUE=
   4777   am__fastdepCC_FALSE='#'
   4778 else
   4779   am__fastdepCC_TRUE='#'
   4780   am__fastdepCC_FALSE=
   4781 fi
   4782 
   4783 
   4784 
   4785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4786 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4787 if test ${ac_cv_c_undeclared_builtin_options+y}
   4788 then :
   4789   printf %s "(cached) " >&6
   4790 else case e in #(
   4791   e) ac_save_CFLAGS=$CFLAGS
   4792    ac_cv_c_undeclared_builtin_options='cannot detect'
   4793    for ac_arg in '' -fno-builtin; do
   4794      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4795      # This test program should *not* compile successfully.
   4796      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4797 /* end confdefs.h.  */
   4798 
   4799 int
   4800 main (void)
   4801 {
   4802 (void) strchr;
   4803   ;
   4804   return 0;
   4805 }
   4806 _ACEOF
   4807 if ac_fn_c_try_compile "$LINENO"
   4808 then :
   4809 
   4810 else case e in #(
   4811   e) # This test program should compile successfully.
   4812         # No library function is consistently available on
   4813         # freestanding implementations, so test against a dummy
   4814         # declaration.  Include always-available headers on the
   4815         # off chance that they somehow elicit warnings.
   4816         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4817 /* end confdefs.h.  */
   4818 #include <float.h>
   4819 #include <limits.h>
   4820 #include <stdarg.h>
   4821 #include <stddef.h>
   4822 extern void ac_decl (int, char *);
   4823 
   4824 int
   4825 main (void)
   4826 {
   4827 (void) ac_decl (0, (char *) 0);
   4828   (void) ac_decl;
   4829 
   4830   ;
   4831   return 0;
   4832 }
   4833 _ACEOF
   4834 if ac_fn_c_try_compile "$LINENO"
   4835 then :
   4836   if test x"$ac_arg" = x
   4837 then :
   4838   ac_cv_c_undeclared_builtin_options='none needed'
   4839 else case e in #(
   4840   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   4841 esac
   4842 fi
   4843           break
   4844 fi
   4845 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4846 esac
   4847 fi
   4848 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4849     done
   4850     CFLAGS=$ac_save_CFLAGS
   4851    ;;
   4852 esac
   4853 fi
   4854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4855 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4856   case $ac_cv_c_undeclared_builtin_options in #(
   4857   'cannot detect') :
   4858     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4859 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4860 as_fn_error $? "cannot make $CC report undeclared builtins
   4861 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   4862   'none needed') :
   4863     ac_c_undeclared_builtin_options='' ;; #(
   4864   *) :
   4865     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4866 esac
   4867 
   4868 ac_header= ac_cache=
   4869 for ac_item in $ac_header_c_list
   4870 do
   4871   if test $ac_cache; then
   4872     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4873     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4874       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4875     fi
   4876     ac_header= ac_cache=
   4877   elif test $ac_header; then
   4878     ac_cache=$ac_item
   4879   else
   4880     ac_header=$ac_item
   4881   fi
   4882 done
   4883 
   4884 
   4885 
   4886 
   4887 
   4888 
   4889 
   4890 
   4891 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4892 then :
   4893 
   4894 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4895 
   4896 fi
   4897 
   4898 
   4899 
   4900 
   4901 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4902 if test "x$ac_cv_have_decl___clang__" = xyes
   4903 then :
   4904   CLANGCC="yes"
   4905 else case e in #(
   4906   e) CLANGCC="no" ;;
   4907 esac
   4908 fi
   4909 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4910 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4911 then :
   4912   INTELCC="yes"
   4913 else case e in #(
   4914   e) INTELCC="no" ;;
   4915 esac
   4916 fi
   4917 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4918 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4919 then :
   4920   SUNCC="yes"
   4921 else case e in #(
   4922   e) SUNCC="no" ;;
   4923 esac
   4924 fi
   4925 
   4926 
   4927 
   4928 
   4929 
   4930 
   4931 
   4932 
   4933 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4934 	if test -n "$ac_tool_prefix"; then
   4935   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4936 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4938 printf %s "checking for $ac_word... " >&6; }
   4939 if test ${ac_cv_path_PKG_CONFIG+y}
   4940 then :
   4941   printf %s "(cached) " >&6
   4942 else case e in #(
   4943   e) case $PKG_CONFIG in
   4944   [\\/]* | ?:[\\/]*)
   4945   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4946   ;;
   4947   *)
   4948   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4949 for as_dir in $PATH
   4950 do
   4951   IFS=$as_save_IFS
   4952   case $as_dir in #(((
   4953     '') as_dir=./ ;;
   4954     */) ;;
   4955     *) as_dir=$as_dir/ ;;
   4956   esac
   4957     for ac_exec_ext in '' $ac_executable_extensions; do
   4958   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4959     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4960     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4961     break 2
   4962   fi
   4963 done
   4964   done
   4965 IFS=$as_save_IFS
   4966 
   4967   ;;
   4968 esac ;;
   4969 esac
   4970 fi
   4971 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4972 if test -n "$PKG_CONFIG"; then
   4973   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4974 printf "%s\n" "$PKG_CONFIG" >&6; }
   4975 else
   4976   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4977 printf "%s\n" "no" >&6; }
   4978 fi
   4979 
   4980 
   4981 fi
   4982 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4983   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4984   # Extract the first word of "pkg-config", so it can be a program name with args.
   4985 set dummy pkg-config; ac_word=$2
   4986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4987 printf %s "checking for $ac_word... " >&6; }
   4988 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4989 then :
   4990   printf %s "(cached) " >&6
   4991 else case e in #(
   4992   e) case $ac_pt_PKG_CONFIG in
   4993   [\\/]* | ?:[\\/]*)
   4994   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4995   ;;
   4996   *)
   4997   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4998 for as_dir in $PATH
   4999 do
   5000   IFS=$as_save_IFS
   5001   case $as_dir in #(((
   5002     '') as_dir=./ ;;
   5003     */) ;;
   5004     *) as_dir=$as_dir/ ;;
   5005   esac
   5006     for ac_exec_ext in '' $ac_executable_extensions; do
   5007   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5008     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   5009     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5010     break 2
   5011   fi
   5012 done
   5013   done
   5014 IFS=$as_save_IFS
   5015 
   5016   ;;
   5017 esac ;;
   5018 esac
   5019 fi
   5020 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   5021 if test -n "$ac_pt_PKG_CONFIG"; then
   5022   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   5023 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   5024 else
   5025   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5026 printf "%s\n" "no" >&6; }
   5027 fi
   5028 
   5029   if test "x$ac_pt_PKG_CONFIG" = x; then
   5030     PKG_CONFIG=""
   5031   else
   5032     case $cross_compiling:$ac_tool_warned in
   5033 yes:)
   5034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5035 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5036 ac_tool_warned=yes ;;
   5037 esac
   5038     PKG_CONFIG=$ac_pt_PKG_CONFIG
   5039   fi
   5040 else
   5041   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   5042 fi
   5043 
   5044 fi
   5045 if test -n "$PKG_CONFIG"; then
   5046 	_pkg_min_version=0.9.0
   5047 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   5048 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   5049 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   5050 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5051 printf "%s\n" "yes" >&6; }
   5052 	else
   5053 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5054 printf "%s\n" "no" >&6; }
   5055 		PKG_CONFIG=""
   5056 	fi
   5057 fi
   5058 
   5059 
   5060   # Make sure we can run config.sub.
   5061 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   5062   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   5063 
   5064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   5065 printf %s "checking build system type... " >&6; }
   5066 if test ${ac_cv_build+y}
   5067 then :
   5068   printf %s "(cached) " >&6
   5069 else case e in #(
   5070   e) ac_build_alias=$build_alias
   5071 test "x$ac_build_alias" = x &&
   5072   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   5073 test "x$ac_build_alias" = x &&
   5074   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   5075 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   5076   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   5077  ;;
   5078 esac
   5079 fi
   5080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   5081 printf "%s\n" "$ac_cv_build" >&6; }
   5082 case $ac_cv_build in
   5083 *-*-*) ;;
   5084 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   5085 esac
   5086 build=$ac_cv_build
   5087 ac_save_IFS=$IFS; IFS='-'
   5088 set x $ac_cv_build
   5089 shift
   5090 build_cpu=$1
   5091 build_vendor=$2
   5092 shift; shift
   5093 # Remember, the first character of IFS is used to create $*,
   5094 # except with old shells:
   5095 build_os=$*
   5096 IFS=$ac_save_IFS
   5097 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   5098 
   5099 
   5100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   5101 printf %s "checking host system type... " >&6; }
   5102 if test ${ac_cv_host+y}
   5103 then :
   5104   printf %s "(cached) " >&6
   5105 else case e in #(
   5106   e) if test "x$host_alias" = x; then
   5107   ac_cv_host=$ac_cv_build
   5108 else
   5109   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   5110     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   5111 fi
   5112  ;;
   5113 esac
   5114 fi
   5115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   5116 printf "%s\n" "$ac_cv_host" >&6; }
   5117 case $ac_cv_host in
   5118 *-*-*) ;;
   5119 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   5120 esac
   5121 host=$ac_cv_host
   5122 ac_save_IFS=$IFS; IFS='-'
   5123 set x $ac_cv_host
   5124 shift
   5125 host_cpu=$1
   5126 host_vendor=$2
   5127 shift; shift
   5128 # Remember, the first character of IFS is used to create $*,
   5129 # except with old shells:
   5130 host_os=$*
   5131 IFS=$ac_save_IFS
   5132 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   5133 
   5134 
   5135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5136 printf %s "checking for a sed that does not truncate output... " >&6; }
   5137 if test ${ac_cv_path_SED+y}
   5138 then :
   5139   printf %s "(cached) " >&6
   5140 else case e in #(
   5141   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5142      for ac_i in 1 2 3 4 5 6 7; do
   5143        ac_script="$ac_script$as_nl$ac_script"
   5144      done
   5145      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5146      { ac_script=; unset ac_script;}
   5147      if test -z "$SED"; then
   5148   ac_path_SED_found=false
   5149   # Loop through the user's path and test for each of PROGNAME-LIST
   5150   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5151 for as_dir in $PATH
   5152 do
   5153   IFS=$as_save_IFS
   5154   case $as_dir in #(((
   5155     '') as_dir=./ ;;
   5156     */) ;;
   5157     *) as_dir=$as_dir/ ;;
   5158   esac
   5159     for ac_prog in sed gsed
   5160    do
   5161     for ac_exec_ext in '' $ac_executable_extensions; do
   5162       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5163       as_fn_executable_p "$ac_path_SED" || continue
   5164 # Check for GNU ac_path_SED and select it if it is found.
   5165   # Check for GNU $ac_path_SED
   5166 case `"$ac_path_SED" --version 2>&1` in #(
   5167 *GNU*)
   5168   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5169 #(
   5170 *)
   5171   ac_count=0
   5172   printf %s 0123456789 >"conftest.in"
   5173   while :
   5174   do
   5175     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5176     mv "conftest.tmp" "conftest.in"
   5177     cp "conftest.in" "conftest.nl"
   5178     printf "%s\n" '' >> "conftest.nl"
   5179     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5180     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5181     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5182     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5183       # Best one so far, save it but keep looking for a better one
   5184       ac_cv_path_SED="$ac_path_SED"
   5185       ac_path_SED_max=$ac_count
   5186     fi
   5187     # 10*(2^10) chars as input seems more than enough
   5188     test $ac_count -gt 10 && break
   5189   done
   5190   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5191 esac
   5192 
   5193       $ac_path_SED_found && break 3
   5194     done
   5195   done
   5196   done
   5197 IFS=$as_save_IFS
   5198   if test -z "$ac_cv_path_SED"; then
   5199     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5200   fi
   5201 else
   5202   ac_cv_path_SED=$SED
   5203 fi
   5204  ;;
   5205 esac
   5206 fi
   5207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5208 printf "%s\n" "$ac_cv_path_SED" >&6; }
   5209  SED="$ac_cv_path_SED"
   5210   rm -f conftest.sed
   5211 
   5212 
   5213 
   5214 
   5215 
   5216 
   5217 # Check whether --enable-selective-werror was given.
   5218 if test ${enable_selective_werror+y}
   5219 then :
   5220   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   5221 else case e in #(
   5222   e) SELECTIVE_WERROR=yes ;;
   5223 esac
   5224 fi
   5225 
   5226 
   5227 
   5228 
   5229 
   5230 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5231 if test "x$SUNCC" = "xyes"; then
   5232     BASE_CFLAGS="-v"
   5233 else
   5234     BASE_CFLAGS=""
   5235 fi
   5236 
   5237 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5238 
   5239 
   5240 
   5241 
   5242 
   5243 
   5244 
   5245 
   5246 
   5247 
   5248 
   5249 
   5250 
   5251 xorg_testset_save_CFLAGS="$CFLAGS"
   5252 
   5253 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5254 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5255 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5256 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5257 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5258 then :
   5259   printf %s "(cached) " >&6
   5260 else case e in #(
   5261   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5262 /* end confdefs.h.  */
   5263 int i;
   5264 _ACEOF
   5265 if ac_fn_c_try_compile "$LINENO"
   5266 then :
   5267   xorg_cv_cc_flag_unknown_warning_option=yes
   5268 else case e in #(
   5269   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5270 esac
   5271 fi
   5272 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5273 esac
   5274 fi
   5275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5276 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5277 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5278 	CFLAGS="$xorg_testset_save_CFLAGS"
   5279 fi
   5280 
   5281 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5282 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5283 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5284 	fi
   5285 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5286 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5287 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5288 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5289 then :
   5290   printf %s "(cached) " >&6
   5291 else case e in #(
   5292   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5293 /* end confdefs.h.  */
   5294 int i;
   5295 _ACEOF
   5296 if ac_fn_c_try_compile "$LINENO"
   5297 then :
   5298   xorg_cv_cc_flag_unused_command_line_argument=yes
   5299 else case e in #(
   5300   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5301 esac
   5302 fi
   5303 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5304 esac
   5305 fi
   5306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5307 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5308 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5309 	CFLAGS="$xorg_testset_save_CFLAGS"
   5310 fi
   5311 
   5312 found="no"
   5313 
   5314 	if test $found = "no" ; then
   5315 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5316 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5317 		fi
   5318 
   5319 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5320 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5321 		fi
   5322 
   5323 		CFLAGS="$CFLAGS -Wall"
   5324 
   5325 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5326 printf %s "checking if $CC supports -Wall... " >&6; }
   5327 		cacheid=xorg_cv_cc_flag__Wall
   5328 		if eval test \${$cacheid+y}
   5329 then :
   5330   printf %s "(cached) " >&6
   5331 else case e in #(
   5332   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5333 /* end confdefs.h.  */
   5334 int i;
   5335 int
   5336 main (void)
   5337 {
   5338 
   5339   ;
   5340   return 0;
   5341 }
   5342 _ACEOF
   5343 if ac_fn_c_try_link "$LINENO"
   5344 then :
   5345   eval $cacheid=yes
   5346 else case e in #(
   5347   e) eval $cacheid=no ;;
   5348 esac
   5349 fi
   5350 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5351     conftest$ac_exeext conftest.$ac_ext ;;
   5352 esac
   5353 fi
   5354 
   5355 
   5356 		CFLAGS="$xorg_testset_save_CFLAGS"
   5357 
   5358 		eval supported=\$$cacheid
   5359 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5360 printf "%s\n" "$supported" >&6; }
   5361 		if test "$supported" = "yes" ; then
   5362 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5363 			found="yes"
   5364 		fi
   5365 	fi
   5366 
   5367 
   5368 
   5369 
   5370 
   5371 
   5372 
   5373 
   5374 
   5375 
   5376 
   5377 
   5378 
   5379 
   5380 
   5381 xorg_testset_save_CFLAGS="$CFLAGS"
   5382 
   5383 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5384 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5385 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5386 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5387 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5388 then :
   5389   printf %s "(cached) " >&6
   5390 else case e in #(
   5391   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5392 /* end confdefs.h.  */
   5393 int i;
   5394 _ACEOF
   5395 if ac_fn_c_try_compile "$LINENO"
   5396 then :
   5397   xorg_cv_cc_flag_unknown_warning_option=yes
   5398 else case e in #(
   5399   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5400 esac
   5401 fi
   5402 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5403 esac
   5404 fi
   5405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5406 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5407 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5408 	CFLAGS="$xorg_testset_save_CFLAGS"
   5409 fi
   5410 
   5411 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5412 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5413 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5414 	fi
   5415 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5416 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5417 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5418 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5419 then :
   5420   printf %s "(cached) " >&6
   5421 else case e in #(
   5422   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5423 /* end confdefs.h.  */
   5424 int i;
   5425 _ACEOF
   5426 if ac_fn_c_try_compile "$LINENO"
   5427 then :
   5428   xorg_cv_cc_flag_unused_command_line_argument=yes
   5429 else case e in #(
   5430   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5431 esac
   5432 fi
   5433 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5434 esac
   5435 fi
   5436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5437 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5438 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5439 	CFLAGS="$xorg_testset_save_CFLAGS"
   5440 fi
   5441 
   5442 found="no"
   5443 
   5444 	if test $found = "no" ; then
   5445 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5446 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5447 		fi
   5448 
   5449 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5450 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5451 		fi
   5452 
   5453 		CFLAGS="$CFLAGS -Wpointer-arith"
   5454 
   5455 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5456 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5457 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5458 		if eval test \${$cacheid+y}
   5459 then :
   5460   printf %s "(cached) " >&6
   5461 else case e in #(
   5462   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5463 /* end confdefs.h.  */
   5464 int i;
   5465 int
   5466 main (void)
   5467 {
   5468 
   5469   ;
   5470   return 0;
   5471 }
   5472 _ACEOF
   5473 if ac_fn_c_try_link "$LINENO"
   5474 then :
   5475   eval $cacheid=yes
   5476 else case e in #(
   5477   e) eval $cacheid=no ;;
   5478 esac
   5479 fi
   5480 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5481     conftest$ac_exeext conftest.$ac_ext ;;
   5482 esac
   5483 fi
   5484 
   5485 
   5486 		CFLAGS="$xorg_testset_save_CFLAGS"
   5487 
   5488 		eval supported=\$$cacheid
   5489 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5490 printf "%s\n" "$supported" >&6; }
   5491 		if test "$supported" = "yes" ; then
   5492 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5493 			found="yes"
   5494 		fi
   5495 	fi
   5496 
   5497 
   5498 
   5499 
   5500 
   5501 
   5502 
   5503 
   5504 
   5505 
   5506 
   5507 
   5508 
   5509 
   5510 
   5511 xorg_testset_save_CFLAGS="$CFLAGS"
   5512 
   5513 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5514 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5515 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5516 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5517 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5518 then :
   5519   printf %s "(cached) " >&6
   5520 else case e in #(
   5521   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5522 /* end confdefs.h.  */
   5523 int i;
   5524 _ACEOF
   5525 if ac_fn_c_try_compile "$LINENO"
   5526 then :
   5527   xorg_cv_cc_flag_unknown_warning_option=yes
   5528 else case e in #(
   5529   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5530 esac
   5531 fi
   5532 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5533 esac
   5534 fi
   5535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5536 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5537 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5538 	CFLAGS="$xorg_testset_save_CFLAGS"
   5539 fi
   5540 
   5541 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5542 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5543 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5544 	fi
   5545 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5546 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5547 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5548 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5549 then :
   5550   printf %s "(cached) " >&6
   5551 else case e in #(
   5552   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5553 /* end confdefs.h.  */
   5554 int i;
   5555 _ACEOF
   5556 if ac_fn_c_try_compile "$LINENO"
   5557 then :
   5558   xorg_cv_cc_flag_unused_command_line_argument=yes
   5559 else case e in #(
   5560   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5561 esac
   5562 fi
   5563 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5564 esac
   5565 fi
   5566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5567 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5568 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5569 	CFLAGS="$xorg_testset_save_CFLAGS"
   5570 fi
   5571 
   5572 found="no"
   5573 
   5574 	if test $found = "no" ; then
   5575 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5576 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5577 		fi
   5578 
   5579 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5580 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5581 		fi
   5582 
   5583 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5584 
   5585 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5586 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5587 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5588 		if eval test \${$cacheid+y}
   5589 then :
   5590   printf %s "(cached) " >&6
   5591 else case e in #(
   5592   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5593 /* end confdefs.h.  */
   5594 int i;
   5595 int
   5596 main (void)
   5597 {
   5598 
   5599   ;
   5600   return 0;
   5601 }
   5602 _ACEOF
   5603 if ac_fn_c_try_link "$LINENO"
   5604 then :
   5605   eval $cacheid=yes
   5606 else case e in #(
   5607   e) eval $cacheid=no ;;
   5608 esac
   5609 fi
   5610 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5611     conftest$ac_exeext conftest.$ac_ext ;;
   5612 esac
   5613 fi
   5614 
   5615 
   5616 		CFLAGS="$xorg_testset_save_CFLAGS"
   5617 
   5618 		eval supported=\$$cacheid
   5619 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5620 printf "%s\n" "$supported" >&6; }
   5621 		if test "$supported" = "yes" ; then
   5622 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5623 			found="yes"
   5624 		fi
   5625 	fi
   5626 
   5627 
   5628 
   5629 
   5630 
   5631 
   5632 
   5633 
   5634 
   5635 
   5636 
   5637 
   5638 
   5639 
   5640 
   5641 xorg_testset_save_CFLAGS="$CFLAGS"
   5642 
   5643 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5644 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5645 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5646 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5647 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5648 then :
   5649   printf %s "(cached) " >&6
   5650 else case e in #(
   5651   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5652 /* end confdefs.h.  */
   5653 int i;
   5654 _ACEOF
   5655 if ac_fn_c_try_compile "$LINENO"
   5656 then :
   5657   xorg_cv_cc_flag_unknown_warning_option=yes
   5658 else case e in #(
   5659   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5660 esac
   5661 fi
   5662 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5663 esac
   5664 fi
   5665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5666 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5667 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5668 	CFLAGS="$xorg_testset_save_CFLAGS"
   5669 fi
   5670 
   5671 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5672 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5673 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5674 	fi
   5675 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5676 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5677 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5678 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5679 then :
   5680   printf %s "(cached) " >&6
   5681 else case e in #(
   5682   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5683 /* end confdefs.h.  */
   5684 int i;
   5685 _ACEOF
   5686 if ac_fn_c_try_compile "$LINENO"
   5687 then :
   5688   xorg_cv_cc_flag_unused_command_line_argument=yes
   5689 else case e in #(
   5690   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5691 esac
   5692 fi
   5693 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5694 esac
   5695 fi
   5696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5697 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5698 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5699 	CFLAGS="$xorg_testset_save_CFLAGS"
   5700 fi
   5701 
   5702 found="no"
   5703 
   5704 	if test $found = "no" ; then
   5705 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5706 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5707 		fi
   5708 
   5709 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5710 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5711 		fi
   5712 
   5713 		CFLAGS="$CFLAGS -Wformat=2"
   5714 
   5715 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5716 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5717 		cacheid=xorg_cv_cc_flag__Wformat_2
   5718 		if eval test \${$cacheid+y}
   5719 then :
   5720   printf %s "(cached) " >&6
   5721 else case e in #(
   5722   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5723 /* end confdefs.h.  */
   5724 int i;
   5725 int
   5726 main (void)
   5727 {
   5728 
   5729   ;
   5730   return 0;
   5731 }
   5732 _ACEOF
   5733 if ac_fn_c_try_link "$LINENO"
   5734 then :
   5735   eval $cacheid=yes
   5736 else case e in #(
   5737   e) eval $cacheid=no ;;
   5738 esac
   5739 fi
   5740 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5741     conftest$ac_exeext conftest.$ac_ext ;;
   5742 esac
   5743 fi
   5744 
   5745 
   5746 		CFLAGS="$xorg_testset_save_CFLAGS"
   5747 
   5748 		eval supported=\$$cacheid
   5749 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5750 printf "%s\n" "$supported" >&6; }
   5751 		if test "$supported" = "yes" ; then
   5752 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5753 			found="yes"
   5754 		fi
   5755 	fi
   5756 
   5757 	if test $found = "no" ; then
   5758 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5759 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5760 		fi
   5761 
   5762 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5763 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5764 		fi
   5765 
   5766 		CFLAGS="$CFLAGS -Wformat"
   5767 
   5768 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5769 printf %s "checking if $CC supports -Wformat... " >&6; }
   5770 		cacheid=xorg_cv_cc_flag__Wformat
   5771 		if eval test \${$cacheid+y}
   5772 then :
   5773   printf %s "(cached) " >&6
   5774 else case e in #(
   5775   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5776 /* end confdefs.h.  */
   5777 int i;
   5778 int
   5779 main (void)
   5780 {
   5781 
   5782   ;
   5783   return 0;
   5784 }
   5785 _ACEOF
   5786 if ac_fn_c_try_link "$LINENO"
   5787 then :
   5788   eval $cacheid=yes
   5789 else case e in #(
   5790   e) eval $cacheid=no ;;
   5791 esac
   5792 fi
   5793 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5794     conftest$ac_exeext conftest.$ac_ext ;;
   5795 esac
   5796 fi
   5797 
   5798 
   5799 		CFLAGS="$xorg_testset_save_CFLAGS"
   5800 
   5801 		eval supported=\$$cacheid
   5802 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5803 printf "%s\n" "$supported" >&6; }
   5804 		if test "$supported" = "yes" ; then
   5805 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5806 			found="yes"
   5807 		fi
   5808 	fi
   5809 
   5810 
   5811 
   5812 
   5813 
   5814 
   5815 
   5816 
   5817 
   5818 
   5819 
   5820 
   5821 
   5822 
   5823 
   5824 
   5825 
   5826 xorg_testset_save_CFLAGS="$CFLAGS"
   5827 
   5828 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5829 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5830 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5831 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5832 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5833 then :
   5834   printf %s "(cached) " >&6
   5835 else case e in #(
   5836   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5837 /* end confdefs.h.  */
   5838 int i;
   5839 _ACEOF
   5840 if ac_fn_c_try_compile "$LINENO"
   5841 then :
   5842   xorg_cv_cc_flag_unknown_warning_option=yes
   5843 else case e in #(
   5844   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5845 esac
   5846 fi
   5847 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5848 esac
   5849 fi
   5850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5851 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5852 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5853 	CFLAGS="$xorg_testset_save_CFLAGS"
   5854 fi
   5855 
   5856 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5857 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5858 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5859 	fi
   5860 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5861 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5862 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5863 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5864 then :
   5865   printf %s "(cached) " >&6
   5866 else case e in #(
   5867   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5868 /* end confdefs.h.  */
   5869 int i;
   5870 _ACEOF
   5871 if ac_fn_c_try_compile "$LINENO"
   5872 then :
   5873   xorg_cv_cc_flag_unused_command_line_argument=yes
   5874 else case e in #(
   5875   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5876 esac
   5877 fi
   5878 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5879 esac
   5880 fi
   5881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5882 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5883 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5884 	CFLAGS="$xorg_testset_save_CFLAGS"
   5885 fi
   5886 
   5887 found="no"
   5888 
   5889 	if test $found = "no" ; then
   5890 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5891 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5892 		fi
   5893 
   5894 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5895 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5896 		fi
   5897 
   5898 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5899 
   5900 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5901 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5902 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5903 		if eval test \${$cacheid+y}
   5904 then :
   5905   printf %s "(cached) " >&6
   5906 else case e in #(
   5907   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5908 /* end confdefs.h.  */
   5909 int i;
   5910 int
   5911 main (void)
   5912 {
   5913 
   5914   ;
   5915   return 0;
   5916 }
   5917 _ACEOF
   5918 if ac_fn_c_try_link "$LINENO"
   5919 then :
   5920   eval $cacheid=yes
   5921 else case e in #(
   5922   e) eval $cacheid=no ;;
   5923 esac
   5924 fi
   5925 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5926     conftest$ac_exeext conftest.$ac_ext ;;
   5927 esac
   5928 fi
   5929 
   5930 
   5931 		CFLAGS="$xorg_testset_save_CFLAGS"
   5932 
   5933 		eval supported=\$$cacheid
   5934 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5935 printf "%s\n" "$supported" >&6; }
   5936 		if test "$supported" = "yes" ; then
   5937 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5938 			found="yes"
   5939 		fi
   5940 	fi
   5941 
   5942 
   5943 
   5944 
   5945 
   5946 
   5947 
   5948 
   5949 
   5950 
   5951 
   5952 
   5953 
   5954 
   5955 
   5956 xorg_testset_save_CFLAGS="$CFLAGS"
   5957 
   5958 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5959 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5960 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5961 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5962 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5963 then :
   5964   printf %s "(cached) " >&6
   5965 else case e in #(
   5966   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5967 /* end confdefs.h.  */
   5968 int i;
   5969 _ACEOF
   5970 if ac_fn_c_try_compile "$LINENO"
   5971 then :
   5972   xorg_cv_cc_flag_unknown_warning_option=yes
   5973 else case e in #(
   5974   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5975 esac
   5976 fi
   5977 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5978 esac
   5979 fi
   5980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5981 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5982 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5983 	CFLAGS="$xorg_testset_save_CFLAGS"
   5984 fi
   5985 
   5986 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5987 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5988 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5989 	fi
   5990 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5991 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5992 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5993 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5994 then :
   5995   printf %s "(cached) " >&6
   5996 else case e in #(
   5997   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5998 /* end confdefs.h.  */
   5999 int i;
   6000 _ACEOF
   6001 if ac_fn_c_try_compile "$LINENO"
   6002 then :
   6003   xorg_cv_cc_flag_unused_command_line_argument=yes
   6004 else case e in #(
   6005   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6006 esac
   6007 fi
   6008 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6009 esac
   6010 fi
   6011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6012 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6013 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6014 	CFLAGS="$xorg_testset_save_CFLAGS"
   6015 fi
   6016 
   6017 found="no"
   6018 
   6019 	if test $found = "no" ; then
   6020 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6021 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6022 		fi
   6023 
   6024 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6025 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6026 		fi
   6027 
   6028 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   6029 
   6030 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   6031 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   6032 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   6033 		if eval test \${$cacheid+y}
   6034 then :
   6035   printf %s "(cached) " >&6
   6036 else case e in #(
   6037   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6038 /* end confdefs.h.  */
   6039 int i;
   6040 int
   6041 main (void)
   6042 {
   6043 
   6044   ;
   6045   return 0;
   6046 }
   6047 _ACEOF
   6048 if ac_fn_c_try_link "$LINENO"
   6049 then :
   6050   eval $cacheid=yes
   6051 else case e in #(
   6052   e) eval $cacheid=no ;;
   6053 esac
   6054 fi
   6055 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6056     conftest$ac_exeext conftest.$ac_ext ;;
   6057 esac
   6058 fi
   6059 
   6060 
   6061 		CFLAGS="$xorg_testset_save_CFLAGS"
   6062 
   6063 		eval supported=\$$cacheid
   6064 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6065 printf "%s\n" "$supported" >&6; }
   6066 		if test "$supported" = "yes" ; then
   6067 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   6068 			found="yes"
   6069 		fi
   6070 	fi
   6071 
   6072 
   6073 
   6074 
   6075 
   6076 
   6077 
   6078 
   6079 
   6080 
   6081 
   6082 
   6083 
   6084 
   6085 
   6086 xorg_testset_save_CFLAGS="$CFLAGS"
   6087 
   6088 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6089 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6090 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6091 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6092 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6093 then :
   6094   printf %s "(cached) " >&6
   6095 else case e in #(
   6096   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6097 /* end confdefs.h.  */
   6098 int i;
   6099 _ACEOF
   6100 if ac_fn_c_try_compile "$LINENO"
   6101 then :
   6102   xorg_cv_cc_flag_unknown_warning_option=yes
   6103 else case e in #(
   6104   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6105 esac
   6106 fi
   6107 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6108 esac
   6109 fi
   6110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6111 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6112 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6113 	CFLAGS="$xorg_testset_save_CFLAGS"
   6114 fi
   6115 
   6116 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6117 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6118 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6119 	fi
   6120 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6121 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6122 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6123 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6124 then :
   6125   printf %s "(cached) " >&6
   6126 else case e in #(
   6127   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6128 /* end confdefs.h.  */
   6129 int i;
   6130 _ACEOF
   6131 if ac_fn_c_try_compile "$LINENO"
   6132 then :
   6133   xorg_cv_cc_flag_unused_command_line_argument=yes
   6134 else case e in #(
   6135   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6136 esac
   6137 fi
   6138 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6139 esac
   6140 fi
   6141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6142 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6143 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6144 	CFLAGS="$xorg_testset_save_CFLAGS"
   6145 fi
   6146 
   6147 found="no"
   6148 
   6149 	if test $found = "no" ; then
   6150 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6151 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6152 		fi
   6153 
   6154 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6155 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6156 		fi
   6157 
   6158 		CFLAGS="$CFLAGS -Wnested-externs"
   6159 
   6160 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   6161 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   6162 		cacheid=xorg_cv_cc_flag__Wnested_externs
   6163 		if eval test \${$cacheid+y}
   6164 then :
   6165   printf %s "(cached) " >&6
   6166 else case e in #(
   6167   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6168 /* end confdefs.h.  */
   6169 int i;
   6170 int
   6171 main (void)
   6172 {
   6173 
   6174   ;
   6175   return 0;
   6176 }
   6177 _ACEOF
   6178 if ac_fn_c_try_link "$LINENO"
   6179 then :
   6180   eval $cacheid=yes
   6181 else case e in #(
   6182   e) eval $cacheid=no ;;
   6183 esac
   6184 fi
   6185 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6186     conftest$ac_exeext conftest.$ac_ext ;;
   6187 esac
   6188 fi
   6189 
   6190 
   6191 		CFLAGS="$xorg_testset_save_CFLAGS"
   6192 
   6193 		eval supported=\$$cacheid
   6194 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6195 printf "%s\n" "$supported" >&6; }
   6196 		if test "$supported" = "yes" ; then
   6197 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   6198 			found="yes"
   6199 		fi
   6200 	fi
   6201 
   6202 
   6203 
   6204 
   6205 
   6206 
   6207 
   6208 
   6209 
   6210 
   6211 
   6212 
   6213 
   6214 
   6215 
   6216 xorg_testset_save_CFLAGS="$CFLAGS"
   6217 
   6218 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6219 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6220 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6221 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6222 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6223 then :
   6224   printf %s "(cached) " >&6
   6225 else case e in #(
   6226   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6227 /* end confdefs.h.  */
   6228 int i;
   6229 _ACEOF
   6230 if ac_fn_c_try_compile "$LINENO"
   6231 then :
   6232   xorg_cv_cc_flag_unknown_warning_option=yes
   6233 else case e in #(
   6234   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6235 esac
   6236 fi
   6237 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6238 esac
   6239 fi
   6240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6241 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6242 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6243 	CFLAGS="$xorg_testset_save_CFLAGS"
   6244 fi
   6245 
   6246 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6247 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6248 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6249 	fi
   6250 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6251 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6252 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6253 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6254 then :
   6255   printf %s "(cached) " >&6
   6256 else case e in #(
   6257   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6258 /* end confdefs.h.  */
   6259 int i;
   6260 _ACEOF
   6261 if ac_fn_c_try_compile "$LINENO"
   6262 then :
   6263   xorg_cv_cc_flag_unused_command_line_argument=yes
   6264 else case e in #(
   6265   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6266 esac
   6267 fi
   6268 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6269 esac
   6270 fi
   6271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6272 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6273 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6274 	CFLAGS="$xorg_testset_save_CFLAGS"
   6275 fi
   6276 
   6277 found="no"
   6278 
   6279 	if test $found = "no" ; then
   6280 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6281 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6282 		fi
   6283 
   6284 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6285 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6286 		fi
   6287 
   6288 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6289 
   6290 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6291 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   6292 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6293 		if eval test \${$cacheid+y}
   6294 then :
   6295   printf %s "(cached) " >&6
   6296 else case e in #(
   6297   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6298 /* end confdefs.h.  */
   6299 int i;
   6300 int
   6301 main (void)
   6302 {
   6303 
   6304   ;
   6305   return 0;
   6306 }
   6307 _ACEOF
   6308 if ac_fn_c_try_link "$LINENO"
   6309 then :
   6310   eval $cacheid=yes
   6311 else case e in #(
   6312   e) eval $cacheid=no ;;
   6313 esac
   6314 fi
   6315 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6316     conftest$ac_exeext conftest.$ac_ext ;;
   6317 esac
   6318 fi
   6319 
   6320 
   6321 		CFLAGS="$xorg_testset_save_CFLAGS"
   6322 
   6323 		eval supported=\$$cacheid
   6324 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6325 printf "%s\n" "$supported" >&6; }
   6326 		if test "$supported" = "yes" ; then
   6327 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6328 			found="yes"
   6329 		fi
   6330 	fi
   6331 
   6332 
   6333 
   6334 
   6335 
   6336 
   6337 
   6338 
   6339 
   6340 
   6341 
   6342 
   6343 
   6344 
   6345 
   6346 xorg_testset_save_CFLAGS="$CFLAGS"
   6347 
   6348 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6349 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6350 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6351 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6352 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6353 then :
   6354   printf %s "(cached) " >&6
   6355 else case e in #(
   6356   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6357 /* end confdefs.h.  */
   6358 int i;
   6359 _ACEOF
   6360 if ac_fn_c_try_compile "$LINENO"
   6361 then :
   6362   xorg_cv_cc_flag_unknown_warning_option=yes
   6363 else case e in #(
   6364   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6365 esac
   6366 fi
   6367 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6368 esac
   6369 fi
   6370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6371 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6372 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6373 	CFLAGS="$xorg_testset_save_CFLAGS"
   6374 fi
   6375 
   6376 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6377 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6378 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6379 	fi
   6380 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6381 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6382 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6383 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6384 then :
   6385   printf %s "(cached) " >&6
   6386 else case e in #(
   6387   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6388 /* end confdefs.h.  */
   6389 int i;
   6390 _ACEOF
   6391 if ac_fn_c_try_compile "$LINENO"
   6392 then :
   6393   xorg_cv_cc_flag_unused_command_line_argument=yes
   6394 else case e in #(
   6395   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6396 esac
   6397 fi
   6398 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6399 esac
   6400 fi
   6401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6402 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6403 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6404 	CFLAGS="$xorg_testset_save_CFLAGS"
   6405 fi
   6406 
   6407 found="no"
   6408 
   6409 	if test $found = "no" ; then
   6410 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6411 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6412 		fi
   6413 
   6414 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6415 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6416 		fi
   6417 
   6418 		CFLAGS="$CFLAGS -Wold-style-definition"
   6419 
   6420 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6421 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6422 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6423 		if eval test \${$cacheid+y}
   6424 then :
   6425   printf %s "(cached) " >&6
   6426 else case e in #(
   6427   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6428 /* end confdefs.h.  */
   6429 int i;
   6430 int
   6431 main (void)
   6432 {
   6433 
   6434   ;
   6435   return 0;
   6436 }
   6437 _ACEOF
   6438 if ac_fn_c_try_link "$LINENO"
   6439 then :
   6440   eval $cacheid=yes
   6441 else case e in #(
   6442   e) eval $cacheid=no ;;
   6443 esac
   6444 fi
   6445 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6446     conftest$ac_exeext conftest.$ac_ext ;;
   6447 esac
   6448 fi
   6449 
   6450 
   6451 		CFLAGS="$xorg_testset_save_CFLAGS"
   6452 
   6453 		eval supported=\$$cacheid
   6454 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6455 printf "%s\n" "$supported" >&6; }
   6456 		if test "$supported" = "yes" ; then
   6457 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6458 			found="yes"
   6459 		fi
   6460 	fi
   6461 
   6462 	if test $found = "no" ; then
   6463 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6464 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6465 		fi
   6466 
   6467 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6468 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6469 		fi
   6470 
   6471 		CFLAGS="$CFLAGS -fd"
   6472 
   6473 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6474 printf %s "checking if $CC supports -fd... " >&6; }
   6475 		cacheid=xorg_cv_cc_flag__fd
   6476 		if eval test \${$cacheid+y}
   6477 then :
   6478   printf %s "(cached) " >&6
   6479 else case e in #(
   6480   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6481 /* end confdefs.h.  */
   6482 int i;
   6483 int
   6484 main (void)
   6485 {
   6486 
   6487   ;
   6488   return 0;
   6489 }
   6490 _ACEOF
   6491 if ac_fn_c_try_link "$LINENO"
   6492 then :
   6493   eval $cacheid=yes
   6494 else case e in #(
   6495   e) eval $cacheid=no ;;
   6496 esac
   6497 fi
   6498 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6499     conftest$ac_exeext conftest.$ac_ext ;;
   6500 esac
   6501 fi
   6502 
   6503 
   6504 		CFLAGS="$xorg_testset_save_CFLAGS"
   6505 
   6506 		eval supported=\$$cacheid
   6507 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6508 printf "%s\n" "$supported" >&6; }
   6509 		if test "$supported" = "yes" ; then
   6510 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6511 			found="yes"
   6512 		fi
   6513 	fi
   6514 
   6515 
   6516 
   6517 
   6518 
   6519 # This chunk adds additional warnings that could catch undesired effects.
   6520 
   6521 
   6522 
   6523 
   6524 
   6525 
   6526 
   6527 
   6528 
   6529 
   6530 
   6531 
   6532 
   6533 xorg_testset_save_CFLAGS="$CFLAGS"
   6534 
   6535 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6536 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6537 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6538 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6539 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6540 then :
   6541   printf %s "(cached) " >&6
   6542 else case e in #(
   6543   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6544 /* end confdefs.h.  */
   6545 int i;
   6546 _ACEOF
   6547 if ac_fn_c_try_compile "$LINENO"
   6548 then :
   6549   xorg_cv_cc_flag_unknown_warning_option=yes
   6550 else case e in #(
   6551   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6552 esac
   6553 fi
   6554 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6555 esac
   6556 fi
   6557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6558 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6559 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6560 	CFLAGS="$xorg_testset_save_CFLAGS"
   6561 fi
   6562 
   6563 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6564 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6565 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6566 	fi
   6567 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6568 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6569 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6570 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6571 then :
   6572   printf %s "(cached) " >&6
   6573 else case e in #(
   6574   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6575 /* end confdefs.h.  */
   6576 int i;
   6577 _ACEOF
   6578 if ac_fn_c_try_compile "$LINENO"
   6579 then :
   6580   xorg_cv_cc_flag_unused_command_line_argument=yes
   6581 else case e in #(
   6582   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6583 esac
   6584 fi
   6585 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6586 esac
   6587 fi
   6588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6589 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6590 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6591 	CFLAGS="$xorg_testset_save_CFLAGS"
   6592 fi
   6593 
   6594 found="no"
   6595 
   6596 	if test $found = "no" ; then
   6597 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6598 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6599 		fi
   6600 
   6601 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6602 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6603 		fi
   6604 
   6605 		CFLAGS="$CFLAGS -Wunused"
   6606 
   6607 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6608 printf %s "checking if $CC supports -Wunused... " >&6; }
   6609 		cacheid=xorg_cv_cc_flag__Wunused
   6610 		if eval test \${$cacheid+y}
   6611 then :
   6612   printf %s "(cached) " >&6
   6613 else case e in #(
   6614   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6615 /* end confdefs.h.  */
   6616 int i;
   6617 int
   6618 main (void)
   6619 {
   6620 
   6621   ;
   6622   return 0;
   6623 }
   6624 _ACEOF
   6625 if ac_fn_c_try_link "$LINENO"
   6626 then :
   6627   eval $cacheid=yes
   6628 else case e in #(
   6629   e) eval $cacheid=no ;;
   6630 esac
   6631 fi
   6632 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6633     conftest$ac_exeext conftest.$ac_ext ;;
   6634 esac
   6635 fi
   6636 
   6637 
   6638 		CFLAGS="$xorg_testset_save_CFLAGS"
   6639 
   6640 		eval supported=\$$cacheid
   6641 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6642 printf "%s\n" "$supported" >&6; }
   6643 		if test "$supported" = "yes" ; then
   6644 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6645 			found="yes"
   6646 		fi
   6647 	fi
   6648 
   6649 
   6650 
   6651 
   6652 
   6653 
   6654 
   6655 
   6656 
   6657 
   6658 
   6659 
   6660 
   6661 
   6662 
   6663 xorg_testset_save_CFLAGS="$CFLAGS"
   6664 
   6665 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6666 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6667 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6668 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6669 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6670 then :
   6671   printf %s "(cached) " >&6
   6672 else case e in #(
   6673   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6674 /* end confdefs.h.  */
   6675 int i;
   6676 _ACEOF
   6677 if ac_fn_c_try_compile "$LINENO"
   6678 then :
   6679   xorg_cv_cc_flag_unknown_warning_option=yes
   6680 else case e in #(
   6681   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6682 esac
   6683 fi
   6684 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6685 esac
   6686 fi
   6687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6688 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6689 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6690 	CFLAGS="$xorg_testset_save_CFLAGS"
   6691 fi
   6692 
   6693 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6694 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6695 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6696 	fi
   6697 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6698 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6699 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6700 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6701 then :
   6702   printf %s "(cached) " >&6
   6703 else case e in #(
   6704   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6705 /* end confdefs.h.  */
   6706 int i;
   6707 _ACEOF
   6708 if ac_fn_c_try_compile "$LINENO"
   6709 then :
   6710   xorg_cv_cc_flag_unused_command_line_argument=yes
   6711 else case e in #(
   6712   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6713 esac
   6714 fi
   6715 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6716 esac
   6717 fi
   6718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6719 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6720 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6721 	CFLAGS="$xorg_testset_save_CFLAGS"
   6722 fi
   6723 
   6724 found="no"
   6725 
   6726 	if test $found = "no" ; then
   6727 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6728 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6729 		fi
   6730 
   6731 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6732 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6733 		fi
   6734 
   6735 		CFLAGS="$CFLAGS -Wuninitialized"
   6736 
   6737 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6738 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6739 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6740 		if eval test \${$cacheid+y}
   6741 then :
   6742   printf %s "(cached) " >&6
   6743 else case e in #(
   6744   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6745 /* end confdefs.h.  */
   6746 int i;
   6747 int
   6748 main (void)
   6749 {
   6750 
   6751   ;
   6752   return 0;
   6753 }
   6754 _ACEOF
   6755 if ac_fn_c_try_link "$LINENO"
   6756 then :
   6757   eval $cacheid=yes
   6758 else case e in #(
   6759   e) eval $cacheid=no ;;
   6760 esac
   6761 fi
   6762 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6763     conftest$ac_exeext conftest.$ac_ext ;;
   6764 esac
   6765 fi
   6766 
   6767 
   6768 		CFLAGS="$xorg_testset_save_CFLAGS"
   6769 
   6770 		eval supported=\$$cacheid
   6771 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6772 printf "%s\n" "$supported" >&6; }
   6773 		if test "$supported" = "yes" ; then
   6774 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6775 			found="yes"
   6776 		fi
   6777 	fi
   6778 
   6779 
   6780 
   6781 
   6782 
   6783 
   6784 
   6785 
   6786 
   6787 
   6788 
   6789 
   6790 
   6791 
   6792 
   6793 xorg_testset_save_CFLAGS="$CFLAGS"
   6794 
   6795 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6796 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6797 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6798 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6799 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6800 then :
   6801   printf %s "(cached) " >&6
   6802 else case e in #(
   6803   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6804 /* end confdefs.h.  */
   6805 int i;
   6806 _ACEOF
   6807 if ac_fn_c_try_compile "$LINENO"
   6808 then :
   6809   xorg_cv_cc_flag_unknown_warning_option=yes
   6810 else case e in #(
   6811   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6812 esac
   6813 fi
   6814 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6815 esac
   6816 fi
   6817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6818 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6819 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6820 	CFLAGS="$xorg_testset_save_CFLAGS"
   6821 fi
   6822 
   6823 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6824 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6825 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6826 	fi
   6827 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6828 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6829 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6830 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6831 then :
   6832   printf %s "(cached) " >&6
   6833 else case e in #(
   6834   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6835 /* end confdefs.h.  */
   6836 int i;
   6837 _ACEOF
   6838 if ac_fn_c_try_compile "$LINENO"
   6839 then :
   6840   xorg_cv_cc_flag_unused_command_line_argument=yes
   6841 else case e in #(
   6842   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6843 esac
   6844 fi
   6845 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6846 esac
   6847 fi
   6848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6849 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6850 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6851 	CFLAGS="$xorg_testset_save_CFLAGS"
   6852 fi
   6853 
   6854 found="no"
   6855 
   6856 	if test $found = "no" ; then
   6857 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6858 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6859 		fi
   6860 
   6861 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6862 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6863 		fi
   6864 
   6865 		CFLAGS="$CFLAGS -Wshadow"
   6866 
   6867 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6868 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6869 		cacheid=xorg_cv_cc_flag__Wshadow
   6870 		if eval test \${$cacheid+y}
   6871 then :
   6872   printf %s "(cached) " >&6
   6873 else case e in #(
   6874   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6875 /* end confdefs.h.  */
   6876 int i;
   6877 int
   6878 main (void)
   6879 {
   6880 
   6881   ;
   6882   return 0;
   6883 }
   6884 _ACEOF
   6885 if ac_fn_c_try_link "$LINENO"
   6886 then :
   6887   eval $cacheid=yes
   6888 else case e in #(
   6889   e) eval $cacheid=no ;;
   6890 esac
   6891 fi
   6892 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6893     conftest$ac_exeext conftest.$ac_ext ;;
   6894 esac
   6895 fi
   6896 
   6897 
   6898 		CFLAGS="$xorg_testset_save_CFLAGS"
   6899 
   6900 		eval supported=\$$cacheid
   6901 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6902 printf "%s\n" "$supported" >&6; }
   6903 		if test "$supported" = "yes" ; then
   6904 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6905 			found="yes"
   6906 		fi
   6907 	fi
   6908 
   6909 
   6910 
   6911 
   6912 
   6913 
   6914 
   6915 
   6916 
   6917 
   6918 
   6919 
   6920 
   6921 
   6922 
   6923 xorg_testset_save_CFLAGS="$CFLAGS"
   6924 
   6925 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6926 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6927 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6928 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6929 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6930 then :
   6931   printf %s "(cached) " >&6
   6932 else case e in #(
   6933   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6934 /* end confdefs.h.  */
   6935 int i;
   6936 _ACEOF
   6937 if ac_fn_c_try_compile "$LINENO"
   6938 then :
   6939   xorg_cv_cc_flag_unknown_warning_option=yes
   6940 else case e in #(
   6941   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6942 esac
   6943 fi
   6944 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6945 esac
   6946 fi
   6947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6948 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6949 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6950 	CFLAGS="$xorg_testset_save_CFLAGS"
   6951 fi
   6952 
   6953 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6954 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6955 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6956 	fi
   6957 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6958 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6959 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6960 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6961 then :
   6962   printf %s "(cached) " >&6
   6963 else case e in #(
   6964   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6965 /* end confdefs.h.  */
   6966 int i;
   6967 _ACEOF
   6968 if ac_fn_c_try_compile "$LINENO"
   6969 then :
   6970   xorg_cv_cc_flag_unused_command_line_argument=yes
   6971 else case e in #(
   6972   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6973 esac
   6974 fi
   6975 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6976 esac
   6977 fi
   6978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6979 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6980 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6981 	CFLAGS="$xorg_testset_save_CFLAGS"
   6982 fi
   6983 
   6984 found="no"
   6985 
   6986 	if test $found = "no" ; then
   6987 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6988 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6989 		fi
   6990 
   6991 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6992 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6993 		fi
   6994 
   6995 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6996 
   6997 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6998 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6999 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   7000 		if eval test \${$cacheid+y}
   7001 then :
   7002   printf %s "(cached) " >&6
   7003 else case e in #(
   7004   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7005 /* end confdefs.h.  */
   7006 int i;
   7007 int
   7008 main (void)
   7009 {
   7010 
   7011   ;
   7012   return 0;
   7013 }
   7014 _ACEOF
   7015 if ac_fn_c_try_link "$LINENO"
   7016 then :
   7017   eval $cacheid=yes
   7018 else case e in #(
   7019   e) eval $cacheid=no ;;
   7020 esac
   7021 fi
   7022 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7023     conftest$ac_exeext conftest.$ac_ext ;;
   7024 esac
   7025 fi
   7026 
   7027 
   7028 		CFLAGS="$xorg_testset_save_CFLAGS"
   7029 
   7030 		eval supported=\$$cacheid
   7031 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7032 printf "%s\n" "$supported" >&6; }
   7033 		if test "$supported" = "yes" ; then
   7034 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   7035 			found="yes"
   7036 		fi
   7037 	fi
   7038 
   7039 
   7040 
   7041 
   7042 
   7043 
   7044 
   7045 
   7046 
   7047 
   7048 
   7049 
   7050 
   7051 
   7052 
   7053 xorg_testset_save_CFLAGS="$CFLAGS"
   7054 
   7055 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7056 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7057 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7058 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7059 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7060 then :
   7061   printf %s "(cached) " >&6
   7062 else case e in #(
   7063   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7064 /* end confdefs.h.  */
   7065 int i;
   7066 _ACEOF
   7067 if ac_fn_c_try_compile "$LINENO"
   7068 then :
   7069   xorg_cv_cc_flag_unknown_warning_option=yes
   7070 else case e in #(
   7071   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7072 esac
   7073 fi
   7074 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7075 esac
   7076 fi
   7077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7078 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7079 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7080 	CFLAGS="$xorg_testset_save_CFLAGS"
   7081 fi
   7082 
   7083 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7084 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7085 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7086 	fi
   7087 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7088 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7089 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7090 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7091 then :
   7092   printf %s "(cached) " >&6
   7093 else case e in #(
   7094   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7095 /* end confdefs.h.  */
   7096 int i;
   7097 _ACEOF
   7098 if ac_fn_c_try_compile "$LINENO"
   7099 then :
   7100   xorg_cv_cc_flag_unused_command_line_argument=yes
   7101 else case e in #(
   7102   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7103 esac
   7104 fi
   7105 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7106 esac
   7107 fi
   7108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7109 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7110 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7111 	CFLAGS="$xorg_testset_save_CFLAGS"
   7112 fi
   7113 
   7114 found="no"
   7115 
   7116 	if test $found = "no" ; then
   7117 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7118 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7119 		fi
   7120 
   7121 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7122 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7123 		fi
   7124 
   7125 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   7126 
   7127 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   7128 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   7129 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   7130 		if eval test \${$cacheid+y}
   7131 then :
   7132   printf %s "(cached) " >&6
   7133 else case e in #(
   7134   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7135 /* end confdefs.h.  */
   7136 int i;
   7137 int
   7138 main (void)
   7139 {
   7140 
   7141   ;
   7142   return 0;
   7143 }
   7144 _ACEOF
   7145 if ac_fn_c_try_link "$LINENO"
   7146 then :
   7147   eval $cacheid=yes
   7148 else case e in #(
   7149   e) eval $cacheid=no ;;
   7150 esac
   7151 fi
   7152 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7153     conftest$ac_exeext conftest.$ac_ext ;;
   7154 esac
   7155 fi
   7156 
   7157 
   7158 		CFLAGS="$xorg_testset_save_CFLAGS"
   7159 
   7160 		eval supported=\$$cacheid
   7161 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7162 printf "%s\n" "$supported" >&6; }
   7163 		if test "$supported" = "yes" ; then
   7164 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   7165 			found="yes"
   7166 		fi
   7167 	fi
   7168 
   7169 
   7170 
   7171 
   7172 
   7173 
   7174 
   7175 
   7176 
   7177 
   7178 
   7179 
   7180 
   7181 
   7182 
   7183 xorg_testset_save_CFLAGS="$CFLAGS"
   7184 
   7185 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7186 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7187 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7188 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7189 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7190 then :
   7191   printf %s "(cached) " >&6
   7192 else case e in #(
   7193   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7194 /* end confdefs.h.  */
   7195 int i;
   7196 _ACEOF
   7197 if ac_fn_c_try_compile "$LINENO"
   7198 then :
   7199   xorg_cv_cc_flag_unknown_warning_option=yes
   7200 else case e in #(
   7201   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7202 esac
   7203 fi
   7204 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7205 esac
   7206 fi
   7207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7208 printf "%s\n" "$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 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7219 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7220 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7221 then :
   7222   printf %s "(cached) " >&6
   7223 else case e in #(
   7224   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7225 /* end confdefs.h.  */
   7226 int i;
   7227 _ACEOF
   7228 if ac_fn_c_try_compile "$LINENO"
   7229 then :
   7230   xorg_cv_cc_flag_unused_command_line_argument=yes
   7231 else case e in #(
   7232   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7233 esac
   7234 fi
   7235 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7236 esac
   7237 fi
   7238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7239 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7240 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7241 	CFLAGS="$xorg_testset_save_CFLAGS"
   7242 fi
   7243 
   7244 found="no"
   7245 
   7246 	if test $found = "no" ; then
   7247 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7248 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7249 		fi
   7250 
   7251 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7252 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7253 		fi
   7254 
   7255 		CFLAGS="$CFLAGS -Wredundant-decls"
   7256 
   7257 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7258 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7259 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7260 		if eval test \${$cacheid+y}
   7261 then :
   7262   printf %s "(cached) " >&6
   7263 else case e in #(
   7264   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7265 /* end confdefs.h.  */
   7266 int i;
   7267 int
   7268 main (void)
   7269 {
   7270 
   7271   ;
   7272   return 0;
   7273 }
   7274 _ACEOF
   7275 if ac_fn_c_try_link "$LINENO"
   7276 then :
   7277   eval $cacheid=yes
   7278 else case e in #(
   7279   e) eval $cacheid=no ;;
   7280 esac
   7281 fi
   7282 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7283     conftest$ac_exeext conftest.$ac_ext ;;
   7284 esac
   7285 fi
   7286 
   7287 
   7288 		CFLAGS="$xorg_testset_save_CFLAGS"
   7289 
   7290 		eval supported=\$$cacheid
   7291 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7292 printf "%s\n" "$supported" >&6; }
   7293 		if test "$supported" = "yes" ; then
   7294 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7295 			found="yes"
   7296 		fi
   7297 	fi
   7298 
   7299 
   7300 
   7301 
   7302 
   7303 
   7304 
   7305 
   7306 
   7307 
   7308 
   7309 
   7310 
   7311 
   7312 
   7313 xorg_testset_save_CFLAGS="$CFLAGS"
   7314 
   7315 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7316 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7317 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7318 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7319 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7320 then :
   7321   printf %s "(cached) " >&6
   7322 else case e in #(
   7323   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7324 /* end confdefs.h.  */
   7325 int i;
   7326 _ACEOF
   7327 if ac_fn_c_try_compile "$LINENO"
   7328 then :
   7329   xorg_cv_cc_flag_unknown_warning_option=yes
   7330 else case e in #(
   7331   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7332 esac
   7333 fi
   7334 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7335 esac
   7336 fi
   7337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7338 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7339 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7340 	CFLAGS="$xorg_testset_save_CFLAGS"
   7341 fi
   7342 
   7343 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7344 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7345 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7346 	fi
   7347 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7348 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7349 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7350 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7351 then :
   7352   printf %s "(cached) " >&6
   7353 else case e in #(
   7354   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7355 /* end confdefs.h.  */
   7356 int i;
   7357 _ACEOF
   7358 if ac_fn_c_try_compile "$LINENO"
   7359 then :
   7360   xorg_cv_cc_flag_unused_command_line_argument=yes
   7361 else case e in #(
   7362   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7363 esac
   7364 fi
   7365 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7366 esac
   7367 fi
   7368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7369 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7370 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7371 	CFLAGS="$xorg_testset_save_CFLAGS"
   7372 fi
   7373 
   7374 found="no"
   7375 
   7376 	if test $found = "no" ; then
   7377 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7378 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7379 		fi
   7380 
   7381 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7382 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7383 		fi
   7384 
   7385 		CFLAGS="$CFLAGS -Wlogical-op"
   7386 
   7387 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7388 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7389 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7390 		if eval test \${$cacheid+y}
   7391 then :
   7392   printf %s "(cached) " >&6
   7393 else case e in #(
   7394   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7395 /* end confdefs.h.  */
   7396 int i;
   7397 int
   7398 main (void)
   7399 {
   7400 
   7401   ;
   7402   return 0;
   7403 }
   7404 _ACEOF
   7405 if ac_fn_c_try_link "$LINENO"
   7406 then :
   7407   eval $cacheid=yes
   7408 else case e in #(
   7409   e) eval $cacheid=no ;;
   7410 esac
   7411 fi
   7412 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7413     conftest$ac_exeext conftest.$ac_ext ;;
   7414 esac
   7415 fi
   7416 
   7417 
   7418 		CFLAGS="$xorg_testset_save_CFLAGS"
   7419 
   7420 		eval supported=\$$cacheid
   7421 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7422 printf "%s\n" "$supported" >&6; }
   7423 		if test "$supported" = "yes" ; then
   7424 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7425 			found="yes"
   7426 		fi
   7427 	fi
   7428 
   7429 
   7430 
   7431 # These are currently disabled because they are noisy.  They will be enabled
   7432 # in the future once the codebase is sufficiently modernized to silence
   7433 # them.  For now, I don't want them to drown out the other warnings.
   7434 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7435 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7436 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7437 
   7438 # Turn some warnings into errors, so we don't accidentally get successful builds
   7439 # when there are problems that should be fixed.
   7440 
   7441 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7442 
   7443 
   7444 
   7445 
   7446 
   7447 
   7448 
   7449 
   7450 
   7451 
   7452 
   7453 
   7454 
   7455 xorg_testset_save_CFLAGS="$CFLAGS"
   7456 
   7457 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7458 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7459 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7460 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7461 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7462 then :
   7463   printf %s "(cached) " >&6
   7464 else case e in #(
   7465   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7466 /* end confdefs.h.  */
   7467 int i;
   7468 _ACEOF
   7469 if ac_fn_c_try_compile "$LINENO"
   7470 then :
   7471   xorg_cv_cc_flag_unknown_warning_option=yes
   7472 else case e in #(
   7473   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7474 esac
   7475 fi
   7476 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7477 esac
   7478 fi
   7479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7480 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7481 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7482 	CFLAGS="$xorg_testset_save_CFLAGS"
   7483 fi
   7484 
   7485 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7486 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7487 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7488 	fi
   7489 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7490 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7491 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7492 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7493 then :
   7494   printf %s "(cached) " >&6
   7495 else case e in #(
   7496   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7497 /* end confdefs.h.  */
   7498 int i;
   7499 _ACEOF
   7500 if ac_fn_c_try_compile "$LINENO"
   7501 then :
   7502   xorg_cv_cc_flag_unused_command_line_argument=yes
   7503 else case e in #(
   7504   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7505 esac
   7506 fi
   7507 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7508 esac
   7509 fi
   7510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7511 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7512 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7513 	CFLAGS="$xorg_testset_save_CFLAGS"
   7514 fi
   7515 
   7516 found="no"
   7517 
   7518 	if test $found = "no" ; then
   7519 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7520 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7521 		fi
   7522 
   7523 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7524 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7525 		fi
   7526 
   7527 		CFLAGS="$CFLAGS -Werror=implicit"
   7528 
   7529 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7530 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7531 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7532 		if eval test \${$cacheid+y}
   7533 then :
   7534   printf %s "(cached) " >&6
   7535 else case e in #(
   7536   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7537 /* end confdefs.h.  */
   7538 int i;
   7539 int
   7540 main (void)
   7541 {
   7542 
   7543   ;
   7544   return 0;
   7545 }
   7546 _ACEOF
   7547 if ac_fn_c_try_link "$LINENO"
   7548 then :
   7549   eval $cacheid=yes
   7550 else case e in #(
   7551   e) eval $cacheid=no ;;
   7552 esac
   7553 fi
   7554 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7555     conftest$ac_exeext conftest.$ac_ext ;;
   7556 esac
   7557 fi
   7558 
   7559 
   7560 		CFLAGS="$xorg_testset_save_CFLAGS"
   7561 
   7562 		eval supported=\$$cacheid
   7563 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7564 printf "%s\n" "$supported" >&6; }
   7565 		if test "$supported" = "yes" ; then
   7566 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7567 			found="yes"
   7568 		fi
   7569 	fi
   7570 
   7571 	if test $found = "no" ; then
   7572 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7573 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7574 		fi
   7575 
   7576 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7577 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7578 		fi
   7579 
   7580 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7581 
   7582 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   7583 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7584 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7585 		if eval test \${$cacheid+y}
   7586 then :
   7587   printf %s "(cached) " >&6
   7588 else case e in #(
   7589   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7590 /* end confdefs.h.  */
   7591 int i;
   7592 int
   7593 main (void)
   7594 {
   7595 
   7596   ;
   7597   return 0;
   7598 }
   7599 _ACEOF
   7600 if ac_fn_c_try_link "$LINENO"
   7601 then :
   7602   eval $cacheid=yes
   7603 else case e in #(
   7604   e) eval $cacheid=no ;;
   7605 esac
   7606 fi
   7607 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7608     conftest$ac_exeext conftest.$ac_ext ;;
   7609 esac
   7610 fi
   7611 
   7612 
   7613 		CFLAGS="$xorg_testset_save_CFLAGS"
   7614 
   7615 		eval supported=\$$cacheid
   7616 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7617 printf "%s\n" "$supported" >&6; }
   7618 		if test "$supported" = "yes" ; then
   7619 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7620 			found="yes"
   7621 		fi
   7622 	fi
   7623 
   7624 
   7625 
   7626 
   7627 
   7628 
   7629 
   7630 
   7631 
   7632 
   7633 
   7634 
   7635 
   7636 
   7637 
   7638 xorg_testset_save_CFLAGS="$CFLAGS"
   7639 
   7640 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7641 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7642 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7643 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7644 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7645 then :
   7646   printf %s "(cached) " >&6
   7647 else case e in #(
   7648   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7649 /* end confdefs.h.  */
   7650 int i;
   7651 _ACEOF
   7652 if ac_fn_c_try_compile "$LINENO"
   7653 then :
   7654   xorg_cv_cc_flag_unknown_warning_option=yes
   7655 else case e in #(
   7656   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7657 esac
   7658 fi
   7659 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7660 esac
   7661 fi
   7662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7663 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7664 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7665 	CFLAGS="$xorg_testset_save_CFLAGS"
   7666 fi
   7667 
   7668 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7669 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7670 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7671 	fi
   7672 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7673 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7674 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7675 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7676 then :
   7677   printf %s "(cached) " >&6
   7678 else case e in #(
   7679   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7680 /* end confdefs.h.  */
   7681 int i;
   7682 _ACEOF
   7683 if ac_fn_c_try_compile "$LINENO"
   7684 then :
   7685   xorg_cv_cc_flag_unused_command_line_argument=yes
   7686 else case e in #(
   7687   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7688 esac
   7689 fi
   7690 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7691 esac
   7692 fi
   7693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7694 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7695 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7696 	CFLAGS="$xorg_testset_save_CFLAGS"
   7697 fi
   7698 
   7699 found="no"
   7700 
   7701 	if test $found = "no" ; then
   7702 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7703 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7704 		fi
   7705 
   7706 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7707 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7708 		fi
   7709 
   7710 		CFLAGS="$CFLAGS -Werror=nonnull"
   7711 
   7712 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7713 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7714 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7715 		if eval test \${$cacheid+y}
   7716 then :
   7717   printf %s "(cached) " >&6
   7718 else case e in #(
   7719   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7720 /* end confdefs.h.  */
   7721 int i;
   7722 int
   7723 main (void)
   7724 {
   7725 
   7726   ;
   7727   return 0;
   7728 }
   7729 _ACEOF
   7730 if ac_fn_c_try_link "$LINENO"
   7731 then :
   7732   eval $cacheid=yes
   7733 else case e in #(
   7734   e) eval $cacheid=no ;;
   7735 esac
   7736 fi
   7737 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7738     conftest$ac_exeext conftest.$ac_ext ;;
   7739 esac
   7740 fi
   7741 
   7742 
   7743 		CFLAGS="$xorg_testset_save_CFLAGS"
   7744 
   7745 		eval supported=\$$cacheid
   7746 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7747 printf "%s\n" "$supported" >&6; }
   7748 		if test "$supported" = "yes" ; then
   7749 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7750 			found="yes"
   7751 		fi
   7752 	fi
   7753 
   7754 
   7755 
   7756 
   7757 
   7758 
   7759 
   7760 
   7761 
   7762 
   7763 
   7764 
   7765 
   7766 
   7767 
   7768 xorg_testset_save_CFLAGS="$CFLAGS"
   7769 
   7770 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7771 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7772 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7773 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7774 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7775 then :
   7776   printf %s "(cached) " >&6
   7777 else case e in #(
   7778   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7779 /* end confdefs.h.  */
   7780 int i;
   7781 _ACEOF
   7782 if ac_fn_c_try_compile "$LINENO"
   7783 then :
   7784   xorg_cv_cc_flag_unknown_warning_option=yes
   7785 else case e in #(
   7786   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7787 esac
   7788 fi
   7789 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7790 esac
   7791 fi
   7792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7793 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7794 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7795 	CFLAGS="$xorg_testset_save_CFLAGS"
   7796 fi
   7797 
   7798 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7799 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7800 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7801 	fi
   7802 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7803 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7804 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7805 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7806 then :
   7807   printf %s "(cached) " >&6
   7808 else case e in #(
   7809   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7810 /* end confdefs.h.  */
   7811 int i;
   7812 _ACEOF
   7813 if ac_fn_c_try_compile "$LINENO"
   7814 then :
   7815   xorg_cv_cc_flag_unused_command_line_argument=yes
   7816 else case e in #(
   7817   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7818 esac
   7819 fi
   7820 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7821 esac
   7822 fi
   7823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7824 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7825 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7826 	CFLAGS="$xorg_testset_save_CFLAGS"
   7827 fi
   7828 
   7829 found="no"
   7830 
   7831 	if test $found = "no" ; then
   7832 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7833 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7834 		fi
   7835 
   7836 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7837 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7838 		fi
   7839 
   7840 		CFLAGS="$CFLAGS -Werror=init-self"
   7841 
   7842 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7843 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7844 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7845 		if eval test \${$cacheid+y}
   7846 then :
   7847   printf %s "(cached) " >&6
   7848 else case e in #(
   7849   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7850 /* end confdefs.h.  */
   7851 int i;
   7852 int
   7853 main (void)
   7854 {
   7855 
   7856   ;
   7857   return 0;
   7858 }
   7859 _ACEOF
   7860 if ac_fn_c_try_link "$LINENO"
   7861 then :
   7862   eval $cacheid=yes
   7863 else case e in #(
   7864   e) eval $cacheid=no ;;
   7865 esac
   7866 fi
   7867 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7868     conftest$ac_exeext conftest.$ac_ext ;;
   7869 esac
   7870 fi
   7871 
   7872 
   7873 		CFLAGS="$xorg_testset_save_CFLAGS"
   7874 
   7875 		eval supported=\$$cacheid
   7876 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7877 printf "%s\n" "$supported" >&6; }
   7878 		if test "$supported" = "yes" ; then
   7879 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7880 			found="yes"
   7881 		fi
   7882 	fi
   7883 
   7884 
   7885 
   7886 
   7887 
   7888 
   7889 
   7890 
   7891 
   7892 
   7893 
   7894 
   7895 
   7896 
   7897 
   7898 xorg_testset_save_CFLAGS="$CFLAGS"
   7899 
   7900 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7901 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7902 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7903 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7904 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7905 then :
   7906   printf %s "(cached) " >&6
   7907 else case e in #(
   7908   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7909 /* end confdefs.h.  */
   7910 int i;
   7911 _ACEOF
   7912 if ac_fn_c_try_compile "$LINENO"
   7913 then :
   7914   xorg_cv_cc_flag_unknown_warning_option=yes
   7915 else case e in #(
   7916   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7917 esac
   7918 fi
   7919 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7920 esac
   7921 fi
   7922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7923 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7924 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7925 	CFLAGS="$xorg_testset_save_CFLAGS"
   7926 fi
   7927 
   7928 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7929 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7930 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7931 	fi
   7932 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7933 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7934 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7935 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7936 then :
   7937   printf %s "(cached) " >&6
   7938 else case e in #(
   7939   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7940 /* end confdefs.h.  */
   7941 int i;
   7942 _ACEOF
   7943 if ac_fn_c_try_compile "$LINENO"
   7944 then :
   7945   xorg_cv_cc_flag_unused_command_line_argument=yes
   7946 else case e in #(
   7947   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7948 esac
   7949 fi
   7950 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7951 esac
   7952 fi
   7953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7954 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7955 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7956 	CFLAGS="$xorg_testset_save_CFLAGS"
   7957 fi
   7958 
   7959 found="no"
   7960 
   7961 	if test $found = "no" ; then
   7962 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7963 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7964 		fi
   7965 
   7966 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7967 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7968 		fi
   7969 
   7970 		CFLAGS="$CFLAGS -Werror=main"
   7971 
   7972 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7973 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7974 		cacheid=xorg_cv_cc_flag__Werror_main
   7975 		if eval test \${$cacheid+y}
   7976 then :
   7977   printf %s "(cached) " >&6
   7978 else case e in #(
   7979   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7980 /* end confdefs.h.  */
   7981 int i;
   7982 int
   7983 main (void)
   7984 {
   7985 
   7986   ;
   7987   return 0;
   7988 }
   7989 _ACEOF
   7990 if ac_fn_c_try_link "$LINENO"
   7991 then :
   7992   eval $cacheid=yes
   7993 else case e in #(
   7994   e) eval $cacheid=no ;;
   7995 esac
   7996 fi
   7997 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7998     conftest$ac_exeext conftest.$ac_ext ;;
   7999 esac
   8000 fi
   8001 
   8002 
   8003 		CFLAGS="$xorg_testset_save_CFLAGS"
   8004 
   8005 		eval supported=\$$cacheid
   8006 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8007 printf "%s\n" "$supported" >&6; }
   8008 		if test "$supported" = "yes" ; then
   8009 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   8010 			found="yes"
   8011 		fi
   8012 	fi
   8013 
   8014 
   8015 
   8016 
   8017 
   8018 
   8019 
   8020 
   8021 
   8022 
   8023 
   8024 
   8025 
   8026 
   8027 
   8028 xorg_testset_save_CFLAGS="$CFLAGS"
   8029 
   8030 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8031 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8032 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8033 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8034 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8035 then :
   8036   printf %s "(cached) " >&6
   8037 else case e in #(
   8038   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8039 /* end confdefs.h.  */
   8040 int i;
   8041 _ACEOF
   8042 if ac_fn_c_try_compile "$LINENO"
   8043 then :
   8044   xorg_cv_cc_flag_unknown_warning_option=yes
   8045 else case e in #(
   8046   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8047 esac
   8048 fi
   8049 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8050 esac
   8051 fi
   8052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8053 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8054 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8055 	CFLAGS="$xorg_testset_save_CFLAGS"
   8056 fi
   8057 
   8058 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8059 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8060 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8061 	fi
   8062 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8063 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8064 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8065 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8066 then :
   8067   printf %s "(cached) " >&6
   8068 else case e in #(
   8069   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8070 /* end confdefs.h.  */
   8071 int i;
   8072 _ACEOF
   8073 if ac_fn_c_try_compile "$LINENO"
   8074 then :
   8075   xorg_cv_cc_flag_unused_command_line_argument=yes
   8076 else case e in #(
   8077   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8078 esac
   8079 fi
   8080 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8081 esac
   8082 fi
   8083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8084 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8085 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8086 	CFLAGS="$xorg_testset_save_CFLAGS"
   8087 fi
   8088 
   8089 found="no"
   8090 
   8091 	if test $found = "no" ; then
   8092 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8093 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8094 		fi
   8095 
   8096 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8097 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8098 		fi
   8099 
   8100 		CFLAGS="$CFLAGS -Werror=missing-braces"
   8101 
   8102 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   8103 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   8104 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   8105 		if eval test \${$cacheid+y}
   8106 then :
   8107   printf %s "(cached) " >&6
   8108 else case e in #(
   8109   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8110 /* end confdefs.h.  */
   8111 int i;
   8112 int
   8113 main (void)
   8114 {
   8115 
   8116   ;
   8117   return 0;
   8118 }
   8119 _ACEOF
   8120 if ac_fn_c_try_link "$LINENO"
   8121 then :
   8122   eval $cacheid=yes
   8123 else case e in #(
   8124   e) eval $cacheid=no ;;
   8125 esac
   8126 fi
   8127 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8128     conftest$ac_exeext conftest.$ac_ext ;;
   8129 esac
   8130 fi
   8131 
   8132 
   8133 		CFLAGS="$xorg_testset_save_CFLAGS"
   8134 
   8135 		eval supported=\$$cacheid
   8136 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8137 printf "%s\n" "$supported" >&6; }
   8138 		if test "$supported" = "yes" ; then
   8139 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   8140 			found="yes"
   8141 		fi
   8142 	fi
   8143 
   8144 
   8145 
   8146 
   8147 
   8148 
   8149 
   8150 
   8151 
   8152 
   8153 
   8154 
   8155 
   8156 
   8157 
   8158 xorg_testset_save_CFLAGS="$CFLAGS"
   8159 
   8160 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8161 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8162 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8163 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8164 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8165 then :
   8166   printf %s "(cached) " >&6
   8167 else case e in #(
   8168   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8169 /* end confdefs.h.  */
   8170 int i;
   8171 _ACEOF
   8172 if ac_fn_c_try_compile "$LINENO"
   8173 then :
   8174   xorg_cv_cc_flag_unknown_warning_option=yes
   8175 else case e in #(
   8176   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8177 esac
   8178 fi
   8179 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8180 esac
   8181 fi
   8182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8183 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8184 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8185 	CFLAGS="$xorg_testset_save_CFLAGS"
   8186 fi
   8187 
   8188 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8189 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8190 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8191 	fi
   8192 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8193 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8194 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8195 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8196 then :
   8197   printf %s "(cached) " >&6
   8198 else case e in #(
   8199   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8200 /* end confdefs.h.  */
   8201 int i;
   8202 _ACEOF
   8203 if ac_fn_c_try_compile "$LINENO"
   8204 then :
   8205   xorg_cv_cc_flag_unused_command_line_argument=yes
   8206 else case e in #(
   8207   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8208 esac
   8209 fi
   8210 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8211 esac
   8212 fi
   8213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8214 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8215 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8216 	CFLAGS="$xorg_testset_save_CFLAGS"
   8217 fi
   8218 
   8219 found="no"
   8220 
   8221 	if test $found = "no" ; then
   8222 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8223 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8224 		fi
   8225 
   8226 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8227 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8228 		fi
   8229 
   8230 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8231 
   8232 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8233 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   8234 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8235 		if eval test \${$cacheid+y}
   8236 then :
   8237   printf %s "(cached) " >&6
   8238 else case e in #(
   8239   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8240 /* end confdefs.h.  */
   8241 int i;
   8242 int
   8243 main (void)
   8244 {
   8245 
   8246   ;
   8247   return 0;
   8248 }
   8249 _ACEOF
   8250 if ac_fn_c_try_link "$LINENO"
   8251 then :
   8252   eval $cacheid=yes
   8253 else case e in #(
   8254   e) eval $cacheid=no ;;
   8255 esac
   8256 fi
   8257 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8258     conftest$ac_exeext conftest.$ac_ext ;;
   8259 esac
   8260 fi
   8261 
   8262 
   8263 		CFLAGS="$xorg_testset_save_CFLAGS"
   8264 
   8265 		eval supported=\$$cacheid
   8266 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8267 printf "%s\n" "$supported" >&6; }
   8268 		if test "$supported" = "yes" ; then
   8269 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8270 			found="yes"
   8271 		fi
   8272 	fi
   8273 
   8274 
   8275 
   8276 
   8277 
   8278 
   8279 
   8280 
   8281 
   8282 
   8283 
   8284 
   8285 
   8286 
   8287 
   8288 xorg_testset_save_CFLAGS="$CFLAGS"
   8289 
   8290 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8291 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8292 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8293 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8294 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8295 then :
   8296   printf %s "(cached) " >&6
   8297 else case e in #(
   8298   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8299 /* end confdefs.h.  */
   8300 int i;
   8301 _ACEOF
   8302 if ac_fn_c_try_compile "$LINENO"
   8303 then :
   8304   xorg_cv_cc_flag_unknown_warning_option=yes
   8305 else case e in #(
   8306   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8307 esac
   8308 fi
   8309 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8310 esac
   8311 fi
   8312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8313 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8314 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8315 	CFLAGS="$xorg_testset_save_CFLAGS"
   8316 fi
   8317 
   8318 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8319 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8320 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8321 	fi
   8322 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8323 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8324 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8325 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8326 then :
   8327   printf %s "(cached) " >&6
   8328 else case e in #(
   8329   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8330 /* end confdefs.h.  */
   8331 int i;
   8332 _ACEOF
   8333 if ac_fn_c_try_compile "$LINENO"
   8334 then :
   8335   xorg_cv_cc_flag_unused_command_line_argument=yes
   8336 else case e in #(
   8337   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8338 esac
   8339 fi
   8340 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8341 esac
   8342 fi
   8343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8344 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8345 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8346 	CFLAGS="$xorg_testset_save_CFLAGS"
   8347 fi
   8348 
   8349 found="no"
   8350 
   8351 	if test $found = "no" ; then
   8352 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8353 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8354 		fi
   8355 
   8356 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8357 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8358 		fi
   8359 
   8360 		CFLAGS="$CFLAGS -Werror=return-type"
   8361 
   8362 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8363 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8364 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8365 		if eval test \${$cacheid+y}
   8366 then :
   8367   printf %s "(cached) " >&6
   8368 else case e in #(
   8369   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8370 /* end confdefs.h.  */
   8371 int i;
   8372 int
   8373 main (void)
   8374 {
   8375 
   8376   ;
   8377   return 0;
   8378 }
   8379 _ACEOF
   8380 if ac_fn_c_try_link "$LINENO"
   8381 then :
   8382   eval $cacheid=yes
   8383 else case e in #(
   8384   e) eval $cacheid=no ;;
   8385 esac
   8386 fi
   8387 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8388     conftest$ac_exeext conftest.$ac_ext ;;
   8389 esac
   8390 fi
   8391 
   8392 
   8393 		CFLAGS="$xorg_testset_save_CFLAGS"
   8394 
   8395 		eval supported=\$$cacheid
   8396 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8397 printf "%s\n" "$supported" >&6; }
   8398 		if test "$supported" = "yes" ; then
   8399 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8400 			found="yes"
   8401 		fi
   8402 	fi
   8403 
   8404 	if test $found = "no" ; then
   8405 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8406 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8407 		fi
   8408 
   8409 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8410 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8411 		fi
   8412 
   8413 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8414 
   8415 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8416 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8417 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8418 		if eval test \${$cacheid+y}
   8419 then :
   8420   printf %s "(cached) " >&6
   8421 else case e in #(
   8422   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8423 /* end confdefs.h.  */
   8424 int i;
   8425 int
   8426 main (void)
   8427 {
   8428 
   8429   ;
   8430   return 0;
   8431 }
   8432 _ACEOF
   8433 if ac_fn_c_try_link "$LINENO"
   8434 then :
   8435   eval $cacheid=yes
   8436 else case e in #(
   8437   e) eval $cacheid=no ;;
   8438 esac
   8439 fi
   8440 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8441     conftest$ac_exeext conftest.$ac_ext ;;
   8442 esac
   8443 fi
   8444 
   8445 
   8446 		CFLAGS="$xorg_testset_save_CFLAGS"
   8447 
   8448 		eval supported=\$$cacheid
   8449 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8450 printf "%s\n" "$supported" >&6; }
   8451 		if test "$supported" = "yes" ; then
   8452 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8453 			found="yes"
   8454 		fi
   8455 	fi
   8456 
   8457 
   8458 
   8459 
   8460 
   8461 
   8462 
   8463 
   8464 
   8465 
   8466 
   8467 
   8468 
   8469 
   8470 
   8471 xorg_testset_save_CFLAGS="$CFLAGS"
   8472 
   8473 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8474 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8475 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8476 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8477 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8478 then :
   8479   printf %s "(cached) " >&6
   8480 else case e in #(
   8481   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8482 /* end confdefs.h.  */
   8483 int i;
   8484 _ACEOF
   8485 if ac_fn_c_try_compile "$LINENO"
   8486 then :
   8487   xorg_cv_cc_flag_unknown_warning_option=yes
   8488 else case e in #(
   8489   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8490 esac
   8491 fi
   8492 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8493 esac
   8494 fi
   8495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8496 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8497 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8498 	CFLAGS="$xorg_testset_save_CFLAGS"
   8499 fi
   8500 
   8501 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8502 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8503 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8504 	fi
   8505 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8506 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8507 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8508 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8509 then :
   8510   printf %s "(cached) " >&6
   8511 else case e in #(
   8512   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8513 /* end confdefs.h.  */
   8514 int i;
   8515 _ACEOF
   8516 if ac_fn_c_try_compile "$LINENO"
   8517 then :
   8518   xorg_cv_cc_flag_unused_command_line_argument=yes
   8519 else case e in #(
   8520   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8521 esac
   8522 fi
   8523 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8524 esac
   8525 fi
   8526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8527 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8528 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8529 	CFLAGS="$xorg_testset_save_CFLAGS"
   8530 fi
   8531 
   8532 found="no"
   8533 
   8534 	if test $found = "no" ; then
   8535 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8536 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8537 		fi
   8538 
   8539 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8540 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8541 		fi
   8542 
   8543 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8544 
   8545 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8546 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8547 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8548 		if eval test \${$cacheid+y}
   8549 then :
   8550   printf %s "(cached) " >&6
   8551 else case e in #(
   8552   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8553 /* end confdefs.h.  */
   8554 int i;
   8555 int
   8556 main (void)
   8557 {
   8558 
   8559   ;
   8560   return 0;
   8561 }
   8562 _ACEOF
   8563 if ac_fn_c_try_link "$LINENO"
   8564 then :
   8565   eval $cacheid=yes
   8566 else case e in #(
   8567   e) eval $cacheid=no ;;
   8568 esac
   8569 fi
   8570 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8571     conftest$ac_exeext conftest.$ac_ext ;;
   8572 esac
   8573 fi
   8574 
   8575 
   8576 		CFLAGS="$xorg_testset_save_CFLAGS"
   8577 
   8578 		eval supported=\$$cacheid
   8579 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8580 printf "%s\n" "$supported" >&6; }
   8581 		if test "$supported" = "yes" ; then
   8582 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8583 			found="yes"
   8584 		fi
   8585 	fi
   8586 
   8587 
   8588 
   8589 
   8590 
   8591 
   8592 
   8593 
   8594 
   8595 
   8596 
   8597 
   8598 
   8599 
   8600 
   8601 xorg_testset_save_CFLAGS="$CFLAGS"
   8602 
   8603 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8604 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8605 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8606 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8607 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8608 then :
   8609   printf %s "(cached) " >&6
   8610 else case e in #(
   8611   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8612 /* end confdefs.h.  */
   8613 int i;
   8614 _ACEOF
   8615 if ac_fn_c_try_compile "$LINENO"
   8616 then :
   8617   xorg_cv_cc_flag_unknown_warning_option=yes
   8618 else case e in #(
   8619   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8620 esac
   8621 fi
   8622 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8623 esac
   8624 fi
   8625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8626 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8627 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8628 	CFLAGS="$xorg_testset_save_CFLAGS"
   8629 fi
   8630 
   8631 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8632 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8633 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8634 	fi
   8635 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8636 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8637 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8638 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8639 then :
   8640   printf %s "(cached) " >&6
   8641 else case e in #(
   8642   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8643 /* end confdefs.h.  */
   8644 int i;
   8645 _ACEOF
   8646 if ac_fn_c_try_compile "$LINENO"
   8647 then :
   8648   xorg_cv_cc_flag_unused_command_line_argument=yes
   8649 else case e in #(
   8650   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8651 esac
   8652 fi
   8653 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8654 esac
   8655 fi
   8656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8657 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8658 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8659 	CFLAGS="$xorg_testset_save_CFLAGS"
   8660 fi
   8661 
   8662 found="no"
   8663 
   8664 	if test $found = "no" ; then
   8665 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8666 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8667 		fi
   8668 
   8669 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8670 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8671 		fi
   8672 
   8673 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8674 
   8675 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8676 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8677 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8678 		if eval test \${$cacheid+y}
   8679 then :
   8680   printf %s "(cached) " >&6
   8681 else case e in #(
   8682   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8683 /* end confdefs.h.  */
   8684 int i;
   8685 int
   8686 main (void)
   8687 {
   8688 
   8689   ;
   8690   return 0;
   8691 }
   8692 _ACEOF
   8693 if ac_fn_c_try_link "$LINENO"
   8694 then :
   8695   eval $cacheid=yes
   8696 else case e in #(
   8697   e) eval $cacheid=no ;;
   8698 esac
   8699 fi
   8700 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8701     conftest$ac_exeext conftest.$ac_ext ;;
   8702 esac
   8703 fi
   8704 
   8705 
   8706 		CFLAGS="$xorg_testset_save_CFLAGS"
   8707 
   8708 		eval supported=\$$cacheid
   8709 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8710 printf "%s\n" "$supported" >&6; }
   8711 		if test "$supported" = "yes" ; then
   8712 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8713 			found="yes"
   8714 		fi
   8715 	fi
   8716 
   8717 
   8718 
   8719 
   8720 
   8721 
   8722 
   8723 
   8724 
   8725 
   8726 
   8727 
   8728 
   8729 
   8730 
   8731 xorg_testset_save_CFLAGS="$CFLAGS"
   8732 
   8733 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8734 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8735 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8736 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8737 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8738 then :
   8739   printf %s "(cached) " >&6
   8740 else case e in #(
   8741   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8742 /* end confdefs.h.  */
   8743 int i;
   8744 _ACEOF
   8745 if ac_fn_c_try_compile "$LINENO"
   8746 then :
   8747   xorg_cv_cc_flag_unknown_warning_option=yes
   8748 else case e in #(
   8749   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8750 esac
   8751 fi
   8752 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8753 esac
   8754 fi
   8755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8756 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8757 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8758 	CFLAGS="$xorg_testset_save_CFLAGS"
   8759 fi
   8760 
   8761 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8762 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8763 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8764 	fi
   8765 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8766 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8767 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8768 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8769 then :
   8770   printf %s "(cached) " >&6
   8771 else case e in #(
   8772   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8773 /* end confdefs.h.  */
   8774 int i;
   8775 _ACEOF
   8776 if ac_fn_c_try_compile "$LINENO"
   8777 then :
   8778   xorg_cv_cc_flag_unused_command_line_argument=yes
   8779 else case e in #(
   8780   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8781 esac
   8782 fi
   8783 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8784 esac
   8785 fi
   8786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8787 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8788 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8789 	CFLAGS="$xorg_testset_save_CFLAGS"
   8790 fi
   8791 
   8792 found="no"
   8793 
   8794 	if test $found = "no" ; then
   8795 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8796 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8797 		fi
   8798 
   8799 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8800 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8801 		fi
   8802 
   8803 		CFLAGS="$CFLAGS -Werror=write-strings"
   8804 
   8805 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8806 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8807 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8808 		if eval test \${$cacheid+y}
   8809 then :
   8810   printf %s "(cached) " >&6
   8811 else case e in #(
   8812   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8813 /* end confdefs.h.  */
   8814 int i;
   8815 int
   8816 main (void)
   8817 {
   8818 
   8819   ;
   8820   return 0;
   8821 }
   8822 _ACEOF
   8823 if ac_fn_c_try_link "$LINENO"
   8824 then :
   8825   eval $cacheid=yes
   8826 else case e in #(
   8827   e) eval $cacheid=no ;;
   8828 esac
   8829 fi
   8830 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8831     conftest$ac_exeext conftest.$ac_ext ;;
   8832 esac
   8833 fi
   8834 
   8835 
   8836 		CFLAGS="$xorg_testset_save_CFLAGS"
   8837 
   8838 		eval supported=\$$cacheid
   8839 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8840 printf "%s\n" "$supported" >&6; }
   8841 		if test "$supported" = "yes" ; then
   8842 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8843 			found="yes"
   8844 		fi
   8845 	fi
   8846 
   8847 
   8848 
   8849 
   8850 
   8851 
   8852 
   8853 
   8854 
   8855 
   8856 
   8857 
   8858 
   8859 
   8860 
   8861 xorg_testset_save_CFLAGS="$CFLAGS"
   8862 
   8863 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8864 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8865 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8866 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8867 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8868 then :
   8869   printf %s "(cached) " >&6
   8870 else case e in #(
   8871   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8872 /* end confdefs.h.  */
   8873 int i;
   8874 _ACEOF
   8875 if ac_fn_c_try_compile "$LINENO"
   8876 then :
   8877   xorg_cv_cc_flag_unknown_warning_option=yes
   8878 else case e in #(
   8879   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8880 esac
   8881 fi
   8882 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8883 esac
   8884 fi
   8885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8886 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8887 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8888 	CFLAGS="$xorg_testset_save_CFLAGS"
   8889 fi
   8890 
   8891 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8892 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8893 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8894 	fi
   8895 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8896 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8897 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8898 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8899 then :
   8900   printf %s "(cached) " >&6
   8901 else case e in #(
   8902   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8903 /* end confdefs.h.  */
   8904 int i;
   8905 _ACEOF
   8906 if ac_fn_c_try_compile "$LINENO"
   8907 then :
   8908   xorg_cv_cc_flag_unused_command_line_argument=yes
   8909 else case e in #(
   8910   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8911 esac
   8912 fi
   8913 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8914 esac
   8915 fi
   8916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8917 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8918 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8919 	CFLAGS="$xorg_testset_save_CFLAGS"
   8920 fi
   8921 
   8922 found="no"
   8923 
   8924 	if test $found = "no" ; then
   8925 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8926 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8927 		fi
   8928 
   8929 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8930 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8931 		fi
   8932 
   8933 		CFLAGS="$CFLAGS -Werror=address"
   8934 
   8935 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8936 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8937 		cacheid=xorg_cv_cc_flag__Werror_address
   8938 		if eval test \${$cacheid+y}
   8939 then :
   8940   printf %s "(cached) " >&6
   8941 else case e in #(
   8942   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8943 /* end confdefs.h.  */
   8944 int i;
   8945 int
   8946 main (void)
   8947 {
   8948 
   8949   ;
   8950   return 0;
   8951 }
   8952 _ACEOF
   8953 if ac_fn_c_try_link "$LINENO"
   8954 then :
   8955   eval $cacheid=yes
   8956 else case e in #(
   8957   e) eval $cacheid=no ;;
   8958 esac
   8959 fi
   8960 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8961     conftest$ac_exeext conftest.$ac_ext ;;
   8962 esac
   8963 fi
   8964 
   8965 
   8966 		CFLAGS="$xorg_testset_save_CFLAGS"
   8967 
   8968 		eval supported=\$$cacheid
   8969 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8970 printf "%s\n" "$supported" >&6; }
   8971 		if test "$supported" = "yes" ; then
   8972 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8973 			found="yes"
   8974 		fi
   8975 	fi
   8976 
   8977 
   8978 
   8979 
   8980 
   8981 
   8982 
   8983 
   8984 
   8985 
   8986 
   8987 
   8988 
   8989 
   8990 
   8991 xorg_testset_save_CFLAGS="$CFLAGS"
   8992 
   8993 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8994 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8995 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8996 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8997 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8998 then :
   8999   printf %s "(cached) " >&6
   9000 else case e in #(
   9001   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9002 /* end confdefs.h.  */
   9003 int i;
   9004 _ACEOF
   9005 if ac_fn_c_try_compile "$LINENO"
   9006 then :
   9007   xorg_cv_cc_flag_unknown_warning_option=yes
   9008 else case e in #(
   9009   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9010 esac
   9011 fi
   9012 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9013 esac
   9014 fi
   9015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9016 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9017 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9018 	CFLAGS="$xorg_testset_save_CFLAGS"
   9019 fi
   9020 
   9021 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9022 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9023 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9024 	fi
   9025 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9026 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9027 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9028 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9029 then :
   9030   printf %s "(cached) " >&6
   9031 else case e in #(
   9032   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9033 /* end confdefs.h.  */
   9034 int i;
   9035 _ACEOF
   9036 if ac_fn_c_try_compile "$LINENO"
   9037 then :
   9038   xorg_cv_cc_flag_unused_command_line_argument=yes
   9039 else case e in #(
   9040   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9041 esac
   9042 fi
   9043 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9044 esac
   9045 fi
   9046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9047 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9048 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9049 	CFLAGS="$xorg_testset_save_CFLAGS"
   9050 fi
   9051 
   9052 found="no"
   9053 
   9054 	if test $found = "no" ; then
   9055 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9056 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9057 		fi
   9058 
   9059 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9060 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9061 		fi
   9062 
   9063 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   9064 
   9065 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   9066 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   9067 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   9068 		if eval test \${$cacheid+y}
   9069 then :
   9070   printf %s "(cached) " >&6
   9071 else case e in #(
   9072   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9073 /* end confdefs.h.  */
   9074 int i;
   9075 int
   9076 main (void)
   9077 {
   9078 
   9079   ;
   9080   return 0;
   9081 }
   9082 _ACEOF
   9083 if ac_fn_c_try_link "$LINENO"
   9084 then :
   9085   eval $cacheid=yes
   9086 else case e in #(
   9087   e) eval $cacheid=no ;;
   9088 esac
   9089 fi
   9090 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9091     conftest$ac_exeext conftest.$ac_ext ;;
   9092 esac
   9093 fi
   9094 
   9095 
   9096 		CFLAGS="$xorg_testset_save_CFLAGS"
   9097 
   9098 		eval supported=\$$cacheid
   9099 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9100 printf "%s\n" "$supported" >&6; }
   9101 		if test "$supported" = "yes" ; then
   9102 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   9103 			found="yes"
   9104 		fi
   9105 	fi
   9106 
   9107 	if test $found = "no" ; then
   9108 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9109 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9110 		fi
   9111 
   9112 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9113 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9114 		fi
   9115 
   9116 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9117 
   9118 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   9119 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   9120 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   9121 		if eval test \${$cacheid+y}
   9122 then :
   9123   printf %s "(cached) " >&6
   9124 else case e in #(
   9125   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9126 /* end confdefs.h.  */
   9127 int i;
   9128 int
   9129 main (void)
   9130 {
   9131 
   9132   ;
   9133   return 0;
   9134 }
   9135 _ACEOF
   9136 if ac_fn_c_try_link "$LINENO"
   9137 then :
   9138   eval $cacheid=yes
   9139 else case e in #(
   9140   e) eval $cacheid=no ;;
   9141 esac
   9142 fi
   9143 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9144     conftest$ac_exeext conftest.$ac_ext ;;
   9145 esac
   9146 fi
   9147 
   9148 
   9149 		CFLAGS="$xorg_testset_save_CFLAGS"
   9150 
   9151 		eval supported=\$$cacheid
   9152 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9153 printf "%s\n" "$supported" >&6; }
   9154 		if test "$supported" = "yes" ; then
   9155 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9156 			found="yes"
   9157 		fi
   9158 	fi
   9159 
   9160 
   9161 
   9162 
   9163 
   9164 
   9165 
   9166 
   9167 
   9168 
   9169 
   9170 
   9171 
   9172 
   9173 
   9174 xorg_testset_save_CFLAGS="$CFLAGS"
   9175 
   9176 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9177 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9178 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9179 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9180 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9181 then :
   9182   printf %s "(cached) " >&6
   9183 else case e in #(
   9184   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9185 /* end confdefs.h.  */
   9186 int i;
   9187 _ACEOF
   9188 if ac_fn_c_try_compile "$LINENO"
   9189 then :
   9190   xorg_cv_cc_flag_unknown_warning_option=yes
   9191 else case e in #(
   9192   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9193 esac
   9194 fi
   9195 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9196 esac
   9197 fi
   9198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9199 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9200 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9201 	CFLAGS="$xorg_testset_save_CFLAGS"
   9202 fi
   9203 
   9204 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9205 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9206 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9207 	fi
   9208 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9209 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9210 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9211 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9212 then :
   9213   printf %s "(cached) " >&6
   9214 else case e in #(
   9215   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9216 /* end confdefs.h.  */
   9217 int i;
   9218 _ACEOF
   9219 if ac_fn_c_try_compile "$LINENO"
   9220 then :
   9221   xorg_cv_cc_flag_unused_command_line_argument=yes
   9222 else case e in #(
   9223   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9224 esac
   9225 fi
   9226 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9227 esac
   9228 fi
   9229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9230 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9231 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9232 	CFLAGS="$xorg_testset_save_CFLAGS"
   9233 fi
   9234 
   9235 found="no"
   9236 
   9237 	if test $found = "no" ; then
   9238 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9239 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9240 		fi
   9241 
   9242 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9243 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9244 		fi
   9245 
   9246 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   9247 
   9248 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   9249 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   9250 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   9251 		if eval test \${$cacheid+y}
   9252 then :
   9253   printf %s "(cached) " >&6
   9254 else case e in #(
   9255   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9256 /* end confdefs.h.  */
   9257 int i;
   9258 int
   9259 main (void)
   9260 {
   9261 
   9262   ;
   9263   return 0;
   9264 }
   9265 _ACEOF
   9266 if ac_fn_c_try_link "$LINENO"
   9267 then :
   9268   eval $cacheid=yes
   9269 else case e in #(
   9270   e) eval $cacheid=no ;;
   9271 esac
   9272 fi
   9273 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9274     conftest$ac_exeext conftest.$ac_ext ;;
   9275 esac
   9276 fi
   9277 
   9278 
   9279 		CFLAGS="$xorg_testset_save_CFLAGS"
   9280 
   9281 		eval supported=\$$cacheid
   9282 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9283 printf "%s\n" "$supported" >&6; }
   9284 		if test "$supported" = "yes" ; then
   9285 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   9286 			found="yes"
   9287 		fi
   9288 	fi
   9289 
   9290  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   9291 else
   9292 { printf "%s\n" "$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
   9293 printf "%s\n" "$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;}
   9294 
   9295 
   9296 
   9297 
   9298 
   9299 
   9300 
   9301 
   9302 
   9303 
   9304 
   9305 
   9306 
   9307 xorg_testset_save_CFLAGS="$CFLAGS"
   9308 
   9309 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9310 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9311 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9312 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9313 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9314 then :
   9315   printf %s "(cached) " >&6
   9316 else case e in #(
   9317   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9318 /* end confdefs.h.  */
   9319 int i;
   9320 _ACEOF
   9321 if ac_fn_c_try_compile "$LINENO"
   9322 then :
   9323   xorg_cv_cc_flag_unknown_warning_option=yes
   9324 else case e in #(
   9325   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9326 esac
   9327 fi
   9328 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9329 esac
   9330 fi
   9331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9332 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9333 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9334 	CFLAGS="$xorg_testset_save_CFLAGS"
   9335 fi
   9336 
   9337 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9338 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9339 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9340 	fi
   9341 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9342 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9343 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9344 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9345 then :
   9346   printf %s "(cached) " >&6
   9347 else case e in #(
   9348   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9349 /* end confdefs.h.  */
   9350 int i;
   9351 _ACEOF
   9352 if ac_fn_c_try_compile "$LINENO"
   9353 then :
   9354   xorg_cv_cc_flag_unused_command_line_argument=yes
   9355 else case e in #(
   9356   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9357 esac
   9358 fi
   9359 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9360 esac
   9361 fi
   9362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9363 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9364 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9365 	CFLAGS="$xorg_testset_save_CFLAGS"
   9366 fi
   9367 
   9368 found="no"
   9369 
   9370 	if test $found = "no" ; then
   9371 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9372 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9373 		fi
   9374 
   9375 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9376 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9377 		fi
   9378 
   9379 		CFLAGS="$CFLAGS -Wimplicit"
   9380 
   9381 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9382 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9383 		cacheid=xorg_cv_cc_flag__Wimplicit
   9384 		if eval test \${$cacheid+y}
   9385 then :
   9386   printf %s "(cached) " >&6
   9387 else case e in #(
   9388   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9389 /* end confdefs.h.  */
   9390 int i;
   9391 int
   9392 main (void)
   9393 {
   9394 
   9395   ;
   9396   return 0;
   9397 }
   9398 _ACEOF
   9399 if ac_fn_c_try_link "$LINENO"
   9400 then :
   9401   eval $cacheid=yes
   9402 else case e in #(
   9403   e) eval $cacheid=no ;;
   9404 esac
   9405 fi
   9406 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9407     conftest$ac_exeext conftest.$ac_ext ;;
   9408 esac
   9409 fi
   9410 
   9411 
   9412 		CFLAGS="$xorg_testset_save_CFLAGS"
   9413 
   9414 		eval supported=\$$cacheid
   9415 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9416 printf "%s\n" "$supported" >&6; }
   9417 		if test "$supported" = "yes" ; then
   9418 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9419 			found="yes"
   9420 		fi
   9421 	fi
   9422 
   9423 
   9424 
   9425 
   9426 
   9427 
   9428 
   9429 
   9430 
   9431 
   9432 
   9433 
   9434 
   9435 
   9436 
   9437 xorg_testset_save_CFLAGS="$CFLAGS"
   9438 
   9439 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9440 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9441 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9442 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9443 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9444 then :
   9445   printf %s "(cached) " >&6
   9446 else case e in #(
   9447   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9448 /* end confdefs.h.  */
   9449 int i;
   9450 _ACEOF
   9451 if ac_fn_c_try_compile "$LINENO"
   9452 then :
   9453   xorg_cv_cc_flag_unknown_warning_option=yes
   9454 else case e in #(
   9455   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9456 esac
   9457 fi
   9458 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9459 esac
   9460 fi
   9461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9462 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9463 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9464 	CFLAGS="$xorg_testset_save_CFLAGS"
   9465 fi
   9466 
   9467 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9468 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9469 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9470 	fi
   9471 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9472 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9473 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9474 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9475 then :
   9476   printf %s "(cached) " >&6
   9477 else case e in #(
   9478   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9479 /* end confdefs.h.  */
   9480 int i;
   9481 _ACEOF
   9482 if ac_fn_c_try_compile "$LINENO"
   9483 then :
   9484   xorg_cv_cc_flag_unused_command_line_argument=yes
   9485 else case e in #(
   9486   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9487 esac
   9488 fi
   9489 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9490 esac
   9491 fi
   9492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9493 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9494 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9495 	CFLAGS="$xorg_testset_save_CFLAGS"
   9496 fi
   9497 
   9498 found="no"
   9499 
   9500 	if test $found = "no" ; then
   9501 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9502 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9503 		fi
   9504 
   9505 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9506 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9507 		fi
   9508 
   9509 		CFLAGS="$CFLAGS -Wnonnull"
   9510 
   9511 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9512 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9513 		cacheid=xorg_cv_cc_flag__Wnonnull
   9514 		if eval test \${$cacheid+y}
   9515 then :
   9516   printf %s "(cached) " >&6
   9517 else case e in #(
   9518   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9519 /* end confdefs.h.  */
   9520 int i;
   9521 int
   9522 main (void)
   9523 {
   9524 
   9525   ;
   9526   return 0;
   9527 }
   9528 _ACEOF
   9529 if ac_fn_c_try_link "$LINENO"
   9530 then :
   9531   eval $cacheid=yes
   9532 else case e in #(
   9533   e) eval $cacheid=no ;;
   9534 esac
   9535 fi
   9536 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9537     conftest$ac_exeext conftest.$ac_ext ;;
   9538 esac
   9539 fi
   9540 
   9541 
   9542 		CFLAGS="$xorg_testset_save_CFLAGS"
   9543 
   9544 		eval supported=\$$cacheid
   9545 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9546 printf "%s\n" "$supported" >&6; }
   9547 		if test "$supported" = "yes" ; then
   9548 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9549 			found="yes"
   9550 		fi
   9551 	fi
   9552 
   9553 
   9554 
   9555 
   9556 
   9557 
   9558 
   9559 
   9560 
   9561 
   9562 
   9563 
   9564 
   9565 
   9566 
   9567 xorg_testset_save_CFLAGS="$CFLAGS"
   9568 
   9569 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9570 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9571 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9572 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9573 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9574 then :
   9575   printf %s "(cached) " >&6
   9576 else case e in #(
   9577   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9578 /* end confdefs.h.  */
   9579 int i;
   9580 _ACEOF
   9581 if ac_fn_c_try_compile "$LINENO"
   9582 then :
   9583   xorg_cv_cc_flag_unknown_warning_option=yes
   9584 else case e in #(
   9585   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9586 esac
   9587 fi
   9588 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9589 esac
   9590 fi
   9591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9592 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9593 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9594 	CFLAGS="$xorg_testset_save_CFLAGS"
   9595 fi
   9596 
   9597 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9598 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9599 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9600 	fi
   9601 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9602 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9603 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9604 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9605 then :
   9606   printf %s "(cached) " >&6
   9607 else case e in #(
   9608   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9609 /* end confdefs.h.  */
   9610 int i;
   9611 _ACEOF
   9612 if ac_fn_c_try_compile "$LINENO"
   9613 then :
   9614   xorg_cv_cc_flag_unused_command_line_argument=yes
   9615 else case e in #(
   9616   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9617 esac
   9618 fi
   9619 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9620 esac
   9621 fi
   9622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9623 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9624 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9625 	CFLAGS="$xorg_testset_save_CFLAGS"
   9626 fi
   9627 
   9628 found="no"
   9629 
   9630 	if test $found = "no" ; then
   9631 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9632 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9633 		fi
   9634 
   9635 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9636 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9637 		fi
   9638 
   9639 		CFLAGS="$CFLAGS -Winit-self"
   9640 
   9641 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9642 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9643 		cacheid=xorg_cv_cc_flag__Winit_self
   9644 		if eval test \${$cacheid+y}
   9645 then :
   9646   printf %s "(cached) " >&6
   9647 else case e in #(
   9648   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9649 /* end confdefs.h.  */
   9650 int i;
   9651 int
   9652 main (void)
   9653 {
   9654 
   9655   ;
   9656   return 0;
   9657 }
   9658 _ACEOF
   9659 if ac_fn_c_try_link "$LINENO"
   9660 then :
   9661   eval $cacheid=yes
   9662 else case e in #(
   9663   e) eval $cacheid=no ;;
   9664 esac
   9665 fi
   9666 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9667     conftest$ac_exeext conftest.$ac_ext ;;
   9668 esac
   9669 fi
   9670 
   9671 
   9672 		CFLAGS="$xorg_testset_save_CFLAGS"
   9673 
   9674 		eval supported=\$$cacheid
   9675 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9676 printf "%s\n" "$supported" >&6; }
   9677 		if test "$supported" = "yes" ; then
   9678 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9679 			found="yes"
   9680 		fi
   9681 	fi
   9682 
   9683 
   9684 
   9685 
   9686 
   9687 
   9688 
   9689 
   9690 
   9691 
   9692 
   9693 
   9694 
   9695 
   9696 
   9697 xorg_testset_save_CFLAGS="$CFLAGS"
   9698 
   9699 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9700 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9701 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9702 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9703 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9704 then :
   9705   printf %s "(cached) " >&6
   9706 else case e in #(
   9707   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9708 /* end confdefs.h.  */
   9709 int i;
   9710 _ACEOF
   9711 if ac_fn_c_try_compile "$LINENO"
   9712 then :
   9713   xorg_cv_cc_flag_unknown_warning_option=yes
   9714 else case e in #(
   9715   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9716 esac
   9717 fi
   9718 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9719 esac
   9720 fi
   9721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9722 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9723 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9724 	CFLAGS="$xorg_testset_save_CFLAGS"
   9725 fi
   9726 
   9727 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9728 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9729 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9730 	fi
   9731 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9732 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9733 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9734 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9735 then :
   9736   printf %s "(cached) " >&6
   9737 else case e in #(
   9738   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9739 /* end confdefs.h.  */
   9740 int i;
   9741 _ACEOF
   9742 if ac_fn_c_try_compile "$LINENO"
   9743 then :
   9744   xorg_cv_cc_flag_unused_command_line_argument=yes
   9745 else case e in #(
   9746   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9747 esac
   9748 fi
   9749 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9750 esac
   9751 fi
   9752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9753 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9754 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9755 	CFLAGS="$xorg_testset_save_CFLAGS"
   9756 fi
   9757 
   9758 found="no"
   9759 
   9760 	if test $found = "no" ; then
   9761 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9762 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9763 		fi
   9764 
   9765 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9766 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9767 		fi
   9768 
   9769 		CFLAGS="$CFLAGS -Wmain"
   9770 
   9771 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9772 printf %s "checking if $CC supports -Wmain... " >&6; }
   9773 		cacheid=xorg_cv_cc_flag__Wmain
   9774 		if eval test \${$cacheid+y}
   9775 then :
   9776   printf %s "(cached) " >&6
   9777 else case e in #(
   9778   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9779 /* end confdefs.h.  */
   9780 int i;
   9781 int
   9782 main (void)
   9783 {
   9784 
   9785   ;
   9786   return 0;
   9787 }
   9788 _ACEOF
   9789 if ac_fn_c_try_link "$LINENO"
   9790 then :
   9791   eval $cacheid=yes
   9792 else case e in #(
   9793   e) eval $cacheid=no ;;
   9794 esac
   9795 fi
   9796 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9797     conftest$ac_exeext conftest.$ac_ext ;;
   9798 esac
   9799 fi
   9800 
   9801 
   9802 		CFLAGS="$xorg_testset_save_CFLAGS"
   9803 
   9804 		eval supported=\$$cacheid
   9805 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9806 printf "%s\n" "$supported" >&6; }
   9807 		if test "$supported" = "yes" ; then
   9808 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9809 			found="yes"
   9810 		fi
   9811 	fi
   9812 
   9813 
   9814 
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 
   9826 
   9827 xorg_testset_save_CFLAGS="$CFLAGS"
   9828 
   9829 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9830 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9831 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9832 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9833 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9834 then :
   9835   printf %s "(cached) " >&6
   9836 else case e in #(
   9837   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9838 /* end confdefs.h.  */
   9839 int i;
   9840 _ACEOF
   9841 if ac_fn_c_try_compile "$LINENO"
   9842 then :
   9843   xorg_cv_cc_flag_unknown_warning_option=yes
   9844 else case e in #(
   9845   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9846 esac
   9847 fi
   9848 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9849 esac
   9850 fi
   9851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9852 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9853 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9854 	CFLAGS="$xorg_testset_save_CFLAGS"
   9855 fi
   9856 
   9857 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9858 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9859 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9860 	fi
   9861 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9862 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9863 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9864 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9865 then :
   9866   printf %s "(cached) " >&6
   9867 else case e in #(
   9868   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9869 /* end confdefs.h.  */
   9870 int i;
   9871 _ACEOF
   9872 if ac_fn_c_try_compile "$LINENO"
   9873 then :
   9874   xorg_cv_cc_flag_unused_command_line_argument=yes
   9875 else case e in #(
   9876   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9877 esac
   9878 fi
   9879 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9880 esac
   9881 fi
   9882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9883 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9884 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9885 	CFLAGS="$xorg_testset_save_CFLAGS"
   9886 fi
   9887 
   9888 found="no"
   9889 
   9890 	if test $found = "no" ; then
   9891 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9892 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9893 		fi
   9894 
   9895 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9896 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9897 		fi
   9898 
   9899 		CFLAGS="$CFLAGS -Wmissing-braces"
   9900 
   9901 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9902 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9903 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9904 		if eval test \${$cacheid+y}
   9905 then :
   9906   printf %s "(cached) " >&6
   9907 else case e in #(
   9908   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9909 /* end confdefs.h.  */
   9910 int i;
   9911 int
   9912 main (void)
   9913 {
   9914 
   9915   ;
   9916   return 0;
   9917 }
   9918 _ACEOF
   9919 if ac_fn_c_try_link "$LINENO"
   9920 then :
   9921   eval $cacheid=yes
   9922 else case e in #(
   9923   e) eval $cacheid=no ;;
   9924 esac
   9925 fi
   9926 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9927     conftest$ac_exeext conftest.$ac_ext ;;
   9928 esac
   9929 fi
   9930 
   9931 
   9932 		CFLAGS="$xorg_testset_save_CFLAGS"
   9933 
   9934 		eval supported=\$$cacheid
   9935 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9936 printf "%s\n" "$supported" >&6; }
   9937 		if test "$supported" = "yes" ; then
   9938 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9939 			found="yes"
   9940 		fi
   9941 	fi
   9942 
   9943 
   9944 
   9945 
   9946 
   9947 
   9948 
   9949 
   9950 
   9951 
   9952 
   9953 
   9954 
   9955 
   9956 
   9957 xorg_testset_save_CFLAGS="$CFLAGS"
   9958 
   9959 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9960 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9961 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9962 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9963 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9964 then :
   9965   printf %s "(cached) " >&6
   9966 else case e in #(
   9967   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9968 /* end confdefs.h.  */
   9969 int i;
   9970 _ACEOF
   9971 if ac_fn_c_try_compile "$LINENO"
   9972 then :
   9973   xorg_cv_cc_flag_unknown_warning_option=yes
   9974 else case e in #(
   9975   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9976 esac
   9977 fi
   9978 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9979 esac
   9980 fi
   9981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9982 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9983 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9984 	CFLAGS="$xorg_testset_save_CFLAGS"
   9985 fi
   9986 
   9987 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9988 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9989 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9990 	fi
   9991 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9992 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9993 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9994 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9995 then :
   9996   printf %s "(cached) " >&6
   9997 else case e in #(
   9998   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9999 /* end confdefs.h.  */
   10000 int i;
   10001 _ACEOF
   10002 if ac_fn_c_try_compile "$LINENO"
   10003 then :
   10004   xorg_cv_cc_flag_unused_command_line_argument=yes
   10005 else case e in #(
   10006   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10007 esac
   10008 fi
   10009 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10010 esac
   10011 fi
   10012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10013 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10014 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10015 	CFLAGS="$xorg_testset_save_CFLAGS"
   10016 fi
   10017 
   10018 found="no"
   10019 
   10020 	if test $found = "no" ; then
   10021 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10022 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10023 		fi
   10024 
   10025 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10026 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10027 		fi
   10028 
   10029 		CFLAGS="$CFLAGS -Wsequence-point"
   10030 
   10031 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   10032 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   10033 		cacheid=xorg_cv_cc_flag__Wsequence_point
   10034 		if eval test \${$cacheid+y}
   10035 then :
   10036   printf %s "(cached) " >&6
   10037 else case e in #(
   10038   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10039 /* end confdefs.h.  */
   10040 int i;
   10041 int
   10042 main (void)
   10043 {
   10044 
   10045   ;
   10046   return 0;
   10047 }
   10048 _ACEOF
   10049 if ac_fn_c_try_link "$LINENO"
   10050 then :
   10051   eval $cacheid=yes
   10052 else case e in #(
   10053   e) eval $cacheid=no ;;
   10054 esac
   10055 fi
   10056 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10057     conftest$ac_exeext conftest.$ac_ext ;;
   10058 esac
   10059 fi
   10060 
   10061 
   10062 		CFLAGS="$xorg_testset_save_CFLAGS"
   10063 
   10064 		eval supported=\$$cacheid
   10065 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10066 printf "%s\n" "$supported" >&6; }
   10067 		if test "$supported" = "yes" ; then
   10068 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   10069 			found="yes"
   10070 		fi
   10071 	fi
   10072 
   10073 
   10074 
   10075 
   10076 
   10077 
   10078 
   10079 
   10080 
   10081 
   10082 
   10083 
   10084 
   10085 
   10086 
   10087 xorg_testset_save_CFLAGS="$CFLAGS"
   10088 
   10089 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10090 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10091 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10092 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10093 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10094 then :
   10095   printf %s "(cached) " >&6
   10096 else case e in #(
   10097   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10098 /* end confdefs.h.  */
   10099 int i;
   10100 _ACEOF
   10101 if ac_fn_c_try_compile "$LINENO"
   10102 then :
   10103   xorg_cv_cc_flag_unknown_warning_option=yes
   10104 else case e in #(
   10105   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10106 esac
   10107 fi
   10108 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10109 esac
   10110 fi
   10111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10112 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10113 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10114 	CFLAGS="$xorg_testset_save_CFLAGS"
   10115 fi
   10116 
   10117 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10118 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10119 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10120 	fi
   10121 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10122 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10123 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10124 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10125 then :
   10126   printf %s "(cached) " >&6
   10127 else case e in #(
   10128   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10129 /* end confdefs.h.  */
   10130 int i;
   10131 _ACEOF
   10132 if ac_fn_c_try_compile "$LINENO"
   10133 then :
   10134   xorg_cv_cc_flag_unused_command_line_argument=yes
   10135 else case e in #(
   10136   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10137 esac
   10138 fi
   10139 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10140 esac
   10141 fi
   10142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10143 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10144 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10145 	CFLAGS="$xorg_testset_save_CFLAGS"
   10146 fi
   10147 
   10148 found="no"
   10149 
   10150 	if test $found = "no" ; then
   10151 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10152 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10153 		fi
   10154 
   10155 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10156 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10157 		fi
   10158 
   10159 		CFLAGS="$CFLAGS -Wreturn-type"
   10160 
   10161 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   10162 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   10163 		cacheid=xorg_cv_cc_flag__Wreturn_type
   10164 		if eval test \${$cacheid+y}
   10165 then :
   10166   printf %s "(cached) " >&6
   10167 else case e in #(
   10168   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10169 /* end confdefs.h.  */
   10170 int i;
   10171 int
   10172 main (void)
   10173 {
   10174 
   10175   ;
   10176   return 0;
   10177 }
   10178 _ACEOF
   10179 if ac_fn_c_try_link "$LINENO"
   10180 then :
   10181   eval $cacheid=yes
   10182 else case e in #(
   10183   e) eval $cacheid=no ;;
   10184 esac
   10185 fi
   10186 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10187     conftest$ac_exeext conftest.$ac_ext ;;
   10188 esac
   10189 fi
   10190 
   10191 
   10192 		CFLAGS="$xorg_testset_save_CFLAGS"
   10193 
   10194 		eval supported=\$$cacheid
   10195 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10196 printf "%s\n" "$supported" >&6; }
   10197 		if test "$supported" = "yes" ; then
   10198 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   10199 			found="yes"
   10200 		fi
   10201 	fi
   10202 
   10203 
   10204 
   10205 
   10206 
   10207 
   10208 
   10209 
   10210 
   10211 
   10212 
   10213 
   10214 
   10215 
   10216 
   10217 xorg_testset_save_CFLAGS="$CFLAGS"
   10218 
   10219 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10220 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10221 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10222 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10223 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10224 then :
   10225   printf %s "(cached) " >&6
   10226 else case e in #(
   10227   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10228 /* end confdefs.h.  */
   10229 int i;
   10230 _ACEOF
   10231 if ac_fn_c_try_compile "$LINENO"
   10232 then :
   10233   xorg_cv_cc_flag_unknown_warning_option=yes
   10234 else case e in #(
   10235   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10236 esac
   10237 fi
   10238 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10239 esac
   10240 fi
   10241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10242 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10243 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10244 	CFLAGS="$xorg_testset_save_CFLAGS"
   10245 fi
   10246 
   10247 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10248 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10249 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10250 	fi
   10251 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10252 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10253 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10254 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10255 then :
   10256   printf %s "(cached) " >&6
   10257 else case e in #(
   10258   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10259 /* end confdefs.h.  */
   10260 int i;
   10261 _ACEOF
   10262 if ac_fn_c_try_compile "$LINENO"
   10263 then :
   10264   xorg_cv_cc_flag_unused_command_line_argument=yes
   10265 else case e in #(
   10266   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10267 esac
   10268 fi
   10269 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10270 esac
   10271 fi
   10272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10273 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10274 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10275 	CFLAGS="$xorg_testset_save_CFLAGS"
   10276 fi
   10277 
   10278 found="no"
   10279 
   10280 	if test $found = "no" ; then
   10281 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10282 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10283 		fi
   10284 
   10285 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10286 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10287 		fi
   10288 
   10289 		CFLAGS="$CFLAGS -Wtrigraphs"
   10290 
   10291 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   10292 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   10293 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   10294 		if eval test \${$cacheid+y}
   10295 then :
   10296   printf %s "(cached) " >&6
   10297 else case e in #(
   10298   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10299 /* end confdefs.h.  */
   10300 int i;
   10301 int
   10302 main (void)
   10303 {
   10304 
   10305   ;
   10306   return 0;
   10307 }
   10308 _ACEOF
   10309 if ac_fn_c_try_link "$LINENO"
   10310 then :
   10311   eval $cacheid=yes
   10312 else case e in #(
   10313   e) eval $cacheid=no ;;
   10314 esac
   10315 fi
   10316 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10317     conftest$ac_exeext conftest.$ac_ext ;;
   10318 esac
   10319 fi
   10320 
   10321 
   10322 		CFLAGS="$xorg_testset_save_CFLAGS"
   10323 
   10324 		eval supported=\$$cacheid
   10325 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10326 printf "%s\n" "$supported" >&6; }
   10327 		if test "$supported" = "yes" ; then
   10328 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   10329 			found="yes"
   10330 		fi
   10331 	fi
   10332 
   10333 
   10334 
   10335 
   10336 
   10337 
   10338 
   10339 
   10340 
   10341 
   10342 
   10343 
   10344 
   10345 
   10346 
   10347 xorg_testset_save_CFLAGS="$CFLAGS"
   10348 
   10349 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10350 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10351 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10352 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10353 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10354 then :
   10355   printf %s "(cached) " >&6
   10356 else case e in #(
   10357   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10358 /* end confdefs.h.  */
   10359 int i;
   10360 _ACEOF
   10361 if ac_fn_c_try_compile "$LINENO"
   10362 then :
   10363   xorg_cv_cc_flag_unknown_warning_option=yes
   10364 else case e in #(
   10365   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10366 esac
   10367 fi
   10368 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10369 esac
   10370 fi
   10371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10372 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10373 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10374 	CFLAGS="$xorg_testset_save_CFLAGS"
   10375 fi
   10376 
   10377 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10378 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10379 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10380 	fi
   10381 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10382 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10383 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10384 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10385 then :
   10386   printf %s "(cached) " >&6
   10387 else case e in #(
   10388   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10389 /* end confdefs.h.  */
   10390 int i;
   10391 _ACEOF
   10392 if ac_fn_c_try_compile "$LINENO"
   10393 then :
   10394   xorg_cv_cc_flag_unused_command_line_argument=yes
   10395 else case e in #(
   10396   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10397 esac
   10398 fi
   10399 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10400 esac
   10401 fi
   10402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10403 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10404 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10405 	CFLAGS="$xorg_testset_save_CFLAGS"
   10406 fi
   10407 
   10408 found="no"
   10409 
   10410 	if test $found = "no" ; then
   10411 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10412 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10413 		fi
   10414 
   10415 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10416 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10417 		fi
   10418 
   10419 		CFLAGS="$CFLAGS -Warray-bounds"
   10420 
   10421 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10422 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10423 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10424 		if eval test \${$cacheid+y}
   10425 then :
   10426   printf %s "(cached) " >&6
   10427 else case e in #(
   10428   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10429 /* end confdefs.h.  */
   10430 int i;
   10431 int
   10432 main (void)
   10433 {
   10434 
   10435   ;
   10436   return 0;
   10437 }
   10438 _ACEOF
   10439 if ac_fn_c_try_link "$LINENO"
   10440 then :
   10441   eval $cacheid=yes
   10442 else case e in #(
   10443   e) eval $cacheid=no ;;
   10444 esac
   10445 fi
   10446 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10447     conftest$ac_exeext conftest.$ac_ext ;;
   10448 esac
   10449 fi
   10450 
   10451 
   10452 		CFLAGS="$xorg_testset_save_CFLAGS"
   10453 
   10454 		eval supported=\$$cacheid
   10455 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10456 printf "%s\n" "$supported" >&6; }
   10457 		if test "$supported" = "yes" ; then
   10458 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10459 			found="yes"
   10460 		fi
   10461 	fi
   10462 
   10463 
   10464 
   10465 
   10466 
   10467 
   10468 
   10469 
   10470 
   10471 
   10472 
   10473 
   10474 
   10475 
   10476 
   10477 xorg_testset_save_CFLAGS="$CFLAGS"
   10478 
   10479 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10480 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10481 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10482 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10483 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10484 then :
   10485   printf %s "(cached) " >&6
   10486 else case e in #(
   10487   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10488 /* end confdefs.h.  */
   10489 int i;
   10490 _ACEOF
   10491 if ac_fn_c_try_compile "$LINENO"
   10492 then :
   10493   xorg_cv_cc_flag_unknown_warning_option=yes
   10494 else case e in #(
   10495   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10496 esac
   10497 fi
   10498 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10499 esac
   10500 fi
   10501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10502 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10503 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10504 	CFLAGS="$xorg_testset_save_CFLAGS"
   10505 fi
   10506 
   10507 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10508 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10509 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10510 	fi
   10511 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10512 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10513 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10514 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10515 then :
   10516   printf %s "(cached) " >&6
   10517 else case e in #(
   10518   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10519 /* end confdefs.h.  */
   10520 int i;
   10521 _ACEOF
   10522 if ac_fn_c_try_compile "$LINENO"
   10523 then :
   10524   xorg_cv_cc_flag_unused_command_line_argument=yes
   10525 else case e in #(
   10526   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10527 esac
   10528 fi
   10529 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10530 esac
   10531 fi
   10532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10533 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10534 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10535 	CFLAGS="$xorg_testset_save_CFLAGS"
   10536 fi
   10537 
   10538 found="no"
   10539 
   10540 	if test $found = "no" ; then
   10541 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10542 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10543 		fi
   10544 
   10545 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10546 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10547 		fi
   10548 
   10549 		CFLAGS="$CFLAGS -Wwrite-strings"
   10550 
   10551 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10552 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10553 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10554 		if eval test \${$cacheid+y}
   10555 then :
   10556   printf %s "(cached) " >&6
   10557 else case e in #(
   10558   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10559 /* end confdefs.h.  */
   10560 int i;
   10561 int
   10562 main (void)
   10563 {
   10564 
   10565   ;
   10566   return 0;
   10567 }
   10568 _ACEOF
   10569 if ac_fn_c_try_link "$LINENO"
   10570 then :
   10571   eval $cacheid=yes
   10572 else case e in #(
   10573   e) eval $cacheid=no ;;
   10574 esac
   10575 fi
   10576 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10577     conftest$ac_exeext conftest.$ac_ext ;;
   10578 esac
   10579 fi
   10580 
   10581 
   10582 		CFLAGS="$xorg_testset_save_CFLAGS"
   10583 
   10584 		eval supported=\$$cacheid
   10585 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10586 printf "%s\n" "$supported" >&6; }
   10587 		if test "$supported" = "yes" ; then
   10588 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10589 			found="yes"
   10590 		fi
   10591 	fi
   10592 
   10593 
   10594 
   10595 
   10596 
   10597 
   10598 
   10599 
   10600 
   10601 
   10602 
   10603 
   10604 
   10605 
   10606 
   10607 xorg_testset_save_CFLAGS="$CFLAGS"
   10608 
   10609 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10610 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10611 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10612 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10613 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10614 then :
   10615   printf %s "(cached) " >&6
   10616 else case e in #(
   10617   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10618 /* end confdefs.h.  */
   10619 int i;
   10620 _ACEOF
   10621 if ac_fn_c_try_compile "$LINENO"
   10622 then :
   10623   xorg_cv_cc_flag_unknown_warning_option=yes
   10624 else case e in #(
   10625   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10626 esac
   10627 fi
   10628 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10629 esac
   10630 fi
   10631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10632 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10633 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10634 	CFLAGS="$xorg_testset_save_CFLAGS"
   10635 fi
   10636 
   10637 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10638 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10639 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10640 	fi
   10641 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10642 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10643 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10644 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10645 then :
   10646   printf %s "(cached) " >&6
   10647 else case e in #(
   10648   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10649 /* end confdefs.h.  */
   10650 int i;
   10651 _ACEOF
   10652 if ac_fn_c_try_compile "$LINENO"
   10653 then :
   10654   xorg_cv_cc_flag_unused_command_line_argument=yes
   10655 else case e in #(
   10656   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10657 esac
   10658 fi
   10659 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10660 esac
   10661 fi
   10662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10663 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10664 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10665 	CFLAGS="$xorg_testset_save_CFLAGS"
   10666 fi
   10667 
   10668 found="no"
   10669 
   10670 	if test $found = "no" ; then
   10671 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10672 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10673 		fi
   10674 
   10675 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10676 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10677 		fi
   10678 
   10679 		CFLAGS="$CFLAGS -Waddress"
   10680 
   10681 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10682 printf %s "checking if $CC supports -Waddress... " >&6; }
   10683 		cacheid=xorg_cv_cc_flag__Waddress
   10684 		if eval test \${$cacheid+y}
   10685 then :
   10686   printf %s "(cached) " >&6
   10687 else case e in #(
   10688   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10689 /* end confdefs.h.  */
   10690 int i;
   10691 int
   10692 main (void)
   10693 {
   10694 
   10695   ;
   10696   return 0;
   10697 }
   10698 _ACEOF
   10699 if ac_fn_c_try_link "$LINENO"
   10700 then :
   10701   eval $cacheid=yes
   10702 else case e in #(
   10703   e) eval $cacheid=no ;;
   10704 esac
   10705 fi
   10706 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10707     conftest$ac_exeext conftest.$ac_ext ;;
   10708 esac
   10709 fi
   10710 
   10711 
   10712 		CFLAGS="$xorg_testset_save_CFLAGS"
   10713 
   10714 		eval supported=\$$cacheid
   10715 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10716 printf "%s\n" "$supported" >&6; }
   10717 		if test "$supported" = "yes" ; then
   10718 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10719 			found="yes"
   10720 		fi
   10721 	fi
   10722 
   10723 
   10724 
   10725 
   10726 
   10727 
   10728 
   10729 
   10730 
   10731 
   10732 
   10733 
   10734 
   10735 
   10736 
   10737 xorg_testset_save_CFLAGS="$CFLAGS"
   10738 
   10739 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10740 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10741 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10742 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10743 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10744 then :
   10745   printf %s "(cached) " >&6
   10746 else case e in #(
   10747   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10748 /* end confdefs.h.  */
   10749 int i;
   10750 _ACEOF
   10751 if ac_fn_c_try_compile "$LINENO"
   10752 then :
   10753   xorg_cv_cc_flag_unknown_warning_option=yes
   10754 else case e in #(
   10755   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10756 esac
   10757 fi
   10758 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10759 esac
   10760 fi
   10761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10762 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10763 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10764 	CFLAGS="$xorg_testset_save_CFLAGS"
   10765 fi
   10766 
   10767 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10768 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10769 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10770 	fi
   10771 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10772 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10773 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10774 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10775 then :
   10776   printf %s "(cached) " >&6
   10777 else case e in #(
   10778   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10779 /* end confdefs.h.  */
   10780 int i;
   10781 _ACEOF
   10782 if ac_fn_c_try_compile "$LINENO"
   10783 then :
   10784   xorg_cv_cc_flag_unused_command_line_argument=yes
   10785 else case e in #(
   10786   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10787 esac
   10788 fi
   10789 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10790 esac
   10791 fi
   10792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10793 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10794 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10795 	CFLAGS="$xorg_testset_save_CFLAGS"
   10796 fi
   10797 
   10798 found="no"
   10799 
   10800 	if test $found = "no" ; then
   10801 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10802 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10803 		fi
   10804 
   10805 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10806 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10807 		fi
   10808 
   10809 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10810 
   10811 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10812 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10813 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10814 		if eval test \${$cacheid+y}
   10815 then :
   10816   printf %s "(cached) " >&6
   10817 else case e in #(
   10818   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10819 /* end confdefs.h.  */
   10820 int i;
   10821 int
   10822 main (void)
   10823 {
   10824 
   10825   ;
   10826   return 0;
   10827 }
   10828 _ACEOF
   10829 if ac_fn_c_try_link "$LINENO"
   10830 then :
   10831   eval $cacheid=yes
   10832 else case e in #(
   10833   e) eval $cacheid=no ;;
   10834 esac
   10835 fi
   10836 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10837     conftest$ac_exeext conftest.$ac_ext ;;
   10838 esac
   10839 fi
   10840 
   10841 
   10842 		CFLAGS="$xorg_testset_save_CFLAGS"
   10843 
   10844 		eval supported=\$$cacheid
   10845 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10846 printf "%s\n" "$supported" >&6; }
   10847 		if test "$supported" = "yes" ; then
   10848 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10849 			found="yes"
   10850 		fi
   10851 	fi
   10852 
   10853 
   10854 
   10855 
   10856 
   10857 
   10858 
   10859 
   10860 
   10861 
   10862 
   10863 
   10864 
   10865 
   10866 
   10867 xorg_testset_save_CFLAGS="$CFLAGS"
   10868 
   10869 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10870 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10871 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10872 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10873 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10874 then :
   10875   printf %s "(cached) " >&6
   10876 else case e in #(
   10877   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10878 /* end confdefs.h.  */
   10879 int i;
   10880 _ACEOF
   10881 if ac_fn_c_try_compile "$LINENO"
   10882 then :
   10883   xorg_cv_cc_flag_unknown_warning_option=yes
   10884 else case e in #(
   10885   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10886 esac
   10887 fi
   10888 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10889 esac
   10890 fi
   10891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10892 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10893 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10894 	CFLAGS="$xorg_testset_save_CFLAGS"
   10895 fi
   10896 
   10897 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10898 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10899 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10900 	fi
   10901 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10902 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10903 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10904 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10905 then :
   10906   printf %s "(cached) " >&6
   10907 else case e in #(
   10908   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10909 /* end confdefs.h.  */
   10910 int i;
   10911 _ACEOF
   10912 if ac_fn_c_try_compile "$LINENO"
   10913 then :
   10914   xorg_cv_cc_flag_unused_command_line_argument=yes
   10915 else case e in #(
   10916   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10917 esac
   10918 fi
   10919 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10920 esac
   10921 fi
   10922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10923 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10924 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10925 	CFLAGS="$xorg_testset_save_CFLAGS"
   10926 fi
   10927 
   10928 found="no"
   10929 
   10930 	if test $found = "no" ; then
   10931 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10932 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10933 		fi
   10934 
   10935 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10936 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10937 		fi
   10938 
   10939 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10940 
   10941 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10942 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10943 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10944 		if eval test \${$cacheid+y}
   10945 then :
   10946   printf %s "(cached) " >&6
   10947 else case e in #(
   10948   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10949 /* end confdefs.h.  */
   10950 int i;
   10951 int
   10952 main (void)
   10953 {
   10954 
   10955   ;
   10956   return 0;
   10957 }
   10958 _ACEOF
   10959 if ac_fn_c_try_link "$LINENO"
   10960 then :
   10961   eval $cacheid=yes
   10962 else case e in #(
   10963   e) eval $cacheid=no ;;
   10964 esac
   10965 fi
   10966 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10967     conftest$ac_exeext conftest.$ac_ext ;;
   10968 esac
   10969 fi
   10970 
   10971 
   10972 		CFLAGS="$xorg_testset_save_CFLAGS"
   10973 
   10974 		eval supported=\$$cacheid
   10975 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10976 printf "%s\n" "$supported" >&6; }
   10977 		if test "$supported" = "yes" ; then
   10978 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10979 			found="yes"
   10980 		fi
   10981 	fi
   10982 
   10983 
   10984 fi
   10985 
   10986 
   10987 
   10988 
   10989 
   10990 
   10991 
   10992 		CWARNFLAGS="$BASE_CFLAGS"
   10993 		if  test "x$GCC" = xyes ; then
   10994 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10995 		fi
   10996 
   10997 
   10998 
   10999 
   11000 
   11001 
   11002 
   11003 
   11004 # Check whether --enable-strict-compilation was given.
   11005 if test ${enable_strict_compilation+y}
   11006 then :
   11007   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   11008 else case e in #(
   11009   e) STRICT_COMPILE=no ;;
   11010 esac
   11011 fi
   11012 
   11013 
   11014 
   11015 
   11016 
   11017 
   11018 STRICT_CFLAGS=""
   11019 
   11020 
   11021 
   11022 
   11023 
   11024 
   11025 
   11026 
   11027 
   11028 
   11029 
   11030 
   11031 
   11032 xorg_testset_save_CFLAGS="$CFLAGS"
   11033 
   11034 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11035 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11036 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11037 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11038 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11039 then :
   11040   printf %s "(cached) " >&6
   11041 else case e in #(
   11042   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11043 /* end confdefs.h.  */
   11044 int i;
   11045 _ACEOF
   11046 if ac_fn_c_try_compile "$LINENO"
   11047 then :
   11048   xorg_cv_cc_flag_unknown_warning_option=yes
   11049 else case e in #(
   11050   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11051 esac
   11052 fi
   11053 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11054 esac
   11055 fi
   11056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11057 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11058 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11059 	CFLAGS="$xorg_testset_save_CFLAGS"
   11060 fi
   11061 
   11062 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11063 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11064 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11065 	fi
   11066 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11067 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11068 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11069 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11070 then :
   11071   printf %s "(cached) " >&6
   11072 else case e in #(
   11073   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11074 /* end confdefs.h.  */
   11075 int i;
   11076 _ACEOF
   11077 if ac_fn_c_try_compile "$LINENO"
   11078 then :
   11079   xorg_cv_cc_flag_unused_command_line_argument=yes
   11080 else case e in #(
   11081   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11082 esac
   11083 fi
   11084 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11085 esac
   11086 fi
   11087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11088 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11089 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11090 	CFLAGS="$xorg_testset_save_CFLAGS"
   11091 fi
   11092 
   11093 found="no"
   11094 
   11095 	if test $found = "no" ; then
   11096 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11097 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11098 		fi
   11099 
   11100 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11101 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11102 		fi
   11103 
   11104 		CFLAGS="$CFLAGS -pedantic"
   11105 
   11106 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   11107 printf %s "checking if $CC supports -pedantic... " >&6; }
   11108 		cacheid=xorg_cv_cc_flag__pedantic
   11109 		if eval test \${$cacheid+y}
   11110 then :
   11111   printf %s "(cached) " >&6
   11112 else case e in #(
   11113   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11114 /* end confdefs.h.  */
   11115 int i;
   11116 int
   11117 main (void)
   11118 {
   11119 
   11120   ;
   11121   return 0;
   11122 }
   11123 _ACEOF
   11124 if ac_fn_c_try_link "$LINENO"
   11125 then :
   11126   eval $cacheid=yes
   11127 else case e in #(
   11128   e) eval $cacheid=no ;;
   11129 esac
   11130 fi
   11131 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11132     conftest$ac_exeext conftest.$ac_ext ;;
   11133 esac
   11134 fi
   11135 
   11136 
   11137 		CFLAGS="$xorg_testset_save_CFLAGS"
   11138 
   11139 		eval supported=\$$cacheid
   11140 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11141 printf "%s\n" "$supported" >&6; }
   11142 		if test "$supported" = "yes" ; then
   11143 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   11144 			found="yes"
   11145 		fi
   11146 	fi
   11147 
   11148 
   11149 
   11150 
   11151 
   11152 
   11153 
   11154 
   11155 
   11156 
   11157 
   11158 
   11159 
   11160 
   11161 
   11162 xorg_testset_save_CFLAGS="$CFLAGS"
   11163 
   11164 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11165 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11166 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11167 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11168 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11169 then :
   11170   printf %s "(cached) " >&6
   11171 else case e in #(
   11172   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11173 /* end confdefs.h.  */
   11174 int i;
   11175 _ACEOF
   11176 if ac_fn_c_try_compile "$LINENO"
   11177 then :
   11178   xorg_cv_cc_flag_unknown_warning_option=yes
   11179 else case e in #(
   11180   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11181 esac
   11182 fi
   11183 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11184 esac
   11185 fi
   11186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11187 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11188 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11189 	CFLAGS="$xorg_testset_save_CFLAGS"
   11190 fi
   11191 
   11192 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11193 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11194 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11195 	fi
   11196 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11197 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11198 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11199 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11200 then :
   11201   printf %s "(cached) " >&6
   11202 else case e in #(
   11203   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11204 /* end confdefs.h.  */
   11205 int i;
   11206 _ACEOF
   11207 if ac_fn_c_try_compile "$LINENO"
   11208 then :
   11209   xorg_cv_cc_flag_unused_command_line_argument=yes
   11210 else case e in #(
   11211   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11212 esac
   11213 fi
   11214 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11215 esac
   11216 fi
   11217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11218 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11219 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11220 	CFLAGS="$xorg_testset_save_CFLAGS"
   11221 fi
   11222 
   11223 found="no"
   11224 
   11225 	if test $found = "no" ; then
   11226 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11227 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11228 		fi
   11229 
   11230 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11231 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11232 		fi
   11233 
   11234 		CFLAGS="$CFLAGS -Werror"
   11235 
   11236 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   11237 printf %s "checking if $CC supports -Werror... " >&6; }
   11238 		cacheid=xorg_cv_cc_flag__Werror
   11239 		if eval test \${$cacheid+y}
   11240 then :
   11241   printf %s "(cached) " >&6
   11242 else case e in #(
   11243   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11244 /* end confdefs.h.  */
   11245 int i;
   11246 int
   11247 main (void)
   11248 {
   11249 
   11250   ;
   11251   return 0;
   11252 }
   11253 _ACEOF
   11254 if ac_fn_c_try_link "$LINENO"
   11255 then :
   11256   eval $cacheid=yes
   11257 else case e in #(
   11258   e) eval $cacheid=no ;;
   11259 esac
   11260 fi
   11261 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11262     conftest$ac_exeext conftest.$ac_ext ;;
   11263 esac
   11264 fi
   11265 
   11266 
   11267 		CFLAGS="$xorg_testset_save_CFLAGS"
   11268 
   11269 		eval supported=\$$cacheid
   11270 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11271 printf "%s\n" "$supported" >&6; }
   11272 		if test "$supported" = "yes" ; then
   11273 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   11274 			found="yes"
   11275 		fi
   11276 	fi
   11277 
   11278 	if test $found = "no" ; then
   11279 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11280 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11281 		fi
   11282 
   11283 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11284 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11285 		fi
   11286 
   11287 		CFLAGS="$CFLAGS -errwarn"
   11288 
   11289 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   11290 printf %s "checking if $CC supports -errwarn... " >&6; }
   11291 		cacheid=xorg_cv_cc_flag__errwarn
   11292 		if eval test \${$cacheid+y}
   11293 then :
   11294   printf %s "(cached) " >&6
   11295 else case e in #(
   11296   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11297 /* end confdefs.h.  */
   11298 int i;
   11299 int
   11300 main (void)
   11301 {
   11302 
   11303   ;
   11304   return 0;
   11305 }
   11306 _ACEOF
   11307 if ac_fn_c_try_link "$LINENO"
   11308 then :
   11309   eval $cacheid=yes
   11310 else case e in #(
   11311   e) eval $cacheid=no ;;
   11312 esac
   11313 fi
   11314 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11315     conftest$ac_exeext conftest.$ac_ext ;;
   11316 esac
   11317 fi
   11318 
   11319 
   11320 		CFLAGS="$xorg_testset_save_CFLAGS"
   11321 
   11322 		eval supported=\$$cacheid
   11323 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11324 printf "%s\n" "$supported" >&6; }
   11325 		if test "$supported" = "yes" ; then
   11326 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   11327 			found="yes"
   11328 		fi
   11329 	fi
   11330 
   11331 
   11332 
   11333 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   11334 # activate it with -Werror, so we add it here explicitly.
   11335 
   11336 
   11337 
   11338 
   11339 
   11340 
   11341 
   11342 
   11343 
   11344 
   11345 
   11346 
   11347 
   11348 xorg_testset_save_CFLAGS="$CFLAGS"
   11349 
   11350 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11351 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11352 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11353 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11354 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11355 then :
   11356   printf %s "(cached) " >&6
   11357 else case e in #(
   11358   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11359 /* end confdefs.h.  */
   11360 int i;
   11361 _ACEOF
   11362 if ac_fn_c_try_compile "$LINENO"
   11363 then :
   11364   xorg_cv_cc_flag_unknown_warning_option=yes
   11365 else case e in #(
   11366   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11367 esac
   11368 fi
   11369 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11370 esac
   11371 fi
   11372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11373 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11374 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11375 	CFLAGS="$xorg_testset_save_CFLAGS"
   11376 fi
   11377 
   11378 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11379 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11380 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11381 	fi
   11382 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11383 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11384 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11385 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11386 then :
   11387   printf %s "(cached) " >&6
   11388 else case e in #(
   11389   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11390 /* end confdefs.h.  */
   11391 int i;
   11392 _ACEOF
   11393 if ac_fn_c_try_compile "$LINENO"
   11394 then :
   11395   xorg_cv_cc_flag_unused_command_line_argument=yes
   11396 else case e in #(
   11397   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11398 esac
   11399 fi
   11400 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11401 esac
   11402 fi
   11403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11404 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11405 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11406 	CFLAGS="$xorg_testset_save_CFLAGS"
   11407 fi
   11408 
   11409 found="no"
   11410 
   11411 	if test $found = "no" ; then
   11412 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11413 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11414 		fi
   11415 
   11416 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11417 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11418 		fi
   11419 
   11420 		CFLAGS="$CFLAGS -Werror=attributes"
   11421 
   11422 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11423 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11424 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11425 		if eval test \${$cacheid+y}
   11426 then :
   11427   printf %s "(cached) " >&6
   11428 else case e in #(
   11429   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11430 /* end confdefs.h.  */
   11431 int i;
   11432 int
   11433 main (void)
   11434 {
   11435 
   11436   ;
   11437   return 0;
   11438 }
   11439 _ACEOF
   11440 if ac_fn_c_try_link "$LINENO"
   11441 then :
   11442   eval $cacheid=yes
   11443 else case e in #(
   11444   e) eval $cacheid=no ;;
   11445 esac
   11446 fi
   11447 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11448     conftest$ac_exeext conftest.$ac_ext ;;
   11449 esac
   11450 fi
   11451 
   11452 
   11453 		CFLAGS="$xorg_testset_save_CFLAGS"
   11454 
   11455 		eval supported=\$$cacheid
   11456 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11457 printf "%s\n" "$supported" >&6; }
   11458 		if test "$supported" = "yes" ; then
   11459 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11460 			found="yes"
   11461 		fi
   11462 	fi
   11463 
   11464 
   11465 
   11466 if test "x$STRICT_COMPILE" = "xyes"; then
   11467     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11468     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11469 fi
   11470 
   11471 
   11472 
   11473 
   11474 
   11475 
   11476 
   11477 
   11478 cat >>confdefs.h <<_ACEOF
   11479 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11480 _ACEOF
   11481 
   11482 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11483 	if test "x$PVM" = "x"; then
   11484 		PVM="0"
   11485 	fi
   11486 
   11487 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11488 
   11489 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11490 	if test "x$PVP" = "x"; then
   11491 		PVP="0"
   11492 	fi
   11493 
   11494 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11495 
   11496 
   11497 
   11498 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11499 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11500 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11501 touch \$(top_srcdir)/ChangeLog; \
   11502 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11503 
   11504 
   11505 
   11506 
   11507 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11508 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11509 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11510 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11511 touch \$(top_srcdir)/INSTALL; \
   11512 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11513 
   11514 
   11515 
   11516 
   11517 
   11518 
   11519 case $host_os in
   11520     solaris*)
   11521         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11522         # check for a man page file found in later versions that use
   11523         # traditional section numbers instead
   11524         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11525 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11526 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11527 then :
   11528   printf %s "(cached) " >&6
   11529 else case e in #(
   11530   e) test "$cross_compiling" = yes &&
   11531   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11532 if test -r "/usr/share/man/man7/attributes.7"; then
   11533   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11534 else
   11535   ac_cv_file__usr_share_man_man7_attributes_7=no
   11536 fi ;;
   11537 esac
   11538 fi
   11539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11540 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11541 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11542 then :
   11543   SYSV_MAN_SECTIONS=false
   11544 else case e in #(
   11545   e) SYSV_MAN_SECTIONS=true ;;
   11546 esac
   11547 fi
   11548 
   11549         ;;
   11550     *) SYSV_MAN_SECTIONS=false ;;
   11551 esac
   11552 
   11553 if test x$APP_MAN_SUFFIX = x    ; then
   11554     APP_MAN_SUFFIX=1
   11555 fi
   11556 if test x$APP_MAN_DIR = x    ; then
   11557     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11558 fi
   11559 
   11560 if test x$LIB_MAN_SUFFIX = x    ; then
   11561     LIB_MAN_SUFFIX=3
   11562 fi
   11563 if test x$LIB_MAN_DIR = x    ; then
   11564     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11565 fi
   11566 
   11567 if test x$FILE_MAN_SUFFIX = x    ; then
   11568     case $SYSV_MAN_SECTIONS in
   11569 	true)				FILE_MAN_SUFFIX=4  ;;
   11570 	*)				FILE_MAN_SUFFIX=5  ;;
   11571     esac
   11572 fi
   11573 if test x$FILE_MAN_DIR = x    ; then
   11574     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11575 fi
   11576 
   11577 if test x$MISC_MAN_SUFFIX = x    ; then
   11578     case $SYSV_MAN_SECTIONS in
   11579 	true)				MISC_MAN_SUFFIX=5  ;;
   11580 	*)				MISC_MAN_SUFFIX=7  ;;
   11581     esac
   11582 fi
   11583 if test x$MISC_MAN_DIR = x    ; then
   11584     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11585 fi
   11586 
   11587 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11588     case $SYSV_MAN_SECTIONS in
   11589 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11590 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11591     esac
   11592 fi
   11593 if test x$DRIVER_MAN_DIR = x    ; then
   11594     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11595 fi
   11596 
   11597 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11598     case $SYSV_MAN_SECTIONS in
   11599 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11600 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11601     esac
   11602 fi
   11603 if test x$ADMIN_MAN_DIR = x    ; then
   11604     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11605 fi
   11606 
   11607 
   11608 
   11609 
   11610 
   11611 
   11612 
   11613 
   11614 
   11615 
   11616 
   11617 
   11618 
   11619 
   11620 
   11621 XORG_MAN_PAGE="X Version 11"
   11622 
   11623 MAN_SUBSTS="\
   11624 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11625 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11626 	-e 's|__xservername__|Xorg|g' \
   11627 	-e 's|__xconfigfile__|xorg.conf|g' \
   11628 	-e 's|__projectroot__|\$(prefix)|g' \
   11629 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11630 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11631 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11632 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11633 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11634 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11635 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11636 
   11637 
   11638 
   11639 
   11640 AM_DEFAULT_VERBOSITY=0
   11641 
   11642 
   11643 
   11644 
   11645 
   11646 for ac_prog in flex lex
   11647 do
   11648   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11649 set dummy $ac_prog; ac_word=$2
   11650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11651 printf %s "checking for $ac_word... " >&6; }
   11652 if test ${ac_cv_prog_LEX+y}
   11653 then :
   11654   printf %s "(cached) " >&6
   11655 else case e in #(
   11656   e) if test -n "$LEX"; then
   11657   ac_cv_prog_LEX="$LEX" # Let the user override the test.
   11658 else
   11659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11660 for as_dir in $PATH
   11661 do
   11662   IFS=$as_save_IFS
   11663   case $as_dir in #(((
   11664     '') as_dir=./ ;;
   11665     */) ;;
   11666     *) as_dir=$as_dir/ ;;
   11667   esac
   11668     for ac_exec_ext in '' $ac_executable_extensions; do
   11669   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11670     ac_cv_prog_LEX="$ac_prog"
   11671     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11672     break 2
   11673   fi
   11674 done
   11675   done
   11676 IFS=$as_save_IFS
   11677 
   11678 fi ;;
   11679 esac
   11680 fi
   11681 LEX=$ac_cv_prog_LEX
   11682 if test -n "$LEX"; then
   11683   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
   11684 printf "%s\n" "$LEX" >&6; }
   11685 else
   11686   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11687 printf "%s\n" "no" >&6; }
   11688 fi
   11689 
   11690 
   11691   test -n "$LEX" && break
   11692 done
   11693 test -n "$LEX" || LEX=":"
   11694 
   11695   if test "x$LEX" != "x:"; then
   11696     cat >conftest.l <<_ACEOF
   11697 %{
   11698 #ifdef __cplusplus
   11699 extern "C"
   11700 #endif
   11701 int yywrap(void);
   11702 %}
   11703 %%
   11704 a { ECHO; }
   11705 b { REJECT; }
   11706 c { yymore (); }
   11707 d { yyless (1); }
   11708 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
   11709 #ifdef __cplusplus
   11710     yyless ((yyinput () != 0));
   11711 #else
   11712     yyless ((input () != 0));
   11713 #endif
   11714   }
   11715 f { unput (yytext[0]); }
   11716 . { BEGIN INITIAL; }
   11717 %%
   11718 #ifdef YYTEXT_POINTER
   11719 extern char *yytext;
   11720 #endif
   11721 int
   11722 yywrap (void)
   11723 {
   11724   return 1;
   11725 }
   11726 int
   11727 main (void)
   11728 {
   11729   return ! yylex ();
   11730 }
   11731 _ACEOF
   11732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lex output file root" >&5
   11733 printf %s "checking for lex output file root... " >&6; }
   11734 if test ${ac_cv_prog_lex_root+y}
   11735 then :
   11736   printf %s "(cached) " >&6
   11737 else case e in #(
   11738   e)
   11739 ac_cv_prog_lex_root=unknown
   11740 { { ac_try="$LEX conftest.l"
   11741 case "(($ac_try" in
   11742   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11743   *) ac_try_echo=$ac_try;;
   11744 esac
   11745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   11746 printf "%s\n" "$ac_try_echo"; } >&5
   11747   (eval "$LEX conftest.l") 2>&5
   11748   ac_status=$?
   11749   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11750   test $ac_status = 0; } &&
   11751 if test -f lex.yy.c; then
   11752   ac_cv_prog_lex_root=lex.yy
   11753 elif test -f lexyy.c; then
   11754   ac_cv_prog_lex_root=lexyy
   11755 fi ;;
   11756 esac
   11757 fi
   11758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
   11759 printf "%s\n" "$ac_cv_prog_lex_root" >&6; }
   11760 if test "$ac_cv_prog_lex_root" = unknown
   11761 then :
   11762   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot find output from $LEX; giving up on $LEX" >&5
   11763 printf "%s\n" "$as_me: WARNING: cannot find output from $LEX; giving up on $LEX" >&2;}
   11764    LEX=: LEXLIB=
   11765 fi
   11766 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
   11767 
   11768 if test ${LEXLIB+y}
   11769 then :
   11770 
   11771 else case e in #(
   11772   e)
   11773   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lex library" >&5
   11774 printf %s "checking for lex library... " >&6; }
   11775 if test ${ac_cv_lib_lex+y}
   11776 then :
   11777   printf %s "(cached) " >&6
   11778 else case e in #(
   11779   e)
   11780     ac_save_LIBS="$LIBS"
   11781     ac_found=false
   11782     for ac_cv_lib_lex in 'none needed' -lfl -ll 'not found'; do
   11783       case $ac_cv_lib_lex in #(
   11784   'none needed') :
   11785      ;; #(
   11786   'not found') :
   11787     break ;; #(
   11788   *) :
   11789     LIBS="$ac_cv_lib_lex $ac_save_LIBS" ;; #(
   11790   *) :
   11791      ;;
   11792 esac
   11793 
   11794       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11795 /* end confdefs.h.  */
   11796 `cat $LEX_OUTPUT_ROOT.c`
   11797 _ACEOF
   11798 if ac_fn_c_try_link "$LINENO"
   11799 then :
   11800   ac_found=:
   11801 fi
   11802 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11803     conftest$ac_exeext conftest.$ac_ext
   11804       if $ac_found; then
   11805         break
   11806       fi
   11807     done
   11808     LIBS="$ac_save_LIBS"
   11809    ;;
   11810 esac
   11811 fi
   11812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
   11813 printf "%s\n" "$ac_cv_lib_lex" >&6; }
   11814   if test "$ac_cv_lib_lex" = 'not found'
   11815 then :
   11816   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: required lex library not found; giving up on $LEX" >&5
   11817 printf "%s\n" "$as_me: WARNING: required lex library not found; giving up on $LEX" >&2;}
   11818 	 LEX=: LEXLIB=
   11819 elif test "$ac_cv_lib_lex" = 'none needed'
   11820 then :
   11821   LEXLIB=''
   11822 else case e in #(
   11823   e) LEXLIB=$ac_cv_lib_lex ;;
   11824 esac
   11825 fi
   11826    ;;
   11827 esac
   11828 fi
   11829 
   11830 
   11831 if test "$LEX" != :
   11832 then :
   11833 
   11834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
   11835 printf %s "checking whether yytext is a pointer... " >&6; }
   11836 if test ${ac_cv_prog_lex_yytext_pointer+y}
   11837 then :
   11838   printf %s "(cached) " >&6
   11839 else case e in #(
   11840   e) # POSIX says lex can declare yytext either as a pointer or an array; the
   11841 # default is implementation-dependent.  Figure out which it is, since
   11842 # not all implementations provide the %pointer and %array declarations.
   11843 ac_cv_prog_lex_yytext_pointer=no
   11844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11845 /* end confdefs.h.  */
   11846 
   11847   #define YYTEXT_POINTER 1
   11848 `cat $LEX_OUTPUT_ROOT.c`
   11849 _ACEOF
   11850 if ac_fn_c_try_compile "$LINENO"
   11851 then :
   11852   ac_cv_prog_lex_yytext_pointer=yes
   11853 fi
   11854 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   11855  ;;
   11856 esac
   11857 fi
   11858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
   11859 printf "%s\n" "$ac_cv_prog_lex_yytext_pointer" >&6; }
   11860 if test $ac_cv_prog_lex_yytext_pointer = yes; then
   11861 
   11862 printf "%s\n" "#define YYTEXT_POINTER 1" >>confdefs.h
   11863 
   11864 fi
   11865 
   11866 fi
   11867 rm -f conftest.l $LEX_OUTPUT_ROOT.c
   11868 
   11869 fi
   11870 for ac_prog in 'bison -y' byacc
   11871 do
   11872   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11873 set dummy $ac_prog; ac_word=$2
   11874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11875 printf %s "checking for $ac_word... " >&6; }
   11876 if test ${ac_cv_prog_YACC+y}
   11877 then :
   11878   printf %s "(cached) " >&6
   11879 else case e in #(
   11880   e) if test -n "$YACC"; then
   11881   ac_cv_prog_YACC="$YACC" # Let the user override the test.
   11882 else
   11883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11884 for as_dir in $PATH
   11885 do
   11886   IFS=$as_save_IFS
   11887   case $as_dir in #(((
   11888     '') as_dir=./ ;;
   11889     */) ;;
   11890     *) as_dir=$as_dir/ ;;
   11891   esac
   11892     for ac_exec_ext in '' $ac_executable_extensions; do
   11893   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11894     ac_cv_prog_YACC="$ac_prog"
   11895     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11896     break 2
   11897   fi
   11898 done
   11899   done
   11900 IFS=$as_save_IFS
   11901 
   11902 fi ;;
   11903 esac
   11904 fi
   11905 YACC=$ac_cv_prog_YACC
   11906 if test -n "$YACC"; then
   11907   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
   11908 printf "%s\n" "$YACC" >&6; }
   11909 else
   11910   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11911 printf "%s\n" "no" >&6; }
   11912 fi
   11913 
   11914 
   11915   test -n "$YACC" && break
   11916 done
   11917 test -n "$YACC" || YACC="yacc"
   11918 
   11919 # Extract the first word of "$YACC", so it can be a program name with args.
   11920 set dummy $YACC; ac_word=$2
   11921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11922 printf %s "checking for $ac_word... " >&6; }
   11923 if test ${ac_cv_path_YACC_INST+y}
   11924 then :
   11925   printf %s "(cached) " >&6
   11926 else case e in #(
   11927   e) case $YACC_INST in
   11928   [\\/]* | ?:[\\/]*)
   11929   ac_cv_path_YACC_INST="$YACC_INST" # Let the user override the test with a path.
   11930   ;;
   11931   *)
   11932   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11933 for as_dir in $PATH
   11934 do
   11935   IFS=$as_save_IFS
   11936   case $as_dir in #(((
   11937     '') as_dir=./ ;;
   11938     */) ;;
   11939     *) as_dir=$as_dir/ ;;
   11940   esac
   11941     for ac_exec_ext in '' $ac_executable_extensions; do
   11942   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11943     ac_cv_path_YACC_INST="$as_dir$ac_word$ac_exec_ext"
   11944     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11945     break 2
   11946   fi
   11947 done
   11948   done
   11949 IFS=$as_save_IFS
   11950 
   11951   ;;
   11952 esac ;;
   11953 esac
   11954 fi
   11955 YACC_INST=$ac_cv_path_YACC_INST
   11956 if test -n "$YACC_INST"; then
   11957   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $YACC_INST" >&5
   11958 printf "%s\n" "$YACC_INST" >&6; }
   11959 else
   11960   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11961 printf "%s\n" "no" >&6; }
   11962 fi
   11963 
   11964 
   11965 if ! test -f "$srcdir/gram.c"; then
   11966    if test -z "$YACC_INST"; then
   11967       as_fn_error $? "yacc not found - unable to compile gram.y" "$LINENO" 5
   11968    fi
   11969 fi
   11970 
   11971 
   11972 pkg_failed=no
   11973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XGC" >&5
   11974 printf %s "checking for XGC... " >&6; }
   11975 
   11976 if test -n "$XGC_CFLAGS"; then
   11977     pkg_cv_XGC_CFLAGS="$XGC_CFLAGS"
   11978  elif test -n "$PKG_CONFIG"; then
   11979     if test -n "$PKG_CONFIG" && \
   11980     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xt\""; } >&5
   11981   ($PKG_CONFIG --exists --print-errors "xaw7 xt") 2>&5
   11982   ac_status=$?
   11983   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11984   test $ac_status = 0; }; then
   11985   pkg_cv_XGC_CFLAGS=`$PKG_CONFIG --cflags "xaw7 xt" 2>/dev/null`
   11986 		      test "x$?" != "x0" && pkg_failed=yes
   11987 else
   11988   pkg_failed=yes
   11989 fi
   11990  else
   11991     pkg_failed=untried
   11992 fi
   11993 if test -n "$XGC_LIBS"; then
   11994     pkg_cv_XGC_LIBS="$XGC_LIBS"
   11995  elif test -n "$PKG_CONFIG"; then
   11996     if test -n "$PKG_CONFIG" && \
   11997     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xt\""; } >&5
   11998   ($PKG_CONFIG --exists --print-errors "xaw7 xt") 2>&5
   11999   ac_status=$?
   12000   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12001   test $ac_status = 0; }; then
   12002   pkg_cv_XGC_LIBS=`$PKG_CONFIG --libs "xaw7 xt" 2>/dev/null`
   12003 		      test "x$?" != "x0" && pkg_failed=yes
   12004 else
   12005   pkg_failed=yes
   12006 fi
   12007  else
   12008     pkg_failed=untried
   12009 fi
   12010 
   12011 
   12012 
   12013 if test $pkg_failed = yes; then
   12014    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12015 printf "%s\n" "no" >&6; }
   12016 
   12017 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   12018         _pkg_short_errors_supported=yes
   12019 else
   12020         _pkg_short_errors_supported=no
   12021 fi
   12022         if test $_pkg_short_errors_supported = yes; then
   12023 	        XGC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xaw7 xt" 2>&1`
   12024         else
   12025 	        XGC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xaw7 xt" 2>&1`
   12026         fi
   12027 	# Put the nasty error message in config.log where it belongs
   12028 	echo "$XGC_PKG_ERRORS" >&5
   12029 
   12030 	as_fn_error $? "Package requirements (xaw7 xt) were not met:
   12031 
   12032 $XGC_PKG_ERRORS
   12033 
   12034 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12035 installed software in a non-standard prefix.
   12036 
   12037 Alternatively, you may set the environment variables XGC_CFLAGS
   12038 and XGC_LIBS to avoid the need to call pkg-config.
   12039 See the pkg-config man page for more details." "$LINENO" 5
   12040 elif test $pkg_failed = untried; then
   12041      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12042 printf "%s\n" "no" >&6; }
   12043 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   12044 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   12045 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   12046 is in your PATH or set the PKG_CONFIG environment variable to the full
   12047 path to pkg-config.
   12048 
   12049 Alternatively, you may set the environment variables XGC_CFLAGS
   12050 and XGC_LIBS to avoid the need to call pkg-config.
   12051 See the pkg-config man page for more details.
   12052 
   12053 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12054 See 'config.log' for more details" "$LINENO" 5; }
   12055 else
   12056 	XGC_CFLAGS=$pkg_cv_XGC_CFLAGS
   12057 	XGC_LIBS=$pkg_cv_XGC_LIBS
   12058         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12059 printf "%s\n" "yes" >&6; }
   12060 
   12061 fi
   12062 xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
   12063 
   12064 # Check whether --with-appdefaultdir was given.
   12065 if test ${with_appdefaultdir+y}
   12066 then :
   12067   withval=$with_appdefaultdir; appdefaultdir="$withval"
   12068 else case e in #(
   12069   e) appdefaultdir="${xt_appdefaultdir}" ;;
   12070 esac
   12071 fi
   12072 
   12073 
   12074 
   12075 # Checks for library functions.
   12076 ac_fn_c_check_func "$LINENO" "lrand48" "ac_cv_func_lrand48"
   12077 if test "x$ac_cv_func_lrand48" = xyes
   12078 then :
   12079   printf "%s\n" "#define HAVE_LRAND48 1" >>confdefs.h
   12080 
   12081 fi
   12082 
   12083 
   12084 ac_config_files="$ac_config_files Makefile man/Makefile"
   12085 
   12086 cat >confcache <<\_ACEOF
   12087 # This file is a shell script that caches the results of configure
   12088 # tests run on this system so they can be shared between configure
   12089 # scripts and configure runs, see configure's option --config-cache.
   12090 # It is not useful on other systems.  If it contains results you don't
   12091 # want to keep, you may remove or edit it.
   12092 #
   12093 # config.status only pays attention to the cache file if you give it
   12094 # the --recheck option to rerun configure.
   12095 #
   12096 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   12097 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   12098 # following values.
   12099 
   12100 _ACEOF
   12101 
   12102 # The following way of writing the cache mishandles newlines in values,
   12103 # but we know of no workaround that is simple, portable, and efficient.
   12104 # So, we kill variables containing newlines.
   12105 # Ultrix sh set writes to stderr and can't be redirected directly,
   12106 # and sets the high bit in the cache file unless we assign to the vars.
   12107 (
   12108   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   12109     eval ac_val=\$$ac_var
   12110     case $ac_val in #(
   12111     *${as_nl}*)
   12112       case $ac_var in #(
   12113       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   12114 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   12115       esac
   12116       case $ac_var in #(
   12117       _ | IFS | as_nl) ;; #(
   12118       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   12119       *) { eval $ac_var=; unset $ac_var;} ;;
   12120       esac ;;
   12121     esac
   12122   done
   12123 
   12124   (set) 2>&1 |
   12125     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   12126     *${as_nl}ac_space=\ *)
   12127       # 'set' does not quote correctly, so add quotes: double-quote
   12128       # substitution turns \\\\ into \\, and sed turns \\ into \.
   12129       sed -n \
   12130 	"s/'/'\\\\''/g;
   12131 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   12132       ;; #(
   12133     *)
   12134       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   12135       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   12136       ;;
   12137     esac |
   12138     sort
   12139 ) |
   12140   sed '
   12141      /^ac_cv_env_/b end
   12142      t clear
   12143      :clear
   12144      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   12145      t end
   12146      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   12147      :end' >>confcache
   12148 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   12149   if test -w "$cache_file"; then
   12150     if test "x$cache_file" != "x/dev/null"; then
   12151       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   12152 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   12153       if test ! -f "$cache_file" || test -h "$cache_file"; then
   12154 	cat confcache >"$cache_file"
   12155       else
   12156         case $cache_file in #(
   12157         */* | ?:*)
   12158 	  mv -f confcache "$cache_file"$$ &&
   12159 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   12160         *)
   12161 	  mv -f confcache "$cache_file" ;;
   12162 	esac
   12163       fi
   12164     fi
   12165   else
   12166     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   12167 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   12168   fi
   12169 fi
   12170 rm -f confcache
   12171 
   12172 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   12173 # Let make expand exec_prefix.
   12174 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   12175 
   12176 DEFS=-DHAVE_CONFIG_H
   12177 
   12178 ac_libobjs=
   12179 ac_ltlibobjs=
   12180 U=
   12181 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   12182   # 1. Remove the extension, and $U if already installed.
   12183   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   12184   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   12185   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   12186   #    will be set to the directory where LIBOBJS objects are built.
   12187   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   12188   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   12189 done
   12190 LIBOBJS=$ac_libobjs
   12191 
   12192 LTLIBOBJS=$ac_ltlibobjs
   12193 
   12194 
   12195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   12196 printf %s "checking that generated files are newer than configure... " >&6; }
   12197    if test -n "$am_sleep_pid"; then
   12198      # Hide warnings about reused PIDs.
   12199      wait $am_sleep_pid 2>/dev/null
   12200    fi
   12201    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   12202 printf "%s\n" "done" >&6; }
   12203 case $enable_silent_rules in # (((
   12204   yes) AM_DEFAULT_VERBOSITY=0;;
   12205    no) AM_DEFAULT_VERBOSITY=1;;
   12206 esac
   12207 if test $am_cv_make_support_nested_variables = yes; then
   12208     AM_V='$(V)'
   12209   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   12210 else
   12211   AM_V=$AM_DEFAULT_VERBOSITY
   12212   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   12213 fi
   12214 
   12215  if test -n "$EXEEXT"; then
   12216   am__EXEEXT_TRUE=
   12217   am__EXEEXT_FALSE='#'
   12218 else
   12219   am__EXEEXT_TRUE='#'
   12220   am__EXEEXT_FALSE=
   12221 fi
   12222 
   12223 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   12224   as_fn_error $? "conditional \"AMDEP\" was never defined.
   12225 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12226 fi
   12227 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   12228   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   12229 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12230 fi
   12231 
   12232 : "${CONFIG_STATUS=./config.status}"
   12233 ac_write_fail=0
   12234 ac_clean_files_save=$ac_clean_files
   12235 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   12236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   12237 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   12238 as_write_fail=0
   12239 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   12240 #! $SHELL
   12241 # Generated by $as_me.
   12242 # Run this file to recreate the current configuration.
   12243 # Compiler output produced by configure, useful for debugging
   12244 # configure, is in config.log if it exists.
   12245 
   12246 debug=false
   12247 ac_cs_recheck=false
   12248 ac_cs_silent=false
   12249 
   12250 SHELL=\${CONFIG_SHELL-$SHELL}
   12251 export SHELL
   12252 _ASEOF
   12253 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   12254 ## -------------------- ##
   12255 ## M4sh Initialization. ##
   12256 ## -------------------- ##
   12257 
   12258 # Be more Bourne compatible
   12259 DUALCASE=1; export DUALCASE # for MKS sh
   12260 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   12261 then :
   12262   emulate sh
   12263   NULLCMD=:
   12264   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   12265   # is contrary to our usage.  Disable this feature.
   12266   alias -g '${1+"$@"}'='"$@"'
   12267   setopt NO_GLOB_SUBST
   12268 else case e in #(
   12269   e) case `(set -o) 2>/dev/null` in #(
   12270   *posix*) :
   12271     set -o posix ;; #(
   12272   *) :
   12273      ;;
   12274 esac ;;
   12275 esac
   12276 fi
   12277 
   12278 
   12279 
   12280 # Reset variables that may have inherited troublesome values from
   12281 # the environment.
   12282 
   12283 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   12284 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   12285 # side effect of setting IFS to empty, thus disabling word splitting.)
   12286 # Quoting is to prevent editors from complaining about space-tab.
   12287 as_nl='
   12288 '
   12289 export as_nl
   12290 IFS=" ""	$as_nl"
   12291 
   12292 PS1='$ '
   12293 PS2='> '
   12294 PS4='+ '
   12295 
   12296 # Ensure predictable behavior from utilities with locale-dependent output.
   12297 LC_ALL=C
   12298 export LC_ALL
   12299 LANGUAGE=C
   12300 export LANGUAGE
   12301 
   12302 # We cannot yet rely on "unset" to work, but we need these variables
   12303 # to be unset--not just set to an empty or harmless value--now, to
   12304 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   12305 # also avoids known problems related to "unset" and subshell syntax
   12306 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   12307 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   12308 do eval test \${$as_var+y} \
   12309   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   12310 done
   12311 
   12312 # Ensure that fds 0, 1, and 2 are open.
   12313 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   12314 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   12315 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   12316 
   12317 # The user is always right.
   12318 if ${PATH_SEPARATOR+false} :; then
   12319   PATH_SEPARATOR=:
   12320   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   12321     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   12322       PATH_SEPARATOR=';'
   12323   }
   12324 fi
   12325 
   12326 
   12327 # Find who we are.  Look in the path if we contain no directory separator.
   12328 as_myself=
   12329 case $0 in #((
   12330   *[\\/]* ) as_myself=$0 ;;
   12331   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12332 for as_dir in $PATH
   12333 do
   12334   IFS=$as_save_IFS
   12335   case $as_dir in #(((
   12336     '') as_dir=./ ;;
   12337     */) ;;
   12338     *) as_dir=$as_dir/ ;;
   12339   esac
   12340     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   12341   done
   12342 IFS=$as_save_IFS
   12343 
   12344      ;;
   12345 esac
   12346 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   12347 # in which case we are not to be found in the path.
   12348 if test "x$as_myself" = x; then
   12349   as_myself=$0
   12350 fi
   12351 if test ! -f "$as_myself"; then
   12352   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   12353   exit 1
   12354 fi
   12355 
   12356 
   12357 
   12358 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   12359 # ----------------------------------------
   12360 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   12361 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   12362 # script with STATUS, using 1 if that was 0.
   12363 as_fn_error ()
   12364 {
   12365   as_status=$1; test $as_status -eq 0 && as_status=1
   12366   if test "$4"; then
   12367     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   12368     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   12369   fi
   12370   printf "%s\n" "$as_me: error: $2" >&2
   12371   as_fn_exit $as_status
   12372 } # as_fn_error
   12373 
   12374 
   12375 # as_fn_set_status STATUS
   12376 # -----------------------
   12377 # Set $? to STATUS, without forking.
   12378 as_fn_set_status ()
   12379 {
   12380   return $1
   12381 } # as_fn_set_status
   12382 
   12383 # as_fn_exit STATUS
   12384 # -----------------
   12385 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   12386 as_fn_exit ()
   12387 {
   12388   set +e
   12389   as_fn_set_status $1
   12390   exit $1
   12391 } # as_fn_exit
   12392 
   12393 # as_fn_unset VAR
   12394 # ---------------
   12395 # Portably unset VAR.
   12396 as_fn_unset ()
   12397 {
   12398   { eval $1=; unset $1;}
   12399 }
   12400 as_unset=as_fn_unset
   12401 
   12402 # as_fn_append VAR VALUE
   12403 # ----------------------
   12404 # Append the text in VALUE to the end of the definition contained in VAR. Take
   12405 # advantage of any shell optimizations that allow amortized linear growth over
   12406 # repeated appends, instead of the typical quadratic growth present in naive
   12407 # implementations.
   12408 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   12409 then :
   12410   eval 'as_fn_append ()
   12411   {
   12412     eval $1+=\$2
   12413   }'
   12414 else case e in #(
   12415   e) as_fn_append ()
   12416   {
   12417     eval $1=\$$1\$2
   12418   } ;;
   12419 esac
   12420 fi # as_fn_append
   12421 
   12422 # as_fn_arith ARG...
   12423 # ------------------
   12424 # Perform arithmetic evaluation on the ARGs, and store the result in the
   12425 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   12426 # must be portable across $(()) and expr.
   12427 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   12428 then :
   12429   eval 'as_fn_arith ()
   12430   {
   12431     as_val=$(( $* ))
   12432   }'
   12433 else case e in #(
   12434   e) as_fn_arith ()
   12435   {
   12436     as_val=`expr "$@" || test $? -eq 1`
   12437   } ;;
   12438 esac
   12439 fi # as_fn_arith
   12440 
   12441 
   12442 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12443    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12444   as_expr=expr
   12445 else
   12446   as_expr=false
   12447 fi
   12448 
   12449 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12450   as_basename=basename
   12451 else
   12452   as_basename=false
   12453 fi
   12454 
   12455 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12456   as_dirname=dirname
   12457 else
   12458   as_dirname=false
   12459 fi
   12460 
   12461 as_me=`$as_basename -- "$0" ||
   12462 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12463 	 X"$0" : 'X\(//\)$' \| \
   12464 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12465 printf "%s\n" X/"$0" |
   12466     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12467 	    s//\1/
   12468 	    q
   12469 	  }
   12470 	  /^X\/\(\/\/\)$/{
   12471 	    s//\1/
   12472 	    q
   12473 	  }
   12474 	  /^X\/\(\/\).*/{
   12475 	    s//\1/
   12476 	    q
   12477 	  }
   12478 	  s/.*/./; q'`
   12479 
   12480 # Avoid depending upon Character Ranges.
   12481 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12482 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12483 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12484 as_cr_digits='0123456789'
   12485 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12486 
   12487 
   12488 # Determine whether it's possible to make 'echo' print without a newline.
   12489 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   12490 # for compatibility with existing Makefiles.
   12491 ECHO_C= ECHO_N= ECHO_T=
   12492 case `echo -n x` in #(((((
   12493 -n*)
   12494   case `echo 'xy\c'` in
   12495   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   12496   xy)  ECHO_C='\c';;
   12497   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   12498        ECHO_T='	';;
   12499   esac;;
   12500 *)
   12501   ECHO_N='-n';;
   12502 esac
   12503 
   12504 # For backward compatibility with old third-party macros, we provide
   12505 # the shell variables $as_echo and $as_echo_n.  New code should use
   12506 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   12507 as_echo='printf %s\n'
   12508 as_echo_n='printf %s'
   12509 
   12510 rm -f conf$$ conf$$.exe conf$$.file
   12511 if test -d conf$$.dir; then
   12512   rm -f conf$$.dir/conf$$.file
   12513 else
   12514   rm -f conf$$.dir
   12515   mkdir conf$$.dir 2>/dev/null
   12516 fi
   12517 if (echo >conf$$.file) 2>/dev/null; then
   12518   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12519     as_ln_s='ln -s'
   12520     # ... but there are two gotchas:
   12521     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   12522     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   12523     # In both cases, we have to default to 'cp -pR'.
   12524     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12525       as_ln_s='cp -pR'
   12526   elif ln conf$$.file conf$$ 2>/dev/null; then
   12527     as_ln_s=ln
   12528   else
   12529     as_ln_s='cp -pR'
   12530   fi
   12531 else
   12532   as_ln_s='cp -pR'
   12533 fi
   12534 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12535 rmdir conf$$.dir 2>/dev/null
   12536 
   12537 
   12538 # as_fn_mkdir_p
   12539 # -------------
   12540 # Create "$as_dir" as a directory, including parents if necessary.
   12541 as_fn_mkdir_p ()
   12542 {
   12543 
   12544   case $as_dir in #(
   12545   -*) as_dir=./$as_dir;;
   12546   esac
   12547   test -d "$as_dir" || eval $as_mkdir_p || {
   12548     as_dirs=
   12549     while :; do
   12550       case $as_dir in #(
   12551       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12552       *) as_qdir=$as_dir;;
   12553       esac
   12554       as_dirs="'$as_qdir' $as_dirs"
   12555       as_dir=`$as_dirname -- "$as_dir" ||
   12556 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12557 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12558 	 X"$as_dir" : 'X\(//\)$' \| \
   12559 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12560 printf "%s\n" X"$as_dir" |
   12561     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12562 	    s//\1/
   12563 	    q
   12564 	  }
   12565 	  /^X\(\/\/\)[^/].*/{
   12566 	    s//\1/
   12567 	    q
   12568 	  }
   12569 	  /^X\(\/\/\)$/{
   12570 	    s//\1/
   12571 	    q
   12572 	  }
   12573 	  /^X\(\/\).*/{
   12574 	    s//\1/
   12575 	    q
   12576 	  }
   12577 	  s/.*/./; q'`
   12578       test -d "$as_dir" && break
   12579     done
   12580     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12581   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12582 
   12583 
   12584 } # as_fn_mkdir_p
   12585 if mkdir -p . 2>/dev/null; then
   12586   as_mkdir_p='mkdir -p "$as_dir"'
   12587 else
   12588   test -d ./-p && rmdir ./-p
   12589   as_mkdir_p=false
   12590 fi
   12591 
   12592 
   12593 # as_fn_executable_p FILE
   12594 # -----------------------
   12595 # Test if FILE is an executable regular file.
   12596 as_fn_executable_p ()
   12597 {
   12598   test -f "$1" && test -x "$1"
   12599 } # as_fn_executable_p
   12600 as_test_x='test -x'
   12601 as_executable_p=as_fn_executable_p
   12602 
   12603 # Sed expression to map a string onto a valid CPP name.
   12604 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   12605 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   12606 
   12607 # Sed expression to map a string onto a valid variable name.
   12608 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   12609 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   12610 
   12611 
   12612 exec 6>&1
   12613 ## ----------------------------------- ##
   12614 ## Main body of $CONFIG_STATUS script. ##
   12615 ## ----------------------------------- ##
   12616 _ASEOF
   12617 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   12618 
   12619 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12620 # Save the log message, to keep $0 and so on meaningful, and to
   12621 # report actual input values of CONFIG_FILES etc. instead of their
   12622 # values after options handling.
   12623 ac_log="
   12624 This file was extended by xgc $as_me 1.0.7, which was
   12625 generated by GNU Autoconf 2.72.  Invocation command line was
   12626 
   12627   CONFIG_FILES    = $CONFIG_FILES
   12628   CONFIG_HEADERS  = $CONFIG_HEADERS
   12629   CONFIG_LINKS    = $CONFIG_LINKS
   12630   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12631   $ $0 $@
   12632 
   12633 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12634 "
   12635 
   12636 _ACEOF
   12637 
   12638 case $ac_config_files in *"
   12639 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12640 esac
   12641 
   12642 case $ac_config_headers in *"
   12643 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12644 esac
   12645 
   12646 
   12647 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12648 # Files that config.status was made for.
   12649 config_files="$ac_config_files"
   12650 config_headers="$ac_config_headers"
   12651 config_commands="$ac_config_commands"
   12652 
   12653 _ACEOF
   12654 
   12655 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12656 ac_cs_usage="\
   12657 '$as_me' instantiates files and other configuration actions
   12658 from templates according to the current configuration.  Unless the files
   12659 and actions are specified as TAGs, all are instantiated by default.
   12660 
   12661 Usage: $0 [OPTION]... [TAG]...
   12662 
   12663   -h, --help       print this help, then exit
   12664   -V, --version    print version number and configuration settings, then exit
   12665       --config     print configuration, then exit
   12666   -q, --quiet, --silent
   12667                    do not print progress messages
   12668   -d, --debug      don't remove temporary files
   12669       --recheck    update $as_me by reconfiguring in the same conditions
   12670       --file=FILE[:TEMPLATE]
   12671                    instantiate the configuration file FILE
   12672       --header=FILE[:TEMPLATE]
   12673                    instantiate the configuration header FILE
   12674 
   12675 Configuration files:
   12676 $config_files
   12677 
   12678 Configuration headers:
   12679 $config_headers
   12680 
   12681 Configuration commands:
   12682 $config_commands
   12683 
   12684 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xgc/-/issues>."
   12685 
   12686 _ACEOF
   12687 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   12688 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   12689 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12690 ac_cs_config='$ac_cs_config_escaped'
   12691 ac_cs_version="\\
   12692 xgc config.status 1.0.7
   12693 configured by $0, generated by GNU Autoconf 2.72,
   12694   with options \\"\$ac_cs_config\\"
   12695 
   12696 Copyright (C) 2023 Free Software Foundation, Inc.
   12697 This config.status script is free software; the Free Software Foundation
   12698 gives unlimited permission to copy, distribute and modify it."
   12699 
   12700 ac_pwd='$ac_pwd'
   12701 srcdir='$srcdir'
   12702 INSTALL='$INSTALL'
   12703 MKDIR_P='$MKDIR_P'
   12704 AWK='$AWK'
   12705 test -n "\$AWK" || AWK=awk
   12706 _ACEOF
   12707 
   12708 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12709 # The default lists apply if the user does not specify any file.
   12710 ac_need_defaults=:
   12711 while test $# != 0
   12712 do
   12713   case $1 in
   12714   --*=?*)
   12715     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12716     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12717     ac_shift=:
   12718     ;;
   12719   --*=)
   12720     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12721     ac_optarg=
   12722     ac_shift=:
   12723     ;;
   12724   *)
   12725     ac_option=$1
   12726     ac_optarg=$2
   12727     ac_shift=shift
   12728     ;;
   12729   esac
   12730 
   12731   case $ac_option in
   12732   # Handling of the options.
   12733   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12734     ac_cs_recheck=: ;;
   12735   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12736     printf "%s\n" "$ac_cs_version"; exit ;;
   12737   --config | --confi | --conf | --con | --co | --c )
   12738     printf "%s\n" "$ac_cs_config"; exit ;;
   12739   --debug | --debu | --deb | --de | --d | -d )
   12740     debug=: ;;
   12741   --file | --fil | --fi | --f )
   12742     $ac_shift
   12743     case $ac_optarg in
   12744     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12745     '') as_fn_error $? "missing file argument" ;;
   12746     esac
   12747     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12748     ac_need_defaults=false;;
   12749   --header | --heade | --head | --hea )
   12750     $ac_shift
   12751     case $ac_optarg in
   12752     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12753     esac
   12754     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12755     ac_need_defaults=false;;
   12756   --he | --h)
   12757     # Conflict between --help and --header
   12758     as_fn_error $? "ambiguous option: '$1'
   12759 Try '$0 --help' for more information.";;
   12760   --help | --hel | -h )
   12761     printf "%s\n" "$ac_cs_usage"; exit ;;
   12762   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12763   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12764     ac_cs_silent=: ;;
   12765 
   12766   # This is an error.
   12767   -*) as_fn_error $? "unrecognized option: '$1'
   12768 Try '$0 --help' for more information." ;;
   12769 
   12770   *) as_fn_append ac_config_targets " $1"
   12771      ac_need_defaults=false ;;
   12772 
   12773   esac
   12774   shift
   12775 done
   12776 
   12777 ac_configure_extra_args=
   12778 
   12779 if $ac_cs_silent; then
   12780   exec 6>/dev/null
   12781   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12782 fi
   12783 
   12784 _ACEOF
   12785 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12786 if \$ac_cs_recheck; then
   12787   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12788   shift
   12789   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   12790   CONFIG_SHELL='$SHELL'
   12791   export CONFIG_SHELL
   12792   exec "\$@"
   12793 fi
   12794 
   12795 _ACEOF
   12796 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12797 exec 5>>config.log
   12798 {
   12799   echo
   12800   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12801 ## Running $as_me. ##
   12802 _ASBOX
   12803   printf "%s\n" "$ac_log"
   12804 } >&5
   12805 
   12806 _ACEOF
   12807 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12808 #
   12809 # INIT-COMMANDS
   12810 #
   12811 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   12812 
   12813 _ACEOF
   12814 
   12815 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12816 
   12817 # Handling of arguments.
   12818 for ac_config_target in $ac_config_targets
   12819 do
   12820   case $ac_config_target in
   12821     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12822     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12823     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12824     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12825 
   12826   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   12827   esac
   12828 done
   12829 
   12830 
   12831 # If the user did not use the arguments to specify the items to instantiate,
   12832 # then the envvar interface is used.  Set only those that are not.
   12833 # We use the long form for the default assignment because of an extremely
   12834 # bizarre bug on SunOS 4.1.3.
   12835 if $ac_need_defaults; then
   12836   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   12837   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   12838   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   12839 fi
   12840 
   12841 # Have a temporary directory for convenience.  Make it in the build tree
   12842 # simply because there is no reason against having it here, and in addition,
   12843 # creating and moving files from /tmp can sometimes cause problems.
   12844 # Hook for its removal unless debugging.
   12845 # Note that there is a small window in which the directory will not be cleaned:
   12846 # after its creation but before its name has been assigned to '$tmp'.
   12847 $debug ||
   12848 {
   12849   tmp= ac_tmp=
   12850   trap 'exit_status=$?
   12851   : "${ac_tmp:=$tmp}"
   12852   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12853 ' 0
   12854   trap 'as_fn_exit 1' 1 2 13 15
   12855 }
   12856 # Create a (secure) tmp directory for tmp files.
   12857 
   12858 {
   12859   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12860   test -d "$tmp"
   12861 }  ||
   12862 {
   12863   tmp=./conf$$-$RANDOM
   12864   (umask 077 && mkdir "$tmp")
   12865 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12866 ac_tmp=$tmp
   12867 
   12868 # Set up the scripts for CONFIG_FILES section.
   12869 # No need to generate them if there are no CONFIG_FILES.
   12870 # This happens for instance with './config.status config.h'.
   12871 if test -n "$CONFIG_FILES"; then
   12872 
   12873 
   12874 ac_cr=`echo X | tr X '\015'`
   12875 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12876 # But we know of no other shell where ac_cr would be empty at this
   12877 # point, so we can use a bashism as a fallback.
   12878 if test "x$ac_cr" = x; then
   12879   eval ac_cr=\$\'\\r\'
   12880 fi
   12881 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12882 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12883   ac_cs_awk_cr='\\r'
   12884 else
   12885   ac_cs_awk_cr=$ac_cr
   12886 fi
   12887 
   12888 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12889 _ACEOF
   12890 
   12891 
   12892 {
   12893   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12894   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12895   echo "_ACEOF"
   12896 } >conf$$subs.sh ||
   12897   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12898 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12899 ac_delim='%!_!# '
   12900 for ac_last_try in false false false false false :; do
   12901   . ./conf$$subs.sh ||
   12902     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12903 
   12904   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12905   if test $ac_delim_n = $ac_delim_num; then
   12906     break
   12907   elif $ac_last_try; then
   12908     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12909   else
   12910     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12911   fi
   12912 done
   12913 rm -f conf$$subs.sh
   12914 
   12915 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12916 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12917 _ACEOF
   12918 sed -n '
   12919 h
   12920 s/^/S["/; s/!.*/"]=/
   12921 p
   12922 g
   12923 s/^[^!]*!//
   12924 :repl
   12925 t repl
   12926 s/'"$ac_delim"'$//
   12927 t delim
   12928 :nl
   12929 h
   12930 s/\(.\{148\}\)..*/\1/
   12931 t more1
   12932 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12933 p
   12934 n
   12935 b repl
   12936 :more1
   12937 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12938 p
   12939 g
   12940 s/.\{148\}//
   12941 t nl
   12942 :delim
   12943 h
   12944 s/\(.\{148\}\)..*/\1/
   12945 t more2
   12946 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12947 p
   12948 b
   12949 :more2
   12950 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12951 p
   12952 g
   12953 s/.\{148\}//
   12954 t delim
   12955 ' <conf$$subs.awk | sed '
   12956 /^[^""]/{
   12957   N
   12958   s/\n//
   12959 }
   12960 ' >>$CONFIG_STATUS || ac_write_fail=1
   12961 rm -f conf$$subs.awk
   12962 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12963 _ACAWK
   12964 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12965   for (key in S) S_is_set[key] = 1
   12966   FS = ""
   12967 
   12968 }
   12969 {
   12970   line = $ 0
   12971   nfields = split(line, field, "@")
   12972   substed = 0
   12973   len = length(field[1])
   12974   for (i = 2; i < nfields; i++) {
   12975     key = field[i]
   12976     keylen = length(key)
   12977     if (S_is_set[key]) {
   12978       value = S[key]
   12979       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12980       len += length(value) + length(field[++i])
   12981       substed = 1
   12982     } else
   12983       len += 1 + keylen
   12984   }
   12985 
   12986   print line
   12987 }
   12988 
   12989 _ACAWK
   12990 _ACEOF
   12991 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12992 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12993   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12994 else
   12995   cat
   12996 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12997   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12998 _ACEOF
   12999 
   13000 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   13001 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   13002 # trailing colons and then remove the whole line if VPATH becomes empty
   13003 # (actually we leave an empty line to preserve line numbers).
   13004 if test "x$srcdir" = x.; then
   13005   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   13006 h
   13007 s///
   13008 s/^/:/
   13009 s/[	 ]*$/:/
   13010 s/:\$(srcdir):/:/g
   13011 s/:\${srcdir}:/:/g
   13012 s/:@srcdir@:/:/g
   13013 s/^:*//
   13014 s/:*$//
   13015 x
   13016 s/\(=[	 ]*\).*/\1/
   13017 G
   13018 s/\n//
   13019 s/^[^=]*=[	 ]*$//
   13020 }'
   13021 fi
   13022 
   13023 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13024 fi # test -n "$CONFIG_FILES"
   13025 
   13026 # Set up the scripts for CONFIG_HEADERS section.
   13027 # No need to generate them if there are no CONFIG_HEADERS.
   13028 # This happens for instance with './config.status Makefile'.
   13029 if test -n "$CONFIG_HEADERS"; then
   13030 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   13031 BEGIN {
   13032 _ACEOF
   13033 
   13034 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   13035 # here-document in config.status, that substitutes the proper values into
   13036 # config.h.in to produce config.h.
   13037 
   13038 # Create a delimiter string that does not exist in confdefs.h, to ease
   13039 # handling of long lines.
   13040 ac_delim='%!_!# '
   13041 for ac_last_try in false false :; do
   13042   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   13043   if test -z "$ac_tt"; then
   13044     break
   13045   elif $ac_last_try; then
   13046     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   13047   else
   13048     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13049   fi
   13050 done
   13051 
   13052 # For the awk script, D is an array of macro values keyed by name,
   13053 # likewise P contains macro parameters if any.  Preserve backslash
   13054 # newline sequences.
   13055 
   13056 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   13057 sed -n '
   13058 s/.\{148\}/&'"$ac_delim"'/g
   13059 t rset
   13060 :rset
   13061 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   13062 t def
   13063 d
   13064 :def
   13065 s/\\$//
   13066 t bsnl
   13067 s/["\\]/\\&/g
   13068 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13069 D["\1"]=" \3"/p
   13070 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   13071 d
   13072 :bsnl
   13073 s/["\\]/\\&/g
   13074 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13075 D["\1"]=" \3\\\\\\n"\\/p
   13076 t cont
   13077 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   13078 t cont
   13079 d
   13080 :cont
   13081 n
   13082 s/.\{148\}/&'"$ac_delim"'/g
   13083 t clear
   13084 :clear
   13085 s/\\$//
   13086 t bsnlc
   13087 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   13088 d
   13089 :bsnlc
   13090 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   13091 b cont
   13092 ' <confdefs.h | sed '
   13093 s/'"$ac_delim"'/"\\\
   13094 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   13095 
   13096 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13097   for (key in D) D_is_set[key] = 1
   13098   FS = ""
   13099 }
   13100 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   13101   line = \$ 0
   13102   split(line, arg, " ")
   13103   if (arg[1] == "#") {
   13104     defundef = arg[2]
   13105     mac1 = arg[3]
   13106   } else {
   13107     defundef = substr(arg[1], 2)
   13108     mac1 = arg[2]
   13109   }
   13110   split(mac1, mac2, "(") #)
   13111   macro = mac2[1]
   13112   prefix = substr(line, 1, index(line, defundef) - 1)
   13113   if (D_is_set[macro]) {
   13114     # Preserve the white space surrounding the "#".
   13115     print prefix "define", macro P[macro] D[macro]
   13116     next
   13117   } else {
   13118     # Replace #undef with comments.  This is necessary, for example,
   13119     # in the case of _POSIX_SOURCE, which is predefined and required
   13120     # on some systems where configure will not decide to define it.
   13121     if (defundef == "undef") {
   13122       print "/*", prefix defundef, macro, "*/"
   13123       next
   13124     }
   13125   }
   13126 }
   13127 { print }
   13128 _ACAWK
   13129 _ACEOF
   13130 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13131   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   13132 fi # test -n "$CONFIG_HEADERS"
   13133 
   13134 
   13135 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   13136 shift
   13137 for ac_tag
   13138 do
   13139   case $ac_tag in
   13140   :[FHLC]) ac_mode=$ac_tag; continue;;
   13141   esac
   13142   case $ac_mode$ac_tag in
   13143   :[FHL]*:*);;
   13144   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   13145   :[FH]-) ac_tag=-:-;;
   13146   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   13147   esac
   13148   ac_save_IFS=$IFS
   13149   IFS=:
   13150   set x $ac_tag
   13151   IFS=$ac_save_IFS
   13152   shift
   13153   ac_file=$1
   13154   shift
   13155 
   13156   case $ac_mode in
   13157   :L) ac_source=$1;;
   13158   :[FH])
   13159     ac_file_inputs=
   13160     for ac_f
   13161     do
   13162       case $ac_f in
   13163       -) ac_f="$ac_tmp/stdin";;
   13164       *) # Look for the file first in the build tree, then in the source tree
   13165 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   13166 	 # because $ac_f cannot contain ':'.
   13167 	 test -f "$ac_f" ||
   13168 	   case $ac_f in
   13169 	   [\\/$]*) false;;
   13170 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   13171 	   esac ||
   13172 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   13173       esac
   13174       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   13175       as_fn_append ac_file_inputs " '$ac_f'"
   13176     done
   13177 
   13178     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   13179     # use $as_me), people would be surprised to read:
   13180     #    /* config.h.  Generated by config.status.  */
   13181     configure_input='Generated from '`
   13182 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   13183 	`' by configure.'
   13184     if test x"$ac_file" != x-; then
   13185       configure_input="$ac_file.  $configure_input"
   13186       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   13187 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   13188     fi
   13189     # Neutralize special characters interpreted by sed in replacement strings.
   13190     case $configure_input in #(
   13191     *\&* | *\|* | *\\* )
   13192        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   13193        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   13194     *) ac_sed_conf_input=$configure_input;;
   13195     esac
   13196 
   13197     case $ac_tag in
   13198     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   13199       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   13200     esac
   13201     ;;
   13202   esac
   13203 
   13204   ac_dir=`$as_dirname -- "$ac_file" ||
   13205 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13206 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   13207 	 X"$ac_file" : 'X\(//\)$' \| \
   13208 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   13209 printf "%s\n" X"$ac_file" |
   13210     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13211 	    s//\1/
   13212 	    q
   13213 	  }
   13214 	  /^X\(\/\/\)[^/].*/{
   13215 	    s//\1/
   13216 	    q
   13217 	  }
   13218 	  /^X\(\/\/\)$/{
   13219 	    s//\1/
   13220 	    q
   13221 	  }
   13222 	  /^X\(\/\).*/{
   13223 	    s//\1/
   13224 	    q
   13225 	  }
   13226 	  s/.*/./; q'`
   13227   as_dir="$ac_dir"; as_fn_mkdir_p
   13228   ac_builddir=.
   13229 
   13230 case "$ac_dir" in
   13231 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13232 *)
   13233   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   13234   # A ".." for each directory in $ac_dir_suffix.
   13235   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   13236   case $ac_top_builddir_sub in
   13237   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13238   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   13239   esac ;;
   13240 esac
   13241 ac_abs_top_builddir=$ac_pwd
   13242 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   13243 # for backward compatibility:
   13244 ac_top_builddir=$ac_top_build_prefix
   13245 
   13246 case $srcdir in
   13247   .)  # We are building in place.
   13248     ac_srcdir=.
   13249     ac_top_srcdir=$ac_top_builddir_sub
   13250     ac_abs_top_srcdir=$ac_pwd ;;
   13251   [\\/]* | ?:[\\/]* )  # Absolute name.
   13252     ac_srcdir=$srcdir$ac_dir_suffix;
   13253     ac_top_srcdir=$srcdir
   13254     ac_abs_top_srcdir=$srcdir ;;
   13255   *) # Relative name.
   13256     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   13257     ac_top_srcdir=$ac_top_build_prefix$srcdir
   13258     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   13259 esac
   13260 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   13261 
   13262 
   13263   case $ac_mode in
   13264   :F)
   13265   #
   13266   # CONFIG_FILE
   13267   #
   13268 
   13269   case $INSTALL in
   13270   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   13271   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   13272   esac
   13273   ac_MKDIR_P=$MKDIR_P
   13274   case $MKDIR_P in
   13275   [\\/$]* | ?:[\\/]* ) ;;
   13276   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   13277   esac
   13278 _ACEOF
   13279 
   13280 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13281 # If the template does not know about datarootdir, expand it.
   13282 # FIXME: This hack should be removed a few years after 2.60.
   13283 ac_datarootdir_hack=; ac_datarootdir_seen=
   13284 ac_sed_dataroot='
   13285 /datarootdir/ {
   13286   p
   13287   q
   13288 }
   13289 /@datadir@/p
   13290 /@docdir@/p
   13291 /@infodir@/p
   13292 /@localedir@/p
   13293 /@mandir@/p'
   13294 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   13295 *datarootdir*) ac_datarootdir_seen=yes;;
   13296 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   13297   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   13298 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   13299 _ACEOF
   13300 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13301   ac_datarootdir_hack='
   13302   s&@datadir@&$datadir&g
   13303   s&@docdir@&$docdir&g
   13304   s&@infodir@&$infodir&g
   13305   s&@localedir@&$localedir&g
   13306   s&@mandir@&$mandir&g
   13307   s&\\\${datarootdir}&$datarootdir&g' ;;
   13308 esac
   13309 _ACEOF
   13310 
   13311 # Neutralize VPATH when '$srcdir' = '.'.
   13312 # Shell code in configure.ac might set extrasub.
   13313 # FIXME: do we really want to maintain this feature?
   13314 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13315 ac_sed_extra="$ac_vpsub
   13316 $extrasub
   13317 _ACEOF
   13318 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13319 :t
   13320 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   13321 s|@configure_input@|$ac_sed_conf_input|;t t
   13322 s&@top_builddir@&$ac_top_builddir_sub&;t t
   13323 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   13324 s&@srcdir@&$ac_srcdir&;t t
   13325 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   13326 s&@top_srcdir@&$ac_top_srcdir&;t t
   13327 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   13328 s&@builddir@&$ac_builddir&;t t
   13329 s&@abs_builddir@&$ac_abs_builddir&;t t
   13330 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   13331 s&@INSTALL@&$ac_INSTALL&;t t
   13332 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   13333 $ac_datarootdir_hack
   13334 "
   13335 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   13336   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13337 
   13338 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   13339   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   13340   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   13341       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   13342   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13343 which seems to be undefined.  Please make sure it is defined" >&5
   13344 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13345 which seems to be undefined.  Please make sure it is defined" >&2;}
   13346 
   13347   rm -f "$ac_tmp/stdin"
   13348   case $ac_file in
   13349   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   13350   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   13351   esac \
   13352   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13353  ;;
   13354   :H)
   13355   #
   13356   # CONFIG_HEADER
   13357   #
   13358   if test x"$ac_file" != x-; then
   13359     {
   13360       printf "%s\n" "/* $configure_input  */" >&1 \
   13361       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   13362     } >"$ac_tmp/config.h" \
   13363       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13364     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   13365       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   13366 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   13367     else
   13368       rm -f "$ac_file"
   13369       mv "$ac_tmp/config.h" "$ac_file" \
   13370 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13371     fi
   13372   else
   13373     printf "%s\n" "/* $configure_input  */" >&1 \
   13374       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   13375       || as_fn_error $? "could not create -" "$LINENO" 5
   13376   fi
   13377 # Compute "$ac_file"'s index in $config_headers.
   13378 _am_arg="$ac_file"
   13379 _am_stamp_count=1
   13380 for _am_header in $config_headers :; do
   13381   case $_am_header in
   13382     $_am_arg | $_am_arg:* )
   13383       break ;;
   13384     * )
   13385       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   13386   esac
   13387 done
   13388 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   13389 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13390 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   13391 	 X"$_am_arg" : 'X\(//\)$' \| \
   13392 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   13393 printf "%s\n" X"$_am_arg" |
   13394     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13395 	    s//\1/
   13396 	    q
   13397 	  }
   13398 	  /^X\(\/\/\)[^/].*/{
   13399 	    s//\1/
   13400 	    q
   13401 	  }
   13402 	  /^X\(\/\/\)$/{
   13403 	    s//\1/
   13404 	    q
   13405 	  }
   13406 	  /^X\(\/\).*/{
   13407 	    s//\1/
   13408 	    q
   13409 	  }
   13410 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   13411  ;;
   13412 
   13413   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   13414 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   13415  ;;
   13416   esac
   13417 
   13418 
   13419   case $ac_file$ac_mode in
   13420     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   13421   # Older Autoconf quotes --file arguments for eval, but not when files
   13422   # are listed without --file.  Let's play safe and only enable the eval
   13423   # if we detect the quoting.
   13424   # TODO: see whether this extra hack can be removed once we start
   13425   # requiring Autoconf 2.70 or later.
   13426   case $CONFIG_FILES in #(
   13427   *\'*) :
   13428     eval set x "$CONFIG_FILES" ;; #(
   13429   *) :
   13430     set x $CONFIG_FILES ;; #(
   13431   *) :
   13432      ;;
   13433 esac
   13434   shift
   13435   # Used to flag and report bootstrapping failures.
   13436   am_rc=0
   13437   for am_mf
   13438   do
   13439     # Strip MF so we end up with the name of the file.
   13440     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   13441     # Check whether this is an Automake generated Makefile which includes
   13442     # dependency-tracking related rules and includes.
   13443     # Grep'ing the whole file directly is not great: AIX grep has a line
   13444     # limit of 2048, but all sed's we know have understand at least 4000.
   13445     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   13446       || continue
   13447     am_dirpart=`$as_dirname -- "$am_mf" ||
   13448 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13449 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   13450 	 X"$am_mf" : 'X\(//\)$' \| \
   13451 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13452 printf "%s\n" X"$am_mf" |
   13453     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13454 	    s//\1/
   13455 	    q
   13456 	  }
   13457 	  /^X\(\/\/\)[^/].*/{
   13458 	    s//\1/
   13459 	    q
   13460 	  }
   13461 	  /^X\(\/\/\)$/{
   13462 	    s//\1/
   13463 	    q
   13464 	  }
   13465 	  /^X\(\/\).*/{
   13466 	    s//\1/
   13467 	    q
   13468 	  }
   13469 	  s/.*/./; q'`
   13470     am_filepart=`$as_basename -- "$am_mf" ||
   13471 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   13472 	 X"$am_mf" : 'X\(//\)$' \| \
   13473 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13474 printf "%s\n" X/"$am_mf" |
   13475     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13476 	    s//\1/
   13477 	    q
   13478 	  }
   13479 	  /^X\/\(\/\/\)$/{
   13480 	    s//\1/
   13481 	    q
   13482 	  }
   13483 	  /^X\/\(\/\).*/{
   13484 	    s//\1/
   13485 	    q
   13486 	  }
   13487 	  s/.*/./; q'`
   13488     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   13489       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13490         | $MAKE -f - am--depfiles" >&5
   13491    (cd "$am_dirpart" \
   13492       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13493         | $MAKE -f - am--depfiles) >&5 2>&5
   13494    ac_status=$?
   13495    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13496    (exit $ac_status); } || am_rc=$?
   13497   done
   13498   if test $am_rc -ne 0; then
   13499     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   13500 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   13501 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   13502     for automatic dependency tracking.  If GNU make was not used, consider
   13503     re-running the configure script with MAKE=\"gmake\" (or whatever is
   13504     necessary).  You can also try re-running configure with the
   13505     '--disable-dependency-tracking' option to at least be able to build
   13506     the package (albeit without support for automatic dependency tracking).
   13507 See 'config.log' for more details" "$LINENO" 5; }
   13508   fi
   13509   { am_dirpart=; unset am_dirpart;}
   13510   { am_filepart=; unset am_filepart;}
   13511   { am_mf=; unset am_mf;}
   13512   { am_rc=; unset am_rc;}
   13513   rm -f conftest-deps.mk
   13514 }
   13515  ;;
   13516 
   13517   esac
   13518 done # for ac_tag
   13519 
   13520 
   13521 as_fn_exit 0
   13522 _ACEOF
   13523 ac_clean_files=$ac_clean_files_save
   13524 
   13525 test $ac_write_fail = 0 ||
   13526   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   13527 
   13528 
   13529 # configure is writing to config.log, and then calls config.status.
   13530 # config.status does its own redirection, appending to config.log.
   13531 # Unfortunately, on DOS this fails, as config.log is still kept open
   13532 # by configure, so config.status won't be able to write to it; its
   13533 # output is simply discarded.  So we exec the FD to /dev/null,
   13534 # effectively closing config.log, so it can be properly (re)opened and
   13535 # appended to by config.status.  When coming back to configure, we
   13536 # need to make the FD available again.
   13537 if test "$no_create" != yes; then
   13538   ac_cs_success=:
   13539   ac_config_status_args=
   13540   test "$silent" = yes &&
   13541     ac_config_status_args="$ac_config_status_args --quiet"
   13542   exec 5>/dev/null
   13543   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   13544   exec 5>>config.log
   13545   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   13546   # would make configure fail if this is the last instruction.
   13547   $ac_cs_success || as_fn_exit 1
   13548 fi
   13549 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   13550   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   13551 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   13552 fi
   13553 
   13554 
   13555