Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.5
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for xmessage 1.0.6.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xmessage/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 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 as_nop=:
     21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     22 then :
     23   emulate sh
     24   NULLCMD=:
     25   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     26   # is contrary to our usage.  Disable this feature.
     27   alias -g '${1+"$@"}'='"$@"'
     28   setopt NO_GLOB_SUBST
     29 else $as_nop
     30   case `(set -o) 2>/dev/null` in #(
     31   *posix*) :
     32     set -o posix ;; #(
     33   *) :
     34      ;;
     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="as_nop=:
    144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    145 then :
    146   emulate sh
    147   NULLCMD=:
    148   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    149   # is contrary to our usage.  Disable this feature.
    150   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    151   setopt NO_GLOB_SUBST
    152 else \$as_nop
    153   case \`(set -o) 2>/dev/null\` in #(
    154   *posix*) :
    155     set -o posix ;; #(
    156   *) :
    157      ;;
    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 \$as_nop
    176   exitcode=1; echo positional parameters were not saved.
    177 fi
    178 test x\$exitcode = x0 || exit 1
    179 blah=\$(echo \$(echo blah))
    180 test x\"\$blah\" = xblah || exit 1
    181 test -x / || exit 1"
    182   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    183   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    184   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    185   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    186 test \$(( 1 + 1 )) = 2 || exit 1"
    187   if (eval "$as_required") 2>/dev/null
    188 then :
    189   as_have_required=yes
    190 else $as_nop
    191   as_have_required=no
    192 fi
    193   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    194 then :
    195 
    196 else $as_nop
    197   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    198 as_found=false
    199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    200 do
    201   IFS=$as_save_IFS
    202   case $as_dir in #(((
    203     '') as_dir=./ ;;
    204     */) ;;
    205     *) as_dir=$as_dir/ ;;
    206   esac
    207   as_found=:
    208   case $as_dir in #(
    209 	 /*)
    210 	   for as_base in sh bash ksh sh5; do
    211 	     # Try only shells that exist, to save several forks.
    212 	     as_shell=$as_dir$as_base
    213 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    214 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    215 then :
    216   CONFIG_SHELL=$as_shell as_have_required=yes
    217 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    218 then :
    219   break 2
    220 fi
    221 fi
    222 	   done;;
    223        esac
    224   as_found=false
    225 done
    226 IFS=$as_save_IFS
    227 if $as_found
    228 then :
    229 
    230 else $as_nop
    231   if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    232 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    233 then :
    234   CONFIG_SHELL=$SHELL as_have_required=yes
    235 fi
    236 fi
    237 
    238 
    239       if test "x$CONFIG_SHELL" != x
    240 then :
    241   export CONFIG_SHELL
    242              # We cannot yet assume a decent shell, so we have to provide a
    243 # neutralization value for shells without unset; and this also
    244 # works around shells that cannot unset nonexistent variables.
    245 # Preserve -v and -x to the replacement shell.
    246 BASH_ENV=/dev/null
    247 ENV=/dev/null
    248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    249 case $- in # ((((
    250   *v*x* | *x*v* ) as_opts=-vx ;;
    251   *v* ) as_opts=-v ;;
    252   *x* ) as_opts=-x ;;
    253   * ) as_opts= ;;
    254 esac
    255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    256 # Admittedly, this is quite paranoid, since all the known shells bail
    257 # out after a failed `exec'.
    258 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    259 exit 255
    260 fi
    261 
    262     if test x$as_have_required = xno
    263 then :
    264   printf "%s\n" "$0: This script requires a shell more modern than all"
    265   printf "%s\n" "$0: the shells that I found on your system."
    266   if test ${ZSH_VERSION+y} ; then
    267     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    268     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    269   else
    270     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    271 $0: https://gitlab.freedesktop.org/xorg/app/xmessage/issues
    272 $0: about your system, including any error possibly output
    273 $0: before this message. Then install a modern shell, or
    274 $0: manually run the script under such a shell if you do
    275 $0: have one."
    276   fi
    277   exit 1
    278 fi
    279 fi
    280 fi
    281 SHELL=${CONFIG_SHELL-/bin/sh}
    282 export SHELL
    283 # Unset more variables known to interfere with behavior of common tools.
    284 CLICOLOR_FORCE= GREP_OPTIONS=
    285 unset CLICOLOR_FORCE GREP_OPTIONS
    286 
    287 ## --------------------- ##
    288 ## M4sh Shell Functions. ##
    289 ## --------------------- ##
    290 # as_fn_unset VAR
    291 # ---------------
    292 # Portably unset VAR.
    293 as_fn_unset ()
    294 {
    295   { eval $1=; unset $1;}
    296 }
    297 as_unset=as_fn_unset
    298 
    299 
    300 # as_fn_set_status STATUS
    301 # -----------------------
    302 # Set $? to STATUS, without forking.
    303 as_fn_set_status ()
    304 {
    305   return $1
    306 } # as_fn_set_status
    307 
    308 # as_fn_exit STATUS
    309 # -----------------
    310 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    311 as_fn_exit ()
    312 {
    313   set +e
    314   as_fn_set_status $1
    315   exit $1
    316 } # as_fn_exit
    317 # as_fn_nop
    318 # ---------
    319 # Do nothing but, unlike ":", preserve the value of $?.
    320 as_fn_nop ()
    321 {
    322   return $?
    323 }
    324 as_nop=as_fn_nop
    325 
    326 # as_fn_mkdir_p
    327 # -------------
    328 # Create "$as_dir" as a directory, including parents if necessary.
    329 as_fn_mkdir_p ()
    330 {
    331 
    332   case $as_dir in #(
    333   -*) as_dir=./$as_dir;;
    334   esac
    335   test -d "$as_dir" || eval $as_mkdir_p || {
    336     as_dirs=
    337     while :; do
    338       case $as_dir in #(
    339       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    340       *) as_qdir=$as_dir;;
    341       esac
    342       as_dirs="'$as_qdir' $as_dirs"
    343       as_dir=`$as_dirname -- "$as_dir" ||
    344 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    345 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    346 	 X"$as_dir" : 'X\(//\)$' \| \
    347 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    348 printf "%s\n" X"$as_dir" |
    349     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    350 	    s//\1/
    351 	    q
    352 	  }
    353 	  /^X\(\/\/\)[^/].*/{
    354 	    s//\1/
    355 	    q
    356 	  }
    357 	  /^X\(\/\/\)$/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  /^X\(\/\).*/{
    362 	    s//\1/
    363 	    q
    364 	  }
    365 	  s/.*/./; q'`
    366       test -d "$as_dir" && break
    367     done
    368     test -z "$as_dirs" || eval "mkdir $as_dirs"
    369   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    370 
    371 
    372 } # as_fn_mkdir_p
    373 
    374 # as_fn_executable_p FILE
    375 # -----------------------
    376 # Test if FILE is an executable regular file.
    377 as_fn_executable_p ()
    378 {
    379   test -f "$1" && test -x "$1"
    380 } # as_fn_executable_p
    381 # as_fn_append VAR VALUE
    382 # ----------------------
    383 # Append the text in VALUE to the end of the definition contained in VAR. Take
    384 # advantage of any shell optimizations that allow amortized linear growth over
    385 # repeated appends, instead of the typical quadratic growth present in naive
    386 # implementations.
    387 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    388 then :
    389   eval 'as_fn_append ()
    390   {
    391     eval $1+=\$2
    392   }'
    393 else $as_nop
    394   as_fn_append ()
    395   {
    396     eval $1=\$$1\$2
    397   }
    398 fi # as_fn_append
    399 
    400 # as_fn_arith ARG...
    401 # ------------------
    402 # Perform arithmetic evaluation on the ARGs, and store the result in the
    403 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    404 # must be portable across $(()) and expr.
    405 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    406 then :
    407   eval 'as_fn_arith ()
    408   {
    409     as_val=$(( $* ))
    410   }'
    411 else $as_nop
    412   as_fn_arith ()
    413   {
    414     as_val=`expr "$@" || test $? -eq 1`
    415   }
    416 fi # as_fn_arith
    417 
    418 # as_fn_nop
    419 # ---------
    420 # Do nothing but, unlike ":", preserve the value of $?.
    421 as_fn_nop ()
    422 {
    423   return $?
    424 }
    425 as_nop=as_fn_nop
    426 
    427 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    428 # ----------------------------------------
    429 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    430 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    431 # script with STATUS, using 1 if that was 0.
    432 as_fn_error ()
    433 {
    434   as_status=$1; test $as_status -eq 0 && as_status=1
    435   if test "$4"; then
    436     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    437     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    438   fi
    439   printf "%s\n" "$as_me: error: $2" >&2
    440   as_fn_exit $as_status
    441 } # as_fn_error
    442 
    443 if expr a : '\(a\)' >/dev/null 2>&1 &&
    444    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    445   as_expr=expr
    446 else
    447   as_expr=false
    448 fi
    449 
    450 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    451   as_basename=basename
    452 else
    453   as_basename=false
    454 fi
    455 
    456 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    457   as_dirname=dirname
    458 else
    459   as_dirname=false
    460 fi
    461 
    462 as_me=`$as_basename -- "$0" ||
    463 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    464 	 X"$0" : 'X\(//\)$' \| \
    465 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    466 printf "%s\n" X/"$0" |
    467     sed '/^.*\/\([^/][^/]*\)\/*$/{
    468 	    s//\1/
    469 	    q
    470 	  }
    471 	  /^X\/\(\/\/\)$/{
    472 	    s//\1/
    473 	    q
    474 	  }
    475 	  /^X\/\(\/\).*/{
    476 	    s//\1/
    477 	    q
    478 	  }
    479 	  s/.*/./; q'`
    480 
    481 # Avoid depending upon Character Ranges.
    482 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    483 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    484 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    485 as_cr_digits='0123456789'
    486 as_cr_alnum=$as_cr_Letters$as_cr_digits
    487 
    488 
    489   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    490   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    491   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    492   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    493   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    494   sed -n '
    495     p
    496     /[$]LINENO/=
    497   ' <$as_myself |
    498     sed '
    499       s/[$]LINENO.*/&-/
    500       t lineno
    501       b
    502       :lineno
    503       N
    504       :loop
    505       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    506       t loop
    507       s/-\n.*//
    508     ' >$as_me.lineno &&
    509   chmod +x "$as_me.lineno" ||
    510     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    511 
    512   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    513   # already done that, so ensure we don't try to do so again and fall
    514   # in an infinite loop.  This has already happened in practice.
    515   _as_can_reexec=no; export _as_can_reexec
    516   # Don't try to exec as it changes $[0], causing all sort of problems
    517   # (the dirname of $[0] is not the place where we might find the
    518   # original and so on.  Autoconf is especially sensitive to this).
    519   . "./$as_me.lineno"
    520   # Exit status is that of the last command.
    521   exit
    522 }
    523 
    524 
    525 # Determine whether it's possible to make 'echo' print without a newline.
    526 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    527 # for compatibility with existing Makefiles.
    528 ECHO_C= ECHO_N= ECHO_T=
    529 case `echo -n x` in #(((((
    530 -n*)
    531   case `echo 'xy\c'` in
    532   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    533   xy)  ECHO_C='\c';;
    534   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    535        ECHO_T='	';;
    536   esac;;
    537 *)
    538   ECHO_N='-n';;
    539 esac
    540 
    541 # For backward compatibility with old third-party macros, we provide
    542 # the shell variables $as_echo and $as_echo_n.  New code should use
    543 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    544 as_echo='printf %s\n'
    545 as_echo_n='printf %s'
    546 
    547 
    548 rm -f conf$$ conf$$.exe conf$$.file
    549 if test -d conf$$.dir; then
    550   rm -f conf$$.dir/conf$$.file
    551 else
    552   rm -f conf$$.dir
    553   mkdir conf$$.dir 2>/dev/null
    554 fi
    555 if (echo >conf$$.file) 2>/dev/null; then
    556   if ln -s conf$$.file conf$$ 2>/dev/null; then
    557     as_ln_s='ln -s'
    558     # ... but there are two gotchas:
    559     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    560     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    561     # In both cases, we have to default to `cp -pR'.
    562     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    563       as_ln_s='cp -pR'
    564   elif ln conf$$.file conf$$ 2>/dev/null; then
    565     as_ln_s=ln
    566   else
    567     as_ln_s='cp -pR'
    568   fi
    569 else
    570   as_ln_s='cp -pR'
    571 fi
    572 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    573 rmdir conf$$.dir 2>/dev/null
    574 
    575 if mkdir -p . 2>/dev/null; then
    576   as_mkdir_p='mkdir -p "$as_dir"'
    577 else
    578   test -d ./-p && rmdir ./-p
    579   as_mkdir_p=false
    580 fi
    581 
    582 as_test_x='test -x'
    583 as_executable_p=as_fn_executable_p
    584 
    585 # Sed expression to map a string onto a valid CPP name.
    586 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    587 
    588 # Sed expression to map a string onto a valid variable name.
    589 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    590 
    591 
    592 test -n "$DJDIR" || exec 7<&0 </dev/null
    593 exec 6>&1
    594 
    595 # Name of the host.
    596 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    597 # so uname gets run too.
    598 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    599 
    600 #
    601 # Initializations.
    602 #
    603 ac_default_prefix=/usr/local
    604 ac_clean_files=
    605 ac_config_libobj_dir=.
    606 LIBOBJS=
    607 cross_compiling=no
    608 subdirs=
    609 MFLAGS=
    610 MAKEFLAGS=
    611 
    612 # Identity of this package.
    613 PACKAGE_NAME='xmessage'
    614 PACKAGE_TARNAME='xmessage'
    615 PACKAGE_VERSION='1.0.6'
    616 PACKAGE_STRING='xmessage 1.0.6'
    617 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xmessage/issues'
    618 PACKAGE_URL=''
    619 
    620 ac_unique_file="Makefile.am"
    621 # Factoring default headers for most tests.
    622 ac_includes_default="\
    623 #include <stddef.h>
    624 #ifdef HAVE_STDIO_H
    625 # include <stdio.h>
    626 #endif
    627 #ifdef HAVE_STDLIB_H
    628 # include <stdlib.h>
    629 #endif
    630 #ifdef HAVE_STRING_H
    631 # include <string.h>
    632 #endif
    633 #ifdef HAVE_INTTYPES_H
    634 # include <inttypes.h>
    635 #endif
    636 #ifdef HAVE_STDINT_H
    637 # include <stdint.h>
    638 #endif
    639 #ifdef HAVE_STRINGS_H
    640 # include <strings.h>
    641 #endif
    642 #ifdef HAVE_SYS_TYPES_H
    643 # include <sys/types.h>
    644 #endif
    645 #ifdef HAVE_SYS_STAT_H
    646 # include <sys/stat.h>
    647 #endif
    648 #ifdef HAVE_UNISTD_H
    649 # include <unistd.h>
    650 #endif"
    651 
    652 ac_header_c_list=
    653 ac_subst_vars='am__EXEEXT_FALSE
    654 am__EXEEXT_TRUE
    655 LTLIBOBJS
    656 LIBOBJS
    657 appdefaultdir
    658 APPDEFS_LIBS
    659 APPDEFS_CFLAGS
    660 XMESSAGE_LIBS
    661 XMESSAGE_CFLAGS
    662 MAN_SUBSTS
    663 XORG_MAN_PAGE
    664 ADMIN_MAN_DIR
    665 DRIVER_MAN_DIR
    666 MISC_MAN_DIR
    667 FILE_MAN_DIR
    668 LIB_MAN_DIR
    669 APP_MAN_DIR
    670 ADMIN_MAN_SUFFIX
    671 DRIVER_MAN_SUFFIX
    672 MISC_MAN_SUFFIX
    673 FILE_MAN_SUFFIX
    674 LIB_MAN_SUFFIX
    675 APP_MAN_SUFFIX
    676 SED
    677 host_os
    678 host_vendor
    679 host_cpu
    680 host
    681 build_os
    682 build_vendor
    683 build_cpu
    684 build
    685 INSTALL_CMD
    686 PKG_CONFIG_LIBDIR
    687 PKG_CONFIG_PATH
    688 PKG_CONFIG
    689 CHANGELOG_CMD
    690 STRICT_CFLAGS
    691 CWARNFLAGS
    692 BASE_CFLAGS
    693 am__fastdepCC_FALSE
    694 am__fastdepCC_TRUE
    695 CCDEPMODE
    696 am__nodep
    697 AMDEPBACKSLASH
    698 AMDEP_FALSE
    699 AMDEP_TRUE
    700 am__include
    701 DEPDIR
    702 OBJEXT
    703 EXEEXT
    704 ac_ct_CC
    705 CPPFLAGS
    706 LDFLAGS
    707 CFLAGS
    708 CC
    709 AM_BACKSLASH
    710 AM_DEFAULT_VERBOSITY
    711 AM_DEFAULT_V
    712 AM_V
    713 CSCOPE
    714 ETAGS
    715 CTAGS
    716 am__untar
    717 am__tar
    718 AMTAR
    719 am__leading_dot
    720 SET_MAKE
    721 AWK
    722 mkdir_p
    723 MKDIR_P
    724 INSTALL_STRIP_PROGRAM
    725 STRIP
    726 install_sh
    727 MAKEINFO
    728 AUTOHEADER
    729 AUTOMAKE
    730 AUTOCONF
    731 ACLOCAL
    732 VERSION
    733 PACKAGE
    734 CYGPATH_W
    735 am__isrc
    736 INSTALL_DATA
    737 INSTALL_SCRIPT
    738 INSTALL_PROGRAM
    739 target_alias
    740 host_alias
    741 build_alias
    742 LIBS
    743 ECHO_T
    744 ECHO_N
    745 ECHO_C
    746 DEFS
    747 mandir
    748 localedir
    749 libdir
    750 psdir
    751 pdfdir
    752 dvidir
    753 htmldir
    754 infodir
    755 docdir
    756 oldincludedir
    757 includedir
    758 runstatedir
    759 localstatedir
    760 sharedstatedir
    761 sysconfdir
    762 datadir
    763 datarootdir
    764 libexecdir
    765 sbindir
    766 bindir
    767 program_transform_name
    768 prefix
    769 exec_prefix
    770 PACKAGE_URL
    771 PACKAGE_BUGREPORT
    772 PACKAGE_STRING
    773 PACKAGE_VERSION
    774 PACKAGE_TARNAME
    775 PACKAGE_NAME
    776 PATH_SEPARATOR
    777 SHELL
    778 am__quote'
    779 ac_subst_files=''
    780 ac_user_opts='
    781 enable_option_checking
    782 enable_silent_rules
    783 enable_dependency_tracking
    784 enable_selective_werror
    785 enable_strict_compilation
    786 with_appdefaultdir
    787 '
    788       ac_precious_vars='build_alias
    789 host_alias
    790 target_alias
    791 CC
    792 CFLAGS
    793 LDFLAGS
    794 LIBS
    795 CPPFLAGS
    796 PKG_CONFIG
    797 PKG_CONFIG_PATH
    798 PKG_CONFIG_LIBDIR
    799 XMESSAGE_CFLAGS
    800 XMESSAGE_LIBS
    801 APPDEFS_CFLAGS
    802 APPDEFS_LIBS'
    803 
    804 
    805 # Initialize some variables set by options.
    806 ac_init_help=
    807 ac_init_version=false
    808 ac_unrecognized_opts=
    809 ac_unrecognized_sep=
    810 # The variables have the same names as the options, with
    811 # dashes changed to underlines.
    812 cache_file=/dev/null
    813 exec_prefix=NONE
    814 no_create=
    815 no_recursion=
    816 prefix=NONE
    817 program_prefix=NONE
    818 program_suffix=NONE
    819 program_transform_name=s,x,x,
    820 silent=
    821 site=
    822 srcdir=
    823 verbose=
    824 x_includes=NONE
    825 x_libraries=NONE
    826 
    827 # Installation directory options.
    828 # These are left unexpanded so users can "make install exec_prefix=/foo"
    829 # and all the variables that are supposed to be based on exec_prefix
    830 # by default will actually change.
    831 # Use braces instead of parens because sh, perl, etc. also accept them.
    832 # (The list follows the same order as the GNU Coding Standards.)
    833 bindir='${exec_prefix}/bin'
    834 sbindir='${exec_prefix}/sbin'
    835 libexecdir='${exec_prefix}/libexec'
    836 datarootdir='${prefix}/share'
    837 datadir='${datarootdir}'
    838 sysconfdir='${prefix}/etc'
    839 sharedstatedir='${prefix}/com'
    840 localstatedir='${prefix}/var'
    841 runstatedir='${localstatedir}/run'
    842 includedir='${prefix}/include'
    843 oldincludedir='/usr/include'
    844 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    845 infodir='${datarootdir}/info'
    846 htmldir='${docdir}'
    847 dvidir='${docdir}'
    848 pdfdir='${docdir}'
    849 psdir='${docdir}'
    850 libdir='${exec_prefix}/lib'
    851 localedir='${datarootdir}/locale'
    852 mandir='${datarootdir}/man'
    853 
    854 ac_prev=
    855 ac_dashdash=
    856 for ac_option
    857 do
    858   # If the previous option needs an argument, assign it.
    859   if test -n "$ac_prev"; then
    860     eval $ac_prev=\$ac_option
    861     ac_prev=
    862     continue
    863   fi
    864 
    865   case $ac_option in
    866   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    867   *=)   ac_optarg= ;;
    868   *)    ac_optarg=yes ;;
    869   esac
    870 
    871   case $ac_dashdash$ac_option in
    872   --)
    873     ac_dashdash=yes ;;
    874 
    875   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    876     ac_prev=bindir ;;
    877   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    878     bindir=$ac_optarg ;;
    879 
    880   -build | --build | --buil | --bui | --bu)
    881     ac_prev=build_alias ;;
    882   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    883     build_alias=$ac_optarg ;;
    884 
    885   -cache-file | --cache-file | --cache-fil | --cache-fi \
    886   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    887     ac_prev=cache_file ;;
    888   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    889   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    890     cache_file=$ac_optarg ;;
    891 
    892   --config-cache | -C)
    893     cache_file=config.cache ;;
    894 
    895   -datadir | --datadir | --datadi | --datad)
    896     ac_prev=datadir ;;
    897   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    898     datadir=$ac_optarg ;;
    899 
    900   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    901   | --dataroo | --dataro | --datar)
    902     ac_prev=datarootdir ;;
    903   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    904   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    905     datarootdir=$ac_optarg ;;
    906 
    907   -disable-* | --disable-*)
    908     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    909     # Reject names that are not valid shell variable names.
    910     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    911       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    912     ac_useropt_orig=$ac_useropt
    913     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    914     case $ac_user_opts in
    915       *"
    916 "enable_$ac_useropt"
    917 "*) ;;
    918       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    919 	 ac_unrecognized_sep=', ';;
    920     esac
    921     eval enable_$ac_useropt=no ;;
    922 
    923   -docdir | --docdir | --docdi | --doc | --do)
    924     ac_prev=docdir ;;
    925   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    926     docdir=$ac_optarg ;;
    927 
    928   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    929     ac_prev=dvidir ;;
    930   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    931     dvidir=$ac_optarg ;;
    932 
    933   -enable-* | --enable-*)
    934     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    935     # Reject names that are not valid shell variable names.
    936     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    937       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    938     ac_useropt_orig=$ac_useropt
    939     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    940     case $ac_user_opts in
    941       *"
    942 "enable_$ac_useropt"
    943 "*) ;;
    944       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    945 	 ac_unrecognized_sep=', ';;
    946     esac
    947     eval enable_$ac_useropt=\$ac_optarg ;;
    948 
    949   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    950   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    951   | --exec | --exe | --ex)
    952     ac_prev=exec_prefix ;;
    953   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    954   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    955   | --exec=* | --exe=* | --ex=*)
    956     exec_prefix=$ac_optarg ;;
    957 
    958   -gas | --gas | --ga | --g)
    959     # Obsolete; use --with-gas.
    960     with_gas=yes ;;
    961 
    962   -help | --help | --hel | --he | -h)
    963     ac_init_help=long ;;
    964   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    965     ac_init_help=recursive ;;
    966   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    967     ac_init_help=short ;;
    968 
    969   -host | --host | --hos | --ho)
    970     ac_prev=host_alias ;;
    971   -host=* | --host=* | --hos=* | --ho=*)
    972     host_alias=$ac_optarg ;;
    973 
    974   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    975     ac_prev=htmldir ;;
    976   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    977   | --ht=*)
    978     htmldir=$ac_optarg ;;
    979 
    980   -includedir | --includedir | --includedi | --included | --include \
    981   | --includ | --inclu | --incl | --inc)
    982     ac_prev=includedir ;;
    983   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    984   | --includ=* | --inclu=* | --incl=* | --inc=*)
    985     includedir=$ac_optarg ;;
    986 
    987   -infodir | --infodir | --infodi | --infod | --info | --inf)
    988     ac_prev=infodir ;;
    989   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    990     infodir=$ac_optarg ;;
    991 
    992   -libdir | --libdir | --libdi | --libd)
    993     ac_prev=libdir ;;
    994   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    995     libdir=$ac_optarg ;;
    996 
    997   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    998   | --libexe | --libex | --libe)
    999     ac_prev=libexecdir ;;
   1000   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1001   | --libexe=* | --libex=* | --libe=*)
   1002     libexecdir=$ac_optarg ;;
   1003 
   1004   -localedir | --localedir | --localedi | --localed | --locale)
   1005     ac_prev=localedir ;;
   1006   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1007     localedir=$ac_optarg ;;
   1008 
   1009   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1010   | --localstate | --localstat | --localsta | --localst | --locals)
   1011     ac_prev=localstatedir ;;
   1012   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1013   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1014     localstatedir=$ac_optarg ;;
   1015 
   1016   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1017     ac_prev=mandir ;;
   1018   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1019     mandir=$ac_optarg ;;
   1020 
   1021   -nfp | --nfp | --nf)
   1022     # Obsolete; use --without-fp.
   1023     with_fp=no ;;
   1024 
   1025   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1026   | --no-cr | --no-c | -n)
   1027     no_create=yes ;;
   1028 
   1029   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1030   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1031     no_recursion=yes ;;
   1032 
   1033   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1034   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1035   | --oldin | --oldi | --old | --ol | --o)
   1036     ac_prev=oldincludedir ;;
   1037   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1038   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1039   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1040     oldincludedir=$ac_optarg ;;
   1041 
   1042   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1043     ac_prev=prefix ;;
   1044   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1045     prefix=$ac_optarg ;;
   1046 
   1047   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1048   | --program-pre | --program-pr | --program-p)
   1049     ac_prev=program_prefix ;;
   1050   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1051   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1052     program_prefix=$ac_optarg ;;
   1053 
   1054   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1055   | --program-suf | --program-su | --program-s)
   1056     ac_prev=program_suffix ;;
   1057   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1058   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1059     program_suffix=$ac_optarg ;;
   1060 
   1061   -program-transform-name | --program-transform-name \
   1062   | --program-transform-nam | --program-transform-na \
   1063   | --program-transform-n | --program-transform- \
   1064   | --program-transform | --program-transfor \
   1065   | --program-transfo | --program-transf \
   1066   | --program-trans | --program-tran \
   1067   | --progr-tra | --program-tr | --program-t)
   1068     ac_prev=program_transform_name ;;
   1069   -program-transform-name=* | --program-transform-name=* \
   1070   | --program-transform-nam=* | --program-transform-na=* \
   1071   | --program-transform-n=* | --program-transform-=* \
   1072   | --program-transform=* | --program-transfor=* \
   1073   | --program-transfo=* | --program-transf=* \
   1074   | --program-trans=* | --program-tran=* \
   1075   | --progr-tra=* | --program-tr=* | --program-t=*)
   1076     program_transform_name=$ac_optarg ;;
   1077 
   1078   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1079     ac_prev=pdfdir ;;
   1080   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1081     pdfdir=$ac_optarg ;;
   1082 
   1083   -psdir | --psdir | --psdi | --psd | --ps)
   1084     ac_prev=psdir ;;
   1085   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1086     psdir=$ac_optarg ;;
   1087 
   1088   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1089   | -silent | --silent | --silen | --sile | --sil)
   1090     silent=yes ;;
   1091 
   1092   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1093   | --runstate | --runstat | --runsta | --runst | --runs \
   1094   | --run | --ru | --r)
   1095     ac_prev=runstatedir ;;
   1096   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1097   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1098   | --run=* | --ru=* | --r=*)
   1099     runstatedir=$ac_optarg ;;
   1100 
   1101   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1102     ac_prev=sbindir ;;
   1103   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1104   | --sbi=* | --sb=*)
   1105     sbindir=$ac_optarg ;;
   1106 
   1107   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1108   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1109   | --sharedst | --shareds | --shared | --share | --shar \
   1110   | --sha | --sh)
   1111     ac_prev=sharedstatedir ;;
   1112   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1113   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1114   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1115   | --sha=* | --sh=*)
   1116     sharedstatedir=$ac_optarg ;;
   1117 
   1118   -site | --site | --sit)
   1119     ac_prev=site ;;
   1120   -site=* | --site=* | --sit=*)
   1121     site=$ac_optarg ;;
   1122 
   1123   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1124     ac_prev=srcdir ;;
   1125   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1126     srcdir=$ac_optarg ;;
   1127 
   1128   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1129   | --syscon | --sysco | --sysc | --sys | --sy)
   1130     ac_prev=sysconfdir ;;
   1131   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1132   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1133     sysconfdir=$ac_optarg ;;
   1134 
   1135   -target | --target | --targe | --targ | --tar | --ta | --t)
   1136     ac_prev=target_alias ;;
   1137   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1138     target_alias=$ac_optarg ;;
   1139 
   1140   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1141     verbose=yes ;;
   1142 
   1143   -version | --version | --versio | --versi | --vers | -V)
   1144     ac_init_version=: ;;
   1145 
   1146   -with-* | --with-*)
   1147     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1148     # Reject names that are not valid shell variable names.
   1149     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1150       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1151     ac_useropt_orig=$ac_useropt
   1152     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1153     case $ac_user_opts in
   1154       *"
   1155 "with_$ac_useropt"
   1156 "*) ;;
   1157       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1158 	 ac_unrecognized_sep=', ';;
   1159     esac
   1160     eval with_$ac_useropt=\$ac_optarg ;;
   1161 
   1162   -without-* | --without-*)
   1163     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1164     # Reject names that are not valid shell variable names.
   1165     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1166       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1167     ac_useropt_orig=$ac_useropt
   1168     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1169     case $ac_user_opts in
   1170       *"
   1171 "with_$ac_useropt"
   1172 "*) ;;
   1173       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1174 	 ac_unrecognized_sep=', ';;
   1175     esac
   1176     eval with_$ac_useropt=no ;;
   1177 
   1178   --x)
   1179     # Obsolete; use --with-x.
   1180     with_x=yes ;;
   1181 
   1182   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1183   | --x-incl | --x-inc | --x-in | --x-i)
   1184     ac_prev=x_includes ;;
   1185   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1186   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1187     x_includes=$ac_optarg ;;
   1188 
   1189   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1190   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1191     ac_prev=x_libraries ;;
   1192   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1193   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1194     x_libraries=$ac_optarg ;;
   1195 
   1196   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1197 Try \`$0 --help' for more information"
   1198     ;;
   1199 
   1200   *=*)
   1201     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1202     # Reject names that are not valid shell variable names.
   1203     case $ac_envvar in #(
   1204       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1205       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1206     esac
   1207     eval $ac_envvar=\$ac_optarg
   1208     export $ac_envvar ;;
   1209 
   1210   *)
   1211     # FIXME: should be removed in autoconf 3.0.
   1212     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1213     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1214       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1215     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1216     ;;
   1217 
   1218   esac
   1219 done
   1220 
   1221 if test -n "$ac_prev"; then
   1222   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1223   as_fn_error $? "missing argument to $ac_option"
   1224 fi
   1225 
   1226 if test -n "$ac_unrecognized_opts"; then
   1227   case $enable_option_checking in
   1228     no) ;;
   1229     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1230     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1231   esac
   1232 fi
   1233 
   1234 # Check all directory arguments for consistency.
   1235 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1236 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1237 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1238 		libdir localedir mandir runstatedir
   1239 do
   1240   eval ac_val=\$$ac_var
   1241   # Remove trailing slashes.
   1242   case $ac_val in
   1243     */ )
   1244       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1245       eval $ac_var=\$ac_val;;
   1246   esac
   1247   # Be sure to have absolute directory names.
   1248   case $ac_val in
   1249     [\\/$]* | ?:[\\/]* )  continue;;
   1250     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1251   esac
   1252   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1253 done
   1254 
   1255 # There might be people who depend on the old broken behavior: `$host'
   1256 # used to hold the argument of --host etc.
   1257 # FIXME: To remove some day.
   1258 build=$build_alias
   1259 host=$host_alias
   1260 target=$target_alias
   1261 
   1262 # FIXME: To remove some day.
   1263 if test "x$host_alias" != x; then
   1264   if test "x$build_alias" = x; then
   1265     cross_compiling=maybe
   1266   elif test "x$build_alias" != "x$host_alias"; then
   1267     cross_compiling=yes
   1268   fi
   1269 fi
   1270 
   1271 ac_tool_prefix=
   1272 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1273 
   1274 test "$silent" = yes && exec 6>/dev/null
   1275 
   1276 
   1277 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1278 ac_ls_di=`ls -di .` &&
   1279 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1280   as_fn_error $? "working directory cannot be determined"
   1281 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1282   as_fn_error $? "pwd does not report name of working directory"
   1283 
   1284 
   1285 # Find the source files, if location was not specified.
   1286 if test -z "$srcdir"; then
   1287   ac_srcdir_defaulted=yes
   1288   # Try the directory containing this script, then the parent directory.
   1289   ac_confdir=`$as_dirname -- "$as_myself" ||
   1290 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1291 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1292 	 X"$as_myself" : 'X\(//\)$' \| \
   1293 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1294 printf "%s\n" X"$as_myself" |
   1295     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1296 	    s//\1/
   1297 	    q
   1298 	  }
   1299 	  /^X\(\/\/\)[^/].*/{
   1300 	    s//\1/
   1301 	    q
   1302 	  }
   1303 	  /^X\(\/\/\)$/{
   1304 	    s//\1/
   1305 	    q
   1306 	  }
   1307 	  /^X\(\/\).*/{
   1308 	    s//\1/
   1309 	    q
   1310 	  }
   1311 	  s/.*/./; q'`
   1312   srcdir=$ac_confdir
   1313   if test ! -r "$srcdir/$ac_unique_file"; then
   1314     srcdir=..
   1315   fi
   1316 else
   1317   ac_srcdir_defaulted=no
   1318 fi
   1319 if test ! -r "$srcdir/$ac_unique_file"; then
   1320   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1321   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1322 fi
   1323 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1324 ac_abs_confdir=`(
   1325 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1326 	pwd)`
   1327 # When building in place, set srcdir=.
   1328 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1329   srcdir=.
   1330 fi
   1331 # Remove unnecessary trailing slashes from srcdir.
   1332 # Double slashes in file names in object file debugging info
   1333 # mess up M-x gdb in Emacs.
   1334 case $srcdir in
   1335 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1336 esac
   1337 for ac_var in $ac_precious_vars; do
   1338   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1339   eval ac_env_${ac_var}_value=\$${ac_var}
   1340   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1341   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1342 done
   1343 
   1344 #
   1345 # Report the --help message.
   1346 #
   1347 if test "$ac_init_help" = "long"; then
   1348   # Omit some internal or obsolete options to make the list less imposing.
   1349   # This message is too long to be a string in the A/UX 3.1 sh.
   1350   cat <<_ACEOF
   1351 \`configure' configures xmessage 1.0.6 to adapt to many kinds of systems.
   1352 
   1353 Usage: $0 [OPTION]... [VAR=VALUE]...
   1354 
   1355 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1356 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1357 
   1358 Defaults for the options are specified in brackets.
   1359 
   1360 Configuration:
   1361   -h, --help              display this help and exit
   1362       --help=short        display options specific to this package
   1363       --help=recursive    display the short help of all the included packages
   1364   -V, --version           display version information and exit
   1365   -q, --quiet, --silent   do not print \`checking ...' messages
   1366       --cache-file=FILE   cache test results in FILE [disabled]
   1367   -C, --config-cache      alias for \`--cache-file=config.cache'
   1368   -n, --no-create         do not create output files
   1369       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1370 
   1371 Installation directories:
   1372   --prefix=PREFIX         install architecture-independent files in PREFIX
   1373                           [$ac_default_prefix]
   1374   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1375                           [PREFIX]
   1376 
   1377 By default, \`make install' will install all the files in
   1378 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1379 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1380 for instance \`--prefix=\$HOME'.
   1381 
   1382 For better control, use the options below.
   1383 
   1384 Fine tuning of the installation directories:
   1385   --bindir=DIR            user executables [EPREFIX/bin]
   1386   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1387   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1388   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1389   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1390   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1391   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1392   --libdir=DIR            object code libraries [EPREFIX/lib]
   1393   --includedir=DIR        C header files [PREFIX/include]
   1394   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1395   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1396   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1397   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1398   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1399   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1400   --docdir=DIR            documentation root [DATAROOTDIR/doc/xmessage]
   1401   --htmldir=DIR           html documentation [DOCDIR]
   1402   --dvidir=DIR            dvi documentation [DOCDIR]
   1403   --pdfdir=DIR            pdf documentation [DOCDIR]
   1404   --psdir=DIR             ps documentation [DOCDIR]
   1405 _ACEOF
   1406 
   1407   cat <<\_ACEOF
   1408 
   1409 Program names:
   1410   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1411   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1412   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1413 
   1414 System types:
   1415   --build=BUILD     configure for building on BUILD [guessed]
   1416   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1417 _ACEOF
   1418 fi
   1419 
   1420 if test -n "$ac_init_help"; then
   1421   case $ac_init_help in
   1422      short | recursive ) echo "Configuration of xmessage 1.0.6:";;
   1423    esac
   1424   cat <<\_ACEOF
   1425 
   1426 Optional Features:
   1427   --disable-option-checking  ignore unrecognized --enable/--with options
   1428   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1429   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1430   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1431   --disable-silent-rules  verbose build output (undo: "make V=0")
   1432   --enable-dependency-tracking
   1433                           do not reject slow dependency extractors
   1434   --disable-dependency-tracking
   1435                           speeds up one-time build
   1436   --disable-selective-werror
   1437                           Turn off selective compiler errors. (default:
   1438                           enabled)
   1439   --enable-strict-compilation
   1440                           Enable all warnings from compiler and make them
   1441                           errors (default: disabled)
   1442 
   1443 Optional Packages:
   1444   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1445   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1446   --with-appdefaultdir=<pathname>
   1447                           specify directory for app-defaults files (default is
   1448                           autodetected)
   1449 
   1450 Some influential environment variables:
   1451   CC          C compiler command
   1452   CFLAGS      C compiler flags
   1453   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1454               nonstandard directory <lib dir>
   1455   LIBS        libraries to pass to the linker, e.g. -l<library>
   1456   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1457               you have headers in a nonstandard directory <include dir>
   1458   PKG_CONFIG  path to pkg-config utility
   1459   PKG_CONFIG_PATH
   1460               directories to add to pkg-config's search path
   1461   PKG_CONFIG_LIBDIR
   1462               path overriding pkg-config's built-in search path
   1463   XMESSAGE_CFLAGS
   1464               C compiler flags for XMESSAGE, overriding pkg-config
   1465   XMESSAGE_LIBS
   1466               linker flags for XMESSAGE, overriding pkg-config
   1467   APPDEFS_CFLAGS
   1468               C compiler flags for APPDEFS, overriding pkg-config
   1469   APPDEFS_LIBS
   1470               linker flags for APPDEFS, overriding pkg-config
   1471 
   1472 Use these variables to override the choices made by `configure' or to help
   1473 it to find libraries and programs with nonstandard names/locations.
   1474 
   1475 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xmessage/issues>.
   1476 _ACEOF
   1477 ac_status=$?
   1478 fi
   1479 
   1480 if test "$ac_init_help" = "recursive"; then
   1481   # If there are subdirs, report their specific --help.
   1482   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1483     test -d "$ac_dir" ||
   1484       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1485       continue
   1486     ac_builddir=.
   1487 
   1488 case "$ac_dir" in
   1489 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1490 *)
   1491   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1492   # A ".." for each directory in $ac_dir_suffix.
   1493   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1494   case $ac_top_builddir_sub in
   1495   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1496   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1497   esac ;;
   1498 esac
   1499 ac_abs_top_builddir=$ac_pwd
   1500 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1501 # for backward compatibility:
   1502 ac_top_builddir=$ac_top_build_prefix
   1503 
   1504 case $srcdir in
   1505   .)  # We are building in place.
   1506     ac_srcdir=.
   1507     ac_top_srcdir=$ac_top_builddir_sub
   1508     ac_abs_top_srcdir=$ac_pwd ;;
   1509   [\\/]* | ?:[\\/]* )  # Absolute name.
   1510     ac_srcdir=$srcdir$ac_dir_suffix;
   1511     ac_top_srcdir=$srcdir
   1512     ac_abs_top_srcdir=$srcdir ;;
   1513   *) # Relative name.
   1514     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1515     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1516     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1517 esac
   1518 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1519 
   1520     cd "$ac_dir" || { ac_status=$?; continue; }
   1521     # Check for configure.gnu first; this name is used for a wrapper for
   1522     # Metaconfig's "Configure" on case-insensitive file systems.
   1523     if test -f "$ac_srcdir/configure.gnu"; then
   1524       echo &&
   1525       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1526     elif test -f "$ac_srcdir/configure"; then
   1527       echo &&
   1528       $SHELL "$ac_srcdir/configure" --help=recursive
   1529     else
   1530       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1531     fi || ac_status=$?
   1532     cd "$ac_pwd" || { ac_status=$?; break; }
   1533   done
   1534 fi
   1535 
   1536 test -n "$ac_init_help" && exit $ac_status
   1537 if $ac_init_version; then
   1538   cat <<\_ACEOF
   1539 xmessage configure 1.0.6
   1540 generated by GNU Autoconf 2.71
   1541 
   1542 Copyright (C) 2021 Free Software Foundation, Inc.
   1543 This configure script is free software; the Free Software Foundation
   1544 gives unlimited permission to copy, distribute and modify it.
   1545 _ACEOF
   1546   exit
   1547 fi
   1548 
   1549 ## ------------------------ ##
   1550 ## Autoconf initialization. ##
   1551 ## ------------------------ ##
   1552 
   1553 # ac_fn_c_try_compile LINENO
   1554 # --------------------------
   1555 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1556 ac_fn_c_try_compile ()
   1557 {
   1558   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1559   rm -f conftest.$ac_objext conftest.beam
   1560   if { { ac_try="$ac_compile"
   1561 case "(($ac_try" in
   1562   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1563   *) ac_try_echo=$ac_try;;
   1564 esac
   1565 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1566 printf "%s\n" "$ac_try_echo"; } >&5
   1567   (eval "$ac_compile") 2>conftest.err
   1568   ac_status=$?
   1569   if test -s conftest.err; then
   1570     grep -v '^ *+' conftest.err >conftest.er1
   1571     cat conftest.er1 >&5
   1572     mv -f conftest.er1 conftest.err
   1573   fi
   1574   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1575   test $ac_status = 0; } && {
   1576 	 test -z "$ac_c_werror_flag" ||
   1577 	 test ! -s conftest.err
   1578        } && test -s conftest.$ac_objext
   1579 then :
   1580   ac_retval=0
   1581 else $as_nop
   1582   printf "%s\n" "$as_me: failed program was:" >&5
   1583 sed 's/^/| /' conftest.$ac_ext >&5
   1584 
   1585 	ac_retval=1
   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 $as_nop
   1606   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 $as_nop
   1631   eval "$3=no"
   1632 fi
   1633 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1634   eval $6=\$ac_save_FLAGS
   1635 
   1636 fi
   1637 eval ac_res=\$$3
   1638 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1639 printf "%s\n" "$ac_res" >&6; }
   1640   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1641 
   1642 } # ac_fn_check_decl
   1643 
   1644 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1645 # -------------------------------------------------------
   1646 # Tests whether HEADER exists and can be compiled using the include files in
   1647 # INCLUDES, setting the cache variable VAR accordingly.
   1648 ac_fn_c_check_header_compile ()
   1649 {
   1650   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1651   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1652 printf %s "checking for $2... " >&6; }
   1653 if eval test \${$3+y}
   1654 then :
   1655   printf %s "(cached) " >&6
   1656 else $as_nop
   1657   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1658 /* end confdefs.h.  */
   1659 $4
   1660 #include <$2>
   1661 _ACEOF
   1662 if ac_fn_c_try_compile "$LINENO"
   1663 then :
   1664   eval "$3=yes"
   1665 else $as_nop
   1666   eval "$3=no"
   1667 fi
   1668 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1669 fi
   1670 eval ac_res=\$$3
   1671 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1672 printf "%s\n" "$ac_res" >&6; }
   1673   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1674 
   1675 } # ac_fn_c_check_header_compile
   1676 
   1677 # ac_fn_c_try_link LINENO
   1678 # -----------------------
   1679 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1680 ac_fn_c_try_link ()
   1681 {
   1682   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1683   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1684   if { { ac_try="$ac_link"
   1685 case "(($ac_try" in
   1686   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1687   *) ac_try_echo=$ac_try;;
   1688 esac
   1689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1690 printf "%s\n" "$ac_try_echo"; } >&5
   1691   (eval "$ac_link") 2>conftest.err
   1692   ac_status=$?
   1693   if test -s conftest.err; then
   1694     grep -v '^ *+' conftest.err >conftest.er1
   1695     cat conftest.er1 >&5
   1696     mv -f conftest.er1 conftest.err
   1697   fi
   1698   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1699   test $ac_status = 0; } && {
   1700 	 test -z "$ac_c_werror_flag" ||
   1701 	 test ! -s conftest.err
   1702        } && test -s conftest$ac_exeext && {
   1703 	 test "$cross_compiling" = yes ||
   1704 	 test -x conftest$ac_exeext
   1705        }
   1706 then :
   1707   ac_retval=0
   1708 else $as_nop
   1709   printf "%s\n" "$as_me: failed program was:" >&5
   1710 sed 's/^/| /' conftest.$ac_ext >&5
   1711 
   1712 	ac_retval=1
   1713 fi
   1714   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1715   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1716   # interfere with the next link command; also delete a directory that is
   1717   # left behind by Apple's compiler.  We do this before executing the actions.
   1718   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1719   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1720   as_fn_set_status $ac_retval
   1721 
   1722 } # ac_fn_c_try_link
   1723 ac_configure_args_raw=
   1724 for ac_arg
   1725 do
   1726   case $ac_arg in
   1727   *\'*)
   1728     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1729   esac
   1730   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1731 done
   1732 
   1733 case $ac_configure_args_raw in
   1734   *$as_nl*)
   1735     ac_safe_unquote= ;;
   1736   *)
   1737     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1738     ac_unsafe_a="$ac_unsafe_z#~"
   1739     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1740     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1741 esac
   1742 
   1743 cat >config.log <<_ACEOF
   1744 This file contains any messages produced by compilers while
   1745 running configure, to aid debugging if configure makes a mistake.
   1746 
   1747 It was created by xmessage $as_me 1.0.6, which was
   1748 generated by GNU Autoconf 2.71.  Invocation command line was
   1749 
   1750   $ $0$ac_configure_args_raw
   1751 
   1752 _ACEOF
   1753 exec 5>>config.log
   1754 {
   1755 cat <<_ASUNAME
   1756 ## --------- ##
   1757 ## Platform. ##
   1758 ## --------- ##
   1759 
   1760 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1761 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1762 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1763 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1764 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1765 
   1766 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1767 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1768 
   1769 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1770 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1771 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1772 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1773 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1774 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1775 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1776 
   1777 _ASUNAME
   1778 
   1779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1780 for as_dir in $PATH
   1781 do
   1782   IFS=$as_save_IFS
   1783   case $as_dir in #(((
   1784     '') as_dir=./ ;;
   1785     */) ;;
   1786     *) as_dir=$as_dir/ ;;
   1787   esac
   1788     printf "%s\n" "PATH: $as_dir"
   1789   done
   1790 IFS=$as_save_IFS
   1791 
   1792 } >&5
   1793 
   1794 cat >&5 <<_ACEOF
   1795 
   1796 
   1797 ## ----------- ##
   1798 ## Core tests. ##
   1799 ## ----------- ##
   1800 
   1801 _ACEOF
   1802 
   1803 
   1804 # Keep a trace of the command line.
   1805 # Strip out --no-create and --no-recursion so they do not pile up.
   1806 # Strip out --silent because we don't want to record it for future runs.
   1807 # Also quote any args containing shell meta-characters.
   1808 # Make two passes to allow for proper duplicate-argument suppression.
   1809 ac_configure_args=
   1810 ac_configure_args0=
   1811 ac_configure_args1=
   1812 ac_must_keep_next=false
   1813 for ac_pass in 1 2
   1814 do
   1815   for ac_arg
   1816   do
   1817     case $ac_arg in
   1818     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1819     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1820     | -silent | --silent | --silen | --sile | --sil)
   1821       continue ;;
   1822     *\'*)
   1823       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1824     esac
   1825     case $ac_pass in
   1826     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1827     2)
   1828       as_fn_append ac_configure_args1 " '$ac_arg'"
   1829       if test $ac_must_keep_next = true; then
   1830 	ac_must_keep_next=false # Got value, back to normal.
   1831       else
   1832 	case $ac_arg in
   1833 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1834 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1835 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1836 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1837 	    case "$ac_configure_args0 " in
   1838 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1839 	    esac
   1840 	    ;;
   1841 	  -* ) ac_must_keep_next=true ;;
   1842 	esac
   1843       fi
   1844       as_fn_append ac_configure_args " '$ac_arg'"
   1845       ;;
   1846     esac
   1847   done
   1848 done
   1849 { ac_configure_args0=; unset ac_configure_args0;}
   1850 { ac_configure_args1=; unset ac_configure_args1;}
   1851 
   1852 # When interrupted or exit'd, cleanup temporary files, and complete
   1853 # config.log.  We remove comments because anyway the quotes in there
   1854 # would cause problems or look ugly.
   1855 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1856 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1857 trap 'exit_status=$?
   1858   # Sanitize IFS.
   1859   IFS=" ""	$as_nl"
   1860   # Save into config.log some information that might help in debugging.
   1861   {
   1862     echo
   1863 
   1864     printf "%s\n" "## ---------------- ##
   1865 ## Cache variables. ##
   1866 ## ---------------- ##"
   1867     echo
   1868     # The following way of writing the cache mishandles newlines in values,
   1869 (
   1870   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1871     eval ac_val=\$$ac_var
   1872     case $ac_val in #(
   1873     *${as_nl}*)
   1874       case $ac_var in #(
   1875       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1876 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1877       esac
   1878       case $ac_var in #(
   1879       _ | IFS | as_nl) ;; #(
   1880       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1881       *) { eval $ac_var=; unset $ac_var;} ;;
   1882       esac ;;
   1883     esac
   1884   done
   1885   (set) 2>&1 |
   1886     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1887     *${as_nl}ac_space=\ *)
   1888       sed -n \
   1889 	"s/'\''/'\''\\\\'\'''\''/g;
   1890 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1891       ;; #(
   1892     *)
   1893       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1894       ;;
   1895     esac |
   1896     sort
   1897 )
   1898     echo
   1899 
   1900     printf "%s\n" "## ----------------- ##
   1901 ## Output variables. ##
   1902 ## ----------------- ##"
   1903     echo
   1904     for ac_var in $ac_subst_vars
   1905     do
   1906       eval ac_val=\$$ac_var
   1907       case $ac_val in
   1908       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1909       esac
   1910       printf "%s\n" "$ac_var='\''$ac_val'\''"
   1911     done | sort
   1912     echo
   1913 
   1914     if test -n "$ac_subst_files"; then
   1915       printf "%s\n" "## ------------------- ##
   1916 ## File substitutions. ##
   1917 ## ------------------- ##"
   1918       echo
   1919       for ac_var in $ac_subst_files
   1920       do
   1921 	eval ac_val=\$$ac_var
   1922 	case $ac_val in
   1923 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1924 	esac
   1925 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   1926       done | sort
   1927       echo
   1928     fi
   1929 
   1930     if test -s confdefs.h; then
   1931       printf "%s\n" "## ----------- ##
   1932 ## confdefs.h. ##
   1933 ## ----------- ##"
   1934       echo
   1935       cat confdefs.h
   1936       echo
   1937     fi
   1938     test "$ac_signal" != 0 &&
   1939       printf "%s\n" "$as_me: caught signal $ac_signal"
   1940     printf "%s\n" "$as_me: exit $exit_status"
   1941   } >&5
   1942   rm -f core *.core core.conftest.* &&
   1943     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1944     exit $exit_status
   1945 ' 0
   1946 for ac_signal in 1 2 13 15; do
   1947   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1948 done
   1949 ac_signal=0
   1950 
   1951 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1952 rm -f -r conftest* confdefs.h
   1953 
   1954 printf "%s\n" "/* confdefs.h */" > confdefs.h
   1955 
   1956 # Predefined preprocessor variables.
   1957 
   1958 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   1959 
   1960 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   1961 
   1962 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   1963 
   1964 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   1965 
   1966 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   1967 
   1968 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   1969 
   1970 
   1971 # Let the site file select an alternate cache file if it wants to.
   1972 # Prefer an explicitly selected file to automatically selected ones.
   1973 if test -n "$CONFIG_SITE"; then
   1974   ac_site_files="$CONFIG_SITE"
   1975 elif test "x$prefix" != xNONE; then
   1976   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   1977 else
   1978   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   1979 fi
   1980 
   1981 for ac_site_file in $ac_site_files
   1982 do
   1983   case $ac_site_file in #(
   1984   */*) :
   1985      ;; #(
   1986   *) :
   1987     ac_site_file=./$ac_site_file ;;
   1988 esac
   1989   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   1990     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   1991 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   1992     sed 's/^/| /' "$ac_site_file" >&5
   1993     . "$ac_site_file" \
   1994       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   1995 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   1996 as_fn_error $? "failed to load site script $ac_site_file
   1997 See \`config.log' for more details" "$LINENO" 5; }
   1998   fi
   1999 done
   2000 
   2001 if test -r "$cache_file"; then
   2002   # Some versions of bash will fail to source /dev/null (special files
   2003   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2004   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2005     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2006 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2007     case $cache_file in
   2008       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2009       *)                      . "./$cache_file";;
   2010     esac
   2011   fi
   2012 else
   2013   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2014 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2015   >$cache_file
   2016 fi
   2017 
   2018 # Test code for whether the C compiler supports C89 (global declarations)
   2019 ac_c_conftest_c89_globals='
   2020 /* Does the compiler advertise C89 conformance?
   2021    Do not test the value of __STDC__, because some compilers set it to 0
   2022    while being otherwise adequately conformant. */
   2023 #if !defined __STDC__
   2024 # error "Compiler does not advertise C89 conformance"
   2025 #endif
   2026 
   2027 #include <stddef.h>
   2028 #include <stdarg.h>
   2029 struct stat;
   2030 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2031 struct buf { int x; };
   2032 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2033 static char *e (p, i)
   2034      char **p;
   2035      int i;
   2036 {
   2037   return p[i];
   2038 }
   2039 static char *f (char * (*g) (char **, int), char **p, ...)
   2040 {
   2041   char *s;
   2042   va_list v;
   2043   va_start (v,p);
   2044   s = g (p, va_arg (v,int));
   2045   va_end (v);
   2046   return s;
   2047 }
   2048 
   2049 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2050    function prototypes and stuff, but not \xHH hex character constants.
   2051    These do not provoke an error unfortunately, instead are silently treated
   2052    as an "x".  The following induces an error, until -std is added to get
   2053    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2054    array size at least.  It is necessary to write \x00 == 0 to get something
   2055    that is true only with -std.  */
   2056 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2057 
   2058 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2059    inside strings and character constants.  */
   2060 #define FOO(x) '\''x'\''
   2061 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2062 
   2063 int test (int i, double x);
   2064 struct s1 {int (*f) (int a);};
   2065 struct s2 {int (*f) (double a);};
   2066 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2067                int, int);'
   2068 
   2069 # Test code for whether the C compiler supports C89 (body of main).
   2070 ac_c_conftest_c89_main='
   2071 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2072 '
   2073 
   2074 # Test code for whether the C compiler supports C99 (global declarations)
   2075 ac_c_conftest_c99_globals='
   2076 // Does the compiler advertise C99 conformance?
   2077 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2078 # error "Compiler does not advertise C99 conformance"
   2079 #endif
   2080 
   2081 #include <stdbool.h>
   2082 extern int puts (const char *);
   2083 extern int printf (const char *, ...);
   2084 extern int dprintf (int, const char *, ...);
   2085 extern void *malloc (size_t);
   2086 
   2087 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2088 // dprintf is used instead of fprintf to avoid needing to declare
   2089 // FILE and stderr.
   2090 #define debug(...) dprintf (2, __VA_ARGS__)
   2091 #define showlist(...) puts (#__VA_ARGS__)
   2092 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2093 static void
   2094 test_varargs_macros (void)
   2095 {
   2096   int x = 1234;
   2097   int y = 5678;
   2098   debug ("Flag");
   2099   debug ("X = %d\n", x);
   2100   showlist (The first, second, and third items.);
   2101   report (x>y, "x is %d but y is %d", x, y);
   2102 }
   2103 
   2104 // Check long long types.
   2105 #define BIG64 18446744073709551615ull
   2106 #define BIG32 4294967295ul
   2107 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2108 #if !BIG_OK
   2109   #error "your preprocessor is broken"
   2110 #endif
   2111 #if BIG_OK
   2112 #else
   2113   #error "your preprocessor is broken"
   2114 #endif
   2115 static long long int bignum = -9223372036854775807LL;
   2116 static unsigned long long int ubignum = BIG64;
   2117 
   2118 struct incomplete_array
   2119 {
   2120   int datasize;
   2121   double data[];
   2122 };
   2123 
   2124 struct named_init {
   2125   int number;
   2126   const wchar_t *name;
   2127   double average;
   2128 };
   2129 
   2130 typedef const char *ccp;
   2131 
   2132 static inline int
   2133 test_restrict (ccp restrict text)
   2134 {
   2135   // See if C++-style comments work.
   2136   // Iterate through items via the restricted pointer.
   2137   // Also check for declarations in for loops.
   2138   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2139     continue;
   2140   return 0;
   2141 }
   2142 
   2143 // Check varargs and va_copy.
   2144 static bool
   2145 test_varargs (const char *format, ...)
   2146 {
   2147   va_list args;
   2148   va_start (args, format);
   2149   va_list args_copy;
   2150   va_copy (args_copy, args);
   2151 
   2152   const char *str = "";
   2153   int number = 0;
   2154   float fnumber = 0;
   2155 
   2156   while (*format)
   2157     {
   2158       switch (*format++)
   2159 	{
   2160 	case '\''s'\'': // string
   2161 	  str = va_arg (args_copy, const char *);
   2162 	  break;
   2163 	case '\''d'\'': // int
   2164 	  number = va_arg (args_copy, int);
   2165 	  break;
   2166 	case '\''f'\'': // float
   2167 	  fnumber = va_arg (args_copy, double);
   2168 	  break;
   2169 	default:
   2170 	  break;
   2171 	}
   2172     }
   2173   va_end (args_copy);
   2174   va_end (args);
   2175 
   2176   return *str && number && fnumber;
   2177 }
   2178 '
   2179 
   2180 # Test code for whether the C compiler supports C99 (body of main).
   2181 ac_c_conftest_c99_main='
   2182   // Check bool.
   2183   _Bool success = false;
   2184   success |= (argc != 0);
   2185 
   2186   // Check restrict.
   2187   if (test_restrict ("String literal") == 0)
   2188     success = true;
   2189   char *restrict newvar = "Another string";
   2190 
   2191   // Check varargs.
   2192   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2193   test_varargs_macros ();
   2194 
   2195   // Check flexible array members.
   2196   struct incomplete_array *ia =
   2197     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2198   ia->datasize = 10;
   2199   for (int i = 0; i < ia->datasize; ++i)
   2200     ia->data[i] = i * 1.234;
   2201 
   2202   // Check named initializers.
   2203   struct named_init ni = {
   2204     .number = 34,
   2205     .name = L"Test wide string",
   2206     .average = 543.34343,
   2207   };
   2208 
   2209   ni.number = 58;
   2210 
   2211   int dynamic_array[ni.number];
   2212   dynamic_array[0] = argv[0][0];
   2213   dynamic_array[ni.number - 1] = 543;
   2214 
   2215   // work around unused variable warnings
   2216   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2217 	 || dynamic_array[ni.number - 1] != 543);
   2218 '
   2219 
   2220 # Test code for whether the C compiler supports C11 (global declarations)
   2221 ac_c_conftest_c11_globals='
   2222 // Does the compiler advertise C11 conformance?
   2223 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2224 # error "Compiler does not advertise C11 conformance"
   2225 #endif
   2226 
   2227 // Check _Alignas.
   2228 char _Alignas (double) aligned_as_double;
   2229 char _Alignas (0) no_special_alignment;
   2230 extern char aligned_as_int;
   2231 char _Alignas (0) _Alignas (int) aligned_as_int;
   2232 
   2233 // Check _Alignof.
   2234 enum
   2235 {
   2236   int_alignment = _Alignof (int),
   2237   int_array_alignment = _Alignof (int[100]),
   2238   char_alignment = _Alignof (char)
   2239 };
   2240 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2241 
   2242 // Check _Noreturn.
   2243 int _Noreturn does_not_return (void) { for (;;) continue; }
   2244 
   2245 // Check _Static_assert.
   2246 struct test_static_assert
   2247 {
   2248   int x;
   2249   _Static_assert (sizeof (int) <= sizeof (long int),
   2250                   "_Static_assert does not work in struct");
   2251   long int y;
   2252 };
   2253 
   2254 // Check UTF-8 literals.
   2255 #define u8 syntax error!
   2256 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2257 
   2258 // Check duplicate typedefs.
   2259 typedef long *long_ptr;
   2260 typedef long int *long_ptr;
   2261 typedef long_ptr long_ptr;
   2262 
   2263 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2264 struct anonymous
   2265 {
   2266   union {
   2267     struct { int i; int j; };
   2268     struct { int k; long int l; } w;
   2269   };
   2270   int m;
   2271 } v1;
   2272 '
   2273 
   2274 # Test code for whether the C compiler supports C11 (body of main).
   2275 ac_c_conftest_c11_main='
   2276   _Static_assert ((offsetof (struct anonymous, i)
   2277 		   == offsetof (struct anonymous, w.k)),
   2278 		  "Anonymous union alignment botch");
   2279   v1.i = 2;
   2280   v1.w.k = 5;
   2281   ok |= v1.i != 5;
   2282 '
   2283 
   2284 # Test code for whether the C compiler supports C11 (complete).
   2285 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2286 ${ac_c_conftest_c99_globals}
   2287 ${ac_c_conftest_c11_globals}
   2288 
   2289 int
   2290 main (int argc, char **argv)
   2291 {
   2292   int ok = 0;
   2293   ${ac_c_conftest_c89_main}
   2294   ${ac_c_conftest_c99_main}
   2295   ${ac_c_conftest_c11_main}
   2296   return ok;
   2297 }
   2298 "
   2299 
   2300 # Test code for whether the C compiler supports C99 (complete).
   2301 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2302 ${ac_c_conftest_c99_globals}
   2303 
   2304 int
   2305 main (int argc, char **argv)
   2306 {
   2307   int ok = 0;
   2308   ${ac_c_conftest_c89_main}
   2309   ${ac_c_conftest_c99_main}
   2310   return ok;
   2311 }
   2312 "
   2313 
   2314 # Test code for whether the C compiler supports C89 (complete).
   2315 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2316 
   2317 int
   2318 main (int argc, char **argv)
   2319 {
   2320   int ok = 0;
   2321   ${ac_c_conftest_c89_main}
   2322   return ok;
   2323 }
   2324 "
   2325 
   2326 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2327 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2328 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2329 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2330 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2331 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2332 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2333 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2334 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2335 
   2336 # Auxiliary files required by this configure script.
   2337 ac_aux_files="config.guess config.sub compile missing install-sh"
   2338 
   2339 # Locations in which to look for auxiliary files.
   2340 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2341 
   2342 # Search for a directory containing all of the required auxiliary files,
   2343 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2344 # If we don't find one directory that contains all the files we need,
   2345 # we report the set of missing files from the *first* directory in
   2346 # $ac_aux_dir_candidates and give up.
   2347 ac_missing_aux_files=""
   2348 ac_first_candidate=:
   2349 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2351 as_found=false
   2352 for as_dir in $ac_aux_dir_candidates
   2353 do
   2354   IFS=$as_save_IFS
   2355   case $as_dir in #(((
   2356     '') as_dir=./ ;;
   2357     */) ;;
   2358     *) as_dir=$as_dir/ ;;
   2359   esac
   2360   as_found=:
   2361 
   2362   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2363   ac_aux_dir_found=yes
   2364   ac_install_sh=
   2365   for ac_aux in $ac_aux_files
   2366   do
   2367     # As a special case, if "install-sh" is required, that requirement
   2368     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2369     # and $ac_install_sh is set appropriately for whichever one is found.
   2370     if test x"$ac_aux" = x"install-sh"
   2371     then
   2372       if test -f "${as_dir}install-sh"; then
   2373         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2374         ac_install_sh="${as_dir}install-sh -c"
   2375       elif test -f "${as_dir}install.sh"; then
   2376         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2377         ac_install_sh="${as_dir}install.sh -c"
   2378       elif test -f "${as_dir}shtool"; then
   2379         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2380         ac_install_sh="${as_dir}shtool install -c"
   2381       else
   2382         ac_aux_dir_found=no
   2383         if $ac_first_candidate; then
   2384           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2385         else
   2386           break
   2387         fi
   2388       fi
   2389     else
   2390       if test -f "${as_dir}${ac_aux}"; then
   2391         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2392       else
   2393         ac_aux_dir_found=no
   2394         if $ac_first_candidate; then
   2395           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2396         else
   2397           break
   2398         fi
   2399       fi
   2400     fi
   2401   done
   2402   if test "$ac_aux_dir_found" = yes; then
   2403     ac_aux_dir="$as_dir"
   2404     break
   2405   fi
   2406   ac_first_candidate=false
   2407 
   2408   as_found=false
   2409 done
   2410 IFS=$as_save_IFS
   2411 if $as_found
   2412 then :
   2413 
   2414 else $as_nop
   2415   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2416 fi
   2417 
   2418 
   2419 # These three variables are undocumented and unsupported,
   2420 # and are intended to be withdrawn in a future Autoconf release.
   2421 # They can cause serious problems if a builder's source tree is in a directory
   2422 # whose full name contains unusual characters.
   2423 if test -f "${ac_aux_dir}config.guess"; then
   2424   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2425 fi
   2426 if test -f "${ac_aux_dir}config.sub"; then
   2427   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2428 fi
   2429 if test -f "$ac_aux_dir/configure"; then
   2430   ac_configure="$SHELL ${ac_aux_dir}configure"
   2431 fi
   2432 
   2433 # Check that the precious variables saved in the cache have kept the same
   2434 # value.
   2435 ac_cache_corrupted=false
   2436 for ac_var in $ac_precious_vars; do
   2437   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2438   eval ac_new_set=\$ac_env_${ac_var}_set
   2439   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2440   eval ac_new_val=\$ac_env_${ac_var}_value
   2441   case $ac_old_set,$ac_new_set in
   2442     set,)
   2443       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2444 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2445       ac_cache_corrupted=: ;;
   2446     ,set)
   2447       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2448 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2449       ac_cache_corrupted=: ;;
   2450     ,);;
   2451     *)
   2452       if test "x$ac_old_val" != "x$ac_new_val"; then
   2453 	# differences in whitespace do not lead to failure.
   2454 	ac_old_val_w=`echo x $ac_old_val`
   2455 	ac_new_val_w=`echo x $ac_new_val`
   2456 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2457 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2458 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2459 	  ac_cache_corrupted=:
   2460 	else
   2461 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2462 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2463 	  eval $ac_var=\$ac_old_val
   2464 	fi
   2465 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2466 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2467 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2468 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2469       fi;;
   2470   esac
   2471   # Pass precious variables to config.status.
   2472   if test "$ac_new_set" = set; then
   2473     case $ac_new_val in
   2474     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2475     *) ac_arg=$ac_var=$ac_new_val ;;
   2476     esac
   2477     case " $ac_configure_args " in
   2478       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2479       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2480     esac
   2481   fi
   2482 done
   2483 if $ac_cache_corrupted; then
   2484   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2485 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2486   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2487 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2488   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2489 	    and start over" "$LINENO" 5
   2490 fi
   2491 ## -------------------- ##
   2492 ## Main body of script. ##
   2493 ## -------------------- ##
   2494 
   2495 ac_ext=c
   2496 ac_cpp='$CPP $CPPFLAGS'
   2497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2500 
   2501 
   2502 
   2503 ac_config_headers="$ac_config_headers config.h"
   2504 
   2505 
   2506 # Initialize Automake
   2507 am__api_version='1.16'
   2508 
   2509 
   2510 
   2511   # Find a good install program.  We prefer a C program (faster),
   2512 # so one script is as good as another.  But avoid the broken or
   2513 # incompatible versions:
   2514 # SysV /etc/install, /usr/sbin/install
   2515 # SunOS /usr/etc/install
   2516 # IRIX /sbin/install
   2517 # AIX /bin/install
   2518 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2519 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2520 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2521 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2522 # OS/2's system install, which has a completely different semantic
   2523 # ./install, which can be erroneously created by make from ./install.sh.
   2524 # Reject install programs that cannot install multiple files.
   2525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2526 printf %s "checking for a BSD-compatible install... " >&6; }
   2527 if test -z "$INSTALL"; then
   2528 if test ${ac_cv_path_install+y}
   2529 then :
   2530   printf %s "(cached) " >&6
   2531 else $as_nop
   2532   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2533 for as_dir in $PATH
   2534 do
   2535   IFS=$as_save_IFS
   2536   case $as_dir in #(((
   2537     '') as_dir=./ ;;
   2538     */) ;;
   2539     *) as_dir=$as_dir/ ;;
   2540   esac
   2541     # Account for fact that we put trailing slashes in our PATH walk.
   2542 case $as_dir in #((
   2543   ./ | /[cC]/* | \
   2544   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2545   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2546   /usr/ucb/* ) ;;
   2547   *)
   2548     # OSF1 and SCO ODT 3.0 have their own names for install.
   2549     # Don't use installbsd from OSF since it installs stuff as root
   2550     # by default.
   2551     for ac_prog in ginstall scoinst install; do
   2552       for ac_exec_ext in '' $ac_executable_extensions; do
   2553 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2554 	  if test $ac_prog = install &&
   2555 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2556 	    # AIX install.  It has an incompatible calling convention.
   2557 	    :
   2558 	  elif test $ac_prog = install &&
   2559 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2560 	    # program-specific install script used by HP pwplus--don't use.
   2561 	    :
   2562 	  else
   2563 	    rm -rf conftest.one conftest.two conftest.dir
   2564 	    echo one > conftest.one
   2565 	    echo two > conftest.two
   2566 	    mkdir conftest.dir
   2567 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2568 	      test -s conftest.one && test -s conftest.two &&
   2569 	      test -s conftest.dir/conftest.one &&
   2570 	      test -s conftest.dir/conftest.two
   2571 	    then
   2572 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2573 	      break 3
   2574 	    fi
   2575 	  fi
   2576 	fi
   2577       done
   2578     done
   2579     ;;
   2580 esac
   2581 
   2582   done
   2583 IFS=$as_save_IFS
   2584 
   2585 rm -rf conftest.one conftest.two conftest.dir
   2586 
   2587 fi
   2588   if test ${ac_cv_path_install+y}; then
   2589     INSTALL=$ac_cv_path_install
   2590   else
   2591     # As a last resort, use the slow shell script.  Don't cache a
   2592     # value for INSTALL within a source directory, because that will
   2593     # break other packages using the cache if that directory is
   2594     # removed, or if the value is a relative name.
   2595     INSTALL=$ac_install_sh
   2596   fi
   2597 fi
   2598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2599 printf "%s\n" "$INSTALL" >&6; }
   2600 
   2601 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2602 # It thinks the first close brace ends the variable substitution.
   2603 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2604 
   2605 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2606 
   2607 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2608 
   2609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2610 printf %s "checking whether build environment is sane... " >&6; }
   2611 # Reject unsafe characters in $srcdir or the absolute working directory
   2612 # name.  Accept space and tab only in the latter.
   2613 am_lf='
   2614 '
   2615 case `pwd` in
   2616   *[\\\"\#\$\&\'\`$am_lf]*)
   2617     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2618 esac
   2619 case $srcdir in
   2620   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2621     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2622 esac
   2623 
   2624 # Do 'set' in a subshell so we don't clobber the current shell's
   2625 # arguments.  Must try -L first in case configure is actually a
   2626 # symlink; some systems play weird games with the mod time of symlinks
   2627 # (eg FreeBSD returns the mod time of the symlink's containing
   2628 # directory).
   2629 if (
   2630    am_has_slept=no
   2631    for am_try in 1 2; do
   2632      echo "timestamp, slept: $am_has_slept" > conftest.file
   2633      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2634      if test "$*" = "X"; then
   2635 	# -L didn't work.
   2636 	set X `ls -t "$srcdir/configure" conftest.file`
   2637      fi
   2638      if test "$*" != "X $srcdir/configure conftest.file" \
   2639 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2640 
   2641 	# If neither matched, then we have a broken ls.  This can happen
   2642 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2643 	# broken ls alias from the environment.  This has actually
   2644 	# happened.  Such a system could not be considered "sane".
   2645 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2646   alias in your environment" "$LINENO" 5
   2647      fi
   2648      if test "$2" = conftest.file || test $am_try -eq 2; then
   2649        break
   2650      fi
   2651      # Just in case.
   2652      sleep 1
   2653      am_has_slept=yes
   2654    done
   2655    test "$2" = conftest.file
   2656    )
   2657 then
   2658    # Ok.
   2659    :
   2660 else
   2661    as_fn_error $? "newly created file is older than distributed files!
   2662 Check your system clock" "$LINENO" 5
   2663 fi
   2664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2665 printf "%s\n" "yes" >&6; }
   2666 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2667 # generated files are strictly newer.
   2668 am_sleep_pid=
   2669 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2670   ( sleep 1 ) &
   2671   am_sleep_pid=$!
   2672 fi
   2673 
   2674 rm -f conftest.file
   2675 
   2676 test "$program_prefix" != NONE &&
   2677   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2678 # Use a double $ so make ignores it.
   2679 test "$program_suffix" != NONE &&
   2680   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2681 # Double any \ or $.
   2682 # By default was `s,x,x', remove it if useless.
   2683 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2684 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2685 
   2686 
   2687 # Expand $ac_aux_dir to an absolute path.
   2688 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2689 
   2690 
   2691   if test x"${MISSING+set}" != xset; then
   2692   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2693 fi
   2694 # Use eval to expand $SHELL
   2695 if eval "$MISSING --is-lightweight"; then
   2696   am_missing_run="$MISSING "
   2697 else
   2698   am_missing_run=
   2699   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2700 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2701 fi
   2702 
   2703 if test x"${install_sh+set}" != xset; then
   2704   case $am_aux_dir in
   2705   *\ * | *\	*)
   2706     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2707   *)
   2708     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2709   esac
   2710 fi
   2711 
   2712 # Installed binaries are usually stripped using 'strip' when the user
   2713 # run "make install-strip".  However 'strip' might not be the right
   2714 # tool to use in cross-compilation environments, therefore Automake
   2715 # will honor the 'STRIP' environment variable to overrule this program.
   2716 if test "$cross_compiling" != no; then
   2717   if test -n "$ac_tool_prefix"; then
   2718   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2719 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2721 printf %s "checking for $ac_word... " >&6; }
   2722 if test ${ac_cv_prog_STRIP+y}
   2723 then :
   2724   printf %s "(cached) " >&6
   2725 else $as_nop
   2726   if test -n "$STRIP"; then
   2727   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2728 else
   2729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2730 for as_dir in $PATH
   2731 do
   2732   IFS=$as_save_IFS
   2733   case $as_dir in #(((
   2734     '') as_dir=./ ;;
   2735     */) ;;
   2736     *) as_dir=$as_dir/ ;;
   2737   esac
   2738     for ac_exec_ext in '' $ac_executable_extensions; do
   2739   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2740     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2741     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2742     break 2
   2743   fi
   2744 done
   2745   done
   2746 IFS=$as_save_IFS
   2747 
   2748 fi
   2749 fi
   2750 STRIP=$ac_cv_prog_STRIP
   2751 if test -n "$STRIP"; then
   2752   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2753 printf "%s\n" "$STRIP" >&6; }
   2754 else
   2755   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2756 printf "%s\n" "no" >&6; }
   2757 fi
   2758 
   2759 
   2760 fi
   2761 if test -z "$ac_cv_prog_STRIP"; then
   2762   ac_ct_STRIP=$STRIP
   2763   # Extract the first word of "strip", so it can be a program name with args.
   2764 set dummy strip; ac_word=$2
   2765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2766 printf %s "checking for $ac_word... " >&6; }
   2767 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2768 then :
   2769   printf %s "(cached) " >&6
   2770 else $as_nop
   2771   if test -n "$ac_ct_STRIP"; then
   2772   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2773 else
   2774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2775 for as_dir in $PATH
   2776 do
   2777   IFS=$as_save_IFS
   2778   case $as_dir in #(((
   2779     '') as_dir=./ ;;
   2780     */) ;;
   2781     *) as_dir=$as_dir/ ;;
   2782   esac
   2783     for ac_exec_ext in '' $ac_executable_extensions; do
   2784   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2785     ac_cv_prog_ac_ct_STRIP="strip"
   2786     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2787     break 2
   2788   fi
   2789 done
   2790   done
   2791 IFS=$as_save_IFS
   2792 
   2793 fi
   2794 fi
   2795 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2796 if test -n "$ac_ct_STRIP"; then
   2797   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2798 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2799 else
   2800   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2801 printf "%s\n" "no" >&6; }
   2802 fi
   2803 
   2804   if test "x$ac_ct_STRIP" = x; then
   2805     STRIP=":"
   2806   else
   2807     case $cross_compiling:$ac_tool_warned in
   2808 yes:)
   2809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2810 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2811 ac_tool_warned=yes ;;
   2812 esac
   2813     STRIP=$ac_ct_STRIP
   2814   fi
   2815 else
   2816   STRIP="$ac_cv_prog_STRIP"
   2817 fi
   2818 
   2819 fi
   2820 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2821 
   2822 
   2823   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   2824 printf %s "checking for a race-free mkdir -p... " >&6; }
   2825 if test -z "$MKDIR_P"; then
   2826   if test ${ac_cv_path_mkdir+y}
   2827 then :
   2828   printf %s "(cached) " >&6
   2829 else $as_nop
   2830   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2831 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2832 do
   2833   IFS=$as_save_IFS
   2834   case $as_dir in #(((
   2835     '') as_dir=./ ;;
   2836     */) ;;
   2837     *) as_dir=$as_dir/ ;;
   2838   esac
   2839     for ac_prog in mkdir gmkdir; do
   2840 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2841 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   2842 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2843 	     'mkdir ('*'coreutils) '* | \
   2844 	     'BusyBox '* | \
   2845 	     'mkdir (fileutils) '4.1*)
   2846 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   2847 	       break 3;;
   2848 	   esac
   2849 	 done
   2850        done
   2851   done
   2852 IFS=$as_save_IFS
   2853 
   2854 fi
   2855 
   2856   test -d ./--version && rmdir ./--version
   2857   if test ${ac_cv_path_mkdir+y}; then
   2858     MKDIR_P="$ac_cv_path_mkdir -p"
   2859   else
   2860     # As a last resort, use the slow shell script.  Don't cache a
   2861     # value for MKDIR_P within a source directory, because that will
   2862     # break other packages using the cache if that directory is
   2863     # removed, or if the value is a relative name.
   2864     MKDIR_P="$ac_install_sh -d"
   2865   fi
   2866 fi
   2867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2868 printf "%s\n" "$MKDIR_P" >&6; }
   2869 
   2870 for ac_prog in gawk mawk nawk awk
   2871 do
   2872   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2873 set dummy $ac_prog; ac_word=$2
   2874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2875 printf %s "checking for $ac_word... " >&6; }
   2876 if test ${ac_cv_prog_AWK+y}
   2877 then :
   2878   printf %s "(cached) " >&6
   2879 else $as_nop
   2880   if test -n "$AWK"; then
   2881   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2882 else
   2883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2884 for as_dir in $PATH
   2885 do
   2886   IFS=$as_save_IFS
   2887   case $as_dir in #(((
   2888     '') as_dir=./ ;;
   2889     */) ;;
   2890     *) as_dir=$as_dir/ ;;
   2891   esac
   2892     for ac_exec_ext in '' $ac_executable_extensions; do
   2893   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2894     ac_cv_prog_AWK="$ac_prog"
   2895     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2896     break 2
   2897   fi
   2898 done
   2899   done
   2900 IFS=$as_save_IFS
   2901 
   2902 fi
   2903 fi
   2904 AWK=$ac_cv_prog_AWK
   2905 if test -n "$AWK"; then
   2906   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2907 printf "%s\n" "$AWK" >&6; }
   2908 else
   2909   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2910 printf "%s\n" "no" >&6; }
   2911 fi
   2912 
   2913 
   2914   test -n "$AWK" && break
   2915 done
   2916 
   2917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2918 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2919 set x ${MAKE-make}
   2920 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2921 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   2922 then :
   2923   printf %s "(cached) " >&6
   2924 else $as_nop
   2925   cat >conftest.make <<\_ACEOF
   2926 SHELL = /bin/sh
   2927 all:
   2928 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2929 _ACEOF
   2930 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2931 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2932   *@@@%%%=?*=@@@%%%*)
   2933     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2934   *)
   2935     eval ac_cv_prog_make_${ac_make}_set=no;;
   2936 esac
   2937 rm -f conftest.make
   2938 fi
   2939 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2940   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2941 printf "%s\n" "yes" >&6; }
   2942   SET_MAKE=
   2943 else
   2944   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2945 printf "%s\n" "no" >&6; }
   2946   SET_MAKE="MAKE=${MAKE-make}"
   2947 fi
   2948 
   2949 rm -rf .tst 2>/dev/null
   2950 mkdir .tst 2>/dev/null
   2951 if test -d .tst; then
   2952   am__leading_dot=.
   2953 else
   2954   am__leading_dot=_
   2955 fi
   2956 rmdir .tst 2>/dev/null
   2957 
   2958 # Check whether --enable-silent-rules was given.
   2959 if test ${enable_silent_rules+y}
   2960 then :
   2961   enableval=$enable_silent_rules;
   2962 fi
   2963 
   2964 case $enable_silent_rules in # (((
   2965   yes) AM_DEFAULT_VERBOSITY=0;;
   2966    no) AM_DEFAULT_VERBOSITY=1;;
   2967     *) AM_DEFAULT_VERBOSITY=1;;
   2968 esac
   2969 am_make=${MAKE-make}
   2970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2971 printf %s "checking whether $am_make supports nested variables... " >&6; }
   2972 if test ${am_cv_make_support_nested_variables+y}
   2973 then :
   2974   printf %s "(cached) " >&6
   2975 else $as_nop
   2976   if printf "%s\n" 'TRUE=$(BAR$(V))
   2977 BAR0=false
   2978 BAR1=true
   2979 V=1
   2980 am__doit:
   2981 	@$(TRUE)
   2982 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2983   am_cv_make_support_nested_variables=yes
   2984 else
   2985   am_cv_make_support_nested_variables=no
   2986 fi
   2987 fi
   2988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2989 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   2990 if test $am_cv_make_support_nested_variables = yes; then
   2991     AM_V='$(V)'
   2992   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2993 else
   2994   AM_V=$AM_DEFAULT_VERBOSITY
   2995   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2996 fi
   2997 AM_BACKSLASH='\'
   2998 
   2999 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3000   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3001   # is not polluted with repeated "-I."
   3002   am__isrc=' -I$(srcdir)'
   3003   # test to see if srcdir already configured
   3004   if test -f $srcdir/config.status; then
   3005     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3006   fi
   3007 fi
   3008 
   3009 # test whether we have cygpath
   3010 if test -z "$CYGPATH_W"; then
   3011   if (cygpath --version) >/dev/null 2>/dev/null; then
   3012     CYGPATH_W='cygpath -w'
   3013   else
   3014     CYGPATH_W=echo
   3015   fi
   3016 fi
   3017 
   3018 
   3019 # Define the identity of the package.
   3020  PACKAGE='xmessage'
   3021  VERSION='1.0.6'
   3022 
   3023 
   3024 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3025 
   3026 
   3027 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3028 
   3029 # Some tools Automake needs.
   3030 
   3031 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3032 
   3033 
   3034 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3035 
   3036 
   3037 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3038 
   3039 
   3040 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3041 
   3042 
   3043 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3044 
   3045 # For better backward compatibility.  To be removed once Automake 1.9.x
   3046 # dies out for good.  For more background, see:
   3047 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3048 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3049 mkdir_p='$(MKDIR_P)'
   3050 
   3051 # We need awk for the "check" target (and possibly the TAP driver).  The
   3052 # system "awk" is bad on some platforms.
   3053 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3054 # in the wild :-(  We should find a proper way to deprecate it ...
   3055 AMTAR='$${TAR-tar}'
   3056 
   3057 
   3058 # We'll loop over all known methods to create a tar archive until one works.
   3059 _am_tools='gnutar  pax cpio none'
   3060 
   3061 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3062 
   3063 
   3064 
   3065 
   3066 
   3067 # Variables for tags utilities; see am/tags.am
   3068 if test -z "$CTAGS"; then
   3069   CTAGS=ctags
   3070 fi
   3071 
   3072 if test -z "$ETAGS"; then
   3073   ETAGS=etags
   3074 fi
   3075 
   3076 if test -z "$CSCOPE"; then
   3077   CSCOPE=cscope
   3078 fi
   3079 
   3080 
   3081 
   3082 # POSIX will say in a future version that running "rm -f" with no argument
   3083 # is OK; and we want to be able to make that assumption in our Makefile
   3084 # recipes.  So use an aggressive probe to check that the usage we want is
   3085 # actually supported "in the wild" to an acceptable degree.
   3086 # See automake bug#10828.
   3087 # To make any issue more visible, cause the running configure to be aborted
   3088 # by default if the 'rm' program in use doesn't match our expectations; the
   3089 # user can still override this though.
   3090 if rm -f && rm -fr && rm -rf; then : OK; else
   3091   cat >&2 <<'END'
   3092 Oops!
   3093 
   3094 Your 'rm' program seems unable to run without file operands specified
   3095 on the command line, even when the '-f' option is present.  This is contrary
   3096 to the behaviour of most rm programs out there, and not conforming with
   3097 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3098 
   3099 Please tell bug-automake@gnu.org about your system, including the value
   3100 of your $PATH and any error possibly output before this message.  This
   3101 can help us improve future automake versions.
   3102 
   3103 END
   3104   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3105     echo 'Configuration will proceed anyway, since you have set the' >&2
   3106     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3107     echo >&2
   3108   else
   3109     cat >&2 <<'END'
   3110 Aborting the configuration process, to ensure you take notice of the issue.
   3111 
   3112 You can download and install GNU coreutils to get an 'rm' implementation
   3113 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3114 
   3115 If you want to complete the configuration process using your problematic
   3116 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3117 to "yes", and re-run configure.
   3118 
   3119 END
   3120     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3121   fi
   3122 fi
   3123 
   3124 
   3125 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   3126 
   3127 
   3128 
   3129 
   3130 
   3131 
   3132 
   3133 
   3134 
   3135 
   3136 
   3137 
   3138 
   3139 
   3140 
   3141 
   3142 
   3143 
   3144 
   3145 
   3146 DEPDIR="${am__leading_dot}deps"
   3147 
   3148 ac_config_commands="$ac_config_commands depfiles"
   3149 
   3150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3151 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3152 cat > confinc.mk << 'END'
   3153 am__doit:
   3154 	@echo this is the am__doit target >confinc.out
   3155 .PHONY: am__doit
   3156 END
   3157 am__include="#"
   3158 am__quote=
   3159 # BSD make does it like this.
   3160 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3161 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3162 echo 'include confinc.mk # ignored' > confmf.GNU
   3163 _am_result=no
   3164 for s in GNU BSD; do
   3165   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3166    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3167    ac_status=$?
   3168    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3169    (exit $ac_status); }
   3170   case $?:`cat confinc.out 2>/dev/null` in #(
   3171   '0:this is the am__doit target') :
   3172     case $s in #(
   3173   BSD) :
   3174     am__include='.include' am__quote='"' ;; #(
   3175   *) :
   3176     am__include='include' am__quote='' ;;
   3177 esac ;; #(
   3178   *) :
   3179      ;;
   3180 esac
   3181   if test "$am__include" != "#"; then
   3182     _am_result="yes ($s style)"
   3183     break
   3184   fi
   3185 done
   3186 rm -f confinc.* confmf.*
   3187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3188 printf "%s\n" "${_am_result}" >&6; }
   3189 
   3190 # Check whether --enable-dependency-tracking was given.
   3191 if test ${enable_dependency_tracking+y}
   3192 then :
   3193   enableval=$enable_dependency_tracking;
   3194 fi
   3195 
   3196 if test "x$enable_dependency_tracking" != xno; then
   3197   am_depcomp="$ac_aux_dir/depcomp"
   3198   AMDEPBACKSLASH='\'
   3199   am__nodep='_no'
   3200 fi
   3201  if test "x$enable_dependency_tracking" != xno; then
   3202   AMDEP_TRUE=
   3203   AMDEP_FALSE='#'
   3204 else
   3205   AMDEP_TRUE='#'
   3206   AMDEP_FALSE=
   3207 fi
   3208 
   3209 
   3210 ac_ext=c
   3211 ac_cpp='$CPP $CPPFLAGS'
   3212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3215 if test -n "$ac_tool_prefix"; then
   3216   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3217 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3219 printf %s "checking for $ac_word... " >&6; }
   3220 if test ${ac_cv_prog_CC+y}
   3221 then :
   3222   printf %s "(cached) " >&6
   3223 else $as_nop
   3224   if test -n "$CC"; then
   3225   ac_cv_prog_CC="$CC" # Let the user override the test.
   3226 else
   3227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3228 for as_dir in $PATH
   3229 do
   3230   IFS=$as_save_IFS
   3231   case $as_dir in #(((
   3232     '') as_dir=./ ;;
   3233     */) ;;
   3234     *) as_dir=$as_dir/ ;;
   3235   esac
   3236     for ac_exec_ext in '' $ac_executable_extensions; do
   3237   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3238     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3239     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3240     break 2
   3241   fi
   3242 done
   3243   done
   3244 IFS=$as_save_IFS
   3245 
   3246 fi
   3247 fi
   3248 CC=$ac_cv_prog_CC
   3249 if test -n "$CC"; then
   3250   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3251 printf "%s\n" "$CC" >&6; }
   3252 else
   3253   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3254 printf "%s\n" "no" >&6; }
   3255 fi
   3256 
   3257 
   3258 fi
   3259 if test -z "$ac_cv_prog_CC"; then
   3260   ac_ct_CC=$CC
   3261   # Extract the first word of "gcc", so it can be a program name with args.
   3262 set dummy gcc; ac_word=$2
   3263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3264 printf %s "checking for $ac_word... " >&6; }
   3265 if test ${ac_cv_prog_ac_ct_CC+y}
   3266 then :
   3267   printf %s "(cached) " >&6
   3268 else $as_nop
   3269   if test -n "$ac_ct_CC"; then
   3270   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3271 else
   3272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3273 for as_dir in $PATH
   3274 do
   3275   IFS=$as_save_IFS
   3276   case $as_dir in #(((
   3277     '') as_dir=./ ;;
   3278     */) ;;
   3279     *) as_dir=$as_dir/ ;;
   3280   esac
   3281     for ac_exec_ext in '' $ac_executable_extensions; do
   3282   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3283     ac_cv_prog_ac_ct_CC="gcc"
   3284     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3285     break 2
   3286   fi
   3287 done
   3288   done
   3289 IFS=$as_save_IFS
   3290 
   3291 fi
   3292 fi
   3293 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3294 if test -n "$ac_ct_CC"; then
   3295   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3296 printf "%s\n" "$ac_ct_CC" >&6; }
   3297 else
   3298   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3299 printf "%s\n" "no" >&6; }
   3300 fi
   3301 
   3302   if test "x$ac_ct_CC" = x; then
   3303     CC=""
   3304   else
   3305     case $cross_compiling:$ac_tool_warned in
   3306 yes:)
   3307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3308 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3309 ac_tool_warned=yes ;;
   3310 esac
   3311     CC=$ac_ct_CC
   3312   fi
   3313 else
   3314   CC="$ac_cv_prog_CC"
   3315 fi
   3316 
   3317 if test -z "$CC"; then
   3318           if test -n "$ac_tool_prefix"; then
   3319     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3320 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3322 printf %s "checking for $ac_word... " >&6; }
   3323 if test ${ac_cv_prog_CC+y}
   3324 then :
   3325   printf %s "(cached) " >&6
   3326 else $as_nop
   3327   if test -n "$CC"; then
   3328   ac_cv_prog_CC="$CC" # Let the user override the test.
   3329 else
   3330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3331 for as_dir in $PATH
   3332 do
   3333   IFS=$as_save_IFS
   3334   case $as_dir in #(((
   3335     '') as_dir=./ ;;
   3336     */) ;;
   3337     *) as_dir=$as_dir/ ;;
   3338   esac
   3339     for ac_exec_ext in '' $ac_executable_extensions; do
   3340   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3341     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3342     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3343     break 2
   3344   fi
   3345 done
   3346   done
   3347 IFS=$as_save_IFS
   3348 
   3349 fi
   3350 fi
   3351 CC=$ac_cv_prog_CC
   3352 if test -n "$CC"; then
   3353   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3354 printf "%s\n" "$CC" >&6; }
   3355 else
   3356   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3357 printf "%s\n" "no" >&6; }
   3358 fi
   3359 
   3360 
   3361   fi
   3362 fi
   3363 if test -z "$CC"; then
   3364   # Extract the first word of "cc", so it can be a program name with args.
   3365 set dummy cc; ac_word=$2
   3366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3367 printf %s "checking for $ac_word... " >&6; }
   3368 if test ${ac_cv_prog_CC+y}
   3369 then :
   3370   printf %s "(cached) " >&6
   3371 else $as_nop
   3372   if test -n "$CC"; then
   3373   ac_cv_prog_CC="$CC" # Let the user override the test.
   3374 else
   3375   ac_prog_rejected=no
   3376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3377 for as_dir in $PATH
   3378 do
   3379   IFS=$as_save_IFS
   3380   case $as_dir in #(((
   3381     '') as_dir=./ ;;
   3382     */) ;;
   3383     *) as_dir=$as_dir/ ;;
   3384   esac
   3385     for ac_exec_ext in '' $ac_executable_extensions; do
   3386   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3387     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3388        ac_prog_rejected=yes
   3389        continue
   3390      fi
   3391     ac_cv_prog_CC="cc"
   3392     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3393     break 2
   3394   fi
   3395 done
   3396   done
   3397 IFS=$as_save_IFS
   3398 
   3399 if test $ac_prog_rejected = yes; then
   3400   # We found a bogon in the path, so make sure we never use it.
   3401   set dummy $ac_cv_prog_CC
   3402   shift
   3403   if test $# != 0; then
   3404     # We chose a different compiler from the bogus one.
   3405     # However, it has the same basename, so the bogon will be chosen
   3406     # first if we set CC to just the basename; use the full file name.
   3407     shift
   3408     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3409   fi
   3410 fi
   3411 fi
   3412 fi
   3413 CC=$ac_cv_prog_CC
   3414 if test -n "$CC"; then
   3415   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3416 printf "%s\n" "$CC" >&6; }
   3417 else
   3418   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3419 printf "%s\n" "no" >&6; }
   3420 fi
   3421 
   3422 
   3423 fi
   3424 if test -z "$CC"; then
   3425   if test -n "$ac_tool_prefix"; then
   3426   for ac_prog in cl.exe
   3427   do
   3428     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3429 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3431 printf %s "checking for $ac_word... " >&6; }
   3432 if test ${ac_cv_prog_CC+y}
   3433 then :
   3434   printf %s "(cached) " >&6
   3435 else $as_nop
   3436   if test -n "$CC"; then
   3437   ac_cv_prog_CC="$CC" # Let the user override the test.
   3438 else
   3439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3440 for as_dir in $PATH
   3441 do
   3442   IFS=$as_save_IFS
   3443   case $as_dir in #(((
   3444     '') as_dir=./ ;;
   3445     */) ;;
   3446     *) as_dir=$as_dir/ ;;
   3447   esac
   3448     for ac_exec_ext in '' $ac_executable_extensions; do
   3449   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3450     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3451     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3452     break 2
   3453   fi
   3454 done
   3455   done
   3456 IFS=$as_save_IFS
   3457 
   3458 fi
   3459 fi
   3460 CC=$ac_cv_prog_CC
   3461 if test -n "$CC"; then
   3462   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3463 printf "%s\n" "$CC" >&6; }
   3464 else
   3465   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3466 printf "%s\n" "no" >&6; }
   3467 fi
   3468 
   3469 
   3470     test -n "$CC" && break
   3471   done
   3472 fi
   3473 if test -z "$CC"; then
   3474   ac_ct_CC=$CC
   3475   for ac_prog in cl.exe
   3476 do
   3477   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3478 set dummy $ac_prog; ac_word=$2
   3479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3480 printf %s "checking for $ac_word... " >&6; }
   3481 if test ${ac_cv_prog_ac_ct_CC+y}
   3482 then :
   3483   printf %s "(cached) " >&6
   3484 else $as_nop
   3485   if test -n "$ac_ct_CC"; then
   3486   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3487 else
   3488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3489 for as_dir in $PATH
   3490 do
   3491   IFS=$as_save_IFS
   3492   case $as_dir in #(((
   3493     '') as_dir=./ ;;
   3494     */) ;;
   3495     *) as_dir=$as_dir/ ;;
   3496   esac
   3497     for ac_exec_ext in '' $ac_executable_extensions; do
   3498   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3499     ac_cv_prog_ac_ct_CC="$ac_prog"
   3500     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3501     break 2
   3502   fi
   3503 done
   3504   done
   3505 IFS=$as_save_IFS
   3506 
   3507 fi
   3508 fi
   3509 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3510 if test -n "$ac_ct_CC"; then
   3511   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3512 printf "%s\n" "$ac_ct_CC" >&6; }
   3513 else
   3514   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3515 printf "%s\n" "no" >&6; }
   3516 fi
   3517 
   3518 
   3519   test -n "$ac_ct_CC" && break
   3520 done
   3521 
   3522   if test "x$ac_ct_CC" = x; then
   3523     CC=""
   3524   else
   3525     case $cross_compiling:$ac_tool_warned in
   3526 yes:)
   3527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3528 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3529 ac_tool_warned=yes ;;
   3530 esac
   3531     CC=$ac_ct_CC
   3532   fi
   3533 fi
   3534 
   3535 fi
   3536 if test -z "$CC"; then
   3537   if test -n "$ac_tool_prefix"; then
   3538   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3539 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3541 printf %s "checking for $ac_word... " >&6; }
   3542 if test ${ac_cv_prog_CC+y}
   3543 then :
   3544   printf %s "(cached) " >&6
   3545 else $as_nop
   3546   if test -n "$CC"; then
   3547   ac_cv_prog_CC="$CC" # Let the user override the test.
   3548 else
   3549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3550 for as_dir in $PATH
   3551 do
   3552   IFS=$as_save_IFS
   3553   case $as_dir in #(((
   3554     '') as_dir=./ ;;
   3555     */) ;;
   3556     *) as_dir=$as_dir/ ;;
   3557   esac
   3558     for ac_exec_ext in '' $ac_executable_extensions; do
   3559   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3560     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3561     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3562     break 2
   3563   fi
   3564 done
   3565   done
   3566 IFS=$as_save_IFS
   3567 
   3568 fi
   3569 fi
   3570 CC=$ac_cv_prog_CC
   3571 if test -n "$CC"; then
   3572   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3573 printf "%s\n" "$CC" >&6; }
   3574 else
   3575   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3576 printf "%s\n" "no" >&6; }
   3577 fi
   3578 
   3579 
   3580 fi
   3581 if test -z "$ac_cv_prog_CC"; then
   3582   ac_ct_CC=$CC
   3583   # Extract the first word of "clang", so it can be a program name with args.
   3584 set dummy clang; ac_word=$2
   3585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3586 printf %s "checking for $ac_word... " >&6; }
   3587 if test ${ac_cv_prog_ac_ct_CC+y}
   3588 then :
   3589   printf %s "(cached) " >&6
   3590 else $as_nop
   3591   if test -n "$ac_ct_CC"; then
   3592   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3593 else
   3594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3595 for as_dir in $PATH
   3596 do
   3597   IFS=$as_save_IFS
   3598   case $as_dir in #(((
   3599     '') as_dir=./ ;;
   3600     */) ;;
   3601     *) as_dir=$as_dir/ ;;
   3602   esac
   3603     for ac_exec_ext in '' $ac_executable_extensions; do
   3604   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3605     ac_cv_prog_ac_ct_CC="clang"
   3606     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3607     break 2
   3608   fi
   3609 done
   3610   done
   3611 IFS=$as_save_IFS
   3612 
   3613 fi
   3614 fi
   3615 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3616 if test -n "$ac_ct_CC"; then
   3617   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3618 printf "%s\n" "$ac_ct_CC" >&6; }
   3619 else
   3620   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3621 printf "%s\n" "no" >&6; }
   3622 fi
   3623 
   3624   if test "x$ac_ct_CC" = x; then
   3625     CC=""
   3626   else
   3627     case $cross_compiling:$ac_tool_warned in
   3628 yes:)
   3629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3630 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3631 ac_tool_warned=yes ;;
   3632 esac
   3633     CC=$ac_ct_CC
   3634   fi
   3635 else
   3636   CC="$ac_cv_prog_CC"
   3637 fi
   3638 
   3639 fi
   3640 
   3641 
   3642 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3643 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3644 as_fn_error $? "no acceptable C compiler found in \$PATH
   3645 See \`config.log' for more details" "$LINENO" 5; }
   3646 
   3647 # Provide some information about the compiler.
   3648 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3649 set X $ac_compile
   3650 ac_compiler=$2
   3651 for ac_option in --version -v -V -qversion -version; do
   3652   { { ac_try="$ac_compiler $ac_option >&5"
   3653 case "(($ac_try" in
   3654   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3655   *) ac_try_echo=$ac_try;;
   3656 esac
   3657 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3658 printf "%s\n" "$ac_try_echo"; } >&5
   3659   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3660   ac_status=$?
   3661   if test -s conftest.err; then
   3662     sed '10a\
   3663 ... rest of stderr output deleted ...
   3664          10q' conftest.err >conftest.er1
   3665     cat conftest.er1 >&5
   3666   fi
   3667   rm -f conftest.er1 conftest.err
   3668   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3669   test $ac_status = 0; }
   3670 done
   3671 
   3672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3673 /* end confdefs.h.  */
   3674 
   3675 int
   3676 main (void)
   3677 {
   3678 
   3679   ;
   3680   return 0;
   3681 }
   3682 _ACEOF
   3683 ac_clean_files_save=$ac_clean_files
   3684 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3685 # Try to create an executable without -o first, disregard a.out.
   3686 # It will help us diagnose broken compilers, and finding out an intuition
   3687 # of exeext.
   3688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3689 printf %s "checking whether the C compiler works... " >&6; }
   3690 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3691 
   3692 # The possible output files:
   3693 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3694 
   3695 ac_rmfiles=
   3696 for ac_file in $ac_files
   3697 do
   3698   case $ac_file in
   3699     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3700     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3701   esac
   3702 done
   3703 rm -f $ac_rmfiles
   3704 
   3705 if { { ac_try="$ac_link_default"
   3706 case "(($ac_try" in
   3707   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3708   *) ac_try_echo=$ac_try;;
   3709 esac
   3710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3711 printf "%s\n" "$ac_try_echo"; } >&5
   3712   (eval "$ac_link_default") 2>&5
   3713   ac_status=$?
   3714   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3715   test $ac_status = 0; }
   3716 then :
   3717   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3718 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3719 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3720 # so that the user can short-circuit this test for compilers unknown to
   3721 # Autoconf.
   3722 for ac_file in $ac_files ''
   3723 do
   3724   test -f "$ac_file" || continue
   3725   case $ac_file in
   3726     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3727 	;;
   3728     [ab].out )
   3729 	# We found the default executable, but exeext='' is most
   3730 	# certainly right.
   3731 	break;;
   3732     *.* )
   3733 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3734 	then :; else
   3735 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3736 	fi
   3737 	# We set ac_cv_exeext here because the later test for it is not
   3738 	# safe: cross compilers may not add the suffix if given an `-o'
   3739 	# argument, so we may need to know it at that point already.
   3740 	# Even if this section looks crufty: it has the advantage of
   3741 	# actually working.
   3742 	break;;
   3743     * )
   3744 	break;;
   3745   esac
   3746 done
   3747 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3748 
   3749 else $as_nop
   3750   ac_file=''
   3751 fi
   3752 if test -z "$ac_file"
   3753 then :
   3754   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3755 printf "%s\n" "no" >&6; }
   3756 printf "%s\n" "$as_me: failed program was:" >&5
   3757 sed 's/^/| /' conftest.$ac_ext >&5
   3758 
   3759 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3760 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3761 as_fn_error 77 "C compiler cannot create executables
   3762 See \`config.log' for more details" "$LINENO" 5; }
   3763 else $as_nop
   3764   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3765 printf "%s\n" "yes" >&6; }
   3766 fi
   3767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3768 printf %s "checking for C compiler default output file name... " >&6; }
   3769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3770 printf "%s\n" "$ac_file" >&6; }
   3771 ac_exeext=$ac_cv_exeext
   3772 
   3773 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3774 ac_clean_files=$ac_clean_files_save
   3775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3776 printf %s "checking for suffix of executables... " >&6; }
   3777 if { { ac_try="$ac_link"
   3778 case "(($ac_try" in
   3779   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3780   *) ac_try_echo=$ac_try;;
   3781 esac
   3782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3783 printf "%s\n" "$ac_try_echo"; } >&5
   3784   (eval "$ac_link") 2>&5
   3785   ac_status=$?
   3786   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3787   test $ac_status = 0; }
   3788 then :
   3789   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3790 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3791 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3792 # `rm'.
   3793 for ac_file in conftest.exe conftest conftest.*; do
   3794   test -f "$ac_file" || continue
   3795   case $ac_file in
   3796     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3797     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3798 	  break;;
   3799     * ) break;;
   3800   esac
   3801 done
   3802 else $as_nop
   3803   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3804 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3805 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3806 See \`config.log' for more details" "$LINENO" 5; }
   3807 fi
   3808 rm -f conftest conftest$ac_cv_exeext
   3809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3810 printf "%s\n" "$ac_cv_exeext" >&6; }
   3811 
   3812 rm -f conftest.$ac_ext
   3813 EXEEXT=$ac_cv_exeext
   3814 ac_exeext=$EXEEXT
   3815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3816 /* end confdefs.h.  */
   3817 #include <stdio.h>
   3818 int
   3819 main (void)
   3820 {
   3821 FILE *f = fopen ("conftest.out", "w");
   3822  return ferror (f) || fclose (f) != 0;
   3823 
   3824   ;
   3825   return 0;
   3826 }
   3827 _ACEOF
   3828 ac_clean_files="$ac_clean_files conftest.out"
   3829 # Check that the compiler produces executables we can run.  If not, either
   3830 # the compiler is broken, or we cross compile.
   3831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3832 printf %s "checking whether we are cross compiling... " >&6; }
   3833 if test "$cross_compiling" != yes; then
   3834   { { ac_try="$ac_link"
   3835 case "(($ac_try" in
   3836   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3837   *) ac_try_echo=$ac_try;;
   3838 esac
   3839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3840 printf "%s\n" "$ac_try_echo"; } >&5
   3841   (eval "$ac_link") 2>&5
   3842   ac_status=$?
   3843   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3844   test $ac_status = 0; }
   3845   if { ac_try='./conftest$ac_cv_exeext'
   3846   { { case "(($ac_try" in
   3847   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3848   *) ac_try_echo=$ac_try;;
   3849 esac
   3850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3851 printf "%s\n" "$ac_try_echo"; } >&5
   3852   (eval "$ac_try") 2>&5
   3853   ac_status=$?
   3854   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3855   test $ac_status = 0; }; }; then
   3856     cross_compiling=no
   3857   else
   3858     if test "$cross_compiling" = maybe; then
   3859 	cross_compiling=yes
   3860     else
   3861 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3862 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3863 as_fn_error 77 "cannot run C compiled programs.
   3864 If you meant to cross compile, use \`--host'.
   3865 See \`config.log' for more details" "$LINENO" 5; }
   3866     fi
   3867   fi
   3868 fi
   3869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3870 printf "%s\n" "$cross_compiling" >&6; }
   3871 
   3872 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3873 ac_clean_files=$ac_clean_files_save
   3874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3875 printf %s "checking for suffix of object files... " >&6; }
   3876 if test ${ac_cv_objext+y}
   3877 then :
   3878   printf %s "(cached) " >&6
   3879 else $as_nop
   3880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3881 /* end confdefs.h.  */
   3882 
   3883 int
   3884 main (void)
   3885 {
   3886 
   3887   ;
   3888   return 0;
   3889 }
   3890 _ACEOF
   3891 rm -f conftest.o conftest.obj
   3892 if { { ac_try="$ac_compile"
   3893 case "(($ac_try" in
   3894   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3895   *) ac_try_echo=$ac_try;;
   3896 esac
   3897 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3898 printf "%s\n" "$ac_try_echo"; } >&5
   3899   (eval "$ac_compile") 2>&5
   3900   ac_status=$?
   3901   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3902   test $ac_status = 0; }
   3903 then :
   3904   for ac_file in conftest.o conftest.obj conftest.*; do
   3905   test -f "$ac_file" || continue;
   3906   case $ac_file in
   3907     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3908     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3909        break;;
   3910   esac
   3911 done
   3912 else $as_nop
   3913   printf "%s\n" "$as_me: failed program was:" >&5
   3914 sed 's/^/| /' conftest.$ac_ext >&5
   3915 
   3916 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3917 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3918 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3919 See \`config.log' for more details" "$LINENO" 5; }
   3920 fi
   3921 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3922 fi
   3923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3924 printf "%s\n" "$ac_cv_objext" >&6; }
   3925 OBJEXT=$ac_cv_objext
   3926 ac_objext=$OBJEXT
   3927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   3928 printf %s "checking whether the compiler supports GNU C... " >&6; }
   3929 if test ${ac_cv_c_compiler_gnu+y}
   3930 then :
   3931   printf %s "(cached) " >&6
   3932 else $as_nop
   3933   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3934 /* end confdefs.h.  */
   3935 
   3936 int
   3937 main (void)
   3938 {
   3939 #ifndef __GNUC__
   3940        choke me
   3941 #endif
   3942 
   3943   ;
   3944   return 0;
   3945 }
   3946 _ACEOF
   3947 if ac_fn_c_try_compile "$LINENO"
   3948 then :
   3949   ac_compiler_gnu=yes
   3950 else $as_nop
   3951   ac_compiler_gnu=no
   3952 fi
   3953 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3954 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3955 
   3956 fi
   3957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3958 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   3959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3960 
   3961 if test $ac_compiler_gnu = yes; then
   3962   GCC=yes
   3963 else
   3964   GCC=
   3965 fi
   3966 ac_test_CFLAGS=${CFLAGS+y}
   3967 ac_save_CFLAGS=$CFLAGS
   3968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3969 printf %s "checking whether $CC accepts -g... " >&6; }
   3970 if test ${ac_cv_prog_cc_g+y}
   3971 then :
   3972   printf %s "(cached) " >&6
   3973 else $as_nop
   3974   ac_save_c_werror_flag=$ac_c_werror_flag
   3975    ac_c_werror_flag=yes
   3976    ac_cv_prog_cc_g=no
   3977    CFLAGS="-g"
   3978    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3979 /* end confdefs.h.  */
   3980 
   3981 int
   3982 main (void)
   3983 {
   3984 
   3985   ;
   3986   return 0;
   3987 }
   3988 _ACEOF
   3989 if ac_fn_c_try_compile "$LINENO"
   3990 then :
   3991   ac_cv_prog_cc_g=yes
   3992 else $as_nop
   3993   CFLAGS=""
   3994       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3995 /* end confdefs.h.  */
   3996 
   3997 int
   3998 main (void)
   3999 {
   4000 
   4001   ;
   4002   return 0;
   4003 }
   4004 _ACEOF
   4005 if ac_fn_c_try_compile "$LINENO"
   4006 then :
   4007 
   4008 else $as_nop
   4009   ac_c_werror_flag=$ac_save_c_werror_flag
   4010 	 CFLAGS="-g"
   4011 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4012 /* end confdefs.h.  */
   4013 
   4014 int
   4015 main (void)
   4016 {
   4017 
   4018   ;
   4019   return 0;
   4020 }
   4021 _ACEOF
   4022 if ac_fn_c_try_compile "$LINENO"
   4023 then :
   4024   ac_cv_prog_cc_g=yes
   4025 fi
   4026 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4027 fi
   4028 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4029 fi
   4030 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4031    ac_c_werror_flag=$ac_save_c_werror_flag
   4032 fi
   4033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4034 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4035 if test $ac_test_CFLAGS; then
   4036   CFLAGS=$ac_save_CFLAGS
   4037 elif test $ac_cv_prog_cc_g = yes; then
   4038   if test "$GCC" = yes; then
   4039     CFLAGS="-g -O2"
   4040   else
   4041     CFLAGS="-g"
   4042   fi
   4043 else
   4044   if test "$GCC" = yes; then
   4045     CFLAGS="-O2"
   4046   else
   4047     CFLAGS=
   4048   fi
   4049 fi
   4050 ac_prog_cc_stdc=no
   4051 if test x$ac_prog_cc_stdc = xno
   4052 then :
   4053   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4054 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4055 if test ${ac_cv_prog_cc_c11+y}
   4056 then :
   4057   printf %s "(cached) " >&6
   4058 else $as_nop
   4059   ac_cv_prog_cc_c11=no
   4060 ac_save_CC=$CC
   4061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4062 /* end confdefs.h.  */
   4063 $ac_c_conftest_c11_program
   4064 _ACEOF
   4065 for ac_arg in '' -std=gnu11
   4066 do
   4067   CC="$ac_save_CC $ac_arg"
   4068   if ac_fn_c_try_compile "$LINENO"
   4069 then :
   4070   ac_cv_prog_cc_c11=$ac_arg
   4071 fi
   4072 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4073   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4074 done
   4075 rm -f conftest.$ac_ext
   4076 CC=$ac_save_CC
   4077 fi
   4078 
   4079 if test "x$ac_cv_prog_cc_c11" = xno
   4080 then :
   4081   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4082 printf "%s\n" "unsupported" >&6; }
   4083 else $as_nop
   4084   if test "x$ac_cv_prog_cc_c11" = x
   4085 then :
   4086   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4087 printf "%s\n" "none needed" >&6; }
   4088 else $as_nop
   4089   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4090 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4091      CC="$CC $ac_cv_prog_cc_c11"
   4092 fi
   4093   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4094   ac_prog_cc_stdc=c11
   4095 fi
   4096 fi
   4097 if test x$ac_prog_cc_stdc = xno
   4098 then :
   4099   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4100 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4101 if test ${ac_cv_prog_cc_c99+y}
   4102 then :
   4103   printf %s "(cached) " >&6
   4104 else $as_nop
   4105   ac_cv_prog_cc_c99=no
   4106 ac_save_CC=$CC
   4107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4108 /* end confdefs.h.  */
   4109 $ac_c_conftest_c99_program
   4110 _ACEOF
   4111 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4112 do
   4113   CC="$ac_save_CC $ac_arg"
   4114   if ac_fn_c_try_compile "$LINENO"
   4115 then :
   4116   ac_cv_prog_cc_c99=$ac_arg
   4117 fi
   4118 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4119   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4120 done
   4121 rm -f conftest.$ac_ext
   4122 CC=$ac_save_CC
   4123 fi
   4124 
   4125 if test "x$ac_cv_prog_cc_c99" = xno
   4126 then :
   4127   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4128 printf "%s\n" "unsupported" >&6; }
   4129 else $as_nop
   4130   if test "x$ac_cv_prog_cc_c99" = x
   4131 then :
   4132   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4133 printf "%s\n" "none needed" >&6; }
   4134 else $as_nop
   4135   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4136 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4137      CC="$CC $ac_cv_prog_cc_c99"
   4138 fi
   4139   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4140   ac_prog_cc_stdc=c99
   4141 fi
   4142 fi
   4143 if test x$ac_prog_cc_stdc = xno
   4144 then :
   4145   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4146 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4147 if test ${ac_cv_prog_cc_c89+y}
   4148 then :
   4149   printf %s "(cached) " >&6
   4150 else $as_nop
   4151   ac_cv_prog_cc_c89=no
   4152 ac_save_CC=$CC
   4153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4154 /* end confdefs.h.  */
   4155 $ac_c_conftest_c89_program
   4156 _ACEOF
   4157 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4158 do
   4159   CC="$ac_save_CC $ac_arg"
   4160   if ac_fn_c_try_compile "$LINENO"
   4161 then :
   4162   ac_cv_prog_cc_c89=$ac_arg
   4163 fi
   4164 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4165   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4166 done
   4167 rm -f conftest.$ac_ext
   4168 CC=$ac_save_CC
   4169 fi
   4170 
   4171 if test "x$ac_cv_prog_cc_c89" = xno
   4172 then :
   4173   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4174 printf "%s\n" "unsupported" >&6; }
   4175 else $as_nop
   4176   if test "x$ac_cv_prog_cc_c89" = x
   4177 then :
   4178   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4179 printf "%s\n" "none needed" >&6; }
   4180 else $as_nop
   4181   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4182 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4183      CC="$CC $ac_cv_prog_cc_c89"
   4184 fi
   4185   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4186   ac_prog_cc_stdc=c89
   4187 fi
   4188 fi
   4189 
   4190 ac_ext=c
   4191 ac_cpp='$CPP $CPPFLAGS'
   4192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4195 
   4196 
   4197   ac_ext=c
   4198 ac_cpp='$CPP $CPPFLAGS'
   4199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4203 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4204 if test ${am_cv_prog_cc_c_o+y}
   4205 then :
   4206   printf %s "(cached) " >&6
   4207 else $as_nop
   4208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4209 /* end confdefs.h.  */
   4210 
   4211 int
   4212 main (void)
   4213 {
   4214 
   4215   ;
   4216   return 0;
   4217 }
   4218 _ACEOF
   4219   # Make sure it works both with $CC and with simple cc.
   4220   # Following AC_PROG_CC_C_O, we do the test twice because some
   4221   # compilers refuse to overwrite an existing .o file with -o,
   4222   # though they will create one.
   4223   am_cv_prog_cc_c_o=yes
   4224   for am_i in 1 2; do
   4225     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4226    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4227    ac_status=$?
   4228    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4229    (exit $ac_status); } \
   4230          && test -f conftest2.$ac_objext; then
   4231       : OK
   4232     else
   4233       am_cv_prog_cc_c_o=no
   4234       break
   4235     fi
   4236   done
   4237   rm -f core conftest*
   4238   unset am_i
   4239 fi
   4240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4241 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4242 if test "$am_cv_prog_cc_c_o" != yes; then
   4243    # Losing compiler, so override with the script.
   4244    # FIXME: It is wrong to rewrite CC.
   4245    # But if we don't then we get into trouble of one sort or another.
   4246    # A longer-term fix would be to have automake use am__CC in this case,
   4247    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4248    CC="$am_aux_dir/compile $CC"
   4249 fi
   4250 ac_ext=c
   4251 ac_cpp='$CPP $CPPFLAGS'
   4252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4255 
   4256 
   4257 depcc="$CC"   am_compiler_list=
   4258 
   4259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4260 printf %s "checking dependency style of $depcc... " >&6; }
   4261 if test ${am_cv_CC_dependencies_compiler_type+y}
   4262 then :
   4263   printf %s "(cached) " >&6
   4264 else $as_nop
   4265   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4266   # We make a subdir and do the tests there.  Otherwise we can end up
   4267   # making bogus files that we don't know about and never remove.  For
   4268   # instance it was reported that on HP-UX the gcc test will end up
   4269   # making a dummy file named 'D' -- because '-MD' means "put the output
   4270   # in D".
   4271   rm -rf conftest.dir
   4272   mkdir conftest.dir
   4273   # Copy depcomp to subdir because otherwise we won't find it if we're
   4274   # using a relative directory.
   4275   cp "$am_depcomp" conftest.dir
   4276   cd conftest.dir
   4277   # We will build objects and dependencies in a subdirectory because
   4278   # it helps to detect inapplicable dependency modes.  For instance
   4279   # both Tru64's cc and ICC support -MD to output dependencies as a
   4280   # side effect of compilation, but ICC will put the dependencies in
   4281   # the current directory while Tru64 will put them in the object
   4282   # directory.
   4283   mkdir sub
   4284 
   4285   am_cv_CC_dependencies_compiler_type=none
   4286   if test "$am_compiler_list" = ""; then
   4287      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4288   fi
   4289   am__universal=false
   4290   case " $depcc " in #(
   4291      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4292      esac
   4293 
   4294   for depmode in $am_compiler_list; do
   4295     # Setup a source with many dependencies, because some compilers
   4296     # like to wrap large dependency lists on column 80 (with \), and
   4297     # we should not choose a depcomp mode which is confused by this.
   4298     #
   4299     # We need to recreate these files for each test, as the compiler may
   4300     # overwrite some of them when testing with obscure command lines.
   4301     # This happens at least with the AIX C compiler.
   4302     : > sub/conftest.c
   4303     for i in 1 2 3 4 5 6; do
   4304       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4305       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4306       # Solaris 10 /bin/sh.
   4307       echo '/* dummy */' > sub/conftst$i.h
   4308     done
   4309     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4310 
   4311     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4312     # mode.  It turns out that the SunPro C++ compiler does not properly
   4313     # handle '-M -o', and we need to detect this.  Also, some Intel
   4314     # versions had trouble with output in subdirs.
   4315     am__obj=sub/conftest.${OBJEXT-o}
   4316     am__minus_obj="-o $am__obj"
   4317     case $depmode in
   4318     gcc)
   4319       # This depmode causes a compiler race in universal mode.
   4320       test "$am__universal" = false || continue
   4321       ;;
   4322     nosideeffect)
   4323       # After this tag, mechanisms are not by side-effect, so they'll
   4324       # only be used when explicitly requested.
   4325       if test "x$enable_dependency_tracking" = xyes; then
   4326 	continue
   4327       else
   4328 	break
   4329       fi
   4330       ;;
   4331     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4332       # This compiler won't grok '-c -o', but also, the minuso test has
   4333       # not run yet.  These depmodes are late enough in the game, and
   4334       # so weak that their functioning should not be impacted.
   4335       am__obj=conftest.${OBJEXT-o}
   4336       am__minus_obj=
   4337       ;;
   4338     none) break ;;
   4339     esac
   4340     if depmode=$depmode \
   4341        source=sub/conftest.c object=$am__obj \
   4342        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4343        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4344          >/dev/null 2>conftest.err &&
   4345        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4346        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4347        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4348        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4349       # icc doesn't choke on unknown options, it will just issue warnings
   4350       # or remarks (even with -Werror).  So we grep stderr for any message
   4351       # that says an option was ignored or not supported.
   4352       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4353       #   icc: Command line warning: ignoring option '-M'; no argument required
   4354       # The diagnosis changed in icc 8.0:
   4355       #   icc: Command line remark: option '-MP' not supported
   4356       if (grep 'ignoring option' conftest.err ||
   4357           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4358         am_cv_CC_dependencies_compiler_type=$depmode
   4359         break
   4360       fi
   4361     fi
   4362   done
   4363 
   4364   cd ..
   4365   rm -rf conftest.dir
   4366 else
   4367   am_cv_CC_dependencies_compiler_type=none
   4368 fi
   4369 
   4370 fi
   4371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4372 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4373 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4374 
   4375  if
   4376   test "x$enable_dependency_tracking" != xno \
   4377   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4378   am__fastdepCC_TRUE=
   4379   am__fastdepCC_FALSE='#'
   4380 else
   4381   am__fastdepCC_TRUE='#'
   4382   am__fastdepCC_FALSE=
   4383 fi
   4384 
   4385 
   4386 
   4387 
   4388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4389 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4390 if test ${ac_cv_c_undeclared_builtin_options+y}
   4391 then :
   4392   printf %s "(cached) " >&6
   4393 else $as_nop
   4394   ac_save_CFLAGS=$CFLAGS
   4395    ac_cv_c_undeclared_builtin_options='cannot detect'
   4396    for ac_arg in '' -fno-builtin; do
   4397      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4398      # This test program should *not* compile successfully.
   4399      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4400 /* end confdefs.h.  */
   4401 
   4402 int
   4403 main (void)
   4404 {
   4405 (void) strchr;
   4406   ;
   4407   return 0;
   4408 }
   4409 _ACEOF
   4410 if ac_fn_c_try_compile "$LINENO"
   4411 then :
   4412 
   4413 else $as_nop
   4414   # This test program should compile successfully.
   4415         # No library function is consistently available on
   4416         # freestanding implementations, so test against a dummy
   4417         # declaration.  Include always-available headers on the
   4418         # off chance that they somehow elicit warnings.
   4419         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4420 /* end confdefs.h.  */
   4421 #include <float.h>
   4422 #include <limits.h>
   4423 #include <stdarg.h>
   4424 #include <stddef.h>
   4425 extern void ac_decl (int, char *);
   4426 
   4427 int
   4428 main (void)
   4429 {
   4430 (void) ac_decl (0, (char *) 0);
   4431   (void) ac_decl;
   4432 
   4433   ;
   4434   return 0;
   4435 }
   4436 _ACEOF
   4437 if ac_fn_c_try_compile "$LINENO"
   4438 then :
   4439   if test x"$ac_arg" = x
   4440 then :
   4441   ac_cv_c_undeclared_builtin_options='none needed'
   4442 else $as_nop
   4443   ac_cv_c_undeclared_builtin_options=$ac_arg
   4444 fi
   4445           break
   4446 fi
   4447 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4448 fi
   4449 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4450     done
   4451     CFLAGS=$ac_save_CFLAGS
   4452 
   4453 fi
   4454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4455 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4456   case $ac_cv_c_undeclared_builtin_options in #(
   4457   'cannot detect') :
   4458     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4459 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4460 as_fn_error $? "cannot make $CC report undeclared builtins
   4461 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   4462   'none needed') :
   4463     ac_c_undeclared_builtin_options='' ;; #(
   4464   *) :
   4465     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4466 esac
   4467 
   4468 ac_header= ac_cache=
   4469 for ac_item in $ac_header_c_list
   4470 do
   4471   if test $ac_cache; then
   4472     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4473     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4474       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4475     fi
   4476     ac_header= ac_cache=
   4477   elif test $ac_header; then
   4478     ac_cache=$ac_item
   4479   else
   4480     ac_header=$ac_item
   4481   fi
   4482 done
   4483 
   4484 
   4485 
   4486 
   4487 
   4488 
   4489 
   4490 
   4491 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4492 then :
   4493 
   4494 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4495 
   4496 fi
   4497 
   4498 
   4499 
   4500 
   4501 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4502 if test "x$ac_cv_have_decl___clang__" = xyes
   4503 then :
   4504   CLANGCC="yes"
   4505 else $as_nop
   4506   CLANGCC="no"
   4507 fi
   4508 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4509 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4510 then :
   4511   INTELCC="yes"
   4512 else $as_nop
   4513   INTELCC="no"
   4514 fi
   4515 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4516 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4517 then :
   4518   SUNCC="yes"
   4519 else $as_nop
   4520   SUNCC="no"
   4521 fi
   4522 
   4523 
   4524 
   4525 
   4526 
   4527 
   4528 
   4529 
   4530 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4531 	if test -n "$ac_tool_prefix"; then
   4532   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4533 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4535 printf %s "checking for $ac_word... " >&6; }
   4536 if test ${ac_cv_path_PKG_CONFIG+y}
   4537 then :
   4538   printf %s "(cached) " >&6
   4539 else $as_nop
   4540   case $PKG_CONFIG in
   4541   [\\/]* | ?:[\\/]*)
   4542   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4543   ;;
   4544   *)
   4545   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4546 for as_dir in $PATH
   4547 do
   4548   IFS=$as_save_IFS
   4549   case $as_dir in #(((
   4550     '') as_dir=./ ;;
   4551     */) ;;
   4552     *) as_dir=$as_dir/ ;;
   4553   esac
   4554     for ac_exec_ext in '' $ac_executable_extensions; do
   4555   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4556     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4557     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4558     break 2
   4559   fi
   4560 done
   4561   done
   4562 IFS=$as_save_IFS
   4563 
   4564   ;;
   4565 esac
   4566 fi
   4567 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4568 if test -n "$PKG_CONFIG"; then
   4569   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4570 printf "%s\n" "$PKG_CONFIG" >&6; }
   4571 else
   4572   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4573 printf "%s\n" "no" >&6; }
   4574 fi
   4575 
   4576 
   4577 fi
   4578 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4579   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4580   # Extract the first word of "pkg-config", so it can be a program name with args.
   4581 set dummy pkg-config; ac_word=$2
   4582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4583 printf %s "checking for $ac_word... " >&6; }
   4584 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4585 then :
   4586   printf %s "(cached) " >&6
   4587 else $as_nop
   4588   case $ac_pt_PKG_CONFIG in
   4589   [\\/]* | ?:[\\/]*)
   4590   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4591   ;;
   4592   *)
   4593   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4594 for as_dir in $PATH
   4595 do
   4596   IFS=$as_save_IFS
   4597   case $as_dir in #(((
   4598     '') as_dir=./ ;;
   4599     */) ;;
   4600     *) as_dir=$as_dir/ ;;
   4601   esac
   4602     for ac_exec_ext in '' $ac_executable_extensions; do
   4603   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4604     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4605     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4606     break 2
   4607   fi
   4608 done
   4609   done
   4610 IFS=$as_save_IFS
   4611 
   4612   ;;
   4613 esac
   4614 fi
   4615 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4616 if test -n "$ac_pt_PKG_CONFIG"; then
   4617   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4618 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4619 else
   4620   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4621 printf "%s\n" "no" >&6; }
   4622 fi
   4623 
   4624   if test "x$ac_pt_PKG_CONFIG" = x; then
   4625     PKG_CONFIG=""
   4626   else
   4627     case $cross_compiling:$ac_tool_warned in
   4628 yes:)
   4629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4630 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4631 ac_tool_warned=yes ;;
   4632 esac
   4633     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4634   fi
   4635 else
   4636   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4637 fi
   4638 
   4639 fi
   4640 if test -n "$PKG_CONFIG"; then
   4641 	_pkg_min_version=0.9.0
   4642 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4643 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4644 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4645 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4646 printf "%s\n" "yes" >&6; }
   4647 	else
   4648 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4649 printf "%s\n" "no" >&6; }
   4650 		PKG_CONFIG=""
   4651 	fi
   4652 fi
   4653 
   4654 
   4655   # Make sure we can run config.sub.
   4656 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4657   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4658 
   4659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4660 printf %s "checking build system type... " >&6; }
   4661 if test ${ac_cv_build+y}
   4662 then :
   4663   printf %s "(cached) " >&6
   4664 else $as_nop
   4665   ac_build_alias=$build_alias
   4666 test "x$ac_build_alias" = x &&
   4667   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4668 test "x$ac_build_alias" = x &&
   4669   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4670 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4671   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4672 
   4673 fi
   4674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4675 printf "%s\n" "$ac_cv_build" >&6; }
   4676 case $ac_cv_build in
   4677 *-*-*) ;;
   4678 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4679 esac
   4680 build=$ac_cv_build
   4681 ac_save_IFS=$IFS; IFS='-'
   4682 set x $ac_cv_build
   4683 shift
   4684 build_cpu=$1
   4685 build_vendor=$2
   4686 shift; shift
   4687 # Remember, the first character of IFS is used to create $*,
   4688 # except with old shells:
   4689 build_os=$*
   4690 IFS=$ac_save_IFS
   4691 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4692 
   4693 
   4694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4695 printf %s "checking host system type... " >&6; }
   4696 if test ${ac_cv_host+y}
   4697 then :
   4698   printf %s "(cached) " >&6
   4699 else $as_nop
   4700   if test "x$host_alias" = x; then
   4701   ac_cv_host=$ac_cv_build
   4702 else
   4703   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4704     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4705 fi
   4706 
   4707 fi
   4708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4709 printf "%s\n" "$ac_cv_host" >&6; }
   4710 case $ac_cv_host in
   4711 *-*-*) ;;
   4712 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4713 esac
   4714 host=$ac_cv_host
   4715 ac_save_IFS=$IFS; IFS='-'
   4716 set x $ac_cv_host
   4717 shift
   4718 host_cpu=$1
   4719 host_vendor=$2
   4720 shift; shift
   4721 # Remember, the first character of IFS is used to create $*,
   4722 # except with old shells:
   4723 host_os=$*
   4724 IFS=$ac_save_IFS
   4725 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4726 
   4727 
   4728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4729 printf %s "checking for a sed that does not truncate output... " >&6; }
   4730 if test ${ac_cv_path_SED+y}
   4731 then :
   4732   printf %s "(cached) " >&6
   4733 else $as_nop
   4734             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4735      for ac_i in 1 2 3 4 5 6 7; do
   4736        ac_script="$ac_script$as_nl$ac_script"
   4737      done
   4738      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4739      { ac_script=; unset ac_script;}
   4740      if test -z "$SED"; then
   4741   ac_path_SED_found=false
   4742   # Loop through the user's path and test for each of PROGNAME-LIST
   4743   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4744 for as_dir in $PATH
   4745 do
   4746   IFS=$as_save_IFS
   4747   case $as_dir in #(((
   4748     '') as_dir=./ ;;
   4749     */) ;;
   4750     *) as_dir=$as_dir/ ;;
   4751   esac
   4752     for ac_prog in sed gsed
   4753    do
   4754     for ac_exec_ext in '' $ac_executable_extensions; do
   4755       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4756       as_fn_executable_p "$ac_path_SED" || continue
   4757 # Check for GNU ac_path_SED and select it if it is found.
   4758   # Check for GNU $ac_path_SED
   4759 case `"$ac_path_SED" --version 2>&1` in
   4760 *GNU*)
   4761   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4762 *)
   4763   ac_count=0
   4764   printf %s 0123456789 >"conftest.in"
   4765   while :
   4766   do
   4767     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4768     mv "conftest.tmp" "conftest.in"
   4769     cp "conftest.in" "conftest.nl"
   4770     printf "%s\n" '' >> "conftest.nl"
   4771     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4772     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4773     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4774     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4775       # Best one so far, save it but keep looking for a better one
   4776       ac_cv_path_SED="$ac_path_SED"
   4777       ac_path_SED_max=$ac_count
   4778     fi
   4779     # 10*(2^10) chars as input seems more than enough
   4780     test $ac_count -gt 10 && break
   4781   done
   4782   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4783 esac
   4784 
   4785       $ac_path_SED_found && break 3
   4786     done
   4787   done
   4788   done
   4789 IFS=$as_save_IFS
   4790   if test -z "$ac_cv_path_SED"; then
   4791     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4792   fi
   4793 else
   4794   ac_cv_path_SED=$SED
   4795 fi
   4796 
   4797 fi
   4798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4799 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4800  SED="$ac_cv_path_SED"
   4801   rm -f conftest.sed
   4802 
   4803 
   4804 
   4805 
   4806 
   4807 
   4808 # Check whether --enable-selective-werror was given.
   4809 if test ${enable_selective_werror+y}
   4810 then :
   4811   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4812 else $as_nop
   4813   SELECTIVE_WERROR=yes
   4814 fi
   4815 
   4816 
   4817 
   4818 
   4819 
   4820 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4821 if test "x$SUNCC" = "xyes"; then
   4822     BASE_CFLAGS="-v"
   4823 else
   4824     BASE_CFLAGS=""
   4825 fi
   4826 
   4827 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4828 
   4829 
   4830 
   4831 
   4832 
   4833 
   4834 
   4835 
   4836 
   4837 
   4838 
   4839 
   4840 
   4841 xorg_testset_save_CFLAGS="$CFLAGS"
   4842 
   4843 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4844 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4845 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4846 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4847 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   4848 then :
   4849   printf %s "(cached) " >&6
   4850 else $as_nop
   4851   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4852 /* end confdefs.h.  */
   4853 int i;
   4854 _ACEOF
   4855 if ac_fn_c_try_compile "$LINENO"
   4856 then :
   4857   xorg_cv_cc_flag_unknown_warning_option=yes
   4858 else $as_nop
   4859   xorg_cv_cc_flag_unknown_warning_option=no
   4860 fi
   4861 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4862 fi
   4863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4864 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4865 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4866 	CFLAGS="$xorg_testset_save_CFLAGS"
   4867 fi
   4868 
   4869 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4870 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4871 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4872 	fi
   4873 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4874 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4875 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4876 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   4877 then :
   4878   printf %s "(cached) " >&6
   4879 else $as_nop
   4880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4881 /* end confdefs.h.  */
   4882 int i;
   4883 _ACEOF
   4884 if ac_fn_c_try_compile "$LINENO"
   4885 then :
   4886   xorg_cv_cc_flag_unused_command_line_argument=yes
   4887 else $as_nop
   4888   xorg_cv_cc_flag_unused_command_line_argument=no
   4889 fi
   4890 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4891 fi
   4892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4893 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4894 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4895 	CFLAGS="$xorg_testset_save_CFLAGS"
   4896 fi
   4897 
   4898 found="no"
   4899 
   4900 	if test $found = "no" ; then
   4901 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4902 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4903 		fi
   4904 
   4905 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4906 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4907 		fi
   4908 
   4909 		CFLAGS="$CFLAGS -Wall"
   4910 
   4911 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4912 printf %s "checking if $CC supports -Wall... " >&6; }
   4913 		cacheid=xorg_cv_cc_flag__Wall
   4914 		if eval test \${$cacheid+y}
   4915 then :
   4916   printf %s "(cached) " >&6
   4917 else $as_nop
   4918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4919 /* end confdefs.h.  */
   4920 int i;
   4921 int
   4922 main (void)
   4923 {
   4924 
   4925   ;
   4926   return 0;
   4927 }
   4928 _ACEOF
   4929 if ac_fn_c_try_link "$LINENO"
   4930 then :
   4931   eval $cacheid=yes
   4932 else $as_nop
   4933   eval $cacheid=no
   4934 fi
   4935 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   4936     conftest$ac_exeext conftest.$ac_ext
   4937 fi
   4938 
   4939 
   4940 		CFLAGS="$xorg_testset_save_CFLAGS"
   4941 
   4942 		eval supported=\$$cacheid
   4943 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4944 printf "%s\n" "$supported" >&6; }
   4945 		if test "$supported" = "yes" ; then
   4946 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4947 			found="yes"
   4948 		fi
   4949 	fi
   4950 
   4951 
   4952 
   4953 
   4954 
   4955 
   4956 
   4957 
   4958 
   4959 
   4960 
   4961 
   4962 
   4963 
   4964 
   4965 xorg_testset_save_CFLAGS="$CFLAGS"
   4966 
   4967 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4968 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4969 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4970 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4971 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   4972 then :
   4973   printf %s "(cached) " >&6
   4974 else $as_nop
   4975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4976 /* end confdefs.h.  */
   4977 int i;
   4978 _ACEOF
   4979 if ac_fn_c_try_compile "$LINENO"
   4980 then :
   4981   xorg_cv_cc_flag_unknown_warning_option=yes
   4982 else $as_nop
   4983   xorg_cv_cc_flag_unknown_warning_option=no
   4984 fi
   4985 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4986 fi
   4987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4988 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4989 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4990 	CFLAGS="$xorg_testset_save_CFLAGS"
   4991 fi
   4992 
   4993 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4994 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4995 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4996 	fi
   4997 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4998 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4999 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5000 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5001 then :
   5002   printf %s "(cached) " >&6
   5003 else $as_nop
   5004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5005 /* end confdefs.h.  */
   5006 int i;
   5007 _ACEOF
   5008 if ac_fn_c_try_compile "$LINENO"
   5009 then :
   5010   xorg_cv_cc_flag_unused_command_line_argument=yes
   5011 else $as_nop
   5012   xorg_cv_cc_flag_unused_command_line_argument=no
   5013 fi
   5014 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5015 fi
   5016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5017 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5018 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5019 	CFLAGS="$xorg_testset_save_CFLAGS"
   5020 fi
   5021 
   5022 found="no"
   5023 
   5024 	if test $found = "no" ; then
   5025 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5026 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5027 		fi
   5028 
   5029 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5030 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5031 		fi
   5032 
   5033 		CFLAGS="$CFLAGS -Wpointer-arith"
   5034 
   5035 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5036 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5037 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5038 		if eval test \${$cacheid+y}
   5039 then :
   5040   printf %s "(cached) " >&6
   5041 else $as_nop
   5042   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5043 /* end confdefs.h.  */
   5044 int i;
   5045 int
   5046 main (void)
   5047 {
   5048 
   5049   ;
   5050   return 0;
   5051 }
   5052 _ACEOF
   5053 if ac_fn_c_try_link "$LINENO"
   5054 then :
   5055   eval $cacheid=yes
   5056 else $as_nop
   5057   eval $cacheid=no
   5058 fi
   5059 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5060     conftest$ac_exeext conftest.$ac_ext
   5061 fi
   5062 
   5063 
   5064 		CFLAGS="$xorg_testset_save_CFLAGS"
   5065 
   5066 		eval supported=\$$cacheid
   5067 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5068 printf "%s\n" "$supported" >&6; }
   5069 		if test "$supported" = "yes" ; then
   5070 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5071 			found="yes"
   5072 		fi
   5073 	fi
   5074 
   5075 
   5076 
   5077 
   5078 
   5079 
   5080 
   5081 
   5082 
   5083 
   5084 
   5085 
   5086 
   5087 
   5088 
   5089 xorg_testset_save_CFLAGS="$CFLAGS"
   5090 
   5091 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5092 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5093 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5094 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5095 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5096 then :
   5097   printf %s "(cached) " >&6
   5098 else $as_nop
   5099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5100 /* end confdefs.h.  */
   5101 int i;
   5102 _ACEOF
   5103 if ac_fn_c_try_compile "$LINENO"
   5104 then :
   5105   xorg_cv_cc_flag_unknown_warning_option=yes
   5106 else $as_nop
   5107   xorg_cv_cc_flag_unknown_warning_option=no
   5108 fi
   5109 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5110 fi
   5111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5112 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5113 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5114 	CFLAGS="$xorg_testset_save_CFLAGS"
   5115 fi
   5116 
   5117 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5118 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5119 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5120 	fi
   5121 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5122 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5123 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5124 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5125 then :
   5126   printf %s "(cached) " >&6
   5127 else $as_nop
   5128   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5129 /* end confdefs.h.  */
   5130 int i;
   5131 _ACEOF
   5132 if ac_fn_c_try_compile "$LINENO"
   5133 then :
   5134   xorg_cv_cc_flag_unused_command_line_argument=yes
   5135 else $as_nop
   5136   xorg_cv_cc_flag_unused_command_line_argument=no
   5137 fi
   5138 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5139 fi
   5140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5141 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5142 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5143 	CFLAGS="$xorg_testset_save_CFLAGS"
   5144 fi
   5145 
   5146 found="no"
   5147 
   5148 	if test $found = "no" ; then
   5149 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5150 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5151 		fi
   5152 
   5153 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5154 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5155 		fi
   5156 
   5157 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5158 
   5159 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5160 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5161 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5162 		if eval test \${$cacheid+y}
   5163 then :
   5164   printf %s "(cached) " >&6
   5165 else $as_nop
   5166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5167 /* end confdefs.h.  */
   5168 int i;
   5169 int
   5170 main (void)
   5171 {
   5172 
   5173   ;
   5174   return 0;
   5175 }
   5176 _ACEOF
   5177 if ac_fn_c_try_link "$LINENO"
   5178 then :
   5179   eval $cacheid=yes
   5180 else $as_nop
   5181   eval $cacheid=no
   5182 fi
   5183 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5184     conftest$ac_exeext conftest.$ac_ext
   5185 fi
   5186 
   5187 
   5188 		CFLAGS="$xorg_testset_save_CFLAGS"
   5189 
   5190 		eval supported=\$$cacheid
   5191 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5192 printf "%s\n" "$supported" >&6; }
   5193 		if test "$supported" = "yes" ; then
   5194 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5195 			found="yes"
   5196 		fi
   5197 	fi
   5198 
   5199 
   5200 
   5201 
   5202 
   5203 
   5204 
   5205 
   5206 
   5207 
   5208 
   5209 
   5210 
   5211 
   5212 
   5213 xorg_testset_save_CFLAGS="$CFLAGS"
   5214 
   5215 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5216 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5217 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5218 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5219 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5220 then :
   5221   printf %s "(cached) " >&6
   5222 else $as_nop
   5223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5224 /* end confdefs.h.  */
   5225 int i;
   5226 _ACEOF
   5227 if ac_fn_c_try_compile "$LINENO"
   5228 then :
   5229   xorg_cv_cc_flag_unknown_warning_option=yes
   5230 else $as_nop
   5231   xorg_cv_cc_flag_unknown_warning_option=no
   5232 fi
   5233 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5234 fi
   5235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5236 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5237 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5238 	CFLAGS="$xorg_testset_save_CFLAGS"
   5239 fi
   5240 
   5241 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5242 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5243 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5244 	fi
   5245 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5246 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5247 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5248 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5249 then :
   5250   printf %s "(cached) " >&6
   5251 else $as_nop
   5252   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5253 /* end confdefs.h.  */
   5254 int i;
   5255 _ACEOF
   5256 if ac_fn_c_try_compile "$LINENO"
   5257 then :
   5258   xorg_cv_cc_flag_unused_command_line_argument=yes
   5259 else $as_nop
   5260   xorg_cv_cc_flag_unused_command_line_argument=no
   5261 fi
   5262 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5263 fi
   5264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5265 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5266 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5267 	CFLAGS="$xorg_testset_save_CFLAGS"
   5268 fi
   5269 
   5270 found="no"
   5271 
   5272 	if test $found = "no" ; then
   5273 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5274 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5275 		fi
   5276 
   5277 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5278 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5279 		fi
   5280 
   5281 		CFLAGS="$CFLAGS -Wformat=2"
   5282 
   5283 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5284 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5285 		cacheid=xorg_cv_cc_flag__Wformat_2
   5286 		if eval test \${$cacheid+y}
   5287 then :
   5288   printf %s "(cached) " >&6
   5289 else $as_nop
   5290   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5291 /* end confdefs.h.  */
   5292 int i;
   5293 int
   5294 main (void)
   5295 {
   5296 
   5297   ;
   5298   return 0;
   5299 }
   5300 _ACEOF
   5301 if ac_fn_c_try_link "$LINENO"
   5302 then :
   5303   eval $cacheid=yes
   5304 else $as_nop
   5305   eval $cacheid=no
   5306 fi
   5307 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5308     conftest$ac_exeext conftest.$ac_ext
   5309 fi
   5310 
   5311 
   5312 		CFLAGS="$xorg_testset_save_CFLAGS"
   5313 
   5314 		eval supported=\$$cacheid
   5315 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5316 printf "%s\n" "$supported" >&6; }
   5317 		if test "$supported" = "yes" ; then
   5318 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5319 			found="yes"
   5320 		fi
   5321 	fi
   5322 
   5323 	if test $found = "no" ; then
   5324 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5325 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5326 		fi
   5327 
   5328 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5329 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5330 		fi
   5331 
   5332 		CFLAGS="$CFLAGS -Wformat"
   5333 
   5334 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5335 printf %s "checking if $CC supports -Wformat... " >&6; }
   5336 		cacheid=xorg_cv_cc_flag__Wformat
   5337 		if eval test \${$cacheid+y}
   5338 then :
   5339   printf %s "(cached) " >&6
   5340 else $as_nop
   5341   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5342 /* end confdefs.h.  */
   5343 int i;
   5344 int
   5345 main (void)
   5346 {
   5347 
   5348   ;
   5349   return 0;
   5350 }
   5351 _ACEOF
   5352 if ac_fn_c_try_link "$LINENO"
   5353 then :
   5354   eval $cacheid=yes
   5355 else $as_nop
   5356   eval $cacheid=no
   5357 fi
   5358 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5359     conftest$ac_exeext conftest.$ac_ext
   5360 fi
   5361 
   5362 
   5363 		CFLAGS="$xorg_testset_save_CFLAGS"
   5364 
   5365 		eval supported=\$$cacheid
   5366 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5367 printf "%s\n" "$supported" >&6; }
   5368 		if test "$supported" = "yes" ; then
   5369 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5370 			found="yes"
   5371 		fi
   5372 	fi
   5373 
   5374 
   5375 
   5376 
   5377 
   5378 
   5379 
   5380 
   5381 
   5382 
   5383 
   5384 
   5385 
   5386 
   5387 
   5388 
   5389 
   5390 xorg_testset_save_CFLAGS="$CFLAGS"
   5391 
   5392 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5393 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5394 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5395 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5396 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5397 then :
   5398   printf %s "(cached) " >&6
   5399 else $as_nop
   5400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5401 /* end confdefs.h.  */
   5402 int i;
   5403 _ACEOF
   5404 if ac_fn_c_try_compile "$LINENO"
   5405 then :
   5406   xorg_cv_cc_flag_unknown_warning_option=yes
   5407 else $as_nop
   5408   xorg_cv_cc_flag_unknown_warning_option=no
   5409 fi
   5410 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5411 fi
   5412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5413 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5414 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5415 	CFLAGS="$xorg_testset_save_CFLAGS"
   5416 fi
   5417 
   5418 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5419 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5420 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5421 	fi
   5422 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5423 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5424 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5425 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5426 then :
   5427   printf %s "(cached) " >&6
   5428 else $as_nop
   5429   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5430 /* end confdefs.h.  */
   5431 int i;
   5432 _ACEOF
   5433 if ac_fn_c_try_compile "$LINENO"
   5434 then :
   5435   xorg_cv_cc_flag_unused_command_line_argument=yes
   5436 else $as_nop
   5437   xorg_cv_cc_flag_unused_command_line_argument=no
   5438 fi
   5439 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5440 fi
   5441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5442 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5443 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5444 	CFLAGS="$xorg_testset_save_CFLAGS"
   5445 fi
   5446 
   5447 found="no"
   5448 
   5449 	if test $found = "no" ; then
   5450 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5451 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5452 		fi
   5453 
   5454 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5455 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5456 		fi
   5457 
   5458 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5459 
   5460 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5461 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5462 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5463 		if eval test \${$cacheid+y}
   5464 then :
   5465   printf %s "(cached) " >&6
   5466 else $as_nop
   5467   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5468 /* end confdefs.h.  */
   5469 int i;
   5470 int
   5471 main (void)
   5472 {
   5473 
   5474   ;
   5475   return 0;
   5476 }
   5477 _ACEOF
   5478 if ac_fn_c_try_link "$LINENO"
   5479 then :
   5480   eval $cacheid=yes
   5481 else $as_nop
   5482   eval $cacheid=no
   5483 fi
   5484 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5485     conftest$ac_exeext conftest.$ac_ext
   5486 fi
   5487 
   5488 
   5489 		CFLAGS="$xorg_testset_save_CFLAGS"
   5490 
   5491 		eval supported=\$$cacheid
   5492 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5493 printf "%s\n" "$supported" >&6; }
   5494 		if test "$supported" = "yes" ; then
   5495 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5496 			found="yes"
   5497 		fi
   5498 	fi
   5499 
   5500 
   5501 
   5502 
   5503 
   5504 
   5505 
   5506 
   5507 
   5508 
   5509 
   5510 
   5511 
   5512 
   5513 
   5514 xorg_testset_save_CFLAGS="$CFLAGS"
   5515 
   5516 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5517 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5518 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5519 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5520 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5521 then :
   5522   printf %s "(cached) " >&6
   5523 else $as_nop
   5524   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5525 /* end confdefs.h.  */
   5526 int i;
   5527 _ACEOF
   5528 if ac_fn_c_try_compile "$LINENO"
   5529 then :
   5530   xorg_cv_cc_flag_unknown_warning_option=yes
   5531 else $as_nop
   5532   xorg_cv_cc_flag_unknown_warning_option=no
   5533 fi
   5534 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5535 fi
   5536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5537 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5538 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5539 	CFLAGS="$xorg_testset_save_CFLAGS"
   5540 fi
   5541 
   5542 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5543 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5544 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5545 	fi
   5546 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5547 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5548 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5549 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5550 then :
   5551   printf %s "(cached) " >&6
   5552 else $as_nop
   5553   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5554 /* end confdefs.h.  */
   5555 int i;
   5556 _ACEOF
   5557 if ac_fn_c_try_compile "$LINENO"
   5558 then :
   5559   xorg_cv_cc_flag_unused_command_line_argument=yes
   5560 else $as_nop
   5561   xorg_cv_cc_flag_unused_command_line_argument=no
   5562 fi
   5563 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5564 fi
   5565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5566 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5567 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5568 	CFLAGS="$xorg_testset_save_CFLAGS"
   5569 fi
   5570 
   5571 found="no"
   5572 
   5573 	if test $found = "no" ; then
   5574 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5575 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5576 		fi
   5577 
   5578 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5579 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5580 		fi
   5581 
   5582 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5583 
   5584 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5585 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5586 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5587 		if eval test \${$cacheid+y}
   5588 then :
   5589   printf %s "(cached) " >&6
   5590 else $as_nop
   5591   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5592 /* end confdefs.h.  */
   5593 int i;
   5594 int
   5595 main (void)
   5596 {
   5597 
   5598   ;
   5599   return 0;
   5600 }
   5601 _ACEOF
   5602 if ac_fn_c_try_link "$LINENO"
   5603 then :
   5604   eval $cacheid=yes
   5605 else $as_nop
   5606   eval $cacheid=no
   5607 fi
   5608 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5609     conftest$ac_exeext conftest.$ac_ext
   5610 fi
   5611 
   5612 
   5613 		CFLAGS="$xorg_testset_save_CFLAGS"
   5614 
   5615 		eval supported=\$$cacheid
   5616 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5617 printf "%s\n" "$supported" >&6; }
   5618 		if test "$supported" = "yes" ; then
   5619 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5620 			found="yes"
   5621 		fi
   5622 	fi
   5623 
   5624 
   5625 
   5626 
   5627 
   5628 
   5629 
   5630 
   5631 
   5632 
   5633 
   5634 
   5635 
   5636 
   5637 
   5638 xorg_testset_save_CFLAGS="$CFLAGS"
   5639 
   5640 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5641 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5642 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5643 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5644 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5645 then :
   5646   printf %s "(cached) " >&6
   5647 else $as_nop
   5648   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5649 /* end confdefs.h.  */
   5650 int i;
   5651 _ACEOF
   5652 if ac_fn_c_try_compile "$LINENO"
   5653 then :
   5654   xorg_cv_cc_flag_unknown_warning_option=yes
   5655 else $as_nop
   5656   xorg_cv_cc_flag_unknown_warning_option=no
   5657 fi
   5658 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5659 fi
   5660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5661 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5662 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5663 	CFLAGS="$xorg_testset_save_CFLAGS"
   5664 fi
   5665 
   5666 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5667 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5668 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5669 	fi
   5670 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5671 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5672 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5673 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5674 then :
   5675   printf %s "(cached) " >&6
   5676 else $as_nop
   5677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5678 /* end confdefs.h.  */
   5679 int i;
   5680 _ACEOF
   5681 if ac_fn_c_try_compile "$LINENO"
   5682 then :
   5683   xorg_cv_cc_flag_unused_command_line_argument=yes
   5684 else $as_nop
   5685   xorg_cv_cc_flag_unused_command_line_argument=no
   5686 fi
   5687 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5688 fi
   5689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5690 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5691 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5692 	CFLAGS="$xorg_testset_save_CFLAGS"
   5693 fi
   5694 
   5695 found="no"
   5696 
   5697 	if test $found = "no" ; then
   5698 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5699 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5700 		fi
   5701 
   5702 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5703 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5704 		fi
   5705 
   5706 		CFLAGS="$CFLAGS -Wnested-externs"
   5707 
   5708 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5709 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   5710 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5711 		if eval test \${$cacheid+y}
   5712 then :
   5713   printf %s "(cached) " >&6
   5714 else $as_nop
   5715   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5716 /* end confdefs.h.  */
   5717 int i;
   5718 int
   5719 main (void)
   5720 {
   5721 
   5722   ;
   5723   return 0;
   5724 }
   5725 _ACEOF
   5726 if ac_fn_c_try_link "$LINENO"
   5727 then :
   5728   eval $cacheid=yes
   5729 else $as_nop
   5730   eval $cacheid=no
   5731 fi
   5732 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5733     conftest$ac_exeext conftest.$ac_ext
   5734 fi
   5735 
   5736 
   5737 		CFLAGS="$xorg_testset_save_CFLAGS"
   5738 
   5739 		eval supported=\$$cacheid
   5740 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5741 printf "%s\n" "$supported" >&6; }
   5742 		if test "$supported" = "yes" ; then
   5743 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5744 			found="yes"
   5745 		fi
   5746 	fi
   5747 
   5748 
   5749 
   5750 
   5751 
   5752 
   5753 
   5754 
   5755 
   5756 
   5757 
   5758 
   5759 
   5760 
   5761 
   5762 xorg_testset_save_CFLAGS="$CFLAGS"
   5763 
   5764 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5765 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5766 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5767 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5768 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5769 then :
   5770   printf %s "(cached) " >&6
   5771 else $as_nop
   5772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5773 /* end confdefs.h.  */
   5774 int i;
   5775 _ACEOF
   5776 if ac_fn_c_try_compile "$LINENO"
   5777 then :
   5778   xorg_cv_cc_flag_unknown_warning_option=yes
   5779 else $as_nop
   5780   xorg_cv_cc_flag_unknown_warning_option=no
   5781 fi
   5782 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5783 fi
   5784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5785 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5786 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5787 	CFLAGS="$xorg_testset_save_CFLAGS"
   5788 fi
   5789 
   5790 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5791 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5792 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5793 	fi
   5794 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5795 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5796 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5797 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5798 then :
   5799   printf %s "(cached) " >&6
   5800 else $as_nop
   5801   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5802 /* end confdefs.h.  */
   5803 int i;
   5804 _ACEOF
   5805 if ac_fn_c_try_compile "$LINENO"
   5806 then :
   5807   xorg_cv_cc_flag_unused_command_line_argument=yes
   5808 else $as_nop
   5809   xorg_cv_cc_flag_unused_command_line_argument=no
   5810 fi
   5811 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5812 fi
   5813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5814 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5815 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5816 	CFLAGS="$xorg_testset_save_CFLAGS"
   5817 fi
   5818 
   5819 found="no"
   5820 
   5821 	if test $found = "no" ; then
   5822 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5823 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5824 		fi
   5825 
   5826 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5827 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5828 		fi
   5829 
   5830 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5831 
   5832 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5833 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   5834 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5835 		if eval test \${$cacheid+y}
   5836 then :
   5837   printf %s "(cached) " >&6
   5838 else $as_nop
   5839   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5840 /* end confdefs.h.  */
   5841 int i;
   5842 int
   5843 main (void)
   5844 {
   5845 
   5846   ;
   5847   return 0;
   5848 }
   5849 _ACEOF
   5850 if ac_fn_c_try_link "$LINENO"
   5851 then :
   5852   eval $cacheid=yes
   5853 else $as_nop
   5854   eval $cacheid=no
   5855 fi
   5856 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5857     conftest$ac_exeext conftest.$ac_ext
   5858 fi
   5859 
   5860 
   5861 		CFLAGS="$xorg_testset_save_CFLAGS"
   5862 
   5863 		eval supported=\$$cacheid
   5864 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5865 printf "%s\n" "$supported" >&6; }
   5866 		if test "$supported" = "yes" ; then
   5867 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5868 			found="yes"
   5869 		fi
   5870 	fi
   5871 
   5872 
   5873 
   5874 
   5875 
   5876 
   5877 
   5878 
   5879 
   5880 
   5881 
   5882 
   5883 
   5884 
   5885 
   5886 xorg_testset_save_CFLAGS="$CFLAGS"
   5887 
   5888 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5889 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5890 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5891 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5892 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5893 then :
   5894   printf %s "(cached) " >&6
   5895 else $as_nop
   5896   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5897 /* end confdefs.h.  */
   5898 int i;
   5899 _ACEOF
   5900 if ac_fn_c_try_compile "$LINENO"
   5901 then :
   5902   xorg_cv_cc_flag_unknown_warning_option=yes
   5903 else $as_nop
   5904   xorg_cv_cc_flag_unknown_warning_option=no
   5905 fi
   5906 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5907 fi
   5908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5909 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5910 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5911 	CFLAGS="$xorg_testset_save_CFLAGS"
   5912 fi
   5913 
   5914 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5915 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5916 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5917 	fi
   5918 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5919 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5920 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5921 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5922 then :
   5923   printf %s "(cached) " >&6
   5924 else $as_nop
   5925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5926 /* end confdefs.h.  */
   5927 int i;
   5928 _ACEOF
   5929 if ac_fn_c_try_compile "$LINENO"
   5930 then :
   5931   xorg_cv_cc_flag_unused_command_line_argument=yes
   5932 else $as_nop
   5933   xorg_cv_cc_flag_unused_command_line_argument=no
   5934 fi
   5935 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5936 fi
   5937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5938 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5939 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5940 	CFLAGS="$xorg_testset_save_CFLAGS"
   5941 fi
   5942 
   5943 found="no"
   5944 
   5945 	if test $found = "no" ; then
   5946 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5947 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5948 		fi
   5949 
   5950 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5951 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5952 		fi
   5953 
   5954 		CFLAGS="$CFLAGS -Wold-style-definition"
   5955 
   5956 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5957 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   5958 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5959 		if eval test \${$cacheid+y}
   5960 then :
   5961   printf %s "(cached) " >&6
   5962 else $as_nop
   5963   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5964 /* end confdefs.h.  */
   5965 int i;
   5966 int
   5967 main (void)
   5968 {
   5969 
   5970   ;
   5971   return 0;
   5972 }
   5973 _ACEOF
   5974 if ac_fn_c_try_link "$LINENO"
   5975 then :
   5976   eval $cacheid=yes
   5977 else $as_nop
   5978   eval $cacheid=no
   5979 fi
   5980 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5981     conftest$ac_exeext conftest.$ac_ext
   5982 fi
   5983 
   5984 
   5985 		CFLAGS="$xorg_testset_save_CFLAGS"
   5986 
   5987 		eval supported=\$$cacheid
   5988 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5989 printf "%s\n" "$supported" >&6; }
   5990 		if test "$supported" = "yes" ; then
   5991 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5992 			found="yes"
   5993 		fi
   5994 	fi
   5995 
   5996 	if test $found = "no" ; then
   5997 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5998 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5999 		fi
   6000 
   6001 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6002 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6003 		fi
   6004 
   6005 		CFLAGS="$CFLAGS -fd"
   6006 
   6007 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6008 printf %s "checking if $CC supports -fd... " >&6; }
   6009 		cacheid=xorg_cv_cc_flag__fd
   6010 		if eval test \${$cacheid+y}
   6011 then :
   6012   printf %s "(cached) " >&6
   6013 else $as_nop
   6014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6015 /* end confdefs.h.  */
   6016 int i;
   6017 int
   6018 main (void)
   6019 {
   6020 
   6021   ;
   6022   return 0;
   6023 }
   6024 _ACEOF
   6025 if ac_fn_c_try_link "$LINENO"
   6026 then :
   6027   eval $cacheid=yes
   6028 else $as_nop
   6029   eval $cacheid=no
   6030 fi
   6031 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6032     conftest$ac_exeext conftest.$ac_ext
   6033 fi
   6034 
   6035 
   6036 		CFLAGS="$xorg_testset_save_CFLAGS"
   6037 
   6038 		eval supported=\$$cacheid
   6039 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6040 printf "%s\n" "$supported" >&6; }
   6041 		if test "$supported" = "yes" ; then
   6042 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6043 			found="yes"
   6044 		fi
   6045 	fi
   6046 
   6047 
   6048 
   6049 
   6050 
   6051 
   6052 
   6053 
   6054 
   6055 
   6056 
   6057 
   6058 
   6059 
   6060 
   6061 xorg_testset_save_CFLAGS="$CFLAGS"
   6062 
   6063 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6064 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6065 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6066 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6067 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6068 then :
   6069   printf %s "(cached) " >&6
   6070 else $as_nop
   6071   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6072 /* end confdefs.h.  */
   6073 int i;
   6074 _ACEOF
   6075 if ac_fn_c_try_compile "$LINENO"
   6076 then :
   6077   xorg_cv_cc_flag_unknown_warning_option=yes
   6078 else $as_nop
   6079   xorg_cv_cc_flag_unknown_warning_option=no
   6080 fi
   6081 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6082 fi
   6083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6084 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6085 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6086 	CFLAGS="$xorg_testset_save_CFLAGS"
   6087 fi
   6088 
   6089 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6090 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6091 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6092 	fi
   6093 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6094 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6095 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6096 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6097 then :
   6098   printf %s "(cached) " >&6
   6099 else $as_nop
   6100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6101 /* end confdefs.h.  */
   6102 int i;
   6103 _ACEOF
   6104 if ac_fn_c_try_compile "$LINENO"
   6105 then :
   6106   xorg_cv_cc_flag_unused_command_line_argument=yes
   6107 else $as_nop
   6108   xorg_cv_cc_flag_unused_command_line_argument=no
   6109 fi
   6110 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6111 fi
   6112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6113 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6114 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6115 	CFLAGS="$xorg_testset_save_CFLAGS"
   6116 fi
   6117 
   6118 found="no"
   6119 
   6120 	if test $found = "no" ; then
   6121 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6122 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6123 		fi
   6124 
   6125 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6126 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6127 		fi
   6128 
   6129 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6130 
   6131 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6132 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6133 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6134 		if eval test \${$cacheid+y}
   6135 then :
   6136   printf %s "(cached) " >&6
   6137 else $as_nop
   6138   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6139 /* end confdefs.h.  */
   6140 int i;
   6141 int
   6142 main (void)
   6143 {
   6144 
   6145   ;
   6146   return 0;
   6147 }
   6148 _ACEOF
   6149 if ac_fn_c_try_link "$LINENO"
   6150 then :
   6151   eval $cacheid=yes
   6152 else $as_nop
   6153   eval $cacheid=no
   6154 fi
   6155 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6156     conftest$ac_exeext conftest.$ac_ext
   6157 fi
   6158 
   6159 
   6160 		CFLAGS="$xorg_testset_save_CFLAGS"
   6161 
   6162 		eval supported=\$$cacheid
   6163 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6164 printf "%s\n" "$supported" >&6; }
   6165 		if test "$supported" = "yes" ; then
   6166 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6167 			found="yes"
   6168 		fi
   6169 	fi
   6170 
   6171 
   6172 
   6173 
   6174 
   6175 # This chunk adds additional warnings that could catch undesired effects.
   6176 
   6177 
   6178 
   6179 
   6180 
   6181 
   6182 
   6183 
   6184 
   6185 
   6186 
   6187 
   6188 
   6189 xorg_testset_save_CFLAGS="$CFLAGS"
   6190 
   6191 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6192 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6193 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6194 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6195 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6196 then :
   6197   printf %s "(cached) " >&6
   6198 else $as_nop
   6199   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6200 /* end confdefs.h.  */
   6201 int i;
   6202 _ACEOF
   6203 if ac_fn_c_try_compile "$LINENO"
   6204 then :
   6205   xorg_cv_cc_flag_unknown_warning_option=yes
   6206 else $as_nop
   6207   xorg_cv_cc_flag_unknown_warning_option=no
   6208 fi
   6209 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6210 fi
   6211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6212 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6213 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6214 	CFLAGS="$xorg_testset_save_CFLAGS"
   6215 fi
   6216 
   6217 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6218 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6219 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6220 	fi
   6221 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6222 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6223 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6224 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6225 then :
   6226   printf %s "(cached) " >&6
   6227 else $as_nop
   6228   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6229 /* end confdefs.h.  */
   6230 int i;
   6231 _ACEOF
   6232 if ac_fn_c_try_compile "$LINENO"
   6233 then :
   6234   xorg_cv_cc_flag_unused_command_line_argument=yes
   6235 else $as_nop
   6236   xorg_cv_cc_flag_unused_command_line_argument=no
   6237 fi
   6238 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6239 fi
   6240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6241 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6242 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6243 	CFLAGS="$xorg_testset_save_CFLAGS"
   6244 fi
   6245 
   6246 found="no"
   6247 
   6248 	if test $found = "no" ; then
   6249 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6250 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6251 		fi
   6252 
   6253 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6254 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6255 		fi
   6256 
   6257 		CFLAGS="$CFLAGS -Wunused"
   6258 
   6259 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6260 printf %s "checking if $CC supports -Wunused... " >&6; }
   6261 		cacheid=xorg_cv_cc_flag__Wunused
   6262 		if eval test \${$cacheid+y}
   6263 then :
   6264   printf %s "(cached) " >&6
   6265 else $as_nop
   6266   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6267 /* end confdefs.h.  */
   6268 int i;
   6269 int
   6270 main (void)
   6271 {
   6272 
   6273   ;
   6274   return 0;
   6275 }
   6276 _ACEOF
   6277 if ac_fn_c_try_link "$LINENO"
   6278 then :
   6279   eval $cacheid=yes
   6280 else $as_nop
   6281   eval $cacheid=no
   6282 fi
   6283 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6284     conftest$ac_exeext conftest.$ac_ext
   6285 fi
   6286 
   6287 
   6288 		CFLAGS="$xorg_testset_save_CFLAGS"
   6289 
   6290 		eval supported=\$$cacheid
   6291 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6292 printf "%s\n" "$supported" >&6; }
   6293 		if test "$supported" = "yes" ; then
   6294 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6295 			found="yes"
   6296 		fi
   6297 	fi
   6298 
   6299 
   6300 
   6301 
   6302 
   6303 
   6304 
   6305 
   6306 
   6307 
   6308 
   6309 
   6310 
   6311 
   6312 
   6313 xorg_testset_save_CFLAGS="$CFLAGS"
   6314 
   6315 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6316 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6317 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6318 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6319 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6320 then :
   6321   printf %s "(cached) " >&6
   6322 else $as_nop
   6323   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6324 /* end confdefs.h.  */
   6325 int i;
   6326 _ACEOF
   6327 if ac_fn_c_try_compile "$LINENO"
   6328 then :
   6329   xorg_cv_cc_flag_unknown_warning_option=yes
   6330 else $as_nop
   6331   xorg_cv_cc_flag_unknown_warning_option=no
   6332 fi
   6333 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6334 fi
   6335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6336 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6337 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6338 	CFLAGS="$xorg_testset_save_CFLAGS"
   6339 fi
   6340 
   6341 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6342 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6343 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6344 	fi
   6345 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6346 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6347 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6348 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6349 then :
   6350   printf %s "(cached) " >&6
   6351 else $as_nop
   6352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6353 /* end confdefs.h.  */
   6354 int i;
   6355 _ACEOF
   6356 if ac_fn_c_try_compile "$LINENO"
   6357 then :
   6358   xorg_cv_cc_flag_unused_command_line_argument=yes
   6359 else $as_nop
   6360   xorg_cv_cc_flag_unused_command_line_argument=no
   6361 fi
   6362 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6363 fi
   6364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6365 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6366 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6367 	CFLAGS="$xorg_testset_save_CFLAGS"
   6368 fi
   6369 
   6370 found="no"
   6371 
   6372 	if test $found = "no" ; then
   6373 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6374 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6375 		fi
   6376 
   6377 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6378 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6379 		fi
   6380 
   6381 		CFLAGS="$CFLAGS -Wuninitialized"
   6382 
   6383 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6384 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6385 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6386 		if eval test \${$cacheid+y}
   6387 then :
   6388   printf %s "(cached) " >&6
   6389 else $as_nop
   6390   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6391 /* end confdefs.h.  */
   6392 int i;
   6393 int
   6394 main (void)
   6395 {
   6396 
   6397   ;
   6398   return 0;
   6399 }
   6400 _ACEOF
   6401 if ac_fn_c_try_link "$LINENO"
   6402 then :
   6403   eval $cacheid=yes
   6404 else $as_nop
   6405   eval $cacheid=no
   6406 fi
   6407 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6408     conftest$ac_exeext conftest.$ac_ext
   6409 fi
   6410 
   6411 
   6412 		CFLAGS="$xorg_testset_save_CFLAGS"
   6413 
   6414 		eval supported=\$$cacheid
   6415 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6416 printf "%s\n" "$supported" >&6; }
   6417 		if test "$supported" = "yes" ; then
   6418 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6419 			found="yes"
   6420 		fi
   6421 	fi
   6422 
   6423 
   6424 
   6425 
   6426 
   6427 
   6428 
   6429 
   6430 
   6431 
   6432 
   6433 
   6434 
   6435 
   6436 
   6437 xorg_testset_save_CFLAGS="$CFLAGS"
   6438 
   6439 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6440 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6441 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6442 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6443 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6444 then :
   6445   printf %s "(cached) " >&6
   6446 else $as_nop
   6447   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6448 /* end confdefs.h.  */
   6449 int i;
   6450 _ACEOF
   6451 if ac_fn_c_try_compile "$LINENO"
   6452 then :
   6453   xorg_cv_cc_flag_unknown_warning_option=yes
   6454 else $as_nop
   6455   xorg_cv_cc_flag_unknown_warning_option=no
   6456 fi
   6457 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6458 fi
   6459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6460 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6461 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6462 	CFLAGS="$xorg_testset_save_CFLAGS"
   6463 fi
   6464 
   6465 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6466 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6467 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6468 	fi
   6469 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6470 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6471 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6472 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6473 then :
   6474   printf %s "(cached) " >&6
   6475 else $as_nop
   6476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6477 /* end confdefs.h.  */
   6478 int i;
   6479 _ACEOF
   6480 if ac_fn_c_try_compile "$LINENO"
   6481 then :
   6482   xorg_cv_cc_flag_unused_command_line_argument=yes
   6483 else $as_nop
   6484   xorg_cv_cc_flag_unused_command_line_argument=no
   6485 fi
   6486 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6487 fi
   6488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6489 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6490 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6491 	CFLAGS="$xorg_testset_save_CFLAGS"
   6492 fi
   6493 
   6494 found="no"
   6495 
   6496 	if test $found = "no" ; then
   6497 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6498 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6499 		fi
   6500 
   6501 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6502 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6503 		fi
   6504 
   6505 		CFLAGS="$CFLAGS -Wshadow"
   6506 
   6507 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6508 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6509 		cacheid=xorg_cv_cc_flag__Wshadow
   6510 		if eval test \${$cacheid+y}
   6511 then :
   6512   printf %s "(cached) " >&6
   6513 else $as_nop
   6514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6515 /* end confdefs.h.  */
   6516 int i;
   6517 int
   6518 main (void)
   6519 {
   6520 
   6521   ;
   6522   return 0;
   6523 }
   6524 _ACEOF
   6525 if ac_fn_c_try_link "$LINENO"
   6526 then :
   6527   eval $cacheid=yes
   6528 else $as_nop
   6529   eval $cacheid=no
   6530 fi
   6531 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6532     conftest$ac_exeext conftest.$ac_ext
   6533 fi
   6534 
   6535 
   6536 		CFLAGS="$xorg_testset_save_CFLAGS"
   6537 
   6538 		eval supported=\$$cacheid
   6539 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6540 printf "%s\n" "$supported" >&6; }
   6541 		if test "$supported" = "yes" ; then
   6542 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6543 			found="yes"
   6544 		fi
   6545 	fi
   6546 
   6547 
   6548 
   6549 
   6550 
   6551 
   6552 
   6553 
   6554 
   6555 
   6556 
   6557 
   6558 
   6559 
   6560 
   6561 xorg_testset_save_CFLAGS="$CFLAGS"
   6562 
   6563 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6564 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6565 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6566 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6567 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6568 then :
   6569   printf %s "(cached) " >&6
   6570 else $as_nop
   6571   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6572 /* end confdefs.h.  */
   6573 int i;
   6574 _ACEOF
   6575 if ac_fn_c_try_compile "$LINENO"
   6576 then :
   6577   xorg_cv_cc_flag_unknown_warning_option=yes
   6578 else $as_nop
   6579   xorg_cv_cc_flag_unknown_warning_option=no
   6580 fi
   6581 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6582 fi
   6583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6584 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6585 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6586 	CFLAGS="$xorg_testset_save_CFLAGS"
   6587 fi
   6588 
   6589 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6590 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6591 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6592 	fi
   6593 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6594 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6595 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6596 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6597 then :
   6598   printf %s "(cached) " >&6
   6599 else $as_nop
   6600   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6601 /* end confdefs.h.  */
   6602 int i;
   6603 _ACEOF
   6604 if ac_fn_c_try_compile "$LINENO"
   6605 then :
   6606   xorg_cv_cc_flag_unused_command_line_argument=yes
   6607 else $as_nop
   6608   xorg_cv_cc_flag_unused_command_line_argument=no
   6609 fi
   6610 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6611 fi
   6612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6613 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6614 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6615 	CFLAGS="$xorg_testset_save_CFLAGS"
   6616 fi
   6617 
   6618 found="no"
   6619 
   6620 	if test $found = "no" ; then
   6621 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6622 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6623 		fi
   6624 
   6625 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6626 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6627 		fi
   6628 
   6629 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6630 
   6631 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6632 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6633 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6634 		if eval test \${$cacheid+y}
   6635 then :
   6636   printf %s "(cached) " >&6
   6637 else $as_nop
   6638   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6639 /* end confdefs.h.  */
   6640 int i;
   6641 int
   6642 main (void)
   6643 {
   6644 
   6645   ;
   6646   return 0;
   6647 }
   6648 _ACEOF
   6649 if ac_fn_c_try_link "$LINENO"
   6650 then :
   6651   eval $cacheid=yes
   6652 else $as_nop
   6653   eval $cacheid=no
   6654 fi
   6655 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6656     conftest$ac_exeext conftest.$ac_ext
   6657 fi
   6658 
   6659 
   6660 		CFLAGS="$xorg_testset_save_CFLAGS"
   6661 
   6662 		eval supported=\$$cacheid
   6663 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6664 printf "%s\n" "$supported" >&6; }
   6665 		if test "$supported" = "yes" ; then
   6666 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6667 			found="yes"
   6668 		fi
   6669 	fi
   6670 
   6671 
   6672 
   6673 
   6674 
   6675 
   6676 
   6677 
   6678 
   6679 
   6680 
   6681 
   6682 
   6683 
   6684 
   6685 xorg_testset_save_CFLAGS="$CFLAGS"
   6686 
   6687 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6688 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6689 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6690 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6691 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6692 then :
   6693   printf %s "(cached) " >&6
   6694 else $as_nop
   6695   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6696 /* end confdefs.h.  */
   6697 int i;
   6698 _ACEOF
   6699 if ac_fn_c_try_compile "$LINENO"
   6700 then :
   6701   xorg_cv_cc_flag_unknown_warning_option=yes
   6702 else $as_nop
   6703   xorg_cv_cc_flag_unknown_warning_option=no
   6704 fi
   6705 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6706 fi
   6707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6708 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6709 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6710 	CFLAGS="$xorg_testset_save_CFLAGS"
   6711 fi
   6712 
   6713 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6714 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6715 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6716 	fi
   6717 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6718 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6719 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6720 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6721 then :
   6722   printf %s "(cached) " >&6
   6723 else $as_nop
   6724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6725 /* end confdefs.h.  */
   6726 int i;
   6727 _ACEOF
   6728 if ac_fn_c_try_compile "$LINENO"
   6729 then :
   6730   xorg_cv_cc_flag_unused_command_line_argument=yes
   6731 else $as_nop
   6732   xorg_cv_cc_flag_unused_command_line_argument=no
   6733 fi
   6734 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6735 fi
   6736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6737 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6738 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6739 	CFLAGS="$xorg_testset_save_CFLAGS"
   6740 fi
   6741 
   6742 found="no"
   6743 
   6744 	if test $found = "no" ; then
   6745 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6746 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6747 		fi
   6748 
   6749 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6750 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6751 		fi
   6752 
   6753 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6754 
   6755 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6756 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6757 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6758 		if eval test \${$cacheid+y}
   6759 then :
   6760   printf %s "(cached) " >&6
   6761 else $as_nop
   6762   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6763 /* end confdefs.h.  */
   6764 int i;
   6765 int
   6766 main (void)
   6767 {
   6768 
   6769   ;
   6770   return 0;
   6771 }
   6772 _ACEOF
   6773 if ac_fn_c_try_link "$LINENO"
   6774 then :
   6775   eval $cacheid=yes
   6776 else $as_nop
   6777   eval $cacheid=no
   6778 fi
   6779 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6780     conftest$ac_exeext conftest.$ac_ext
   6781 fi
   6782 
   6783 
   6784 		CFLAGS="$xorg_testset_save_CFLAGS"
   6785 
   6786 		eval supported=\$$cacheid
   6787 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6788 printf "%s\n" "$supported" >&6; }
   6789 		if test "$supported" = "yes" ; then
   6790 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6791 			found="yes"
   6792 		fi
   6793 	fi
   6794 
   6795 
   6796 
   6797 
   6798 
   6799 
   6800 
   6801 
   6802 
   6803 
   6804 
   6805 
   6806 
   6807 
   6808 
   6809 xorg_testset_save_CFLAGS="$CFLAGS"
   6810 
   6811 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6812 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6813 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6814 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6815 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6816 then :
   6817   printf %s "(cached) " >&6
   6818 else $as_nop
   6819   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6820 /* end confdefs.h.  */
   6821 int i;
   6822 _ACEOF
   6823 if ac_fn_c_try_compile "$LINENO"
   6824 then :
   6825   xorg_cv_cc_flag_unknown_warning_option=yes
   6826 else $as_nop
   6827   xorg_cv_cc_flag_unknown_warning_option=no
   6828 fi
   6829 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6830 fi
   6831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6832 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6833 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6834 	CFLAGS="$xorg_testset_save_CFLAGS"
   6835 fi
   6836 
   6837 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6838 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6839 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6840 	fi
   6841 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6842 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6843 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6844 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6845 then :
   6846   printf %s "(cached) " >&6
   6847 else $as_nop
   6848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6849 /* end confdefs.h.  */
   6850 int i;
   6851 _ACEOF
   6852 if ac_fn_c_try_compile "$LINENO"
   6853 then :
   6854   xorg_cv_cc_flag_unused_command_line_argument=yes
   6855 else $as_nop
   6856   xorg_cv_cc_flag_unused_command_line_argument=no
   6857 fi
   6858 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6859 fi
   6860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6861 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6862 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6863 	CFLAGS="$xorg_testset_save_CFLAGS"
   6864 fi
   6865 
   6866 found="no"
   6867 
   6868 	if test $found = "no" ; then
   6869 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6870 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6871 		fi
   6872 
   6873 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6874 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6875 		fi
   6876 
   6877 		CFLAGS="$CFLAGS -Wredundant-decls"
   6878 
   6879 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6880 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   6881 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6882 		if eval test \${$cacheid+y}
   6883 then :
   6884   printf %s "(cached) " >&6
   6885 else $as_nop
   6886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6887 /* end confdefs.h.  */
   6888 int i;
   6889 int
   6890 main (void)
   6891 {
   6892 
   6893   ;
   6894   return 0;
   6895 }
   6896 _ACEOF
   6897 if ac_fn_c_try_link "$LINENO"
   6898 then :
   6899   eval $cacheid=yes
   6900 else $as_nop
   6901   eval $cacheid=no
   6902 fi
   6903 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6904     conftest$ac_exeext conftest.$ac_ext
   6905 fi
   6906 
   6907 
   6908 		CFLAGS="$xorg_testset_save_CFLAGS"
   6909 
   6910 		eval supported=\$$cacheid
   6911 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6912 printf "%s\n" "$supported" >&6; }
   6913 		if test "$supported" = "yes" ; then
   6914 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6915 			found="yes"
   6916 		fi
   6917 	fi
   6918 
   6919 
   6920 
   6921 
   6922 
   6923 
   6924 
   6925 
   6926 
   6927 
   6928 
   6929 
   6930 
   6931 
   6932 
   6933 xorg_testset_save_CFLAGS="$CFLAGS"
   6934 
   6935 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6936 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6937 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6938 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6939 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6940 then :
   6941   printf %s "(cached) " >&6
   6942 else $as_nop
   6943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6944 /* end confdefs.h.  */
   6945 int i;
   6946 _ACEOF
   6947 if ac_fn_c_try_compile "$LINENO"
   6948 then :
   6949   xorg_cv_cc_flag_unknown_warning_option=yes
   6950 else $as_nop
   6951   xorg_cv_cc_flag_unknown_warning_option=no
   6952 fi
   6953 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6954 fi
   6955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6956 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6957 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6958 	CFLAGS="$xorg_testset_save_CFLAGS"
   6959 fi
   6960 
   6961 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6962 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6963 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6964 	fi
   6965 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6966 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6967 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6968 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6969 then :
   6970   printf %s "(cached) " >&6
   6971 else $as_nop
   6972   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6973 /* end confdefs.h.  */
   6974 int i;
   6975 _ACEOF
   6976 if ac_fn_c_try_compile "$LINENO"
   6977 then :
   6978   xorg_cv_cc_flag_unused_command_line_argument=yes
   6979 else $as_nop
   6980   xorg_cv_cc_flag_unused_command_line_argument=no
   6981 fi
   6982 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6983 fi
   6984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6985 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6986 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6987 	CFLAGS="$xorg_testset_save_CFLAGS"
   6988 fi
   6989 
   6990 found="no"
   6991 
   6992 	if test $found = "no" ; then
   6993 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6994 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6995 		fi
   6996 
   6997 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6998 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6999 		fi
   7000 
   7001 		CFLAGS="$CFLAGS -Wlogical-op"
   7002 
   7003 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7004 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7005 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7006 		if eval test \${$cacheid+y}
   7007 then :
   7008   printf %s "(cached) " >&6
   7009 else $as_nop
   7010   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7011 /* end confdefs.h.  */
   7012 int i;
   7013 int
   7014 main (void)
   7015 {
   7016 
   7017   ;
   7018   return 0;
   7019 }
   7020 _ACEOF
   7021 if ac_fn_c_try_link "$LINENO"
   7022 then :
   7023   eval $cacheid=yes
   7024 else $as_nop
   7025   eval $cacheid=no
   7026 fi
   7027 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7028     conftest$ac_exeext conftest.$ac_ext
   7029 fi
   7030 
   7031 
   7032 		CFLAGS="$xorg_testset_save_CFLAGS"
   7033 
   7034 		eval supported=\$$cacheid
   7035 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7036 printf "%s\n" "$supported" >&6; }
   7037 		if test "$supported" = "yes" ; then
   7038 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7039 			found="yes"
   7040 		fi
   7041 	fi
   7042 
   7043 
   7044 
   7045 # These are currently disabled because they are noisy.  They will be enabled
   7046 # in the future once the codebase is sufficiently modernized to silence
   7047 # them.  For now, I don't want them to drown out the other warnings.
   7048 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7049 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7050 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7051 
   7052 # Turn some warnings into errors, so we don't accidently get successful builds
   7053 # when there are problems that should be fixed.
   7054 
   7055 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7056 
   7057 
   7058 
   7059 
   7060 
   7061 
   7062 
   7063 
   7064 
   7065 
   7066 
   7067 
   7068 
   7069 xorg_testset_save_CFLAGS="$CFLAGS"
   7070 
   7071 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7072 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7073 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7074 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7075 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7076 then :
   7077   printf %s "(cached) " >&6
   7078 else $as_nop
   7079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7080 /* end confdefs.h.  */
   7081 int i;
   7082 _ACEOF
   7083 if ac_fn_c_try_compile "$LINENO"
   7084 then :
   7085   xorg_cv_cc_flag_unknown_warning_option=yes
   7086 else $as_nop
   7087   xorg_cv_cc_flag_unknown_warning_option=no
   7088 fi
   7089 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7090 fi
   7091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7092 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7093 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7094 	CFLAGS="$xorg_testset_save_CFLAGS"
   7095 fi
   7096 
   7097 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7098 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7099 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7100 	fi
   7101 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7102 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7103 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7104 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7105 then :
   7106   printf %s "(cached) " >&6
   7107 else $as_nop
   7108   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7109 /* end confdefs.h.  */
   7110 int i;
   7111 _ACEOF
   7112 if ac_fn_c_try_compile "$LINENO"
   7113 then :
   7114   xorg_cv_cc_flag_unused_command_line_argument=yes
   7115 else $as_nop
   7116   xorg_cv_cc_flag_unused_command_line_argument=no
   7117 fi
   7118 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7119 fi
   7120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7121 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7122 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7123 	CFLAGS="$xorg_testset_save_CFLAGS"
   7124 fi
   7125 
   7126 found="no"
   7127 
   7128 	if test $found = "no" ; then
   7129 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7130 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7131 		fi
   7132 
   7133 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7134 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7135 		fi
   7136 
   7137 		CFLAGS="$CFLAGS -Werror=implicit"
   7138 
   7139 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7140 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7141 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7142 		if eval test \${$cacheid+y}
   7143 then :
   7144   printf %s "(cached) " >&6
   7145 else $as_nop
   7146   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7147 /* end confdefs.h.  */
   7148 int i;
   7149 int
   7150 main (void)
   7151 {
   7152 
   7153   ;
   7154   return 0;
   7155 }
   7156 _ACEOF
   7157 if ac_fn_c_try_link "$LINENO"
   7158 then :
   7159   eval $cacheid=yes
   7160 else $as_nop
   7161   eval $cacheid=no
   7162 fi
   7163 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7164     conftest$ac_exeext conftest.$ac_ext
   7165 fi
   7166 
   7167 
   7168 		CFLAGS="$xorg_testset_save_CFLAGS"
   7169 
   7170 		eval supported=\$$cacheid
   7171 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7172 printf "%s\n" "$supported" >&6; }
   7173 		if test "$supported" = "yes" ; then
   7174 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7175 			found="yes"
   7176 		fi
   7177 	fi
   7178 
   7179 	if test $found = "no" ; then
   7180 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7181 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7182 		fi
   7183 
   7184 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7185 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7186 		fi
   7187 
   7188 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7189 
   7190 		{ 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
   7191 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7192 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7193 		if eval test \${$cacheid+y}
   7194 then :
   7195   printf %s "(cached) " >&6
   7196 else $as_nop
   7197   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7198 /* end confdefs.h.  */
   7199 int i;
   7200 int
   7201 main (void)
   7202 {
   7203 
   7204   ;
   7205   return 0;
   7206 }
   7207 _ACEOF
   7208 if ac_fn_c_try_link "$LINENO"
   7209 then :
   7210   eval $cacheid=yes
   7211 else $as_nop
   7212   eval $cacheid=no
   7213 fi
   7214 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7215     conftest$ac_exeext conftest.$ac_ext
   7216 fi
   7217 
   7218 
   7219 		CFLAGS="$xorg_testset_save_CFLAGS"
   7220 
   7221 		eval supported=\$$cacheid
   7222 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7223 printf "%s\n" "$supported" >&6; }
   7224 		if test "$supported" = "yes" ; then
   7225 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7226 			found="yes"
   7227 		fi
   7228 	fi
   7229 
   7230 
   7231 
   7232 
   7233 
   7234 
   7235 
   7236 
   7237 
   7238 
   7239 
   7240 
   7241 
   7242 
   7243 
   7244 xorg_testset_save_CFLAGS="$CFLAGS"
   7245 
   7246 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7247 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7248 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7249 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7250 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7251 then :
   7252   printf %s "(cached) " >&6
   7253 else $as_nop
   7254   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7255 /* end confdefs.h.  */
   7256 int i;
   7257 _ACEOF
   7258 if ac_fn_c_try_compile "$LINENO"
   7259 then :
   7260   xorg_cv_cc_flag_unknown_warning_option=yes
   7261 else $as_nop
   7262   xorg_cv_cc_flag_unknown_warning_option=no
   7263 fi
   7264 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7265 fi
   7266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7267 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7268 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7269 	CFLAGS="$xorg_testset_save_CFLAGS"
   7270 fi
   7271 
   7272 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7273 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7274 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7275 	fi
   7276 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7277 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7278 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7279 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7280 then :
   7281   printf %s "(cached) " >&6
   7282 else $as_nop
   7283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7284 /* end confdefs.h.  */
   7285 int i;
   7286 _ACEOF
   7287 if ac_fn_c_try_compile "$LINENO"
   7288 then :
   7289   xorg_cv_cc_flag_unused_command_line_argument=yes
   7290 else $as_nop
   7291   xorg_cv_cc_flag_unused_command_line_argument=no
   7292 fi
   7293 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7294 fi
   7295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7296 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7297 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7298 	CFLAGS="$xorg_testset_save_CFLAGS"
   7299 fi
   7300 
   7301 found="no"
   7302 
   7303 	if test $found = "no" ; then
   7304 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7305 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7306 		fi
   7307 
   7308 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7309 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7310 		fi
   7311 
   7312 		CFLAGS="$CFLAGS -Werror=nonnull"
   7313 
   7314 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7315 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7316 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7317 		if eval test \${$cacheid+y}
   7318 then :
   7319   printf %s "(cached) " >&6
   7320 else $as_nop
   7321   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7322 /* end confdefs.h.  */
   7323 int i;
   7324 int
   7325 main (void)
   7326 {
   7327 
   7328   ;
   7329   return 0;
   7330 }
   7331 _ACEOF
   7332 if ac_fn_c_try_link "$LINENO"
   7333 then :
   7334   eval $cacheid=yes
   7335 else $as_nop
   7336   eval $cacheid=no
   7337 fi
   7338 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7339     conftest$ac_exeext conftest.$ac_ext
   7340 fi
   7341 
   7342 
   7343 		CFLAGS="$xorg_testset_save_CFLAGS"
   7344 
   7345 		eval supported=\$$cacheid
   7346 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7347 printf "%s\n" "$supported" >&6; }
   7348 		if test "$supported" = "yes" ; then
   7349 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7350 			found="yes"
   7351 		fi
   7352 	fi
   7353 
   7354 
   7355 
   7356 
   7357 
   7358 
   7359 
   7360 
   7361 
   7362 
   7363 
   7364 
   7365 
   7366 
   7367 
   7368 xorg_testset_save_CFLAGS="$CFLAGS"
   7369 
   7370 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7371 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7372 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7373 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7374 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7375 then :
   7376   printf %s "(cached) " >&6
   7377 else $as_nop
   7378   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7379 /* end confdefs.h.  */
   7380 int i;
   7381 _ACEOF
   7382 if ac_fn_c_try_compile "$LINENO"
   7383 then :
   7384   xorg_cv_cc_flag_unknown_warning_option=yes
   7385 else $as_nop
   7386   xorg_cv_cc_flag_unknown_warning_option=no
   7387 fi
   7388 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7389 fi
   7390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7391 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7392 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7393 	CFLAGS="$xorg_testset_save_CFLAGS"
   7394 fi
   7395 
   7396 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7397 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7398 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7399 	fi
   7400 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7401 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7402 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7403 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7404 then :
   7405   printf %s "(cached) " >&6
   7406 else $as_nop
   7407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7408 /* end confdefs.h.  */
   7409 int i;
   7410 _ACEOF
   7411 if ac_fn_c_try_compile "$LINENO"
   7412 then :
   7413   xorg_cv_cc_flag_unused_command_line_argument=yes
   7414 else $as_nop
   7415   xorg_cv_cc_flag_unused_command_line_argument=no
   7416 fi
   7417 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7418 fi
   7419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7420 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7421 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7422 	CFLAGS="$xorg_testset_save_CFLAGS"
   7423 fi
   7424 
   7425 found="no"
   7426 
   7427 	if test $found = "no" ; then
   7428 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7429 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7430 		fi
   7431 
   7432 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7433 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7434 		fi
   7435 
   7436 		CFLAGS="$CFLAGS -Werror=init-self"
   7437 
   7438 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7439 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7440 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7441 		if eval test \${$cacheid+y}
   7442 then :
   7443   printf %s "(cached) " >&6
   7444 else $as_nop
   7445   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7446 /* end confdefs.h.  */
   7447 int i;
   7448 int
   7449 main (void)
   7450 {
   7451 
   7452   ;
   7453   return 0;
   7454 }
   7455 _ACEOF
   7456 if ac_fn_c_try_link "$LINENO"
   7457 then :
   7458   eval $cacheid=yes
   7459 else $as_nop
   7460   eval $cacheid=no
   7461 fi
   7462 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7463     conftest$ac_exeext conftest.$ac_ext
   7464 fi
   7465 
   7466 
   7467 		CFLAGS="$xorg_testset_save_CFLAGS"
   7468 
   7469 		eval supported=\$$cacheid
   7470 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7471 printf "%s\n" "$supported" >&6; }
   7472 		if test "$supported" = "yes" ; then
   7473 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7474 			found="yes"
   7475 		fi
   7476 	fi
   7477 
   7478 
   7479 
   7480 
   7481 
   7482 
   7483 
   7484 
   7485 
   7486 
   7487 
   7488 
   7489 
   7490 
   7491 
   7492 xorg_testset_save_CFLAGS="$CFLAGS"
   7493 
   7494 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7495 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7496 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7497 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7498 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7499 then :
   7500   printf %s "(cached) " >&6
   7501 else $as_nop
   7502   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7503 /* end confdefs.h.  */
   7504 int i;
   7505 _ACEOF
   7506 if ac_fn_c_try_compile "$LINENO"
   7507 then :
   7508   xorg_cv_cc_flag_unknown_warning_option=yes
   7509 else $as_nop
   7510   xorg_cv_cc_flag_unknown_warning_option=no
   7511 fi
   7512 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7513 fi
   7514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7515 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7516 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7517 	CFLAGS="$xorg_testset_save_CFLAGS"
   7518 fi
   7519 
   7520 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7521 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7522 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7523 	fi
   7524 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7525 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7526 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7527 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7528 then :
   7529   printf %s "(cached) " >&6
   7530 else $as_nop
   7531   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7532 /* end confdefs.h.  */
   7533 int i;
   7534 _ACEOF
   7535 if ac_fn_c_try_compile "$LINENO"
   7536 then :
   7537   xorg_cv_cc_flag_unused_command_line_argument=yes
   7538 else $as_nop
   7539   xorg_cv_cc_flag_unused_command_line_argument=no
   7540 fi
   7541 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7542 fi
   7543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7544 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7545 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7546 	CFLAGS="$xorg_testset_save_CFLAGS"
   7547 fi
   7548 
   7549 found="no"
   7550 
   7551 	if test $found = "no" ; then
   7552 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7553 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7554 		fi
   7555 
   7556 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7557 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7558 		fi
   7559 
   7560 		CFLAGS="$CFLAGS -Werror=main"
   7561 
   7562 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7563 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7564 		cacheid=xorg_cv_cc_flag__Werror_main
   7565 		if eval test \${$cacheid+y}
   7566 then :
   7567   printf %s "(cached) " >&6
   7568 else $as_nop
   7569   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7570 /* end confdefs.h.  */
   7571 int i;
   7572 int
   7573 main (void)
   7574 {
   7575 
   7576   ;
   7577   return 0;
   7578 }
   7579 _ACEOF
   7580 if ac_fn_c_try_link "$LINENO"
   7581 then :
   7582   eval $cacheid=yes
   7583 else $as_nop
   7584   eval $cacheid=no
   7585 fi
   7586 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7587     conftest$ac_exeext conftest.$ac_ext
   7588 fi
   7589 
   7590 
   7591 		CFLAGS="$xorg_testset_save_CFLAGS"
   7592 
   7593 		eval supported=\$$cacheid
   7594 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7595 printf "%s\n" "$supported" >&6; }
   7596 		if test "$supported" = "yes" ; then
   7597 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7598 			found="yes"
   7599 		fi
   7600 	fi
   7601 
   7602 
   7603 
   7604 
   7605 
   7606 
   7607 
   7608 
   7609 
   7610 
   7611 
   7612 
   7613 
   7614 
   7615 
   7616 xorg_testset_save_CFLAGS="$CFLAGS"
   7617 
   7618 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7619 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7620 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7621 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7622 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7623 then :
   7624   printf %s "(cached) " >&6
   7625 else $as_nop
   7626   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7627 /* end confdefs.h.  */
   7628 int i;
   7629 _ACEOF
   7630 if ac_fn_c_try_compile "$LINENO"
   7631 then :
   7632   xorg_cv_cc_flag_unknown_warning_option=yes
   7633 else $as_nop
   7634   xorg_cv_cc_flag_unknown_warning_option=no
   7635 fi
   7636 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7637 fi
   7638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7639 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7640 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7641 	CFLAGS="$xorg_testset_save_CFLAGS"
   7642 fi
   7643 
   7644 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7645 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7646 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7647 	fi
   7648 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7649 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7650 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7651 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7652 then :
   7653   printf %s "(cached) " >&6
   7654 else $as_nop
   7655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7656 /* end confdefs.h.  */
   7657 int i;
   7658 _ACEOF
   7659 if ac_fn_c_try_compile "$LINENO"
   7660 then :
   7661   xorg_cv_cc_flag_unused_command_line_argument=yes
   7662 else $as_nop
   7663   xorg_cv_cc_flag_unused_command_line_argument=no
   7664 fi
   7665 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7666 fi
   7667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7668 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7669 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7670 	CFLAGS="$xorg_testset_save_CFLAGS"
   7671 fi
   7672 
   7673 found="no"
   7674 
   7675 	if test $found = "no" ; then
   7676 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7677 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7678 		fi
   7679 
   7680 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7681 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7682 		fi
   7683 
   7684 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7685 
   7686 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7687 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   7688 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7689 		if eval test \${$cacheid+y}
   7690 then :
   7691   printf %s "(cached) " >&6
   7692 else $as_nop
   7693   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7694 /* end confdefs.h.  */
   7695 int i;
   7696 int
   7697 main (void)
   7698 {
   7699 
   7700   ;
   7701   return 0;
   7702 }
   7703 _ACEOF
   7704 if ac_fn_c_try_link "$LINENO"
   7705 then :
   7706   eval $cacheid=yes
   7707 else $as_nop
   7708   eval $cacheid=no
   7709 fi
   7710 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7711     conftest$ac_exeext conftest.$ac_ext
   7712 fi
   7713 
   7714 
   7715 		CFLAGS="$xorg_testset_save_CFLAGS"
   7716 
   7717 		eval supported=\$$cacheid
   7718 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7719 printf "%s\n" "$supported" >&6; }
   7720 		if test "$supported" = "yes" ; then
   7721 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7722 			found="yes"
   7723 		fi
   7724 	fi
   7725 
   7726 
   7727 
   7728 
   7729 
   7730 
   7731 
   7732 
   7733 
   7734 
   7735 
   7736 
   7737 
   7738 
   7739 
   7740 xorg_testset_save_CFLAGS="$CFLAGS"
   7741 
   7742 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7743 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7744 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7745 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7746 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7747 then :
   7748   printf %s "(cached) " >&6
   7749 else $as_nop
   7750   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7751 /* end confdefs.h.  */
   7752 int i;
   7753 _ACEOF
   7754 if ac_fn_c_try_compile "$LINENO"
   7755 then :
   7756   xorg_cv_cc_flag_unknown_warning_option=yes
   7757 else $as_nop
   7758   xorg_cv_cc_flag_unknown_warning_option=no
   7759 fi
   7760 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7761 fi
   7762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7763 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7764 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7765 	CFLAGS="$xorg_testset_save_CFLAGS"
   7766 fi
   7767 
   7768 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7769 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7770 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7771 	fi
   7772 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7773 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7774 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7775 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7776 then :
   7777   printf %s "(cached) " >&6
   7778 else $as_nop
   7779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7780 /* end confdefs.h.  */
   7781 int i;
   7782 _ACEOF
   7783 if ac_fn_c_try_compile "$LINENO"
   7784 then :
   7785   xorg_cv_cc_flag_unused_command_line_argument=yes
   7786 else $as_nop
   7787   xorg_cv_cc_flag_unused_command_line_argument=no
   7788 fi
   7789 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7790 fi
   7791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7792 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7793 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7794 	CFLAGS="$xorg_testset_save_CFLAGS"
   7795 fi
   7796 
   7797 found="no"
   7798 
   7799 	if test $found = "no" ; then
   7800 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7801 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7802 		fi
   7803 
   7804 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7805 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7806 		fi
   7807 
   7808 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7809 
   7810 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7811 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   7812 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7813 		if eval test \${$cacheid+y}
   7814 then :
   7815   printf %s "(cached) " >&6
   7816 else $as_nop
   7817   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7818 /* end confdefs.h.  */
   7819 int i;
   7820 int
   7821 main (void)
   7822 {
   7823 
   7824   ;
   7825   return 0;
   7826 }
   7827 _ACEOF
   7828 if ac_fn_c_try_link "$LINENO"
   7829 then :
   7830   eval $cacheid=yes
   7831 else $as_nop
   7832   eval $cacheid=no
   7833 fi
   7834 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7835     conftest$ac_exeext conftest.$ac_ext
   7836 fi
   7837 
   7838 
   7839 		CFLAGS="$xorg_testset_save_CFLAGS"
   7840 
   7841 		eval supported=\$$cacheid
   7842 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7843 printf "%s\n" "$supported" >&6; }
   7844 		if test "$supported" = "yes" ; then
   7845 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7846 			found="yes"
   7847 		fi
   7848 	fi
   7849 
   7850 
   7851 
   7852 
   7853 
   7854 
   7855 
   7856 
   7857 
   7858 
   7859 
   7860 
   7861 
   7862 
   7863 
   7864 xorg_testset_save_CFLAGS="$CFLAGS"
   7865 
   7866 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7867 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7868 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7869 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7870 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7871 then :
   7872   printf %s "(cached) " >&6
   7873 else $as_nop
   7874   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7875 /* end confdefs.h.  */
   7876 int i;
   7877 _ACEOF
   7878 if ac_fn_c_try_compile "$LINENO"
   7879 then :
   7880   xorg_cv_cc_flag_unknown_warning_option=yes
   7881 else $as_nop
   7882   xorg_cv_cc_flag_unknown_warning_option=no
   7883 fi
   7884 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7885 fi
   7886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7887 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7888 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7889 	CFLAGS="$xorg_testset_save_CFLAGS"
   7890 fi
   7891 
   7892 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7893 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7894 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7895 	fi
   7896 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7897 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7898 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7899 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7900 then :
   7901   printf %s "(cached) " >&6
   7902 else $as_nop
   7903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7904 /* end confdefs.h.  */
   7905 int i;
   7906 _ACEOF
   7907 if ac_fn_c_try_compile "$LINENO"
   7908 then :
   7909   xorg_cv_cc_flag_unused_command_line_argument=yes
   7910 else $as_nop
   7911   xorg_cv_cc_flag_unused_command_line_argument=no
   7912 fi
   7913 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7914 fi
   7915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7916 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7917 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7918 	CFLAGS="$xorg_testset_save_CFLAGS"
   7919 fi
   7920 
   7921 found="no"
   7922 
   7923 	if test $found = "no" ; then
   7924 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7925 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7926 		fi
   7927 
   7928 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7929 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7930 		fi
   7931 
   7932 		CFLAGS="$CFLAGS -Werror=return-type"
   7933 
   7934 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7935 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   7936 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7937 		if eval test \${$cacheid+y}
   7938 then :
   7939   printf %s "(cached) " >&6
   7940 else $as_nop
   7941   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7942 /* end confdefs.h.  */
   7943 int i;
   7944 int
   7945 main (void)
   7946 {
   7947 
   7948   ;
   7949   return 0;
   7950 }
   7951 _ACEOF
   7952 if ac_fn_c_try_link "$LINENO"
   7953 then :
   7954   eval $cacheid=yes
   7955 else $as_nop
   7956   eval $cacheid=no
   7957 fi
   7958 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7959     conftest$ac_exeext conftest.$ac_ext
   7960 fi
   7961 
   7962 
   7963 		CFLAGS="$xorg_testset_save_CFLAGS"
   7964 
   7965 		eval supported=\$$cacheid
   7966 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7967 printf "%s\n" "$supported" >&6; }
   7968 		if test "$supported" = "yes" ; then
   7969 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7970 			found="yes"
   7971 		fi
   7972 	fi
   7973 
   7974 	if test $found = "no" ; then
   7975 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7976 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7977 		fi
   7978 
   7979 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7980 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7981 		fi
   7982 
   7983 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7984 
   7985 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7986 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7987 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7988 		if eval test \${$cacheid+y}
   7989 then :
   7990   printf %s "(cached) " >&6
   7991 else $as_nop
   7992   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7993 /* end confdefs.h.  */
   7994 int i;
   7995 int
   7996 main (void)
   7997 {
   7998 
   7999   ;
   8000   return 0;
   8001 }
   8002 _ACEOF
   8003 if ac_fn_c_try_link "$LINENO"
   8004 then :
   8005   eval $cacheid=yes
   8006 else $as_nop
   8007   eval $cacheid=no
   8008 fi
   8009 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8010     conftest$ac_exeext conftest.$ac_ext
   8011 fi
   8012 
   8013 
   8014 		CFLAGS="$xorg_testset_save_CFLAGS"
   8015 
   8016 		eval supported=\$$cacheid
   8017 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8018 printf "%s\n" "$supported" >&6; }
   8019 		if test "$supported" = "yes" ; then
   8020 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8021 			found="yes"
   8022 		fi
   8023 	fi
   8024 
   8025 
   8026 
   8027 
   8028 
   8029 
   8030 
   8031 
   8032 
   8033 
   8034 
   8035 
   8036 
   8037 
   8038 
   8039 xorg_testset_save_CFLAGS="$CFLAGS"
   8040 
   8041 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8042 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8043 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8044 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8045 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8046 then :
   8047   printf %s "(cached) " >&6
   8048 else $as_nop
   8049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8050 /* end confdefs.h.  */
   8051 int i;
   8052 _ACEOF
   8053 if ac_fn_c_try_compile "$LINENO"
   8054 then :
   8055   xorg_cv_cc_flag_unknown_warning_option=yes
   8056 else $as_nop
   8057   xorg_cv_cc_flag_unknown_warning_option=no
   8058 fi
   8059 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8060 fi
   8061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8062 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8063 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8064 	CFLAGS="$xorg_testset_save_CFLAGS"
   8065 fi
   8066 
   8067 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8068 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8069 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8070 	fi
   8071 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8072 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8073 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8074 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8075 then :
   8076   printf %s "(cached) " >&6
   8077 else $as_nop
   8078   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8079 /* end confdefs.h.  */
   8080 int i;
   8081 _ACEOF
   8082 if ac_fn_c_try_compile "$LINENO"
   8083 then :
   8084   xorg_cv_cc_flag_unused_command_line_argument=yes
   8085 else $as_nop
   8086   xorg_cv_cc_flag_unused_command_line_argument=no
   8087 fi
   8088 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8089 fi
   8090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8091 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8092 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8093 	CFLAGS="$xorg_testset_save_CFLAGS"
   8094 fi
   8095 
   8096 found="no"
   8097 
   8098 	if test $found = "no" ; then
   8099 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8100 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8101 		fi
   8102 
   8103 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8104 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8105 		fi
   8106 
   8107 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8108 
   8109 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8110 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8111 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8112 		if eval test \${$cacheid+y}
   8113 then :
   8114   printf %s "(cached) " >&6
   8115 else $as_nop
   8116   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8117 /* end confdefs.h.  */
   8118 int i;
   8119 int
   8120 main (void)
   8121 {
   8122 
   8123   ;
   8124   return 0;
   8125 }
   8126 _ACEOF
   8127 if ac_fn_c_try_link "$LINENO"
   8128 then :
   8129   eval $cacheid=yes
   8130 else $as_nop
   8131   eval $cacheid=no
   8132 fi
   8133 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8134     conftest$ac_exeext conftest.$ac_ext
   8135 fi
   8136 
   8137 
   8138 		CFLAGS="$xorg_testset_save_CFLAGS"
   8139 
   8140 		eval supported=\$$cacheid
   8141 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8142 printf "%s\n" "$supported" >&6; }
   8143 		if test "$supported" = "yes" ; then
   8144 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8145 			found="yes"
   8146 		fi
   8147 	fi
   8148 
   8149 
   8150 
   8151 
   8152 
   8153 
   8154 
   8155 
   8156 
   8157 
   8158 
   8159 
   8160 
   8161 
   8162 
   8163 xorg_testset_save_CFLAGS="$CFLAGS"
   8164 
   8165 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8166 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8167 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8168 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8169 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8170 then :
   8171   printf %s "(cached) " >&6
   8172 else $as_nop
   8173   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8174 /* end confdefs.h.  */
   8175 int i;
   8176 _ACEOF
   8177 if ac_fn_c_try_compile "$LINENO"
   8178 then :
   8179   xorg_cv_cc_flag_unknown_warning_option=yes
   8180 else $as_nop
   8181   xorg_cv_cc_flag_unknown_warning_option=no
   8182 fi
   8183 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8184 fi
   8185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8186 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8187 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8188 	CFLAGS="$xorg_testset_save_CFLAGS"
   8189 fi
   8190 
   8191 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8192 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8193 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8194 	fi
   8195 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8196 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8197 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8198 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8199 then :
   8200   printf %s "(cached) " >&6
   8201 else $as_nop
   8202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8203 /* end confdefs.h.  */
   8204 int i;
   8205 _ACEOF
   8206 if ac_fn_c_try_compile "$LINENO"
   8207 then :
   8208   xorg_cv_cc_flag_unused_command_line_argument=yes
   8209 else $as_nop
   8210   xorg_cv_cc_flag_unused_command_line_argument=no
   8211 fi
   8212 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8213 fi
   8214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8215 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8216 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8217 	CFLAGS="$xorg_testset_save_CFLAGS"
   8218 fi
   8219 
   8220 found="no"
   8221 
   8222 	if test $found = "no" ; then
   8223 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8224 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8225 		fi
   8226 
   8227 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8228 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8229 		fi
   8230 
   8231 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8232 
   8233 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8234 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8235 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8236 		if eval test \${$cacheid+y}
   8237 then :
   8238   printf %s "(cached) " >&6
   8239 else $as_nop
   8240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8241 /* end confdefs.h.  */
   8242 int i;
   8243 int
   8244 main (void)
   8245 {
   8246 
   8247   ;
   8248   return 0;
   8249 }
   8250 _ACEOF
   8251 if ac_fn_c_try_link "$LINENO"
   8252 then :
   8253   eval $cacheid=yes
   8254 else $as_nop
   8255   eval $cacheid=no
   8256 fi
   8257 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8258     conftest$ac_exeext conftest.$ac_ext
   8259 fi
   8260 
   8261 
   8262 		CFLAGS="$xorg_testset_save_CFLAGS"
   8263 
   8264 		eval supported=\$$cacheid
   8265 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8266 printf "%s\n" "$supported" >&6; }
   8267 		if test "$supported" = "yes" ; then
   8268 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8269 			found="yes"
   8270 		fi
   8271 	fi
   8272 
   8273 
   8274 
   8275 
   8276 
   8277 
   8278 
   8279 
   8280 
   8281 
   8282 
   8283 
   8284 
   8285 
   8286 
   8287 xorg_testset_save_CFLAGS="$CFLAGS"
   8288 
   8289 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8290 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8291 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8292 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8293 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8294 then :
   8295   printf %s "(cached) " >&6
   8296 else $as_nop
   8297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8298 /* end confdefs.h.  */
   8299 int i;
   8300 _ACEOF
   8301 if ac_fn_c_try_compile "$LINENO"
   8302 then :
   8303   xorg_cv_cc_flag_unknown_warning_option=yes
   8304 else $as_nop
   8305   xorg_cv_cc_flag_unknown_warning_option=no
   8306 fi
   8307 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8308 fi
   8309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8310 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8311 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8312 	CFLAGS="$xorg_testset_save_CFLAGS"
   8313 fi
   8314 
   8315 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8316 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8317 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8318 	fi
   8319 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8320 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8321 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8322 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8323 then :
   8324   printf %s "(cached) " >&6
   8325 else $as_nop
   8326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8327 /* end confdefs.h.  */
   8328 int i;
   8329 _ACEOF
   8330 if ac_fn_c_try_compile "$LINENO"
   8331 then :
   8332   xorg_cv_cc_flag_unused_command_line_argument=yes
   8333 else $as_nop
   8334   xorg_cv_cc_flag_unused_command_line_argument=no
   8335 fi
   8336 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8337 fi
   8338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8339 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8340 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8341 	CFLAGS="$xorg_testset_save_CFLAGS"
   8342 fi
   8343 
   8344 found="no"
   8345 
   8346 	if test $found = "no" ; then
   8347 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8348 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8349 		fi
   8350 
   8351 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8352 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8353 		fi
   8354 
   8355 		CFLAGS="$CFLAGS -Werror=write-strings"
   8356 
   8357 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8358 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8359 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8360 		if eval test \${$cacheid+y}
   8361 then :
   8362   printf %s "(cached) " >&6
   8363 else $as_nop
   8364   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8365 /* end confdefs.h.  */
   8366 int i;
   8367 int
   8368 main (void)
   8369 {
   8370 
   8371   ;
   8372   return 0;
   8373 }
   8374 _ACEOF
   8375 if ac_fn_c_try_link "$LINENO"
   8376 then :
   8377   eval $cacheid=yes
   8378 else $as_nop
   8379   eval $cacheid=no
   8380 fi
   8381 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8382     conftest$ac_exeext conftest.$ac_ext
   8383 fi
   8384 
   8385 
   8386 		CFLAGS="$xorg_testset_save_CFLAGS"
   8387 
   8388 		eval supported=\$$cacheid
   8389 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8390 printf "%s\n" "$supported" >&6; }
   8391 		if test "$supported" = "yes" ; then
   8392 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8393 			found="yes"
   8394 		fi
   8395 	fi
   8396 
   8397 
   8398 
   8399 
   8400 
   8401 
   8402 
   8403 
   8404 
   8405 
   8406 
   8407 
   8408 
   8409 
   8410 
   8411 xorg_testset_save_CFLAGS="$CFLAGS"
   8412 
   8413 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8414 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8415 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8416 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8417 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8418 then :
   8419   printf %s "(cached) " >&6
   8420 else $as_nop
   8421   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8422 /* end confdefs.h.  */
   8423 int i;
   8424 _ACEOF
   8425 if ac_fn_c_try_compile "$LINENO"
   8426 then :
   8427   xorg_cv_cc_flag_unknown_warning_option=yes
   8428 else $as_nop
   8429   xorg_cv_cc_flag_unknown_warning_option=no
   8430 fi
   8431 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8432 fi
   8433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8434 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8435 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8436 	CFLAGS="$xorg_testset_save_CFLAGS"
   8437 fi
   8438 
   8439 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8440 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8441 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8442 	fi
   8443 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8444 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8445 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8446 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8447 then :
   8448   printf %s "(cached) " >&6
   8449 else $as_nop
   8450   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8451 /* end confdefs.h.  */
   8452 int i;
   8453 _ACEOF
   8454 if ac_fn_c_try_compile "$LINENO"
   8455 then :
   8456   xorg_cv_cc_flag_unused_command_line_argument=yes
   8457 else $as_nop
   8458   xorg_cv_cc_flag_unused_command_line_argument=no
   8459 fi
   8460 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8461 fi
   8462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8463 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8464 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8465 	CFLAGS="$xorg_testset_save_CFLAGS"
   8466 fi
   8467 
   8468 found="no"
   8469 
   8470 	if test $found = "no" ; then
   8471 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8472 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8473 		fi
   8474 
   8475 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8476 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8477 		fi
   8478 
   8479 		CFLAGS="$CFLAGS -Werror=address"
   8480 
   8481 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8482 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8483 		cacheid=xorg_cv_cc_flag__Werror_address
   8484 		if eval test \${$cacheid+y}
   8485 then :
   8486   printf %s "(cached) " >&6
   8487 else $as_nop
   8488   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8489 /* end confdefs.h.  */
   8490 int i;
   8491 int
   8492 main (void)
   8493 {
   8494 
   8495   ;
   8496   return 0;
   8497 }
   8498 _ACEOF
   8499 if ac_fn_c_try_link "$LINENO"
   8500 then :
   8501   eval $cacheid=yes
   8502 else $as_nop
   8503   eval $cacheid=no
   8504 fi
   8505 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8506     conftest$ac_exeext conftest.$ac_ext
   8507 fi
   8508 
   8509 
   8510 		CFLAGS="$xorg_testset_save_CFLAGS"
   8511 
   8512 		eval supported=\$$cacheid
   8513 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8514 printf "%s\n" "$supported" >&6; }
   8515 		if test "$supported" = "yes" ; then
   8516 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8517 			found="yes"
   8518 		fi
   8519 	fi
   8520 
   8521 
   8522 
   8523 
   8524 
   8525 
   8526 
   8527 
   8528 
   8529 
   8530 
   8531 
   8532 
   8533 
   8534 
   8535 xorg_testset_save_CFLAGS="$CFLAGS"
   8536 
   8537 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8538 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8539 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8540 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8541 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8542 then :
   8543   printf %s "(cached) " >&6
   8544 else $as_nop
   8545   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8546 /* end confdefs.h.  */
   8547 int i;
   8548 _ACEOF
   8549 if ac_fn_c_try_compile "$LINENO"
   8550 then :
   8551   xorg_cv_cc_flag_unknown_warning_option=yes
   8552 else $as_nop
   8553   xorg_cv_cc_flag_unknown_warning_option=no
   8554 fi
   8555 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8556 fi
   8557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8558 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8559 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8560 	CFLAGS="$xorg_testset_save_CFLAGS"
   8561 fi
   8562 
   8563 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8564 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8565 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8566 	fi
   8567 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8568 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8569 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8570 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8571 then :
   8572   printf %s "(cached) " >&6
   8573 else $as_nop
   8574   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8575 /* end confdefs.h.  */
   8576 int i;
   8577 _ACEOF
   8578 if ac_fn_c_try_compile "$LINENO"
   8579 then :
   8580   xorg_cv_cc_flag_unused_command_line_argument=yes
   8581 else $as_nop
   8582   xorg_cv_cc_flag_unused_command_line_argument=no
   8583 fi
   8584 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8585 fi
   8586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8587 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8588 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8589 	CFLAGS="$xorg_testset_save_CFLAGS"
   8590 fi
   8591 
   8592 found="no"
   8593 
   8594 	if test $found = "no" ; then
   8595 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8596 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8597 		fi
   8598 
   8599 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8600 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8601 		fi
   8602 
   8603 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8604 
   8605 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8606 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8607 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8608 		if eval test \${$cacheid+y}
   8609 then :
   8610   printf %s "(cached) " >&6
   8611 else $as_nop
   8612   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8613 /* end confdefs.h.  */
   8614 int i;
   8615 int
   8616 main (void)
   8617 {
   8618 
   8619   ;
   8620   return 0;
   8621 }
   8622 _ACEOF
   8623 if ac_fn_c_try_link "$LINENO"
   8624 then :
   8625   eval $cacheid=yes
   8626 else $as_nop
   8627   eval $cacheid=no
   8628 fi
   8629 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8630     conftest$ac_exeext conftest.$ac_ext
   8631 fi
   8632 
   8633 
   8634 		CFLAGS="$xorg_testset_save_CFLAGS"
   8635 
   8636 		eval supported=\$$cacheid
   8637 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8638 printf "%s\n" "$supported" >&6; }
   8639 		if test "$supported" = "yes" ; then
   8640 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8641 			found="yes"
   8642 		fi
   8643 	fi
   8644 
   8645 	if test $found = "no" ; then
   8646 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8647 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8648 		fi
   8649 
   8650 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8651 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8652 		fi
   8653 
   8654 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8655 
   8656 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8657 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8658 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8659 		if eval test \${$cacheid+y}
   8660 then :
   8661   printf %s "(cached) " >&6
   8662 else $as_nop
   8663   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8664 /* end confdefs.h.  */
   8665 int i;
   8666 int
   8667 main (void)
   8668 {
   8669 
   8670   ;
   8671   return 0;
   8672 }
   8673 _ACEOF
   8674 if ac_fn_c_try_link "$LINENO"
   8675 then :
   8676   eval $cacheid=yes
   8677 else $as_nop
   8678   eval $cacheid=no
   8679 fi
   8680 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8681     conftest$ac_exeext conftest.$ac_ext
   8682 fi
   8683 
   8684 
   8685 		CFLAGS="$xorg_testset_save_CFLAGS"
   8686 
   8687 		eval supported=\$$cacheid
   8688 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8689 printf "%s\n" "$supported" >&6; }
   8690 		if test "$supported" = "yes" ; then
   8691 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8692 			found="yes"
   8693 		fi
   8694 	fi
   8695 
   8696 
   8697 
   8698 
   8699 
   8700 
   8701 
   8702 
   8703 
   8704 
   8705 
   8706 
   8707 
   8708 
   8709 
   8710 xorg_testset_save_CFLAGS="$CFLAGS"
   8711 
   8712 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8713 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8714 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8715 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8716 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8717 then :
   8718   printf %s "(cached) " >&6
   8719 else $as_nop
   8720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8721 /* end confdefs.h.  */
   8722 int i;
   8723 _ACEOF
   8724 if ac_fn_c_try_compile "$LINENO"
   8725 then :
   8726   xorg_cv_cc_flag_unknown_warning_option=yes
   8727 else $as_nop
   8728   xorg_cv_cc_flag_unknown_warning_option=no
   8729 fi
   8730 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8731 fi
   8732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8733 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8734 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8735 	CFLAGS="$xorg_testset_save_CFLAGS"
   8736 fi
   8737 
   8738 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8739 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8740 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8741 	fi
   8742 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8743 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8744 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8745 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8746 then :
   8747   printf %s "(cached) " >&6
   8748 else $as_nop
   8749   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8750 /* end confdefs.h.  */
   8751 int i;
   8752 _ACEOF
   8753 if ac_fn_c_try_compile "$LINENO"
   8754 then :
   8755   xorg_cv_cc_flag_unused_command_line_argument=yes
   8756 else $as_nop
   8757   xorg_cv_cc_flag_unused_command_line_argument=no
   8758 fi
   8759 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8760 fi
   8761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8762 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8763 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8764 	CFLAGS="$xorg_testset_save_CFLAGS"
   8765 fi
   8766 
   8767 found="no"
   8768 
   8769 	if test $found = "no" ; then
   8770 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8771 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8772 		fi
   8773 
   8774 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8775 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8776 		fi
   8777 
   8778 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8779 
   8780 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8781 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8782 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8783 		if eval test \${$cacheid+y}
   8784 then :
   8785   printf %s "(cached) " >&6
   8786 else $as_nop
   8787   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8788 /* end confdefs.h.  */
   8789 int i;
   8790 int
   8791 main (void)
   8792 {
   8793 
   8794   ;
   8795   return 0;
   8796 }
   8797 _ACEOF
   8798 if ac_fn_c_try_link "$LINENO"
   8799 then :
   8800   eval $cacheid=yes
   8801 else $as_nop
   8802   eval $cacheid=no
   8803 fi
   8804 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8805     conftest$ac_exeext conftest.$ac_ext
   8806 fi
   8807 
   8808 
   8809 		CFLAGS="$xorg_testset_save_CFLAGS"
   8810 
   8811 		eval supported=\$$cacheid
   8812 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8813 printf "%s\n" "$supported" >&6; }
   8814 		if test "$supported" = "yes" ; then
   8815 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8816 			found="yes"
   8817 		fi
   8818 	fi
   8819 
   8820  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8821 else
   8822 { 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
   8823 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;}
   8824 
   8825 
   8826 
   8827 
   8828 
   8829 
   8830 
   8831 
   8832 
   8833 
   8834 
   8835 
   8836 
   8837 xorg_testset_save_CFLAGS="$CFLAGS"
   8838 
   8839 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8840 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8841 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8842 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8843 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8844 then :
   8845   printf %s "(cached) " >&6
   8846 else $as_nop
   8847   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8848 /* end confdefs.h.  */
   8849 int i;
   8850 _ACEOF
   8851 if ac_fn_c_try_compile "$LINENO"
   8852 then :
   8853   xorg_cv_cc_flag_unknown_warning_option=yes
   8854 else $as_nop
   8855   xorg_cv_cc_flag_unknown_warning_option=no
   8856 fi
   8857 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8858 fi
   8859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8860 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8861 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8862 	CFLAGS="$xorg_testset_save_CFLAGS"
   8863 fi
   8864 
   8865 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8866 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8867 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8868 	fi
   8869 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8870 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8871 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8872 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8873 then :
   8874   printf %s "(cached) " >&6
   8875 else $as_nop
   8876   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8877 /* end confdefs.h.  */
   8878 int i;
   8879 _ACEOF
   8880 if ac_fn_c_try_compile "$LINENO"
   8881 then :
   8882   xorg_cv_cc_flag_unused_command_line_argument=yes
   8883 else $as_nop
   8884   xorg_cv_cc_flag_unused_command_line_argument=no
   8885 fi
   8886 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8887 fi
   8888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8889 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8890 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8891 	CFLAGS="$xorg_testset_save_CFLAGS"
   8892 fi
   8893 
   8894 found="no"
   8895 
   8896 	if test $found = "no" ; then
   8897 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8898 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8899 		fi
   8900 
   8901 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8902 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8903 		fi
   8904 
   8905 		CFLAGS="$CFLAGS -Wimplicit"
   8906 
   8907 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8908 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   8909 		cacheid=xorg_cv_cc_flag__Wimplicit
   8910 		if eval test \${$cacheid+y}
   8911 then :
   8912   printf %s "(cached) " >&6
   8913 else $as_nop
   8914   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8915 /* end confdefs.h.  */
   8916 int i;
   8917 int
   8918 main (void)
   8919 {
   8920 
   8921   ;
   8922   return 0;
   8923 }
   8924 _ACEOF
   8925 if ac_fn_c_try_link "$LINENO"
   8926 then :
   8927   eval $cacheid=yes
   8928 else $as_nop
   8929   eval $cacheid=no
   8930 fi
   8931 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8932     conftest$ac_exeext conftest.$ac_ext
   8933 fi
   8934 
   8935 
   8936 		CFLAGS="$xorg_testset_save_CFLAGS"
   8937 
   8938 		eval supported=\$$cacheid
   8939 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8940 printf "%s\n" "$supported" >&6; }
   8941 		if test "$supported" = "yes" ; then
   8942 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8943 			found="yes"
   8944 		fi
   8945 	fi
   8946 
   8947 
   8948 
   8949 
   8950 
   8951 
   8952 
   8953 
   8954 
   8955 
   8956 
   8957 
   8958 
   8959 
   8960 
   8961 xorg_testset_save_CFLAGS="$CFLAGS"
   8962 
   8963 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8964 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8965 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8966 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8967 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8968 then :
   8969   printf %s "(cached) " >&6
   8970 else $as_nop
   8971   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8972 /* end confdefs.h.  */
   8973 int i;
   8974 _ACEOF
   8975 if ac_fn_c_try_compile "$LINENO"
   8976 then :
   8977   xorg_cv_cc_flag_unknown_warning_option=yes
   8978 else $as_nop
   8979   xorg_cv_cc_flag_unknown_warning_option=no
   8980 fi
   8981 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8982 fi
   8983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8984 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8985 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8986 	CFLAGS="$xorg_testset_save_CFLAGS"
   8987 fi
   8988 
   8989 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8990 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8991 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8992 	fi
   8993 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8994 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8995 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8996 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8997 then :
   8998   printf %s "(cached) " >&6
   8999 else $as_nop
   9000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9001 /* end confdefs.h.  */
   9002 int i;
   9003 _ACEOF
   9004 if ac_fn_c_try_compile "$LINENO"
   9005 then :
   9006   xorg_cv_cc_flag_unused_command_line_argument=yes
   9007 else $as_nop
   9008   xorg_cv_cc_flag_unused_command_line_argument=no
   9009 fi
   9010 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9011 fi
   9012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9013 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9014 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9015 	CFLAGS="$xorg_testset_save_CFLAGS"
   9016 fi
   9017 
   9018 found="no"
   9019 
   9020 	if test $found = "no" ; then
   9021 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9022 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9023 		fi
   9024 
   9025 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9026 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9027 		fi
   9028 
   9029 		CFLAGS="$CFLAGS -Wnonnull"
   9030 
   9031 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9032 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9033 		cacheid=xorg_cv_cc_flag__Wnonnull
   9034 		if eval test \${$cacheid+y}
   9035 then :
   9036   printf %s "(cached) " >&6
   9037 else $as_nop
   9038   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9039 /* end confdefs.h.  */
   9040 int i;
   9041 int
   9042 main (void)
   9043 {
   9044 
   9045   ;
   9046   return 0;
   9047 }
   9048 _ACEOF
   9049 if ac_fn_c_try_link "$LINENO"
   9050 then :
   9051   eval $cacheid=yes
   9052 else $as_nop
   9053   eval $cacheid=no
   9054 fi
   9055 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9056     conftest$ac_exeext conftest.$ac_ext
   9057 fi
   9058 
   9059 
   9060 		CFLAGS="$xorg_testset_save_CFLAGS"
   9061 
   9062 		eval supported=\$$cacheid
   9063 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9064 printf "%s\n" "$supported" >&6; }
   9065 		if test "$supported" = "yes" ; then
   9066 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9067 			found="yes"
   9068 		fi
   9069 	fi
   9070 
   9071 
   9072 
   9073 
   9074 
   9075 
   9076 
   9077 
   9078 
   9079 
   9080 
   9081 
   9082 
   9083 
   9084 
   9085 xorg_testset_save_CFLAGS="$CFLAGS"
   9086 
   9087 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9088 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9089 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9090 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9091 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9092 then :
   9093   printf %s "(cached) " >&6
   9094 else $as_nop
   9095   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9096 /* end confdefs.h.  */
   9097 int i;
   9098 _ACEOF
   9099 if ac_fn_c_try_compile "$LINENO"
   9100 then :
   9101   xorg_cv_cc_flag_unknown_warning_option=yes
   9102 else $as_nop
   9103   xorg_cv_cc_flag_unknown_warning_option=no
   9104 fi
   9105 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9106 fi
   9107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9108 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9109 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9110 	CFLAGS="$xorg_testset_save_CFLAGS"
   9111 fi
   9112 
   9113 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9114 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9115 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9116 	fi
   9117 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9118 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9119 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9120 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9121 then :
   9122   printf %s "(cached) " >&6
   9123 else $as_nop
   9124   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9125 /* end confdefs.h.  */
   9126 int i;
   9127 _ACEOF
   9128 if ac_fn_c_try_compile "$LINENO"
   9129 then :
   9130   xorg_cv_cc_flag_unused_command_line_argument=yes
   9131 else $as_nop
   9132   xorg_cv_cc_flag_unused_command_line_argument=no
   9133 fi
   9134 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9135 fi
   9136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9137 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9138 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9139 	CFLAGS="$xorg_testset_save_CFLAGS"
   9140 fi
   9141 
   9142 found="no"
   9143 
   9144 	if test $found = "no" ; then
   9145 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9146 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9147 		fi
   9148 
   9149 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9150 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9151 		fi
   9152 
   9153 		CFLAGS="$CFLAGS -Winit-self"
   9154 
   9155 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9156 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9157 		cacheid=xorg_cv_cc_flag__Winit_self
   9158 		if eval test \${$cacheid+y}
   9159 then :
   9160   printf %s "(cached) " >&6
   9161 else $as_nop
   9162   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9163 /* end confdefs.h.  */
   9164 int i;
   9165 int
   9166 main (void)
   9167 {
   9168 
   9169   ;
   9170   return 0;
   9171 }
   9172 _ACEOF
   9173 if ac_fn_c_try_link "$LINENO"
   9174 then :
   9175   eval $cacheid=yes
   9176 else $as_nop
   9177   eval $cacheid=no
   9178 fi
   9179 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9180     conftest$ac_exeext conftest.$ac_ext
   9181 fi
   9182 
   9183 
   9184 		CFLAGS="$xorg_testset_save_CFLAGS"
   9185 
   9186 		eval supported=\$$cacheid
   9187 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9188 printf "%s\n" "$supported" >&6; }
   9189 		if test "$supported" = "yes" ; then
   9190 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9191 			found="yes"
   9192 		fi
   9193 	fi
   9194 
   9195 
   9196 
   9197 
   9198 
   9199 
   9200 
   9201 
   9202 
   9203 
   9204 
   9205 
   9206 
   9207 
   9208 
   9209 xorg_testset_save_CFLAGS="$CFLAGS"
   9210 
   9211 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9212 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9213 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9214 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9215 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9216 then :
   9217   printf %s "(cached) " >&6
   9218 else $as_nop
   9219   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9220 /* end confdefs.h.  */
   9221 int i;
   9222 _ACEOF
   9223 if ac_fn_c_try_compile "$LINENO"
   9224 then :
   9225   xorg_cv_cc_flag_unknown_warning_option=yes
   9226 else $as_nop
   9227   xorg_cv_cc_flag_unknown_warning_option=no
   9228 fi
   9229 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9230 fi
   9231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9232 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9233 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9234 	CFLAGS="$xorg_testset_save_CFLAGS"
   9235 fi
   9236 
   9237 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9238 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9239 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9240 	fi
   9241 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9242 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9243 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9244 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9245 then :
   9246   printf %s "(cached) " >&6
   9247 else $as_nop
   9248   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9249 /* end confdefs.h.  */
   9250 int i;
   9251 _ACEOF
   9252 if ac_fn_c_try_compile "$LINENO"
   9253 then :
   9254   xorg_cv_cc_flag_unused_command_line_argument=yes
   9255 else $as_nop
   9256   xorg_cv_cc_flag_unused_command_line_argument=no
   9257 fi
   9258 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9259 fi
   9260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9261 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9262 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9263 	CFLAGS="$xorg_testset_save_CFLAGS"
   9264 fi
   9265 
   9266 found="no"
   9267 
   9268 	if test $found = "no" ; then
   9269 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9270 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9271 		fi
   9272 
   9273 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9274 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9275 		fi
   9276 
   9277 		CFLAGS="$CFLAGS -Wmain"
   9278 
   9279 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9280 printf %s "checking if $CC supports -Wmain... " >&6; }
   9281 		cacheid=xorg_cv_cc_flag__Wmain
   9282 		if eval test \${$cacheid+y}
   9283 then :
   9284   printf %s "(cached) " >&6
   9285 else $as_nop
   9286   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9287 /* end confdefs.h.  */
   9288 int i;
   9289 int
   9290 main (void)
   9291 {
   9292 
   9293   ;
   9294   return 0;
   9295 }
   9296 _ACEOF
   9297 if ac_fn_c_try_link "$LINENO"
   9298 then :
   9299   eval $cacheid=yes
   9300 else $as_nop
   9301   eval $cacheid=no
   9302 fi
   9303 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9304     conftest$ac_exeext conftest.$ac_ext
   9305 fi
   9306 
   9307 
   9308 		CFLAGS="$xorg_testset_save_CFLAGS"
   9309 
   9310 		eval supported=\$$cacheid
   9311 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9312 printf "%s\n" "$supported" >&6; }
   9313 		if test "$supported" = "yes" ; then
   9314 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9315 			found="yes"
   9316 		fi
   9317 	fi
   9318 
   9319 
   9320 
   9321 
   9322 
   9323 
   9324 
   9325 
   9326 
   9327 
   9328 
   9329 
   9330 
   9331 
   9332 
   9333 xorg_testset_save_CFLAGS="$CFLAGS"
   9334 
   9335 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9336 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9337 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9338 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9339 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9340 then :
   9341   printf %s "(cached) " >&6
   9342 else $as_nop
   9343   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9344 /* end confdefs.h.  */
   9345 int i;
   9346 _ACEOF
   9347 if ac_fn_c_try_compile "$LINENO"
   9348 then :
   9349   xorg_cv_cc_flag_unknown_warning_option=yes
   9350 else $as_nop
   9351   xorg_cv_cc_flag_unknown_warning_option=no
   9352 fi
   9353 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9354 fi
   9355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9356 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9357 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9358 	CFLAGS="$xorg_testset_save_CFLAGS"
   9359 fi
   9360 
   9361 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9362 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9363 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9364 	fi
   9365 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9366 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9367 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9368 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9369 then :
   9370   printf %s "(cached) " >&6
   9371 else $as_nop
   9372   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9373 /* end confdefs.h.  */
   9374 int i;
   9375 _ACEOF
   9376 if ac_fn_c_try_compile "$LINENO"
   9377 then :
   9378   xorg_cv_cc_flag_unused_command_line_argument=yes
   9379 else $as_nop
   9380   xorg_cv_cc_flag_unused_command_line_argument=no
   9381 fi
   9382 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9383 fi
   9384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9385 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9386 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9387 	CFLAGS="$xorg_testset_save_CFLAGS"
   9388 fi
   9389 
   9390 found="no"
   9391 
   9392 	if test $found = "no" ; then
   9393 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9394 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9395 		fi
   9396 
   9397 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9398 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9399 		fi
   9400 
   9401 		CFLAGS="$CFLAGS -Wmissing-braces"
   9402 
   9403 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9404 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9405 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9406 		if eval test \${$cacheid+y}
   9407 then :
   9408   printf %s "(cached) " >&6
   9409 else $as_nop
   9410   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9411 /* end confdefs.h.  */
   9412 int i;
   9413 int
   9414 main (void)
   9415 {
   9416 
   9417   ;
   9418   return 0;
   9419 }
   9420 _ACEOF
   9421 if ac_fn_c_try_link "$LINENO"
   9422 then :
   9423   eval $cacheid=yes
   9424 else $as_nop
   9425   eval $cacheid=no
   9426 fi
   9427 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9428     conftest$ac_exeext conftest.$ac_ext
   9429 fi
   9430 
   9431 
   9432 		CFLAGS="$xorg_testset_save_CFLAGS"
   9433 
   9434 		eval supported=\$$cacheid
   9435 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9436 printf "%s\n" "$supported" >&6; }
   9437 		if test "$supported" = "yes" ; then
   9438 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9439 			found="yes"
   9440 		fi
   9441 	fi
   9442 
   9443 
   9444 
   9445 
   9446 
   9447 
   9448 
   9449 
   9450 
   9451 
   9452 
   9453 
   9454 
   9455 
   9456 
   9457 xorg_testset_save_CFLAGS="$CFLAGS"
   9458 
   9459 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9460 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9461 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9462 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9463 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9464 then :
   9465   printf %s "(cached) " >&6
   9466 else $as_nop
   9467   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9468 /* end confdefs.h.  */
   9469 int i;
   9470 _ACEOF
   9471 if ac_fn_c_try_compile "$LINENO"
   9472 then :
   9473   xorg_cv_cc_flag_unknown_warning_option=yes
   9474 else $as_nop
   9475   xorg_cv_cc_flag_unknown_warning_option=no
   9476 fi
   9477 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9478 fi
   9479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9480 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9481 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9482 	CFLAGS="$xorg_testset_save_CFLAGS"
   9483 fi
   9484 
   9485 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9486 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9487 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9488 	fi
   9489 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9490 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9491 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9492 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9493 then :
   9494   printf %s "(cached) " >&6
   9495 else $as_nop
   9496   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9497 /* end confdefs.h.  */
   9498 int i;
   9499 _ACEOF
   9500 if ac_fn_c_try_compile "$LINENO"
   9501 then :
   9502   xorg_cv_cc_flag_unused_command_line_argument=yes
   9503 else $as_nop
   9504   xorg_cv_cc_flag_unused_command_line_argument=no
   9505 fi
   9506 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9507 fi
   9508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9509 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9510 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9511 	CFLAGS="$xorg_testset_save_CFLAGS"
   9512 fi
   9513 
   9514 found="no"
   9515 
   9516 	if test $found = "no" ; then
   9517 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9518 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9519 		fi
   9520 
   9521 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9522 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9523 		fi
   9524 
   9525 		CFLAGS="$CFLAGS -Wsequence-point"
   9526 
   9527 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9528 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9529 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9530 		if eval test \${$cacheid+y}
   9531 then :
   9532   printf %s "(cached) " >&6
   9533 else $as_nop
   9534   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9535 /* end confdefs.h.  */
   9536 int i;
   9537 int
   9538 main (void)
   9539 {
   9540 
   9541   ;
   9542   return 0;
   9543 }
   9544 _ACEOF
   9545 if ac_fn_c_try_link "$LINENO"
   9546 then :
   9547   eval $cacheid=yes
   9548 else $as_nop
   9549   eval $cacheid=no
   9550 fi
   9551 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9552     conftest$ac_exeext conftest.$ac_ext
   9553 fi
   9554 
   9555 
   9556 		CFLAGS="$xorg_testset_save_CFLAGS"
   9557 
   9558 		eval supported=\$$cacheid
   9559 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9560 printf "%s\n" "$supported" >&6; }
   9561 		if test "$supported" = "yes" ; then
   9562 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9563 			found="yes"
   9564 		fi
   9565 	fi
   9566 
   9567 
   9568 
   9569 
   9570 
   9571 
   9572 
   9573 
   9574 
   9575 
   9576 
   9577 
   9578 
   9579 
   9580 
   9581 xorg_testset_save_CFLAGS="$CFLAGS"
   9582 
   9583 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9584 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9585 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9586 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9587 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9588 then :
   9589   printf %s "(cached) " >&6
   9590 else $as_nop
   9591   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9592 /* end confdefs.h.  */
   9593 int i;
   9594 _ACEOF
   9595 if ac_fn_c_try_compile "$LINENO"
   9596 then :
   9597   xorg_cv_cc_flag_unknown_warning_option=yes
   9598 else $as_nop
   9599   xorg_cv_cc_flag_unknown_warning_option=no
   9600 fi
   9601 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9602 fi
   9603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9604 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9605 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9606 	CFLAGS="$xorg_testset_save_CFLAGS"
   9607 fi
   9608 
   9609 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9610 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9611 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9612 	fi
   9613 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9614 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9615 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9616 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9617 then :
   9618   printf %s "(cached) " >&6
   9619 else $as_nop
   9620   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9621 /* end confdefs.h.  */
   9622 int i;
   9623 _ACEOF
   9624 if ac_fn_c_try_compile "$LINENO"
   9625 then :
   9626   xorg_cv_cc_flag_unused_command_line_argument=yes
   9627 else $as_nop
   9628   xorg_cv_cc_flag_unused_command_line_argument=no
   9629 fi
   9630 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9631 fi
   9632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9633 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9634 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9635 	CFLAGS="$xorg_testset_save_CFLAGS"
   9636 fi
   9637 
   9638 found="no"
   9639 
   9640 	if test $found = "no" ; then
   9641 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9642 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9643 		fi
   9644 
   9645 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9646 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9647 		fi
   9648 
   9649 		CFLAGS="$CFLAGS -Wreturn-type"
   9650 
   9651 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9652 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   9653 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9654 		if eval test \${$cacheid+y}
   9655 then :
   9656   printf %s "(cached) " >&6
   9657 else $as_nop
   9658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9659 /* end confdefs.h.  */
   9660 int i;
   9661 int
   9662 main (void)
   9663 {
   9664 
   9665   ;
   9666   return 0;
   9667 }
   9668 _ACEOF
   9669 if ac_fn_c_try_link "$LINENO"
   9670 then :
   9671   eval $cacheid=yes
   9672 else $as_nop
   9673   eval $cacheid=no
   9674 fi
   9675 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9676     conftest$ac_exeext conftest.$ac_ext
   9677 fi
   9678 
   9679 
   9680 		CFLAGS="$xorg_testset_save_CFLAGS"
   9681 
   9682 		eval supported=\$$cacheid
   9683 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9684 printf "%s\n" "$supported" >&6; }
   9685 		if test "$supported" = "yes" ; then
   9686 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9687 			found="yes"
   9688 		fi
   9689 	fi
   9690 
   9691 
   9692 
   9693 
   9694 
   9695 
   9696 
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 
   9703 
   9704 
   9705 xorg_testset_save_CFLAGS="$CFLAGS"
   9706 
   9707 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9708 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9709 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9710 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9711 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9712 then :
   9713   printf %s "(cached) " >&6
   9714 else $as_nop
   9715   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9716 /* end confdefs.h.  */
   9717 int i;
   9718 _ACEOF
   9719 if ac_fn_c_try_compile "$LINENO"
   9720 then :
   9721   xorg_cv_cc_flag_unknown_warning_option=yes
   9722 else $as_nop
   9723   xorg_cv_cc_flag_unknown_warning_option=no
   9724 fi
   9725 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9726 fi
   9727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9728 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9729 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9730 	CFLAGS="$xorg_testset_save_CFLAGS"
   9731 fi
   9732 
   9733 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9734 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9735 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9736 	fi
   9737 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9738 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9739 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9740 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9741 then :
   9742   printf %s "(cached) " >&6
   9743 else $as_nop
   9744   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9745 /* end confdefs.h.  */
   9746 int i;
   9747 _ACEOF
   9748 if ac_fn_c_try_compile "$LINENO"
   9749 then :
   9750   xorg_cv_cc_flag_unused_command_line_argument=yes
   9751 else $as_nop
   9752   xorg_cv_cc_flag_unused_command_line_argument=no
   9753 fi
   9754 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9755 fi
   9756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9757 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9758 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9759 	CFLAGS="$xorg_testset_save_CFLAGS"
   9760 fi
   9761 
   9762 found="no"
   9763 
   9764 	if test $found = "no" ; then
   9765 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9766 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9767 		fi
   9768 
   9769 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9770 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9771 		fi
   9772 
   9773 		CFLAGS="$CFLAGS -Wtrigraphs"
   9774 
   9775 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9776 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   9777 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9778 		if eval test \${$cacheid+y}
   9779 then :
   9780   printf %s "(cached) " >&6
   9781 else $as_nop
   9782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9783 /* end confdefs.h.  */
   9784 int i;
   9785 int
   9786 main (void)
   9787 {
   9788 
   9789   ;
   9790   return 0;
   9791 }
   9792 _ACEOF
   9793 if ac_fn_c_try_link "$LINENO"
   9794 then :
   9795   eval $cacheid=yes
   9796 else $as_nop
   9797   eval $cacheid=no
   9798 fi
   9799 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9800     conftest$ac_exeext conftest.$ac_ext
   9801 fi
   9802 
   9803 
   9804 		CFLAGS="$xorg_testset_save_CFLAGS"
   9805 
   9806 		eval supported=\$$cacheid
   9807 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9808 printf "%s\n" "$supported" >&6; }
   9809 		if test "$supported" = "yes" ; then
   9810 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9811 			found="yes"
   9812 		fi
   9813 	fi
   9814 
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 
   9826 
   9827 
   9828 
   9829 xorg_testset_save_CFLAGS="$CFLAGS"
   9830 
   9831 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9832 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9833 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9834 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9835 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9836 then :
   9837   printf %s "(cached) " >&6
   9838 else $as_nop
   9839   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9840 /* end confdefs.h.  */
   9841 int i;
   9842 _ACEOF
   9843 if ac_fn_c_try_compile "$LINENO"
   9844 then :
   9845   xorg_cv_cc_flag_unknown_warning_option=yes
   9846 else $as_nop
   9847   xorg_cv_cc_flag_unknown_warning_option=no
   9848 fi
   9849 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   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 $as_nop
   9868   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 $as_nop
   9876   xorg_cv_cc_flag_unused_command_line_argument=no
   9877 fi
   9878 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9879 fi
   9880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9881 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9882 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9883 	CFLAGS="$xorg_testset_save_CFLAGS"
   9884 fi
   9885 
   9886 found="no"
   9887 
   9888 	if test $found = "no" ; then
   9889 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9890 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9891 		fi
   9892 
   9893 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9894 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9895 		fi
   9896 
   9897 		CFLAGS="$CFLAGS -Warray-bounds"
   9898 
   9899 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9900 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   9901 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9902 		if eval test \${$cacheid+y}
   9903 then :
   9904   printf %s "(cached) " >&6
   9905 else $as_nop
   9906   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9907 /* end confdefs.h.  */
   9908 int i;
   9909 int
   9910 main (void)
   9911 {
   9912 
   9913   ;
   9914   return 0;
   9915 }
   9916 _ACEOF
   9917 if ac_fn_c_try_link "$LINENO"
   9918 then :
   9919   eval $cacheid=yes
   9920 else $as_nop
   9921   eval $cacheid=no
   9922 fi
   9923 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9924     conftest$ac_exeext conftest.$ac_ext
   9925 fi
   9926 
   9927 
   9928 		CFLAGS="$xorg_testset_save_CFLAGS"
   9929 
   9930 		eval supported=\$$cacheid
   9931 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9932 printf "%s\n" "$supported" >&6; }
   9933 		if test "$supported" = "yes" ; then
   9934 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9935 			found="yes"
   9936 		fi
   9937 	fi
   9938 
   9939 
   9940 
   9941 
   9942 
   9943 
   9944 
   9945 
   9946 
   9947 
   9948 
   9949 
   9950 
   9951 
   9952 
   9953 xorg_testset_save_CFLAGS="$CFLAGS"
   9954 
   9955 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9956 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9957 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9958 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9959 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9960 then :
   9961   printf %s "(cached) " >&6
   9962 else $as_nop
   9963   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9964 /* end confdefs.h.  */
   9965 int i;
   9966 _ACEOF
   9967 if ac_fn_c_try_compile "$LINENO"
   9968 then :
   9969   xorg_cv_cc_flag_unknown_warning_option=yes
   9970 else $as_nop
   9971   xorg_cv_cc_flag_unknown_warning_option=no
   9972 fi
   9973 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9974 fi
   9975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9976 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9977 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9978 	CFLAGS="$xorg_testset_save_CFLAGS"
   9979 fi
   9980 
   9981 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9982 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9983 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9984 	fi
   9985 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9986 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9987 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9988 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9989 then :
   9990   printf %s "(cached) " >&6
   9991 else $as_nop
   9992   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9993 /* end confdefs.h.  */
   9994 int i;
   9995 _ACEOF
   9996 if ac_fn_c_try_compile "$LINENO"
   9997 then :
   9998   xorg_cv_cc_flag_unused_command_line_argument=yes
   9999 else $as_nop
   10000   xorg_cv_cc_flag_unused_command_line_argument=no
   10001 fi
   10002 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10003 fi
   10004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10005 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10006 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10007 	CFLAGS="$xorg_testset_save_CFLAGS"
   10008 fi
   10009 
   10010 found="no"
   10011 
   10012 	if test $found = "no" ; then
   10013 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10014 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10015 		fi
   10016 
   10017 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10018 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10019 		fi
   10020 
   10021 		CFLAGS="$CFLAGS -Wwrite-strings"
   10022 
   10023 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10024 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10025 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10026 		if eval test \${$cacheid+y}
   10027 then :
   10028   printf %s "(cached) " >&6
   10029 else $as_nop
   10030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10031 /* end confdefs.h.  */
   10032 int i;
   10033 int
   10034 main (void)
   10035 {
   10036 
   10037   ;
   10038   return 0;
   10039 }
   10040 _ACEOF
   10041 if ac_fn_c_try_link "$LINENO"
   10042 then :
   10043   eval $cacheid=yes
   10044 else $as_nop
   10045   eval $cacheid=no
   10046 fi
   10047 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10048     conftest$ac_exeext conftest.$ac_ext
   10049 fi
   10050 
   10051 
   10052 		CFLAGS="$xorg_testset_save_CFLAGS"
   10053 
   10054 		eval supported=\$$cacheid
   10055 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10056 printf "%s\n" "$supported" >&6; }
   10057 		if test "$supported" = "yes" ; then
   10058 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10059 			found="yes"
   10060 		fi
   10061 	fi
   10062 
   10063 
   10064 
   10065 
   10066 
   10067 
   10068 
   10069 
   10070 
   10071 
   10072 
   10073 
   10074 
   10075 
   10076 
   10077 xorg_testset_save_CFLAGS="$CFLAGS"
   10078 
   10079 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10080 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10081 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10082 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10083 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10084 then :
   10085   printf %s "(cached) " >&6
   10086 else $as_nop
   10087   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10088 /* end confdefs.h.  */
   10089 int i;
   10090 _ACEOF
   10091 if ac_fn_c_try_compile "$LINENO"
   10092 then :
   10093   xorg_cv_cc_flag_unknown_warning_option=yes
   10094 else $as_nop
   10095   xorg_cv_cc_flag_unknown_warning_option=no
   10096 fi
   10097 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10098 fi
   10099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10100 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10101 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10102 	CFLAGS="$xorg_testset_save_CFLAGS"
   10103 fi
   10104 
   10105 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10106 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10107 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10108 	fi
   10109 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10110 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10111 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10112 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10113 then :
   10114   printf %s "(cached) " >&6
   10115 else $as_nop
   10116   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10117 /* end confdefs.h.  */
   10118 int i;
   10119 _ACEOF
   10120 if ac_fn_c_try_compile "$LINENO"
   10121 then :
   10122   xorg_cv_cc_flag_unused_command_line_argument=yes
   10123 else $as_nop
   10124   xorg_cv_cc_flag_unused_command_line_argument=no
   10125 fi
   10126 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10127 fi
   10128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10129 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10130 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10131 	CFLAGS="$xorg_testset_save_CFLAGS"
   10132 fi
   10133 
   10134 found="no"
   10135 
   10136 	if test $found = "no" ; then
   10137 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10138 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10139 		fi
   10140 
   10141 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10142 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10143 		fi
   10144 
   10145 		CFLAGS="$CFLAGS -Waddress"
   10146 
   10147 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10148 printf %s "checking if $CC supports -Waddress... " >&6; }
   10149 		cacheid=xorg_cv_cc_flag__Waddress
   10150 		if eval test \${$cacheid+y}
   10151 then :
   10152   printf %s "(cached) " >&6
   10153 else $as_nop
   10154   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10155 /* end confdefs.h.  */
   10156 int i;
   10157 int
   10158 main (void)
   10159 {
   10160 
   10161   ;
   10162   return 0;
   10163 }
   10164 _ACEOF
   10165 if ac_fn_c_try_link "$LINENO"
   10166 then :
   10167   eval $cacheid=yes
   10168 else $as_nop
   10169   eval $cacheid=no
   10170 fi
   10171 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10172     conftest$ac_exeext conftest.$ac_ext
   10173 fi
   10174 
   10175 
   10176 		CFLAGS="$xorg_testset_save_CFLAGS"
   10177 
   10178 		eval supported=\$$cacheid
   10179 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10180 printf "%s\n" "$supported" >&6; }
   10181 		if test "$supported" = "yes" ; then
   10182 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10183 			found="yes"
   10184 		fi
   10185 	fi
   10186 
   10187 
   10188 
   10189 
   10190 
   10191 
   10192 
   10193 
   10194 
   10195 
   10196 
   10197 
   10198 
   10199 
   10200 
   10201 xorg_testset_save_CFLAGS="$CFLAGS"
   10202 
   10203 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10204 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10205 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10206 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10207 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10208 then :
   10209   printf %s "(cached) " >&6
   10210 else $as_nop
   10211   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10212 /* end confdefs.h.  */
   10213 int i;
   10214 _ACEOF
   10215 if ac_fn_c_try_compile "$LINENO"
   10216 then :
   10217   xorg_cv_cc_flag_unknown_warning_option=yes
   10218 else $as_nop
   10219   xorg_cv_cc_flag_unknown_warning_option=no
   10220 fi
   10221 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10222 fi
   10223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10224 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10225 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10226 	CFLAGS="$xorg_testset_save_CFLAGS"
   10227 fi
   10228 
   10229 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10230 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10231 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10232 	fi
   10233 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10234 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10235 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10236 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10237 then :
   10238   printf %s "(cached) " >&6
   10239 else $as_nop
   10240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10241 /* end confdefs.h.  */
   10242 int i;
   10243 _ACEOF
   10244 if ac_fn_c_try_compile "$LINENO"
   10245 then :
   10246   xorg_cv_cc_flag_unused_command_line_argument=yes
   10247 else $as_nop
   10248   xorg_cv_cc_flag_unused_command_line_argument=no
   10249 fi
   10250 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10251 fi
   10252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10253 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10254 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10255 	CFLAGS="$xorg_testset_save_CFLAGS"
   10256 fi
   10257 
   10258 found="no"
   10259 
   10260 	if test $found = "no" ; then
   10261 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10262 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10263 		fi
   10264 
   10265 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10266 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10267 		fi
   10268 
   10269 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10270 
   10271 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10272 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10273 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10274 		if eval test \${$cacheid+y}
   10275 then :
   10276   printf %s "(cached) " >&6
   10277 else $as_nop
   10278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10279 /* end confdefs.h.  */
   10280 int i;
   10281 int
   10282 main (void)
   10283 {
   10284 
   10285   ;
   10286   return 0;
   10287 }
   10288 _ACEOF
   10289 if ac_fn_c_try_link "$LINENO"
   10290 then :
   10291   eval $cacheid=yes
   10292 else $as_nop
   10293   eval $cacheid=no
   10294 fi
   10295 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10296     conftest$ac_exeext conftest.$ac_ext
   10297 fi
   10298 
   10299 
   10300 		CFLAGS="$xorg_testset_save_CFLAGS"
   10301 
   10302 		eval supported=\$$cacheid
   10303 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10304 printf "%s\n" "$supported" >&6; }
   10305 		if test "$supported" = "yes" ; then
   10306 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10307 			found="yes"
   10308 		fi
   10309 	fi
   10310 
   10311 
   10312 
   10313 
   10314 
   10315 
   10316 
   10317 
   10318 
   10319 
   10320 
   10321 
   10322 
   10323 
   10324 
   10325 xorg_testset_save_CFLAGS="$CFLAGS"
   10326 
   10327 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10328 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10329 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10330 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10331 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10332 then :
   10333   printf %s "(cached) " >&6
   10334 else $as_nop
   10335   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10336 /* end confdefs.h.  */
   10337 int i;
   10338 _ACEOF
   10339 if ac_fn_c_try_compile "$LINENO"
   10340 then :
   10341   xorg_cv_cc_flag_unknown_warning_option=yes
   10342 else $as_nop
   10343   xorg_cv_cc_flag_unknown_warning_option=no
   10344 fi
   10345 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10346 fi
   10347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10348 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10349 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10350 	CFLAGS="$xorg_testset_save_CFLAGS"
   10351 fi
   10352 
   10353 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10354 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10355 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10356 	fi
   10357 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10358 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10359 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10360 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10361 then :
   10362   printf %s "(cached) " >&6
   10363 else $as_nop
   10364   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10365 /* end confdefs.h.  */
   10366 int i;
   10367 _ACEOF
   10368 if ac_fn_c_try_compile "$LINENO"
   10369 then :
   10370   xorg_cv_cc_flag_unused_command_line_argument=yes
   10371 else $as_nop
   10372   xorg_cv_cc_flag_unused_command_line_argument=no
   10373 fi
   10374 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10375 fi
   10376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10377 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10378 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10379 	CFLAGS="$xorg_testset_save_CFLAGS"
   10380 fi
   10381 
   10382 found="no"
   10383 
   10384 	if test $found = "no" ; then
   10385 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10386 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10387 		fi
   10388 
   10389 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10390 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10391 		fi
   10392 
   10393 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10394 
   10395 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10396 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10397 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10398 		if eval test \${$cacheid+y}
   10399 then :
   10400   printf %s "(cached) " >&6
   10401 else $as_nop
   10402   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10403 /* end confdefs.h.  */
   10404 int i;
   10405 int
   10406 main (void)
   10407 {
   10408 
   10409   ;
   10410   return 0;
   10411 }
   10412 _ACEOF
   10413 if ac_fn_c_try_link "$LINENO"
   10414 then :
   10415   eval $cacheid=yes
   10416 else $as_nop
   10417   eval $cacheid=no
   10418 fi
   10419 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10420     conftest$ac_exeext conftest.$ac_ext
   10421 fi
   10422 
   10423 
   10424 		CFLAGS="$xorg_testset_save_CFLAGS"
   10425 
   10426 		eval supported=\$$cacheid
   10427 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10428 printf "%s\n" "$supported" >&6; }
   10429 		if test "$supported" = "yes" ; then
   10430 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10431 			found="yes"
   10432 		fi
   10433 	fi
   10434 
   10435 
   10436 fi
   10437 
   10438 
   10439 
   10440 
   10441 
   10442 
   10443 
   10444 		CWARNFLAGS="$BASE_CFLAGS"
   10445 		if  test "x$GCC" = xyes ; then
   10446 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10447 		fi
   10448 
   10449 
   10450 
   10451 
   10452 
   10453 
   10454 
   10455 
   10456 # Check whether --enable-strict-compilation was given.
   10457 if test ${enable_strict_compilation+y}
   10458 then :
   10459   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10460 else $as_nop
   10461   STRICT_COMPILE=no
   10462 fi
   10463 
   10464 
   10465 
   10466 
   10467 
   10468 
   10469 STRICT_CFLAGS=""
   10470 
   10471 
   10472 
   10473 
   10474 
   10475 
   10476 
   10477 
   10478 
   10479 
   10480 
   10481 
   10482 
   10483 xorg_testset_save_CFLAGS="$CFLAGS"
   10484 
   10485 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10486 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10487 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10488 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10489 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10490 then :
   10491   printf %s "(cached) " >&6
   10492 else $as_nop
   10493   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10494 /* end confdefs.h.  */
   10495 int i;
   10496 _ACEOF
   10497 if ac_fn_c_try_compile "$LINENO"
   10498 then :
   10499   xorg_cv_cc_flag_unknown_warning_option=yes
   10500 else $as_nop
   10501   xorg_cv_cc_flag_unknown_warning_option=no
   10502 fi
   10503 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10504 fi
   10505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10506 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10507 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10508 	CFLAGS="$xorg_testset_save_CFLAGS"
   10509 fi
   10510 
   10511 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10512 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10513 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10514 	fi
   10515 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10516 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10517 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10518 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10519 then :
   10520   printf %s "(cached) " >&6
   10521 else $as_nop
   10522   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10523 /* end confdefs.h.  */
   10524 int i;
   10525 _ACEOF
   10526 if ac_fn_c_try_compile "$LINENO"
   10527 then :
   10528   xorg_cv_cc_flag_unused_command_line_argument=yes
   10529 else $as_nop
   10530   xorg_cv_cc_flag_unused_command_line_argument=no
   10531 fi
   10532 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10533 fi
   10534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10535 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10536 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10537 	CFLAGS="$xorg_testset_save_CFLAGS"
   10538 fi
   10539 
   10540 found="no"
   10541 
   10542 	if test $found = "no" ; then
   10543 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10544 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10545 		fi
   10546 
   10547 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10548 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10549 		fi
   10550 
   10551 		CFLAGS="$CFLAGS -pedantic"
   10552 
   10553 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10554 printf %s "checking if $CC supports -pedantic... " >&6; }
   10555 		cacheid=xorg_cv_cc_flag__pedantic
   10556 		if eval test \${$cacheid+y}
   10557 then :
   10558   printf %s "(cached) " >&6
   10559 else $as_nop
   10560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10561 /* end confdefs.h.  */
   10562 int i;
   10563 int
   10564 main (void)
   10565 {
   10566 
   10567   ;
   10568   return 0;
   10569 }
   10570 _ACEOF
   10571 if ac_fn_c_try_link "$LINENO"
   10572 then :
   10573   eval $cacheid=yes
   10574 else $as_nop
   10575   eval $cacheid=no
   10576 fi
   10577 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10578     conftest$ac_exeext conftest.$ac_ext
   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 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   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 $as_nop
   10617   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 $as_nop
   10625   xorg_cv_cc_flag_unknown_warning_option=no
   10626 fi
   10627 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10628 fi
   10629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10630 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10631 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10632 	CFLAGS="$xorg_testset_save_CFLAGS"
   10633 fi
   10634 
   10635 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10636 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10637 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10638 	fi
   10639 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10640 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10641 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10642 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10643 then :
   10644   printf %s "(cached) " >&6
   10645 else $as_nop
   10646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10647 /* end confdefs.h.  */
   10648 int i;
   10649 _ACEOF
   10650 if ac_fn_c_try_compile "$LINENO"
   10651 then :
   10652   xorg_cv_cc_flag_unused_command_line_argument=yes
   10653 else $as_nop
   10654   xorg_cv_cc_flag_unused_command_line_argument=no
   10655 fi
   10656 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10657 fi
   10658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10659 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10660 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10661 	CFLAGS="$xorg_testset_save_CFLAGS"
   10662 fi
   10663 
   10664 found="no"
   10665 
   10666 	if test $found = "no" ; then
   10667 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10668 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10669 		fi
   10670 
   10671 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10672 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10673 		fi
   10674 
   10675 		CFLAGS="$CFLAGS -Werror"
   10676 
   10677 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10678 printf %s "checking if $CC supports -Werror... " >&6; }
   10679 		cacheid=xorg_cv_cc_flag__Werror
   10680 		if eval test \${$cacheid+y}
   10681 then :
   10682   printf %s "(cached) " >&6
   10683 else $as_nop
   10684   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10685 /* end confdefs.h.  */
   10686 int i;
   10687 int
   10688 main (void)
   10689 {
   10690 
   10691   ;
   10692   return 0;
   10693 }
   10694 _ACEOF
   10695 if ac_fn_c_try_link "$LINENO"
   10696 then :
   10697   eval $cacheid=yes
   10698 else $as_nop
   10699   eval $cacheid=no
   10700 fi
   10701 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10702     conftest$ac_exeext conftest.$ac_ext
   10703 fi
   10704 
   10705 
   10706 		CFLAGS="$xorg_testset_save_CFLAGS"
   10707 
   10708 		eval supported=\$$cacheid
   10709 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10710 printf "%s\n" "$supported" >&6; }
   10711 		if test "$supported" = "yes" ; then
   10712 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10713 			found="yes"
   10714 		fi
   10715 	fi
   10716 
   10717 	if test $found = "no" ; then
   10718 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10719 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10720 		fi
   10721 
   10722 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10723 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10724 		fi
   10725 
   10726 		CFLAGS="$CFLAGS -errwarn"
   10727 
   10728 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10729 printf %s "checking if $CC supports -errwarn... " >&6; }
   10730 		cacheid=xorg_cv_cc_flag__errwarn
   10731 		if eval test \${$cacheid+y}
   10732 then :
   10733   printf %s "(cached) " >&6
   10734 else $as_nop
   10735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10736 /* end confdefs.h.  */
   10737 int i;
   10738 int
   10739 main (void)
   10740 {
   10741 
   10742   ;
   10743   return 0;
   10744 }
   10745 _ACEOF
   10746 if ac_fn_c_try_link "$LINENO"
   10747 then :
   10748   eval $cacheid=yes
   10749 else $as_nop
   10750   eval $cacheid=no
   10751 fi
   10752 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10753     conftest$ac_exeext conftest.$ac_ext
   10754 fi
   10755 
   10756 
   10757 		CFLAGS="$xorg_testset_save_CFLAGS"
   10758 
   10759 		eval supported=\$$cacheid
   10760 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10761 printf "%s\n" "$supported" >&6; }
   10762 		if test "$supported" = "yes" ; then
   10763 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10764 			found="yes"
   10765 		fi
   10766 	fi
   10767 
   10768 
   10769 
   10770 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10771 # activate it with -Werror, so we add it here explicitly.
   10772 
   10773 
   10774 
   10775 
   10776 
   10777 
   10778 
   10779 
   10780 
   10781 
   10782 
   10783 
   10784 
   10785 xorg_testset_save_CFLAGS="$CFLAGS"
   10786 
   10787 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10788 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10789 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10790 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10791 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10792 then :
   10793   printf %s "(cached) " >&6
   10794 else $as_nop
   10795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10796 /* end confdefs.h.  */
   10797 int i;
   10798 _ACEOF
   10799 if ac_fn_c_try_compile "$LINENO"
   10800 then :
   10801   xorg_cv_cc_flag_unknown_warning_option=yes
   10802 else $as_nop
   10803   xorg_cv_cc_flag_unknown_warning_option=no
   10804 fi
   10805 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10806 fi
   10807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10808 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10809 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10810 	CFLAGS="$xorg_testset_save_CFLAGS"
   10811 fi
   10812 
   10813 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10814 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10815 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10816 	fi
   10817 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10818 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10819 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10820 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10821 then :
   10822   printf %s "(cached) " >&6
   10823 else $as_nop
   10824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10825 /* end confdefs.h.  */
   10826 int i;
   10827 _ACEOF
   10828 if ac_fn_c_try_compile "$LINENO"
   10829 then :
   10830   xorg_cv_cc_flag_unused_command_line_argument=yes
   10831 else $as_nop
   10832   xorg_cv_cc_flag_unused_command_line_argument=no
   10833 fi
   10834 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10835 fi
   10836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10837 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10838 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10839 	CFLAGS="$xorg_testset_save_CFLAGS"
   10840 fi
   10841 
   10842 found="no"
   10843 
   10844 	if test $found = "no" ; then
   10845 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10846 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10847 		fi
   10848 
   10849 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10850 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10851 		fi
   10852 
   10853 		CFLAGS="$CFLAGS -Werror=attributes"
   10854 
   10855 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10856 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   10857 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10858 		if eval test \${$cacheid+y}
   10859 then :
   10860   printf %s "(cached) " >&6
   10861 else $as_nop
   10862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10863 /* end confdefs.h.  */
   10864 int i;
   10865 int
   10866 main (void)
   10867 {
   10868 
   10869   ;
   10870   return 0;
   10871 }
   10872 _ACEOF
   10873 if ac_fn_c_try_link "$LINENO"
   10874 then :
   10875   eval $cacheid=yes
   10876 else $as_nop
   10877   eval $cacheid=no
   10878 fi
   10879 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10880     conftest$ac_exeext conftest.$ac_ext
   10881 fi
   10882 
   10883 
   10884 		CFLAGS="$xorg_testset_save_CFLAGS"
   10885 
   10886 		eval supported=\$$cacheid
   10887 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10888 printf "%s\n" "$supported" >&6; }
   10889 		if test "$supported" = "yes" ; then
   10890 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10891 			found="yes"
   10892 		fi
   10893 	fi
   10894 
   10895 
   10896 
   10897 if test "x$STRICT_COMPILE" = "xyes"; then
   10898     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10899     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10900 fi
   10901 
   10902 
   10903 
   10904 
   10905 
   10906 
   10907 cat >>confdefs.h <<_ACEOF
   10908 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10909 _ACEOF
   10910 
   10911 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10912 	if test "x$PVM" = "x"; then
   10913 		PVM="0"
   10914 	fi
   10915 
   10916 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   10917 
   10918 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10919 	if test "x$PVP" = "x"; then
   10920 		PVP="0"
   10921 	fi
   10922 
   10923 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   10924 
   10925 
   10926 
   10927 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   10928 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10929 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   10930 touch \$(top_srcdir)/ChangeLog; \
   10931 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   10932 
   10933 
   10934 
   10935 
   10936 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10937 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10938 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10939 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   10940 touch \$(top_srcdir)/INSTALL; \
   10941 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   10942 
   10943 
   10944 
   10945 
   10946 
   10947 
   10948 case $host_os in
   10949     solaris*)
   10950         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   10951         # check for a man page file found in later versions that use
   10952         # traditional section numbers instead
   10953         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   10954 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   10955 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   10956 then :
   10957   printf %s "(cached) " >&6
   10958 else $as_nop
   10959   test "$cross_compiling" = yes &&
   10960   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   10961 if test -r "/usr/share/man/man7/attributes.7"; then
   10962   ac_cv_file__usr_share_man_man7_attributes_7=yes
   10963 else
   10964   ac_cv_file__usr_share_man_man7_attributes_7=no
   10965 fi
   10966 fi
   10967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   10968 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   10969 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   10970 then :
   10971   SYSV_MAN_SECTIONS=false
   10972 else $as_nop
   10973   SYSV_MAN_SECTIONS=true
   10974 fi
   10975 
   10976         ;;
   10977     *) SYSV_MAN_SECTIONS=false ;;
   10978 esac
   10979 
   10980 if test x$APP_MAN_SUFFIX = x    ; then
   10981     APP_MAN_SUFFIX=1
   10982 fi
   10983 if test x$APP_MAN_DIR = x    ; then
   10984     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10985 fi
   10986 
   10987 if test x$LIB_MAN_SUFFIX = x    ; then
   10988     LIB_MAN_SUFFIX=3
   10989 fi
   10990 if test x$LIB_MAN_DIR = x    ; then
   10991     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10992 fi
   10993 
   10994 if test x$FILE_MAN_SUFFIX = x    ; then
   10995     case $SYSV_MAN_SECTIONS in
   10996 	true)				FILE_MAN_SUFFIX=4  ;;
   10997 	*)				FILE_MAN_SUFFIX=5  ;;
   10998     esac
   10999 fi
   11000 if test x$FILE_MAN_DIR = x    ; then
   11001     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11002 fi
   11003 
   11004 if test x$MISC_MAN_SUFFIX = x    ; then
   11005     case $SYSV_MAN_SECTIONS in
   11006 	true)				MISC_MAN_SUFFIX=5  ;;
   11007 	*)				MISC_MAN_SUFFIX=7  ;;
   11008     esac
   11009 fi
   11010 if test x$MISC_MAN_DIR = x    ; then
   11011     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11012 fi
   11013 
   11014 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11015     case $SYSV_MAN_SECTIONS in
   11016 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11017 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11018     esac
   11019 fi
   11020 if test x$DRIVER_MAN_DIR = x    ; then
   11021     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11022 fi
   11023 
   11024 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11025     case $SYSV_MAN_SECTIONS in
   11026 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11027 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11028     esac
   11029 fi
   11030 if test x$ADMIN_MAN_DIR = x    ; then
   11031     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11032 fi
   11033 
   11034 
   11035 
   11036 
   11037 
   11038 
   11039 
   11040 
   11041 
   11042 
   11043 
   11044 
   11045 
   11046 
   11047 
   11048 XORG_MAN_PAGE="X Version 11"
   11049 
   11050 MAN_SUBSTS="\
   11051 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11052 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11053 	-e 's|__xservername__|Xorg|g' \
   11054 	-e 's|__xconfigfile__|xorg.conf|g' \
   11055 	-e 's|__projectroot__|\$(prefix)|g' \
   11056 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11057 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11058 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11059 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11060 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11061 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11062 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11063 
   11064 
   11065 
   11066 # Check whether --enable-silent-rules was given.
   11067 if test ${enable_silent_rules+y}
   11068 then :
   11069   enableval=$enable_silent_rules;
   11070 fi
   11071 
   11072 case $enable_silent_rules in # (((
   11073   yes) AM_DEFAULT_VERBOSITY=0;;
   11074    no) AM_DEFAULT_VERBOSITY=1;;
   11075     *) AM_DEFAULT_VERBOSITY=0;;
   11076 esac
   11077 am_make=${MAKE-make}
   11078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11079 printf %s "checking whether $am_make supports nested variables... " >&6; }
   11080 if test ${am_cv_make_support_nested_variables+y}
   11081 then :
   11082   printf %s "(cached) " >&6
   11083 else $as_nop
   11084   if printf "%s\n" 'TRUE=$(BAR$(V))
   11085 BAR0=false
   11086 BAR1=true
   11087 V=1
   11088 am__doit:
   11089 	@$(TRUE)
   11090 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11091   am_cv_make_support_nested_variables=yes
   11092 else
   11093   am_cv_make_support_nested_variables=no
   11094 fi
   11095 fi
   11096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11097 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   11098 if test $am_cv_make_support_nested_variables = yes; then
   11099     AM_V='$(V)'
   11100   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11101 else
   11102   AM_V=$AM_DEFAULT_VERBOSITY
   11103   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11104 fi
   11105 AM_BACKSLASH='\'
   11106 
   11107 
   11108 
   11109 # Checks for pkg-config packages
   11110 
   11111 pkg_failed=no
   11112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XMESSAGE" >&5
   11113 printf %s "checking for XMESSAGE... " >&6; }
   11114 
   11115 if test -n "$XMESSAGE_CFLAGS"; then
   11116     pkg_cv_XMESSAGE_CFLAGS="$XMESSAGE_CFLAGS"
   11117  elif test -n "$PKG_CONFIG"; then
   11118     if test -n "$PKG_CONFIG" && \
   11119     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7\""; } >&5
   11120   ($PKG_CONFIG --exists --print-errors "xaw7") 2>&5
   11121   ac_status=$?
   11122   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11123   test $ac_status = 0; }; then
   11124   pkg_cv_XMESSAGE_CFLAGS=`$PKG_CONFIG --cflags "xaw7" 2>/dev/null`
   11125 		      test "x$?" != "x0" && pkg_failed=yes
   11126 else
   11127   pkg_failed=yes
   11128 fi
   11129  else
   11130     pkg_failed=untried
   11131 fi
   11132 if test -n "$XMESSAGE_LIBS"; then
   11133     pkg_cv_XMESSAGE_LIBS="$XMESSAGE_LIBS"
   11134  elif test -n "$PKG_CONFIG"; then
   11135     if test -n "$PKG_CONFIG" && \
   11136     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7\""; } >&5
   11137   ($PKG_CONFIG --exists --print-errors "xaw7") 2>&5
   11138   ac_status=$?
   11139   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11140   test $ac_status = 0; }; then
   11141   pkg_cv_XMESSAGE_LIBS=`$PKG_CONFIG --libs "xaw7" 2>/dev/null`
   11142 		      test "x$?" != "x0" && pkg_failed=yes
   11143 else
   11144   pkg_failed=yes
   11145 fi
   11146  else
   11147     pkg_failed=untried
   11148 fi
   11149 
   11150 
   11151 
   11152 if test $pkg_failed = yes; then
   11153    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11154 printf "%s\n" "no" >&6; }
   11155 
   11156 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11157         _pkg_short_errors_supported=yes
   11158 else
   11159         _pkg_short_errors_supported=no
   11160 fi
   11161         if test $_pkg_short_errors_supported = yes; then
   11162 	        XMESSAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xaw7" 2>&1`
   11163         else
   11164 	        XMESSAGE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xaw7" 2>&1`
   11165         fi
   11166 	# Put the nasty error message in config.log where it belongs
   11167 	echo "$XMESSAGE_PKG_ERRORS" >&5
   11168 
   11169 	as_fn_error $? "Package requirements (xaw7) were not met:
   11170 
   11171 $XMESSAGE_PKG_ERRORS
   11172 
   11173 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11174 installed software in a non-standard prefix.
   11175 
   11176 Alternatively, you may set the environment variables XMESSAGE_CFLAGS
   11177 and XMESSAGE_LIBS to avoid the need to call pkg-config.
   11178 See the pkg-config man page for more details." "$LINENO" 5
   11179 elif test $pkg_failed = untried; then
   11180      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11181 printf "%s\n" "no" >&6; }
   11182 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11183 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   11184 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11185 is in your PATH or set the PKG_CONFIG environment variable to the full
   11186 path to pkg-config.
   11187 
   11188 Alternatively, you may set the environment variables XMESSAGE_CFLAGS
   11189 and XMESSAGE_LIBS to avoid the need to call pkg-config.
   11190 See the pkg-config man page for more details.
   11191 
   11192 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11193 See \`config.log' for more details" "$LINENO" 5; }
   11194 else
   11195 	XMESSAGE_CFLAGS=$pkg_cv_XMESSAGE_CFLAGS
   11196 	XMESSAGE_LIBS=$pkg_cv_XMESSAGE_LIBS
   11197         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11198 printf "%s\n" "yes" >&6; }
   11199 
   11200 fi
   11201 
   11202 
   11203 pkg_failed=no
   11204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for APPDEFS" >&5
   11205 printf %s "checking for APPDEFS... " >&6; }
   11206 
   11207 if test -n "$APPDEFS_CFLAGS"; then
   11208     pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS"
   11209  elif test -n "$PKG_CONFIG"; then
   11210     if test -n "$PKG_CONFIG" && \
   11211     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   11212   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   11213   ac_status=$?
   11214   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11215   test $ac_status = 0; }; then
   11216   pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
   11217 		      test "x$?" != "x0" && pkg_failed=yes
   11218 else
   11219   pkg_failed=yes
   11220 fi
   11221  else
   11222     pkg_failed=untried
   11223 fi
   11224 if test -n "$APPDEFS_LIBS"; then
   11225     pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS"
   11226  elif test -n "$PKG_CONFIG"; then
   11227     if test -n "$PKG_CONFIG" && \
   11228     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   11229   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   11230   ac_status=$?
   11231   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11232   test $ac_status = 0; }; then
   11233   pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
   11234 		      test "x$?" != "x0" && pkg_failed=yes
   11235 else
   11236   pkg_failed=yes
   11237 fi
   11238  else
   11239     pkg_failed=untried
   11240 fi
   11241 
   11242 
   11243 
   11244 if test $pkg_failed = yes; then
   11245    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11246 printf "%s\n" "no" >&6; }
   11247 
   11248 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11249         _pkg_short_errors_supported=yes
   11250 else
   11251         _pkg_short_errors_supported=no
   11252 fi
   11253         if test $_pkg_short_errors_supported = yes; then
   11254 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xt" 2>&1`
   11255         else
   11256 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xt" 2>&1`
   11257         fi
   11258 	# Put the nasty error message in config.log where it belongs
   11259 	echo "$APPDEFS_PKG_ERRORS" >&5
   11260 
   11261 	as_fn_error $? "Package requirements (xt) were not met:
   11262 
   11263 $APPDEFS_PKG_ERRORS
   11264 
   11265 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11266 installed software in a non-standard prefix.
   11267 
   11268 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   11269 and APPDEFS_LIBS to avoid the need to call pkg-config.
   11270 See the pkg-config man page for more details." "$LINENO" 5
   11271 elif test $pkg_failed = untried; then
   11272      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11273 printf "%s\n" "no" >&6; }
   11274 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11275 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   11276 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11277 is in your PATH or set the PKG_CONFIG environment variable to the full
   11278 path to pkg-config.
   11279 
   11280 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   11281 and APPDEFS_LIBS to avoid the need to call pkg-config.
   11282 See the pkg-config man page for more details.
   11283 
   11284 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11285 See \`config.log' for more details" "$LINENO" 5; }
   11286 else
   11287 	APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS
   11288 	APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS
   11289         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11290 printf "%s\n" "yes" >&6; }
   11291 
   11292 fi
   11293 xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
   11294 
   11295 # Check whether --with-appdefaultdir was given.
   11296 if test ${with_appdefaultdir+y}
   11297 then :
   11298   withval=$with_appdefaultdir; appdefaultdir="$withval"
   11299 else $as_nop
   11300   appdefaultdir="${xt_appdefaultdir}"
   11301 fi
   11302 
   11303 
   11304 
   11305 
   11306 ac_config_files="$ac_config_files Makefile man/Makefile"
   11307 
   11308 cat >confcache <<\_ACEOF
   11309 # This file is a shell script that caches the results of configure
   11310 # tests run on this system so they can be shared between configure
   11311 # scripts and configure runs, see configure's option --config-cache.
   11312 # It is not useful on other systems.  If it contains results you don't
   11313 # want to keep, you may remove or edit it.
   11314 #
   11315 # config.status only pays attention to the cache file if you give it
   11316 # the --recheck option to rerun configure.
   11317 #
   11318 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11319 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11320 # following values.
   11321 
   11322 _ACEOF
   11323 
   11324 # The following way of writing the cache mishandles newlines in values,
   11325 # but we know of no workaround that is simple, portable, and efficient.
   11326 # So, we kill variables containing newlines.
   11327 # Ultrix sh set writes to stderr and can't be redirected directly,
   11328 # and sets the high bit in the cache file unless we assign to the vars.
   11329 (
   11330   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11331     eval ac_val=\$$ac_var
   11332     case $ac_val in #(
   11333     *${as_nl}*)
   11334       case $ac_var in #(
   11335       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11336 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11337       esac
   11338       case $ac_var in #(
   11339       _ | IFS | as_nl) ;; #(
   11340       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11341       *) { eval $ac_var=; unset $ac_var;} ;;
   11342       esac ;;
   11343     esac
   11344   done
   11345 
   11346   (set) 2>&1 |
   11347     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11348     *${as_nl}ac_space=\ *)
   11349       # `set' does not quote correctly, so add quotes: double-quote
   11350       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11351       sed -n \
   11352 	"s/'/'\\\\''/g;
   11353 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11354       ;; #(
   11355     *)
   11356       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11357       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11358       ;;
   11359     esac |
   11360     sort
   11361 ) |
   11362   sed '
   11363      /^ac_cv_env_/b end
   11364      t clear
   11365      :clear
   11366      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   11367      t end
   11368      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11369      :end' >>confcache
   11370 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11371   if test -w "$cache_file"; then
   11372     if test "x$cache_file" != "x/dev/null"; then
   11373       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11374 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   11375       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11376 	cat confcache >"$cache_file"
   11377       else
   11378         case $cache_file in #(
   11379         */* | ?:*)
   11380 	  mv -f confcache "$cache_file"$$ &&
   11381 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11382         *)
   11383 	  mv -f confcache "$cache_file" ;;
   11384 	esac
   11385       fi
   11386     fi
   11387   else
   11388     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11389 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   11390   fi
   11391 fi
   11392 rm -f confcache
   11393 
   11394 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11395 # Let make expand exec_prefix.
   11396 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11397 
   11398 DEFS=-DHAVE_CONFIG_H
   11399 
   11400 ac_libobjs=
   11401 ac_ltlibobjs=
   11402 U=
   11403 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11404   # 1. Remove the extension, and $U if already installed.
   11405   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11406   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   11407   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11408   #    will be set to the directory where LIBOBJS objects are built.
   11409   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11410   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11411 done
   11412 LIBOBJS=$ac_libobjs
   11413 
   11414 LTLIBOBJS=$ac_ltlibobjs
   11415 
   11416 
   11417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11418 printf %s "checking that generated files are newer than configure... " >&6; }
   11419    if test -n "$am_sleep_pid"; then
   11420      # Hide warnings about reused PIDs.
   11421      wait $am_sleep_pid 2>/dev/null
   11422    fi
   11423    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11424 printf "%s\n" "done" >&6; }
   11425  if test -n "$EXEEXT"; then
   11426   am__EXEEXT_TRUE=
   11427   am__EXEEXT_FALSE='#'
   11428 else
   11429   am__EXEEXT_TRUE='#'
   11430   am__EXEEXT_FALSE=
   11431 fi
   11432 
   11433 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11434   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11435 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11436 fi
   11437 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11438   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11439 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11440 fi
   11441 
   11442 : "${CONFIG_STATUS=./config.status}"
   11443 ac_write_fail=0
   11444 ac_clean_files_save=$ac_clean_files
   11445 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11447 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   11448 as_write_fail=0
   11449 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11450 #! $SHELL
   11451 # Generated by $as_me.
   11452 # Run this file to recreate the current configuration.
   11453 # Compiler output produced by configure, useful for debugging
   11454 # configure, is in config.log if it exists.
   11455 
   11456 debug=false
   11457 ac_cs_recheck=false
   11458 ac_cs_silent=false
   11459 
   11460 SHELL=\${CONFIG_SHELL-$SHELL}
   11461 export SHELL
   11462 _ASEOF
   11463 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11464 ## -------------------- ##
   11465 ## M4sh Initialization. ##
   11466 ## -------------------- ##
   11467 
   11468 # Be more Bourne compatible
   11469 DUALCASE=1; export DUALCASE # for MKS sh
   11470 as_nop=:
   11471 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   11472 then :
   11473   emulate sh
   11474   NULLCMD=:
   11475   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11476   # is contrary to our usage.  Disable this feature.
   11477   alias -g '${1+"$@"}'='"$@"'
   11478   setopt NO_GLOB_SUBST
   11479 else $as_nop
   11480   case `(set -o) 2>/dev/null` in #(
   11481   *posix*) :
   11482     set -o posix ;; #(
   11483   *) :
   11484      ;;
   11485 esac
   11486 fi
   11487 
   11488 
   11489 
   11490 # Reset variables that may have inherited troublesome values from
   11491 # the environment.
   11492 
   11493 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   11494 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   11495 # side effect of setting IFS to empty, thus disabling word splitting.)
   11496 # Quoting is to prevent editors from complaining about space-tab.
   11497 as_nl='
   11498 '
   11499 export as_nl
   11500 IFS=" ""	$as_nl"
   11501 
   11502 PS1='$ '
   11503 PS2='> '
   11504 PS4='+ '
   11505 
   11506 # Ensure predictable behavior from utilities with locale-dependent output.
   11507 LC_ALL=C
   11508 export LC_ALL
   11509 LANGUAGE=C
   11510 export LANGUAGE
   11511 
   11512 # We cannot yet rely on "unset" to work, but we need these variables
   11513 # to be unset--not just set to an empty or harmless value--now, to
   11514 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   11515 # also avoids known problems related to "unset" and subshell syntax
   11516 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   11517 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   11518 do eval test \${$as_var+y} \
   11519   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11520 done
   11521 
   11522 # Ensure that fds 0, 1, and 2 are open.
   11523 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   11524 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   11525 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   11526 
   11527 # The user is always right.
   11528 if ${PATH_SEPARATOR+false} :; then
   11529   PATH_SEPARATOR=:
   11530   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11531     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11532       PATH_SEPARATOR=';'
   11533   }
   11534 fi
   11535 
   11536 
   11537 # Find who we are.  Look in the path if we contain no directory separator.
   11538 as_myself=
   11539 case $0 in #((
   11540   *[\\/]* ) as_myself=$0 ;;
   11541   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11542 for as_dir in $PATH
   11543 do
   11544   IFS=$as_save_IFS
   11545   case $as_dir in #(((
   11546     '') as_dir=./ ;;
   11547     */) ;;
   11548     *) as_dir=$as_dir/ ;;
   11549   esac
   11550     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   11551   done
   11552 IFS=$as_save_IFS
   11553 
   11554      ;;
   11555 esac
   11556 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11557 # in which case we are not to be found in the path.
   11558 if test "x$as_myself" = x; then
   11559   as_myself=$0
   11560 fi
   11561 if test ! -f "$as_myself"; then
   11562   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11563   exit 1
   11564 fi
   11565 
   11566 
   11567 
   11568 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11569 # ----------------------------------------
   11570 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11571 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11572 # script with STATUS, using 1 if that was 0.
   11573 as_fn_error ()
   11574 {
   11575   as_status=$1; test $as_status -eq 0 && as_status=1
   11576   if test "$4"; then
   11577     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11578     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11579   fi
   11580   printf "%s\n" "$as_me: error: $2" >&2
   11581   as_fn_exit $as_status
   11582 } # as_fn_error
   11583 
   11584 
   11585 
   11586 # as_fn_set_status STATUS
   11587 # -----------------------
   11588 # Set $? to STATUS, without forking.
   11589 as_fn_set_status ()
   11590 {
   11591   return $1
   11592 } # as_fn_set_status
   11593 
   11594 # as_fn_exit STATUS
   11595 # -----------------
   11596 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11597 as_fn_exit ()
   11598 {
   11599   set +e
   11600   as_fn_set_status $1
   11601   exit $1
   11602 } # as_fn_exit
   11603 
   11604 # as_fn_unset VAR
   11605 # ---------------
   11606 # Portably unset VAR.
   11607 as_fn_unset ()
   11608 {
   11609   { eval $1=; unset $1;}
   11610 }
   11611 as_unset=as_fn_unset
   11612 
   11613 # as_fn_append VAR VALUE
   11614 # ----------------------
   11615 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11616 # advantage of any shell optimizations that allow amortized linear growth over
   11617 # repeated appends, instead of the typical quadratic growth present in naive
   11618 # implementations.
   11619 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   11620 then :
   11621   eval 'as_fn_append ()
   11622   {
   11623     eval $1+=\$2
   11624   }'
   11625 else $as_nop
   11626   as_fn_append ()
   11627   {
   11628     eval $1=\$$1\$2
   11629   }
   11630 fi # as_fn_append
   11631 
   11632 # as_fn_arith ARG...
   11633 # ------------------
   11634 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11635 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11636 # must be portable across $(()) and expr.
   11637 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   11638 then :
   11639   eval 'as_fn_arith ()
   11640   {
   11641     as_val=$(( $* ))
   11642   }'
   11643 else $as_nop
   11644   as_fn_arith ()
   11645   {
   11646     as_val=`expr "$@" || test $? -eq 1`
   11647   }
   11648 fi # as_fn_arith
   11649 
   11650 
   11651 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11652    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11653   as_expr=expr
   11654 else
   11655   as_expr=false
   11656 fi
   11657 
   11658 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11659   as_basename=basename
   11660 else
   11661   as_basename=false
   11662 fi
   11663 
   11664 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11665   as_dirname=dirname
   11666 else
   11667   as_dirname=false
   11668 fi
   11669 
   11670 as_me=`$as_basename -- "$0" ||
   11671 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11672 	 X"$0" : 'X\(//\)$' \| \
   11673 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11674 printf "%s\n" X/"$0" |
   11675     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11676 	    s//\1/
   11677 	    q
   11678 	  }
   11679 	  /^X\/\(\/\/\)$/{
   11680 	    s//\1/
   11681 	    q
   11682 	  }
   11683 	  /^X\/\(\/\).*/{
   11684 	    s//\1/
   11685 	    q
   11686 	  }
   11687 	  s/.*/./; q'`
   11688 
   11689 # Avoid depending upon Character Ranges.
   11690 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11691 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11692 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11693 as_cr_digits='0123456789'
   11694 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11695 
   11696 
   11697 # Determine whether it's possible to make 'echo' print without a newline.
   11698 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   11699 # for compatibility with existing Makefiles.
   11700 ECHO_C= ECHO_N= ECHO_T=
   11701 case `echo -n x` in #(((((
   11702 -n*)
   11703   case `echo 'xy\c'` in
   11704   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11705   xy)  ECHO_C='\c';;
   11706   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11707        ECHO_T='	';;
   11708   esac;;
   11709 *)
   11710   ECHO_N='-n';;
   11711 esac
   11712 
   11713 # For backward compatibility with old third-party macros, we provide
   11714 # the shell variables $as_echo and $as_echo_n.  New code should use
   11715 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   11716 as_echo='printf %s\n'
   11717 as_echo_n='printf %s'
   11718 
   11719 rm -f conf$$ conf$$.exe conf$$.file
   11720 if test -d conf$$.dir; then
   11721   rm -f conf$$.dir/conf$$.file
   11722 else
   11723   rm -f conf$$.dir
   11724   mkdir conf$$.dir 2>/dev/null
   11725 fi
   11726 if (echo >conf$$.file) 2>/dev/null; then
   11727   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11728     as_ln_s='ln -s'
   11729     # ... but there are two gotchas:
   11730     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11731     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11732     # In both cases, we have to default to `cp -pR'.
   11733     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11734       as_ln_s='cp -pR'
   11735   elif ln conf$$.file conf$$ 2>/dev/null; then
   11736     as_ln_s=ln
   11737   else
   11738     as_ln_s='cp -pR'
   11739   fi
   11740 else
   11741   as_ln_s='cp -pR'
   11742 fi
   11743 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11744 rmdir conf$$.dir 2>/dev/null
   11745 
   11746 
   11747 # as_fn_mkdir_p
   11748 # -------------
   11749 # Create "$as_dir" as a directory, including parents if necessary.
   11750 as_fn_mkdir_p ()
   11751 {
   11752 
   11753   case $as_dir in #(
   11754   -*) as_dir=./$as_dir;;
   11755   esac
   11756   test -d "$as_dir" || eval $as_mkdir_p || {
   11757     as_dirs=
   11758     while :; do
   11759       case $as_dir in #(
   11760       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11761       *) as_qdir=$as_dir;;
   11762       esac
   11763       as_dirs="'$as_qdir' $as_dirs"
   11764       as_dir=`$as_dirname -- "$as_dir" ||
   11765 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11766 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11767 	 X"$as_dir" : 'X\(//\)$' \| \
   11768 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11769 printf "%s\n" X"$as_dir" |
   11770     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11771 	    s//\1/
   11772 	    q
   11773 	  }
   11774 	  /^X\(\/\/\)[^/].*/{
   11775 	    s//\1/
   11776 	    q
   11777 	  }
   11778 	  /^X\(\/\/\)$/{
   11779 	    s//\1/
   11780 	    q
   11781 	  }
   11782 	  /^X\(\/\).*/{
   11783 	    s//\1/
   11784 	    q
   11785 	  }
   11786 	  s/.*/./; q'`
   11787       test -d "$as_dir" && break
   11788     done
   11789     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11790   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11791 
   11792 
   11793 } # as_fn_mkdir_p
   11794 if mkdir -p . 2>/dev/null; then
   11795   as_mkdir_p='mkdir -p "$as_dir"'
   11796 else
   11797   test -d ./-p && rmdir ./-p
   11798   as_mkdir_p=false
   11799 fi
   11800 
   11801 
   11802 # as_fn_executable_p FILE
   11803 # -----------------------
   11804 # Test if FILE is an executable regular file.
   11805 as_fn_executable_p ()
   11806 {
   11807   test -f "$1" && test -x "$1"
   11808 } # as_fn_executable_p
   11809 as_test_x='test -x'
   11810 as_executable_p=as_fn_executable_p
   11811 
   11812 # Sed expression to map a string onto a valid CPP name.
   11813 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11814 
   11815 # Sed expression to map a string onto a valid variable name.
   11816 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11817 
   11818 
   11819 exec 6>&1
   11820 ## ----------------------------------- ##
   11821 ## Main body of $CONFIG_STATUS script. ##
   11822 ## ----------------------------------- ##
   11823 _ASEOF
   11824 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11825 
   11826 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11827 # Save the log message, to keep $0 and so on meaningful, and to
   11828 # report actual input values of CONFIG_FILES etc. instead of their
   11829 # values after options handling.
   11830 ac_log="
   11831 This file was extended by xmessage $as_me 1.0.6, which was
   11832 generated by GNU Autoconf 2.71.  Invocation command line was
   11833 
   11834   CONFIG_FILES    = $CONFIG_FILES
   11835   CONFIG_HEADERS  = $CONFIG_HEADERS
   11836   CONFIG_LINKS    = $CONFIG_LINKS
   11837   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11838   $ $0 $@
   11839 
   11840 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11841 "
   11842 
   11843 _ACEOF
   11844 
   11845 case $ac_config_files in *"
   11846 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11847 esac
   11848 
   11849 case $ac_config_headers in *"
   11850 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11851 esac
   11852 
   11853 
   11854 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11855 # Files that config.status was made for.
   11856 config_files="$ac_config_files"
   11857 config_headers="$ac_config_headers"
   11858 config_commands="$ac_config_commands"
   11859 
   11860 _ACEOF
   11861 
   11862 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11863 ac_cs_usage="\
   11864 \`$as_me' instantiates files and other configuration actions
   11865 from templates according to the current configuration.  Unless the files
   11866 and actions are specified as TAGs, all are instantiated by default.
   11867 
   11868 Usage: $0 [OPTION]... [TAG]...
   11869 
   11870   -h, --help       print this help, then exit
   11871   -V, --version    print version number and configuration settings, then exit
   11872       --config     print configuration, then exit
   11873   -q, --quiet, --silent
   11874                    do not print progress messages
   11875   -d, --debug      don't remove temporary files
   11876       --recheck    update $as_me by reconfiguring in the same conditions
   11877       --file=FILE[:TEMPLATE]
   11878                    instantiate the configuration file FILE
   11879       --header=FILE[:TEMPLATE]
   11880                    instantiate the configuration header FILE
   11881 
   11882 Configuration files:
   11883 $config_files
   11884 
   11885 Configuration headers:
   11886 $config_headers
   11887 
   11888 Configuration commands:
   11889 $config_commands
   11890 
   11891 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xmessage/issues>."
   11892 
   11893 _ACEOF
   11894 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   11895 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   11896 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11897 ac_cs_config='$ac_cs_config_escaped'
   11898 ac_cs_version="\\
   11899 xmessage config.status 1.0.6
   11900 configured by $0, generated by GNU Autoconf 2.71,
   11901   with options \\"\$ac_cs_config\\"
   11902 
   11903 Copyright (C) 2021 Free Software Foundation, Inc.
   11904 This config.status script is free software; the Free Software Foundation
   11905 gives unlimited permission to copy, distribute and modify it."
   11906 
   11907 ac_pwd='$ac_pwd'
   11908 srcdir='$srcdir'
   11909 INSTALL='$INSTALL'
   11910 MKDIR_P='$MKDIR_P'
   11911 AWK='$AWK'
   11912 test -n "\$AWK" || AWK=awk
   11913 _ACEOF
   11914 
   11915 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11916 # The default lists apply if the user does not specify any file.
   11917 ac_need_defaults=:
   11918 while test $# != 0
   11919 do
   11920   case $1 in
   11921   --*=?*)
   11922     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11923     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11924     ac_shift=:
   11925     ;;
   11926   --*=)
   11927     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11928     ac_optarg=
   11929     ac_shift=:
   11930     ;;
   11931   *)
   11932     ac_option=$1
   11933     ac_optarg=$2
   11934     ac_shift=shift
   11935     ;;
   11936   esac
   11937 
   11938   case $ac_option in
   11939   # Handling of the options.
   11940   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11941     ac_cs_recheck=: ;;
   11942   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11943     printf "%s\n" "$ac_cs_version"; exit ;;
   11944   --config | --confi | --conf | --con | --co | --c )
   11945     printf "%s\n" "$ac_cs_config"; exit ;;
   11946   --debug | --debu | --deb | --de | --d | -d )
   11947     debug=: ;;
   11948   --file | --fil | --fi | --f )
   11949     $ac_shift
   11950     case $ac_optarg in
   11951     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11952     '') as_fn_error $? "missing file argument" ;;
   11953     esac
   11954     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11955     ac_need_defaults=false;;
   11956   --header | --heade | --head | --hea )
   11957     $ac_shift
   11958     case $ac_optarg in
   11959     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11960     esac
   11961     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11962     ac_need_defaults=false;;
   11963   --he | --h)
   11964     # Conflict between --help and --header
   11965     as_fn_error $? "ambiguous option: \`$1'
   11966 Try \`$0 --help' for more information.";;
   11967   --help | --hel | -h )
   11968     printf "%s\n" "$ac_cs_usage"; exit ;;
   11969   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11970   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11971     ac_cs_silent=: ;;
   11972 
   11973   # This is an error.
   11974   -*) as_fn_error $? "unrecognized option: \`$1'
   11975 Try \`$0 --help' for more information." ;;
   11976 
   11977   *) as_fn_append ac_config_targets " $1"
   11978      ac_need_defaults=false ;;
   11979 
   11980   esac
   11981   shift
   11982 done
   11983 
   11984 ac_configure_extra_args=
   11985 
   11986 if $ac_cs_silent; then
   11987   exec 6>/dev/null
   11988   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11989 fi
   11990 
   11991 _ACEOF
   11992 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11993 if \$ac_cs_recheck; then
   11994   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11995   shift
   11996   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   11997   CONFIG_SHELL='$SHELL'
   11998   export CONFIG_SHELL
   11999   exec "\$@"
   12000 fi
   12001 
   12002 _ACEOF
   12003 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12004 exec 5>>config.log
   12005 {
   12006   echo
   12007   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12008 ## Running $as_me. ##
   12009 _ASBOX
   12010   printf "%s\n" "$ac_log"
   12011 } >&5
   12012 
   12013 _ACEOF
   12014 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12015 #
   12016 # INIT-COMMANDS
   12017 #
   12018 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   12019 
   12020 _ACEOF
   12021 
   12022 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12023 
   12024 # Handling of arguments.
   12025 for ac_config_target in $ac_config_targets
   12026 do
   12027   case $ac_config_target in
   12028     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12029     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12030     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12031     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12032 
   12033   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   12034   esac
   12035 done
   12036 
   12037 
   12038 # If the user did not use the arguments to specify the items to instantiate,
   12039 # then the envvar interface is used.  Set only those that are not.
   12040 # We use the long form for the default assignment because of an extremely
   12041 # bizarre bug on SunOS 4.1.3.
   12042 if $ac_need_defaults; then
   12043   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   12044   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   12045   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   12046 fi
   12047 
   12048 # Have a temporary directory for convenience.  Make it in the build tree
   12049 # simply because there is no reason against having it here, and in addition,
   12050 # creating and moving files from /tmp can sometimes cause problems.
   12051 # Hook for its removal unless debugging.
   12052 # Note that there is a small window in which the directory will not be cleaned:
   12053 # after its creation but before its name has been assigned to `$tmp'.
   12054 $debug ||
   12055 {
   12056   tmp= ac_tmp=
   12057   trap 'exit_status=$?
   12058   : "${ac_tmp:=$tmp}"
   12059   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12060 ' 0
   12061   trap 'as_fn_exit 1' 1 2 13 15
   12062 }
   12063 # Create a (secure) tmp directory for tmp files.
   12064 
   12065 {
   12066   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12067   test -d "$tmp"
   12068 }  ||
   12069 {
   12070   tmp=./conf$$-$RANDOM
   12071   (umask 077 && mkdir "$tmp")
   12072 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12073 ac_tmp=$tmp
   12074 
   12075 # Set up the scripts for CONFIG_FILES section.
   12076 # No need to generate them if there are no CONFIG_FILES.
   12077 # This happens for instance with `./config.status config.h'.
   12078 if test -n "$CONFIG_FILES"; then
   12079 
   12080 
   12081 ac_cr=`echo X | tr X '\015'`
   12082 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12083 # But we know of no other shell where ac_cr would be empty at this
   12084 # point, so we can use a bashism as a fallback.
   12085 if test "x$ac_cr" = x; then
   12086   eval ac_cr=\$\'\\r\'
   12087 fi
   12088 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12089 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12090   ac_cs_awk_cr='\\r'
   12091 else
   12092   ac_cs_awk_cr=$ac_cr
   12093 fi
   12094 
   12095 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12096 _ACEOF
   12097 
   12098 
   12099 {
   12100   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12101   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12102   echo "_ACEOF"
   12103 } >conf$$subs.sh ||
   12104   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12105 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12106 ac_delim='%!_!# '
   12107 for ac_last_try in false false false false false :; do
   12108   . ./conf$$subs.sh ||
   12109     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12110 
   12111   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12112   if test $ac_delim_n = $ac_delim_num; then
   12113     break
   12114   elif $ac_last_try; then
   12115     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12116   else
   12117     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12118   fi
   12119 done
   12120 rm -f conf$$subs.sh
   12121 
   12122 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12123 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12124 _ACEOF
   12125 sed -n '
   12126 h
   12127 s/^/S["/; s/!.*/"]=/
   12128 p
   12129 g
   12130 s/^[^!]*!//
   12131 :repl
   12132 t repl
   12133 s/'"$ac_delim"'$//
   12134 t delim
   12135 :nl
   12136 h
   12137 s/\(.\{148\}\)..*/\1/
   12138 t more1
   12139 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12140 p
   12141 n
   12142 b repl
   12143 :more1
   12144 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12145 p
   12146 g
   12147 s/.\{148\}//
   12148 t nl
   12149 :delim
   12150 h
   12151 s/\(.\{148\}\)..*/\1/
   12152 t more2
   12153 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12154 p
   12155 b
   12156 :more2
   12157 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12158 p
   12159 g
   12160 s/.\{148\}//
   12161 t delim
   12162 ' <conf$$subs.awk | sed '
   12163 /^[^""]/{
   12164   N
   12165   s/\n//
   12166 }
   12167 ' >>$CONFIG_STATUS || ac_write_fail=1
   12168 rm -f conf$$subs.awk
   12169 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12170 _ACAWK
   12171 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12172   for (key in S) S_is_set[key] = 1
   12173   FS = ""
   12174 
   12175 }
   12176 {
   12177   line = $ 0
   12178   nfields = split(line, field, "@")
   12179   substed = 0
   12180   len = length(field[1])
   12181   for (i = 2; i < nfields; i++) {
   12182     key = field[i]
   12183     keylen = length(key)
   12184     if (S_is_set[key]) {
   12185       value = S[key]
   12186       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12187       len += length(value) + length(field[++i])
   12188       substed = 1
   12189     } else
   12190       len += 1 + keylen
   12191   }
   12192 
   12193   print line
   12194 }
   12195 
   12196 _ACAWK
   12197 _ACEOF
   12198 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12199 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12200   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12201 else
   12202   cat
   12203 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12204   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12205 _ACEOF
   12206 
   12207 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12208 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12209 # trailing colons and then remove the whole line if VPATH becomes empty
   12210 # (actually we leave an empty line to preserve line numbers).
   12211 if test "x$srcdir" = x.; then
   12212   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12213 h
   12214 s///
   12215 s/^/:/
   12216 s/[	 ]*$/:/
   12217 s/:\$(srcdir):/:/g
   12218 s/:\${srcdir}:/:/g
   12219 s/:@srcdir@:/:/g
   12220 s/^:*//
   12221 s/:*$//
   12222 x
   12223 s/\(=[	 ]*\).*/\1/
   12224 G
   12225 s/\n//
   12226 s/^[^=]*=[	 ]*$//
   12227 }'
   12228 fi
   12229 
   12230 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12231 fi # test -n "$CONFIG_FILES"
   12232 
   12233 # Set up the scripts for CONFIG_HEADERS section.
   12234 # No need to generate them if there are no CONFIG_HEADERS.
   12235 # This happens for instance with `./config.status Makefile'.
   12236 if test -n "$CONFIG_HEADERS"; then
   12237 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12238 BEGIN {
   12239 _ACEOF
   12240 
   12241 # Transform confdefs.h into an awk script `defines.awk', embedded as
   12242 # here-document in config.status, that substitutes the proper values into
   12243 # config.h.in to produce config.h.
   12244 
   12245 # Create a delimiter string that does not exist in confdefs.h, to ease
   12246 # handling of long lines.
   12247 ac_delim='%!_!# '
   12248 for ac_last_try in false false :; do
   12249   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12250   if test -z "$ac_tt"; then
   12251     break
   12252   elif $ac_last_try; then
   12253     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12254   else
   12255     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12256   fi
   12257 done
   12258 
   12259 # For the awk script, D is an array of macro values keyed by name,
   12260 # likewise P contains macro parameters if any.  Preserve backslash
   12261 # newline sequences.
   12262 
   12263 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12264 sed -n '
   12265 s/.\{148\}/&'"$ac_delim"'/g
   12266 t rset
   12267 :rset
   12268 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12269 t def
   12270 d
   12271 :def
   12272 s/\\$//
   12273 t bsnl
   12274 s/["\\]/\\&/g
   12275 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12276 D["\1"]=" \3"/p
   12277 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12278 d
   12279 :bsnl
   12280 s/["\\]/\\&/g
   12281 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12282 D["\1"]=" \3\\\\\\n"\\/p
   12283 t cont
   12284 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12285 t cont
   12286 d
   12287 :cont
   12288 n
   12289 s/.\{148\}/&'"$ac_delim"'/g
   12290 t clear
   12291 :clear
   12292 s/\\$//
   12293 t bsnlc
   12294 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12295 d
   12296 :bsnlc
   12297 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12298 b cont
   12299 ' <confdefs.h | sed '
   12300 s/'"$ac_delim"'/"\\\
   12301 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12302 
   12303 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12304   for (key in D) D_is_set[key] = 1
   12305   FS = ""
   12306 }
   12307 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12308   line = \$ 0
   12309   split(line, arg, " ")
   12310   if (arg[1] == "#") {
   12311     defundef = arg[2]
   12312     mac1 = arg[3]
   12313   } else {
   12314     defundef = substr(arg[1], 2)
   12315     mac1 = arg[2]
   12316   }
   12317   split(mac1, mac2, "(") #)
   12318   macro = mac2[1]
   12319   prefix = substr(line, 1, index(line, defundef) - 1)
   12320   if (D_is_set[macro]) {
   12321     # Preserve the white space surrounding the "#".
   12322     print prefix "define", macro P[macro] D[macro]
   12323     next
   12324   } else {
   12325     # Replace #undef with comments.  This is necessary, for example,
   12326     # in the case of _POSIX_SOURCE, which is predefined and required
   12327     # on some systems where configure will not decide to define it.
   12328     if (defundef == "undef") {
   12329       print "/*", prefix defundef, macro, "*/"
   12330       next
   12331     }
   12332   }
   12333 }
   12334 { print }
   12335 _ACAWK
   12336 _ACEOF
   12337 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12338   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12339 fi # test -n "$CONFIG_HEADERS"
   12340 
   12341 
   12342 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12343 shift
   12344 for ac_tag
   12345 do
   12346   case $ac_tag in
   12347   :[FHLC]) ac_mode=$ac_tag; continue;;
   12348   esac
   12349   case $ac_mode$ac_tag in
   12350   :[FHL]*:*);;
   12351   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12352   :[FH]-) ac_tag=-:-;;
   12353   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12354   esac
   12355   ac_save_IFS=$IFS
   12356   IFS=:
   12357   set x $ac_tag
   12358   IFS=$ac_save_IFS
   12359   shift
   12360   ac_file=$1
   12361   shift
   12362 
   12363   case $ac_mode in
   12364   :L) ac_source=$1;;
   12365   :[FH])
   12366     ac_file_inputs=
   12367     for ac_f
   12368     do
   12369       case $ac_f in
   12370       -) ac_f="$ac_tmp/stdin";;
   12371       *) # Look for the file first in the build tree, then in the source tree
   12372 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12373 	 # because $ac_f cannot contain `:'.
   12374 	 test -f "$ac_f" ||
   12375 	   case $ac_f in
   12376 	   [\\/$]*) false;;
   12377 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12378 	   esac ||
   12379 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12380       esac
   12381       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12382       as_fn_append ac_file_inputs " '$ac_f'"
   12383     done
   12384 
   12385     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12386     # use $as_me), people would be surprised to read:
   12387     #    /* config.h.  Generated by config.status.  */
   12388     configure_input='Generated from '`
   12389 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12390 	`' by configure.'
   12391     if test x"$ac_file" != x-; then
   12392       configure_input="$ac_file.  $configure_input"
   12393       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12394 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   12395     fi
   12396     # Neutralize special characters interpreted by sed in replacement strings.
   12397     case $configure_input in #(
   12398     *\&* | *\|* | *\\* )
   12399        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   12400        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12401     *) ac_sed_conf_input=$configure_input;;
   12402     esac
   12403 
   12404     case $ac_tag in
   12405     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12406       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12407     esac
   12408     ;;
   12409   esac
   12410 
   12411   ac_dir=`$as_dirname -- "$ac_file" ||
   12412 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12413 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12414 	 X"$ac_file" : 'X\(//\)$' \| \
   12415 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12416 printf "%s\n" X"$ac_file" |
   12417     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12418 	    s//\1/
   12419 	    q
   12420 	  }
   12421 	  /^X\(\/\/\)[^/].*/{
   12422 	    s//\1/
   12423 	    q
   12424 	  }
   12425 	  /^X\(\/\/\)$/{
   12426 	    s//\1/
   12427 	    q
   12428 	  }
   12429 	  /^X\(\/\).*/{
   12430 	    s//\1/
   12431 	    q
   12432 	  }
   12433 	  s/.*/./; q'`
   12434   as_dir="$ac_dir"; as_fn_mkdir_p
   12435   ac_builddir=.
   12436 
   12437 case "$ac_dir" in
   12438 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12439 *)
   12440   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   12441   # A ".." for each directory in $ac_dir_suffix.
   12442   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12443   case $ac_top_builddir_sub in
   12444   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12445   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12446   esac ;;
   12447 esac
   12448 ac_abs_top_builddir=$ac_pwd
   12449 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12450 # for backward compatibility:
   12451 ac_top_builddir=$ac_top_build_prefix
   12452 
   12453 case $srcdir in
   12454   .)  # We are building in place.
   12455     ac_srcdir=.
   12456     ac_top_srcdir=$ac_top_builddir_sub
   12457     ac_abs_top_srcdir=$ac_pwd ;;
   12458   [\\/]* | ?:[\\/]* )  # Absolute name.
   12459     ac_srcdir=$srcdir$ac_dir_suffix;
   12460     ac_top_srcdir=$srcdir
   12461     ac_abs_top_srcdir=$srcdir ;;
   12462   *) # Relative name.
   12463     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12464     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12465     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12466 esac
   12467 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12468 
   12469 
   12470   case $ac_mode in
   12471   :F)
   12472   #
   12473   # CONFIG_FILE
   12474   #
   12475 
   12476   case $INSTALL in
   12477   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12478   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12479   esac
   12480   ac_MKDIR_P=$MKDIR_P
   12481   case $MKDIR_P in
   12482   [\\/$]* | ?:[\\/]* ) ;;
   12483   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12484   esac
   12485 _ACEOF
   12486 
   12487 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12488 # If the template does not know about datarootdir, expand it.
   12489 # FIXME: This hack should be removed a few years after 2.60.
   12490 ac_datarootdir_hack=; ac_datarootdir_seen=
   12491 ac_sed_dataroot='
   12492 /datarootdir/ {
   12493   p
   12494   q
   12495 }
   12496 /@datadir@/p
   12497 /@docdir@/p
   12498 /@infodir@/p
   12499 /@localedir@/p
   12500 /@mandir@/p'
   12501 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12502 *datarootdir*) ac_datarootdir_seen=yes;;
   12503 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12504   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12505 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12506 _ACEOF
   12507 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12508   ac_datarootdir_hack='
   12509   s&@datadir@&$datadir&g
   12510   s&@docdir@&$docdir&g
   12511   s&@infodir@&$infodir&g
   12512   s&@localedir@&$localedir&g
   12513   s&@mandir@&$mandir&g
   12514   s&\\\${datarootdir}&$datarootdir&g' ;;
   12515 esac
   12516 _ACEOF
   12517 
   12518 # Neutralize VPATH when `$srcdir' = `.'.
   12519 # Shell code in configure.ac might set extrasub.
   12520 # FIXME: do we really want to maintain this feature?
   12521 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12522 ac_sed_extra="$ac_vpsub
   12523 $extrasub
   12524 _ACEOF
   12525 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12526 :t
   12527 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12528 s|@configure_input@|$ac_sed_conf_input|;t t
   12529 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12530 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12531 s&@srcdir@&$ac_srcdir&;t t
   12532 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12533 s&@top_srcdir@&$ac_top_srcdir&;t t
   12534 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12535 s&@builddir@&$ac_builddir&;t t
   12536 s&@abs_builddir@&$ac_abs_builddir&;t t
   12537 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12538 s&@INSTALL@&$ac_INSTALL&;t t
   12539 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12540 $ac_datarootdir_hack
   12541 "
   12542 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12543   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12544 
   12545 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12546   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12547   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12548       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12549   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12550 which seems to be undefined.  Please make sure it is defined" >&5
   12551 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12552 which seems to be undefined.  Please make sure it is defined" >&2;}
   12553 
   12554   rm -f "$ac_tmp/stdin"
   12555   case $ac_file in
   12556   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12557   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12558   esac \
   12559   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12560  ;;
   12561   :H)
   12562   #
   12563   # CONFIG_HEADER
   12564   #
   12565   if test x"$ac_file" != x-; then
   12566     {
   12567       printf "%s\n" "/* $configure_input  */" >&1 \
   12568       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12569     } >"$ac_tmp/config.h" \
   12570       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12571     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12572       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12573 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   12574     else
   12575       rm -f "$ac_file"
   12576       mv "$ac_tmp/config.h" "$ac_file" \
   12577 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12578     fi
   12579   else
   12580     printf "%s\n" "/* $configure_input  */" >&1 \
   12581       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12582       || as_fn_error $? "could not create -" "$LINENO" 5
   12583   fi
   12584 # Compute "$ac_file"'s index in $config_headers.
   12585 _am_arg="$ac_file"
   12586 _am_stamp_count=1
   12587 for _am_header in $config_headers :; do
   12588   case $_am_header in
   12589     $_am_arg | $_am_arg:* )
   12590       break ;;
   12591     * )
   12592       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12593   esac
   12594 done
   12595 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12596 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12597 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12598 	 X"$_am_arg" : 'X\(//\)$' \| \
   12599 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12600 printf "%s\n" X"$_am_arg" |
   12601     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12602 	    s//\1/
   12603 	    q
   12604 	  }
   12605 	  /^X\(\/\/\)[^/].*/{
   12606 	    s//\1/
   12607 	    q
   12608 	  }
   12609 	  /^X\(\/\/\)$/{
   12610 	    s//\1/
   12611 	    q
   12612 	  }
   12613 	  /^X\(\/\).*/{
   12614 	    s//\1/
   12615 	    q
   12616 	  }
   12617 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12618  ;;
   12619 
   12620   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12621 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   12622  ;;
   12623   esac
   12624 
   12625 
   12626   case $ac_file$ac_mode in
   12627     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12628   # Older Autoconf quotes --file arguments for eval, but not when files
   12629   # are listed without --file.  Let's play safe and only enable the eval
   12630   # if we detect the quoting.
   12631   # TODO: see whether this extra hack can be removed once we start
   12632   # requiring Autoconf 2.70 or later.
   12633   case $CONFIG_FILES in #(
   12634   *\'*) :
   12635     eval set x "$CONFIG_FILES" ;; #(
   12636   *) :
   12637     set x $CONFIG_FILES ;; #(
   12638   *) :
   12639      ;;
   12640 esac
   12641   shift
   12642   # Used to flag and report bootstrapping failures.
   12643   am_rc=0
   12644   for am_mf
   12645   do
   12646     # Strip MF so we end up with the name of the file.
   12647     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   12648     # Check whether this is an Automake generated Makefile which includes
   12649     # dependency-tracking related rules and includes.
   12650     # Grep'ing the whole file directly is not great: AIX grep has a line
   12651     # limit of 2048, but all sed's we know have understand at least 4000.
   12652     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   12653       || continue
   12654     am_dirpart=`$as_dirname -- "$am_mf" ||
   12655 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12656 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   12657 	 X"$am_mf" : 'X\(//\)$' \| \
   12658 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12659 printf "%s\n" X"$am_mf" |
   12660     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12661 	    s//\1/
   12662 	    q
   12663 	  }
   12664 	  /^X\(\/\/\)[^/].*/{
   12665 	    s//\1/
   12666 	    q
   12667 	  }
   12668 	  /^X\(\/\/\)$/{
   12669 	    s//\1/
   12670 	    q
   12671 	  }
   12672 	  /^X\(\/\).*/{
   12673 	    s//\1/
   12674 	    q
   12675 	  }
   12676 	  s/.*/./; q'`
   12677     am_filepart=`$as_basename -- "$am_mf" ||
   12678 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   12679 	 X"$am_mf" : 'X\(//\)$' \| \
   12680 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12681 printf "%s\n" X/"$am_mf" |
   12682     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12683 	    s//\1/
   12684 	    q
   12685 	  }
   12686 	  /^X\/\(\/\/\)$/{
   12687 	    s//\1/
   12688 	    q
   12689 	  }
   12690 	  /^X\/\(\/\).*/{
   12691 	    s//\1/
   12692 	    q
   12693 	  }
   12694 	  s/.*/./; q'`
   12695     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   12696       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12697         | $MAKE -f - am--depfiles" >&5
   12698    (cd "$am_dirpart" \
   12699       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12700         | $MAKE -f - am--depfiles) >&5 2>&5
   12701    ac_status=$?
   12702    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12703    (exit $ac_status); } || am_rc=$?
   12704   done
   12705   if test $am_rc -ne 0; then
   12706     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12707 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   12708 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   12709     for automatic dependency tracking.  If GNU make was not used, consider
   12710     re-running the configure script with MAKE=\"gmake\" (or whatever is
   12711     necessary).  You can also try re-running configure with the
   12712     '--disable-dependency-tracking' option to at least be able to build
   12713     the package (albeit without support for automatic dependency tracking).
   12714 See \`config.log' for more details" "$LINENO" 5; }
   12715   fi
   12716   { am_dirpart=; unset am_dirpart;}
   12717   { am_filepart=; unset am_filepart;}
   12718   { am_mf=; unset am_mf;}
   12719   { am_rc=; unset am_rc;}
   12720   rm -f conftest-deps.mk
   12721 }
   12722  ;;
   12723 
   12724   esac
   12725 done # for ac_tag
   12726 
   12727 
   12728 as_fn_exit 0
   12729 _ACEOF
   12730 ac_clean_files=$ac_clean_files_save
   12731 
   12732 test $ac_write_fail = 0 ||
   12733   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12734 
   12735 
   12736 # configure is writing to config.log, and then calls config.status.
   12737 # config.status does its own redirection, appending to config.log.
   12738 # Unfortunately, on DOS this fails, as config.log is still kept open
   12739 # by configure, so config.status won't be able to write to it; its
   12740 # output is simply discarded.  So we exec the FD to /dev/null,
   12741 # effectively closing config.log, so it can be properly (re)opened and
   12742 # appended to by config.status.  When coming back to configure, we
   12743 # need to make the FD available again.
   12744 if test "$no_create" != yes; then
   12745   ac_cs_success=:
   12746   ac_config_status_args=
   12747   test "$silent" = yes &&
   12748     ac_config_status_args="$ac_config_status_args --quiet"
   12749   exec 5>/dev/null
   12750   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12751   exec 5>>config.log
   12752   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12753   # would make configure fail if this is the last instruction.
   12754   $ac_cs_success || as_fn_exit 1
   12755 fi
   12756 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12757   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12758 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12759 fi
   12760 
   12761 
   12762