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 xsm 1.0.5.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xsm/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/xsm/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='xsm'
    614 PACKAGE_TARNAME='xsm'
    615 PACKAGE_VERSION='1.0.5'
    616 PACKAGE_STRING='xsm 1.0.5'
    617 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xsm/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 XSM_LIBS
    659 XSM_CFLAGS
    660 RSH
    661 MAN_SUBSTS
    662 XORG_MAN_PAGE
    663 ADMIN_MAN_DIR
    664 DRIVER_MAN_DIR
    665 MISC_MAN_DIR
    666 FILE_MAN_DIR
    667 LIB_MAN_DIR
    668 APP_MAN_DIR
    669 ADMIN_MAN_SUFFIX
    670 DRIVER_MAN_SUFFIX
    671 MISC_MAN_SUFFIX
    672 FILE_MAN_SUFFIX
    673 LIB_MAN_SUFFIX
    674 APP_MAN_SUFFIX
    675 SED
    676 host_os
    677 host_vendor
    678 host_cpu
    679 host
    680 build_os
    681 build_vendor
    682 build_cpu
    683 build
    684 INSTALL_CMD
    685 PKG_CONFIG_LIBDIR
    686 PKG_CONFIG_PATH
    687 PKG_CONFIG
    688 CHANGELOG_CMD
    689 STRICT_CFLAGS
    690 CWARNFLAGS
    691 BASE_CFLAGS
    692 am__fastdepCC_FALSE
    693 am__fastdepCC_TRUE
    694 CCDEPMODE
    695 am__nodep
    696 AMDEPBACKSLASH
    697 AMDEP_FALSE
    698 AMDEP_TRUE
    699 am__include
    700 DEPDIR
    701 OBJEXT
    702 EXEEXT
    703 ac_ct_CC
    704 CPPFLAGS
    705 LDFLAGS
    706 CFLAGS
    707 CC
    708 AM_BACKSLASH
    709 AM_DEFAULT_VERBOSITY
    710 AM_DEFAULT_V
    711 AM_V
    712 CSCOPE
    713 ETAGS
    714 CTAGS
    715 am__untar
    716 am__tar
    717 AMTAR
    718 am__leading_dot
    719 SET_MAKE
    720 AWK
    721 mkdir_p
    722 MKDIR_P
    723 INSTALL_STRIP_PROGRAM
    724 STRIP
    725 install_sh
    726 MAKEINFO
    727 AUTOHEADER
    728 AUTOMAKE
    729 AUTOCONF
    730 ACLOCAL
    731 VERSION
    732 PACKAGE
    733 CYGPATH_W
    734 am__isrc
    735 INSTALL_DATA
    736 INSTALL_SCRIPT
    737 INSTALL_PROGRAM
    738 target_alias
    739 host_alias
    740 build_alias
    741 LIBS
    742 ECHO_T
    743 ECHO_N
    744 ECHO_C
    745 DEFS
    746 mandir
    747 localedir
    748 libdir
    749 psdir
    750 pdfdir
    751 dvidir
    752 htmldir
    753 infodir
    754 docdir
    755 oldincludedir
    756 includedir
    757 runstatedir
    758 localstatedir
    759 sharedstatedir
    760 sysconfdir
    761 datadir
    762 datarootdir
    763 libexecdir
    764 sbindir
    765 bindir
    766 program_transform_name
    767 prefix
    768 exec_prefix
    769 PACKAGE_URL
    770 PACKAGE_BUGREPORT
    771 PACKAGE_STRING
    772 PACKAGE_VERSION
    773 PACKAGE_TARNAME
    774 PACKAGE_NAME
    775 PATH_SEPARATOR
    776 SHELL
    777 am__quote'
    778 ac_subst_files=''
    779 ac_user_opts='
    780 enable_option_checking
    781 enable_silent_rules
    782 enable_dependency_tracking
    783 enable_selective_werror
    784 enable_strict_compilation
    785 with_rsh
    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 XSM_CFLAGS
    800 XSM_LIBS'
    801 
    802 
    803 # Initialize some variables set by options.
    804 ac_init_help=
    805 ac_init_version=false
    806 ac_unrecognized_opts=
    807 ac_unrecognized_sep=
    808 # The variables have the same names as the options, with
    809 # dashes changed to underlines.
    810 cache_file=/dev/null
    811 exec_prefix=NONE
    812 no_create=
    813 no_recursion=
    814 prefix=NONE
    815 program_prefix=NONE
    816 program_suffix=NONE
    817 program_transform_name=s,x,x,
    818 silent=
    819 site=
    820 srcdir=
    821 verbose=
    822 x_includes=NONE
    823 x_libraries=NONE
    824 
    825 # Installation directory options.
    826 # These are left unexpanded so users can "make install exec_prefix=/foo"
    827 # and all the variables that are supposed to be based on exec_prefix
    828 # by default will actually change.
    829 # Use braces instead of parens because sh, perl, etc. also accept them.
    830 # (The list follows the same order as the GNU Coding Standards.)
    831 bindir='${exec_prefix}/bin'
    832 sbindir='${exec_prefix}/sbin'
    833 libexecdir='${exec_prefix}/libexec'
    834 datarootdir='${prefix}/share'
    835 datadir='${datarootdir}'
    836 sysconfdir='${prefix}/etc'
    837 sharedstatedir='${prefix}/com'
    838 localstatedir='${prefix}/var'
    839 runstatedir='${localstatedir}/run'
    840 includedir='${prefix}/include'
    841 oldincludedir='/usr/include'
    842 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    843 infodir='${datarootdir}/info'
    844 htmldir='${docdir}'
    845 dvidir='${docdir}'
    846 pdfdir='${docdir}'
    847 psdir='${docdir}'
    848 libdir='${exec_prefix}/lib'
    849 localedir='${datarootdir}/locale'
    850 mandir='${datarootdir}/man'
    851 
    852 ac_prev=
    853 ac_dashdash=
    854 for ac_option
    855 do
    856   # If the previous option needs an argument, assign it.
    857   if test -n "$ac_prev"; then
    858     eval $ac_prev=\$ac_option
    859     ac_prev=
    860     continue
    861   fi
    862 
    863   case $ac_option in
    864   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    865   *=)   ac_optarg= ;;
    866   *)    ac_optarg=yes ;;
    867   esac
    868 
    869   case $ac_dashdash$ac_option in
    870   --)
    871     ac_dashdash=yes ;;
    872 
    873   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    874     ac_prev=bindir ;;
    875   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    876     bindir=$ac_optarg ;;
    877 
    878   -build | --build | --buil | --bui | --bu)
    879     ac_prev=build_alias ;;
    880   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    881     build_alias=$ac_optarg ;;
    882 
    883   -cache-file | --cache-file | --cache-fil | --cache-fi \
    884   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    885     ac_prev=cache_file ;;
    886   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    887   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    888     cache_file=$ac_optarg ;;
    889 
    890   --config-cache | -C)
    891     cache_file=config.cache ;;
    892 
    893   -datadir | --datadir | --datadi | --datad)
    894     ac_prev=datadir ;;
    895   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    896     datadir=$ac_optarg ;;
    897 
    898   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    899   | --dataroo | --dataro | --datar)
    900     ac_prev=datarootdir ;;
    901   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    902   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    903     datarootdir=$ac_optarg ;;
    904 
    905   -disable-* | --disable-*)
    906     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    907     # Reject names that are not valid shell variable names.
    908     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    909       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    910     ac_useropt_orig=$ac_useropt
    911     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    912     case $ac_user_opts in
    913       *"
    914 "enable_$ac_useropt"
    915 "*) ;;
    916       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    917 	 ac_unrecognized_sep=', ';;
    918     esac
    919     eval enable_$ac_useropt=no ;;
    920 
    921   -docdir | --docdir | --docdi | --doc | --do)
    922     ac_prev=docdir ;;
    923   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    924     docdir=$ac_optarg ;;
    925 
    926   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    927     ac_prev=dvidir ;;
    928   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    929     dvidir=$ac_optarg ;;
    930 
    931   -enable-* | --enable-*)
    932     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    933     # Reject names that are not valid shell variable names.
    934     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    935       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    936     ac_useropt_orig=$ac_useropt
    937     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    938     case $ac_user_opts in
    939       *"
    940 "enable_$ac_useropt"
    941 "*) ;;
    942       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    943 	 ac_unrecognized_sep=', ';;
    944     esac
    945     eval enable_$ac_useropt=\$ac_optarg ;;
    946 
    947   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    948   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    949   | --exec | --exe | --ex)
    950     ac_prev=exec_prefix ;;
    951   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    952   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    953   | --exec=* | --exe=* | --ex=*)
    954     exec_prefix=$ac_optarg ;;
    955 
    956   -gas | --gas | --ga | --g)
    957     # Obsolete; use --with-gas.
    958     with_gas=yes ;;
    959 
    960   -help | --help | --hel | --he | -h)
    961     ac_init_help=long ;;
    962   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    963     ac_init_help=recursive ;;
    964   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    965     ac_init_help=short ;;
    966 
    967   -host | --host | --hos | --ho)
    968     ac_prev=host_alias ;;
    969   -host=* | --host=* | --hos=* | --ho=*)
    970     host_alias=$ac_optarg ;;
    971 
    972   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    973     ac_prev=htmldir ;;
    974   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    975   | --ht=*)
    976     htmldir=$ac_optarg ;;
    977 
    978   -includedir | --includedir | --includedi | --included | --include \
    979   | --includ | --inclu | --incl | --inc)
    980     ac_prev=includedir ;;
    981   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    982   | --includ=* | --inclu=* | --incl=* | --inc=*)
    983     includedir=$ac_optarg ;;
    984 
    985   -infodir | --infodir | --infodi | --infod | --info | --inf)
    986     ac_prev=infodir ;;
    987   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    988     infodir=$ac_optarg ;;
    989 
    990   -libdir | --libdir | --libdi | --libd)
    991     ac_prev=libdir ;;
    992   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    993     libdir=$ac_optarg ;;
    994 
    995   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    996   | --libexe | --libex | --libe)
    997     ac_prev=libexecdir ;;
    998   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    999   | --libexe=* | --libex=* | --libe=*)
   1000     libexecdir=$ac_optarg ;;
   1001 
   1002   -localedir | --localedir | --localedi | --localed | --locale)
   1003     ac_prev=localedir ;;
   1004   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1005     localedir=$ac_optarg ;;
   1006 
   1007   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1008   | --localstate | --localstat | --localsta | --localst | --locals)
   1009     ac_prev=localstatedir ;;
   1010   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1011   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1012     localstatedir=$ac_optarg ;;
   1013 
   1014   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1015     ac_prev=mandir ;;
   1016   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1017     mandir=$ac_optarg ;;
   1018 
   1019   -nfp | --nfp | --nf)
   1020     # Obsolete; use --without-fp.
   1021     with_fp=no ;;
   1022 
   1023   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1024   | --no-cr | --no-c | -n)
   1025     no_create=yes ;;
   1026 
   1027   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1028   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1029     no_recursion=yes ;;
   1030 
   1031   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1032   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1033   | --oldin | --oldi | --old | --ol | --o)
   1034     ac_prev=oldincludedir ;;
   1035   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1036   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1037   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1038     oldincludedir=$ac_optarg ;;
   1039 
   1040   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1041     ac_prev=prefix ;;
   1042   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1043     prefix=$ac_optarg ;;
   1044 
   1045   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1046   | --program-pre | --program-pr | --program-p)
   1047     ac_prev=program_prefix ;;
   1048   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1049   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1050     program_prefix=$ac_optarg ;;
   1051 
   1052   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1053   | --program-suf | --program-su | --program-s)
   1054     ac_prev=program_suffix ;;
   1055   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1056   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1057     program_suffix=$ac_optarg ;;
   1058 
   1059   -program-transform-name | --program-transform-name \
   1060   | --program-transform-nam | --program-transform-na \
   1061   | --program-transform-n | --program-transform- \
   1062   | --program-transform | --program-transfor \
   1063   | --program-transfo | --program-transf \
   1064   | --program-trans | --program-tran \
   1065   | --progr-tra | --program-tr | --program-t)
   1066     ac_prev=program_transform_name ;;
   1067   -program-transform-name=* | --program-transform-name=* \
   1068   | --program-transform-nam=* | --program-transform-na=* \
   1069   | --program-transform-n=* | --program-transform-=* \
   1070   | --program-transform=* | --program-transfor=* \
   1071   | --program-transfo=* | --program-transf=* \
   1072   | --program-trans=* | --program-tran=* \
   1073   | --progr-tra=* | --program-tr=* | --program-t=*)
   1074     program_transform_name=$ac_optarg ;;
   1075 
   1076   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1077     ac_prev=pdfdir ;;
   1078   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1079     pdfdir=$ac_optarg ;;
   1080 
   1081   -psdir | --psdir | --psdi | --psd | --ps)
   1082     ac_prev=psdir ;;
   1083   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1084     psdir=$ac_optarg ;;
   1085 
   1086   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1087   | -silent | --silent | --silen | --sile | --sil)
   1088     silent=yes ;;
   1089 
   1090   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1091   | --runstate | --runstat | --runsta | --runst | --runs \
   1092   | --run | --ru | --r)
   1093     ac_prev=runstatedir ;;
   1094   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1095   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1096   | --run=* | --ru=* | --r=*)
   1097     runstatedir=$ac_optarg ;;
   1098 
   1099   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1100     ac_prev=sbindir ;;
   1101   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1102   | --sbi=* | --sb=*)
   1103     sbindir=$ac_optarg ;;
   1104 
   1105   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1106   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1107   | --sharedst | --shareds | --shared | --share | --shar \
   1108   | --sha | --sh)
   1109     ac_prev=sharedstatedir ;;
   1110   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1111   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1112   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1113   | --sha=* | --sh=*)
   1114     sharedstatedir=$ac_optarg ;;
   1115 
   1116   -site | --site | --sit)
   1117     ac_prev=site ;;
   1118   -site=* | --site=* | --sit=*)
   1119     site=$ac_optarg ;;
   1120 
   1121   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1122     ac_prev=srcdir ;;
   1123   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1124     srcdir=$ac_optarg ;;
   1125 
   1126   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1127   | --syscon | --sysco | --sysc | --sys | --sy)
   1128     ac_prev=sysconfdir ;;
   1129   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1130   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1131     sysconfdir=$ac_optarg ;;
   1132 
   1133   -target | --target | --targe | --targ | --tar | --ta | --t)
   1134     ac_prev=target_alias ;;
   1135   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1136     target_alias=$ac_optarg ;;
   1137 
   1138   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1139     verbose=yes ;;
   1140 
   1141   -version | --version | --versio | --versi | --vers | -V)
   1142     ac_init_version=: ;;
   1143 
   1144   -with-* | --with-*)
   1145     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1146     # Reject names that are not valid shell variable names.
   1147     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1148       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1149     ac_useropt_orig=$ac_useropt
   1150     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1151     case $ac_user_opts in
   1152       *"
   1153 "with_$ac_useropt"
   1154 "*) ;;
   1155       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1156 	 ac_unrecognized_sep=', ';;
   1157     esac
   1158     eval with_$ac_useropt=\$ac_optarg ;;
   1159 
   1160   -without-* | --without-*)
   1161     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1162     # Reject names that are not valid shell variable names.
   1163     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1164       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1165     ac_useropt_orig=$ac_useropt
   1166     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1167     case $ac_user_opts in
   1168       *"
   1169 "with_$ac_useropt"
   1170 "*) ;;
   1171       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1172 	 ac_unrecognized_sep=', ';;
   1173     esac
   1174     eval with_$ac_useropt=no ;;
   1175 
   1176   --x)
   1177     # Obsolete; use --with-x.
   1178     with_x=yes ;;
   1179 
   1180   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1181   | --x-incl | --x-inc | --x-in | --x-i)
   1182     ac_prev=x_includes ;;
   1183   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1184   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1185     x_includes=$ac_optarg ;;
   1186 
   1187   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1188   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1189     ac_prev=x_libraries ;;
   1190   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1191   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1192     x_libraries=$ac_optarg ;;
   1193 
   1194   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1195 Try \`$0 --help' for more information"
   1196     ;;
   1197 
   1198   *=*)
   1199     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1200     # Reject names that are not valid shell variable names.
   1201     case $ac_envvar in #(
   1202       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1203       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1204     esac
   1205     eval $ac_envvar=\$ac_optarg
   1206     export $ac_envvar ;;
   1207 
   1208   *)
   1209     # FIXME: should be removed in autoconf 3.0.
   1210     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1211     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1212       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1213     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1214     ;;
   1215 
   1216   esac
   1217 done
   1218 
   1219 if test -n "$ac_prev"; then
   1220   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1221   as_fn_error $? "missing argument to $ac_option"
   1222 fi
   1223 
   1224 if test -n "$ac_unrecognized_opts"; then
   1225   case $enable_option_checking in
   1226     no) ;;
   1227     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1228     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1229   esac
   1230 fi
   1231 
   1232 # Check all directory arguments for consistency.
   1233 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1234 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1235 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1236 		libdir localedir mandir runstatedir
   1237 do
   1238   eval ac_val=\$$ac_var
   1239   # Remove trailing slashes.
   1240   case $ac_val in
   1241     */ )
   1242       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1243       eval $ac_var=\$ac_val;;
   1244   esac
   1245   # Be sure to have absolute directory names.
   1246   case $ac_val in
   1247     [\\/$]* | ?:[\\/]* )  continue;;
   1248     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1249   esac
   1250   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1251 done
   1252 
   1253 # There might be people who depend on the old broken behavior: `$host'
   1254 # used to hold the argument of --host etc.
   1255 # FIXME: To remove some day.
   1256 build=$build_alias
   1257 host=$host_alias
   1258 target=$target_alias
   1259 
   1260 # FIXME: To remove some day.
   1261 if test "x$host_alias" != x; then
   1262   if test "x$build_alias" = x; then
   1263     cross_compiling=maybe
   1264   elif test "x$build_alias" != "x$host_alias"; then
   1265     cross_compiling=yes
   1266   fi
   1267 fi
   1268 
   1269 ac_tool_prefix=
   1270 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1271 
   1272 test "$silent" = yes && exec 6>/dev/null
   1273 
   1274 
   1275 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1276 ac_ls_di=`ls -di .` &&
   1277 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1278   as_fn_error $? "working directory cannot be determined"
   1279 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1280   as_fn_error $? "pwd does not report name of working directory"
   1281 
   1282 
   1283 # Find the source files, if location was not specified.
   1284 if test -z "$srcdir"; then
   1285   ac_srcdir_defaulted=yes
   1286   # Try the directory containing this script, then the parent directory.
   1287   ac_confdir=`$as_dirname -- "$as_myself" ||
   1288 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1289 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1290 	 X"$as_myself" : 'X\(//\)$' \| \
   1291 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1292 printf "%s\n" X"$as_myself" |
   1293     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1294 	    s//\1/
   1295 	    q
   1296 	  }
   1297 	  /^X\(\/\/\)[^/].*/{
   1298 	    s//\1/
   1299 	    q
   1300 	  }
   1301 	  /^X\(\/\/\)$/{
   1302 	    s//\1/
   1303 	    q
   1304 	  }
   1305 	  /^X\(\/\).*/{
   1306 	    s//\1/
   1307 	    q
   1308 	  }
   1309 	  s/.*/./; q'`
   1310   srcdir=$ac_confdir
   1311   if test ! -r "$srcdir/$ac_unique_file"; then
   1312     srcdir=..
   1313   fi
   1314 else
   1315   ac_srcdir_defaulted=no
   1316 fi
   1317 if test ! -r "$srcdir/$ac_unique_file"; then
   1318   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1319   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1320 fi
   1321 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1322 ac_abs_confdir=`(
   1323 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1324 	pwd)`
   1325 # When building in place, set srcdir=.
   1326 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1327   srcdir=.
   1328 fi
   1329 # Remove unnecessary trailing slashes from srcdir.
   1330 # Double slashes in file names in object file debugging info
   1331 # mess up M-x gdb in Emacs.
   1332 case $srcdir in
   1333 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1334 esac
   1335 for ac_var in $ac_precious_vars; do
   1336   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1337   eval ac_env_${ac_var}_value=\$${ac_var}
   1338   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1339   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1340 done
   1341 
   1342 #
   1343 # Report the --help message.
   1344 #
   1345 if test "$ac_init_help" = "long"; then
   1346   # Omit some internal or obsolete options to make the list less imposing.
   1347   # This message is too long to be a string in the A/UX 3.1 sh.
   1348   cat <<_ACEOF
   1349 \`configure' configures xsm 1.0.5 to adapt to many kinds of systems.
   1350 
   1351 Usage: $0 [OPTION]... [VAR=VALUE]...
   1352 
   1353 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1354 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1355 
   1356 Defaults for the options are specified in brackets.
   1357 
   1358 Configuration:
   1359   -h, --help              display this help and exit
   1360       --help=short        display options specific to this package
   1361       --help=recursive    display the short help of all the included packages
   1362   -V, --version           display version information and exit
   1363   -q, --quiet, --silent   do not print \`checking ...' messages
   1364       --cache-file=FILE   cache test results in FILE [disabled]
   1365   -C, --config-cache      alias for \`--cache-file=config.cache'
   1366   -n, --no-create         do not create output files
   1367       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1368 
   1369 Installation directories:
   1370   --prefix=PREFIX         install architecture-independent files in PREFIX
   1371                           [$ac_default_prefix]
   1372   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1373                           [PREFIX]
   1374 
   1375 By default, \`make install' will install all the files in
   1376 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1377 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1378 for instance \`--prefix=\$HOME'.
   1379 
   1380 For better control, use the options below.
   1381 
   1382 Fine tuning of the installation directories:
   1383   --bindir=DIR            user executables [EPREFIX/bin]
   1384   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1385   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1386   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1387   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1388   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1389   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1390   --libdir=DIR            object code libraries [EPREFIX/lib]
   1391   --includedir=DIR        C header files [PREFIX/include]
   1392   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1393   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1394   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1395   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1396   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1397   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1398   --docdir=DIR            documentation root [DATAROOTDIR/doc/xsm]
   1399   --htmldir=DIR           html documentation [DOCDIR]
   1400   --dvidir=DIR            dvi documentation [DOCDIR]
   1401   --pdfdir=DIR            pdf documentation [DOCDIR]
   1402   --psdir=DIR             ps documentation [DOCDIR]
   1403 _ACEOF
   1404 
   1405   cat <<\_ACEOF
   1406 
   1407 Program names:
   1408   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1409   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1410   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1411 
   1412 System types:
   1413   --build=BUILD     configure for building on BUILD [guessed]
   1414   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1415 _ACEOF
   1416 fi
   1417 
   1418 if test -n "$ac_init_help"; then
   1419   case $ac_init_help in
   1420      short | recursive ) echo "Configuration of xsm 1.0.5:";;
   1421    esac
   1422   cat <<\_ACEOF
   1423 
   1424 Optional Features:
   1425   --disable-option-checking  ignore unrecognized --enable/--with options
   1426   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1427   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1428   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1429   --disable-silent-rules  verbose build output (undo: "make V=0")
   1430   --enable-dependency-tracking
   1431                           do not reject slow dependency extractors
   1432   --disable-dependency-tracking
   1433                           speeds up one-time build
   1434   --disable-selective-werror
   1435                           Turn off selective compiler errors. (default:
   1436                           enabled)
   1437   --enable-strict-compilation
   1438                           Enable all warnings from compiler and make them
   1439                           errors (default: disabled)
   1440 
   1441 Optional Packages:
   1442   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1443   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1444   --with-rsh=PATH         Rsh command to use (default: $bindir/ssh)
   1445   --with-appdefaultdir=<pathname>
   1446                           specify directory for app-defaults files (default is
   1447                           autodetected)
   1448 
   1449 Some influential environment variables:
   1450   CC          C compiler command
   1451   CFLAGS      C compiler flags
   1452   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1453               nonstandard directory <lib dir>
   1454   LIBS        libraries to pass to the linker, e.g. -l<library>
   1455   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1456               you have headers in a nonstandard directory <include dir>
   1457   PKG_CONFIG  path to pkg-config utility
   1458   PKG_CONFIG_PATH
   1459               directories to add to pkg-config's search path
   1460   PKG_CONFIG_LIBDIR
   1461               path overriding pkg-config's built-in search path
   1462   XSM_CFLAGS  C compiler flags for XSM, overriding pkg-config
   1463   XSM_LIBS    linker flags for XSM, overriding pkg-config
   1464 
   1465 Use these variables to override the choices made by `configure' or to help
   1466 it to find libraries and programs with nonstandard names/locations.
   1467 
   1468 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xsm/issues>.
   1469 _ACEOF
   1470 ac_status=$?
   1471 fi
   1472 
   1473 if test "$ac_init_help" = "recursive"; then
   1474   # If there are subdirs, report their specific --help.
   1475   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1476     test -d "$ac_dir" ||
   1477       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1478       continue
   1479     ac_builddir=.
   1480 
   1481 case "$ac_dir" in
   1482 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1483 *)
   1484   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1485   # A ".." for each directory in $ac_dir_suffix.
   1486   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1487   case $ac_top_builddir_sub in
   1488   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1489   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1490   esac ;;
   1491 esac
   1492 ac_abs_top_builddir=$ac_pwd
   1493 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1494 # for backward compatibility:
   1495 ac_top_builddir=$ac_top_build_prefix
   1496 
   1497 case $srcdir in
   1498   .)  # We are building in place.
   1499     ac_srcdir=.
   1500     ac_top_srcdir=$ac_top_builddir_sub
   1501     ac_abs_top_srcdir=$ac_pwd ;;
   1502   [\\/]* | ?:[\\/]* )  # Absolute name.
   1503     ac_srcdir=$srcdir$ac_dir_suffix;
   1504     ac_top_srcdir=$srcdir
   1505     ac_abs_top_srcdir=$srcdir ;;
   1506   *) # Relative name.
   1507     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1508     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1509     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1510 esac
   1511 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1512 
   1513     cd "$ac_dir" || { ac_status=$?; continue; }
   1514     # Check for configure.gnu first; this name is used for a wrapper for
   1515     # Metaconfig's "Configure" on case-insensitive file systems.
   1516     if test -f "$ac_srcdir/configure.gnu"; then
   1517       echo &&
   1518       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1519     elif test -f "$ac_srcdir/configure"; then
   1520       echo &&
   1521       $SHELL "$ac_srcdir/configure" --help=recursive
   1522     else
   1523       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1524     fi || ac_status=$?
   1525     cd "$ac_pwd" || { ac_status=$?; break; }
   1526   done
   1527 fi
   1528 
   1529 test -n "$ac_init_help" && exit $ac_status
   1530 if $ac_init_version; then
   1531   cat <<\_ACEOF
   1532 xsm configure 1.0.5
   1533 generated by GNU Autoconf 2.71
   1534 
   1535 Copyright (C) 2021 Free Software Foundation, Inc.
   1536 This configure script is free software; the Free Software Foundation
   1537 gives unlimited permission to copy, distribute and modify it.
   1538 _ACEOF
   1539   exit
   1540 fi
   1541 
   1542 ## ------------------------ ##
   1543 ## Autoconf initialization. ##
   1544 ## ------------------------ ##
   1545 
   1546 # ac_fn_c_try_compile LINENO
   1547 # --------------------------
   1548 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1549 ac_fn_c_try_compile ()
   1550 {
   1551   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1552   rm -f conftest.$ac_objext conftest.beam
   1553   if { { ac_try="$ac_compile"
   1554 case "(($ac_try" in
   1555   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1556   *) ac_try_echo=$ac_try;;
   1557 esac
   1558 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1559 printf "%s\n" "$ac_try_echo"; } >&5
   1560   (eval "$ac_compile") 2>conftest.err
   1561   ac_status=$?
   1562   if test -s conftest.err; then
   1563     grep -v '^ *+' conftest.err >conftest.er1
   1564     cat conftest.er1 >&5
   1565     mv -f conftest.er1 conftest.err
   1566   fi
   1567   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1568   test $ac_status = 0; } && {
   1569 	 test -z "$ac_c_werror_flag" ||
   1570 	 test ! -s conftest.err
   1571        } && test -s conftest.$ac_objext
   1572 then :
   1573   ac_retval=0
   1574 else $as_nop
   1575   printf "%s\n" "$as_me: failed program was:" >&5
   1576 sed 's/^/| /' conftest.$ac_ext >&5
   1577 
   1578 	ac_retval=1
   1579 fi
   1580   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1581   as_fn_set_status $ac_retval
   1582 
   1583 } # ac_fn_c_try_compile
   1584 
   1585 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1586 # ------------------------------------------------------------------
   1587 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1588 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1589 ac_fn_check_decl ()
   1590 {
   1591   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1592   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1593   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1594 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1595 if eval test \${$3+y}
   1596 then :
   1597   printf %s "(cached) " >&6
   1598 else $as_nop
   1599   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1600   eval ac_save_FLAGS=\$$6
   1601   as_fn_append $6 " $5"
   1602   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1603 /* end confdefs.h.  */
   1604 $4
   1605 int
   1606 main (void)
   1607 {
   1608 #ifndef $as_decl_name
   1609 #ifdef __cplusplus
   1610   (void) $as_decl_use;
   1611 #else
   1612   (void) $as_decl_name;
   1613 #endif
   1614 #endif
   1615 
   1616   ;
   1617   return 0;
   1618 }
   1619 _ACEOF
   1620 if ac_fn_c_try_compile "$LINENO"
   1621 then :
   1622   eval "$3=yes"
   1623 else $as_nop
   1624   eval "$3=no"
   1625 fi
   1626 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1627   eval $6=\$ac_save_FLAGS
   1628 
   1629 fi
   1630 eval ac_res=\$$3
   1631 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1632 printf "%s\n" "$ac_res" >&6; }
   1633   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1634 
   1635 } # ac_fn_check_decl
   1636 
   1637 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1638 # -------------------------------------------------------
   1639 # Tests whether HEADER exists and can be compiled using the include files in
   1640 # INCLUDES, setting the cache variable VAR accordingly.
   1641 ac_fn_c_check_header_compile ()
   1642 {
   1643   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1644   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1645 printf %s "checking for $2... " >&6; }
   1646 if eval test \${$3+y}
   1647 then :
   1648   printf %s "(cached) " >&6
   1649 else $as_nop
   1650   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1651 /* end confdefs.h.  */
   1652 $4
   1653 #include <$2>
   1654 _ACEOF
   1655 if ac_fn_c_try_compile "$LINENO"
   1656 then :
   1657   eval "$3=yes"
   1658 else $as_nop
   1659   eval "$3=no"
   1660 fi
   1661 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1662 fi
   1663 eval ac_res=\$$3
   1664 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1665 printf "%s\n" "$ac_res" >&6; }
   1666   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1667 
   1668 } # ac_fn_c_check_header_compile
   1669 
   1670 # ac_fn_c_try_link LINENO
   1671 # -----------------------
   1672 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1673 ac_fn_c_try_link ()
   1674 {
   1675   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1676   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1677   if { { ac_try="$ac_link"
   1678 case "(($ac_try" in
   1679   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1680   *) ac_try_echo=$ac_try;;
   1681 esac
   1682 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1683 printf "%s\n" "$ac_try_echo"; } >&5
   1684   (eval "$ac_link") 2>conftest.err
   1685   ac_status=$?
   1686   if test -s conftest.err; then
   1687     grep -v '^ *+' conftest.err >conftest.er1
   1688     cat conftest.er1 >&5
   1689     mv -f conftest.er1 conftest.err
   1690   fi
   1691   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1692   test $ac_status = 0; } && {
   1693 	 test -z "$ac_c_werror_flag" ||
   1694 	 test ! -s conftest.err
   1695        } && test -s conftest$ac_exeext && {
   1696 	 test "$cross_compiling" = yes ||
   1697 	 test -x conftest$ac_exeext
   1698        }
   1699 then :
   1700   ac_retval=0
   1701 else $as_nop
   1702   printf "%s\n" "$as_me: failed program was:" >&5
   1703 sed 's/^/| /' conftest.$ac_ext >&5
   1704 
   1705 	ac_retval=1
   1706 fi
   1707   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1708   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1709   # interfere with the next link command; also delete a directory that is
   1710   # left behind by Apple's compiler.  We do this before executing the actions.
   1711   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1712   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1713   as_fn_set_status $ac_retval
   1714 
   1715 } # ac_fn_c_try_link
   1716 
   1717 # ac_fn_c_check_func LINENO FUNC VAR
   1718 # ----------------------------------
   1719 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1720 ac_fn_c_check_func ()
   1721 {
   1722   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1723   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1724 printf %s "checking for $2... " >&6; }
   1725 if eval test \${$3+y}
   1726 then :
   1727   printf %s "(cached) " >&6
   1728 else $as_nop
   1729   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1730 /* end confdefs.h.  */
   1731 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1732    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1733 #define $2 innocuous_$2
   1734 
   1735 /* System header to define __stub macros and hopefully few prototypes,
   1736    which can conflict with char $2 (); below.  */
   1737 
   1738 #include <limits.h>
   1739 #undef $2
   1740 
   1741 /* Override any GCC internal prototype to avoid an error.
   1742    Use char because int might match the return type of a GCC
   1743    builtin and then its argument prototype would still apply.  */
   1744 #ifdef __cplusplus
   1745 extern "C"
   1746 #endif
   1747 char $2 ();
   1748 /* The GNU C library defines this for functions which it implements
   1749     to always fail with ENOSYS.  Some functions are actually named
   1750     something starting with __ and the normal name is an alias.  */
   1751 #if defined __stub_$2 || defined __stub___$2
   1752 choke me
   1753 #endif
   1754 
   1755 int
   1756 main (void)
   1757 {
   1758 return $2 ();
   1759   ;
   1760   return 0;
   1761 }
   1762 _ACEOF
   1763 if ac_fn_c_try_link "$LINENO"
   1764 then :
   1765   eval "$3=yes"
   1766 else $as_nop
   1767   eval "$3=no"
   1768 fi
   1769 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1770     conftest$ac_exeext conftest.$ac_ext
   1771 fi
   1772 eval ac_res=\$$3
   1773 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1774 printf "%s\n" "$ac_res" >&6; }
   1775   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1776 
   1777 } # ac_fn_c_check_func
   1778 ac_configure_args_raw=
   1779 for ac_arg
   1780 do
   1781   case $ac_arg in
   1782   *\'*)
   1783     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1784   esac
   1785   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1786 done
   1787 
   1788 case $ac_configure_args_raw in
   1789   *$as_nl*)
   1790     ac_safe_unquote= ;;
   1791   *)
   1792     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1793     ac_unsafe_a="$ac_unsafe_z#~"
   1794     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1795     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1796 esac
   1797 
   1798 cat >config.log <<_ACEOF
   1799 This file contains any messages produced by compilers while
   1800 running configure, to aid debugging if configure makes a mistake.
   1801 
   1802 It was created by xsm $as_me 1.0.5, which was
   1803 generated by GNU Autoconf 2.71.  Invocation command line was
   1804 
   1805   $ $0$ac_configure_args_raw
   1806 
   1807 _ACEOF
   1808 exec 5>>config.log
   1809 {
   1810 cat <<_ASUNAME
   1811 ## --------- ##
   1812 ## Platform. ##
   1813 ## --------- ##
   1814 
   1815 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1816 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1817 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1818 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1819 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1820 
   1821 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1822 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1823 
   1824 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1825 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1826 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1827 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1828 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1829 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1830 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1831 
   1832 _ASUNAME
   1833 
   1834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1835 for as_dir in $PATH
   1836 do
   1837   IFS=$as_save_IFS
   1838   case $as_dir in #(((
   1839     '') as_dir=./ ;;
   1840     */) ;;
   1841     *) as_dir=$as_dir/ ;;
   1842   esac
   1843     printf "%s\n" "PATH: $as_dir"
   1844   done
   1845 IFS=$as_save_IFS
   1846 
   1847 } >&5
   1848 
   1849 cat >&5 <<_ACEOF
   1850 
   1851 
   1852 ## ----------- ##
   1853 ## Core tests. ##
   1854 ## ----------- ##
   1855 
   1856 _ACEOF
   1857 
   1858 
   1859 # Keep a trace of the command line.
   1860 # Strip out --no-create and --no-recursion so they do not pile up.
   1861 # Strip out --silent because we don't want to record it for future runs.
   1862 # Also quote any args containing shell meta-characters.
   1863 # Make two passes to allow for proper duplicate-argument suppression.
   1864 ac_configure_args=
   1865 ac_configure_args0=
   1866 ac_configure_args1=
   1867 ac_must_keep_next=false
   1868 for ac_pass in 1 2
   1869 do
   1870   for ac_arg
   1871   do
   1872     case $ac_arg in
   1873     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1874     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1875     | -silent | --silent | --silen | --sile | --sil)
   1876       continue ;;
   1877     *\'*)
   1878       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1879     esac
   1880     case $ac_pass in
   1881     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1882     2)
   1883       as_fn_append ac_configure_args1 " '$ac_arg'"
   1884       if test $ac_must_keep_next = true; then
   1885 	ac_must_keep_next=false # Got value, back to normal.
   1886       else
   1887 	case $ac_arg in
   1888 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1889 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1890 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1891 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1892 	    case "$ac_configure_args0 " in
   1893 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1894 	    esac
   1895 	    ;;
   1896 	  -* ) ac_must_keep_next=true ;;
   1897 	esac
   1898       fi
   1899       as_fn_append ac_configure_args " '$ac_arg'"
   1900       ;;
   1901     esac
   1902   done
   1903 done
   1904 { ac_configure_args0=; unset ac_configure_args0;}
   1905 { ac_configure_args1=; unset ac_configure_args1;}
   1906 
   1907 # When interrupted or exit'd, cleanup temporary files, and complete
   1908 # config.log.  We remove comments because anyway the quotes in there
   1909 # would cause problems or look ugly.
   1910 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1911 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1912 trap 'exit_status=$?
   1913   # Sanitize IFS.
   1914   IFS=" ""	$as_nl"
   1915   # Save into config.log some information that might help in debugging.
   1916   {
   1917     echo
   1918 
   1919     printf "%s\n" "## ---------------- ##
   1920 ## Cache variables. ##
   1921 ## ---------------- ##"
   1922     echo
   1923     # The following way of writing the cache mishandles newlines in values,
   1924 (
   1925   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1926     eval ac_val=\$$ac_var
   1927     case $ac_val in #(
   1928     *${as_nl}*)
   1929       case $ac_var in #(
   1930       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1931 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1932       esac
   1933       case $ac_var in #(
   1934       _ | IFS | as_nl) ;; #(
   1935       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1936       *) { eval $ac_var=; unset $ac_var;} ;;
   1937       esac ;;
   1938     esac
   1939   done
   1940   (set) 2>&1 |
   1941     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1942     *${as_nl}ac_space=\ *)
   1943       sed -n \
   1944 	"s/'\''/'\''\\\\'\'''\''/g;
   1945 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1946       ;; #(
   1947     *)
   1948       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1949       ;;
   1950     esac |
   1951     sort
   1952 )
   1953     echo
   1954 
   1955     printf "%s\n" "## ----------------- ##
   1956 ## Output variables. ##
   1957 ## ----------------- ##"
   1958     echo
   1959     for ac_var in $ac_subst_vars
   1960     do
   1961       eval ac_val=\$$ac_var
   1962       case $ac_val in
   1963       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1964       esac
   1965       printf "%s\n" "$ac_var='\''$ac_val'\''"
   1966     done | sort
   1967     echo
   1968 
   1969     if test -n "$ac_subst_files"; then
   1970       printf "%s\n" "## ------------------- ##
   1971 ## File substitutions. ##
   1972 ## ------------------- ##"
   1973       echo
   1974       for ac_var in $ac_subst_files
   1975       do
   1976 	eval ac_val=\$$ac_var
   1977 	case $ac_val in
   1978 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1979 	esac
   1980 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   1981       done | sort
   1982       echo
   1983     fi
   1984 
   1985     if test -s confdefs.h; then
   1986       printf "%s\n" "## ----------- ##
   1987 ## confdefs.h. ##
   1988 ## ----------- ##"
   1989       echo
   1990       cat confdefs.h
   1991       echo
   1992     fi
   1993     test "$ac_signal" != 0 &&
   1994       printf "%s\n" "$as_me: caught signal $ac_signal"
   1995     printf "%s\n" "$as_me: exit $exit_status"
   1996   } >&5
   1997   rm -f core *.core core.conftest.* &&
   1998     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1999     exit $exit_status
   2000 ' 0
   2001 for ac_signal in 1 2 13 15; do
   2002   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2003 done
   2004 ac_signal=0
   2005 
   2006 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2007 rm -f -r conftest* confdefs.h
   2008 
   2009 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2010 
   2011 # Predefined preprocessor variables.
   2012 
   2013 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2014 
   2015 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2016 
   2017 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2018 
   2019 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2020 
   2021 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2022 
   2023 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2024 
   2025 
   2026 # Let the site file select an alternate cache file if it wants to.
   2027 # Prefer an explicitly selected file to automatically selected ones.
   2028 if test -n "$CONFIG_SITE"; then
   2029   ac_site_files="$CONFIG_SITE"
   2030 elif test "x$prefix" != xNONE; then
   2031   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2032 else
   2033   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2034 fi
   2035 
   2036 for ac_site_file in $ac_site_files
   2037 do
   2038   case $ac_site_file in #(
   2039   */*) :
   2040      ;; #(
   2041   *) :
   2042     ac_site_file=./$ac_site_file ;;
   2043 esac
   2044   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2045     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2046 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2047     sed 's/^/| /' "$ac_site_file" >&5
   2048     . "$ac_site_file" \
   2049       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2050 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2051 as_fn_error $? "failed to load site script $ac_site_file
   2052 See \`config.log' for more details" "$LINENO" 5; }
   2053   fi
   2054 done
   2055 
   2056 if test -r "$cache_file"; then
   2057   # Some versions of bash will fail to source /dev/null (special files
   2058   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2059   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2060     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2061 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2062     case $cache_file in
   2063       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2064       *)                      . "./$cache_file";;
   2065     esac
   2066   fi
   2067 else
   2068   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2069 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2070   >$cache_file
   2071 fi
   2072 
   2073 # Test code for whether the C compiler supports C89 (global declarations)
   2074 ac_c_conftest_c89_globals='
   2075 /* Does the compiler advertise C89 conformance?
   2076    Do not test the value of __STDC__, because some compilers set it to 0
   2077    while being otherwise adequately conformant. */
   2078 #if !defined __STDC__
   2079 # error "Compiler does not advertise C89 conformance"
   2080 #endif
   2081 
   2082 #include <stddef.h>
   2083 #include <stdarg.h>
   2084 struct stat;
   2085 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2086 struct buf { int x; };
   2087 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2088 static char *e (p, i)
   2089      char **p;
   2090      int i;
   2091 {
   2092   return p[i];
   2093 }
   2094 static char *f (char * (*g) (char **, int), char **p, ...)
   2095 {
   2096   char *s;
   2097   va_list v;
   2098   va_start (v,p);
   2099   s = g (p, va_arg (v,int));
   2100   va_end (v);
   2101   return s;
   2102 }
   2103 
   2104 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2105    function prototypes and stuff, but not \xHH hex character constants.
   2106    These do not provoke an error unfortunately, instead are silently treated
   2107    as an "x".  The following induces an error, until -std is added to get
   2108    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2109    array size at least.  It is necessary to write \x00 == 0 to get something
   2110    that is true only with -std.  */
   2111 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2112 
   2113 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2114    inside strings and character constants.  */
   2115 #define FOO(x) '\''x'\''
   2116 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2117 
   2118 int test (int i, double x);
   2119 struct s1 {int (*f) (int a);};
   2120 struct s2 {int (*f) (double a);};
   2121 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2122                int, int);'
   2123 
   2124 # Test code for whether the C compiler supports C89 (body of main).
   2125 ac_c_conftest_c89_main='
   2126 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2127 '
   2128 
   2129 # Test code for whether the C compiler supports C99 (global declarations)
   2130 ac_c_conftest_c99_globals='
   2131 // Does the compiler advertise C99 conformance?
   2132 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2133 # error "Compiler does not advertise C99 conformance"
   2134 #endif
   2135 
   2136 #include <stdbool.h>
   2137 extern int puts (const char *);
   2138 extern int printf (const char *, ...);
   2139 extern int dprintf (int, const char *, ...);
   2140 extern void *malloc (size_t);
   2141 
   2142 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2143 // dprintf is used instead of fprintf to avoid needing to declare
   2144 // FILE and stderr.
   2145 #define debug(...) dprintf (2, __VA_ARGS__)
   2146 #define showlist(...) puts (#__VA_ARGS__)
   2147 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2148 static void
   2149 test_varargs_macros (void)
   2150 {
   2151   int x = 1234;
   2152   int y = 5678;
   2153   debug ("Flag");
   2154   debug ("X = %d\n", x);
   2155   showlist (The first, second, and third items.);
   2156   report (x>y, "x is %d but y is %d", x, y);
   2157 }
   2158 
   2159 // Check long long types.
   2160 #define BIG64 18446744073709551615ull
   2161 #define BIG32 4294967295ul
   2162 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2163 #if !BIG_OK
   2164   #error "your preprocessor is broken"
   2165 #endif
   2166 #if BIG_OK
   2167 #else
   2168   #error "your preprocessor is broken"
   2169 #endif
   2170 static long long int bignum = -9223372036854775807LL;
   2171 static unsigned long long int ubignum = BIG64;
   2172 
   2173 struct incomplete_array
   2174 {
   2175   int datasize;
   2176   double data[];
   2177 };
   2178 
   2179 struct named_init {
   2180   int number;
   2181   const wchar_t *name;
   2182   double average;
   2183 };
   2184 
   2185 typedef const char *ccp;
   2186 
   2187 static inline int
   2188 test_restrict (ccp restrict text)
   2189 {
   2190   // See if C++-style comments work.
   2191   // Iterate through items via the restricted pointer.
   2192   // Also check for declarations in for loops.
   2193   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2194     continue;
   2195   return 0;
   2196 }
   2197 
   2198 // Check varargs and va_copy.
   2199 static bool
   2200 test_varargs (const char *format, ...)
   2201 {
   2202   va_list args;
   2203   va_start (args, format);
   2204   va_list args_copy;
   2205   va_copy (args_copy, args);
   2206 
   2207   const char *str = "";
   2208   int number = 0;
   2209   float fnumber = 0;
   2210 
   2211   while (*format)
   2212     {
   2213       switch (*format++)
   2214 	{
   2215 	case '\''s'\'': // string
   2216 	  str = va_arg (args_copy, const char *);
   2217 	  break;
   2218 	case '\''d'\'': // int
   2219 	  number = va_arg (args_copy, int);
   2220 	  break;
   2221 	case '\''f'\'': // float
   2222 	  fnumber = va_arg (args_copy, double);
   2223 	  break;
   2224 	default:
   2225 	  break;
   2226 	}
   2227     }
   2228   va_end (args_copy);
   2229   va_end (args);
   2230 
   2231   return *str && number && fnumber;
   2232 }
   2233 '
   2234 
   2235 # Test code for whether the C compiler supports C99 (body of main).
   2236 ac_c_conftest_c99_main='
   2237   // Check bool.
   2238   _Bool success = false;
   2239   success |= (argc != 0);
   2240 
   2241   // Check restrict.
   2242   if (test_restrict ("String literal") == 0)
   2243     success = true;
   2244   char *restrict newvar = "Another string";
   2245 
   2246   // Check varargs.
   2247   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2248   test_varargs_macros ();
   2249 
   2250   // Check flexible array members.
   2251   struct incomplete_array *ia =
   2252     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2253   ia->datasize = 10;
   2254   for (int i = 0; i < ia->datasize; ++i)
   2255     ia->data[i] = i * 1.234;
   2256 
   2257   // Check named initializers.
   2258   struct named_init ni = {
   2259     .number = 34,
   2260     .name = L"Test wide string",
   2261     .average = 543.34343,
   2262   };
   2263 
   2264   ni.number = 58;
   2265 
   2266   int dynamic_array[ni.number];
   2267   dynamic_array[0] = argv[0][0];
   2268   dynamic_array[ni.number - 1] = 543;
   2269 
   2270   // work around unused variable warnings
   2271   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2272 	 || dynamic_array[ni.number - 1] != 543);
   2273 '
   2274 
   2275 # Test code for whether the C compiler supports C11 (global declarations)
   2276 ac_c_conftest_c11_globals='
   2277 // Does the compiler advertise C11 conformance?
   2278 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2279 # error "Compiler does not advertise C11 conformance"
   2280 #endif
   2281 
   2282 // Check _Alignas.
   2283 char _Alignas (double) aligned_as_double;
   2284 char _Alignas (0) no_special_alignment;
   2285 extern char aligned_as_int;
   2286 char _Alignas (0) _Alignas (int) aligned_as_int;
   2287 
   2288 // Check _Alignof.
   2289 enum
   2290 {
   2291   int_alignment = _Alignof (int),
   2292   int_array_alignment = _Alignof (int[100]),
   2293   char_alignment = _Alignof (char)
   2294 };
   2295 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2296 
   2297 // Check _Noreturn.
   2298 int _Noreturn does_not_return (void) { for (;;) continue; }
   2299 
   2300 // Check _Static_assert.
   2301 struct test_static_assert
   2302 {
   2303   int x;
   2304   _Static_assert (sizeof (int) <= sizeof (long int),
   2305                   "_Static_assert does not work in struct");
   2306   long int y;
   2307 };
   2308 
   2309 // Check UTF-8 literals.
   2310 #define u8 syntax error!
   2311 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2312 
   2313 // Check duplicate typedefs.
   2314 typedef long *long_ptr;
   2315 typedef long int *long_ptr;
   2316 typedef long_ptr long_ptr;
   2317 
   2318 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2319 struct anonymous
   2320 {
   2321   union {
   2322     struct { int i; int j; };
   2323     struct { int k; long int l; } w;
   2324   };
   2325   int m;
   2326 } v1;
   2327 '
   2328 
   2329 # Test code for whether the C compiler supports C11 (body of main).
   2330 ac_c_conftest_c11_main='
   2331   _Static_assert ((offsetof (struct anonymous, i)
   2332 		   == offsetof (struct anonymous, w.k)),
   2333 		  "Anonymous union alignment botch");
   2334   v1.i = 2;
   2335   v1.w.k = 5;
   2336   ok |= v1.i != 5;
   2337 '
   2338 
   2339 # Test code for whether the C compiler supports C11 (complete).
   2340 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2341 ${ac_c_conftest_c99_globals}
   2342 ${ac_c_conftest_c11_globals}
   2343 
   2344 int
   2345 main (int argc, char **argv)
   2346 {
   2347   int ok = 0;
   2348   ${ac_c_conftest_c89_main}
   2349   ${ac_c_conftest_c99_main}
   2350   ${ac_c_conftest_c11_main}
   2351   return ok;
   2352 }
   2353 "
   2354 
   2355 # Test code for whether the C compiler supports C99 (complete).
   2356 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2357 ${ac_c_conftest_c99_globals}
   2358 
   2359 int
   2360 main (int argc, char **argv)
   2361 {
   2362   int ok = 0;
   2363   ${ac_c_conftest_c89_main}
   2364   ${ac_c_conftest_c99_main}
   2365   return ok;
   2366 }
   2367 "
   2368 
   2369 # Test code for whether the C compiler supports C89 (complete).
   2370 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2371 
   2372 int
   2373 main (int argc, char **argv)
   2374 {
   2375   int ok = 0;
   2376   ${ac_c_conftest_c89_main}
   2377   return ok;
   2378 }
   2379 "
   2380 
   2381 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2382 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2383 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2384 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2385 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2386 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2387 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2388 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2389 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2390 
   2391 # Auxiliary files required by this configure script.
   2392 ac_aux_files="config.guess config.sub compile missing install-sh"
   2393 
   2394 # Locations in which to look for auxiliary files.
   2395 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2396 
   2397 # Search for a directory containing all of the required auxiliary files,
   2398 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2399 # If we don't find one directory that contains all the files we need,
   2400 # we report the set of missing files from the *first* directory in
   2401 # $ac_aux_dir_candidates and give up.
   2402 ac_missing_aux_files=""
   2403 ac_first_candidate=:
   2404 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2406 as_found=false
   2407 for as_dir in $ac_aux_dir_candidates
   2408 do
   2409   IFS=$as_save_IFS
   2410   case $as_dir in #(((
   2411     '') as_dir=./ ;;
   2412     */) ;;
   2413     *) as_dir=$as_dir/ ;;
   2414   esac
   2415   as_found=:
   2416 
   2417   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2418   ac_aux_dir_found=yes
   2419   ac_install_sh=
   2420   for ac_aux in $ac_aux_files
   2421   do
   2422     # As a special case, if "install-sh" is required, that requirement
   2423     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2424     # and $ac_install_sh is set appropriately for whichever one is found.
   2425     if test x"$ac_aux" = x"install-sh"
   2426     then
   2427       if test -f "${as_dir}install-sh"; then
   2428         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2429         ac_install_sh="${as_dir}install-sh -c"
   2430       elif test -f "${as_dir}install.sh"; then
   2431         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2432         ac_install_sh="${as_dir}install.sh -c"
   2433       elif test -f "${as_dir}shtool"; then
   2434         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2435         ac_install_sh="${as_dir}shtool install -c"
   2436       else
   2437         ac_aux_dir_found=no
   2438         if $ac_first_candidate; then
   2439           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2440         else
   2441           break
   2442         fi
   2443       fi
   2444     else
   2445       if test -f "${as_dir}${ac_aux}"; then
   2446         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2447       else
   2448         ac_aux_dir_found=no
   2449         if $ac_first_candidate; then
   2450           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2451         else
   2452           break
   2453         fi
   2454       fi
   2455     fi
   2456   done
   2457   if test "$ac_aux_dir_found" = yes; then
   2458     ac_aux_dir="$as_dir"
   2459     break
   2460   fi
   2461   ac_first_candidate=false
   2462 
   2463   as_found=false
   2464 done
   2465 IFS=$as_save_IFS
   2466 if $as_found
   2467 then :
   2468 
   2469 else $as_nop
   2470   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2471 fi
   2472 
   2473 
   2474 # These three variables are undocumented and unsupported,
   2475 # and are intended to be withdrawn in a future Autoconf release.
   2476 # They can cause serious problems if a builder's source tree is in a directory
   2477 # whose full name contains unusual characters.
   2478 if test -f "${ac_aux_dir}config.guess"; then
   2479   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2480 fi
   2481 if test -f "${ac_aux_dir}config.sub"; then
   2482   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2483 fi
   2484 if test -f "$ac_aux_dir/configure"; then
   2485   ac_configure="$SHELL ${ac_aux_dir}configure"
   2486 fi
   2487 
   2488 # Check that the precious variables saved in the cache have kept the same
   2489 # value.
   2490 ac_cache_corrupted=false
   2491 for ac_var in $ac_precious_vars; do
   2492   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2493   eval ac_new_set=\$ac_env_${ac_var}_set
   2494   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2495   eval ac_new_val=\$ac_env_${ac_var}_value
   2496   case $ac_old_set,$ac_new_set in
   2497     set,)
   2498       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2499 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2500       ac_cache_corrupted=: ;;
   2501     ,set)
   2502       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2503 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2504       ac_cache_corrupted=: ;;
   2505     ,);;
   2506     *)
   2507       if test "x$ac_old_val" != "x$ac_new_val"; then
   2508 	# differences in whitespace do not lead to failure.
   2509 	ac_old_val_w=`echo x $ac_old_val`
   2510 	ac_new_val_w=`echo x $ac_new_val`
   2511 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2512 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2513 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2514 	  ac_cache_corrupted=:
   2515 	else
   2516 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2517 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2518 	  eval $ac_var=\$ac_old_val
   2519 	fi
   2520 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2521 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2522 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2523 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2524       fi;;
   2525   esac
   2526   # Pass precious variables to config.status.
   2527   if test "$ac_new_set" = set; then
   2528     case $ac_new_val in
   2529     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2530     *) ac_arg=$ac_var=$ac_new_val ;;
   2531     esac
   2532     case " $ac_configure_args " in
   2533       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2534       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2535     esac
   2536   fi
   2537 done
   2538 if $ac_cache_corrupted; then
   2539   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2540 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2541   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2542 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2543   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2544 	    and start over" "$LINENO" 5
   2545 fi
   2546 ## -------------------- ##
   2547 ## Main body of script. ##
   2548 ## -------------------- ##
   2549 
   2550 ac_ext=c
   2551 ac_cpp='$CPP $CPPFLAGS'
   2552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2555 
   2556 
   2557 
   2558 ac_config_headers="$ac_config_headers config.h"
   2559 
   2560 
   2561 # Initialize Automake
   2562 am__api_version='1.16'
   2563 
   2564 
   2565 
   2566   # Find a good install program.  We prefer a C program (faster),
   2567 # so one script is as good as another.  But avoid the broken or
   2568 # incompatible versions:
   2569 # SysV /etc/install, /usr/sbin/install
   2570 # SunOS /usr/etc/install
   2571 # IRIX /sbin/install
   2572 # AIX /bin/install
   2573 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2574 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2575 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2576 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2577 # OS/2's system install, which has a completely different semantic
   2578 # ./install, which can be erroneously created by make from ./install.sh.
   2579 # Reject install programs that cannot install multiple files.
   2580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2581 printf %s "checking for a BSD-compatible install... " >&6; }
   2582 if test -z "$INSTALL"; then
   2583 if test ${ac_cv_path_install+y}
   2584 then :
   2585   printf %s "(cached) " >&6
   2586 else $as_nop
   2587   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2588 for as_dir in $PATH
   2589 do
   2590   IFS=$as_save_IFS
   2591   case $as_dir in #(((
   2592     '') as_dir=./ ;;
   2593     */) ;;
   2594     *) as_dir=$as_dir/ ;;
   2595   esac
   2596     # Account for fact that we put trailing slashes in our PATH walk.
   2597 case $as_dir in #((
   2598   ./ | /[cC]/* | \
   2599   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2600   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2601   /usr/ucb/* ) ;;
   2602   *)
   2603     # OSF1 and SCO ODT 3.0 have their own names for install.
   2604     # Don't use installbsd from OSF since it installs stuff as root
   2605     # by default.
   2606     for ac_prog in ginstall scoinst install; do
   2607       for ac_exec_ext in '' $ac_executable_extensions; do
   2608 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2609 	  if test $ac_prog = install &&
   2610 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2611 	    # AIX install.  It has an incompatible calling convention.
   2612 	    :
   2613 	  elif test $ac_prog = install &&
   2614 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2615 	    # program-specific install script used by HP pwplus--don't use.
   2616 	    :
   2617 	  else
   2618 	    rm -rf conftest.one conftest.two conftest.dir
   2619 	    echo one > conftest.one
   2620 	    echo two > conftest.two
   2621 	    mkdir conftest.dir
   2622 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2623 	      test -s conftest.one && test -s conftest.two &&
   2624 	      test -s conftest.dir/conftest.one &&
   2625 	      test -s conftest.dir/conftest.two
   2626 	    then
   2627 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2628 	      break 3
   2629 	    fi
   2630 	  fi
   2631 	fi
   2632       done
   2633     done
   2634     ;;
   2635 esac
   2636 
   2637   done
   2638 IFS=$as_save_IFS
   2639 
   2640 rm -rf conftest.one conftest.two conftest.dir
   2641 
   2642 fi
   2643   if test ${ac_cv_path_install+y}; then
   2644     INSTALL=$ac_cv_path_install
   2645   else
   2646     # As a last resort, use the slow shell script.  Don't cache a
   2647     # value for INSTALL within a source directory, because that will
   2648     # break other packages using the cache if that directory is
   2649     # removed, or if the value is a relative name.
   2650     INSTALL=$ac_install_sh
   2651   fi
   2652 fi
   2653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2654 printf "%s\n" "$INSTALL" >&6; }
   2655 
   2656 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2657 # It thinks the first close brace ends the variable substitution.
   2658 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2659 
   2660 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2661 
   2662 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2663 
   2664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2665 printf %s "checking whether build environment is sane... " >&6; }
   2666 # Reject unsafe characters in $srcdir or the absolute working directory
   2667 # name.  Accept space and tab only in the latter.
   2668 am_lf='
   2669 '
   2670 case `pwd` in
   2671   *[\\\"\#\$\&\'\`$am_lf]*)
   2672     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2673 esac
   2674 case $srcdir in
   2675   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2676     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2677 esac
   2678 
   2679 # Do 'set' in a subshell so we don't clobber the current shell's
   2680 # arguments.  Must try -L first in case configure is actually a
   2681 # symlink; some systems play weird games with the mod time of symlinks
   2682 # (eg FreeBSD returns the mod time of the symlink's containing
   2683 # directory).
   2684 if (
   2685    am_has_slept=no
   2686    for am_try in 1 2; do
   2687      echo "timestamp, slept: $am_has_slept" > conftest.file
   2688      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2689      if test "$*" = "X"; then
   2690 	# -L didn't work.
   2691 	set X `ls -t "$srcdir/configure" conftest.file`
   2692      fi
   2693      if test "$*" != "X $srcdir/configure conftest.file" \
   2694 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2695 
   2696 	# If neither matched, then we have a broken ls.  This can happen
   2697 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2698 	# broken ls alias from the environment.  This has actually
   2699 	# happened.  Such a system could not be considered "sane".
   2700 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2701   alias in your environment" "$LINENO" 5
   2702      fi
   2703      if test "$2" = conftest.file || test $am_try -eq 2; then
   2704        break
   2705      fi
   2706      # Just in case.
   2707      sleep 1
   2708      am_has_slept=yes
   2709    done
   2710    test "$2" = conftest.file
   2711    )
   2712 then
   2713    # Ok.
   2714    :
   2715 else
   2716    as_fn_error $? "newly created file is older than distributed files!
   2717 Check your system clock" "$LINENO" 5
   2718 fi
   2719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2720 printf "%s\n" "yes" >&6; }
   2721 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2722 # generated files are strictly newer.
   2723 am_sleep_pid=
   2724 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2725   ( sleep 1 ) &
   2726   am_sleep_pid=$!
   2727 fi
   2728 
   2729 rm -f conftest.file
   2730 
   2731 test "$program_prefix" != NONE &&
   2732   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2733 # Use a double $ so make ignores it.
   2734 test "$program_suffix" != NONE &&
   2735   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2736 # Double any \ or $.
   2737 # By default was `s,x,x', remove it if useless.
   2738 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2739 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2740 
   2741 
   2742 # Expand $ac_aux_dir to an absolute path.
   2743 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2744 
   2745 
   2746   if test x"${MISSING+set}" != xset; then
   2747   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2748 fi
   2749 # Use eval to expand $SHELL
   2750 if eval "$MISSING --is-lightweight"; then
   2751   am_missing_run="$MISSING "
   2752 else
   2753   am_missing_run=
   2754   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2755 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2756 fi
   2757 
   2758 if test x"${install_sh+set}" != xset; then
   2759   case $am_aux_dir in
   2760   *\ * | *\	*)
   2761     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2762   *)
   2763     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2764   esac
   2765 fi
   2766 
   2767 # Installed binaries are usually stripped using 'strip' when the user
   2768 # run "make install-strip".  However 'strip' might not be the right
   2769 # tool to use in cross-compilation environments, therefore Automake
   2770 # will honor the 'STRIP' environment variable to overrule this program.
   2771 if test "$cross_compiling" != no; then
   2772   if test -n "$ac_tool_prefix"; then
   2773   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2774 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2776 printf %s "checking for $ac_word... " >&6; }
   2777 if test ${ac_cv_prog_STRIP+y}
   2778 then :
   2779   printf %s "(cached) " >&6
   2780 else $as_nop
   2781   if test -n "$STRIP"; then
   2782   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2783 else
   2784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2785 for as_dir in $PATH
   2786 do
   2787   IFS=$as_save_IFS
   2788   case $as_dir in #(((
   2789     '') as_dir=./ ;;
   2790     */) ;;
   2791     *) as_dir=$as_dir/ ;;
   2792   esac
   2793     for ac_exec_ext in '' $ac_executable_extensions; do
   2794   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2795     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2796     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2797     break 2
   2798   fi
   2799 done
   2800   done
   2801 IFS=$as_save_IFS
   2802 
   2803 fi
   2804 fi
   2805 STRIP=$ac_cv_prog_STRIP
   2806 if test -n "$STRIP"; then
   2807   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2808 printf "%s\n" "$STRIP" >&6; }
   2809 else
   2810   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2811 printf "%s\n" "no" >&6; }
   2812 fi
   2813 
   2814 
   2815 fi
   2816 if test -z "$ac_cv_prog_STRIP"; then
   2817   ac_ct_STRIP=$STRIP
   2818   # Extract the first word of "strip", so it can be a program name with args.
   2819 set dummy strip; ac_word=$2
   2820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2821 printf %s "checking for $ac_word... " >&6; }
   2822 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2823 then :
   2824   printf %s "(cached) " >&6
   2825 else $as_nop
   2826   if test -n "$ac_ct_STRIP"; then
   2827   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2828 else
   2829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2830 for as_dir in $PATH
   2831 do
   2832   IFS=$as_save_IFS
   2833   case $as_dir in #(((
   2834     '') as_dir=./ ;;
   2835     */) ;;
   2836     *) as_dir=$as_dir/ ;;
   2837   esac
   2838     for ac_exec_ext in '' $ac_executable_extensions; do
   2839   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2840     ac_cv_prog_ac_ct_STRIP="strip"
   2841     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2842     break 2
   2843   fi
   2844 done
   2845   done
   2846 IFS=$as_save_IFS
   2847 
   2848 fi
   2849 fi
   2850 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2851 if test -n "$ac_ct_STRIP"; then
   2852   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2853 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2854 else
   2855   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2856 printf "%s\n" "no" >&6; }
   2857 fi
   2858 
   2859   if test "x$ac_ct_STRIP" = x; then
   2860     STRIP=":"
   2861   else
   2862     case $cross_compiling:$ac_tool_warned in
   2863 yes:)
   2864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2865 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2866 ac_tool_warned=yes ;;
   2867 esac
   2868     STRIP=$ac_ct_STRIP
   2869   fi
   2870 else
   2871   STRIP="$ac_cv_prog_STRIP"
   2872 fi
   2873 
   2874 fi
   2875 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2876 
   2877 
   2878   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   2879 printf %s "checking for a race-free mkdir -p... " >&6; }
   2880 if test -z "$MKDIR_P"; then
   2881   if test ${ac_cv_path_mkdir+y}
   2882 then :
   2883   printf %s "(cached) " >&6
   2884 else $as_nop
   2885   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2886 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2887 do
   2888   IFS=$as_save_IFS
   2889   case $as_dir in #(((
   2890     '') as_dir=./ ;;
   2891     */) ;;
   2892     *) as_dir=$as_dir/ ;;
   2893   esac
   2894     for ac_prog in mkdir gmkdir; do
   2895 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2896 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   2897 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2898 	     'mkdir ('*'coreutils) '* | \
   2899 	     'BusyBox '* | \
   2900 	     'mkdir (fileutils) '4.1*)
   2901 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   2902 	       break 3;;
   2903 	   esac
   2904 	 done
   2905        done
   2906   done
   2907 IFS=$as_save_IFS
   2908 
   2909 fi
   2910 
   2911   test -d ./--version && rmdir ./--version
   2912   if test ${ac_cv_path_mkdir+y}; then
   2913     MKDIR_P="$ac_cv_path_mkdir -p"
   2914   else
   2915     # As a last resort, use the slow shell script.  Don't cache a
   2916     # value for MKDIR_P within a source directory, because that will
   2917     # break other packages using the cache if that directory is
   2918     # removed, or if the value is a relative name.
   2919     MKDIR_P="$ac_install_sh -d"
   2920   fi
   2921 fi
   2922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2923 printf "%s\n" "$MKDIR_P" >&6; }
   2924 
   2925 for ac_prog in gawk mawk nawk awk
   2926 do
   2927   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2928 set dummy $ac_prog; ac_word=$2
   2929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2930 printf %s "checking for $ac_word... " >&6; }
   2931 if test ${ac_cv_prog_AWK+y}
   2932 then :
   2933   printf %s "(cached) " >&6
   2934 else $as_nop
   2935   if test -n "$AWK"; then
   2936   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2937 else
   2938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2939 for as_dir in $PATH
   2940 do
   2941   IFS=$as_save_IFS
   2942   case $as_dir in #(((
   2943     '') as_dir=./ ;;
   2944     */) ;;
   2945     *) as_dir=$as_dir/ ;;
   2946   esac
   2947     for ac_exec_ext in '' $ac_executable_extensions; do
   2948   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2949     ac_cv_prog_AWK="$ac_prog"
   2950     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2951     break 2
   2952   fi
   2953 done
   2954   done
   2955 IFS=$as_save_IFS
   2956 
   2957 fi
   2958 fi
   2959 AWK=$ac_cv_prog_AWK
   2960 if test -n "$AWK"; then
   2961   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2962 printf "%s\n" "$AWK" >&6; }
   2963 else
   2964   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2965 printf "%s\n" "no" >&6; }
   2966 fi
   2967 
   2968 
   2969   test -n "$AWK" && break
   2970 done
   2971 
   2972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2973 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2974 set x ${MAKE-make}
   2975 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2976 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   2977 then :
   2978   printf %s "(cached) " >&6
   2979 else $as_nop
   2980   cat >conftest.make <<\_ACEOF
   2981 SHELL = /bin/sh
   2982 all:
   2983 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2984 _ACEOF
   2985 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2986 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2987   *@@@%%%=?*=@@@%%%*)
   2988     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2989   *)
   2990     eval ac_cv_prog_make_${ac_make}_set=no;;
   2991 esac
   2992 rm -f conftest.make
   2993 fi
   2994 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2995   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2996 printf "%s\n" "yes" >&6; }
   2997   SET_MAKE=
   2998 else
   2999   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3000 printf "%s\n" "no" >&6; }
   3001   SET_MAKE="MAKE=${MAKE-make}"
   3002 fi
   3003 
   3004 rm -rf .tst 2>/dev/null
   3005 mkdir .tst 2>/dev/null
   3006 if test -d .tst; then
   3007   am__leading_dot=.
   3008 else
   3009   am__leading_dot=_
   3010 fi
   3011 rmdir .tst 2>/dev/null
   3012 
   3013 # Check whether --enable-silent-rules was given.
   3014 if test ${enable_silent_rules+y}
   3015 then :
   3016   enableval=$enable_silent_rules;
   3017 fi
   3018 
   3019 case $enable_silent_rules in # (((
   3020   yes) AM_DEFAULT_VERBOSITY=0;;
   3021    no) AM_DEFAULT_VERBOSITY=1;;
   3022     *) AM_DEFAULT_VERBOSITY=1;;
   3023 esac
   3024 am_make=${MAKE-make}
   3025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3026 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3027 if test ${am_cv_make_support_nested_variables+y}
   3028 then :
   3029   printf %s "(cached) " >&6
   3030 else $as_nop
   3031   if printf "%s\n" 'TRUE=$(BAR$(V))
   3032 BAR0=false
   3033 BAR1=true
   3034 V=1
   3035 am__doit:
   3036 	@$(TRUE)
   3037 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3038   am_cv_make_support_nested_variables=yes
   3039 else
   3040   am_cv_make_support_nested_variables=no
   3041 fi
   3042 fi
   3043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3044 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3045 if test $am_cv_make_support_nested_variables = yes; then
   3046     AM_V='$(V)'
   3047   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3048 else
   3049   AM_V=$AM_DEFAULT_VERBOSITY
   3050   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3051 fi
   3052 AM_BACKSLASH='\'
   3053 
   3054 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3055   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3056   # is not polluted with repeated "-I."
   3057   am__isrc=' -I$(srcdir)'
   3058   # test to see if srcdir already configured
   3059   if test -f $srcdir/config.status; then
   3060     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3061   fi
   3062 fi
   3063 
   3064 # test whether we have cygpath
   3065 if test -z "$CYGPATH_W"; then
   3066   if (cygpath --version) >/dev/null 2>/dev/null; then
   3067     CYGPATH_W='cygpath -w'
   3068   else
   3069     CYGPATH_W=echo
   3070   fi
   3071 fi
   3072 
   3073 
   3074 # Define the identity of the package.
   3075  PACKAGE='xsm'
   3076  VERSION='1.0.5'
   3077 
   3078 
   3079 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3080 
   3081 
   3082 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3083 
   3084 # Some tools Automake needs.
   3085 
   3086 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3087 
   3088 
   3089 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3090 
   3091 
   3092 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3093 
   3094 
   3095 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3096 
   3097 
   3098 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3099 
   3100 # For better backward compatibility.  To be removed once Automake 1.9.x
   3101 # dies out for good.  For more background, see:
   3102 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3103 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3104 mkdir_p='$(MKDIR_P)'
   3105 
   3106 # We need awk for the "check" target (and possibly the TAP driver).  The
   3107 # system "awk" is bad on some platforms.
   3108 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3109 # in the wild :-(  We should find a proper way to deprecate it ...
   3110 AMTAR='$${TAR-tar}'
   3111 
   3112 
   3113 # We'll loop over all known methods to create a tar archive until one works.
   3114 _am_tools='gnutar  pax cpio none'
   3115 
   3116 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3117 
   3118 
   3119 
   3120 
   3121 
   3122 # Variables for tags utilities; see am/tags.am
   3123 if test -z "$CTAGS"; then
   3124   CTAGS=ctags
   3125 fi
   3126 
   3127 if test -z "$ETAGS"; then
   3128   ETAGS=etags
   3129 fi
   3130 
   3131 if test -z "$CSCOPE"; then
   3132   CSCOPE=cscope
   3133 fi
   3134 
   3135 
   3136 
   3137 # POSIX will say in a future version that running "rm -f" with no argument
   3138 # is OK; and we want to be able to make that assumption in our Makefile
   3139 # recipes.  So use an aggressive probe to check that the usage we want is
   3140 # actually supported "in the wild" to an acceptable degree.
   3141 # See automake bug#10828.
   3142 # To make any issue more visible, cause the running configure to be aborted
   3143 # by default if the 'rm' program in use doesn't match our expectations; the
   3144 # user can still override this though.
   3145 if rm -f && rm -fr && rm -rf; then : OK; else
   3146   cat >&2 <<'END'
   3147 Oops!
   3148 
   3149 Your 'rm' program seems unable to run without file operands specified
   3150 on the command line, even when the '-f' option is present.  This is contrary
   3151 to the behaviour of most rm programs out there, and not conforming with
   3152 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3153 
   3154 Please tell bug-automake@gnu.org about your system, including the value
   3155 of your $PATH and any error possibly output before this message.  This
   3156 can help us improve future automake versions.
   3157 
   3158 END
   3159   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3160     echo 'Configuration will proceed anyway, since you have set the' >&2
   3161     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3162     echo >&2
   3163   else
   3164     cat >&2 <<'END'
   3165 Aborting the configuration process, to ensure you take notice of the issue.
   3166 
   3167 You can download and install GNU coreutils to get an 'rm' implementation
   3168 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3169 
   3170 If you want to complete the configuration process using your problematic
   3171 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3172 to "yes", and re-run configure.
   3173 
   3174 END
   3175     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3176   fi
   3177 fi
   3178 
   3179 
   3180 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   3181 
   3182 
   3183 
   3184 
   3185 
   3186 
   3187 
   3188 
   3189 
   3190 
   3191 
   3192 
   3193 
   3194 
   3195 
   3196 
   3197 
   3198 
   3199 
   3200 
   3201 DEPDIR="${am__leading_dot}deps"
   3202 
   3203 ac_config_commands="$ac_config_commands depfiles"
   3204 
   3205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3206 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3207 cat > confinc.mk << 'END'
   3208 am__doit:
   3209 	@echo this is the am__doit target >confinc.out
   3210 .PHONY: am__doit
   3211 END
   3212 am__include="#"
   3213 am__quote=
   3214 # BSD make does it like this.
   3215 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3216 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3217 echo 'include confinc.mk # ignored' > confmf.GNU
   3218 _am_result=no
   3219 for s in GNU BSD; do
   3220   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3221    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3222    ac_status=$?
   3223    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3224    (exit $ac_status); }
   3225   case $?:`cat confinc.out 2>/dev/null` in #(
   3226   '0:this is the am__doit target') :
   3227     case $s in #(
   3228   BSD) :
   3229     am__include='.include' am__quote='"' ;; #(
   3230   *) :
   3231     am__include='include' am__quote='' ;;
   3232 esac ;; #(
   3233   *) :
   3234      ;;
   3235 esac
   3236   if test "$am__include" != "#"; then
   3237     _am_result="yes ($s style)"
   3238     break
   3239   fi
   3240 done
   3241 rm -f confinc.* confmf.*
   3242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3243 printf "%s\n" "${_am_result}" >&6; }
   3244 
   3245 # Check whether --enable-dependency-tracking was given.
   3246 if test ${enable_dependency_tracking+y}
   3247 then :
   3248   enableval=$enable_dependency_tracking;
   3249 fi
   3250 
   3251 if test "x$enable_dependency_tracking" != xno; then
   3252   am_depcomp="$ac_aux_dir/depcomp"
   3253   AMDEPBACKSLASH='\'
   3254   am__nodep='_no'
   3255 fi
   3256  if test "x$enable_dependency_tracking" != xno; then
   3257   AMDEP_TRUE=
   3258   AMDEP_FALSE='#'
   3259 else
   3260   AMDEP_TRUE='#'
   3261   AMDEP_FALSE=
   3262 fi
   3263 
   3264 
   3265 ac_ext=c
   3266 ac_cpp='$CPP $CPPFLAGS'
   3267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3270 if test -n "$ac_tool_prefix"; then
   3271   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3272 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3274 printf %s "checking for $ac_word... " >&6; }
   3275 if test ${ac_cv_prog_CC+y}
   3276 then :
   3277   printf %s "(cached) " >&6
   3278 else $as_nop
   3279   if test -n "$CC"; then
   3280   ac_cv_prog_CC="$CC" # Let the user override the test.
   3281 else
   3282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3283 for as_dir in $PATH
   3284 do
   3285   IFS=$as_save_IFS
   3286   case $as_dir in #(((
   3287     '') as_dir=./ ;;
   3288     */) ;;
   3289     *) as_dir=$as_dir/ ;;
   3290   esac
   3291     for ac_exec_ext in '' $ac_executable_extensions; do
   3292   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3293     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3294     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3295     break 2
   3296   fi
   3297 done
   3298   done
   3299 IFS=$as_save_IFS
   3300 
   3301 fi
   3302 fi
   3303 CC=$ac_cv_prog_CC
   3304 if test -n "$CC"; then
   3305   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3306 printf "%s\n" "$CC" >&6; }
   3307 else
   3308   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3309 printf "%s\n" "no" >&6; }
   3310 fi
   3311 
   3312 
   3313 fi
   3314 if test -z "$ac_cv_prog_CC"; then
   3315   ac_ct_CC=$CC
   3316   # Extract the first word of "gcc", so it can be a program name with args.
   3317 set dummy gcc; ac_word=$2
   3318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3319 printf %s "checking for $ac_word... " >&6; }
   3320 if test ${ac_cv_prog_ac_ct_CC+y}
   3321 then :
   3322   printf %s "(cached) " >&6
   3323 else $as_nop
   3324   if test -n "$ac_ct_CC"; then
   3325   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3326 else
   3327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3328 for as_dir in $PATH
   3329 do
   3330   IFS=$as_save_IFS
   3331   case $as_dir in #(((
   3332     '') as_dir=./ ;;
   3333     */) ;;
   3334     *) as_dir=$as_dir/ ;;
   3335   esac
   3336     for ac_exec_ext in '' $ac_executable_extensions; do
   3337   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3338     ac_cv_prog_ac_ct_CC="gcc"
   3339     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3340     break 2
   3341   fi
   3342 done
   3343   done
   3344 IFS=$as_save_IFS
   3345 
   3346 fi
   3347 fi
   3348 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3349 if test -n "$ac_ct_CC"; then
   3350   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3351 printf "%s\n" "$ac_ct_CC" >&6; }
   3352 else
   3353   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3354 printf "%s\n" "no" >&6; }
   3355 fi
   3356 
   3357   if test "x$ac_ct_CC" = x; then
   3358     CC=""
   3359   else
   3360     case $cross_compiling:$ac_tool_warned in
   3361 yes:)
   3362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3363 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3364 ac_tool_warned=yes ;;
   3365 esac
   3366     CC=$ac_ct_CC
   3367   fi
   3368 else
   3369   CC="$ac_cv_prog_CC"
   3370 fi
   3371 
   3372 if test -z "$CC"; then
   3373           if test -n "$ac_tool_prefix"; then
   3374     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3375 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3377 printf %s "checking for $ac_word... " >&6; }
   3378 if test ${ac_cv_prog_CC+y}
   3379 then :
   3380   printf %s "(cached) " >&6
   3381 else $as_nop
   3382   if test -n "$CC"; then
   3383   ac_cv_prog_CC="$CC" # Let the user override the test.
   3384 else
   3385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3386 for as_dir in $PATH
   3387 do
   3388   IFS=$as_save_IFS
   3389   case $as_dir in #(((
   3390     '') as_dir=./ ;;
   3391     */) ;;
   3392     *) as_dir=$as_dir/ ;;
   3393   esac
   3394     for ac_exec_ext in '' $ac_executable_extensions; do
   3395   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3396     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3397     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3398     break 2
   3399   fi
   3400 done
   3401   done
   3402 IFS=$as_save_IFS
   3403 
   3404 fi
   3405 fi
   3406 CC=$ac_cv_prog_CC
   3407 if test -n "$CC"; then
   3408   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3409 printf "%s\n" "$CC" >&6; }
   3410 else
   3411   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3412 printf "%s\n" "no" >&6; }
   3413 fi
   3414 
   3415 
   3416   fi
   3417 fi
   3418 if test -z "$CC"; then
   3419   # Extract the first word of "cc", so it can be a program name with args.
   3420 set dummy cc; ac_word=$2
   3421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3422 printf %s "checking for $ac_word... " >&6; }
   3423 if test ${ac_cv_prog_CC+y}
   3424 then :
   3425   printf %s "(cached) " >&6
   3426 else $as_nop
   3427   if test -n "$CC"; then
   3428   ac_cv_prog_CC="$CC" # Let the user override the test.
   3429 else
   3430   ac_prog_rejected=no
   3431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3432 for as_dir in $PATH
   3433 do
   3434   IFS=$as_save_IFS
   3435   case $as_dir in #(((
   3436     '') as_dir=./ ;;
   3437     */) ;;
   3438     *) as_dir=$as_dir/ ;;
   3439   esac
   3440     for ac_exec_ext in '' $ac_executable_extensions; do
   3441   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3442     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3443        ac_prog_rejected=yes
   3444        continue
   3445      fi
   3446     ac_cv_prog_CC="cc"
   3447     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3448     break 2
   3449   fi
   3450 done
   3451   done
   3452 IFS=$as_save_IFS
   3453 
   3454 if test $ac_prog_rejected = yes; then
   3455   # We found a bogon in the path, so make sure we never use it.
   3456   set dummy $ac_cv_prog_CC
   3457   shift
   3458   if test $# != 0; then
   3459     # We chose a different compiler from the bogus one.
   3460     # However, it has the same basename, so the bogon will be chosen
   3461     # first if we set CC to just the basename; use the full file name.
   3462     shift
   3463     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3464   fi
   3465 fi
   3466 fi
   3467 fi
   3468 CC=$ac_cv_prog_CC
   3469 if test -n "$CC"; then
   3470   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3471 printf "%s\n" "$CC" >&6; }
   3472 else
   3473   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3474 printf "%s\n" "no" >&6; }
   3475 fi
   3476 
   3477 
   3478 fi
   3479 if test -z "$CC"; then
   3480   if test -n "$ac_tool_prefix"; then
   3481   for ac_prog in cl.exe
   3482   do
   3483     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3484 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3486 printf %s "checking for $ac_word... " >&6; }
   3487 if test ${ac_cv_prog_CC+y}
   3488 then :
   3489   printf %s "(cached) " >&6
   3490 else $as_nop
   3491   if test -n "$CC"; then
   3492   ac_cv_prog_CC="$CC" # Let the user override the test.
   3493 else
   3494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3495 for as_dir in $PATH
   3496 do
   3497   IFS=$as_save_IFS
   3498   case $as_dir in #(((
   3499     '') as_dir=./ ;;
   3500     */) ;;
   3501     *) as_dir=$as_dir/ ;;
   3502   esac
   3503     for ac_exec_ext in '' $ac_executable_extensions; do
   3504   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3505     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3506     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3507     break 2
   3508   fi
   3509 done
   3510   done
   3511 IFS=$as_save_IFS
   3512 
   3513 fi
   3514 fi
   3515 CC=$ac_cv_prog_CC
   3516 if test -n "$CC"; then
   3517   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3518 printf "%s\n" "$CC" >&6; }
   3519 else
   3520   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3521 printf "%s\n" "no" >&6; }
   3522 fi
   3523 
   3524 
   3525     test -n "$CC" && break
   3526   done
   3527 fi
   3528 if test -z "$CC"; then
   3529   ac_ct_CC=$CC
   3530   for ac_prog in cl.exe
   3531 do
   3532   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3533 set dummy $ac_prog; ac_word=$2
   3534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3535 printf %s "checking for $ac_word... " >&6; }
   3536 if test ${ac_cv_prog_ac_ct_CC+y}
   3537 then :
   3538   printf %s "(cached) " >&6
   3539 else $as_nop
   3540   if test -n "$ac_ct_CC"; then
   3541   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3542 else
   3543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3544 for as_dir in $PATH
   3545 do
   3546   IFS=$as_save_IFS
   3547   case $as_dir in #(((
   3548     '') as_dir=./ ;;
   3549     */) ;;
   3550     *) as_dir=$as_dir/ ;;
   3551   esac
   3552     for ac_exec_ext in '' $ac_executable_extensions; do
   3553   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3554     ac_cv_prog_ac_ct_CC="$ac_prog"
   3555     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3556     break 2
   3557   fi
   3558 done
   3559   done
   3560 IFS=$as_save_IFS
   3561 
   3562 fi
   3563 fi
   3564 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3565 if test -n "$ac_ct_CC"; then
   3566   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3567 printf "%s\n" "$ac_ct_CC" >&6; }
   3568 else
   3569   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3570 printf "%s\n" "no" >&6; }
   3571 fi
   3572 
   3573 
   3574   test -n "$ac_ct_CC" && break
   3575 done
   3576 
   3577   if test "x$ac_ct_CC" = x; then
   3578     CC=""
   3579   else
   3580     case $cross_compiling:$ac_tool_warned in
   3581 yes:)
   3582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3583 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3584 ac_tool_warned=yes ;;
   3585 esac
   3586     CC=$ac_ct_CC
   3587   fi
   3588 fi
   3589 
   3590 fi
   3591 if test -z "$CC"; then
   3592   if test -n "$ac_tool_prefix"; then
   3593   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3594 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3596 printf %s "checking for $ac_word... " >&6; }
   3597 if test ${ac_cv_prog_CC+y}
   3598 then :
   3599   printf %s "(cached) " >&6
   3600 else $as_nop
   3601   if test -n "$CC"; then
   3602   ac_cv_prog_CC="$CC" # Let the user override the test.
   3603 else
   3604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3605 for as_dir in $PATH
   3606 do
   3607   IFS=$as_save_IFS
   3608   case $as_dir in #(((
   3609     '') as_dir=./ ;;
   3610     */) ;;
   3611     *) as_dir=$as_dir/ ;;
   3612   esac
   3613     for ac_exec_ext in '' $ac_executable_extensions; do
   3614   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3615     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3616     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3617     break 2
   3618   fi
   3619 done
   3620   done
   3621 IFS=$as_save_IFS
   3622 
   3623 fi
   3624 fi
   3625 CC=$ac_cv_prog_CC
   3626 if test -n "$CC"; then
   3627   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3628 printf "%s\n" "$CC" >&6; }
   3629 else
   3630   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3631 printf "%s\n" "no" >&6; }
   3632 fi
   3633 
   3634 
   3635 fi
   3636 if test -z "$ac_cv_prog_CC"; then
   3637   ac_ct_CC=$CC
   3638   # Extract the first word of "clang", so it can be a program name with args.
   3639 set dummy clang; ac_word=$2
   3640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3641 printf %s "checking for $ac_word... " >&6; }
   3642 if test ${ac_cv_prog_ac_ct_CC+y}
   3643 then :
   3644   printf %s "(cached) " >&6
   3645 else $as_nop
   3646   if test -n "$ac_ct_CC"; then
   3647   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3648 else
   3649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3650 for as_dir in $PATH
   3651 do
   3652   IFS=$as_save_IFS
   3653   case $as_dir in #(((
   3654     '') as_dir=./ ;;
   3655     */) ;;
   3656     *) as_dir=$as_dir/ ;;
   3657   esac
   3658     for ac_exec_ext in '' $ac_executable_extensions; do
   3659   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3660     ac_cv_prog_ac_ct_CC="clang"
   3661     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3662     break 2
   3663   fi
   3664 done
   3665   done
   3666 IFS=$as_save_IFS
   3667 
   3668 fi
   3669 fi
   3670 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3671 if test -n "$ac_ct_CC"; then
   3672   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3673 printf "%s\n" "$ac_ct_CC" >&6; }
   3674 else
   3675   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3676 printf "%s\n" "no" >&6; }
   3677 fi
   3678 
   3679   if test "x$ac_ct_CC" = x; then
   3680     CC=""
   3681   else
   3682     case $cross_compiling:$ac_tool_warned in
   3683 yes:)
   3684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3685 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3686 ac_tool_warned=yes ;;
   3687 esac
   3688     CC=$ac_ct_CC
   3689   fi
   3690 else
   3691   CC="$ac_cv_prog_CC"
   3692 fi
   3693 
   3694 fi
   3695 
   3696 
   3697 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3698 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3699 as_fn_error $? "no acceptable C compiler found in \$PATH
   3700 See \`config.log' for more details" "$LINENO" 5; }
   3701 
   3702 # Provide some information about the compiler.
   3703 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3704 set X $ac_compile
   3705 ac_compiler=$2
   3706 for ac_option in --version -v -V -qversion -version; do
   3707   { { ac_try="$ac_compiler $ac_option >&5"
   3708 case "(($ac_try" in
   3709   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3710   *) ac_try_echo=$ac_try;;
   3711 esac
   3712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3713 printf "%s\n" "$ac_try_echo"; } >&5
   3714   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3715   ac_status=$?
   3716   if test -s conftest.err; then
   3717     sed '10a\
   3718 ... rest of stderr output deleted ...
   3719          10q' conftest.err >conftest.er1
   3720     cat conftest.er1 >&5
   3721   fi
   3722   rm -f conftest.er1 conftest.err
   3723   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3724   test $ac_status = 0; }
   3725 done
   3726 
   3727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3728 /* end confdefs.h.  */
   3729 
   3730 int
   3731 main (void)
   3732 {
   3733 
   3734   ;
   3735   return 0;
   3736 }
   3737 _ACEOF
   3738 ac_clean_files_save=$ac_clean_files
   3739 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3740 # Try to create an executable without -o first, disregard a.out.
   3741 # It will help us diagnose broken compilers, and finding out an intuition
   3742 # of exeext.
   3743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3744 printf %s "checking whether the C compiler works... " >&6; }
   3745 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3746 
   3747 # The possible output files:
   3748 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3749 
   3750 ac_rmfiles=
   3751 for ac_file in $ac_files
   3752 do
   3753   case $ac_file in
   3754     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3755     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3756   esac
   3757 done
   3758 rm -f $ac_rmfiles
   3759 
   3760 if { { ac_try="$ac_link_default"
   3761 case "(($ac_try" in
   3762   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3763   *) ac_try_echo=$ac_try;;
   3764 esac
   3765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3766 printf "%s\n" "$ac_try_echo"; } >&5
   3767   (eval "$ac_link_default") 2>&5
   3768   ac_status=$?
   3769   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3770   test $ac_status = 0; }
   3771 then :
   3772   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3773 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3774 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3775 # so that the user can short-circuit this test for compilers unknown to
   3776 # Autoconf.
   3777 for ac_file in $ac_files ''
   3778 do
   3779   test -f "$ac_file" || continue
   3780   case $ac_file in
   3781     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3782 	;;
   3783     [ab].out )
   3784 	# We found the default executable, but exeext='' is most
   3785 	# certainly right.
   3786 	break;;
   3787     *.* )
   3788 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3789 	then :; else
   3790 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3791 	fi
   3792 	# We set ac_cv_exeext here because the later test for it is not
   3793 	# safe: cross compilers may not add the suffix if given an `-o'
   3794 	# argument, so we may need to know it at that point already.
   3795 	# Even if this section looks crufty: it has the advantage of
   3796 	# actually working.
   3797 	break;;
   3798     * )
   3799 	break;;
   3800   esac
   3801 done
   3802 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3803 
   3804 else $as_nop
   3805   ac_file=''
   3806 fi
   3807 if test -z "$ac_file"
   3808 then :
   3809   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3810 printf "%s\n" "no" >&6; }
   3811 printf "%s\n" "$as_me: failed program was:" >&5
   3812 sed 's/^/| /' conftest.$ac_ext >&5
   3813 
   3814 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3815 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3816 as_fn_error 77 "C compiler cannot create executables
   3817 See \`config.log' for more details" "$LINENO" 5; }
   3818 else $as_nop
   3819   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3820 printf "%s\n" "yes" >&6; }
   3821 fi
   3822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3823 printf %s "checking for C compiler default output file name... " >&6; }
   3824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3825 printf "%s\n" "$ac_file" >&6; }
   3826 ac_exeext=$ac_cv_exeext
   3827 
   3828 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3829 ac_clean_files=$ac_clean_files_save
   3830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3831 printf %s "checking for suffix of executables... " >&6; }
   3832 if { { ac_try="$ac_link"
   3833 case "(($ac_try" in
   3834   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3835   *) ac_try_echo=$ac_try;;
   3836 esac
   3837 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3838 printf "%s\n" "$ac_try_echo"; } >&5
   3839   (eval "$ac_link") 2>&5
   3840   ac_status=$?
   3841   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3842   test $ac_status = 0; }
   3843 then :
   3844   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3845 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3846 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3847 # `rm'.
   3848 for ac_file in conftest.exe conftest conftest.*; do
   3849   test -f "$ac_file" || continue
   3850   case $ac_file in
   3851     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3852     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3853 	  break;;
   3854     * ) break;;
   3855   esac
   3856 done
   3857 else $as_nop
   3858   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3859 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3860 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3861 See \`config.log' for more details" "$LINENO" 5; }
   3862 fi
   3863 rm -f conftest conftest$ac_cv_exeext
   3864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3865 printf "%s\n" "$ac_cv_exeext" >&6; }
   3866 
   3867 rm -f conftest.$ac_ext
   3868 EXEEXT=$ac_cv_exeext
   3869 ac_exeext=$EXEEXT
   3870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3871 /* end confdefs.h.  */
   3872 #include <stdio.h>
   3873 int
   3874 main (void)
   3875 {
   3876 FILE *f = fopen ("conftest.out", "w");
   3877  return ferror (f) || fclose (f) != 0;
   3878 
   3879   ;
   3880   return 0;
   3881 }
   3882 _ACEOF
   3883 ac_clean_files="$ac_clean_files conftest.out"
   3884 # Check that the compiler produces executables we can run.  If not, either
   3885 # the compiler is broken, or we cross compile.
   3886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3887 printf %s "checking whether we are cross compiling... " >&6; }
   3888 if test "$cross_compiling" != yes; then
   3889   { { ac_try="$ac_link"
   3890 case "(($ac_try" in
   3891   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3892   *) ac_try_echo=$ac_try;;
   3893 esac
   3894 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3895 printf "%s\n" "$ac_try_echo"; } >&5
   3896   (eval "$ac_link") 2>&5
   3897   ac_status=$?
   3898   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3899   test $ac_status = 0; }
   3900   if { ac_try='./conftest$ac_cv_exeext'
   3901   { { case "(($ac_try" in
   3902   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3903   *) ac_try_echo=$ac_try;;
   3904 esac
   3905 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3906 printf "%s\n" "$ac_try_echo"; } >&5
   3907   (eval "$ac_try") 2>&5
   3908   ac_status=$?
   3909   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3910   test $ac_status = 0; }; }; then
   3911     cross_compiling=no
   3912   else
   3913     if test "$cross_compiling" = maybe; then
   3914 	cross_compiling=yes
   3915     else
   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 77 "cannot run C compiled programs.
   3919 If you meant to cross compile, use \`--host'.
   3920 See \`config.log' for more details" "$LINENO" 5; }
   3921     fi
   3922   fi
   3923 fi
   3924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3925 printf "%s\n" "$cross_compiling" >&6; }
   3926 
   3927 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3928 ac_clean_files=$ac_clean_files_save
   3929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3930 printf %s "checking for suffix of object files... " >&6; }
   3931 if test ${ac_cv_objext+y}
   3932 then :
   3933   printf %s "(cached) " >&6
   3934 else $as_nop
   3935   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3936 /* end confdefs.h.  */
   3937 
   3938 int
   3939 main (void)
   3940 {
   3941 
   3942   ;
   3943   return 0;
   3944 }
   3945 _ACEOF
   3946 rm -f conftest.o conftest.obj
   3947 if { { ac_try="$ac_compile"
   3948 case "(($ac_try" in
   3949   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3950   *) ac_try_echo=$ac_try;;
   3951 esac
   3952 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3953 printf "%s\n" "$ac_try_echo"; } >&5
   3954   (eval "$ac_compile") 2>&5
   3955   ac_status=$?
   3956   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3957   test $ac_status = 0; }
   3958 then :
   3959   for ac_file in conftest.o conftest.obj conftest.*; do
   3960   test -f "$ac_file" || continue;
   3961   case $ac_file in
   3962     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3963     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3964        break;;
   3965   esac
   3966 done
   3967 else $as_nop
   3968   printf "%s\n" "$as_me: failed program was:" >&5
   3969 sed 's/^/| /' conftest.$ac_ext >&5
   3970 
   3971 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3972 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3973 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3974 See \`config.log' for more details" "$LINENO" 5; }
   3975 fi
   3976 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3977 fi
   3978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3979 printf "%s\n" "$ac_cv_objext" >&6; }
   3980 OBJEXT=$ac_cv_objext
   3981 ac_objext=$OBJEXT
   3982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   3983 printf %s "checking whether the compiler supports GNU C... " >&6; }
   3984 if test ${ac_cv_c_compiler_gnu+y}
   3985 then :
   3986   printf %s "(cached) " >&6
   3987 else $as_nop
   3988   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3989 /* end confdefs.h.  */
   3990 
   3991 int
   3992 main (void)
   3993 {
   3994 #ifndef __GNUC__
   3995        choke me
   3996 #endif
   3997 
   3998   ;
   3999   return 0;
   4000 }
   4001 _ACEOF
   4002 if ac_fn_c_try_compile "$LINENO"
   4003 then :
   4004   ac_compiler_gnu=yes
   4005 else $as_nop
   4006   ac_compiler_gnu=no
   4007 fi
   4008 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4009 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4010 
   4011 fi
   4012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4013 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4015 
   4016 if test $ac_compiler_gnu = yes; then
   4017   GCC=yes
   4018 else
   4019   GCC=
   4020 fi
   4021 ac_test_CFLAGS=${CFLAGS+y}
   4022 ac_save_CFLAGS=$CFLAGS
   4023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4024 printf %s "checking whether $CC accepts -g... " >&6; }
   4025 if test ${ac_cv_prog_cc_g+y}
   4026 then :
   4027   printf %s "(cached) " >&6
   4028 else $as_nop
   4029   ac_save_c_werror_flag=$ac_c_werror_flag
   4030    ac_c_werror_flag=yes
   4031    ac_cv_prog_cc_g=no
   4032    CFLAGS="-g"
   4033    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4034 /* end confdefs.h.  */
   4035 
   4036 int
   4037 main (void)
   4038 {
   4039 
   4040   ;
   4041   return 0;
   4042 }
   4043 _ACEOF
   4044 if ac_fn_c_try_compile "$LINENO"
   4045 then :
   4046   ac_cv_prog_cc_g=yes
   4047 else $as_nop
   4048   CFLAGS=""
   4049       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4050 /* end confdefs.h.  */
   4051 
   4052 int
   4053 main (void)
   4054 {
   4055 
   4056   ;
   4057   return 0;
   4058 }
   4059 _ACEOF
   4060 if ac_fn_c_try_compile "$LINENO"
   4061 then :
   4062 
   4063 else $as_nop
   4064   ac_c_werror_flag=$ac_save_c_werror_flag
   4065 	 CFLAGS="-g"
   4066 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4067 /* end confdefs.h.  */
   4068 
   4069 int
   4070 main (void)
   4071 {
   4072 
   4073   ;
   4074   return 0;
   4075 }
   4076 _ACEOF
   4077 if ac_fn_c_try_compile "$LINENO"
   4078 then :
   4079   ac_cv_prog_cc_g=yes
   4080 fi
   4081 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4082 fi
   4083 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4084 fi
   4085 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4086    ac_c_werror_flag=$ac_save_c_werror_flag
   4087 fi
   4088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4089 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4090 if test $ac_test_CFLAGS; then
   4091   CFLAGS=$ac_save_CFLAGS
   4092 elif test $ac_cv_prog_cc_g = yes; then
   4093   if test "$GCC" = yes; then
   4094     CFLAGS="-g -O2"
   4095   else
   4096     CFLAGS="-g"
   4097   fi
   4098 else
   4099   if test "$GCC" = yes; then
   4100     CFLAGS="-O2"
   4101   else
   4102     CFLAGS=
   4103   fi
   4104 fi
   4105 ac_prog_cc_stdc=no
   4106 if test x$ac_prog_cc_stdc = xno
   4107 then :
   4108   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4109 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4110 if test ${ac_cv_prog_cc_c11+y}
   4111 then :
   4112   printf %s "(cached) " >&6
   4113 else $as_nop
   4114   ac_cv_prog_cc_c11=no
   4115 ac_save_CC=$CC
   4116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4117 /* end confdefs.h.  */
   4118 $ac_c_conftest_c11_program
   4119 _ACEOF
   4120 for ac_arg in '' -std=gnu11
   4121 do
   4122   CC="$ac_save_CC $ac_arg"
   4123   if ac_fn_c_try_compile "$LINENO"
   4124 then :
   4125   ac_cv_prog_cc_c11=$ac_arg
   4126 fi
   4127 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4128   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4129 done
   4130 rm -f conftest.$ac_ext
   4131 CC=$ac_save_CC
   4132 fi
   4133 
   4134 if test "x$ac_cv_prog_cc_c11" = xno
   4135 then :
   4136   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4137 printf "%s\n" "unsupported" >&6; }
   4138 else $as_nop
   4139   if test "x$ac_cv_prog_cc_c11" = x
   4140 then :
   4141   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4142 printf "%s\n" "none needed" >&6; }
   4143 else $as_nop
   4144   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4145 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4146      CC="$CC $ac_cv_prog_cc_c11"
   4147 fi
   4148   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4149   ac_prog_cc_stdc=c11
   4150 fi
   4151 fi
   4152 if test x$ac_prog_cc_stdc = xno
   4153 then :
   4154   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4155 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4156 if test ${ac_cv_prog_cc_c99+y}
   4157 then :
   4158   printf %s "(cached) " >&6
   4159 else $as_nop
   4160   ac_cv_prog_cc_c99=no
   4161 ac_save_CC=$CC
   4162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4163 /* end confdefs.h.  */
   4164 $ac_c_conftest_c99_program
   4165 _ACEOF
   4166 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4167 do
   4168   CC="$ac_save_CC $ac_arg"
   4169   if ac_fn_c_try_compile "$LINENO"
   4170 then :
   4171   ac_cv_prog_cc_c99=$ac_arg
   4172 fi
   4173 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4174   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4175 done
   4176 rm -f conftest.$ac_ext
   4177 CC=$ac_save_CC
   4178 fi
   4179 
   4180 if test "x$ac_cv_prog_cc_c99" = xno
   4181 then :
   4182   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4183 printf "%s\n" "unsupported" >&6; }
   4184 else $as_nop
   4185   if test "x$ac_cv_prog_cc_c99" = x
   4186 then :
   4187   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4188 printf "%s\n" "none needed" >&6; }
   4189 else $as_nop
   4190   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4191 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4192      CC="$CC $ac_cv_prog_cc_c99"
   4193 fi
   4194   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4195   ac_prog_cc_stdc=c99
   4196 fi
   4197 fi
   4198 if test x$ac_prog_cc_stdc = xno
   4199 then :
   4200   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4201 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4202 if test ${ac_cv_prog_cc_c89+y}
   4203 then :
   4204   printf %s "(cached) " >&6
   4205 else $as_nop
   4206   ac_cv_prog_cc_c89=no
   4207 ac_save_CC=$CC
   4208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4209 /* end confdefs.h.  */
   4210 $ac_c_conftest_c89_program
   4211 _ACEOF
   4212 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4213 do
   4214   CC="$ac_save_CC $ac_arg"
   4215   if ac_fn_c_try_compile "$LINENO"
   4216 then :
   4217   ac_cv_prog_cc_c89=$ac_arg
   4218 fi
   4219 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4220   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4221 done
   4222 rm -f conftest.$ac_ext
   4223 CC=$ac_save_CC
   4224 fi
   4225 
   4226 if test "x$ac_cv_prog_cc_c89" = xno
   4227 then :
   4228   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4229 printf "%s\n" "unsupported" >&6; }
   4230 else $as_nop
   4231   if test "x$ac_cv_prog_cc_c89" = x
   4232 then :
   4233   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4234 printf "%s\n" "none needed" >&6; }
   4235 else $as_nop
   4236   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4237 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4238      CC="$CC $ac_cv_prog_cc_c89"
   4239 fi
   4240   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4241   ac_prog_cc_stdc=c89
   4242 fi
   4243 fi
   4244 
   4245 ac_ext=c
   4246 ac_cpp='$CPP $CPPFLAGS'
   4247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4250 
   4251 
   4252   ac_ext=c
   4253 ac_cpp='$CPP $CPPFLAGS'
   4254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4258 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4259 if test ${am_cv_prog_cc_c_o+y}
   4260 then :
   4261   printf %s "(cached) " >&6
   4262 else $as_nop
   4263   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4264 /* end confdefs.h.  */
   4265 
   4266 int
   4267 main (void)
   4268 {
   4269 
   4270   ;
   4271   return 0;
   4272 }
   4273 _ACEOF
   4274   # Make sure it works both with $CC and with simple cc.
   4275   # Following AC_PROG_CC_C_O, we do the test twice because some
   4276   # compilers refuse to overwrite an existing .o file with -o,
   4277   # though they will create one.
   4278   am_cv_prog_cc_c_o=yes
   4279   for am_i in 1 2; do
   4280     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4281    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4282    ac_status=$?
   4283    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4284    (exit $ac_status); } \
   4285          && test -f conftest2.$ac_objext; then
   4286       : OK
   4287     else
   4288       am_cv_prog_cc_c_o=no
   4289       break
   4290     fi
   4291   done
   4292   rm -f core conftest*
   4293   unset am_i
   4294 fi
   4295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4296 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4297 if test "$am_cv_prog_cc_c_o" != yes; then
   4298    # Losing compiler, so override with the script.
   4299    # FIXME: It is wrong to rewrite CC.
   4300    # But if we don't then we get into trouble of one sort or another.
   4301    # A longer-term fix would be to have automake use am__CC in this case,
   4302    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4303    CC="$am_aux_dir/compile $CC"
   4304 fi
   4305 ac_ext=c
   4306 ac_cpp='$CPP $CPPFLAGS'
   4307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4310 
   4311 
   4312 depcc="$CC"   am_compiler_list=
   4313 
   4314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4315 printf %s "checking dependency style of $depcc... " >&6; }
   4316 if test ${am_cv_CC_dependencies_compiler_type+y}
   4317 then :
   4318   printf %s "(cached) " >&6
   4319 else $as_nop
   4320   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4321   # We make a subdir and do the tests there.  Otherwise we can end up
   4322   # making bogus files that we don't know about and never remove.  For
   4323   # instance it was reported that on HP-UX the gcc test will end up
   4324   # making a dummy file named 'D' -- because '-MD' means "put the output
   4325   # in D".
   4326   rm -rf conftest.dir
   4327   mkdir conftest.dir
   4328   # Copy depcomp to subdir because otherwise we won't find it if we're
   4329   # using a relative directory.
   4330   cp "$am_depcomp" conftest.dir
   4331   cd conftest.dir
   4332   # We will build objects and dependencies in a subdirectory because
   4333   # it helps to detect inapplicable dependency modes.  For instance
   4334   # both Tru64's cc and ICC support -MD to output dependencies as a
   4335   # side effect of compilation, but ICC will put the dependencies in
   4336   # the current directory while Tru64 will put them in the object
   4337   # directory.
   4338   mkdir sub
   4339 
   4340   am_cv_CC_dependencies_compiler_type=none
   4341   if test "$am_compiler_list" = ""; then
   4342      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4343   fi
   4344   am__universal=false
   4345   case " $depcc " in #(
   4346      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4347      esac
   4348 
   4349   for depmode in $am_compiler_list; do
   4350     # Setup a source with many dependencies, because some compilers
   4351     # like to wrap large dependency lists on column 80 (with \), and
   4352     # we should not choose a depcomp mode which is confused by this.
   4353     #
   4354     # We need to recreate these files for each test, as the compiler may
   4355     # overwrite some of them when testing with obscure command lines.
   4356     # This happens at least with the AIX C compiler.
   4357     : > sub/conftest.c
   4358     for i in 1 2 3 4 5 6; do
   4359       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4360       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4361       # Solaris 10 /bin/sh.
   4362       echo '/* dummy */' > sub/conftst$i.h
   4363     done
   4364     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4365 
   4366     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4367     # mode.  It turns out that the SunPro C++ compiler does not properly
   4368     # handle '-M -o', and we need to detect this.  Also, some Intel
   4369     # versions had trouble with output in subdirs.
   4370     am__obj=sub/conftest.${OBJEXT-o}
   4371     am__minus_obj="-o $am__obj"
   4372     case $depmode in
   4373     gcc)
   4374       # This depmode causes a compiler race in universal mode.
   4375       test "$am__universal" = false || continue
   4376       ;;
   4377     nosideeffect)
   4378       # After this tag, mechanisms are not by side-effect, so they'll
   4379       # only be used when explicitly requested.
   4380       if test "x$enable_dependency_tracking" = xyes; then
   4381 	continue
   4382       else
   4383 	break
   4384       fi
   4385       ;;
   4386     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4387       # This compiler won't grok '-c -o', but also, the minuso test has
   4388       # not run yet.  These depmodes are late enough in the game, and
   4389       # so weak that their functioning should not be impacted.
   4390       am__obj=conftest.${OBJEXT-o}
   4391       am__minus_obj=
   4392       ;;
   4393     none) break ;;
   4394     esac
   4395     if depmode=$depmode \
   4396        source=sub/conftest.c object=$am__obj \
   4397        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4398        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4399          >/dev/null 2>conftest.err &&
   4400        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4401        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4402        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4403        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4404       # icc doesn't choke on unknown options, it will just issue warnings
   4405       # or remarks (even with -Werror).  So we grep stderr for any message
   4406       # that says an option was ignored or not supported.
   4407       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4408       #   icc: Command line warning: ignoring option '-M'; no argument required
   4409       # The diagnosis changed in icc 8.0:
   4410       #   icc: Command line remark: option '-MP' not supported
   4411       if (grep 'ignoring option' conftest.err ||
   4412           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4413         am_cv_CC_dependencies_compiler_type=$depmode
   4414         break
   4415       fi
   4416     fi
   4417   done
   4418 
   4419   cd ..
   4420   rm -rf conftest.dir
   4421 else
   4422   am_cv_CC_dependencies_compiler_type=none
   4423 fi
   4424 
   4425 fi
   4426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4427 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4428 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4429 
   4430  if
   4431   test "x$enable_dependency_tracking" != xno \
   4432   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4433   am__fastdepCC_TRUE=
   4434   am__fastdepCC_FALSE='#'
   4435 else
   4436   am__fastdepCC_TRUE='#'
   4437   am__fastdepCC_FALSE=
   4438 fi
   4439 
   4440 
   4441 
   4442 
   4443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4444 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4445 if test ${ac_cv_c_undeclared_builtin_options+y}
   4446 then :
   4447   printf %s "(cached) " >&6
   4448 else $as_nop
   4449   ac_save_CFLAGS=$CFLAGS
   4450    ac_cv_c_undeclared_builtin_options='cannot detect'
   4451    for ac_arg in '' -fno-builtin; do
   4452      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4453      # This test program should *not* compile successfully.
   4454      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4455 /* end confdefs.h.  */
   4456 
   4457 int
   4458 main (void)
   4459 {
   4460 (void) strchr;
   4461   ;
   4462   return 0;
   4463 }
   4464 _ACEOF
   4465 if ac_fn_c_try_compile "$LINENO"
   4466 then :
   4467 
   4468 else $as_nop
   4469   # This test program should compile successfully.
   4470         # No library function is consistently available on
   4471         # freestanding implementations, so test against a dummy
   4472         # declaration.  Include always-available headers on the
   4473         # off chance that they somehow elicit warnings.
   4474         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4475 /* end confdefs.h.  */
   4476 #include <float.h>
   4477 #include <limits.h>
   4478 #include <stdarg.h>
   4479 #include <stddef.h>
   4480 extern void ac_decl (int, char *);
   4481 
   4482 int
   4483 main (void)
   4484 {
   4485 (void) ac_decl (0, (char *) 0);
   4486   (void) ac_decl;
   4487 
   4488   ;
   4489   return 0;
   4490 }
   4491 _ACEOF
   4492 if ac_fn_c_try_compile "$LINENO"
   4493 then :
   4494   if test x"$ac_arg" = x
   4495 then :
   4496   ac_cv_c_undeclared_builtin_options='none needed'
   4497 else $as_nop
   4498   ac_cv_c_undeclared_builtin_options=$ac_arg
   4499 fi
   4500           break
   4501 fi
   4502 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4503 fi
   4504 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4505     done
   4506     CFLAGS=$ac_save_CFLAGS
   4507 
   4508 fi
   4509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4510 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4511   case $ac_cv_c_undeclared_builtin_options in #(
   4512   'cannot detect') :
   4513     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4514 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4515 as_fn_error $? "cannot make $CC report undeclared builtins
   4516 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   4517   'none needed') :
   4518     ac_c_undeclared_builtin_options='' ;; #(
   4519   *) :
   4520     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4521 esac
   4522 
   4523 ac_header= ac_cache=
   4524 for ac_item in $ac_header_c_list
   4525 do
   4526   if test $ac_cache; then
   4527     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4528     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4529       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4530     fi
   4531     ac_header= ac_cache=
   4532   elif test $ac_header; then
   4533     ac_cache=$ac_item
   4534   else
   4535     ac_header=$ac_item
   4536   fi
   4537 done
   4538 
   4539 
   4540 
   4541 
   4542 
   4543 
   4544 
   4545 
   4546 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4547 then :
   4548 
   4549 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4550 
   4551 fi
   4552 
   4553 
   4554 
   4555 
   4556 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4557 if test "x$ac_cv_have_decl___clang__" = xyes
   4558 then :
   4559   CLANGCC="yes"
   4560 else $as_nop
   4561   CLANGCC="no"
   4562 fi
   4563 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4564 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4565 then :
   4566   INTELCC="yes"
   4567 else $as_nop
   4568   INTELCC="no"
   4569 fi
   4570 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4571 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4572 then :
   4573   SUNCC="yes"
   4574 else $as_nop
   4575   SUNCC="no"
   4576 fi
   4577 
   4578 
   4579 
   4580 
   4581 
   4582 
   4583 
   4584 
   4585 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4586 	if test -n "$ac_tool_prefix"; then
   4587   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4588 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4590 printf %s "checking for $ac_word... " >&6; }
   4591 if test ${ac_cv_path_PKG_CONFIG+y}
   4592 then :
   4593   printf %s "(cached) " >&6
   4594 else $as_nop
   4595   case $PKG_CONFIG in
   4596   [\\/]* | ?:[\\/]*)
   4597   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4598   ;;
   4599   *)
   4600   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4601 for as_dir in $PATH
   4602 do
   4603   IFS=$as_save_IFS
   4604   case $as_dir in #(((
   4605     '') as_dir=./ ;;
   4606     */) ;;
   4607     *) as_dir=$as_dir/ ;;
   4608   esac
   4609     for ac_exec_ext in '' $ac_executable_extensions; do
   4610   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4611     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4612     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4613     break 2
   4614   fi
   4615 done
   4616   done
   4617 IFS=$as_save_IFS
   4618 
   4619   ;;
   4620 esac
   4621 fi
   4622 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4623 if test -n "$PKG_CONFIG"; then
   4624   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4625 printf "%s\n" "$PKG_CONFIG" >&6; }
   4626 else
   4627   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4628 printf "%s\n" "no" >&6; }
   4629 fi
   4630 
   4631 
   4632 fi
   4633 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4634   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4635   # Extract the first word of "pkg-config", so it can be a program name with args.
   4636 set dummy pkg-config; ac_word=$2
   4637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4638 printf %s "checking for $ac_word... " >&6; }
   4639 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4640 then :
   4641   printf %s "(cached) " >&6
   4642 else $as_nop
   4643   case $ac_pt_PKG_CONFIG in
   4644   [\\/]* | ?:[\\/]*)
   4645   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4646   ;;
   4647   *)
   4648   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4649 for as_dir in $PATH
   4650 do
   4651   IFS=$as_save_IFS
   4652   case $as_dir in #(((
   4653     '') as_dir=./ ;;
   4654     */) ;;
   4655     *) as_dir=$as_dir/ ;;
   4656   esac
   4657     for ac_exec_ext in '' $ac_executable_extensions; do
   4658   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4659     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4660     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4661     break 2
   4662   fi
   4663 done
   4664   done
   4665 IFS=$as_save_IFS
   4666 
   4667   ;;
   4668 esac
   4669 fi
   4670 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4671 if test -n "$ac_pt_PKG_CONFIG"; then
   4672   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4673 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4674 else
   4675   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4676 printf "%s\n" "no" >&6; }
   4677 fi
   4678 
   4679   if test "x$ac_pt_PKG_CONFIG" = x; then
   4680     PKG_CONFIG=""
   4681   else
   4682     case $cross_compiling:$ac_tool_warned in
   4683 yes:)
   4684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4685 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4686 ac_tool_warned=yes ;;
   4687 esac
   4688     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4689   fi
   4690 else
   4691   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4692 fi
   4693 
   4694 fi
   4695 if test -n "$PKG_CONFIG"; then
   4696 	_pkg_min_version=0.9.0
   4697 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4698 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4699 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4700 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4701 printf "%s\n" "yes" >&6; }
   4702 	else
   4703 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4704 printf "%s\n" "no" >&6; }
   4705 		PKG_CONFIG=""
   4706 	fi
   4707 fi
   4708 
   4709 
   4710   # Make sure we can run config.sub.
   4711 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4712   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4713 
   4714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4715 printf %s "checking build system type... " >&6; }
   4716 if test ${ac_cv_build+y}
   4717 then :
   4718   printf %s "(cached) " >&6
   4719 else $as_nop
   4720   ac_build_alias=$build_alias
   4721 test "x$ac_build_alias" = x &&
   4722   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4723 test "x$ac_build_alias" = x &&
   4724   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4725 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4726   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4727 
   4728 fi
   4729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4730 printf "%s\n" "$ac_cv_build" >&6; }
   4731 case $ac_cv_build in
   4732 *-*-*) ;;
   4733 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4734 esac
   4735 build=$ac_cv_build
   4736 ac_save_IFS=$IFS; IFS='-'
   4737 set x $ac_cv_build
   4738 shift
   4739 build_cpu=$1
   4740 build_vendor=$2
   4741 shift; shift
   4742 # Remember, the first character of IFS is used to create $*,
   4743 # except with old shells:
   4744 build_os=$*
   4745 IFS=$ac_save_IFS
   4746 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4747 
   4748 
   4749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4750 printf %s "checking host system type... " >&6; }
   4751 if test ${ac_cv_host+y}
   4752 then :
   4753   printf %s "(cached) " >&6
   4754 else $as_nop
   4755   if test "x$host_alias" = x; then
   4756   ac_cv_host=$ac_cv_build
   4757 else
   4758   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4759     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4760 fi
   4761 
   4762 fi
   4763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4764 printf "%s\n" "$ac_cv_host" >&6; }
   4765 case $ac_cv_host in
   4766 *-*-*) ;;
   4767 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4768 esac
   4769 host=$ac_cv_host
   4770 ac_save_IFS=$IFS; IFS='-'
   4771 set x $ac_cv_host
   4772 shift
   4773 host_cpu=$1
   4774 host_vendor=$2
   4775 shift; shift
   4776 # Remember, the first character of IFS is used to create $*,
   4777 # except with old shells:
   4778 host_os=$*
   4779 IFS=$ac_save_IFS
   4780 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4781 
   4782 
   4783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4784 printf %s "checking for a sed that does not truncate output... " >&6; }
   4785 if test ${ac_cv_path_SED+y}
   4786 then :
   4787   printf %s "(cached) " >&6
   4788 else $as_nop
   4789             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4790      for ac_i in 1 2 3 4 5 6 7; do
   4791        ac_script="$ac_script$as_nl$ac_script"
   4792      done
   4793      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4794      { ac_script=; unset ac_script;}
   4795      if test -z "$SED"; then
   4796   ac_path_SED_found=false
   4797   # Loop through the user's path and test for each of PROGNAME-LIST
   4798   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4799 for as_dir in $PATH
   4800 do
   4801   IFS=$as_save_IFS
   4802   case $as_dir in #(((
   4803     '') as_dir=./ ;;
   4804     */) ;;
   4805     *) as_dir=$as_dir/ ;;
   4806   esac
   4807     for ac_prog in sed gsed
   4808    do
   4809     for ac_exec_ext in '' $ac_executable_extensions; do
   4810       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4811       as_fn_executable_p "$ac_path_SED" || continue
   4812 # Check for GNU ac_path_SED and select it if it is found.
   4813   # Check for GNU $ac_path_SED
   4814 case `"$ac_path_SED" --version 2>&1` in
   4815 *GNU*)
   4816   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4817 *)
   4818   ac_count=0
   4819   printf %s 0123456789 >"conftest.in"
   4820   while :
   4821   do
   4822     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4823     mv "conftest.tmp" "conftest.in"
   4824     cp "conftest.in" "conftest.nl"
   4825     printf "%s\n" '' >> "conftest.nl"
   4826     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4827     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4828     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4829     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4830       # Best one so far, save it but keep looking for a better one
   4831       ac_cv_path_SED="$ac_path_SED"
   4832       ac_path_SED_max=$ac_count
   4833     fi
   4834     # 10*(2^10) chars as input seems more than enough
   4835     test $ac_count -gt 10 && break
   4836   done
   4837   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4838 esac
   4839 
   4840       $ac_path_SED_found && break 3
   4841     done
   4842   done
   4843   done
   4844 IFS=$as_save_IFS
   4845   if test -z "$ac_cv_path_SED"; then
   4846     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4847   fi
   4848 else
   4849   ac_cv_path_SED=$SED
   4850 fi
   4851 
   4852 fi
   4853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4854 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4855  SED="$ac_cv_path_SED"
   4856   rm -f conftest.sed
   4857 
   4858 
   4859 
   4860 
   4861 
   4862 
   4863 # Check whether --enable-selective-werror was given.
   4864 if test ${enable_selective_werror+y}
   4865 then :
   4866   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4867 else $as_nop
   4868   SELECTIVE_WERROR=yes
   4869 fi
   4870 
   4871 
   4872 
   4873 
   4874 
   4875 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4876 if test "x$SUNCC" = "xyes"; then
   4877     BASE_CFLAGS="-v"
   4878 else
   4879     BASE_CFLAGS=""
   4880 fi
   4881 
   4882 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4883 
   4884 
   4885 
   4886 
   4887 
   4888 
   4889 
   4890 
   4891 
   4892 
   4893 
   4894 
   4895 
   4896 xorg_testset_save_CFLAGS="$CFLAGS"
   4897 
   4898 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4899 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4900 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4901 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4902 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   4903 then :
   4904   printf %s "(cached) " >&6
   4905 else $as_nop
   4906   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4907 /* end confdefs.h.  */
   4908 int i;
   4909 _ACEOF
   4910 if ac_fn_c_try_compile "$LINENO"
   4911 then :
   4912   xorg_cv_cc_flag_unknown_warning_option=yes
   4913 else $as_nop
   4914   xorg_cv_cc_flag_unknown_warning_option=no
   4915 fi
   4916 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4917 fi
   4918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4919 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4920 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4921 	CFLAGS="$xorg_testset_save_CFLAGS"
   4922 fi
   4923 
   4924 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4925 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4926 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4927 	fi
   4928 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4929 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4930 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4931 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   4932 then :
   4933   printf %s "(cached) " >&6
   4934 else $as_nop
   4935   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4936 /* end confdefs.h.  */
   4937 int i;
   4938 _ACEOF
   4939 if ac_fn_c_try_compile "$LINENO"
   4940 then :
   4941   xorg_cv_cc_flag_unused_command_line_argument=yes
   4942 else $as_nop
   4943   xorg_cv_cc_flag_unused_command_line_argument=no
   4944 fi
   4945 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4946 fi
   4947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4948 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4949 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4950 	CFLAGS="$xorg_testset_save_CFLAGS"
   4951 fi
   4952 
   4953 found="no"
   4954 
   4955 	if test $found = "no" ; then
   4956 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4957 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4958 		fi
   4959 
   4960 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4961 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4962 		fi
   4963 
   4964 		CFLAGS="$CFLAGS -Wall"
   4965 
   4966 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4967 printf %s "checking if $CC supports -Wall... " >&6; }
   4968 		cacheid=xorg_cv_cc_flag__Wall
   4969 		if eval test \${$cacheid+y}
   4970 then :
   4971   printf %s "(cached) " >&6
   4972 else $as_nop
   4973   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4974 /* end confdefs.h.  */
   4975 int i;
   4976 int
   4977 main (void)
   4978 {
   4979 
   4980   ;
   4981   return 0;
   4982 }
   4983 _ACEOF
   4984 if ac_fn_c_try_link "$LINENO"
   4985 then :
   4986   eval $cacheid=yes
   4987 else $as_nop
   4988   eval $cacheid=no
   4989 fi
   4990 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   4991     conftest$ac_exeext conftest.$ac_ext
   4992 fi
   4993 
   4994 
   4995 		CFLAGS="$xorg_testset_save_CFLAGS"
   4996 
   4997 		eval supported=\$$cacheid
   4998 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4999 printf "%s\n" "$supported" >&6; }
   5000 		if test "$supported" = "yes" ; then
   5001 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5002 			found="yes"
   5003 		fi
   5004 	fi
   5005 
   5006 
   5007 
   5008 
   5009 
   5010 
   5011 
   5012 
   5013 
   5014 
   5015 
   5016 
   5017 
   5018 
   5019 
   5020 xorg_testset_save_CFLAGS="$CFLAGS"
   5021 
   5022 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5023 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5024 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5025 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5026 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5027 then :
   5028   printf %s "(cached) " >&6
   5029 else $as_nop
   5030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5031 /* end confdefs.h.  */
   5032 int i;
   5033 _ACEOF
   5034 if ac_fn_c_try_compile "$LINENO"
   5035 then :
   5036   xorg_cv_cc_flag_unknown_warning_option=yes
   5037 else $as_nop
   5038   xorg_cv_cc_flag_unknown_warning_option=no
   5039 fi
   5040 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5041 fi
   5042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5043 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5044 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5045 	CFLAGS="$xorg_testset_save_CFLAGS"
   5046 fi
   5047 
   5048 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5049 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5050 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5051 	fi
   5052 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5053 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5054 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5055 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5056 then :
   5057   printf %s "(cached) " >&6
   5058 else $as_nop
   5059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5060 /* end confdefs.h.  */
   5061 int i;
   5062 _ACEOF
   5063 if ac_fn_c_try_compile "$LINENO"
   5064 then :
   5065   xorg_cv_cc_flag_unused_command_line_argument=yes
   5066 else $as_nop
   5067   xorg_cv_cc_flag_unused_command_line_argument=no
   5068 fi
   5069 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5070 fi
   5071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5072 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5073 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5074 	CFLAGS="$xorg_testset_save_CFLAGS"
   5075 fi
   5076 
   5077 found="no"
   5078 
   5079 	if test $found = "no" ; then
   5080 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5081 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5082 		fi
   5083 
   5084 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5085 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5086 		fi
   5087 
   5088 		CFLAGS="$CFLAGS -Wpointer-arith"
   5089 
   5090 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5091 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5092 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5093 		if eval test \${$cacheid+y}
   5094 then :
   5095   printf %s "(cached) " >&6
   5096 else $as_nop
   5097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5098 /* end confdefs.h.  */
   5099 int i;
   5100 int
   5101 main (void)
   5102 {
   5103 
   5104   ;
   5105   return 0;
   5106 }
   5107 _ACEOF
   5108 if ac_fn_c_try_link "$LINENO"
   5109 then :
   5110   eval $cacheid=yes
   5111 else $as_nop
   5112   eval $cacheid=no
   5113 fi
   5114 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5115     conftest$ac_exeext conftest.$ac_ext
   5116 fi
   5117 
   5118 
   5119 		CFLAGS="$xorg_testset_save_CFLAGS"
   5120 
   5121 		eval supported=\$$cacheid
   5122 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5123 printf "%s\n" "$supported" >&6; }
   5124 		if test "$supported" = "yes" ; then
   5125 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5126 			found="yes"
   5127 		fi
   5128 	fi
   5129 
   5130 
   5131 
   5132 
   5133 
   5134 
   5135 
   5136 
   5137 
   5138 
   5139 
   5140 
   5141 
   5142 
   5143 
   5144 xorg_testset_save_CFLAGS="$CFLAGS"
   5145 
   5146 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5147 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5148 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5149 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5150 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5151 then :
   5152   printf %s "(cached) " >&6
   5153 else $as_nop
   5154   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5155 /* end confdefs.h.  */
   5156 int i;
   5157 _ACEOF
   5158 if ac_fn_c_try_compile "$LINENO"
   5159 then :
   5160   xorg_cv_cc_flag_unknown_warning_option=yes
   5161 else $as_nop
   5162   xorg_cv_cc_flag_unknown_warning_option=no
   5163 fi
   5164 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5165 fi
   5166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5167 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5168 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5169 	CFLAGS="$xorg_testset_save_CFLAGS"
   5170 fi
   5171 
   5172 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5173 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5174 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5175 	fi
   5176 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5177 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5178 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5179 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5180 then :
   5181   printf %s "(cached) " >&6
   5182 else $as_nop
   5183   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5184 /* end confdefs.h.  */
   5185 int i;
   5186 _ACEOF
   5187 if ac_fn_c_try_compile "$LINENO"
   5188 then :
   5189   xorg_cv_cc_flag_unused_command_line_argument=yes
   5190 else $as_nop
   5191   xorg_cv_cc_flag_unused_command_line_argument=no
   5192 fi
   5193 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5194 fi
   5195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5196 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5197 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5198 	CFLAGS="$xorg_testset_save_CFLAGS"
   5199 fi
   5200 
   5201 found="no"
   5202 
   5203 	if test $found = "no" ; then
   5204 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5205 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5206 		fi
   5207 
   5208 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5209 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5210 		fi
   5211 
   5212 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5213 
   5214 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5215 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5216 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5217 		if eval test \${$cacheid+y}
   5218 then :
   5219   printf %s "(cached) " >&6
   5220 else $as_nop
   5221   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5222 /* end confdefs.h.  */
   5223 int i;
   5224 int
   5225 main (void)
   5226 {
   5227 
   5228   ;
   5229   return 0;
   5230 }
   5231 _ACEOF
   5232 if ac_fn_c_try_link "$LINENO"
   5233 then :
   5234   eval $cacheid=yes
   5235 else $as_nop
   5236   eval $cacheid=no
   5237 fi
   5238 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5239     conftest$ac_exeext conftest.$ac_ext
   5240 fi
   5241 
   5242 
   5243 		CFLAGS="$xorg_testset_save_CFLAGS"
   5244 
   5245 		eval supported=\$$cacheid
   5246 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5247 printf "%s\n" "$supported" >&6; }
   5248 		if test "$supported" = "yes" ; then
   5249 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5250 			found="yes"
   5251 		fi
   5252 	fi
   5253 
   5254 
   5255 
   5256 
   5257 
   5258 
   5259 
   5260 
   5261 
   5262 
   5263 
   5264 
   5265 
   5266 
   5267 
   5268 xorg_testset_save_CFLAGS="$CFLAGS"
   5269 
   5270 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5271 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5272 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5273 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5274 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5275 then :
   5276   printf %s "(cached) " >&6
   5277 else $as_nop
   5278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5279 /* end confdefs.h.  */
   5280 int i;
   5281 _ACEOF
   5282 if ac_fn_c_try_compile "$LINENO"
   5283 then :
   5284   xorg_cv_cc_flag_unknown_warning_option=yes
   5285 else $as_nop
   5286   xorg_cv_cc_flag_unknown_warning_option=no
   5287 fi
   5288 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5289 fi
   5290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5291 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5292 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5293 	CFLAGS="$xorg_testset_save_CFLAGS"
   5294 fi
   5295 
   5296 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5297 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5298 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5299 	fi
   5300 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5301 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5302 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5303 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5304 then :
   5305   printf %s "(cached) " >&6
   5306 else $as_nop
   5307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5308 /* end confdefs.h.  */
   5309 int i;
   5310 _ACEOF
   5311 if ac_fn_c_try_compile "$LINENO"
   5312 then :
   5313   xorg_cv_cc_flag_unused_command_line_argument=yes
   5314 else $as_nop
   5315   xorg_cv_cc_flag_unused_command_line_argument=no
   5316 fi
   5317 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5318 fi
   5319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5320 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5321 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5322 	CFLAGS="$xorg_testset_save_CFLAGS"
   5323 fi
   5324 
   5325 found="no"
   5326 
   5327 	if test $found = "no" ; then
   5328 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5329 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5330 		fi
   5331 
   5332 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5333 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5334 		fi
   5335 
   5336 		CFLAGS="$CFLAGS -Wformat=2"
   5337 
   5338 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5339 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5340 		cacheid=xorg_cv_cc_flag__Wformat_2
   5341 		if eval test \${$cacheid+y}
   5342 then :
   5343   printf %s "(cached) " >&6
   5344 else $as_nop
   5345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5346 /* end confdefs.h.  */
   5347 int i;
   5348 int
   5349 main (void)
   5350 {
   5351 
   5352   ;
   5353   return 0;
   5354 }
   5355 _ACEOF
   5356 if ac_fn_c_try_link "$LINENO"
   5357 then :
   5358   eval $cacheid=yes
   5359 else $as_nop
   5360   eval $cacheid=no
   5361 fi
   5362 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5363     conftest$ac_exeext conftest.$ac_ext
   5364 fi
   5365 
   5366 
   5367 		CFLAGS="$xorg_testset_save_CFLAGS"
   5368 
   5369 		eval supported=\$$cacheid
   5370 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5371 printf "%s\n" "$supported" >&6; }
   5372 		if test "$supported" = "yes" ; then
   5373 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5374 			found="yes"
   5375 		fi
   5376 	fi
   5377 
   5378 	if test $found = "no" ; then
   5379 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5380 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5381 		fi
   5382 
   5383 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5384 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5385 		fi
   5386 
   5387 		CFLAGS="$CFLAGS -Wformat"
   5388 
   5389 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5390 printf %s "checking if $CC supports -Wformat... " >&6; }
   5391 		cacheid=xorg_cv_cc_flag__Wformat
   5392 		if eval test \${$cacheid+y}
   5393 then :
   5394   printf %s "(cached) " >&6
   5395 else $as_nop
   5396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5397 /* end confdefs.h.  */
   5398 int i;
   5399 int
   5400 main (void)
   5401 {
   5402 
   5403   ;
   5404   return 0;
   5405 }
   5406 _ACEOF
   5407 if ac_fn_c_try_link "$LINENO"
   5408 then :
   5409   eval $cacheid=yes
   5410 else $as_nop
   5411   eval $cacheid=no
   5412 fi
   5413 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5414     conftest$ac_exeext conftest.$ac_ext
   5415 fi
   5416 
   5417 
   5418 		CFLAGS="$xorg_testset_save_CFLAGS"
   5419 
   5420 		eval supported=\$$cacheid
   5421 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5422 printf "%s\n" "$supported" >&6; }
   5423 		if test "$supported" = "yes" ; then
   5424 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5425 			found="yes"
   5426 		fi
   5427 	fi
   5428 
   5429 
   5430 
   5431 
   5432 
   5433 
   5434 
   5435 
   5436 
   5437 
   5438 
   5439 
   5440 
   5441 
   5442 
   5443 
   5444 
   5445 xorg_testset_save_CFLAGS="$CFLAGS"
   5446 
   5447 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5448 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5449 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5450 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5451 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5452 then :
   5453   printf %s "(cached) " >&6
   5454 else $as_nop
   5455   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5456 /* end confdefs.h.  */
   5457 int i;
   5458 _ACEOF
   5459 if ac_fn_c_try_compile "$LINENO"
   5460 then :
   5461   xorg_cv_cc_flag_unknown_warning_option=yes
   5462 else $as_nop
   5463   xorg_cv_cc_flag_unknown_warning_option=no
   5464 fi
   5465 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5466 fi
   5467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5468 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5469 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5470 	CFLAGS="$xorg_testset_save_CFLAGS"
   5471 fi
   5472 
   5473 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5474 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5475 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5476 	fi
   5477 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5478 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5479 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5480 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5481 then :
   5482   printf %s "(cached) " >&6
   5483 else $as_nop
   5484   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5485 /* end confdefs.h.  */
   5486 int i;
   5487 _ACEOF
   5488 if ac_fn_c_try_compile "$LINENO"
   5489 then :
   5490   xorg_cv_cc_flag_unused_command_line_argument=yes
   5491 else $as_nop
   5492   xorg_cv_cc_flag_unused_command_line_argument=no
   5493 fi
   5494 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5495 fi
   5496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5497 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5498 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5499 	CFLAGS="$xorg_testset_save_CFLAGS"
   5500 fi
   5501 
   5502 found="no"
   5503 
   5504 	if test $found = "no" ; then
   5505 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5506 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5507 		fi
   5508 
   5509 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5510 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5511 		fi
   5512 
   5513 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5514 
   5515 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5516 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5517 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5518 		if eval test \${$cacheid+y}
   5519 then :
   5520   printf %s "(cached) " >&6
   5521 else $as_nop
   5522   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5523 /* end confdefs.h.  */
   5524 int i;
   5525 int
   5526 main (void)
   5527 {
   5528 
   5529   ;
   5530   return 0;
   5531 }
   5532 _ACEOF
   5533 if ac_fn_c_try_link "$LINENO"
   5534 then :
   5535   eval $cacheid=yes
   5536 else $as_nop
   5537   eval $cacheid=no
   5538 fi
   5539 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5540     conftest$ac_exeext conftest.$ac_ext
   5541 fi
   5542 
   5543 
   5544 		CFLAGS="$xorg_testset_save_CFLAGS"
   5545 
   5546 		eval supported=\$$cacheid
   5547 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5548 printf "%s\n" "$supported" >&6; }
   5549 		if test "$supported" = "yes" ; then
   5550 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5551 			found="yes"
   5552 		fi
   5553 	fi
   5554 
   5555 
   5556 
   5557 
   5558 
   5559 
   5560 
   5561 
   5562 
   5563 
   5564 
   5565 
   5566 
   5567 
   5568 
   5569 xorg_testset_save_CFLAGS="$CFLAGS"
   5570 
   5571 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5572 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5573 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5574 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5575 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5576 then :
   5577   printf %s "(cached) " >&6
   5578 else $as_nop
   5579   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5580 /* end confdefs.h.  */
   5581 int i;
   5582 _ACEOF
   5583 if ac_fn_c_try_compile "$LINENO"
   5584 then :
   5585   xorg_cv_cc_flag_unknown_warning_option=yes
   5586 else $as_nop
   5587   xorg_cv_cc_flag_unknown_warning_option=no
   5588 fi
   5589 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5590 fi
   5591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5592 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5593 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5594 	CFLAGS="$xorg_testset_save_CFLAGS"
   5595 fi
   5596 
   5597 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5598 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5599 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5600 	fi
   5601 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5602 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5603 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5604 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5605 then :
   5606   printf %s "(cached) " >&6
   5607 else $as_nop
   5608   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5609 /* end confdefs.h.  */
   5610 int i;
   5611 _ACEOF
   5612 if ac_fn_c_try_compile "$LINENO"
   5613 then :
   5614   xorg_cv_cc_flag_unused_command_line_argument=yes
   5615 else $as_nop
   5616   xorg_cv_cc_flag_unused_command_line_argument=no
   5617 fi
   5618 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5619 fi
   5620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5621 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5622 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5623 	CFLAGS="$xorg_testset_save_CFLAGS"
   5624 fi
   5625 
   5626 found="no"
   5627 
   5628 	if test $found = "no" ; then
   5629 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5630 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5631 		fi
   5632 
   5633 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5634 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5635 		fi
   5636 
   5637 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5638 
   5639 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5640 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5641 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5642 		if eval test \${$cacheid+y}
   5643 then :
   5644   printf %s "(cached) " >&6
   5645 else $as_nop
   5646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5647 /* end confdefs.h.  */
   5648 int i;
   5649 int
   5650 main (void)
   5651 {
   5652 
   5653   ;
   5654   return 0;
   5655 }
   5656 _ACEOF
   5657 if ac_fn_c_try_link "$LINENO"
   5658 then :
   5659   eval $cacheid=yes
   5660 else $as_nop
   5661   eval $cacheid=no
   5662 fi
   5663 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5664     conftest$ac_exeext conftest.$ac_ext
   5665 fi
   5666 
   5667 
   5668 		CFLAGS="$xorg_testset_save_CFLAGS"
   5669 
   5670 		eval supported=\$$cacheid
   5671 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5672 printf "%s\n" "$supported" >&6; }
   5673 		if test "$supported" = "yes" ; then
   5674 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5675 			found="yes"
   5676 		fi
   5677 	fi
   5678 
   5679 
   5680 
   5681 
   5682 
   5683 
   5684 
   5685 
   5686 
   5687 
   5688 
   5689 
   5690 
   5691 
   5692 
   5693 xorg_testset_save_CFLAGS="$CFLAGS"
   5694 
   5695 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5696 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5697 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5698 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5699 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5700 then :
   5701   printf %s "(cached) " >&6
   5702 else $as_nop
   5703   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5704 /* end confdefs.h.  */
   5705 int i;
   5706 _ACEOF
   5707 if ac_fn_c_try_compile "$LINENO"
   5708 then :
   5709   xorg_cv_cc_flag_unknown_warning_option=yes
   5710 else $as_nop
   5711   xorg_cv_cc_flag_unknown_warning_option=no
   5712 fi
   5713 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5714 fi
   5715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5716 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5717 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5718 	CFLAGS="$xorg_testset_save_CFLAGS"
   5719 fi
   5720 
   5721 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5722 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5723 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5724 	fi
   5725 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5726 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5727 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5728 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5729 then :
   5730   printf %s "(cached) " >&6
   5731 else $as_nop
   5732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5733 /* end confdefs.h.  */
   5734 int i;
   5735 _ACEOF
   5736 if ac_fn_c_try_compile "$LINENO"
   5737 then :
   5738   xorg_cv_cc_flag_unused_command_line_argument=yes
   5739 else $as_nop
   5740   xorg_cv_cc_flag_unused_command_line_argument=no
   5741 fi
   5742 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5743 fi
   5744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5745 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5746 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5747 	CFLAGS="$xorg_testset_save_CFLAGS"
   5748 fi
   5749 
   5750 found="no"
   5751 
   5752 	if test $found = "no" ; then
   5753 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5754 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5755 		fi
   5756 
   5757 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5758 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5759 		fi
   5760 
   5761 		CFLAGS="$CFLAGS -Wnested-externs"
   5762 
   5763 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5764 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   5765 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5766 		if eval test \${$cacheid+y}
   5767 then :
   5768   printf %s "(cached) " >&6
   5769 else $as_nop
   5770   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5771 /* end confdefs.h.  */
   5772 int i;
   5773 int
   5774 main (void)
   5775 {
   5776 
   5777   ;
   5778   return 0;
   5779 }
   5780 _ACEOF
   5781 if ac_fn_c_try_link "$LINENO"
   5782 then :
   5783   eval $cacheid=yes
   5784 else $as_nop
   5785   eval $cacheid=no
   5786 fi
   5787 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5788     conftest$ac_exeext conftest.$ac_ext
   5789 fi
   5790 
   5791 
   5792 		CFLAGS="$xorg_testset_save_CFLAGS"
   5793 
   5794 		eval supported=\$$cacheid
   5795 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5796 printf "%s\n" "$supported" >&6; }
   5797 		if test "$supported" = "yes" ; then
   5798 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5799 			found="yes"
   5800 		fi
   5801 	fi
   5802 
   5803 
   5804 
   5805 
   5806 
   5807 
   5808 
   5809 
   5810 
   5811 
   5812 
   5813 
   5814 
   5815 
   5816 
   5817 xorg_testset_save_CFLAGS="$CFLAGS"
   5818 
   5819 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5820 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5821 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5822 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5823 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5824 then :
   5825   printf %s "(cached) " >&6
   5826 else $as_nop
   5827   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5828 /* end confdefs.h.  */
   5829 int i;
   5830 _ACEOF
   5831 if ac_fn_c_try_compile "$LINENO"
   5832 then :
   5833   xorg_cv_cc_flag_unknown_warning_option=yes
   5834 else $as_nop
   5835   xorg_cv_cc_flag_unknown_warning_option=no
   5836 fi
   5837 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5838 fi
   5839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5840 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5841 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5842 	CFLAGS="$xorg_testset_save_CFLAGS"
   5843 fi
   5844 
   5845 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5846 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5847 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5848 	fi
   5849 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5850 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5851 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5852 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5853 then :
   5854   printf %s "(cached) " >&6
   5855 else $as_nop
   5856   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5857 /* end confdefs.h.  */
   5858 int i;
   5859 _ACEOF
   5860 if ac_fn_c_try_compile "$LINENO"
   5861 then :
   5862   xorg_cv_cc_flag_unused_command_line_argument=yes
   5863 else $as_nop
   5864   xorg_cv_cc_flag_unused_command_line_argument=no
   5865 fi
   5866 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5867 fi
   5868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5869 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5870 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5871 	CFLAGS="$xorg_testset_save_CFLAGS"
   5872 fi
   5873 
   5874 found="no"
   5875 
   5876 	if test $found = "no" ; then
   5877 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5878 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5879 		fi
   5880 
   5881 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5882 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5883 		fi
   5884 
   5885 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5886 
   5887 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5888 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   5889 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5890 		if eval test \${$cacheid+y}
   5891 then :
   5892   printf %s "(cached) " >&6
   5893 else $as_nop
   5894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5895 /* end confdefs.h.  */
   5896 int i;
   5897 int
   5898 main (void)
   5899 {
   5900 
   5901   ;
   5902   return 0;
   5903 }
   5904 _ACEOF
   5905 if ac_fn_c_try_link "$LINENO"
   5906 then :
   5907   eval $cacheid=yes
   5908 else $as_nop
   5909   eval $cacheid=no
   5910 fi
   5911 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5912     conftest$ac_exeext conftest.$ac_ext
   5913 fi
   5914 
   5915 
   5916 		CFLAGS="$xorg_testset_save_CFLAGS"
   5917 
   5918 		eval supported=\$$cacheid
   5919 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5920 printf "%s\n" "$supported" >&6; }
   5921 		if test "$supported" = "yes" ; then
   5922 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5923 			found="yes"
   5924 		fi
   5925 	fi
   5926 
   5927 
   5928 
   5929 
   5930 
   5931 
   5932 
   5933 
   5934 
   5935 
   5936 
   5937 
   5938 
   5939 
   5940 
   5941 xorg_testset_save_CFLAGS="$CFLAGS"
   5942 
   5943 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5944 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5945 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5946 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5947 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5948 then :
   5949   printf %s "(cached) " >&6
   5950 else $as_nop
   5951   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5952 /* end confdefs.h.  */
   5953 int i;
   5954 _ACEOF
   5955 if ac_fn_c_try_compile "$LINENO"
   5956 then :
   5957   xorg_cv_cc_flag_unknown_warning_option=yes
   5958 else $as_nop
   5959   xorg_cv_cc_flag_unknown_warning_option=no
   5960 fi
   5961 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5962 fi
   5963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5964 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5965 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5966 	CFLAGS="$xorg_testset_save_CFLAGS"
   5967 fi
   5968 
   5969 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5970 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5971 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5972 	fi
   5973 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5974 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5975 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5976 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5977 then :
   5978   printf %s "(cached) " >&6
   5979 else $as_nop
   5980   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5981 /* end confdefs.h.  */
   5982 int i;
   5983 _ACEOF
   5984 if ac_fn_c_try_compile "$LINENO"
   5985 then :
   5986   xorg_cv_cc_flag_unused_command_line_argument=yes
   5987 else $as_nop
   5988   xorg_cv_cc_flag_unused_command_line_argument=no
   5989 fi
   5990 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5991 fi
   5992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5993 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5994 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5995 	CFLAGS="$xorg_testset_save_CFLAGS"
   5996 fi
   5997 
   5998 found="no"
   5999 
   6000 	if test $found = "no" ; then
   6001 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6002 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6003 		fi
   6004 
   6005 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6006 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6007 		fi
   6008 
   6009 		CFLAGS="$CFLAGS -Wold-style-definition"
   6010 
   6011 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6012 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6013 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6014 		if eval test \${$cacheid+y}
   6015 then :
   6016   printf %s "(cached) " >&6
   6017 else $as_nop
   6018   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6019 /* end confdefs.h.  */
   6020 int i;
   6021 int
   6022 main (void)
   6023 {
   6024 
   6025   ;
   6026   return 0;
   6027 }
   6028 _ACEOF
   6029 if ac_fn_c_try_link "$LINENO"
   6030 then :
   6031   eval $cacheid=yes
   6032 else $as_nop
   6033   eval $cacheid=no
   6034 fi
   6035 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6036     conftest$ac_exeext conftest.$ac_ext
   6037 fi
   6038 
   6039 
   6040 		CFLAGS="$xorg_testset_save_CFLAGS"
   6041 
   6042 		eval supported=\$$cacheid
   6043 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6044 printf "%s\n" "$supported" >&6; }
   6045 		if test "$supported" = "yes" ; then
   6046 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6047 			found="yes"
   6048 		fi
   6049 	fi
   6050 
   6051 	if test $found = "no" ; then
   6052 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6053 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6054 		fi
   6055 
   6056 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6057 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6058 		fi
   6059 
   6060 		CFLAGS="$CFLAGS -fd"
   6061 
   6062 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6063 printf %s "checking if $CC supports -fd... " >&6; }
   6064 		cacheid=xorg_cv_cc_flag__fd
   6065 		if eval test \${$cacheid+y}
   6066 then :
   6067   printf %s "(cached) " >&6
   6068 else $as_nop
   6069   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6070 /* end confdefs.h.  */
   6071 int i;
   6072 int
   6073 main (void)
   6074 {
   6075 
   6076   ;
   6077   return 0;
   6078 }
   6079 _ACEOF
   6080 if ac_fn_c_try_link "$LINENO"
   6081 then :
   6082   eval $cacheid=yes
   6083 else $as_nop
   6084   eval $cacheid=no
   6085 fi
   6086 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6087     conftest$ac_exeext conftest.$ac_ext
   6088 fi
   6089 
   6090 
   6091 		CFLAGS="$xorg_testset_save_CFLAGS"
   6092 
   6093 		eval supported=\$$cacheid
   6094 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6095 printf "%s\n" "$supported" >&6; }
   6096 		if test "$supported" = "yes" ; then
   6097 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6098 			found="yes"
   6099 		fi
   6100 	fi
   6101 
   6102 
   6103 
   6104 
   6105 
   6106 
   6107 
   6108 
   6109 
   6110 
   6111 
   6112 
   6113 
   6114 
   6115 
   6116 xorg_testset_save_CFLAGS="$CFLAGS"
   6117 
   6118 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6119 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6120 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6121 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6122 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6123 then :
   6124   printf %s "(cached) " >&6
   6125 else $as_nop
   6126   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6127 /* end confdefs.h.  */
   6128 int i;
   6129 _ACEOF
   6130 if ac_fn_c_try_compile "$LINENO"
   6131 then :
   6132   xorg_cv_cc_flag_unknown_warning_option=yes
   6133 else $as_nop
   6134   xorg_cv_cc_flag_unknown_warning_option=no
   6135 fi
   6136 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6137 fi
   6138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6139 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6140 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6141 	CFLAGS="$xorg_testset_save_CFLAGS"
   6142 fi
   6143 
   6144 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6145 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6146 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6147 	fi
   6148 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6149 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6150 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6151 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6152 then :
   6153   printf %s "(cached) " >&6
   6154 else $as_nop
   6155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6156 /* end confdefs.h.  */
   6157 int i;
   6158 _ACEOF
   6159 if ac_fn_c_try_compile "$LINENO"
   6160 then :
   6161   xorg_cv_cc_flag_unused_command_line_argument=yes
   6162 else $as_nop
   6163   xorg_cv_cc_flag_unused_command_line_argument=no
   6164 fi
   6165 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6166 fi
   6167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6168 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6169 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6170 	CFLAGS="$xorg_testset_save_CFLAGS"
   6171 fi
   6172 
   6173 found="no"
   6174 
   6175 	if test $found = "no" ; then
   6176 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6177 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6178 		fi
   6179 
   6180 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6181 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6182 		fi
   6183 
   6184 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6185 
   6186 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6187 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6188 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6189 		if eval test \${$cacheid+y}
   6190 then :
   6191   printf %s "(cached) " >&6
   6192 else $as_nop
   6193   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6194 /* end confdefs.h.  */
   6195 int i;
   6196 int
   6197 main (void)
   6198 {
   6199 
   6200   ;
   6201   return 0;
   6202 }
   6203 _ACEOF
   6204 if ac_fn_c_try_link "$LINENO"
   6205 then :
   6206   eval $cacheid=yes
   6207 else $as_nop
   6208   eval $cacheid=no
   6209 fi
   6210 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6211     conftest$ac_exeext conftest.$ac_ext
   6212 fi
   6213 
   6214 
   6215 		CFLAGS="$xorg_testset_save_CFLAGS"
   6216 
   6217 		eval supported=\$$cacheid
   6218 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6219 printf "%s\n" "$supported" >&6; }
   6220 		if test "$supported" = "yes" ; then
   6221 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6222 			found="yes"
   6223 		fi
   6224 	fi
   6225 
   6226 
   6227 
   6228 
   6229 
   6230 # This chunk adds additional warnings that could catch undesired effects.
   6231 
   6232 
   6233 
   6234 
   6235 
   6236 
   6237 
   6238 
   6239 
   6240 
   6241 
   6242 
   6243 
   6244 xorg_testset_save_CFLAGS="$CFLAGS"
   6245 
   6246 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6247 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6248 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6249 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6250 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6251 then :
   6252   printf %s "(cached) " >&6
   6253 else $as_nop
   6254   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6255 /* end confdefs.h.  */
   6256 int i;
   6257 _ACEOF
   6258 if ac_fn_c_try_compile "$LINENO"
   6259 then :
   6260   xorg_cv_cc_flag_unknown_warning_option=yes
   6261 else $as_nop
   6262   xorg_cv_cc_flag_unknown_warning_option=no
   6263 fi
   6264 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6265 fi
   6266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6267 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6268 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6269 	CFLAGS="$xorg_testset_save_CFLAGS"
   6270 fi
   6271 
   6272 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6273 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6274 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6275 	fi
   6276 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6277 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6278 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6279 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6280 then :
   6281   printf %s "(cached) " >&6
   6282 else $as_nop
   6283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6284 /* end confdefs.h.  */
   6285 int i;
   6286 _ACEOF
   6287 if ac_fn_c_try_compile "$LINENO"
   6288 then :
   6289   xorg_cv_cc_flag_unused_command_line_argument=yes
   6290 else $as_nop
   6291   xorg_cv_cc_flag_unused_command_line_argument=no
   6292 fi
   6293 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6294 fi
   6295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6296 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6297 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6298 	CFLAGS="$xorg_testset_save_CFLAGS"
   6299 fi
   6300 
   6301 found="no"
   6302 
   6303 	if test $found = "no" ; then
   6304 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6305 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6306 		fi
   6307 
   6308 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6309 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6310 		fi
   6311 
   6312 		CFLAGS="$CFLAGS -Wunused"
   6313 
   6314 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6315 printf %s "checking if $CC supports -Wunused... " >&6; }
   6316 		cacheid=xorg_cv_cc_flag__Wunused
   6317 		if eval test \${$cacheid+y}
   6318 then :
   6319   printf %s "(cached) " >&6
   6320 else $as_nop
   6321   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6322 /* end confdefs.h.  */
   6323 int i;
   6324 int
   6325 main (void)
   6326 {
   6327 
   6328   ;
   6329   return 0;
   6330 }
   6331 _ACEOF
   6332 if ac_fn_c_try_link "$LINENO"
   6333 then :
   6334   eval $cacheid=yes
   6335 else $as_nop
   6336   eval $cacheid=no
   6337 fi
   6338 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6339     conftest$ac_exeext conftest.$ac_ext
   6340 fi
   6341 
   6342 
   6343 		CFLAGS="$xorg_testset_save_CFLAGS"
   6344 
   6345 		eval supported=\$$cacheid
   6346 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6347 printf "%s\n" "$supported" >&6; }
   6348 		if test "$supported" = "yes" ; then
   6349 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6350 			found="yes"
   6351 		fi
   6352 	fi
   6353 
   6354 
   6355 
   6356 
   6357 
   6358 
   6359 
   6360 
   6361 
   6362 
   6363 
   6364 
   6365 
   6366 
   6367 
   6368 xorg_testset_save_CFLAGS="$CFLAGS"
   6369 
   6370 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6371 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6372 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6373 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6374 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6375 then :
   6376   printf %s "(cached) " >&6
   6377 else $as_nop
   6378   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6379 /* end confdefs.h.  */
   6380 int i;
   6381 _ACEOF
   6382 if ac_fn_c_try_compile "$LINENO"
   6383 then :
   6384   xorg_cv_cc_flag_unknown_warning_option=yes
   6385 else $as_nop
   6386   xorg_cv_cc_flag_unknown_warning_option=no
   6387 fi
   6388 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6389 fi
   6390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6391 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6392 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6393 	CFLAGS="$xorg_testset_save_CFLAGS"
   6394 fi
   6395 
   6396 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6397 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6398 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6399 	fi
   6400 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6401 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6402 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6403 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6404 then :
   6405   printf %s "(cached) " >&6
   6406 else $as_nop
   6407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6408 /* end confdefs.h.  */
   6409 int i;
   6410 _ACEOF
   6411 if ac_fn_c_try_compile "$LINENO"
   6412 then :
   6413   xorg_cv_cc_flag_unused_command_line_argument=yes
   6414 else $as_nop
   6415   xorg_cv_cc_flag_unused_command_line_argument=no
   6416 fi
   6417 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6418 fi
   6419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6420 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6421 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6422 	CFLAGS="$xorg_testset_save_CFLAGS"
   6423 fi
   6424 
   6425 found="no"
   6426 
   6427 	if test $found = "no" ; then
   6428 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6429 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6430 		fi
   6431 
   6432 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6433 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6434 		fi
   6435 
   6436 		CFLAGS="$CFLAGS -Wuninitialized"
   6437 
   6438 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6439 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6440 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6441 		if eval test \${$cacheid+y}
   6442 then :
   6443   printf %s "(cached) " >&6
   6444 else $as_nop
   6445   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6446 /* end confdefs.h.  */
   6447 int i;
   6448 int
   6449 main (void)
   6450 {
   6451 
   6452   ;
   6453   return 0;
   6454 }
   6455 _ACEOF
   6456 if ac_fn_c_try_link "$LINENO"
   6457 then :
   6458   eval $cacheid=yes
   6459 else $as_nop
   6460   eval $cacheid=no
   6461 fi
   6462 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6463     conftest$ac_exeext conftest.$ac_ext
   6464 fi
   6465 
   6466 
   6467 		CFLAGS="$xorg_testset_save_CFLAGS"
   6468 
   6469 		eval supported=\$$cacheid
   6470 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6471 printf "%s\n" "$supported" >&6; }
   6472 		if test "$supported" = "yes" ; then
   6473 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6474 			found="yes"
   6475 		fi
   6476 	fi
   6477 
   6478 
   6479 
   6480 
   6481 
   6482 
   6483 
   6484 
   6485 
   6486 
   6487 
   6488 
   6489 
   6490 
   6491 
   6492 xorg_testset_save_CFLAGS="$CFLAGS"
   6493 
   6494 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6495 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6496 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6497 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6498 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6499 then :
   6500   printf %s "(cached) " >&6
   6501 else $as_nop
   6502   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6503 /* end confdefs.h.  */
   6504 int i;
   6505 _ACEOF
   6506 if ac_fn_c_try_compile "$LINENO"
   6507 then :
   6508   xorg_cv_cc_flag_unknown_warning_option=yes
   6509 else $as_nop
   6510   xorg_cv_cc_flag_unknown_warning_option=no
   6511 fi
   6512 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6513 fi
   6514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6515 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6516 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6517 	CFLAGS="$xorg_testset_save_CFLAGS"
   6518 fi
   6519 
   6520 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6521 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6522 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6523 	fi
   6524 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6525 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6526 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6527 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6528 then :
   6529   printf %s "(cached) " >&6
   6530 else $as_nop
   6531   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6532 /* end confdefs.h.  */
   6533 int i;
   6534 _ACEOF
   6535 if ac_fn_c_try_compile "$LINENO"
   6536 then :
   6537   xorg_cv_cc_flag_unused_command_line_argument=yes
   6538 else $as_nop
   6539   xorg_cv_cc_flag_unused_command_line_argument=no
   6540 fi
   6541 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6542 fi
   6543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6544 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6545 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6546 	CFLAGS="$xorg_testset_save_CFLAGS"
   6547 fi
   6548 
   6549 found="no"
   6550 
   6551 	if test $found = "no" ; then
   6552 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6553 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6554 		fi
   6555 
   6556 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6557 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6558 		fi
   6559 
   6560 		CFLAGS="$CFLAGS -Wshadow"
   6561 
   6562 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6563 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6564 		cacheid=xorg_cv_cc_flag__Wshadow
   6565 		if eval test \${$cacheid+y}
   6566 then :
   6567   printf %s "(cached) " >&6
   6568 else $as_nop
   6569   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6570 /* end confdefs.h.  */
   6571 int i;
   6572 int
   6573 main (void)
   6574 {
   6575 
   6576   ;
   6577   return 0;
   6578 }
   6579 _ACEOF
   6580 if ac_fn_c_try_link "$LINENO"
   6581 then :
   6582   eval $cacheid=yes
   6583 else $as_nop
   6584   eval $cacheid=no
   6585 fi
   6586 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6587     conftest$ac_exeext conftest.$ac_ext
   6588 fi
   6589 
   6590 
   6591 		CFLAGS="$xorg_testset_save_CFLAGS"
   6592 
   6593 		eval supported=\$$cacheid
   6594 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6595 printf "%s\n" "$supported" >&6; }
   6596 		if test "$supported" = "yes" ; then
   6597 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6598 			found="yes"
   6599 		fi
   6600 	fi
   6601 
   6602 
   6603 
   6604 
   6605 
   6606 
   6607 
   6608 
   6609 
   6610 
   6611 
   6612 
   6613 
   6614 
   6615 
   6616 xorg_testset_save_CFLAGS="$CFLAGS"
   6617 
   6618 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6619 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6620 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6621 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6622 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6623 then :
   6624   printf %s "(cached) " >&6
   6625 else $as_nop
   6626   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6627 /* end confdefs.h.  */
   6628 int i;
   6629 _ACEOF
   6630 if ac_fn_c_try_compile "$LINENO"
   6631 then :
   6632   xorg_cv_cc_flag_unknown_warning_option=yes
   6633 else $as_nop
   6634   xorg_cv_cc_flag_unknown_warning_option=no
   6635 fi
   6636 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6637 fi
   6638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6639 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6640 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6641 	CFLAGS="$xorg_testset_save_CFLAGS"
   6642 fi
   6643 
   6644 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6645 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6646 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6647 	fi
   6648 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6649 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6650 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6651 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6652 then :
   6653   printf %s "(cached) " >&6
   6654 else $as_nop
   6655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6656 /* end confdefs.h.  */
   6657 int i;
   6658 _ACEOF
   6659 if ac_fn_c_try_compile "$LINENO"
   6660 then :
   6661   xorg_cv_cc_flag_unused_command_line_argument=yes
   6662 else $as_nop
   6663   xorg_cv_cc_flag_unused_command_line_argument=no
   6664 fi
   6665 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6666 fi
   6667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6668 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6669 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6670 	CFLAGS="$xorg_testset_save_CFLAGS"
   6671 fi
   6672 
   6673 found="no"
   6674 
   6675 	if test $found = "no" ; then
   6676 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6677 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6678 		fi
   6679 
   6680 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6681 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6682 		fi
   6683 
   6684 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6685 
   6686 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6687 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6688 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6689 		if eval test \${$cacheid+y}
   6690 then :
   6691   printf %s "(cached) " >&6
   6692 else $as_nop
   6693   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6694 /* end confdefs.h.  */
   6695 int i;
   6696 int
   6697 main (void)
   6698 {
   6699 
   6700   ;
   6701   return 0;
   6702 }
   6703 _ACEOF
   6704 if ac_fn_c_try_link "$LINENO"
   6705 then :
   6706   eval $cacheid=yes
   6707 else $as_nop
   6708   eval $cacheid=no
   6709 fi
   6710 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6711     conftest$ac_exeext conftest.$ac_ext
   6712 fi
   6713 
   6714 
   6715 		CFLAGS="$xorg_testset_save_CFLAGS"
   6716 
   6717 		eval supported=\$$cacheid
   6718 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6719 printf "%s\n" "$supported" >&6; }
   6720 		if test "$supported" = "yes" ; then
   6721 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6722 			found="yes"
   6723 		fi
   6724 	fi
   6725 
   6726 
   6727 
   6728 
   6729 
   6730 
   6731 
   6732 
   6733 
   6734 
   6735 
   6736 
   6737 
   6738 
   6739 
   6740 xorg_testset_save_CFLAGS="$CFLAGS"
   6741 
   6742 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6743 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6744 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6745 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6746 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6747 then :
   6748   printf %s "(cached) " >&6
   6749 else $as_nop
   6750   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6751 /* end confdefs.h.  */
   6752 int i;
   6753 _ACEOF
   6754 if ac_fn_c_try_compile "$LINENO"
   6755 then :
   6756   xorg_cv_cc_flag_unknown_warning_option=yes
   6757 else $as_nop
   6758   xorg_cv_cc_flag_unknown_warning_option=no
   6759 fi
   6760 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6761 fi
   6762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6763 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6764 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6765 	CFLAGS="$xorg_testset_save_CFLAGS"
   6766 fi
   6767 
   6768 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6769 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6770 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6771 	fi
   6772 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6773 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6774 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6775 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6776 then :
   6777   printf %s "(cached) " >&6
   6778 else $as_nop
   6779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6780 /* end confdefs.h.  */
   6781 int i;
   6782 _ACEOF
   6783 if ac_fn_c_try_compile "$LINENO"
   6784 then :
   6785   xorg_cv_cc_flag_unused_command_line_argument=yes
   6786 else $as_nop
   6787   xorg_cv_cc_flag_unused_command_line_argument=no
   6788 fi
   6789 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6790 fi
   6791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6792 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6793 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6794 	CFLAGS="$xorg_testset_save_CFLAGS"
   6795 fi
   6796 
   6797 found="no"
   6798 
   6799 	if test $found = "no" ; then
   6800 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6801 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6802 		fi
   6803 
   6804 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6805 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6806 		fi
   6807 
   6808 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6809 
   6810 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6811 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6812 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6813 		if eval test \${$cacheid+y}
   6814 then :
   6815   printf %s "(cached) " >&6
   6816 else $as_nop
   6817   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6818 /* end confdefs.h.  */
   6819 int i;
   6820 int
   6821 main (void)
   6822 {
   6823 
   6824   ;
   6825   return 0;
   6826 }
   6827 _ACEOF
   6828 if ac_fn_c_try_link "$LINENO"
   6829 then :
   6830   eval $cacheid=yes
   6831 else $as_nop
   6832   eval $cacheid=no
   6833 fi
   6834 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6835     conftest$ac_exeext conftest.$ac_ext
   6836 fi
   6837 
   6838 
   6839 		CFLAGS="$xorg_testset_save_CFLAGS"
   6840 
   6841 		eval supported=\$$cacheid
   6842 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6843 printf "%s\n" "$supported" >&6; }
   6844 		if test "$supported" = "yes" ; then
   6845 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6846 			found="yes"
   6847 		fi
   6848 	fi
   6849 
   6850 
   6851 
   6852 
   6853 
   6854 
   6855 
   6856 
   6857 
   6858 
   6859 
   6860 
   6861 
   6862 
   6863 
   6864 xorg_testset_save_CFLAGS="$CFLAGS"
   6865 
   6866 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6867 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6868 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6869 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6870 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6871 then :
   6872   printf %s "(cached) " >&6
   6873 else $as_nop
   6874   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6875 /* end confdefs.h.  */
   6876 int i;
   6877 _ACEOF
   6878 if ac_fn_c_try_compile "$LINENO"
   6879 then :
   6880   xorg_cv_cc_flag_unknown_warning_option=yes
   6881 else $as_nop
   6882   xorg_cv_cc_flag_unknown_warning_option=no
   6883 fi
   6884 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6885 fi
   6886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6887 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6888 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6889 	CFLAGS="$xorg_testset_save_CFLAGS"
   6890 fi
   6891 
   6892 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6893 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6894 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6895 	fi
   6896 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6897 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6898 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6899 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6900 then :
   6901   printf %s "(cached) " >&6
   6902 else $as_nop
   6903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6904 /* end confdefs.h.  */
   6905 int i;
   6906 _ACEOF
   6907 if ac_fn_c_try_compile "$LINENO"
   6908 then :
   6909   xorg_cv_cc_flag_unused_command_line_argument=yes
   6910 else $as_nop
   6911   xorg_cv_cc_flag_unused_command_line_argument=no
   6912 fi
   6913 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6914 fi
   6915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6916 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6917 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6918 	CFLAGS="$xorg_testset_save_CFLAGS"
   6919 fi
   6920 
   6921 found="no"
   6922 
   6923 	if test $found = "no" ; then
   6924 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6925 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6926 		fi
   6927 
   6928 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6929 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6930 		fi
   6931 
   6932 		CFLAGS="$CFLAGS -Wredundant-decls"
   6933 
   6934 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6935 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   6936 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6937 		if eval test \${$cacheid+y}
   6938 then :
   6939   printf %s "(cached) " >&6
   6940 else $as_nop
   6941   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6942 /* end confdefs.h.  */
   6943 int i;
   6944 int
   6945 main (void)
   6946 {
   6947 
   6948   ;
   6949   return 0;
   6950 }
   6951 _ACEOF
   6952 if ac_fn_c_try_link "$LINENO"
   6953 then :
   6954   eval $cacheid=yes
   6955 else $as_nop
   6956   eval $cacheid=no
   6957 fi
   6958 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6959     conftest$ac_exeext conftest.$ac_ext
   6960 fi
   6961 
   6962 
   6963 		CFLAGS="$xorg_testset_save_CFLAGS"
   6964 
   6965 		eval supported=\$$cacheid
   6966 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6967 printf "%s\n" "$supported" >&6; }
   6968 		if test "$supported" = "yes" ; then
   6969 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6970 			found="yes"
   6971 		fi
   6972 	fi
   6973 
   6974 
   6975 
   6976 
   6977 
   6978 
   6979 
   6980 
   6981 
   6982 
   6983 
   6984 
   6985 
   6986 
   6987 
   6988 xorg_testset_save_CFLAGS="$CFLAGS"
   6989 
   6990 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6991 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6992 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6993 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6994 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6995 then :
   6996   printf %s "(cached) " >&6
   6997 else $as_nop
   6998   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6999 /* end confdefs.h.  */
   7000 int i;
   7001 _ACEOF
   7002 if ac_fn_c_try_compile "$LINENO"
   7003 then :
   7004   xorg_cv_cc_flag_unknown_warning_option=yes
   7005 else $as_nop
   7006   xorg_cv_cc_flag_unknown_warning_option=no
   7007 fi
   7008 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7009 fi
   7010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7011 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7012 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7013 	CFLAGS="$xorg_testset_save_CFLAGS"
   7014 fi
   7015 
   7016 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7017 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7018 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7019 	fi
   7020 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7021 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7022 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7023 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7024 then :
   7025   printf %s "(cached) " >&6
   7026 else $as_nop
   7027   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7028 /* end confdefs.h.  */
   7029 int i;
   7030 _ACEOF
   7031 if ac_fn_c_try_compile "$LINENO"
   7032 then :
   7033   xorg_cv_cc_flag_unused_command_line_argument=yes
   7034 else $as_nop
   7035   xorg_cv_cc_flag_unused_command_line_argument=no
   7036 fi
   7037 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7038 fi
   7039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7040 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7041 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7042 	CFLAGS="$xorg_testset_save_CFLAGS"
   7043 fi
   7044 
   7045 found="no"
   7046 
   7047 	if test $found = "no" ; then
   7048 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7049 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7050 		fi
   7051 
   7052 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7053 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7054 		fi
   7055 
   7056 		CFLAGS="$CFLAGS -Wlogical-op"
   7057 
   7058 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7059 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7060 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7061 		if eval test \${$cacheid+y}
   7062 then :
   7063   printf %s "(cached) " >&6
   7064 else $as_nop
   7065   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7066 /* end confdefs.h.  */
   7067 int i;
   7068 int
   7069 main (void)
   7070 {
   7071 
   7072   ;
   7073   return 0;
   7074 }
   7075 _ACEOF
   7076 if ac_fn_c_try_link "$LINENO"
   7077 then :
   7078   eval $cacheid=yes
   7079 else $as_nop
   7080   eval $cacheid=no
   7081 fi
   7082 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7083     conftest$ac_exeext conftest.$ac_ext
   7084 fi
   7085 
   7086 
   7087 		CFLAGS="$xorg_testset_save_CFLAGS"
   7088 
   7089 		eval supported=\$$cacheid
   7090 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7091 printf "%s\n" "$supported" >&6; }
   7092 		if test "$supported" = "yes" ; then
   7093 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7094 			found="yes"
   7095 		fi
   7096 	fi
   7097 
   7098 
   7099 
   7100 # These are currently disabled because they are noisy.  They will be enabled
   7101 # in the future once the codebase is sufficiently modernized to silence
   7102 # them.  For now, I don't want them to drown out the other warnings.
   7103 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7104 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7105 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7106 
   7107 # Turn some warnings into errors, so we don't accidently get successful builds
   7108 # when there are problems that should be fixed.
   7109 
   7110 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7111 
   7112 
   7113 
   7114 
   7115 
   7116 
   7117 
   7118 
   7119 
   7120 
   7121 
   7122 
   7123 
   7124 xorg_testset_save_CFLAGS="$CFLAGS"
   7125 
   7126 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7127 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7128 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7129 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7130 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7131 then :
   7132   printf %s "(cached) " >&6
   7133 else $as_nop
   7134   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7135 /* end confdefs.h.  */
   7136 int i;
   7137 _ACEOF
   7138 if ac_fn_c_try_compile "$LINENO"
   7139 then :
   7140   xorg_cv_cc_flag_unknown_warning_option=yes
   7141 else $as_nop
   7142   xorg_cv_cc_flag_unknown_warning_option=no
   7143 fi
   7144 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7145 fi
   7146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7147 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7148 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7149 	CFLAGS="$xorg_testset_save_CFLAGS"
   7150 fi
   7151 
   7152 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7153 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7154 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7155 	fi
   7156 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7157 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7158 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7159 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7160 then :
   7161   printf %s "(cached) " >&6
   7162 else $as_nop
   7163   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7164 /* end confdefs.h.  */
   7165 int i;
   7166 _ACEOF
   7167 if ac_fn_c_try_compile "$LINENO"
   7168 then :
   7169   xorg_cv_cc_flag_unused_command_line_argument=yes
   7170 else $as_nop
   7171   xorg_cv_cc_flag_unused_command_line_argument=no
   7172 fi
   7173 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7174 fi
   7175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7176 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7177 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7178 	CFLAGS="$xorg_testset_save_CFLAGS"
   7179 fi
   7180 
   7181 found="no"
   7182 
   7183 	if test $found = "no" ; then
   7184 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7185 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7186 		fi
   7187 
   7188 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7189 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7190 		fi
   7191 
   7192 		CFLAGS="$CFLAGS -Werror=implicit"
   7193 
   7194 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7195 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7196 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7197 		if eval test \${$cacheid+y}
   7198 then :
   7199   printf %s "(cached) " >&6
   7200 else $as_nop
   7201   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7202 /* end confdefs.h.  */
   7203 int i;
   7204 int
   7205 main (void)
   7206 {
   7207 
   7208   ;
   7209   return 0;
   7210 }
   7211 _ACEOF
   7212 if ac_fn_c_try_link "$LINENO"
   7213 then :
   7214   eval $cacheid=yes
   7215 else $as_nop
   7216   eval $cacheid=no
   7217 fi
   7218 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7219     conftest$ac_exeext conftest.$ac_ext
   7220 fi
   7221 
   7222 
   7223 		CFLAGS="$xorg_testset_save_CFLAGS"
   7224 
   7225 		eval supported=\$$cacheid
   7226 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7227 printf "%s\n" "$supported" >&6; }
   7228 		if test "$supported" = "yes" ; then
   7229 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7230 			found="yes"
   7231 		fi
   7232 	fi
   7233 
   7234 	if test $found = "no" ; then
   7235 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7236 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7237 		fi
   7238 
   7239 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7240 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7241 		fi
   7242 
   7243 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7244 
   7245 		{ 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
   7246 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7247 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7248 		if eval test \${$cacheid+y}
   7249 then :
   7250   printf %s "(cached) " >&6
   7251 else $as_nop
   7252   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7253 /* end confdefs.h.  */
   7254 int i;
   7255 int
   7256 main (void)
   7257 {
   7258 
   7259   ;
   7260   return 0;
   7261 }
   7262 _ACEOF
   7263 if ac_fn_c_try_link "$LINENO"
   7264 then :
   7265   eval $cacheid=yes
   7266 else $as_nop
   7267   eval $cacheid=no
   7268 fi
   7269 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7270     conftest$ac_exeext conftest.$ac_ext
   7271 fi
   7272 
   7273 
   7274 		CFLAGS="$xorg_testset_save_CFLAGS"
   7275 
   7276 		eval supported=\$$cacheid
   7277 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7278 printf "%s\n" "$supported" >&6; }
   7279 		if test "$supported" = "yes" ; then
   7280 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7281 			found="yes"
   7282 		fi
   7283 	fi
   7284 
   7285 
   7286 
   7287 
   7288 
   7289 
   7290 
   7291 
   7292 
   7293 
   7294 
   7295 
   7296 
   7297 
   7298 
   7299 xorg_testset_save_CFLAGS="$CFLAGS"
   7300 
   7301 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7302 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7303 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7304 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7305 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7306 then :
   7307   printf %s "(cached) " >&6
   7308 else $as_nop
   7309   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7310 /* end confdefs.h.  */
   7311 int i;
   7312 _ACEOF
   7313 if ac_fn_c_try_compile "$LINENO"
   7314 then :
   7315   xorg_cv_cc_flag_unknown_warning_option=yes
   7316 else $as_nop
   7317   xorg_cv_cc_flag_unknown_warning_option=no
   7318 fi
   7319 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7320 fi
   7321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7322 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7323 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7324 	CFLAGS="$xorg_testset_save_CFLAGS"
   7325 fi
   7326 
   7327 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7328 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7329 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7330 	fi
   7331 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7332 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7333 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7334 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7335 then :
   7336   printf %s "(cached) " >&6
   7337 else $as_nop
   7338   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7339 /* end confdefs.h.  */
   7340 int i;
   7341 _ACEOF
   7342 if ac_fn_c_try_compile "$LINENO"
   7343 then :
   7344   xorg_cv_cc_flag_unused_command_line_argument=yes
   7345 else $as_nop
   7346   xorg_cv_cc_flag_unused_command_line_argument=no
   7347 fi
   7348 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7349 fi
   7350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7351 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7352 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7353 	CFLAGS="$xorg_testset_save_CFLAGS"
   7354 fi
   7355 
   7356 found="no"
   7357 
   7358 	if test $found = "no" ; then
   7359 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7360 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7361 		fi
   7362 
   7363 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7364 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7365 		fi
   7366 
   7367 		CFLAGS="$CFLAGS -Werror=nonnull"
   7368 
   7369 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7370 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7371 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7372 		if eval test \${$cacheid+y}
   7373 then :
   7374   printf %s "(cached) " >&6
   7375 else $as_nop
   7376   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7377 /* end confdefs.h.  */
   7378 int i;
   7379 int
   7380 main (void)
   7381 {
   7382 
   7383   ;
   7384   return 0;
   7385 }
   7386 _ACEOF
   7387 if ac_fn_c_try_link "$LINENO"
   7388 then :
   7389   eval $cacheid=yes
   7390 else $as_nop
   7391   eval $cacheid=no
   7392 fi
   7393 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7394     conftest$ac_exeext conftest.$ac_ext
   7395 fi
   7396 
   7397 
   7398 		CFLAGS="$xorg_testset_save_CFLAGS"
   7399 
   7400 		eval supported=\$$cacheid
   7401 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7402 printf "%s\n" "$supported" >&6; }
   7403 		if test "$supported" = "yes" ; then
   7404 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7405 			found="yes"
   7406 		fi
   7407 	fi
   7408 
   7409 
   7410 
   7411 
   7412 
   7413 
   7414 
   7415 
   7416 
   7417 
   7418 
   7419 
   7420 
   7421 
   7422 
   7423 xorg_testset_save_CFLAGS="$CFLAGS"
   7424 
   7425 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7426 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7427 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7428 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7429 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7430 then :
   7431   printf %s "(cached) " >&6
   7432 else $as_nop
   7433   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7434 /* end confdefs.h.  */
   7435 int i;
   7436 _ACEOF
   7437 if ac_fn_c_try_compile "$LINENO"
   7438 then :
   7439   xorg_cv_cc_flag_unknown_warning_option=yes
   7440 else $as_nop
   7441   xorg_cv_cc_flag_unknown_warning_option=no
   7442 fi
   7443 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7444 fi
   7445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7446 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7447 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7448 	CFLAGS="$xorg_testset_save_CFLAGS"
   7449 fi
   7450 
   7451 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7452 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7453 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7454 	fi
   7455 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7456 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7457 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7458 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7459 then :
   7460   printf %s "(cached) " >&6
   7461 else $as_nop
   7462   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7463 /* end confdefs.h.  */
   7464 int i;
   7465 _ACEOF
   7466 if ac_fn_c_try_compile "$LINENO"
   7467 then :
   7468   xorg_cv_cc_flag_unused_command_line_argument=yes
   7469 else $as_nop
   7470   xorg_cv_cc_flag_unused_command_line_argument=no
   7471 fi
   7472 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7473 fi
   7474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7475 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7476 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7477 	CFLAGS="$xorg_testset_save_CFLAGS"
   7478 fi
   7479 
   7480 found="no"
   7481 
   7482 	if test $found = "no" ; then
   7483 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7484 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7485 		fi
   7486 
   7487 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7488 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7489 		fi
   7490 
   7491 		CFLAGS="$CFLAGS -Werror=init-self"
   7492 
   7493 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7494 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7495 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7496 		if eval test \${$cacheid+y}
   7497 then :
   7498   printf %s "(cached) " >&6
   7499 else $as_nop
   7500   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7501 /* end confdefs.h.  */
   7502 int i;
   7503 int
   7504 main (void)
   7505 {
   7506 
   7507   ;
   7508   return 0;
   7509 }
   7510 _ACEOF
   7511 if ac_fn_c_try_link "$LINENO"
   7512 then :
   7513   eval $cacheid=yes
   7514 else $as_nop
   7515   eval $cacheid=no
   7516 fi
   7517 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7518     conftest$ac_exeext conftest.$ac_ext
   7519 fi
   7520 
   7521 
   7522 		CFLAGS="$xorg_testset_save_CFLAGS"
   7523 
   7524 		eval supported=\$$cacheid
   7525 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7526 printf "%s\n" "$supported" >&6; }
   7527 		if test "$supported" = "yes" ; then
   7528 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7529 			found="yes"
   7530 		fi
   7531 	fi
   7532 
   7533 
   7534 
   7535 
   7536 
   7537 
   7538 
   7539 
   7540 
   7541 
   7542 
   7543 
   7544 
   7545 
   7546 
   7547 xorg_testset_save_CFLAGS="$CFLAGS"
   7548 
   7549 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7550 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7551 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7552 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7553 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7554 then :
   7555   printf %s "(cached) " >&6
   7556 else $as_nop
   7557   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7558 /* end confdefs.h.  */
   7559 int i;
   7560 _ACEOF
   7561 if ac_fn_c_try_compile "$LINENO"
   7562 then :
   7563   xorg_cv_cc_flag_unknown_warning_option=yes
   7564 else $as_nop
   7565   xorg_cv_cc_flag_unknown_warning_option=no
   7566 fi
   7567 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7568 fi
   7569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7570 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7571 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7572 	CFLAGS="$xorg_testset_save_CFLAGS"
   7573 fi
   7574 
   7575 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7576 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7577 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7578 	fi
   7579 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7580 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7581 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7582 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7583 then :
   7584   printf %s "(cached) " >&6
   7585 else $as_nop
   7586   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7587 /* end confdefs.h.  */
   7588 int i;
   7589 _ACEOF
   7590 if ac_fn_c_try_compile "$LINENO"
   7591 then :
   7592   xorg_cv_cc_flag_unused_command_line_argument=yes
   7593 else $as_nop
   7594   xorg_cv_cc_flag_unused_command_line_argument=no
   7595 fi
   7596 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7597 fi
   7598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7599 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7600 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7601 	CFLAGS="$xorg_testset_save_CFLAGS"
   7602 fi
   7603 
   7604 found="no"
   7605 
   7606 	if test $found = "no" ; then
   7607 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7608 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7609 		fi
   7610 
   7611 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7612 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7613 		fi
   7614 
   7615 		CFLAGS="$CFLAGS -Werror=main"
   7616 
   7617 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7618 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7619 		cacheid=xorg_cv_cc_flag__Werror_main
   7620 		if eval test \${$cacheid+y}
   7621 then :
   7622   printf %s "(cached) " >&6
   7623 else $as_nop
   7624   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7625 /* end confdefs.h.  */
   7626 int i;
   7627 int
   7628 main (void)
   7629 {
   7630 
   7631   ;
   7632   return 0;
   7633 }
   7634 _ACEOF
   7635 if ac_fn_c_try_link "$LINENO"
   7636 then :
   7637   eval $cacheid=yes
   7638 else $as_nop
   7639   eval $cacheid=no
   7640 fi
   7641 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7642     conftest$ac_exeext conftest.$ac_ext
   7643 fi
   7644 
   7645 
   7646 		CFLAGS="$xorg_testset_save_CFLAGS"
   7647 
   7648 		eval supported=\$$cacheid
   7649 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7650 printf "%s\n" "$supported" >&6; }
   7651 		if test "$supported" = "yes" ; then
   7652 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7653 			found="yes"
   7654 		fi
   7655 	fi
   7656 
   7657 
   7658 
   7659 
   7660 
   7661 
   7662 
   7663 
   7664 
   7665 
   7666 
   7667 
   7668 
   7669 
   7670 
   7671 xorg_testset_save_CFLAGS="$CFLAGS"
   7672 
   7673 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7674 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7675 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7676 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7677 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7678 then :
   7679   printf %s "(cached) " >&6
   7680 else $as_nop
   7681   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7682 /* end confdefs.h.  */
   7683 int i;
   7684 _ACEOF
   7685 if ac_fn_c_try_compile "$LINENO"
   7686 then :
   7687   xorg_cv_cc_flag_unknown_warning_option=yes
   7688 else $as_nop
   7689   xorg_cv_cc_flag_unknown_warning_option=no
   7690 fi
   7691 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7692 fi
   7693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7694 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7695 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7696 	CFLAGS="$xorg_testset_save_CFLAGS"
   7697 fi
   7698 
   7699 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7700 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7701 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7702 	fi
   7703 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7704 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7705 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7706 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7707 then :
   7708   printf %s "(cached) " >&6
   7709 else $as_nop
   7710   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7711 /* end confdefs.h.  */
   7712 int i;
   7713 _ACEOF
   7714 if ac_fn_c_try_compile "$LINENO"
   7715 then :
   7716   xorg_cv_cc_flag_unused_command_line_argument=yes
   7717 else $as_nop
   7718   xorg_cv_cc_flag_unused_command_line_argument=no
   7719 fi
   7720 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7721 fi
   7722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7723 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7724 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7725 	CFLAGS="$xorg_testset_save_CFLAGS"
   7726 fi
   7727 
   7728 found="no"
   7729 
   7730 	if test $found = "no" ; then
   7731 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7732 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7733 		fi
   7734 
   7735 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7736 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7737 		fi
   7738 
   7739 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7740 
   7741 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7742 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   7743 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7744 		if eval test \${$cacheid+y}
   7745 then :
   7746   printf %s "(cached) " >&6
   7747 else $as_nop
   7748   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7749 /* end confdefs.h.  */
   7750 int i;
   7751 int
   7752 main (void)
   7753 {
   7754 
   7755   ;
   7756   return 0;
   7757 }
   7758 _ACEOF
   7759 if ac_fn_c_try_link "$LINENO"
   7760 then :
   7761   eval $cacheid=yes
   7762 else $as_nop
   7763   eval $cacheid=no
   7764 fi
   7765 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7766     conftest$ac_exeext conftest.$ac_ext
   7767 fi
   7768 
   7769 
   7770 		CFLAGS="$xorg_testset_save_CFLAGS"
   7771 
   7772 		eval supported=\$$cacheid
   7773 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7774 printf "%s\n" "$supported" >&6; }
   7775 		if test "$supported" = "yes" ; then
   7776 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7777 			found="yes"
   7778 		fi
   7779 	fi
   7780 
   7781 
   7782 
   7783 
   7784 
   7785 
   7786 
   7787 
   7788 
   7789 
   7790 
   7791 
   7792 
   7793 
   7794 
   7795 xorg_testset_save_CFLAGS="$CFLAGS"
   7796 
   7797 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7798 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7799 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7800 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7801 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7802 then :
   7803   printf %s "(cached) " >&6
   7804 else $as_nop
   7805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7806 /* end confdefs.h.  */
   7807 int i;
   7808 _ACEOF
   7809 if ac_fn_c_try_compile "$LINENO"
   7810 then :
   7811   xorg_cv_cc_flag_unknown_warning_option=yes
   7812 else $as_nop
   7813   xorg_cv_cc_flag_unknown_warning_option=no
   7814 fi
   7815 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7816 fi
   7817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7818 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7819 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7820 	CFLAGS="$xorg_testset_save_CFLAGS"
   7821 fi
   7822 
   7823 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7824 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7825 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7826 	fi
   7827 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7828 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7829 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7830 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7831 then :
   7832   printf %s "(cached) " >&6
   7833 else $as_nop
   7834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7835 /* end confdefs.h.  */
   7836 int i;
   7837 _ACEOF
   7838 if ac_fn_c_try_compile "$LINENO"
   7839 then :
   7840   xorg_cv_cc_flag_unused_command_line_argument=yes
   7841 else $as_nop
   7842   xorg_cv_cc_flag_unused_command_line_argument=no
   7843 fi
   7844 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7845 fi
   7846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7847 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7848 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7849 	CFLAGS="$xorg_testset_save_CFLAGS"
   7850 fi
   7851 
   7852 found="no"
   7853 
   7854 	if test $found = "no" ; then
   7855 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7856 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7857 		fi
   7858 
   7859 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7860 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7861 		fi
   7862 
   7863 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7864 
   7865 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7866 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   7867 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7868 		if eval test \${$cacheid+y}
   7869 then :
   7870   printf %s "(cached) " >&6
   7871 else $as_nop
   7872   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7873 /* end confdefs.h.  */
   7874 int i;
   7875 int
   7876 main (void)
   7877 {
   7878 
   7879   ;
   7880   return 0;
   7881 }
   7882 _ACEOF
   7883 if ac_fn_c_try_link "$LINENO"
   7884 then :
   7885   eval $cacheid=yes
   7886 else $as_nop
   7887   eval $cacheid=no
   7888 fi
   7889 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7890     conftest$ac_exeext conftest.$ac_ext
   7891 fi
   7892 
   7893 
   7894 		CFLAGS="$xorg_testset_save_CFLAGS"
   7895 
   7896 		eval supported=\$$cacheid
   7897 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7898 printf "%s\n" "$supported" >&6; }
   7899 		if test "$supported" = "yes" ; then
   7900 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7901 			found="yes"
   7902 		fi
   7903 	fi
   7904 
   7905 
   7906 
   7907 
   7908 
   7909 
   7910 
   7911 
   7912 
   7913 
   7914 
   7915 
   7916 
   7917 
   7918 
   7919 xorg_testset_save_CFLAGS="$CFLAGS"
   7920 
   7921 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7922 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7923 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7924 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7925 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7926 then :
   7927   printf %s "(cached) " >&6
   7928 else $as_nop
   7929   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7930 /* end confdefs.h.  */
   7931 int i;
   7932 _ACEOF
   7933 if ac_fn_c_try_compile "$LINENO"
   7934 then :
   7935   xorg_cv_cc_flag_unknown_warning_option=yes
   7936 else $as_nop
   7937   xorg_cv_cc_flag_unknown_warning_option=no
   7938 fi
   7939 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7940 fi
   7941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7942 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7943 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7944 	CFLAGS="$xorg_testset_save_CFLAGS"
   7945 fi
   7946 
   7947 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7948 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7949 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7950 	fi
   7951 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7952 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7953 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7954 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7955 then :
   7956   printf %s "(cached) " >&6
   7957 else $as_nop
   7958   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7959 /* end confdefs.h.  */
   7960 int i;
   7961 _ACEOF
   7962 if ac_fn_c_try_compile "$LINENO"
   7963 then :
   7964   xorg_cv_cc_flag_unused_command_line_argument=yes
   7965 else $as_nop
   7966   xorg_cv_cc_flag_unused_command_line_argument=no
   7967 fi
   7968 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7969 fi
   7970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7971 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7972 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7973 	CFLAGS="$xorg_testset_save_CFLAGS"
   7974 fi
   7975 
   7976 found="no"
   7977 
   7978 	if test $found = "no" ; then
   7979 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7980 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7981 		fi
   7982 
   7983 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7984 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7985 		fi
   7986 
   7987 		CFLAGS="$CFLAGS -Werror=return-type"
   7988 
   7989 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7990 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   7991 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7992 		if eval test \${$cacheid+y}
   7993 then :
   7994   printf %s "(cached) " >&6
   7995 else $as_nop
   7996   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7997 /* end confdefs.h.  */
   7998 int i;
   7999 int
   8000 main (void)
   8001 {
   8002 
   8003   ;
   8004   return 0;
   8005 }
   8006 _ACEOF
   8007 if ac_fn_c_try_link "$LINENO"
   8008 then :
   8009   eval $cacheid=yes
   8010 else $as_nop
   8011   eval $cacheid=no
   8012 fi
   8013 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8014     conftest$ac_exeext conftest.$ac_ext
   8015 fi
   8016 
   8017 
   8018 		CFLAGS="$xorg_testset_save_CFLAGS"
   8019 
   8020 		eval supported=\$$cacheid
   8021 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8022 printf "%s\n" "$supported" >&6; }
   8023 		if test "$supported" = "yes" ; then
   8024 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8025 			found="yes"
   8026 		fi
   8027 	fi
   8028 
   8029 	if test $found = "no" ; then
   8030 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8031 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8032 		fi
   8033 
   8034 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8035 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8036 		fi
   8037 
   8038 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8039 
   8040 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8041 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8042 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8043 		if eval test \${$cacheid+y}
   8044 then :
   8045   printf %s "(cached) " >&6
   8046 else $as_nop
   8047   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8048 /* end confdefs.h.  */
   8049 int i;
   8050 int
   8051 main (void)
   8052 {
   8053 
   8054   ;
   8055   return 0;
   8056 }
   8057 _ACEOF
   8058 if ac_fn_c_try_link "$LINENO"
   8059 then :
   8060   eval $cacheid=yes
   8061 else $as_nop
   8062   eval $cacheid=no
   8063 fi
   8064 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8065     conftest$ac_exeext conftest.$ac_ext
   8066 fi
   8067 
   8068 
   8069 		CFLAGS="$xorg_testset_save_CFLAGS"
   8070 
   8071 		eval supported=\$$cacheid
   8072 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8073 printf "%s\n" "$supported" >&6; }
   8074 		if test "$supported" = "yes" ; then
   8075 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8076 			found="yes"
   8077 		fi
   8078 	fi
   8079 
   8080 
   8081 
   8082 
   8083 
   8084 
   8085 
   8086 
   8087 
   8088 
   8089 
   8090 
   8091 
   8092 
   8093 
   8094 xorg_testset_save_CFLAGS="$CFLAGS"
   8095 
   8096 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8097 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8098 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8099 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8100 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8101 then :
   8102   printf %s "(cached) " >&6
   8103 else $as_nop
   8104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8105 /* end confdefs.h.  */
   8106 int i;
   8107 _ACEOF
   8108 if ac_fn_c_try_compile "$LINENO"
   8109 then :
   8110   xorg_cv_cc_flag_unknown_warning_option=yes
   8111 else $as_nop
   8112   xorg_cv_cc_flag_unknown_warning_option=no
   8113 fi
   8114 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8115 fi
   8116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8117 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8118 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8119 	CFLAGS="$xorg_testset_save_CFLAGS"
   8120 fi
   8121 
   8122 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8123 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8124 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8125 	fi
   8126 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8127 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8128 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8129 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8130 then :
   8131   printf %s "(cached) " >&6
   8132 else $as_nop
   8133   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8134 /* end confdefs.h.  */
   8135 int i;
   8136 _ACEOF
   8137 if ac_fn_c_try_compile "$LINENO"
   8138 then :
   8139   xorg_cv_cc_flag_unused_command_line_argument=yes
   8140 else $as_nop
   8141   xorg_cv_cc_flag_unused_command_line_argument=no
   8142 fi
   8143 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8144 fi
   8145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8146 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8147 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8148 	CFLAGS="$xorg_testset_save_CFLAGS"
   8149 fi
   8150 
   8151 found="no"
   8152 
   8153 	if test $found = "no" ; then
   8154 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8155 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8156 		fi
   8157 
   8158 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8159 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8160 		fi
   8161 
   8162 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8163 
   8164 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8165 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8166 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8167 		if eval test \${$cacheid+y}
   8168 then :
   8169   printf %s "(cached) " >&6
   8170 else $as_nop
   8171   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8172 /* end confdefs.h.  */
   8173 int i;
   8174 int
   8175 main (void)
   8176 {
   8177 
   8178   ;
   8179   return 0;
   8180 }
   8181 _ACEOF
   8182 if ac_fn_c_try_link "$LINENO"
   8183 then :
   8184   eval $cacheid=yes
   8185 else $as_nop
   8186   eval $cacheid=no
   8187 fi
   8188 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8189     conftest$ac_exeext conftest.$ac_ext
   8190 fi
   8191 
   8192 
   8193 		CFLAGS="$xorg_testset_save_CFLAGS"
   8194 
   8195 		eval supported=\$$cacheid
   8196 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8197 printf "%s\n" "$supported" >&6; }
   8198 		if test "$supported" = "yes" ; then
   8199 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8200 			found="yes"
   8201 		fi
   8202 	fi
   8203 
   8204 
   8205 
   8206 
   8207 
   8208 
   8209 
   8210 
   8211 
   8212 
   8213 
   8214 
   8215 
   8216 
   8217 
   8218 xorg_testset_save_CFLAGS="$CFLAGS"
   8219 
   8220 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8221 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8222 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8223 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8224 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8225 then :
   8226   printf %s "(cached) " >&6
   8227 else $as_nop
   8228   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8229 /* end confdefs.h.  */
   8230 int i;
   8231 _ACEOF
   8232 if ac_fn_c_try_compile "$LINENO"
   8233 then :
   8234   xorg_cv_cc_flag_unknown_warning_option=yes
   8235 else $as_nop
   8236   xorg_cv_cc_flag_unknown_warning_option=no
   8237 fi
   8238 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8239 fi
   8240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8241 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8242 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8243 	CFLAGS="$xorg_testset_save_CFLAGS"
   8244 fi
   8245 
   8246 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8247 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8248 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8249 	fi
   8250 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8251 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8252 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8253 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8254 then :
   8255   printf %s "(cached) " >&6
   8256 else $as_nop
   8257   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8258 /* end confdefs.h.  */
   8259 int i;
   8260 _ACEOF
   8261 if ac_fn_c_try_compile "$LINENO"
   8262 then :
   8263   xorg_cv_cc_flag_unused_command_line_argument=yes
   8264 else $as_nop
   8265   xorg_cv_cc_flag_unused_command_line_argument=no
   8266 fi
   8267 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8268 fi
   8269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8270 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8271 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8272 	CFLAGS="$xorg_testset_save_CFLAGS"
   8273 fi
   8274 
   8275 found="no"
   8276 
   8277 	if test $found = "no" ; then
   8278 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8279 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8280 		fi
   8281 
   8282 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8283 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8284 		fi
   8285 
   8286 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8287 
   8288 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8289 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8290 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8291 		if eval test \${$cacheid+y}
   8292 then :
   8293   printf %s "(cached) " >&6
   8294 else $as_nop
   8295   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8296 /* end confdefs.h.  */
   8297 int i;
   8298 int
   8299 main (void)
   8300 {
   8301 
   8302   ;
   8303   return 0;
   8304 }
   8305 _ACEOF
   8306 if ac_fn_c_try_link "$LINENO"
   8307 then :
   8308   eval $cacheid=yes
   8309 else $as_nop
   8310   eval $cacheid=no
   8311 fi
   8312 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8313     conftest$ac_exeext conftest.$ac_ext
   8314 fi
   8315 
   8316 
   8317 		CFLAGS="$xorg_testset_save_CFLAGS"
   8318 
   8319 		eval supported=\$$cacheid
   8320 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8321 printf "%s\n" "$supported" >&6; }
   8322 		if test "$supported" = "yes" ; then
   8323 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8324 			found="yes"
   8325 		fi
   8326 	fi
   8327 
   8328 
   8329 
   8330 
   8331 
   8332 
   8333 
   8334 
   8335 
   8336 
   8337 
   8338 
   8339 
   8340 
   8341 
   8342 xorg_testset_save_CFLAGS="$CFLAGS"
   8343 
   8344 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8345 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8346 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8347 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8348 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8349 then :
   8350   printf %s "(cached) " >&6
   8351 else $as_nop
   8352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8353 /* end confdefs.h.  */
   8354 int i;
   8355 _ACEOF
   8356 if ac_fn_c_try_compile "$LINENO"
   8357 then :
   8358   xorg_cv_cc_flag_unknown_warning_option=yes
   8359 else $as_nop
   8360   xorg_cv_cc_flag_unknown_warning_option=no
   8361 fi
   8362 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8363 fi
   8364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8365 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8366 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8367 	CFLAGS="$xorg_testset_save_CFLAGS"
   8368 fi
   8369 
   8370 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8371 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8372 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8373 	fi
   8374 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8375 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8376 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8377 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8378 then :
   8379   printf %s "(cached) " >&6
   8380 else $as_nop
   8381   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8382 /* end confdefs.h.  */
   8383 int i;
   8384 _ACEOF
   8385 if ac_fn_c_try_compile "$LINENO"
   8386 then :
   8387   xorg_cv_cc_flag_unused_command_line_argument=yes
   8388 else $as_nop
   8389   xorg_cv_cc_flag_unused_command_line_argument=no
   8390 fi
   8391 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8392 fi
   8393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8394 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8395 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8396 	CFLAGS="$xorg_testset_save_CFLAGS"
   8397 fi
   8398 
   8399 found="no"
   8400 
   8401 	if test $found = "no" ; then
   8402 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8403 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8404 		fi
   8405 
   8406 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8407 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8408 		fi
   8409 
   8410 		CFLAGS="$CFLAGS -Werror=write-strings"
   8411 
   8412 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8413 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8414 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8415 		if eval test \${$cacheid+y}
   8416 then :
   8417   printf %s "(cached) " >&6
   8418 else $as_nop
   8419   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8420 /* end confdefs.h.  */
   8421 int i;
   8422 int
   8423 main (void)
   8424 {
   8425 
   8426   ;
   8427   return 0;
   8428 }
   8429 _ACEOF
   8430 if ac_fn_c_try_link "$LINENO"
   8431 then :
   8432   eval $cacheid=yes
   8433 else $as_nop
   8434   eval $cacheid=no
   8435 fi
   8436 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8437     conftest$ac_exeext conftest.$ac_ext
   8438 fi
   8439 
   8440 
   8441 		CFLAGS="$xorg_testset_save_CFLAGS"
   8442 
   8443 		eval supported=\$$cacheid
   8444 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8445 printf "%s\n" "$supported" >&6; }
   8446 		if test "$supported" = "yes" ; then
   8447 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8448 			found="yes"
   8449 		fi
   8450 	fi
   8451 
   8452 
   8453 
   8454 
   8455 
   8456 
   8457 
   8458 
   8459 
   8460 
   8461 
   8462 
   8463 
   8464 
   8465 
   8466 xorg_testset_save_CFLAGS="$CFLAGS"
   8467 
   8468 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8469 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8470 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8471 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8472 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8473 then :
   8474   printf %s "(cached) " >&6
   8475 else $as_nop
   8476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8477 /* end confdefs.h.  */
   8478 int i;
   8479 _ACEOF
   8480 if ac_fn_c_try_compile "$LINENO"
   8481 then :
   8482   xorg_cv_cc_flag_unknown_warning_option=yes
   8483 else $as_nop
   8484   xorg_cv_cc_flag_unknown_warning_option=no
   8485 fi
   8486 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8487 fi
   8488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8489 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8490 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8491 	CFLAGS="$xorg_testset_save_CFLAGS"
   8492 fi
   8493 
   8494 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8495 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8496 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8497 	fi
   8498 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8499 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8500 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8501 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8502 then :
   8503   printf %s "(cached) " >&6
   8504 else $as_nop
   8505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8506 /* end confdefs.h.  */
   8507 int i;
   8508 _ACEOF
   8509 if ac_fn_c_try_compile "$LINENO"
   8510 then :
   8511   xorg_cv_cc_flag_unused_command_line_argument=yes
   8512 else $as_nop
   8513   xorg_cv_cc_flag_unused_command_line_argument=no
   8514 fi
   8515 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8516 fi
   8517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8518 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8519 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8520 	CFLAGS="$xorg_testset_save_CFLAGS"
   8521 fi
   8522 
   8523 found="no"
   8524 
   8525 	if test $found = "no" ; then
   8526 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8527 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8528 		fi
   8529 
   8530 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8531 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8532 		fi
   8533 
   8534 		CFLAGS="$CFLAGS -Werror=address"
   8535 
   8536 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8537 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8538 		cacheid=xorg_cv_cc_flag__Werror_address
   8539 		if eval test \${$cacheid+y}
   8540 then :
   8541   printf %s "(cached) " >&6
   8542 else $as_nop
   8543   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8544 /* end confdefs.h.  */
   8545 int i;
   8546 int
   8547 main (void)
   8548 {
   8549 
   8550   ;
   8551   return 0;
   8552 }
   8553 _ACEOF
   8554 if ac_fn_c_try_link "$LINENO"
   8555 then :
   8556   eval $cacheid=yes
   8557 else $as_nop
   8558   eval $cacheid=no
   8559 fi
   8560 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8561     conftest$ac_exeext conftest.$ac_ext
   8562 fi
   8563 
   8564 
   8565 		CFLAGS="$xorg_testset_save_CFLAGS"
   8566 
   8567 		eval supported=\$$cacheid
   8568 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8569 printf "%s\n" "$supported" >&6; }
   8570 		if test "$supported" = "yes" ; then
   8571 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8572 			found="yes"
   8573 		fi
   8574 	fi
   8575 
   8576 
   8577 
   8578 
   8579 
   8580 
   8581 
   8582 
   8583 
   8584 
   8585 
   8586 
   8587 
   8588 
   8589 
   8590 xorg_testset_save_CFLAGS="$CFLAGS"
   8591 
   8592 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8593 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8594 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8595 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8596 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8597 then :
   8598   printf %s "(cached) " >&6
   8599 else $as_nop
   8600   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8601 /* end confdefs.h.  */
   8602 int i;
   8603 _ACEOF
   8604 if ac_fn_c_try_compile "$LINENO"
   8605 then :
   8606   xorg_cv_cc_flag_unknown_warning_option=yes
   8607 else $as_nop
   8608   xorg_cv_cc_flag_unknown_warning_option=no
   8609 fi
   8610 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8611 fi
   8612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8613 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8614 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8615 	CFLAGS="$xorg_testset_save_CFLAGS"
   8616 fi
   8617 
   8618 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8619 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8620 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8621 	fi
   8622 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8623 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8624 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8625 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8626 then :
   8627   printf %s "(cached) " >&6
   8628 else $as_nop
   8629   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8630 /* end confdefs.h.  */
   8631 int i;
   8632 _ACEOF
   8633 if ac_fn_c_try_compile "$LINENO"
   8634 then :
   8635   xorg_cv_cc_flag_unused_command_line_argument=yes
   8636 else $as_nop
   8637   xorg_cv_cc_flag_unused_command_line_argument=no
   8638 fi
   8639 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8640 fi
   8641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8642 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8643 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8644 	CFLAGS="$xorg_testset_save_CFLAGS"
   8645 fi
   8646 
   8647 found="no"
   8648 
   8649 	if test $found = "no" ; then
   8650 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8651 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8652 		fi
   8653 
   8654 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8655 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8656 		fi
   8657 
   8658 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8659 
   8660 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8661 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8662 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8663 		if eval test \${$cacheid+y}
   8664 then :
   8665   printf %s "(cached) " >&6
   8666 else $as_nop
   8667   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8668 /* end confdefs.h.  */
   8669 int i;
   8670 int
   8671 main (void)
   8672 {
   8673 
   8674   ;
   8675   return 0;
   8676 }
   8677 _ACEOF
   8678 if ac_fn_c_try_link "$LINENO"
   8679 then :
   8680   eval $cacheid=yes
   8681 else $as_nop
   8682   eval $cacheid=no
   8683 fi
   8684 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8685     conftest$ac_exeext conftest.$ac_ext
   8686 fi
   8687 
   8688 
   8689 		CFLAGS="$xorg_testset_save_CFLAGS"
   8690 
   8691 		eval supported=\$$cacheid
   8692 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8693 printf "%s\n" "$supported" >&6; }
   8694 		if test "$supported" = "yes" ; then
   8695 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8696 			found="yes"
   8697 		fi
   8698 	fi
   8699 
   8700 	if test $found = "no" ; then
   8701 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8702 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8703 		fi
   8704 
   8705 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8706 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8707 		fi
   8708 
   8709 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8710 
   8711 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8712 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8713 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8714 		if eval test \${$cacheid+y}
   8715 then :
   8716   printf %s "(cached) " >&6
   8717 else $as_nop
   8718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8719 /* end confdefs.h.  */
   8720 int i;
   8721 int
   8722 main (void)
   8723 {
   8724 
   8725   ;
   8726   return 0;
   8727 }
   8728 _ACEOF
   8729 if ac_fn_c_try_link "$LINENO"
   8730 then :
   8731   eval $cacheid=yes
   8732 else $as_nop
   8733   eval $cacheid=no
   8734 fi
   8735 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8736     conftest$ac_exeext conftest.$ac_ext
   8737 fi
   8738 
   8739 
   8740 		CFLAGS="$xorg_testset_save_CFLAGS"
   8741 
   8742 		eval supported=\$$cacheid
   8743 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8744 printf "%s\n" "$supported" >&6; }
   8745 		if test "$supported" = "yes" ; then
   8746 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8747 			found="yes"
   8748 		fi
   8749 	fi
   8750 
   8751 
   8752 
   8753 
   8754 
   8755 
   8756 
   8757 
   8758 
   8759 
   8760 
   8761 
   8762 
   8763 
   8764 
   8765 xorg_testset_save_CFLAGS="$CFLAGS"
   8766 
   8767 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8768 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8769 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8770 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8771 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8772 then :
   8773   printf %s "(cached) " >&6
   8774 else $as_nop
   8775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8776 /* end confdefs.h.  */
   8777 int i;
   8778 _ACEOF
   8779 if ac_fn_c_try_compile "$LINENO"
   8780 then :
   8781   xorg_cv_cc_flag_unknown_warning_option=yes
   8782 else $as_nop
   8783   xorg_cv_cc_flag_unknown_warning_option=no
   8784 fi
   8785 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8786 fi
   8787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8788 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8789 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8790 	CFLAGS="$xorg_testset_save_CFLAGS"
   8791 fi
   8792 
   8793 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8794 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8795 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8796 	fi
   8797 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8798 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8799 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8800 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8801 then :
   8802   printf %s "(cached) " >&6
   8803 else $as_nop
   8804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8805 /* end confdefs.h.  */
   8806 int i;
   8807 _ACEOF
   8808 if ac_fn_c_try_compile "$LINENO"
   8809 then :
   8810   xorg_cv_cc_flag_unused_command_line_argument=yes
   8811 else $as_nop
   8812   xorg_cv_cc_flag_unused_command_line_argument=no
   8813 fi
   8814 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8815 fi
   8816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8817 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8818 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8819 	CFLAGS="$xorg_testset_save_CFLAGS"
   8820 fi
   8821 
   8822 found="no"
   8823 
   8824 	if test $found = "no" ; then
   8825 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8826 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8827 		fi
   8828 
   8829 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8830 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8831 		fi
   8832 
   8833 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8834 
   8835 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8836 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8837 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8838 		if eval test \${$cacheid+y}
   8839 then :
   8840   printf %s "(cached) " >&6
   8841 else $as_nop
   8842   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8843 /* end confdefs.h.  */
   8844 int i;
   8845 int
   8846 main (void)
   8847 {
   8848 
   8849   ;
   8850   return 0;
   8851 }
   8852 _ACEOF
   8853 if ac_fn_c_try_link "$LINENO"
   8854 then :
   8855   eval $cacheid=yes
   8856 else $as_nop
   8857   eval $cacheid=no
   8858 fi
   8859 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8860     conftest$ac_exeext conftest.$ac_ext
   8861 fi
   8862 
   8863 
   8864 		CFLAGS="$xorg_testset_save_CFLAGS"
   8865 
   8866 		eval supported=\$$cacheid
   8867 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8868 printf "%s\n" "$supported" >&6; }
   8869 		if test "$supported" = "yes" ; then
   8870 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8871 			found="yes"
   8872 		fi
   8873 	fi
   8874 
   8875  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8876 else
   8877 { 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
   8878 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;}
   8879 
   8880 
   8881 
   8882 
   8883 
   8884 
   8885 
   8886 
   8887 
   8888 
   8889 
   8890 
   8891 
   8892 xorg_testset_save_CFLAGS="$CFLAGS"
   8893 
   8894 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8895 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8896 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8897 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8898 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8899 then :
   8900   printf %s "(cached) " >&6
   8901 else $as_nop
   8902   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8903 /* end confdefs.h.  */
   8904 int i;
   8905 _ACEOF
   8906 if ac_fn_c_try_compile "$LINENO"
   8907 then :
   8908   xorg_cv_cc_flag_unknown_warning_option=yes
   8909 else $as_nop
   8910   xorg_cv_cc_flag_unknown_warning_option=no
   8911 fi
   8912 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8913 fi
   8914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8915 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8916 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8917 	CFLAGS="$xorg_testset_save_CFLAGS"
   8918 fi
   8919 
   8920 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8921 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8922 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8923 	fi
   8924 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8925 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8926 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8927 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8928 then :
   8929   printf %s "(cached) " >&6
   8930 else $as_nop
   8931   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8932 /* end confdefs.h.  */
   8933 int i;
   8934 _ACEOF
   8935 if ac_fn_c_try_compile "$LINENO"
   8936 then :
   8937   xorg_cv_cc_flag_unused_command_line_argument=yes
   8938 else $as_nop
   8939   xorg_cv_cc_flag_unused_command_line_argument=no
   8940 fi
   8941 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8942 fi
   8943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8944 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8945 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8946 	CFLAGS="$xorg_testset_save_CFLAGS"
   8947 fi
   8948 
   8949 found="no"
   8950 
   8951 	if test $found = "no" ; then
   8952 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8953 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8954 		fi
   8955 
   8956 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8957 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8958 		fi
   8959 
   8960 		CFLAGS="$CFLAGS -Wimplicit"
   8961 
   8962 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8963 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   8964 		cacheid=xorg_cv_cc_flag__Wimplicit
   8965 		if eval test \${$cacheid+y}
   8966 then :
   8967   printf %s "(cached) " >&6
   8968 else $as_nop
   8969   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8970 /* end confdefs.h.  */
   8971 int i;
   8972 int
   8973 main (void)
   8974 {
   8975 
   8976   ;
   8977   return 0;
   8978 }
   8979 _ACEOF
   8980 if ac_fn_c_try_link "$LINENO"
   8981 then :
   8982   eval $cacheid=yes
   8983 else $as_nop
   8984   eval $cacheid=no
   8985 fi
   8986 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8987     conftest$ac_exeext conftest.$ac_ext
   8988 fi
   8989 
   8990 
   8991 		CFLAGS="$xorg_testset_save_CFLAGS"
   8992 
   8993 		eval supported=\$$cacheid
   8994 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8995 printf "%s\n" "$supported" >&6; }
   8996 		if test "$supported" = "yes" ; then
   8997 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8998 			found="yes"
   8999 		fi
   9000 	fi
   9001 
   9002 
   9003 
   9004 
   9005 
   9006 
   9007 
   9008 
   9009 
   9010 
   9011 
   9012 
   9013 
   9014 
   9015 
   9016 xorg_testset_save_CFLAGS="$CFLAGS"
   9017 
   9018 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9019 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9020 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9021 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9022 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9023 then :
   9024   printf %s "(cached) " >&6
   9025 else $as_nop
   9026   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9027 /* end confdefs.h.  */
   9028 int i;
   9029 _ACEOF
   9030 if ac_fn_c_try_compile "$LINENO"
   9031 then :
   9032   xorg_cv_cc_flag_unknown_warning_option=yes
   9033 else $as_nop
   9034   xorg_cv_cc_flag_unknown_warning_option=no
   9035 fi
   9036 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9037 fi
   9038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9039 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9040 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9041 	CFLAGS="$xorg_testset_save_CFLAGS"
   9042 fi
   9043 
   9044 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9045 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9046 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9047 	fi
   9048 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9049 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9050 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9051 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9052 then :
   9053   printf %s "(cached) " >&6
   9054 else $as_nop
   9055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9056 /* end confdefs.h.  */
   9057 int i;
   9058 _ACEOF
   9059 if ac_fn_c_try_compile "$LINENO"
   9060 then :
   9061   xorg_cv_cc_flag_unused_command_line_argument=yes
   9062 else $as_nop
   9063   xorg_cv_cc_flag_unused_command_line_argument=no
   9064 fi
   9065 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9066 fi
   9067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9068 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9069 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9070 	CFLAGS="$xorg_testset_save_CFLAGS"
   9071 fi
   9072 
   9073 found="no"
   9074 
   9075 	if test $found = "no" ; then
   9076 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9077 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9078 		fi
   9079 
   9080 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9081 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9082 		fi
   9083 
   9084 		CFLAGS="$CFLAGS -Wnonnull"
   9085 
   9086 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9087 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9088 		cacheid=xorg_cv_cc_flag__Wnonnull
   9089 		if eval test \${$cacheid+y}
   9090 then :
   9091   printf %s "(cached) " >&6
   9092 else $as_nop
   9093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9094 /* end confdefs.h.  */
   9095 int i;
   9096 int
   9097 main (void)
   9098 {
   9099 
   9100   ;
   9101   return 0;
   9102 }
   9103 _ACEOF
   9104 if ac_fn_c_try_link "$LINENO"
   9105 then :
   9106   eval $cacheid=yes
   9107 else $as_nop
   9108   eval $cacheid=no
   9109 fi
   9110 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9111     conftest$ac_exeext conftest.$ac_ext
   9112 fi
   9113 
   9114 
   9115 		CFLAGS="$xorg_testset_save_CFLAGS"
   9116 
   9117 		eval supported=\$$cacheid
   9118 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9119 printf "%s\n" "$supported" >&6; }
   9120 		if test "$supported" = "yes" ; then
   9121 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9122 			found="yes"
   9123 		fi
   9124 	fi
   9125 
   9126 
   9127 
   9128 
   9129 
   9130 
   9131 
   9132 
   9133 
   9134 
   9135 
   9136 
   9137 
   9138 
   9139 
   9140 xorg_testset_save_CFLAGS="$CFLAGS"
   9141 
   9142 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9143 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9144 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9145 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9146 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9147 then :
   9148   printf %s "(cached) " >&6
   9149 else $as_nop
   9150   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9151 /* end confdefs.h.  */
   9152 int i;
   9153 _ACEOF
   9154 if ac_fn_c_try_compile "$LINENO"
   9155 then :
   9156   xorg_cv_cc_flag_unknown_warning_option=yes
   9157 else $as_nop
   9158   xorg_cv_cc_flag_unknown_warning_option=no
   9159 fi
   9160 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9161 fi
   9162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9163 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9164 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9165 	CFLAGS="$xorg_testset_save_CFLAGS"
   9166 fi
   9167 
   9168 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9169 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9170 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9171 	fi
   9172 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9173 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9174 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9175 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9176 then :
   9177   printf %s "(cached) " >&6
   9178 else $as_nop
   9179   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9180 /* end confdefs.h.  */
   9181 int i;
   9182 _ACEOF
   9183 if ac_fn_c_try_compile "$LINENO"
   9184 then :
   9185   xorg_cv_cc_flag_unused_command_line_argument=yes
   9186 else $as_nop
   9187   xorg_cv_cc_flag_unused_command_line_argument=no
   9188 fi
   9189 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9190 fi
   9191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9192 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9193 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9194 	CFLAGS="$xorg_testset_save_CFLAGS"
   9195 fi
   9196 
   9197 found="no"
   9198 
   9199 	if test $found = "no" ; then
   9200 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9201 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9202 		fi
   9203 
   9204 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9205 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9206 		fi
   9207 
   9208 		CFLAGS="$CFLAGS -Winit-self"
   9209 
   9210 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9211 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9212 		cacheid=xorg_cv_cc_flag__Winit_self
   9213 		if eval test \${$cacheid+y}
   9214 then :
   9215   printf %s "(cached) " >&6
   9216 else $as_nop
   9217   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9218 /* end confdefs.h.  */
   9219 int i;
   9220 int
   9221 main (void)
   9222 {
   9223 
   9224   ;
   9225   return 0;
   9226 }
   9227 _ACEOF
   9228 if ac_fn_c_try_link "$LINENO"
   9229 then :
   9230   eval $cacheid=yes
   9231 else $as_nop
   9232   eval $cacheid=no
   9233 fi
   9234 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9235     conftest$ac_exeext conftest.$ac_ext
   9236 fi
   9237 
   9238 
   9239 		CFLAGS="$xorg_testset_save_CFLAGS"
   9240 
   9241 		eval supported=\$$cacheid
   9242 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9243 printf "%s\n" "$supported" >&6; }
   9244 		if test "$supported" = "yes" ; then
   9245 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9246 			found="yes"
   9247 		fi
   9248 	fi
   9249 
   9250 
   9251 
   9252 
   9253 
   9254 
   9255 
   9256 
   9257 
   9258 
   9259 
   9260 
   9261 
   9262 
   9263 
   9264 xorg_testset_save_CFLAGS="$CFLAGS"
   9265 
   9266 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9267 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9268 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9269 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9270 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9271 then :
   9272   printf %s "(cached) " >&6
   9273 else $as_nop
   9274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9275 /* end confdefs.h.  */
   9276 int i;
   9277 _ACEOF
   9278 if ac_fn_c_try_compile "$LINENO"
   9279 then :
   9280   xorg_cv_cc_flag_unknown_warning_option=yes
   9281 else $as_nop
   9282   xorg_cv_cc_flag_unknown_warning_option=no
   9283 fi
   9284 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9285 fi
   9286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9287 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9288 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9289 	CFLAGS="$xorg_testset_save_CFLAGS"
   9290 fi
   9291 
   9292 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9293 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9294 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9295 	fi
   9296 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9297 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9298 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9299 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9300 then :
   9301   printf %s "(cached) " >&6
   9302 else $as_nop
   9303   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9304 /* end confdefs.h.  */
   9305 int i;
   9306 _ACEOF
   9307 if ac_fn_c_try_compile "$LINENO"
   9308 then :
   9309   xorg_cv_cc_flag_unused_command_line_argument=yes
   9310 else $as_nop
   9311   xorg_cv_cc_flag_unused_command_line_argument=no
   9312 fi
   9313 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9314 fi
   9315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9316 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9317 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9318 	CFLAGS="$xorg_testset_save_CFLAGS"
   9319 fi
   9320 
   9321 found="no"
   9322 
   9323 	if test $found = "no" ; then
   9324 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9325 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9326 		fi
   9327 
   9328 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9329 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9330 		fi
   9331 
   9332 		CFLAGS="$CFLAGS -Wmain"
   9333 
   9334 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9335 printf %s "checking if $CC supports -Wmain... " >&6; }
   9336 		cacheid=xorg_cv_cc_flag__Wmain
   9337 		if eval test \${$cacheid+y}
   9338 then :
   9339   printf %s "(cached) " >&6
   9340 else $as_nop
   9341   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9342 /* end confdefs.h.  */
   9343 int i;
   9344 int
   9345 main (void)
   9346 {
   9347 
   9348   ;
   9349   return 0;
   9350 }
   9351 _ACEOF
   9352 if ac_fn_c_try_link "$LINENO"
   9353 then :
   9354   eval $cacheid=yes
   9355 else $as_nop
   9356   eval $cacheid=no
   9357 fi
   9358 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9359     conftest$ac_exeext conftest.$ac_ext
   9360 fi
   9361 
   9362 
   9363 		CFLAGS="$xorg_testset_save_CFLAGS"
   9364 
   9365 		eval supported=\$$cacheid
   9366 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9367 printf "%s\n" "$supported" >&6; }
   9368 		if test "$supported" = "yes" ; then
   9369 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9370 			found="yes"
   9371 		fi
   9372 	fi
   9373 
   9374 
   9375 
   9376 
   9377 
   9378 
   9379 
   9380 
   9381 
   9382 
   9383 
   9384 
   9385 
   9386 
   9387 
   9388 xorg_testset_save_CFLAGS="$CFLAGS"
   9389 
   9390 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9391 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9392 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9393 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9394 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9395 then :
   9396   printf %s "(cached) " >&6
   9397 else $as_nop
   9398   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9399 /* end confdefs.h.  */
   9400 int i;
   9401 _ACEOF
   9402 if ac_fn_c_try_compile "$LINENO"
   9403 then :
   9404   xorg_cv_cc_flag_unknown_warning_option=yes
   9405 else $as_nop
   9406   xorg_cv_cc_flag_unknown_warning_option=no
   9407 fi
   9408 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9409 fi
   9410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9411 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9412 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9413 	CFLAGS="$xorg_testset_save_CFLAGS"
   9414 fi
   9415 
   9416 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9417 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9418 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9419 	fi
   9420 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9421 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9422 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9423 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9424 then :
   9425   printf %s "(cached) " >&6
   9426 else $as_nop
   9427   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9428 /* end confdefs.h.  */
   9429 int i;
   9430 _ACEOF
   9431 if ac_fn_c_try_compile "$LINENO"
   9432 then :
   9433   xorg_cv_cc_flag_unused_command_line_argument=yes
   9434 else $as_nop
   9435   xorg_cv_cc_flag_unused_command_line_argument=no
   9436 fi
   9437 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9438 fi
   9439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9440 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9441 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9442 	CFLAGS="$xorg_testset_save_CFLAGS"
   9443 fi
   9444 
   9445 found="no"
   9446 
   9447 	if test $found = "no" ; then
   9448 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9449 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9450 		fi
   9451 
   9452 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9453 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9454 		fi
   9455 
   9456 		CFLAGS="$CFLAGS -Wmissing-braces"
   9457 
   9458 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9459 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9460 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9461 		if eval test \${$cacheid+y}
   9462 then :
   9463   printf %s "(cached) " >&6
   9464 else $as_nop
   9465   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9466 /* end confdefs.h.  */
   9467 int i;
   9468 int
   9469 main (void)
   9470 {
   9471 
   9472   ;
   9473   return 0;
   9474 }
   9475 _ACEOF
   9476 if ac_fn_c_try_link "$LINENO"
   9477 then :
   9478   eval $cacheid=yes
   9479 else $as_nop
   9480   eval $cacheid=no
   9481 fi
   9482 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9483     conftest$ac_exeext conftest.$ac_ext
   9484 fi
   9485 
   9486 
   9487 		CFLAGS="$xorg_testset_save_CFLAGS"
   9488 
   9489 		eval supported=\$$cacheid
   9490 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9491 printf "%s\n" "$supported" >&6; }
   9492 		if test "$supported" = "yes" ; then
   9493 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9494 			found="yes"
   9495 		fi
   9496 	fi
   9497 
   9498 
   9499 
   9500 
   9501 
   9502 
   9503 
   9504 
   9505 
   9506 
   9507 
   9508 
   9509 
   9510 
   9511 
   9512 xorg_testset_save_CFLAGS="$CFLAGS"
   9513 
   9514 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9515 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9516 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9517 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9518 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9519 then :
   9520   printf %s "(cached) " >&6
   9521 else $as_nop
   9522   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9523 /* end confdefs.h.  */
   9524 int i;
   9525 _ACEOF
   9526 if ac_fn_c_try_compile "$LINENO"
   9527 then :
   9528   xorg_cv_cc_flag_unknown_warning_option=yes
   9529 else $as_nop
   9530   xorg_cv_cc_flag_unknown_warning_option=no
   9531 fi
   9532 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9533 fi
   9534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9535 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9536 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9537 	CFLAGS="$xorg_testset_save_CFLAGS"
   9538 fi
   9539 
   9540 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9541 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9542 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9543 	fi
   9544 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9545 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9546 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9547 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9548 then :
   9549   printf %s "(cached) " >&6
   9550 else $as_nop
   9551   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9552 /* end confdefs.h.  */
   9553 int i;
   9554 _ACEOF
   9555 if ac_fn_c_try_compile "$LINENO"
   9556 then :
   9557   xorg_cv_cc_flag_unused_command_line_argument=yes
   9558 else $as_nop
   9559   xorg_cv_cc_flag_unused_command_line_argument=no
   9560 fi
   9561 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9562 fi
   9563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9564 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9565 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9566 	CFLAGS="$xorg_testset_save_CFLAGS"
   9567 fi
   9568 
   9569 found="no"
   9570 
   9571 	if test $found = "no" ; then
   9572 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9573 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9574 		fi
   9575 
   9576 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9577 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9578 		fi
   9579 
   9580 		CFLAGS="$CFLAGS -Wsequence-point"
   9581 
   9582 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9583 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9584 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9585 		if eval test \${$cacheid+y}
   9586 then :
   9587   printf %s "(cached) " >&6
   9588 else $as_nop
   9589   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9590 /* end confdefs.h.  */
   9591 int i;
   9592 int
   9593 main (void)
   9594 {
   9595 
   9596   ;
   9597   return 0;
   9598 }
   9599 _ACEOF
   9600 if ac_fn_c_try_link "$LINENO"
   9601 then :
   9602   eval $cacheid=yes
   9603 else $as_nop
   9604   eval $cacheid=no
   9605 fi
   9606 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9607     conftest$ac_exeext conftest.$ac_ext
   9608 fi
   9609 
   9610 
   9611 		CFLAGS="$xorg_testset_save_CFLAGS"
   9612 
   9613 		eval supported=\$$cacheid
   9614 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9615 printf "%s\n" "$supported" >&6; }
   9616 		if test "$supported" = "yes" ; then
   9617 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9618 			found="yes"
   9619 		fi
   9620 	fi
   9621 
   9622 
   9623 
   9624 
   9625 
   9626 
   9627 
   9628 
   9629 
   9630 
   9631 
   9632 
   9633 
   9634 
   9635 
   9636 xorg_testset_save_CFLAGS="$CFLAGS"
   9637 
   9638 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9639 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9640 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9641 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9642 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9643 then :
   9644   printf %s "(cached) " >&6
   9645 else $as_nop
   9646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9647 /* end confdefs.h.  */
   9648 int i;
   9649 _ACEOF
   9650 if ac_fn_c_try_compile "$LINENO"
   9651 then :
   9652   xorg_cv_cc_flag_unknown_warning_option=yes
   9653 else $as_nop
   9654   xorg_cv_cc_flag_unknown_warning_option=no
   9655 fi
   9656 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9657 fi
   9658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9659 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9660 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9661 	CFLAGS="$xorg_testset_save_CFLAGS"
   9662 fi
   9663 
   9664 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9665 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9666 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9667 	fi
   9668 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9669 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9670 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9671 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9672 then :
   9673   printf %s "(cached) " >&6
   9674 else $as_nop
   9675   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9676 /* end confdefs.h.  */
   9677 int i;
   9678 _ACEOF
   9679 if ac_fn_c_try_compile "$LINENO"
   9680 then :
   9681   xorg_cv_cc_flag_unused_command_line_argument=yes
   9682 else $as_nop
   9683   xorg_cv_cc_flag_unused_command_line_argument=no
   9684 fi
   9685 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9686 fi
   9687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9688 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9689 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9690 	CFLAGS="$xorg_testset_save_CFLAGS"
   9691 fi
   9692 
   9693 found="no"
   9694 
   9695 	if test $found = "no" ; then
   9696 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9697 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9698 		fi
   9699 
   9700 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9701 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9702 		fi
   9703 
   9704 		CFLAGS="$CFLAGS -Wreturn-type"
   9705 
   9706 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9707 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   9708 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9709 		if eval test \${$cacheid+y}
   9710 then :
   9711   printf %s "(cached) " >&6
   9712 else $as_nop
   9713   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9714 /* end confdefs.h.  */
   9715 int i;
   9716 int
   9717 main (void)
   9718 {
   9719 
   9720   ;
   9721   return 0;
   9722 }
   9723 _ACEOF
   9724 if ac_fn_c_try_link "$LINENO"
   9725 then :
   9726   eval $cacheid=yes
   9727 else $as_nop
   9728   eval $cacheid=no
   9729 fi
   9730 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9731     conftest$ac_exeext conftest.$ac_ext
   9732 fi
   9733 
   9734 
   9735 		CFLAGS="$xorg_testset_save_CFLAGS"
   9736 
   9737 		eval supported=\$$cacheid
   9738 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9739 printf "%s\n" "$supported" >&6; }
   9740 		if test "$supported" = "yes" ; then
   9741 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9742 			found="yes"
   9743 		fi
   9744 	fi
   9745 
   9746 
   9747 
   9748 
   9749 
   9750 
   9751 
   9752 
   9753 
   9754 
   9755 
   9756 
   9757 
   9758 
   9759 
   9760 xorg_testset_save_CFLAGS="$CFLAGS"
   9761 
   9762 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9763 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9764 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9765 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9766 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9767 then :
   9768   printf %s "(cached) " >&6
   9769 else $as_nop
   9770   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9771 /* end confdefs.h.  */
   9772 int i;
   9773 _ACEOF
   9774 if ac_fn_c_try_compile "$LINENO"
   9775 then :
   9776   xorg_cv_cc_flag_unknown_warning_option=yes
   9777 else $as_nop
   9778   xorg_cv_cc_flag_unknown_warning_option=no
   9779 fi
   9780 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9781 fi
   9782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9783 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9784 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9785 	CFLAGS="$xorg_testset_save_CFLAGS"
   9786 fi
   9787 
   9788 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9789 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9790 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9791 	fi
   9792 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9793 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9794 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9795 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9796 then :
   9797   printf %s "(cached) " >&6
   9798 else $as_nop
   9799   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9800 /* end confdefs.h.  */
   9801 int i;
   9802 _ACEOF
   9803 if ac_fn_c_try_compile "$LINENO"
   9804 then :
   9805   xorg_cv_cc_flag_unused_command_line_argument=yes
   9806 else $as_nop
   9807   xorg_cv_cc_flag_unused_command_line_argument=no
   9808 fi
   9809 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9810 fi
   9811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9812 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9813 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9814 	CFLAGS="$xorg_testset_save_CFLAGS"
   9815 fi
   9816 
   9817 found="no"
   9818 
   9819 	if test $found = "no" ; then
   9820 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9821 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9822 		fi
   9823 
   9824 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9825 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9826 		fi
   9827 
   9828 		CFLAGS="$CFLAGS -Wtrigraphs"
   9829 
   9830 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9831 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   9832 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9833 		if eval test \${$cacheid+y}
   9834 then :
   9835   printf %s "(cached) " >&6
   9836 else $as_nop
   9837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9838 /* end confdefs.h.  */
   9839 int i;
   9840 int
   9841 main (void)
   9842 {
   9843 
   9844   ;
   9845   return 0;
   9846 }
   9847 _ACEOF
   9848 if ac_fn_c_try_link "$LINENO"
   9849 then :
   9850   eval $cacheid=yes
   9851 else $as_nop
   9852   eval $cacheid=no
   9853 fi
   9854 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9855     conftest$ac_exeext conftest.$ac_ext
   9856 fi
   9857 
   9858 
   9859 		CFLAGS="$xorg_testset_save_CFLAGS"
   9860 
   9861 		eval supported=\$$cacheid
   9862 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9863 printf "%s\n" "$supported" >&6; }
   9864 		if test "$supported" = "yes" ; then
   9865 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9866 			found="yes"
   9867 		fi
   9868 	fi
   9869 
   9870 
   9871 
   9872 
   9873 
   9874 
   9875 
   9876 
   9877 
   9878 
   9879 
   9880 
   9881 
   9882 
   9883 
   9884 xorg_testset_save_CFLAGS="$CFLAGS"
   9885 
   9886 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9887 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9888 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9889 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9890 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9891 then :
   9892   printf %s "(cached) " >&6
   9893 else $as_nop
   9894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9895 /* end confdefs.h.  */
   9896 int i;
   9897 _ACEOF
   9898 if ac_fn_c_try_compile "$LINENO"
   9899 then :
   9900   xorg_cv_cc_flag_unknown_warning_option=yes
   9901 else $as_nop
   9902   xorg_cv_cc_flag_unknown_warning_option=no
   9903 fi
   9904 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9905 fi
   9906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9907 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9908 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9909 	CFLAGS="$xorg_testset_save_CFLAGS"
   9910 fi
   9911 
   9912 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9913 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9914 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9915 	fi
   9916 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9917 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9918 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9919 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9920 then :
   9921   printf %s "(cached) " >&6
   9922 else $as_nop
   9923   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9924 /* end confdefs.h.  */
   9925 int i;
   9926 _ACEOF
   9927 if ac_fn_c_try_compile "$LINENO"
   9928 then :
   9929   xorg_cv_cc_flag_unused_command_line_argument=yes
   9930 else $as_nop
   9931   xorg_cv_cc_flag_unused_command_line_argument=no
   9932 fi
   9933 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9934 fi
   9935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9936 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9937 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9938 	CFLAGS="$xorg_testset_save_CFLAGS"
   9939 fi
   9940 
   9941 found="no"
   9942 
   9943 	if test $found = "no" ; then
   9944 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9945 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9946 		fi
   9947 
   9948 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9949 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9950 		fi
   9951 
   9952 		CFLAGS="$CFLAGS -Warray-bounds"
   9953 
   9954 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9955 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   9956 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9957 		if eval test \${$cacheid+y}
   9958 then :
   9959   printf %s "(cached) " >&6
   9960 else $as_nop
   9961   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9962 /* end confdefs.h.  */
   9963 int i;
   9964 int
   9965 main (void)
   9966 {
   9967 
   9968   ;
   9969   return 0;
   9970 }
   9971 _ACEOF
   9972 if ac_fn_c_try_link "$LINENO"
   9973 then :
   9974   eval $cacheid=yes
   9975 else $as_nop
   9976   eval $cacheid=no
   9977 fi
   9978 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9979     conftest$ac_exeext conftest.$ac_ext
   9980 fi
   9981 
   9982 
   9983 		CFLAGS="$xorg_testset_save_CFLAGS"
   9984 
   9985 		eval supported=\$$cacheid
   9986 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9987 printf "%s\n" "$supported" >&6; }
   9988 		if test "$supported" = "yes" ; then
   9989 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9990 			found="yes"
   9991 		fi
   9992 	fi
   9993 
   9994 
   9995 
   9996 
   9997 
   9998 
   9999 
   10000 
   10001 
   10002 
   10003 
   10004 
   10005 
   10006 
   10007 
   10008 xorg_testset_save_CFLAGS="$CFLAGS"
   10009 
   10010 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10011 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10012 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10013 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10014 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10015 then :
   10016   printf %s "(cached) " >&6
   10017 else $as_nop
   10018   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10019 /* end confdefs.h.  */
   10020 int i;
   10021 _ACEOF
   10022 if ac_fn_c_try_compile "$LINENO"
   10023 then :
   10024   xorg_cv_cc_flag_unknown_warning_option=yes
   10025 else $as_nop
   10026   xorg_cv_cc_flag_unknown_warning_option=no
   10027 fi
   10028 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10029 fi
   10030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10031 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10032 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10033 	CFLAGS="$xorg_testset_save_CFLAGS"
   10034 fi
   10035 
   10036 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10037 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10038 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10039 	fi
   10040 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10041 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10042 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10043 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10044 then :
   10045   printf %s "(cached) " >&6
   10046 else $as_nop
   10047   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10048 /* end confdefs.h.  */
   10049 int i;
   10050 _ACEOF
   10051 if ac_fn_c_try_compile "$LINENO"
   10052 then :
   10053   xorg_cv_cc_flag_unused_command_line_argument=yes
   10054 else $as_nop
   10055   xorg_cv_cc_flag_unused_command_line_argument=no
   10056 fi
   10057 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10058 fi
   10059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10060 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10061 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10062 	CFLAGS="$xorg_testset_save_CFLAGS"
   10063 fi
   10064 
   10065 found="no"
   10066 
   10067 	if test $found = "no" ; then
   10068 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10069 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10070 		fi
   10071 
   10072 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10073 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10074 		fi
   10075 
   10076 		CFLAGS="$CFLAGS -Wwrite-strings"
   10077 
   10078 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10079 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10080 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10081 		if eval test \${$cacheid+y}
   10082 then :
   10083   printf %s "(cached) " >&6
   10084 else $as_nop
   10085   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10086 /* end confdefs.h.  */
   10087 int i;
   10088 int
   10089 main (void)
   10090 {
   10091 
   10092   ;
   10093   return 0;
   10094 }
   10095 _ACEOF
   10096 if ac_fn_c_try_link "$LINENO"
   10097 then :
   10098   eval $cacheid=yes
   10099 else $as_nop
   10100   eval $cacheid=no
   10101 fi
   10102 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10103     conftest$ac_exeext conftest.$ac_ext
   10104 fi
   10105 
   10106 
   10107 		CFLAGS="$xorg_testset_save_CFLAGS"
   10108 
   10109 		eval supported=\$$cacheid
   10110 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10111 printf "%s\n" "$supported" >&6; }
   10112 		if test "$supported" = "yes" ; then
   10113 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10114 			found="yes"
   10115 		fi
   10116 	fi
   10117 
   10118 
   10119 
   10120 
   10121 
   10122 
   10123 
   10124 
   10125 
   10126 
   10127 
   10128 
   10129 
   10130 
   10131 
   10132 xorg_testset_save_CFLAGS="$CFLAGS"
   10133 
   10134 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10135 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10136 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10137 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10138 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10139 then :
   10140   printf %s "(cached) " >&6
   10141 else $as_nop
   10142   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10143 /* end confdefs.h.  */
   10144 int i;
   10145 _ACEOF
   10146 if ac_fn_c_try_compile "$LINENO"
   10147 then :
   10148   xorg_cv_cc_flag_unknown_warning_option=yes
   10149 else $as_nop
   10150   xorg_cv_cc_flag_unknown_warning_option=no
   10151 fi
   10152 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10153 fi
   10154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10155 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10156 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10157 	CFLAGS="$xorg_testset_save_CFLAGS"
   10158 fi
   10159 
   10160 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10161 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10162 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10163 	fi
   10164 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10165 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10166 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10167 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10168 then :
   10169   printf %s "(cached) " >&6
   10170 else $as_nop
   10171   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10172 /* end confdefs.h.  */
   10173 int i;
   10174 _ACEOF
   10175 if ac_fn_c_try_compile "$LINENO"
   10176 then :
   10177   xorg_cv_cc_flag_unused_command_line_argument=yes
   10178 else $as_nop
   10179   xorg_cv_cc_flag_unused_command_line_argument=no
   10180 fi
   10181 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10182 fi
   10183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10184 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10185 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10186 	CFLAGS="$xorg_testset_save_CFLAGS"
   10187 fi
   10188 
   10189 found="no"
   10190 
   10191 	if test $found = "no" ; then
   10192 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10193 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10194 		fi
   10195 
   10196 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10197 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10198 		fi
   10199 
   10200 		CFLAGS="$CFLAGS -Waddress"
   10201 
   10202 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10203 printf %s "checking if $CC supports -Waddress... " >&6; }
   10204 		cacheid=xorg_cv_cc_flag__Waddress
   10205 		if eval test \${$cacheid+y}
   10206 then :
   10207   printf %s "(cached) " >&6
   10208 else $as_nop
   10209   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10210 /* end confdefs.h.  */
   10211 int i;
   10212 int
   10213 main (void)
   10214 {
   10215 
   10216   ;
   10217   return 0;
   10218 }
   10219 _ACEOF
   10220 if ac_fn_c_try_link "$LINENO"
   10221 then :
   10222   eval $cacheid=yes
   10223 else $as_nop
   10224   eval $cacheid=no
   10225 fi
   10226 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10227     conftest$ac_exeext conftest.$ac_ext
   10228 fi
   10229 
   10230 
   10231 		CFLAGS="$xorg_testset_save_CFLAGS"
   10232 
   10233 		eval supported=\$$cacheid
   10234 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10235 printf "%s\n" "$supported" >&6; }
   10236 		if test "$supported" = "yes" ; then
   10237 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10238 			found="yes"
   10239 		fi
   10240 	fi
   10241 
   10242 
   10243 
   10244 
   10245 
   10246 
   10247 
   10248 
   10249 
   10250 
   10251 
   10252 
   10253 
   10254 
   10255 
   10256 xorg_testset_save_CFLAGS="$CFLAGS"
   10257 
   10258 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10259 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10260 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10261 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10262 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10263 then :
   10264   printf %s "(cached) " >&6
   10265 else $as_nop
   10266   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10267 /* end confdefs.h.  */
   10268 int i;
   10269 _ACEOF
   10270 if ac_fn_c_try_compile "$LINENO"
   10271 then :
   10272   xorg_cv_cc_flag_unknown_warning_option=yes
   10273 else $as_nop
   10274   xorg_cv_cc_flag_unknown_warning_option=no
   10275 fi
   10276 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10277 fi
   10278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10279 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10280 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10281 	CFLAGS="$xorg_testset_save_CFLAGS"
   10282 fi
   10283 
   10284 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10285 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10286 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10287 	fi
   10288 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10289 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10290 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10291 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10292 then :
   10293   printf %s "(cached) " >&6
   10294 else $as_nop
   10295   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10296 /* end confdefs.h.  */
   10297 int i;
   10298 _ACEOF
   10299 if ac_fn_c_try_compile "$LINENO"
   10300 then :
   10301   xorg_cv_cc_flag_unused_command_line_argument=yes
   10302 else $as_nop
   10303   xorg_cv_cc_flag_unused_command_line_argument=no
   10304 fi
   10305 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10306 fi
   10307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10308 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10309 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10310 	CFLAGS="$xorg_testset_save_CFLAGS"
   10311 fi
   10312 
   10313 found="no"
   10314 
   10315 	if test $found = "no" ; then
   10316 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10317 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10318 		fi
   10319 
   10320 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10321 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10322 		fi
   10323 
   10324 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10325 
   10326 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10327 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10328 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10329 		if eval test \${$cacheid+y}
   10330 then :
   10331   printf %s "(cached) " >&6
   10332 else $as_nop
   10333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10334 /* end confdefs.h.  */
   10335 int i;
   10336 int
   10337 main (void)
   10338 {
   10339 
   10340   ;
   10341   return 0;
   10342 }
   10343 _ACEOF
   10344 if ac_fn_c_try_link "$LINENO"
   10345 then :
   10346   eval $cacheid=yes
   10347 else $as_nop
   10348   eval $cacheid=no
   10349 fi
   10350 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10351     conftest$ac_exeext conftest.$ac_ext
   10352 fi
   10353 
   10354 
   10355 		CFLAGS="$xorg_testset_save_CFLAGS"
   10356 
   10357 		eval supported=\$$cacheid
   10358 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10359 printf "%s\n" "$supported" >&6; }
   10360 		if test "$supported" = "yes" ; then
   10361 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10362 			found="yes"
   10363 		fi
   10364 	fi
   10365 
   10366 
   10367 
   10368 
   10369 
   10370 
   10371 
   10372 
   10373 
   10374 
   10375 
   10376 
   10377 
   10378 
   10379 
   10380 xorg_testset_save_CFLAGS="$CFLAGS"
   10381 
   10382 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10383 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10384 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10385 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10386 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10387 then :
   10388   printf %s "(cached) " >&6
   10389 else $as_nop
   10390   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10391 /* end confdefs.h.  */
   10392 int i;
   10393 _ACEOF
   10394 if ac_fn_c_try_compile "$LINENO"
   10395 then :
   10396   xorg_cv_cc_flag_unknown_warning_option=yes
   10397 else $as_nop
   10398   xorg_cv_cc_flag_unknown_warning_option=no
   10399 fi
   10400 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10401 fi
   10402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10403 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10404 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10405 	CFLAGS="$xorg_testset_save_CFLAGS"
   10406 fi
   10407 
   10408 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10409 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10410 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10411 	fi
   10412 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10413 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10414 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10415 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10416 then :
   10417   printf %s "(cached) " >&6
   10418 else $as_nop
   10419   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10420 /* end confdefs.h.  */
   10421 int i;
   10422 _ACEOF
   10423 if ac_fn_c_try_compile "$LINENO"
   10424 then :
   10425   xorg_cv_cc_flag_unused_command_line_argument=yes
   10426 else $as_nop
   10427   xorg_cv_cc_flag_unused_command_line_argument=no
   10428 fi
   10429 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10430 fi
   10431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10432 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10433 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10434 	CFLAGS="$xorg_testset_save_CFLAGS"
   10435 fi
   10436 
   10437 found="no"
   10438 
   10439 	if test $found = "no" ; then
   10440 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10441 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10442 		fi
   10443 
   10444 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10445 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10446 		fi
   10447 
   10448 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10449 
   10450 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10451 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10452 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10453 		if eval test \${$cacheid+y}
   10454 then :
   10455   printf %s "(cached) " >&6
   10456 else $as_nop
   10457   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10458 /* end confdefs.h.  */
   10459 int i;
   10460 int
   10461 main (void)
   10462 {
   10463 
   10464   ;
   10465   return 0;
   10466 }
   10467 _ACEOF
   10468 if ac_fn_c_try_link "$LINENO"
   10469 then :
   10470   eval $cacheid=yes
   10471 else $as_nop
   10472   eval $cacheid=no
   10473 fi
   10474 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10475     conftest$ac_exeext conftest.$ac_ext
   10476 fi
   10477 
   10478 
   10479 		CFLAGS="$xorg_testset_save_CFLAGS"
   10480 
   10481 		eval supported=\$$cacheid
   10482 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10483 printf "%s\n" "$supported" >&6; }
   10484 		if test "$supported" = "yes" ; then
   10485 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10486 			found="yes"
   10487 		fi
   10488 	fi
   10489 
   10490 
   10491 fi
   10492 
   10493 
   10494 
   10495 
   10496 
   10497 
   10498 
   10499 		CWARNFLAGS="$BASE_CFLAGS"
   10500 		if  test "x$GCC" = xyes ; then
   10501 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10502 		fi
   10503 
   10504 
   10505 
   10506 
   10507 
   10508 
   10509 
   10510 
   10511 # Check whether --enable-strict-compilation was given.
   10512 if test ${enable_strict_compilation+y}
   10513 then :
   10514   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10515 else $as_nop
   10516   STRICT_COMPILE=no
   10517 fi
   10518 
   10519 
   10520 
   10521 
   10522 
   10523 
   10524 STRICT_CFLAGS=""
   10525 
   10526 
   10527 
   10528 
   10529 
   10530 
   10531 
   10532 
   10533 
   10534 
   10535 
   10536 
   10537 
   10538 xorg_testset_save_CFLAGS="$CFLAGS"
   10539 
   10540 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10541 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10542 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10543 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10544 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10545 then :
   10546   printf %s "(cached) " >&6
   10547 else $as_nop
   10548   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10549 /* end confdefs.h.  */
   10550 int i;
   10551 _ACEOF
   10552 if ac_fn_c_try_compile "$LINENO"
   10553 then :
   10554   xorg_cv_cc_flag_unknown_warning_option=yes
   10555 else $as_nop
   10556   xorg_cv_cc_flag_unknown_warning_option=no
   10557 fi
   10558 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10559 fi
   10560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10561 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10562 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10563 	CFLAGS="$xorg_testset_save_CFLAGS"
   10564 fi
   10565 
   10566 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10567 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10568 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10569 	fi
   10570 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10571 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10572 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10573 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10574 then :
   10575   printf %s "(cached) " >&6
   10576 else $as_nop
   10577   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10578 /* end confdefs.h.  */
   10579 int i;
   10580 _ACEOF
   10581 if ac_fn_c_try_compile "$LINENO"
   10582 then :
   10583   xorg_cv_cc_flag_unused_command_line_argument=yes
   10584 else $as_nop
   10585   xorg_cv_cc_flag_unused_command_line_argument=no
   10586 fi
   10587 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10588 fi
   10589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10590 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10591 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10592 	CFLAGS="$xorg_testset_save_CFLAGS"
   10593 fi
   10594 
   10595 found="no"
   10596 
   10597 	if test $found = "no" ; then
   10598 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10599 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10600 		fi
   10601 
   10602 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10603 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10604 		fi
   10605 
   10606 		CFLAGS="$CFLAGS -pedantic"
   10607 
   10608 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10609 printf %s "checking if $CC supports -pedantic... " >&6; }
   10610 		cacheid=xorg_cv_cc_flag__pedantic
   10611 		if eval test \${$cacheid+y}
   10612 then :
   10613   printf %s "(cached) " >&6
   10614 else $as_nop
   10615   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10616 /* end confdefs.h.  */
   10617 int i;
   10618 int
   10619 main (void)
   10620 {
   10621 
   10622   ;
   10623   return 0;
   10624 }
   10625 _ACEOF
   10626 if ac_fn_c_try_link "$LINENO"
   10627 then :
   10628   eval $cacheid=yes
   10629 else $as_nop
   10630   eval $cacheid=no
   10631 fi
   10632 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10633     conftest$ac_exeext conftest.$ac_ext
   10634 fi
   10635 
   10636 
   10637 		CFLAGS="$xorg_testset_save_CFLAGS"
   10638 
   10639 		eval supported=\$$cacheid
   10640 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10641 printf "%s\n" "$supported" >&6; }
   10642 		if test "$supported" = "yes" ; then
   10643 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10644 			found="yes"
   10645 		fi
   10646 	fi
   10647 
   10648 
   10649 
   10650 
   10651 
   10652 
   10653 
   10654 
   10655 
   10656 
   10657 
   10658 
   10659 
   10660 
   10661 
   10662 xorg_testset_save_CFLAGS="$CFLAGS"
   10663 
   10664 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10665 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10666 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10667 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10668 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10669 then :
   10670   printf %s "(cached) " >&6
   10671 else $as_nop
   10672   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10673 /* end confdefs.h.  */
   10674 int i;
   10675 _ACEOF
   10676 if ac_fn_c_try_compile "$LINENO"
   10677 then :
   10678   xorg_cv_cc_flag_unknown_warning_option=yes
   10679 else $as_nop
   10680   xorg_cv_cc_flag_unknown_warning_option=no
   10681 fi
   10682 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10683 fi
   10684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10685 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10686 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10687 	CFLAGS="$xorg_testset_save_CFLAGS"
   10688 fi
   10689 
   10690 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10691 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10692 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10693 	fi
   10694 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10695 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10696 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10697 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10698 then :
   10699   printf %s "(cached) " >&6
   10700 else $as_nop
   10701   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10702 /* end confdefs.h.  */
   10703 int i;
   10704 _ACEOF
   10705 if ac_fn_c_try_compile "$LINENO"
   10706 then :
   10707   xorg_cv_cc_flag_unused_command_line_argument=yes
   10708 else $as_nop
   10709   xorg_cv_cc_flag_unused_command_line_argument=no
   10710 fi
   10711 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10712 fi
   10713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10714 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10715 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10716 	CFLAGS="$xorg_testset_save_CFLAGS"
   10717 fi
   10718 
   10719 found="no"
   10720 
   10721 	if test $found = "no" ; then
   10722 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10723 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10724 		fi
   10725 
   10726 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10727 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10728 		fi
   10729 
   10730 		CFLAGS="$CFLAGS -Werror"
   10731 
   10732 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10733 printf %s "checking if $CC supports -Werror... " >&6; }
   10734 		cacheid=xorg_cv_cc_flag__Werror
   10735 		if eval test \${$cacheid+y}
   10736 then :
   10737   printf %s "(cached) " >&6
   10738 else $as_nop
   10739   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10740 /* end confdefs.h.  */
   10741 int i;
   10742 int
   10743 main (void)
   10744 {
   10745 
   10746   ;
   10747   return 0;
   10748 }
   10749 _ACEOF
   10750 if ac_fn_c_try_link "$LINENO"
   10751 then :
   10752   eval $cacheid=yes
   10753 else $as_nop
   10754   eval $cacheid=no
   10755 fi
   10756 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10757     conftest$ac_exeext conftest.$ac_ext
   10758 fi
   10759 
   10760 
   10761 		CFLAGS="$xorg_testset_save_CFLAGS"
   10762 
   10763 		eval supported=\$$cacheid
   10764 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10765 printf "%s\n" "$supported" >&6; }
   10766 		if test "$supported" = "yes" ; then
   10767 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10768 			found="yes"
   10769 		fi
   10770 	fi
   10771 
   10772 	if test $found = "no" ; then
   10773 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10774 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10775 		fi
   10776 
   10777 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10778 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10779 		fi
   10780 
   10781 		CFLAGS="$CFLAGS -errwarn"
   10782 
   10783 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10784 printf %s "checking if $CC supports -errwarn... " >&6; }
   10785 		cacheid=xorg_cv_cc_flag__errwarn
   10786 		if eval test \${$cacheid+y}
   10787 then :
   10788   printf %s "(cached) " >&6
   10789 else $as_nop
   10790   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10791 /* end confdefs.h.  */
   10792 int i;
   10793 int
   10794 main (void)
   10795 {
   10796 
   10797   ;
   10798   return 0;
   10799 }
   10800 _ACEOF
   10801 if ac_fn_c_try_link "$LINENO"
   10802 then :
   10803   eval $cacheid=yes
   10804 else $as_nop
   10805   eval $cacheid=no
   10806 fi
   10807 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10808     conftest$ac_exeext conftest.$ac_ext
   10809 fi
   10810 
   10811 
   10812 		CFLAGS="$xorg_testset_save_CFLAGS"
   10813 
   10814 		eval supported=\$$cacheid
   10815 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10816 printf "%s\n" "$supported" >&6; }
   10817 		if test "$supported" = "yes" ; then
   10818 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10819 			found="yes"
   10820 		fi
   10821 	fi
   10822 
   10823 
   10824 
   10825 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10826 # activate it with -Werror, so we add it here explicitly.
   10827 
   10828 
   10829 
   10830 
   10831 
   10832 
   10833 
   10834 
   10835 
   10836 
   10837 
   10838 
   10839 
   10840 xorg_testset_save_CFLAGS="$CFLAGS"
   10841 
   10842 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10843 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10844 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10845 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10846 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10847 then :
   10848   printf %s "(cached) " >&6
   10849 else $as_nop
   10850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10851 /* end confdefs.h.  */
   10852 int i;
   10853 _ACEOF
   10854 if ac_fn_c_try_compile "$LINENO"
   10855 then :
   10856   xorg_cv_cc_flag_unknown_warning_option=yes
   10857 else $as_nop
   10858   xorg_cv_cc_flag_unknown_warning_option=no
   10859 fi
   10860 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10861 fi
   10862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10863 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10864 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10865 	CFLAGS="$xorg_testset_save_CFLAGS"
   10866 fi
   10867 
   10868 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10869 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10870 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10871 	fi
   10872 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10873 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10874 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10875 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10876 then :
   10877   printf %s "(cached) " >&6
   10878 else $as_nop
   10879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10880 /* end confdefs.h.  */
   10881 int i;
   10882 _ACEOF
   10883 if ac_fn_c_try_compile "$LINENO"
   10884 then :
   10885   xorg_cv_cc_flag_unused_command_line_argument=yes
   10886 else $as_nop
   10887   xorg_cv_cc_flag_unused_command_line_argument=no
   10888 fi
   10889 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10890 fi
   10891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10892 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10893 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10894 	CFLAGS="$xorg_testset_save_CFLAGS"
   10895 fi
   10896 
   10897 found="no"
   10898 
   10899 	if test $found = "no" ; then
   10900 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10901 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10902 		fi
   10903 
   10904 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10905 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10906 		fi
   10907 
   10908 		CFLAGS="$CFLAGS -Werror=attributes"
   10909 
   10910 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10911 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   10912 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10913 		if eval test \${$cacheid+y}
   10914 then :
   10915   printf %s "(cached) " >&6
   10916 else $as_nop
   10917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10918 /* end confdefs.h.  */
   10919 int i;
   10920 int
   10921 main (void)
   10922 {
   10923 
   10924   ;
   10925   return 0;
   10926 }
   10927 _ACEOF
   10928 if ac_fn_c_try_link "$LINENO"
   10929 then :
   10930   eval $cacheid=yes
   10931 else $as_nop
   10932   eval $cacheid=no
   10933 fi
   10934 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10935     conftest$ac_exeext conftest.$ac_ext
   10936 fi
   10937 
   10938 
   10939 		CFLAGS="$xorg_testset_save_CFLAGS"
   10940 
   10941 		eval supported=\$$cacheid
   10942 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10943 printf "%s\n" "$supported" >&6; }
   10944 		if test "$supported" = "yes" ; then
   10945 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10946 			found="yes"
   10947 		fi
   10948 	fi
   10949 
   10950 
   10951 
   10952 if test "x$STRICT_COMPILE" = "xyes"; then
   10953     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10954     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10955 fi
   10956 
   10957 
   10958 
   10959 
   10960 
   10961 
   10962 cat >>confdefs.h <<_ACEOF
   10963 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10964 _ACEOF
   10965 
   10966 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10967 	if test "x$PVM" = "x"; then
   10968 		PVM="0"
   10969 	fi
   10970 
   10971 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   10972 
   10973 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10974 	if test "x$PVP" = "x"; then
   10975 		PVP="0"
   10976 	fi
   10977 
   10978 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   10979 
   10980 
   10981 
   10982 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   10983 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10984 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   10985 touch \$(top_srcdir)/ChangeLog; \
   10986 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   10987 
   10988 
   10989 
   10990 
   10991 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10992 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10993 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10994 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   10995 touch \$(top_srcdir)/INSTALL; \
   10996 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   10997 
   10998 
   10999 
   11000 
   11001 
   11002 
   11003 case $host_os in
   11004     solaris*)
   11005         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11006         # check for a man page file found in later versions that use
   11007         # traditional section numbers instead
   11008         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11009 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11010 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11011 then :
   11012   printf %s "(cached) " >&6
   11013 else $as_nop
   11014   test "$cross_compiling" = yes &&
   11015   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11016 if test -r "/usr/share/man/man7/attributes.7"; then
   11017   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11018 else
   11019   ac_cv_file__usr_share_man_man7_attributes_7=no
   11020 fi
   11021 fi
   11022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11023 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11024 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11025 then :
   11026   SYSV_MAN_SECTIONS=false
   11027 else $as_nop
   11028   SYSV_MAN_SECTIONS=true
   11029 fi
   11030 
   11031         ;;
   11032     *) SYSV_MAN_SECTIONS=false ;;
   11033 esac
   11034 
   11035 if test x$APP_MAN_SUFFIX = x    ; then
   11036     APP_MAN_SUFFIX=1
   11037 fi
   11038 if test x$APP_MAN_DIR = x    ; then
   11039     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11040 fi
   11041 
   11042 if test x$LIB_MAN_SUFFIX = x    ; then
   11043     LIB_MAN_SUFFIX=3
   11044 fi
   11045 if test x$LIB_MAN_DIR = x    ; then
   11046     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11047 fi
   11048 
   11049 if test x$FILE_MAN_SUFFIX = x    ; then
   11050     case $SYSV_MAN_SECTIONS in
   11051 	true)				FILE_MAN_SUFFIX=4  ;;
   11052 	*)				FILE_MAN_SUFFIX=5  ;;
   11053     esac
   11054 fi
   11055 if test x$FILE_MAN_DIR = x    ; then
   11056     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11057 fi
   11058 
   11059 if test x$MISC_MAN_SUFFIX = x    ; then
   11060     case $SYSV_MAN_SECTIONS in
   11061 	true)				MISC_MAN_SUFFIX=5  ;;
   11062 	*)				MISC_MAN_SUFFIX=7  ;;
   11063     esac
   11064 fi
   11065 if test x$MISC_MAN_DIR = x    ; then
   11066     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11067 fi
   11068 
   11069 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11070     case $SYSV_MAN_SECTIONS in
   11071 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11072 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11073     esac
   11074 fi
   11075 if test x$DRIVER_MAN_DIR = x    ; then
   11076     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11077 fi
   11078 
   11079 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11080     case $SYSV_MAN_SECTIONS in
   11081 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11082 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11083     esac
   11084 fi
   11085 if test x$ADMIN_MAN_DIR = x    ; then
   11086     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11087 fi
   11088 
   11089 
   11090 
   11091 
   11092 
   11093 
   11094 
   11095 
   11096 
   11097 
   11098 
   11099 
   11100 
   11101 
   11102 
   11103 XORG_MAN_PAGE="X Version 11"
   11104 
   11105 MAN_SUBSTS="\
   11106 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11107 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11108 	-e 's|__xservername__|Xorg|g' \
   11109 	-e 's|__xconfigfile__|xorg.conf|g' \
   11110 	-e 's|__projectroot__|\$(prefix)|g' \
   11111 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11112 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11113 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11114 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11115 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11116 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11117 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11118 
   11119 
   11120 
   11121 # Check whether --enable-silent-rules was given.
   11122 if test ${enable_silent_rules+y}
   11123 then :
   11124   enableval=$enable_silent_rules;
   11125 fi
   11126 
   11127 case $enable_silent_rules in # (((
   11128   yes) AM_DEFAULT_VERBOSITY=0;;
   11129    no) AM_DEFAULT_VERBOSITY=1;;
   11130     *) AM_DEFAULT_VERBOSITY=0;;
   11131 esac
   11132 am_make=${MAKE-make}
   11133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11134 printf %s "checking whether $am_make supports nested variables... " >&6; }
   11135 if test ${am_cv_make_support_nested_variables+y}
   11136 then :
   11137   printf %s "(cached) " >&6
   11138 else $as_nop
   11139   if printf "%s\n" 'TRUE=$(BAR$(V))
   11140 BAR0=false
   11141 BAR1=true
   11142 V=1
   11143 am__doit:
   11144 	@$(TRUE)
   11145 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11146   am_cv_make_support_nested_variables=yes
   11147 else
   11148   am_cv_make_support_nested_variables=no
   11149 fi
   11150 fi
   11151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11152 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   11153 if test $am_cv_make_support_nested_variables = yes; then
   11154     AM_V='$(V)'
   11155   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11156 else
   11157   AM_V=$AM_DEFAULT_VERBOSITY
   11158   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11159 fi
   11160 AM_BACKSLASH='\'
   11161 
   11162 
   11163 
   11164 
   11165 # Check whether --with-rsh was given.
   11166 if test ${with_rsh+y}
   11167 then :
   11168   withval=$with_rsh;  rsh="$withval"
   11169 else $as_nop
   11170    rsh=${bindir}/ssh
   11171 fi
   11172 
   11173 RSH=$rsh
   11174 
   11175 
   11176 ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
   11177 if test "x$ac_cv_func_mkstemp" = xyes
   11178 then :
   11179   printf "%s\n" "#define HAVE_MKSTEMP 1" >>confdefs.h
   11180 
   11181 fi
   11182 ac_fn_c_check_func "$LINENO" "putenv" "ac_cv_func_putenv"
   11183 if test "x$ac_cv_func_putenv" = xyes
   11184 then :
   11185   printf "%s\n" "#define HAVE_PUTENV 1" >>confdefs.h
   11186 
   11187 fi
   11188 
   11189 
   11190 # Checks for pkg-config packages
   11191 
   11192 pkg_failed=no
   11193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XSM" >&5
   11194 printf %s "checking for XSM... " >&6; }
   11195 
   11196 if test -n "$XSM_CFLAGS"; then
   11197     pkg_cv_XSM_CFLAGS="$XSM_CFLAGS"
   11198  elif test -n "$PKG_CONFIG"; then
   11199     if test -n "$PKG_CONFIG" && \
   11200     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xt > 1.0.99 ice sm xaw7 xproto >= 7.0.17\""; } >&5
   11201   ($PKG_CONFIG --exists --print-errors "x11 xt > 1.0.99 ice sm xaw7 xproto >= 7.0.17") 2>&5
   11202   ac_status=$?
   11203   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11204   test $ac_status = 0; }; then
   11205   pkg_cv_XSM_CFLAGS=`$PKG_CONFIG --cflags "x11 xt > 1.0.99 ice sm xaw7 xproto >= 7.0.17" 2>/dev/null`
   11206 		      test "x$?" != "x0" && pkg_failed=yes
   11207 else
   11208   pkg_failed=yes
   11209 fi
   11210  else
   11211     pkg_failed=untried
   11212 fi
   11213 if test -n "$XSM_LIBS"; then
   11214     pkg_cv_XSM_LIBS="$XSM_LIBS"
   11215  elif test -n "$PKG_CONFIG"; then
   11216     if test -n "$PKG_CONFIG" && \
   11217     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xt > 1.0.99 ice sm xaw7 xproto >= 7.0.17\""; } >&5
   11218   ($PKG_CONFIG --exists --print-errors "x11 xt > 1.0.99 ice sm xaw7 xproto >= 7.0.17") 2>&5
   11219   ac_status=$?
   11220   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11221   test $ac_status = 0; }; then
   11222   pkg_cv_XSM_LIBS=`$PKG_CONFIG --libs "x11 xt > 1.0.99 ice sm xaw7 xproto >= 7.0.17" 2>/dev/null`
   11223 		      test "x$?" != "x0" && pkg_failed=yes
   11224 else
   11225   pkg_failed=yes
   11226 fi
   11227  else
   11228     pkg_failed=untried
   11229 fi
   11230 
   11231 
   11232 
   11233 if test $pkg_failed = yes; then
   11234    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11235 printf "%s\n" "no" >&6; }
   11236 
   11237 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11238         _pkg_short_errors_supported=yes
   11239 else
   11240         _pkg_short_errors_supported=no
   11241 fi
   11242         if test $_pkg_short_errors_supported = yes; then
   11243 	        XSM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 xt > 1.0.99 ice sm xaw7 xproto >= 7.0.17" 2>&1`
   11244         else
   11245 	        XSM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 xt > 1.0.99 ice sm xaw7 xproto >= 7.0.17" 2>&1`
   11246         fi
   11247 	# Put the nasty error message in config.log where it belongs
   11248 	echo "$XSM_PKG_ERRORS" >&5
   11249 
   11250 	as_fn_error $? "Package requirements (x11 xt > 1.0.99 ice sm xaw7 xproto >= 7.0.17) were not met:
   11251 
   11252 $XSM_PKG_ERRORS
   11253 
   11254 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11255 installed software in a non-standard prefix.
   11256 
   11257 Alternatively, you may set the environment variables XSM_CFLAGS
   11258 and XSM_LIBS to avoid the need to call pkg-config.
   11259 See the pkg-config man page for more details." "$LINENO" 5
   11260 elif test $pkg_failed = untried; then
   11261      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11262 printf "%s\n" "no" >&6; }
   11263 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11264 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   11265 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11266 is in your PATH or set the PKG_CONFIG environment variable to the full
   11267 path to pkg-config.
   11268 
   11269 Alternatively, you may set the environment variables XSM_CFLAGS
   11270 and XSM_LIBS to avoid the need to call pkg-config.
   11271 See the pkg-config man page for more details.
   11272 
   11273 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11274 See \`config.log' for more details" "$LINENO" 5; }
   11275 else
   11276 	XSM_CFLAGS=$pkg_cv_XSM_CFLAGS
   11277 	XSM_LIBS=$pkg_cv_XSM_LIBS
   11278         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11279 printf "%s\n" "yes" >&6; }
   11280 
   11281 fi
   11282 
   11283 xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
   11284 
   11285 # Check whether --with-appdefaultdir was given.
   11286 if test ${with_appdefaultdir+y}
   11287 then :
   11288   withval=$with_appdefaultdir; appdefaultdir="$withval"
   11289 else $as_nop
   11290   appdefaultdir="${xt_appdefaultdir}"
   11291 fi
   11292 
   11293 
   11294 
   11295 
   11296 ac_config_files="$ac_config_files Makefile man/Makefile"
   11297 
   11298 cat >confcache <<\_ACEOF
   11299 # This file is a shell script that caches the results of configure
   11300 # tests run on this system so they can be shared between configure
   11301 # scripts and configure runs, see configure's option --config-cache.
   11302 # It is not useful on other systems.  If it contains results you don't
   11303 # want to keep, you may remove or edit it.
   11304 #
   11305 # config.status only pays attention to the cache file if you give it
   11306 # the --recheck option to rerun configure.
   11307 #
   11308 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11309 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11310 # following values.
   11311 
   11312 _ACEOF
   11313 
   11314 # The following way of writing the cache mishandles newlines in values,
   11315 # but we know of no workaround that is simple, portable, and efficient.
   11316 # So, we kill variables containing newlines.
   11317 # Ultrix sh set writes to stderr and can't be redirected directly,
   11318 # and sets the high bit in the cache file unless we assign to the vars.
   11319 (
   11320   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11321     eval ac_val=\$$ac_var
   11322     case $ac_val in #(
   11323     *${as_nl}*)
   11324       case $ac_var in #(
   11325       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11326 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11327       esac
   11328       case $ac_var in #(
   11329       _ | IFS | as_nl) ;; #(
   11330       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11331       *) { eval $ac_var=; unset $ac_var;} ;;
   11332       esac ;;
   11333     esac
   11334   done
   11335 
   11336   (set) 2>&1 |
   11337     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11338     *${as_nl}ac_space=\ *)
   11339       # `set' does not quote correctly, so add quotes: double-quote
   11340       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11341       sed -n \
   11342 	"s/'/'\\\\''/g;
   11343 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11344       ;; #(
   11345     *)
   11346       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11347       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11348       ;;
   11349     esac |
   11350     sort
   11351 ) |
   11352   sed '
   11353      /^ac_cv_env_/b end
   11354      t clear
   11355      :clear
   11356      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   11357      t end
   11358      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11359      :end' >>confcache
   11360 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11361   if test -w "$cache_file"; then
   11362     if test "x$cache_file" != "x/dev/null"; then
   11363       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11364 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   11365       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11366 	cat confcache >"$cache_file"
   11367       else
   11368         case $cache_file in #(
   11369         */* | ?:*)
   11370 	  mv -f confcache "$cache_file"$$ &&
   11371 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11372         *)
   11373 	  mv -f confcache "$cache_file" ;;
   11374 	esac
   11375       fi
   11376     fi
   11377   else
   11378     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11379 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   11380   fi
   11381 fi
   11382 rm -f confcache
   11383 
   11384 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11385 # Let make expand exec_prefix.
   11386 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11387 
   11388 DEFS=-DHAVE_CONFIG_H
   11389 
   11390 ac_libobjs=
   11391 ac_ltlibobjs=
   11392 U=
   11393 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11394   # 1. Remove the extension, and $U if already installed.
   11395   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11396   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   11397   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11398   #    will be set to the directory where LIBOBJS objects are built.
   11399   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11400   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11401 done
   11402 LIBOBJS=$ac_libobjs
   11403 
   11404 LTLIBOBJS=$ac_ltlibobjs
   11405 
   11406 
   11407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11408 printf %s "checking that generated files are newer than configure... " >&6; }
   11409    if test -n "$am_sleep_pid"; then
   11410      # Hide warnings about reused PIDs.
   11411      wait $am_sleep_pid 2>/dev/null
   11412    fi
   11413    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11414 printf "%s\n" "done" >&6; }
   11415  if test -n "$EXEEXT"; then
   11416   am__EXEEXT_TRUE=
   11417   am__EXEEXT_FALSE='#'
   11418 else
   11419   am__EXEEXT_TRUE='#'
   11420   am__EXEEXT_FALSE=
   11421 fi
   11422 
   11423 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11424   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11425 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11426 fi
   11427 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11428   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11429 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11430 fi
   11431 
   11432 : "${CONFIG_STATUS=./config.status}"
   11433 ac_write_fail=0
   11434 ac_clean_files_save=$ac_clean_files
   11435 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11437 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   11438 as_write_fail=0
   11439 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11440 #! $SHELL
   11441 # Generated by $as_me.
   11442 # Run this file to recreate the current configuration.
   11443 # Compiler output produced by configure, useful for debugging
   11444 # configure, is in config.log if it exists.
   11445 
   11446 debug=false
   11447 ac_cs_recheck=false
   11448 ac_cs_silent=false
   11449 
   11450 SHELL=\${CONFIG_SHELL-$SHELL}
   11451 export SHELL
   11452 _ASEOF
   11453 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11454 ## -------------------- ##
   11455 ## M4sh Initialization. ##
   11456 ## -------------------- ##
   11457 
   11458 # Be more Bourne compatible
   11459 DUALCASE=1; export DUALCASE # for MKS sh
   11460 as_nop=:
   11461 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   11462 then :
   11463   emulate sh
   11464   NULLCMD=:
   11465   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11466   # is contrary to our usage.  Disable this feature.
   11467   alias -g '${1+"$@"}'='"$@"'
   11468   setopt NO_GLOB_SUBST
   11469 else $as_nop
   11470   case `(set -o) 2>/dev/null` in #(
   11471   *posix*) :
   11472     set -o posix ;; #(
   11473   *) :
   11474      ;;
   11475 esac
   11476 fi
   11477 
   11478 
   11479 
   11480 # Reset variables that may have inherited troublesome values from
   11481 # the environment.
   11482 
   11483 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   11484 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   11485 # side effect of setting IFS to empty, thus disabling word splitting.)
   11486 # Quoting is to prevent editors from complaining about space-tab.
   11487 as_nl='
   11488 '
   11489 export as_nl
   11490 IFS=" ""	$as_nl"
   11491 
   11492 PS1='$ '
   11493 PS2='> '
   11494 PS4='+ '
   11495 
   11496 # Ensure predictable behavior from utilities with locale-dependent output.
   11497 LC_ALL=C
   11498 export LC_ALL
   11499 LANGUAGE=C
   11500 export LANGUAGE
   11501 
   11502 # We cannot yet rely on "unset" to work, but we need these variables
   11503 # to be unset--not just set to an empty or harmless value--now, to
   11504 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   11505 # also avoids known problems related to "unset" and subshell syntax
   11506 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   11507 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   11508 do eval test \${$as_var+y} \
   11509   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11510 done
   11511 
   11512 # Ensure that fds 0, 1, and 2 are open.
   11513 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   11514 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   11515 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   11516 
   11517 # The user is always right.
   11518 if ${PATH_SEPARATOR+false} :; then
   11519   PATH_SEPARATOR=:
   11520   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11521     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11522       PATH_SEPARATOR=';'
   11523   }
   11524 fi
   11525 
   11526 
   11527 # Find who we are.  Look in the path if we contain no directory separator.
   11528 as_myself=
   11529 case $0 in #((
   11530   *[\\/]* ) as_myself=$0 ;;
   11531   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11532 for as_dir in $PATH
   11533 do
   11534   IFS=$as_save_IFS
   11535   case $as_dir in #(((
   11536     '') as_dir=./ ;;
   11537     */) ;;
   11538     *) as_dir=$as_dir/ ;;
   11539   esac
   11540     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   11541   done
   11542 IFS=$as_save_IFS
   11543 
   11544      ;;
   11545 esac
   11546 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11547 # in which case we are not to be found in the path.
   11548 if test "x$as_myself" = x; then
   11549   as_myself=$0
   11550 fi
   11551 if test ! -f "$as_myself"; then
   11552   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11553   exit 1
   11554 fi
   11555 
   11556 
   11557 
   11558 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11559 # ----------------------------------------
   11560 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11561 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11562 # script with STATUS, using 1 if that was 0.
   11563 as_fn_error ()
   11564 {
   11565   as_status=$1; test $as_status -eq 0 && as_status=1
   11566   if test "$4"; then
   11567     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11568     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11569   fi
   11570   printf "%s\n" "$as_me: error: $2" >&2
   11571   as_fn_exit $as_status
   11572 } # as_fn_error
   11573 
   11574 
   11575 
   11576 # as_fn_set_status STATUS
   11577 # -----------------------
   11578 # Set $? to STATUS, without forking.
   11579 as_fn_set_status ()
   11580 {
   11581   return $1
   11582 } # as_fn_set_status
   11583 
   11584 # as_fn_exit STATUS
   11585 # -----------------
   11586 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11587 as_fn_exit ()
   11588 {
   11589   set +e
   11590   as_fn_set_status $1
   11591   exit $1
   11592 } # as_fn_exit
   11593 
   11594 # as_fn_unset VAR
   11595 # ---------------
   11596 # Portably unset VAR.
   11597 as_fn_unset ()
   11598 {
   11599   { eval $1=; unset $1;}
   11600 }
   11601 as_unset=as_fn_unset
   11602 
   11603 # as_fn_append VAR VALUE
   11604 # ----------------------
   11605 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11606 # advantage of any shell optimizations that allow amortized linear growth over
   11607 # repeated appends, instead of the typical quadratic growth present in naive
   11608 # implementations.
   11609 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   11610 then :
   11611   eval 'as_fn_append ()
   11612   {
   11613     eval $1+=\$2
   11614   }'
   11615 else $as_nop
   11616   as_fn_append ()
   11617   {
   11618     eval $1=\$$1\$2
   11619   }
   11620 fi # as_fn_append
   11621 
   11622 # as_fn_arith ARG...
   11623 # ------------------
   11624 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11625 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11626 # must be portable across $(()) and expr.
   11627 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   11628 then :
   11629   eval 'as_fn_arith ()
   11630   {
   11631     as_val=$(( $* ))
   11632   }'
   11633 else $as_nop
   11634   as_fn_arith ()
   11635   {
   11636     as_val=`expr "$@" || test $? -eq 1`
   11637   }
   11638 fi # as_fn_arith
   11639 
   11640 
   11641 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11642    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11643   as_expr=expr
   11644 else
   11645   as_expr=false
   11646 fi
   11647 
   11648 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11649   as_basename=basename
   11650 else
   11651   as_basename=false
   11652 fi
   11653 
   11654 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11655   as_dirname=dirname
   11656 else
   11657   as_dirname=false
   11658 fi
   11659 
   11660 as_me=`$as_basename -- "$0" ||
   11661 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11662 	 X"$0" : 'X\(//\)$' \| \
   11663 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11664 printf "%s\n" X/"$0" |
   11665     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11666 	    s//\1/
   11667 	    q
   11668 	  }
   11669 	  /^X\/\(\/\/\)$/{
   11670 	    s//\1/
   11671 	    q
   11672 	  }
   11673 	  /^X\/\(\/\).*/{
   11674 	    s//\1/
   11675 	    q
   11676 	  }
   11677 	  s/.*/./; q'`
   11678 
   11679 # Avoid depending upon Character Ranges.
   11680 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11681 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11682 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11683 as_cr_digits='0123456789'
   11684 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11685 
   11686 
   11687 # Determine whether it's possible to make 'echo' print without a newline.
   11688 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   11689 # for compatibility with existing Makefiles.
   11690 ECHO_C= ECHO_N= ECHO_T=
   11691 case `echo -n x` in #(((((
   11692 -n*)
   11693   case `echo 'xy\c'` in
   11694   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11695   xy)  ECHO_C='\c';;
   11696   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11697        ECHO_T='	';;
   11698   esac;;
   11699 *)
   11700   ECHO_N='-n';;
   11701 esac
   11702 
   11703 # For backward compatibility with old third-party macros, we provide
   11704 # the shell variables $as_echo and $as_echo_n.  New code should use
   11705 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   11706 as_echo='printf %s\n'
   11707 as_echo_n='printf %s'
   11708 
   11709 rm -f conf$$ conf$$.exe conf$$.file
   11710 if test -d conf$$.dir; then
   11711   rm -f conf$$.dir/conf$$.file
   11712 else
   11713   rm -f conf$$.dir
   11714   mkdir conf$$.dir 2>/dev/null
   11715 fi
   11716 if (echo >conf$$.file) 2>/dev/null; then
   11717   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11718     as_ln_s='ln -s'
   11719     # ... but there are two gotchas:
   11720     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11721     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11722     # In both cases, we have to default to `cp -pR'.
   11723     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11724       as_ln_s='cp -pR'
   11725   elif ln conf$$.file conf$$ 2>/dev/null; then
   11726     as_ln_s=ln
   11727   else
   11728     as_ln_s='cp -pR'
   11729   fi
   11730 else
   11731   as_ln_s='cp -pR'
   11732 fi
   11733 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11734 rmdir conf$$.dir 2>/dev/null
   11735 
   11736 
   11737 # as_fn_mkdir_p
   11738 # -------------
   11739 # Create "$as_dir" as a directory, including parents if necessary.
   11740 as_fn_mkdir_p ()
   11741 {
   11742 
   11743   case $as_dir in #(
   11744   -*) as_dir=./$as_dir;;
   11745   esac
   11746   test -d "$as_dir" || eval $as_mkdir_p || {
   11747     as_dirs=
   11748     while :; do
   11749       case $as_dir in #(
   11750       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11751       *) as_qdir=$as_dir;;
   11752       esac
   11753       as_dirs="'$as_qdir' $as_dirs"
   11754       as_dir=`$as_dirname -- "$as_dir" ||
   11755 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11756 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11757 	 X"$as_dir" : 'X\(//\)$' \| \
   11758 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11759 printf "%s\n" X"$as_dir" |
   11760     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11761 	    s//\1/
   11762 	    q
   11763 	  }
   11764 	  /^X\(\/\/\)[^/].*/{
   11765 	    s//\1/
   11766 	    q
   11767 	  }
   11768 	  /^X\(\/\/\)$/{
   11769 	    s//\1/
   11770 	    q
   11771 	  }
   11772 	  /^X\(\/\).*/{
   11773 	    s//\1/
   11774 	    q
   11775 	  }
   11776 	  s/.*/./; q'`
   11777       test -d "$as_dir" && break
   11778     done
   11779     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11780   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11781 
   11782 
   11783 } # as_fn_mkdir_p
   11784 if mkdir -p . 2>/dev/null; then
   11785   as_mkdir_p='mkdir -p "$as_dir"'
   11786 else
   11787   test -d ./-p && rmdir ./-p
   11788   as_mkdir_p=false
   11789 fi
   11790 
   11791 
   11792 # as_fn_executable_p FILE
   11793 # -----------------------
   11794 # Test if FILE is an executable regular file.
   11795 as_fn_executable_p ()
   11796 {
   11797   test -f "$1" && test -x "$1"
   11798 } # as_fn_executable_p
   11799 as_test_x='test -x'
   11800 as_executable_p=as_fn_executable_p
   11801 
   11802 # Sed expression to map a string onto a valid CPP name.
   11803 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11804 
   11805 # Sed expression to map a string onto a valid variable name.
   11806 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11807 
   11808 
   11809 exec 6>&1
   11810 ## ----------------------------------- ##
   11811 ## Main body of $CONFIG_STATUS script. ##
   11812 ## ----------------------------------- ##
   11813 _ASEOF
   11814 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11815 
   11816 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11817 # Save the log message, to keep $0 and so on meaningful, and to
   11818 # report actual input values of CONFIG_FILES etc. instead of their
   11819 # values after options handling.
   11820 ac_log="
   11821 This file was extended by xsm $as_me 1.0.5, which was
   11822 generated by GNU Autoconf 2.71.  Invocation command line was
   11823 
   11824   CONFIG_FILES    = $CONFIG_FILES
   11825   CONFIG_HEADERS  = $CONFIG_HEADERS
   11826   CONFIG_LINKS    = $CONFIG_LINKS
   11827   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11828   $ $0 $@
   11829 
   11830 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11831 "
   11832 
   11833 _ACEOF
   11834 
   11835 case $ac_config_files in *"
   11836 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11837 esac
   11838 
   11839 case $ac_config_headers in *"
   11840 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11841 esac
   11842 
   11843 
   11844 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11845 # Files that config.status was made for.
   11846 config_files="$ac_config_files"
   11847 config_headers="$ac_config_headers"
   11848 config_commands="$ac_config_commands"
   11849 
   11850 _ACEOF
   11851 
   11852 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11853 ac_cs_usage="\
   11854 \`$as_me' instantiates files and other configuration actions
   11855 from templates according to the current configuration.  Unless the files
   11856 and actions are specified as TAGs, all are instantiated by default.
   11857 
   11858 Usage: $0 [OPTION]... [TAG]...
   11859 
   11860   -h, --help       print this help, then exit
   11861   -V, --version    print version number and configuration settings, then exit
   11862       --config     print configuration, then exit
   11863   -q, --quiet, --silent
   11864                    do not print progress messages
   11865   -d, --debug      don't remove temporary files
   11866       --recheck    update $as_me by reconfiguring in the same conditions
   11867       --file=FILE[:TEMPLATE]
   11868                    instantiate the configuration file FILE
   11869       --header=FILE[:TEMPLATE]
   11870                    instantiate the configuration header FILE
   11871 
   11872 Configuration files:
   11873 $config_files
   11874 
   11875 Configuration headers:
   11876 $config_headers
   11877 
   11878 Configuration commands:
   11879 $config_commands
   11880 
   11881 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xsm/issues>."
   11882 
   11883 _ACEOF
   11884 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   11885 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   11886 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11887 ac_cs_config='$ac_cs_config_escaped'
   11888 ac_cs_version="\\
   11889 xsm config.status 1.0.5
   11890 configured by $0, generated by GNU Autoconf 2.71,
   11891   with options \\"\$ac_cs_config\\"
   11892 
   11893 Copyright (C) 2021 Free Software Foundation, Inc.
   11894 This config.status script is free software; the Free Software Foundation
   11895 gives unlimited permission to copy, distribute and modify it."
   11896 
   11897 ac_pwd='$ac_pwd'
   11898 srcdir='$srcdir'
   11899 INSTALL='$INSTALL'
   11900 MKDIR_P='$MKDIR_P'
   11901 AWK='$AWK'
   11902 test -n "\$AWK" || AWK=awk
   11903 _ACEOF
   11904 
   11905 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11906 # The default lists apply if the user does not specify any file.
   11907 ac_need_defaults=:
   11908 while test $# != 0
   11909 do
   11910   case $1 in
   11911   --*=?*)
   11912     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11913     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11914     ac_shift=:
   11915     ;;
   11916   --*=)
   11917     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11918     ac_optarg=
   11919     ac_shift=:
   11920     ;;
   11921   *)
   11922     ac_option=$1
   11923     ac_optarg=$2
   11924     ac_shift=shift
   11925     ;;
   11926   esac
   11927 
   11928   case $ac_option in
   11929   # Handling of the options.
   11930   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11931     ac_cs_recheck=: ;;
   11932   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11933     printf "%s\n" "$ac_cs_version"; exit ;;
   11934   --config | --confi | --conf | --con | --co | --c )
   11935     printf "%s\n" "$ac_cs_config"; exit ;;
   11936   --debug | --debu | --deb | --de | --d | -d )
   11937     debug=: ;;
   11938   --file | --fil | --fi | --f )
   11939     $ac_shift
   11940     case $ac_optarg in
   11941     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11942     '') as_fn_error $? "missing file argument" ;;
   11943     esac
   11944     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11945     ac_need_defaults=false;;
   11946   --header | --heade | --head | --hea )
   11947     $ac_shift
   11948     case $ac_optarg in
   11949     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11950     esac
   11951     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11952     ac_need_defaults=false;;
   11953   --he | --h)
   11954     # Conflict between --help and --header
   11955     as_fn_error $? "ambiguous option: \`$1'
   11956 Try \`$0 --help' for more information.";;
   11957   --help | --hel | -h )
   11958     printf "%s\n" "$ac_cs_usage"; exit ;;
   11959   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11960   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11961     ac_cs_silent=: ;;
   11962 
   11963   # This is an error.
   11964   -*) as_fn_error $? "unrecognized option: \`$1'
   11965 Try \`$0 --help' for more information." ;;
   11966 
   11967   *) as_fn_append ac_config_targets " $1"
   11968      ac_need_defaults=false ;;
   11969 
   11970   esac
   11971   shift
   11972 done
   11973 
   11974 ac_configure_extra_args=
   11975 
   11976 if $ac_cs_silent; then
   11977   exec 6>/dev/null
   11978   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11979 fi
   11980 
   11981 _ACEOF
   11982 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11983 if \$ac_cs_recheck; then
   11984   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11985   shift
   11986   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   11987   CONFIG_SHELL='$SHELL'
   11988   export CONFIG_SHELL
   11989   exec "\$@"
   11990 fi
   11991 
   11992 _ACEOF
   11993 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11994 exec 5>>config.log
   11995 {
   11996   echo
   11997   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11998 ## Running $as_me. ##
   11999 _ASBOX
   12000   printf "%s\n" "$ac_log"
   12001 } >&5
   12002 
   12003 _ACEOF
   12004 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12005 #
   12006 # INIT-COMMANDS
   12007 #
   12008 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   12009 
   12010 _ACEOF
   12011 
   12012 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12013 
   12014 # Handling of arguments.
   12015 for ac_config_target in $ac_config_targets
   12016 do
   12017   case $ac_config_target in
   12018     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12019     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12020     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12021     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12022 
   12023   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   12024   esac
   12025 done
   12026 
   12027 
   12028 # If the user did not use the arguments to specify the items to instantiate,
   12029 # then the envvar interface is used.  Set only those that are not.
   12030 # We use the long form for the default assignment because of an extremely
   12031 # bizarre bug on SunOS 4.1.3.
   12032 if $ac_need_defaults; then
   12033   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   12034   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   12035   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   12036 fi
   12037 
   12038 # Have a temporary directory for convenience.  Make it in the build tree
   12039 # simply because there is no reason against having it here, and in addition,
   12040 # creating and moving files from /tmp can sometimes cause problems.
   12041 # Hook for its removal unless debugging.
   12042 # Note that there is a small window in which the directory will not be cleaned:
   12043 # after its creation but before its name has been assigned to `$tmp'.
   12044 $debug ||
   12045 {
   12046   tmp= ac_tmp=
   12047   trap 'exit_status=$?
   12048   : "${ac_tmp:=$tmp}"
   12049   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12050 ' 0
   12051   trap 'as_fn_exit 1' 1 2 13 15
   12052 }
   12053 # Create a (secure) tmp directory for tmp files.
   12054 
   12055 {
   12056   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12057   test -d "$tmp"
   12058 }  ||
   12059 {
   12060   tmp=./conf$$-$RANDOM
   12061   (umask 077 && mkdir "$tmp")
   12062 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12063 ac_tmp=$tmp
   12064 
   12065 # Set up the scripts for CONFIG_FILES section.
   12066 # No need to generate them if there are no CONFIG_FILES.
   12067 # This happens for instance with `./config.status config.h'.
   12068 if test -n "$CONFIG_FILES"; then
   12069 
   12070 
   12071 ac_cr=`echo X | tr X '\015'`
   12072 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12073 # But we know of no other shell where ac_cr would be empty at this
   12074 # point, so we can use a bashism as a fallback.
   12075 if test "x$ac_cr" = x; then
   12076   eval ac_cr=\$\'\\r\'
   12077 fi
   12078 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12079 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12080   ac_cs_awk_cr='\\r'
   12081 else
   12082   ac_cs_awk_cr=$ac_cr
   12083 fi
   12084 
   12085 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12086 _ACEOF
   12087 
   12088 
   12089 {
   12090   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12091   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12092   echo "_ACEOF"
   12093 } >conf$$subs.sh ||
   12094   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12095 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12096 ac_delim='%!_!# '
   12097 for ac_last_try in false false false false false :; do
   12098   . ./conf$$subs.sh ||
   12099     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12100 
   12101   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12102   if test $ac_delim_n = $ac_delim_num; then
   12103     break
   12104   elif $ac_last_try; then
   12105     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12106   else
   12107     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12108   fi
   12109 done
   12110 rm -f conf$$subs.sh
   12111 
   12112 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12113 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12114 _ACEOF
   12115 sed -n '
   12116 h
   12117 s/^/S["/; s/!.*/"]=/
   12118 p
   12119 g
   12120 s/^[^!]*!//
   12121 :repl
   12122 t repl
   12123 s/'"$ac_delim"'$//
   12124 t delim
   12125 :nl
   12126 h
   12127 s/\(.\{148\}\)..*/\1/
   12128 t more1
   12129 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12130 p
   12131 n
   12132 b repl
   12133 :more1
   12134 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12135 p
   12136 g
   12137 s/.\{148\}//
   12138 t nl
   12139 :delim
   12140 h
   12141 s/\(.\{148\}\)..*/\1/
   12142 t more2
   12143 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12144 p
   12145 b
   12146 :more2
   12147 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12148 p
   12149 g
   12150 s/.\{148\}//
   12151 t delim
   12152 ' <conf$$subs.awk | sed '
   12153 /^[^""]/{
   12154   N
   12155   s/\n//
   12156 }
   12157 ' >>$CONFIG_STATUS || ac_write_fail=1
   12158 rm -f conf$$subs.awk
   12159 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12160 _ACAWK
   12161 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12162   for (key in S) S_is_set[key] = 1
   12163   FS = ""
   12164 
   12165 }
   12166 {
   12167   line = $ 0
   12168   nfields = split(line, field, "@")
   12169   substed = 0
   12170   len = length(field[1])
   12171   for (i = 2; i < nfields; i++) {
   12172     key = field[i]
   12173     keylen = length(key)
   12174     if (S_is_set[key]) {
   12175       value = S[key]
   12176       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12177       len += length(value) + length(field[++i])
   12178       substed = 1
   12179     } else
   12180       len += 1 + keylen
   12181   }
   12182 
   12183   print line
   12184 }
   12185 
   12186 _ACAWK
   12187 _ACEOF
   12188 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12189 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12190   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12191 else
   12192   cat
   12193 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12194   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12195 _ACEOF
   12196 
   12197 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12198 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12199 # trailing colons and then remove the whole line if VPATH becomes empty
   12200 # (actually we leave an empty line to preserve line numbers).
   12201 if test "x$srcdir" = x.; then
   12202   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12203 h
   12204 s///
   12205 s/^/:/
   12206 s/[	 ]*$/:/
   12207 s/:\$(srcdir):/:/g
   12208 s/:\${srcdir}:/:/g
   12209 s/:@srcdir@:/:/g
   12210 s/^:*//
   12211 s/:*$//
   12212 x
   12213 s/\(=[	 ]*\).*/\1/
   12214 G
   12215 s/\n//
   12216 s/^[^=]*=[	 ]*$//
   12217 }'
   12218 fi
   12219 
   12220 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12221 fi # test -n "$CONFIG_FILES"
   12222 
   12223 # Set up the scripts for CONFIG_HEADERS section.
   12224 # No need to generate them if there are no CONFIG_HEADERS.
   12225 # This happens for instance with `./config.status Makefile'.
   12226 if test -n "$CONFIG_HEADERS"; then
   12227 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12228 BEGIN {
   12229 _ACEOF
   12230 
   12231 # Transform confdefs.h into an awk script `defines.awk', embedded as
   12232 # here-document in config.status, that substitutes the proper values into
   12233 # config.h.in to produce config.h.
   12234 
   12235 # Create a delimiter string that does not exist in confdefs.h, to ease
   12236 # handling of long lines.
   12237 ac_delim='%!_!# '
   12238 for ac_last_try in false false :; do
   12239   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12240   if test -z "$ac_tt"; then
   12241     break
   12242   elif $ac_last_try; then
   12243     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12244   else
   12245     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12246   fi
   12247 done
   12248 
   12249 # For the awk script, D is an array of macro values keyed by name,
   12250 # likewise P contains macro parameters if any.  Preserve backslash
   12251 # newline sequences.
   12252 
   12253 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12254 sed -n '
   12255 s/.\{148\}/&'"$ac_delim"'/g
   12256 t rset
   12257 :rset
   12258 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12259 t def
   12260 d
   12261 :def
   12262 s/\\$//
   12263 t bsnl
   12264 s/["\\]/\\&/g
   12265 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12266 D["\1"]=" \3"/p
   12267 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12268 d
   12269 :bsnl
   12270 s/["\\]/\\&/g
   12271 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12272 D["\1"]=" \3\\\\\\n"\\/p
   12273 t cont
   12274 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12275 t cont
   12276 d
   12277 :cont
   12278 n
   12279 s/.\{148\}/&'"$ac_delim"'/g
   12280 t clear
   12281 :clear
   12282 s/\\$//
   12283 t bsnlc
   12284 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12285 d
   12286 :bsnlc
   12287 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12288 b cont
   12289 ' <confdefs.h | sed '
   12290 s/'"$ac_delim"'/"\\\
   12291 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12292 
   12293 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12294   for (key in D) D_is_set[key] = 1
   12295   FS = ""
   12296 }
   12297 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12298   line = \$ 0
   12299   split(line, arg, " ")
   12300   if (arg[1] == "#") {
   12301     defundef = arg[2]
   12302     mac1 = arg[3]
   12303   } else {
   12304     defundef = substr(arg[1], 2)
   12305     mac1 = arg[2]
   12306   }
   12307   split(mac1, mac2, "(") #)
   12308   macro = mac2[1]
   12309   prefix = substr(line, 1, index(line, defundef) - 1)
   12310   if (D_is_set[macro]) {
   12311     # Preserve the white space surrounding the "#".
   12312     print prefix "define", macro P[macro] D[macro]
   12313     next
   12314   } else {
   12315     # Replace #undef with comments.  This is necessary, for example,
   12316     # in the case of _POSIX_SOURCE, which is predefined and required
   12317     # on some systems where configure will not decide to define it.
   12318     if (defundef == "undef") {
   12319       print "/*", prefix defundef, macro, "*/"
   12320       next
   12321     }
   12322   }
   12323 }
   12324 { print }
   12325 _ACAWK
   12326 _ACEOF
   12327 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12328   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12329 fi # test -n "$CONFIG_HEADERS"
   12330 
   12331 
   12332 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12333 shift
   12334 for ac_tag
   12335 do
   12336   case $ac_tag in
   12337   :[FHLC]) ac_mode=$ac_tag; continue;;
   12338   esac
   12339   case $ac_mode$ac_tag in
   12340   :[FHL]*:*);;
   12341   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12342   :[FH]-) ac_tag=-:-;;
   12343   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12344   esac
   12345   ac_save_IFS=$IFS
   12346   IFS=:
   12347   set x $ac_tag
   12348   IFS=$ac_save_IFS
   12349   shift
   12350   ac_file=$1
   12351   shift
   12352 
   12353   case $ac_mode in
   12354   :L) ac_source=$1;;
   12355   :[FH])
   12356     ac_file_inputs=
   12357     for ac_f
   12358     do
   12359       case $ac_f in
   12360       -) ac_f="$ac_tmp/stdin";;
   12361       *) # Look for the file first in the build tree, then in the source tree
   12362 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12363 	 # because $ac_f cannot contain `:'.
   12364 	 test -f "$ac_f" ||
   12365 	   case $ac_f in
   12366 	   [\\/$]*) false;;
   12367 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12368 	   esac ||
   12369 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12370       esac
   12371       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12372       as_fn_append ac_file_inputs " '$ac_f'"
   12373     done
   12374 
   12375     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12376     # use $as_me), people would be surprised to read:
   12377     #    /* config.h.  Generated by config.status.  */
   12378     configure_input='Generated from '`
   12379 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12380 	`' by configure.'
   12381     if test x"$ac_file" != x-; then
   12382       configure_input="$ac_file.  $configure_input"
   12383       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12384 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   12385     fi
   12386     # Neutralize special characters interpreted by sed in replacement strings.
   12387     case $configure_input in #(
   12388     *\&* | *\|* | *\\* )
   12389        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   12390        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12391     *) ac_sed_conf_input=$configure_input;;
   12392     esac
   12393 
   12394     case $ac_tag in
   12395     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12396       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12397     esac
   12398     ;;
   12399   esac
   12400 
   12401   ac_dir=`$as_dirname -- "$ac_file" ||
   12402 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12403 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12404 	 X"$ac_file" : 'X\(//\)$' \| \
   12405 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12406 printf "%s\n" X"$ac_file" |
   12407     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12408 	    s//\1/
   12409 	    q
   12410 	  }
   12411 	  /^X\(\/\/\)[^/].*/{
   12412 	    s//\1/
   12413 	    q
   12414 	  }
   12415 	  /^X\(\/\/\)$/{
   12416 	    s//\1/
   12417 	    q
   12418 	  }
   12419 	  /^X\(\/\).*/{
   12420 	    s//\1/
   12421 	    q
   12422 	  }
   12423 	  s/.*/./; q'`
   12424   as_dir="$ac_dir"; as_fn_mkdir_p
   12425   ac_builddir=.
   12426 
   12427 case "$ac_dir" in
   12428 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12429 *)
   12430   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   12431   # A ".." for each directory in $ac_dir_suffix.
   12432   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12433   case $ac_top_builddir_sub in
   12434   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12435   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12436   esac ;;
   12437 esac
   12438 ac_abs_top_builddir=$ac_pwd
   12439 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12440 # for backward compatibility:
   12441 ac_top_builddir=$ac_top_build_prefix
   12442 
   12443 case $srcdir in
   12444   .)  # We are building in place.
   12445     ac_srcdir=.
   12446     ac_top_srcdir=$ac_top_builddir_sub
   12447     ac_abs_top_srcdir=$ac_pwd ;;
   12448   [\\/]* | ?:[\\/]* )  # Absolute name.
   12449     ac_srcdir=$srcdir$ac_dir_suffix;
   12450     ac_top_srcdir=$srcdir
   12451     ac_abs_top_srcdir=$srcdir ;;
   12452   *) # Relative name.
   12453     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12454     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12455     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12456 esac
   12457 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12458 
   12459 
   12460   case $ac_mode in
   12461   :F)
   12462   #
   12463   # CONFIG_FILE
   12464   #
   12465 
   12466   case $INSTALL in
   12467   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12468   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12469   esac
   12470   ac_MKDIR_P=$MKDIR_P
   12471   case $MKDIR_P in
   12472   [\\/$]* | ?:[\\/]* ) ;;
   12473   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12474   esac
   12475 _ACEOF
   12476 
   12477 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12478 # If the template does not know about datarootdir, expand it.
   12479 # FIXME: This hack should be removed a few years after 2.60.
   12480 ac_datarootdir_hack=; ac_datarootdir_seen=
   12481 ac_sed_dataroot='
   12482 /datarootdir/ {
   12483   p
   12484   q
   12485 }
   12486 /@datadir@/p
   12487 /@docdir@/p
   12488 /@infodir@/p
   12489 /@localedir@/p
   12490 /@mandir@/p'
   12491 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12492 *datarootdir*) ac_datarootdir_seen=yes;;
   12493 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12494   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12495 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12496 _ACEOF
   12497 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12498   ac_datarootdir_hack='
   12499   s&@datadir@&$datadir&g
   12500   s&@docdir@&$docdir&g
   12501   s&@infodir@&$infodir&g
   12502   s&@localedir@&$localedir&g
   12503   s&@mandir@&$mandir&g
   12504   s&\\\${datarootdir}&$datarootdir&g' ;;
   12505 esac
   12506 _ACEOF
   12507 
   12508 # Neutralize VPATH when `$srcdir' = `.'.
   12509 # Shell code in configure.ac might set extrasub.
   12510 # FIXME: do we really want to maintain this feature?
   12511 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12512 ac_sed_extra="$ac_vpsub
   12513 $extrasub
   12514 _ACEOF
   12515 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12516 :t
   12517 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12518 s|@configure_input@|$ac_sed_conf_input|;t t
   12519 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12520 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12521 s&@srcdir@&$ac_srcdir&;t t
   12522 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12523 s&@top_srcdir@&$ac_top_srcdir&;t t
   12524 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12525 s&@builddir@&$ac_builddir&;t t
   12526 s&@abs_builddir@&$ac_abs_builddir&;t t
   12527 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12528 s&@INSTALL@&$ac_INSTALL&;t t
   12529 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12530 $ac_datarootdir_hack
   12531 "
   12532 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12533   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12534 
   12535 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12536   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12537   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12538       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12539   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12540 which seems to be undefined.  Please make sure it is defined" >&5
   12541 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12542 which seems to be undefined.  Please make sure it is defined" >&2;}
   12543 
   12544   rm -f "$ac_tmp/stdin"
   12545   case $ac_file in
   12546   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12547   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12548   esac \
   12549   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12550  ;;
   12551   :H)
   12552   #
   12553   # CONFIG_HEADER
   12554   #
   12555   if test x"$ac_file" != x-; then
   12556     {
   12557       printf "%s\n" "/* $configure_input  */" >&1 \
   12558       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12559     } >"$ac_tmp/config.h" \
   12560       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12561     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12562       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12563 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   12564     else
   12565       rm -f "$ac_file"
   12566       mv "$ac_tmp/config.h" "$ac_file" \
   12567 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12568     fi
   12569   else
   12570     printf "%s\n" "/* $configure_input  */" >&1 \
   12571       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12572       || as_fn_error $? "could not create -" "$LINENO" 5
   12573   fi
   12574 # Compute "$ac_file"'s index in $config_headers.
   12575 _am_arg="$ac_file"
   12576 _am_stamp_count=1
   12577 for _am_header in $config_headers :; do
   12578   case $_am_header in
   12579     $_am_arg | $_am_arg:* )
   12580       break ;;
   12581     * )
   12582       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12583   esac
   12584 done
   12585 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12586 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12587 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12588 	 X"$_am_arg" : 'X\(//\)$' \| \
   12589 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12590 printf "%s\n" X"$_am_arg" |
   12591     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12592 	    s//\1/
   12593 	    q
   12594 	  }
   12595 	  /^X\(\/\/\)[^/].*/{
   12596 	    s//\1/
   12597 	    q
   12598 	  }
   12599 	  /^X\(\/\/\)$/{
   12600 	    s//\1/
   12601 	    q
   12602 	  }
   12603 	  /^X\(\/\).*/{
   12604 	    s//\1/
   12605 	    q
   12606 	  }
   12607 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12608  ;;
   12609 
   12610   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12611 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   12612  ;;
   12613   esac
   12614 
   12615 
   12616   case $ac_file$ac_mode in
   12617     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12618   # Older Autoconf quotes --file arguments for eval, but not when files
   12619   # are listed without --file.  Let's play safe and only enable the eval
   12620   # if we detect the quoting.
   12621   # TODO: see whether this extra hack can be removed once we start
   12622   # requiring Autoconf 2.70 or later.
   12623   case $CONFIG_FILES in #(
   12624   *\'*) :
   12625     eval set x "$CONFIG_FILES" ;; #(
   12626   *) :
   12627     set x $CONFIG_FILES ;; #(
   12628   *) :
   12629      ;;
   12630 esac
   12631   shift
   12632   # Used to flag and report bootstrapping failures.
   12633   am_rc=0
   12634   for am_mf
   12635   do
   12636     # Strip MF so we end up with the name of the file.
   12637     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   12638     # Check whether this is an Automake generated Makefile which includes
   12639     # dependency-tracking related rules and includes.
   12640     # Grep'ing the whole file directly is not great: AIX grep has a line
   12641     # limit of 2048, but all sed's we know have understand at least 4000.
   12642     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   12643       || continue
   12644     am_dirpart=`$as_dirname -- "$am_mf" ||
   12645 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12646 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   12647 	 X"$am_mf" : 'X\(//\)$' \| \
   12648 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12649 printf "%s\n" X"$am_mf" |
   12650     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12651 	    s//\1/
   12652 	    q
   12653 	  }
   12654 	  /^X\(\/\/\)[^/].*/{
   12655 	    s//\1/
   12656 	    q
   12657 	  }
   12658 	  /^X\(\/\/\)$/{
   12659 	    s//\1/
   12660 	    q
   12661 	  }
   12662 	  /^X\(\/\).*/{
   12663 	    s//\1/
   12664 	    q
   12665 	  }
   12666 	  s/.*/./; q'`
   12667     am_filepart=`$as_basename -- "$am_mf" ||
   12668 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   12669 	 X"$am_mf" : 'X\(//\)$' \| \
   12670 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12671 printf "%s\n" X/"$am_mf" |
   12672     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12673 	    s//\1/
   12674 	    q
   12675 	  }
   12676 	  /^X\/\(\/\/\)$/{
   12677 	    s//\1/
   12678 	    q
   12679 	  }
   12680 	  /^X\/\(\/\).*/{
   12681 	    s//\1/
   12682 	    q
   12683 	  }
   12684 	  s/.*/./; q'`
   12685     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   12686       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12687         | $MAKE -f - am--depfiles" >&5
   12688    (cd "$am_dirpart" \
   12689       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12690         | $MAKE -f - am--depfiles) >&5 2>&5
   12691    ac_status=$?
   12692    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12693    (exit $ac_status); } || am_rc=$?
   12694   done
   12695   if test $am_rc -ne 0; then
   12696     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12697 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   12698 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   12699     for automatic dependency tracking.  If GNU make was not used, consider
   12700     re-running the configure script with MAKE=\"gmake\" (or whatever is
   12701     necessary).  You can also try re-running configure with the
   12702     '--disable-dependency-tracking' option to at least be able to build
   12703     the package (albeit without support for automatic dependency tracking).
   12704 See \`config.log' for more details" "$LINENO" 5; }
   12705   fi
   12706   { am_dirpart=; unset am_dirpart;}
   12707   { am_filepart=; unset am_filepart;}
   12708   { am_mf=; unset am_mf;}
   12709   { am_rc=; unset am_rc;}
   12710   rm -f conftest-deps.mk
   12711 }
   12712  ;;
   12713 
   12714   esac
   12715 done # for ac_tag
   12716 
   12717 
   12718 as_fn_exit 0
   12719 _ACEOF
   12720 ac_clean_files=$ac_clean_files_save
   12721 
   12722 test $ac_write_fail = 0 ||
   12723   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12724 
   12725 
   12726 # configure is writing to config.log, and then calls config.status.
   12727 # config.status does its own redirection, appending to config.log.
   12728 # Unfortunately, on DOS this fails, as config.log is still kept open
   12729 # by configure, so config.status won't be able to write to it; its
   12730 # output is simply discarded.  So we exec the FD to /dev/null,
   12731 # effectively closing config.log, so it can be properly (re)opened and
   12732 # appended to by config.status.  When coming back to configure, we
   12733 # need to make the FD available again.
   12734 if test "$no_create" != yes; then
   12735   ac_cs_success=:
   12736   ac_config_status_args=
   12737   test "$silent" = yes &&
   12738     ac_config_status_args="$ac_config_status_args --quiet"
   12739   exec 5>/dev/null
   12740   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12741   exec 5>>config.log
   12742   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12743   # would make configure fail if this is the last instruction.
   12744   $ac_cs_success || as_fn_exit 1
   12745 fi
   12746 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12747   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12748 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12749 fi
   12750 
   12751 
   12752