Home | History | Annotate | Line # | Download | only in dist
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for xmodmap 1.0.11.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xmodmap/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/xmodmap/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='xmodmap'
    614 PACKAGE_TARNAME='xmodmap'
    615 PACKAGE_VERSION='1.0.11'
    616 PACKAGE_STRING='xmodmap 1.0.11'
    617 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xmodmap/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 LINT_FALSE
    658 LINT_TRUE
    659 LINT_FLAGS
    660 LINT
    661 XMODMAP_LIBS
    662 XMODMAP_CFLAGS
    663 MAN_SUBSTS
    664 XORG_MAN_PAGE
    665 ADMIN_MAN_DIR
    666 DRIVER_MAN_DIR
    667 MISC_MAN_DIR
    668 FILE_MAN_DIR
    669 LIB_MAN_DIR
    670 APP_MAN_DIR
    671 ADMIN_MAN_SUFFIX
    672 DRIVER_MAN_SUFFIX
    673 MISC_MAN_SUFFIX
    674 FILE_MAN_SUFFIX
    675 LIB_MAN_SUFFIX
    676 APP_MAN_SUFFIX
    677 SED
    678 host_os
    679 host_vendor
    680 host_cpu
    681 host
    682 build_os
    683 build_vendor
    684 build_cpu
    685 build
    686 INSTALL_CMD
    687 PKG_CONFIG_LIBDIR
    688 PKG_CONFIG_PATH
    689 PKG_CONFIG
    690 CHANGELOG_CMD
    691 STRICT_CFLAGS
    692 CWARNFLAGS
    693 BASE_CFLAGS
    694 AM_BACKSLASH
    695 AM_DEFAULT_VERBOSITY
    696 AM_DEFAULT_V
    697 AM_V
    698 CSCOPE
    699 ETAGS
    700 CTAGS
    701 am__fastdepCC_FALSE
    702 am__fastdepCC_TRUE
    703 CCDEPMODE
    704 am__nodep
    705 AMDEPBACKSLASH
    706 AMDEP_FALSE
    707 AMDEP_TRUE
    708 am__include
    709 DEPDIR
    710 am__untar
    711 am__tar
    712 AMTAR
    713 am__leading_dot
    714 SET_MAKE
    715 AWK
    716 mkdir_p
    717 MKDIR_P
    718 INSTALL_STRIP_PROGRAM
    719 STRIP
    720 install_sh
    721 MAKEINFO
    722 AUTOHEADER
    723 AUTOMAKE
    724 AUTOCONF
    725 ACLOCAL
    726 VERSION
    727 PACKAGE
    728 CYGPATH_W
    729 am__isrc
    730 INSTALL_DATA
    731 INSTALL_SCRIPT
    732 INSTALL_PROGRAM
    733 OBJEXT
    734 EXEEXT
    735 ac_ct_CC
    736 CPPFLAGS
    737 LDFLAGS
    738 CFLAGS
    739 CC
    740 target_alias
    741 host_alias
    742 build_alias
    743 LIBS
    744 ECHO_T
    745 ECHO_N
    746 ECHO_C
    747 DEFS
    748 mandir
    749 localedir
    750 libdir
    751 psdir
    752 pdfdir
    753 dvidir
    754 htmldir
    755 infodir
    756 docdir
    757 oldincludedir
    758 includedir
    759 runstatedir
    760 localstatedir
    761 sharedstatedir
    762 sysconfdir
    763 datadir
    764 datarootdir
    765 libexecdir
    766 sbindir
    767 bindir
    768 program_transform_name
    769 prefix
    770 exec_prefix
    771 PACKAGE_URL
    772 PACKAGE_BUGREPORT
    773 PACKAGE_STRING
    774 PACKAGE_VERSION
    775 PACKAGE_TARNAME
    776 PACKAGE_NAME
    777 PATH_SEPARATOR
    778 SHELL
    779 am__quote'
    780 ac_subst_files=''
    781 ac_user_opts='
    782 enable_option_checking
    783 enable_dependency_tracking
    784 enable_silent_rules
    785 enable_selective_werror
    786 enable_strict_compilation
    787 with_lint
    788 '
    789       ac_precious_vars='build_alias
    790 host_alias
    791 target_alias
    792 CC
    793 CFLAGS
    794 LDFLAGS
    795 LIBS
    796 CPPFLAGS
    797 PKG_CONFIG
    798 PKG_CONFIG_PATH
    799 PKG_CONFIG_LIBDIR
    800 XMODMAP_CFLAGS
    801 XMODMAP_LIBS
    802 LINT
    803 LINT_FLAGS'
    804 
    805 
    806 # Initialize some variables set by options.
    807 ac_init_help=
    808 ac_init_version=false
    809 ac_unrecognized_opts=
    810 ac_unrecognized_sep=
    811 # The variables have the same names as the options, with
    812 # dashes changed to underlines.
    813 cache_file=/dev/null
    814 exec_prefix=NONE
    815 no_create=
    816 no_recursion=
    817 prefix=NONE
    818 program_prefix=NONE
    819 program_suffix=NONE
    820 program_transform_name=s,x,x,
    821 silent=
    822 site=
    823 srcdir=
    824 verbose=
    825 x_includes=NONE
    826 x_libraries=NONE
    827 
    828 # Installation directory options.
    829 # These are left unexpanded so users can "make install exec_prefix=/foo"
    830 # and all the variables that are supposed to be based on exec_prefix
    831 # by default will actually change.
    832 # Use braces instead of parens because sh, perl, etc. also accept them.
    833 # (The list follows the same order as the GNU Coding Standards.)
    834 bindir='${exec_prefix}/bin'
    835 sbindir='${exec_prefix}/sbin'
    836 libexecdir='${exec_prefix}/libexec'
    837 datarootdir='${prefix}/share'
    838 datadir='${datarootdir}'
    839 sysconfdir='${prefix}/etc'
    840 sharedstatedir='${prefix}/com'
    841 localstatedir='${prefix}/var'
    842 runstatedir='${localstatedir}/run'
    843 includedir='${prefix}/include'
    844 oldincludedir='/usr/include'
    845 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    846 infodir='${datarootdir}/info'
    847 htmldir='${docdir}'
    848 dvidir='${docdir}'
    849 pdfdir='${docdir}'
    850 psdir='${docdir}'
    851 libdir='${exec_prefix}/lib'
    852 localedir='${datarootdir}/locale'
    853 mandir='${datarootdir}/man'
    854 
    855 ac_prev=
    856 ac_dashdash=
    857 for ac_option
    858 do
    859   # If the previous option needs an argument, assign it.
    860   if test -n "$ac_prev"; then
    861     eval $ac_prev=\$ac_option
    862     ac_prev=
    863     continue
    864   fi
    865 
    866   case $ac_option in
    867   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    868   *=)   ac_optarg= ;;
    869   *)    ac_optarg=yes ;;
    870   esac
    871 
    872   case $ac_dashdash$ac_option in
    873   --)
    874     ac_dashdash=yes ;;
    875 
    876   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    877     ac_prev=bindir ;;
    878   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    879     bindir=$ac_optarg ;;
    880 
    881   -build | --build | --buil | --bui | --bu)
    882     ac_prev=build_alias ;;
    883   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    884     build_alias=$ac_optarg ;;
    885 
    886   -cache-file | --cache-file | --cache-fil | --cache-fi \
    887   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    888     ac_prev=cache_file ;;
    889   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    890   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    891     cache_file=$ac_optarg ;;
    892 
    893   --config-cache | -C)
    894     cache_file=config.cache ;;
    895 
    896   -datadir | --datadir | --datadi | --datad)
    897     ac_prev=datadir ;;
    898   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    899     datadir=$ac_optarg ;;
    900 
    901   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    902   | --dataroo | --dataro | --datar)
    903     ac_prev=datarootdir ;;
    904   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    905   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    906     datarootdir=$ac_optarg ;;
    907 
    908   -disable-* | --disable-*)
    909     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    910     # Reject names that are not valid shell variable names.
    911     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    912       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    913     ac_useropt_orig=$ac_useropt
    914     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    915     case $ac_user_opts in
    916       *"
    917 "enable_$ac_useropt"
    918 "*) ;;
    919       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    920 	 ac_unrecognized_sep=', ';;
    921     esac
    922     eval enable_$ac_useropt=no ;;
    923 
    924   -docdir | --docdir | --docdi | --doc | --do)
    925     ac_prev=docdir ;;
    926   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    927     docdir=$ac_optarg ;;
    928 
    929   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    930     ac_prev=dvidir ;;
    931   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    932     dvidir=$ac_optarg ;;
    933 
    934   -enable-* | --enable-*)
    935     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    936     # Reject names that are not valid shell variable names.
    937     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    938       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    939     ac_useropt_orig=$ac_useropt
    940     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    941     case $ac_user_opts in
    942       *"
    943 "enable_$ac_useropt"
    944 "*) ;;
    945       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    946 	 ac_unrecognized_sep=', ';;
    947     esac
    948     eval enable_$ac_useropt=\$ac_optarg ;;
    949 
    950   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    951   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    952   | --exec | --exe | --ex)
    953     ac_prev=exec_prefix ;;
    954   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    955   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    956   | --exec=* | --exe=* | --ex=*)
    957     exec_prefix=$ac_optarg ;;
    958 
    959   -gas | --gas | --ga | --g)
    960     # Obsolete; use --with-gas.
    961     with_gas=yes ;;
    962 
    963   -help | --help | --hel | --he | -h)
    964     ac_init_help=long ;;
    965   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    966     ac_init_help=recursive ;;
    967   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    968     ac_init_help=short ;;
    969 
    970   -host | --host | --hos | --ho)
    971     ac_prev=host_alias ;;
    972   -host=* | --host=* | --hos=* | --ho=*)
    973     host_alias=$ac_optarg ;;
    974 
    975   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    976     ac_prev=htmldir ;;
    977   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    978   | --ht=*)
    979     htmldir=$ac_optarg ;;
    980 
    981   -includedir | --includedir | --includedi | --included | --include \
    982   | --includ | --inclu | --incl | --inc)
    983     ac_prev=includedir ;;
    984   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    985   | --includ=* | --inclu=* | --incl=* | --inc=*)
    986     includedir=$ac_optarg ;;
    987 
    988   -infodir | --infodir | --infodi | --infod | --info | --inf)
    989     ac_prev=infodir ;;
    990   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    991     infodir=$ac_optarg ;;
    992 
    993   -libdir | --libdir | --libdi | --libd)
    994     ac_prev=libdir ;;
    995   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    996     libdir=$ac_optarg ;;
    997 
    998   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    999   | --libexe | --libex | --libe)
   1000     ac_prev=libexecdir ;;
   1001   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1002   | --libexe=* | --libex=* | --libe=*)
   1003     libexecdir=$ac_optarg ;;
   1004 
   1005   -localedir | --localedir | --localedi | --localed | --locale)
   1006     ac_prev=localedir ;;
   1007   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1008     localedir=$ac_optarg ;;
   1009 
   1010   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1011   | --localstate | --localstat | --localsta | --localst | --locals)
   1012     ac_prev=localstatedir ;;
   1013   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1014   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1015     localstatedir=$ac_optarg ;;
   1016 
   1017   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1018     ac_prev=mandir ;;
   1019   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1020     mandir=$ac_optarg ;;
   1021 
   1022   -nfp | --nfp | --nf)
   1023     # Obsolete; use --without-fp.
   1024     with_fp=no ;;
   1025 
   1026   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1027   | --no-cr | --no-c | -n)
   1028     no_create=yes ;;
   1029 
   1030   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1031   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1032     no_recursion=yes ;;
   1033 
   1034   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1035   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1036   | --oldin | --oldi | --old | --ol | --o)
   1037     ac_prev=oldincludedir ;;
   1038   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1039   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1040   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1041     oldincludedir=$ac_optarg ;;
   1042 
   1043   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1044     ac_prev=prefix ;;
   1045   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1046     prefix=$ac_optarg ;;
   1047 
   1048   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1049   | --program-pre | --program-pr | --program-p)
   1050     ac_prev=program_prefix ;;
   1051   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1052   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1053     program_prefix=$ac_optarg ;;
   1054 
   1055   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1056   | --program-suf | --program-su | --program-s)
   1057     ac_prev=program_suffix ;;
   1058   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1059   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1060     program_suffix=$ac_optarg ;;
   1061 
   1062   -program-transform-name | --program-transform-name \
   1063   | --program-transform-nam | --program-transform-na \
   1064   | --program-transform-n | --program-transform- \
   1065   | --program-transform | --program-transfor \
   1066   | --program-transfo | --program-transf \
   1067   | --program-trans | --program-tran \
   1068   | --progr-tra | --program-tr | --program-t)
   1069     ac_prev=program_transform_name ;;
   1070   -program-transform-name=* | --program-transform-name=* \
   1071   | --program-transform-nam=* | --program-transform-na=* \
   1072   | --program-transform-n=* | --program-transform-=* \
   1073   | --program-transform=* | --program-transfor=* \
   1074   | --program-transfo=* | --program-transf=* \
   1075   | --program-trans=* | --program-tran=* \
   1076   | --progr-tra=* | --program-tr=* | --program-t=*)
   1077     program_transform_name=$ac_optarg ;;
   1078 
   1079   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1080     ac_prev=pdfdir ;;
   1081   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1082     pdfdir=$ac_optarg ;;
   1083 
   1084   -psdir | --psdir | --psdi | --psd | --ps)
   1085     ac_prev=psdir ;;
   1086   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1087     psdir=$ac_optarg ;;
   1088 
   1089   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1090   | -silent | --silent | --silen | --sile | --sil)
   1091     silent=yes ;;
   1092 
   1093   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1094   | --runstate | --runstat | --runsta | --runst | --runs \
   1095   | --run | --ru | --r)
   1096     ac_prev=runstatedir ;;
   1097   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1098   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1099   | --run=* | --ru=* | --r=*)
   1100     runstatedir=$ac_optarg ;;
   1101 
   1102   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1103     ac_prev=sbindir ;;
   1104   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1105   | --sbi=* | --sb=*)
   1106     sbindir=$ac_optarg ;;
   1107 
   1108   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1109   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1110   | --sharedst | --shareds | --shared | --share | --shar \
   1111   | --sha | --sh)
   1112     ac_prev=sharedstatedir ;;
   1113   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1114   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1115   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1116   | --sha=* | --sh=*)
   1117     sharedstatedir=$ac_optarg ;;
   1118 
   1119   -site | --site | --sit)
   1120     ac_prev=site ;;
   1121   -site=* | --site=* | --sit=*)
   1122     site=$ac_optarg ;;
   1123 
   1124   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1125     ac_prev=srcdir ;;
   1126   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1127     srcdir=$ac_optarg ;;
   1128 
   1129   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1130   | --syscon | --sysco | --sysc | --sys | --sy)
   1131     ac_prev=sysconfdir ;;
   1132   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1133   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1134     sysconfdir=$ac_optarg ;;
   1135 
   1136   -target | --target | --targe | --targ | --tar | --ta | --t)
   1137     ac_prev=target_alias ;;
   1138   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1139     target_alias=$ac_optarg ;;
   1140 
   1141   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1142     verbose=yes ;;
   1143 
   1144   -version | --version | --versio | --versi | --vers | -V)
   1145     ac_init_version=: ;;
   1146 
   1147   -with-* | --with-*)
   1148     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1149     # Reject names that are not valid shell variable names.
   1150     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1151       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1152     ac_useropt_orig=$ac_useropt
   1153     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1154     case $ac_user_opts in
   1155       *"
   1156 "with_$ac_useropt"
   1157 "*) ;;
   1158       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1159 	 ac_unrecognized_sep=', ';;
   1160     esac
   1161     eval with_$ac_useropt=\$ac_optarg ;;
   1162 
   1163   -without-* | --without-*)
   1164     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1165     # Reject names that are not valid shell variable names.
   1166     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1167       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1168     ac_useropt_orig=$ac_useropt
   1169     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1170     case $ac_user_opts in
   1171       *"
   1172 "with_$ac_useropt"
   1173 "*) ;;
   1174       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1175 	 ac_unrecognized_sep=', ';;
   1176     esac
   1177     eval with_$ac_useropt=no ;;
   1178 
   1179   --x)
   1180     # Obsolete; use --with-x.
   1181     with_x=yes ;;
   1182 
   1183   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1184   | --x-incl | --x-inc | --x-in | --x-i)
   1185     ac_prev=x_includes ;;
   1186   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1187   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1188     x_includes=$ac_optarg ;;
   1189 
   1190   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1191   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1192     ac_prev=x_libraries ;;
   1193   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1194   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1195     x_libraries=$ac_optarg ;;
   1196 
   1197   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1198 Try \`$0 --help' for more information"
   1199     ;;
   1200 
   1201   *=*)
   1202     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1203     # Reject names that are not valid shell variable names.
   1204     case $ac_envvar in #(
   1205       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1206       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1207     esac
   1208     eval $ac_envvar=\$ac_optarg
   1209     export $ac_envvar ;;
   1210 
   1211   *)
   1212     # FIXME: should be removed in autoconf 3.0.
   1213     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1214     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1215       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1216     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1217     ;;
   1218 
   1219   esac
   1220 done
   1221 
   1222 if test -n "$ac_prev"; then
   1223   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1224   as_fn_error $? "missing argument to $ac_option"
   1225 fi
   1226 
   1227 if test -n "$ac_unrecognized_opts"; then
   1228   case $enable_option_checking in
   1229     no) ;;
   1230     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1231     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1232   esac
   1233 fi
   1234 
   1235 # Check all directory arguments for consistency.
   1236 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1237 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1238 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1239 		libdir localedir mandir runstatedir
   1240 do
   1241   eval ac_val=\$$ac_var
   1242   # Remove trailing slashes.
   1243   case $ac_val in
   1244     */ )
   1245       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1246       eval $ac_var=\$ac_val;;
   1247   esac
   1248   # Be sure to have absolute directory names.
   1249   case $ac_val in
   1250     [\\/$]* | ?:[\\/]* )  continue;;
   1251     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1252   esac
   1253   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1254 done
   1255 
   1256 # There might be people who depend on the old broken behavior: `$host'
   1257 # used to hold the argument of --host etc.
   1258 # FIXME: To remove some day.
   1259 build=$build_alias
   1260 host=$host_alias
   1261 target=$target_alias
   1262 
   1263 # FIXME: To remove some day.
   1264 if test "x$host_alias" != x; then
   1265   if test "x$build_alias" = x; then
   1266     cross_compiling=maybe
   1267   elif test "x$build_alias" != "x$host_alias"; then
   1268     cross_compiling=yes
   1269   fi
   1270 fi
   1271 
   1272 ac_tool_prefix=
   1273 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1274 
   1275 test "$silent" = yes && exec 6>/dev/null
   1276 
   1277 
   1278 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1279 ac_ls_di=`ls -di .` &&
   1280 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1281   as_fn_error $? "working directory cannot be determined"
   1282 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1283   as_fn_error $? "pwd does not report name of working directory"
   1284 
   1285 
   1286 # Find the source files, if location was not specified.
   1287 if test -z "$srcdir"; then
   1288   ac_srcdir_defaulted=yes
   1289   # Try the directory containing this script, then the parent directory.
   1290   ac_confdir=`$as_dirname -- "$as_myself" ||
   1291 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1292 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1293 	 X"$as_myself" : 'X\(//\)$' \| \
   1294 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1295 printf "%s\n" X"$as_myself" |
   1296     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1297 	    s//\1/
   1298 	    q
   1299 	  }
   1300 	  /^X\(\/\/\)[^/].*/{
   1301 	    s//\1/
   1302 	    q
   1303 	  }
   1304 	  /^X\(\/\/\)$/{
   1305 	    s//\1/
   1306 	    q
   1307 	  }
   1308 	  /^X\(\/\).*/{
   1309 	    s//\1/
   1310 	    q
   1311 	  }
   1312 	  s/.*/./; q'`
   1313   srcdir=$ac_confdir
   1314   if test ! -r "$srcdir/$ac_unique_file"; then
   1315     srcdir=..
   1316   fi
   1317 else
   1318   ac_srcdir_defaulted=no
   1319 fi
   1320 if test ! -r "$srcdir/$ac_unique_file"; then
   1321   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1322   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1323 fi
   1324 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1325 ac_abs_confdir=`(
   1326 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1327 	pwd)`
   1328 # When building in place, set srcdir=.
   1329 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1330   srcdir=.
   1331 fi
   1332 # Remove unnecessary trailing slashes from srcdir.
   1333 # Double slashes in file names in object file debugging info
   1334 # mess up M-x gdb in Emacs.
   1335 case $srcdir in
   1336 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1337 esac
   1338 for ac_var in $ac_precious_vars; do
   1339   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1340   eval ac_env_${ac_var}_value=\$${ac_var}
   1341   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1342   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1343 done
   1344 
   1345 #
   1346 # Report the --help message.
   1347 #
   1348 if test "$ac_init_help" = "long"; then
   1349   # Omit some internal or obsolete options to make the list less imposing.
   1350   # This message is too long to be a string in the A/UX 3.1 sh.
   1351   cat <<_ACEOF
   1352 \`configure' configures xmodmap 1.0.11 to adapt to many kinds of systems.
   1353 
   1354 Usage: $0 [OPTION]... [VAR=VALUE]...
   1355 
   1356 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1357 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1358 
   1359 Defaults for the options are specified in brackets.
   1360 
   1361 Configuration:
   1362   -h, --help              display this help and exit
   1363       --help=short        display options specific to this package
   1364       --help=recursive    display the short help of all the included packages
   1365   -V, --version           display version information and exit
   1366   -q, --quiet, --silent   do not print \`checking ...' messages
   1367       --cache-file=FILE   cache test results in FILE [disabled]
   1368   -C, --config-cache      alias for \`--cache-file=config.cache'
   1369   -n, --no-create         do not create output files
   1370       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1371 
   1372 Installation directories:
   1373   --prefix=PREFIX         install architecture-independent files in PREFIX
   1374                           [$ac_default_prefix]
   1375   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1376                           [PREFIX]
   1377 
   1378 By default, \`make install' will install all the files in
   1379 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1380 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1381 for instance \`--prefix=\$HOME'.
   1382 
   1383 For better control, use the options below.
   1384 
   1385 Fine tuning of the installation directories:
   1386   --bindir=DIR            user executables [EPREFIX/bin]
   1387   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1388   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1389   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1390   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1391   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1392   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1393   --libdir=DIR            object code libraries [EPREFIX/lib]
   1394   --includedir=DIR        C header files [PREFIX/include]
   1395   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1396   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1397   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1398   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1399   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1400   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1401   --docdir=DIR            documentation root [DATAROOTDIR/doc/xmodmap]
   1402   --htmldir=DIR           html documentation [DOCDIR]
   1403   --dvidir=DIR            dvi documentation [DOCDIR]
   1404   --pdfdir=DIR            pdf documentation [DOCDIR]
   1405   --psdir=DIR             ps documentation [DOCDIR]
   1406 _ACEOF
   1407 
   1408   cat <<\_ACEOF
   1409 
   1410 Program names:
   1411   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1412   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1413   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1414 
   1415 System types:
   1416   --build=BUILD     configure for building on BUILD [guessed]
   1417   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1418 _ACEOF
   1419 fi
   1420 
   1421 if test -n "$ac_init_help"; then
   1422   case $ac_init_help in
   1423      short | recursive ) echo "Configuration of xmodmap 1.0.11:";;
   1424    esac
   1425   cat <<\_ACEOF
   1426 
   1427 Optional Features:
   1428   --disable-option-checking  ignore unrecognized --enable/--with options
   1429   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1430   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1431   --enable-dependency-tracking
   1432                           do not reject slow dependency extractors
   1433   --disable-dependency-tracking
   1434                           speeds up one-time build
   1435   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1436   --disable-silent-rules  verbose build output (undo: "make V=0")
   1437   --disable-selective-werror
   1438                           Turn off selective compiler errors. (default:
   1439                           enabled)
   1440   --enable-strict-compilation
   1441                           Enable all warnings from compiler and make them
   1442                           errors (default: disabled)
   1443 
   1444 Optional Packages:
   1445   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1446   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1447   --with-lint             Use a lint-style source code checker (default:
   1448                           disabled)
   1449 
   1450 Some influential environment variables:
   1451   CC          C compiler command
   1452   CFLAGS      C compiler flags
   1453   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1454               nonstandard directory <lib dir>
   1455   LIBS        libraries to pass to the linker, e.g. -l<library>
   1456   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1457               you have headers in a nonstandard directory <include dir>
   1458   PKG_CONFIG  path to pkg-config utility
   1459   PKG_CONFIG_PATH
   1460               directories to add to pkg-config's search path
   1461   PKG_CONFIG_LIBDIR
   1462               path overriding pkg-config's built-in search path
   1463   XMODMAP_CFLAGS
   1464               C compiler flags for XMODMAP, overriding pkg-config
   1465   XMODMAP_LIBS
   1466               linker flags for XMODMAP, overriding pkg-config
   1467   LINT        Path to a lint-style command
   1468   LINT_FLAGS  Flags for the lint-style command
   1469 
   1470 Use these variables to override the choices made by `configure' or to help
   1471 it to find libraries and programs with nonstandard names/locations.
   1472 
   1473 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xmodmap/issues>.
   1474 _ACEOF
   1475 ac_status=$?
   1476 fi
   1477 
   1478 if test "$ac_init_help" = "recursive"; then
   1479   # If there are subdirs, report their specific --help.
   1480   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1481     test -d "$ac_dir" ||
   1482       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1483       continue
   1484     ac_builddir=.
   1485 
   1486 case "$ac_dir" in
   1487 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1488 *)
   1489   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1490   # A ".." for each directory in $ac_dir_suffix.
   1491   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1492   case $ac_top_builddir_sub in
   1493   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1494   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1495   esac ;;
   1496 esac
   1497 ac_abs_top_builddir=$ac_pwd
   1498 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1499 # for backward compatibility:
   1500 ac_top_builddir=$ac_top_build_prefix
   1501 
   1502 case $srcdir in
   1503   .)  # We are building in place.
   1504     ac_srcdir=.
   1505     ac_top_srcdir=$ac_top_builddir_sub
   1506     ac_abs_top_srcdir=$ac_pwd ;;
   1507   [\\/]* | ?:[\\/]* )  # Absolute name.
   1508     ac_srcdir=$srcdir$ac_dir_suffix;
   1509     ac_top_srcdir=$srcdir
   1510     ac_abs_top_srcdir=$srcdir ;;
   1511   *) # Relative name.
   1512     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1513     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1514     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1515 esac
   1516 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1517 
   1518     cd "$ac_dir" || { ac_status=$?; continue; }
   1519     # Check for configure.gnu first; this name is used for a wrapper for
   1520     # Metaconfig's "Configure" on case-insensitive file systems.
   1521     if test -f "$ac_srcdir/configure.gnu"; then
   1522       echo &&
   1523       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1524     elif test -f "$ac_srcdir/configure"; then
   1525       echo &&
   1526       $SHELL "$ac_srcdir/configure" --help=recursive
   1527     else
   1528       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1529     fi || ac_status=$?
   1530     cd "$ac_pwd" || { ac_status=$?; break; }
   1531   done
   1532 fi
   1533 
   1534 test -n "$ac_init_help" && exit $ac_status
   1535 if $ac_init_version; then
   1536   cat <<\_ACEOF
   1537 xmodmap configure 1.0.11
   1538 generated by GNU Autoconf 2.71
   1539 
   1540 Copyright (C) 2021 Free Software Foundation, Inc.
   1541 This configure script is free software; the Free Software Foundation
   1542 gives unlimited permission to copy, distribute and modify it.
   1543 _ACEOF
   1544   exit
   1545 fi
   1546 
   1547 ## ------------------------ ##
   1548 ## Autoconf initialization. ##
   1549 ## ------------------------ ##
   1550 
   1551 # ac_fn_c_try_compile LINENO
   1552 # --------------------------
   1553 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1554 ac_fn_c_try_compile ()
   1555 {
   1556   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1557   rm -f conftest.$ac_objext conftest.beam
   1558   if { { ac_try="$ac_compile"
   1559 case "(($ac_try" in
   1560   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1561   *) ac_try_echo=$ac_try;;
   1562 esac
   1563 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1564 printf "%s\n" "$ac_try_echo"; } >&5
   1565   (eval "$ac_compile") 2>conftest.err
   1566   ac_status=$?
   1567   if test -s conftest.err; then
   1568     grep -v '^ *+' conftest.err >conftest.er1
   1569     cat conftest.er1 >&5
   1570     mv -f conftest.er1 conftest.err
   1571   fi
   1572   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1573   test $ac_status = 0; } && {
   1574 	 test -z "$ac_c_werror_flag" ||
   1575 	 test ! -s conftest.err
   1576        } && test -s conftest.$ac_objext
   1577 then :
   1578   ac_retval=0
   1579 else $as_nop
   1580   printf "%s\n" "$as_me: failed program was:" >&5
   1581 sed 's/^/| /' conftest.$ac_ext >&5
   1582 
   1583 	ac_retval=1
   1584 fi
   1585   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1586   as_fn_set_status $ac_retval
   1587 
   1588 } # ac_fn_c_try_compile
   1589 
   1590 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1591 # -------------------------------------------------------
   1592 # Tests whether HEADER exists and can be compiled using the include files in
   1593 # INCLUDES, setting the cache variable VAR accordingly.
   1594 ac_fn_c_check_header_compile ()
   1595 {
   1596   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1597   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1598 printf %s "checking for $2... " >&6; }
   1599 if eval test \${$3+y}
   1600 then :
   1601   printf %s "(cached) " >&6
   1602 else $as_nop
   1603   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1604 /* end confdefs.h.  */
   1605 $4
   1606 #include <$2>
   1607 _ACEOF
   1608 if ac_fn_c_try_compile "$LINENO"
   1609 then :
   1610   eval "$3=yes"
   1611 else $as_nop
   1612   eval "$3=no"
   1613 fi
   1614 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1615 fi
   1616 eval ac_res=\$$3
   1617 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1618 printf "%s\n" "$ac_res" >&6; }
   1619   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1620 
   1621 } # ac_fn_c_check_header_compile
   1622 
   1623 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1624 # ------------------------------------------------------------------
   1625 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1626 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1627 ac_fn_check_decl ()
   1628 {
   1629   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1630   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1631   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1632 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1633 if eval test \${$3+y}
   1634 then :
   1635   printf %s "(cached) " >&6
   1636 else $as_nop
   1637   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1638   eval ac_save_FLAGS=\$$6
   1639   as_fn_append $6 " $5"
   1640   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1641 /* end confdefs.h.  */
   1642 $4
   1643 int
   1644 main (void)
   1645 {
   1646 #ifndef $as_decl_name
   1647 #ifdef __cplusplus
   1648   (void) $as_decl_use;
   1649 #else
   1650   (void) $as_decl_name;
   1651 #endif
   1652 #endif
   1653 
   1654   ;
   1655   return 0;
   1656 }
   1657 _ACEOF
   1658 if ac_fn_c_try_compile "$LINENO"
   1659 then :
   1660   eval "$3=yes"
   1661 else $as_nop
   1662   eval "$3=no"
   1663 fi
   1664 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1665   eval $6=\$ac_save_FLAGS
   1666 
   1667 fi
   1668 eval ac_res=\$$3
   1669 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1670 printf "%s\n" "$ac_res" >&6; }
   1671   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1672 
   1673 } # ac_fn_check_decl
   1674 
   1675 # ac_fn_c_try_link LINENO
   1676 # -----------------------
   1677 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1678 ac_fn_c_try_link ()
   1679 {
   1680   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1681   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1682   if { { ac_try="$ac_link"
   1683 case "(($ac_try" in
   1684   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1685   *) ac_try_echo=$ac_try;;
   1686 esac
   1687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1688 printf "%s\n" "$ac_try_echo"; } >&5
   1689   (eval "$ac_link") 2>conftest.err
   1690   ac_status=$?
   1691   if test -s conftest.err; then
   1692     grep -v '^ *+' conftest.err >conftest.er1
   1693     cat conftest.er1 >&5
   1694     mv -f conftest.er1 conftest.err
   1695   fi
   1696   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1697   test $ac_status = 0; } && {
   1698 	 test -z "$ac_c_werror_flag" ||
   1699 	 test ! -s conftest.err
   1700        } && test -s conftest$ac_exeext && {
   1701 	 test "$cross_compiling" = yes ||
   1702 	 test -x conftest$ac_exeext
   1703        }
   1704 then :
   1705   ac_retval=0
   1706 else $as_nop
   1707   printf "%s\n" "$as_me: failed program was:" >&5
   1708 sed 's/^/| /' conftest.$ac_ext >&5
   1709 
   1710 	ac_retval=1
   1711 fi
   1712   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1713   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1714   # interfere with the next link command; also delete a directory that is
   1715   # left behind by Apple's compiler.  We do this before executing the actions.
   1716   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1717   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1718   as_fn_set_status $ac_retval
   1719 
   1720 } # ac_fn_c_try_link
   1721 
   1722 # ac_fn_c_check_func LINENO FUNC VAR
   1723 # ----------------------------------
   1724 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1725 ac_fn_c_check_func ()
   1726 {
   1727   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1728   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1729 printf %s "checking for $2... " >&6; }
   1730 if eval test \${$3+y}
   1731 then :
   1732   printf %s "(cached) " >&6
   1733 else $as_nop
   1734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1735 /* end confdefs.h.  */
   1736 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1737    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1738 #define $2 innocuous_$2
   1739 
   1740 /* System header to define __stub macros and hopefully few prototypes,
   1741    which can conflict with char $2 (); below.  */
   1742 
   1743 #include <limits.h>
   1744 #undef $2
   1745 
   1746 /* Override any GCC internal prototype to avoid an error.
   1747    Use char because int might match the return type of a GCC
   1748    builtin and then its argument prototype would still apply.  */
   1749 #ifdef __cplusplus
   1750 extern "C"
   1751 #endif
   1752 char $2 ();
   1753 /* The GNU C library defines this for functions which it implements
   1754     to always fail with ENOSYS.  Some functions are actually named
   1755     something starting with __ and the normal name is an alias.  */
   1756 #if defined __stub_$2 || defined __stub___$2
   1757 choke me
   1758 #endif
   1759 
   1760 int
   1761 main (void)
   1762 {
   1763 return $2 ();
   1764   ;
   1765   return 0;
   1766 }
   1767 _ACEOF
   1768 if ac_fn_c_try_link "$LINENO"
   1769 then :
   1770   eval "$3=yes"
   1771 else $as_nop
   1772   eval "$3=no"
   1773 fi
   1774 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1775     conftest$ac_exeext conftest.$ac_ext
   1776 fi
   1777 eval ac_res=\$$3
   1778 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1779 printf "%s\n" "$ac_res" >&6; }
   1780   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1781 
   1782 } # ac_fn_c_check_func
   1783 ac_configure_args_raw=
   1784 for ac_arg
   1785 do
   1786   case $ac_arg in
   1787   *\'*)
   1788     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1789   esac
   1790   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1791 done
   1792 
   1793 case $ac_configure_args_raw in
   1794   *$as_nl*)
   1795     ac_safe_unquote= ;;
   1796   *)
   1797     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1798     ac_unsafe_a="$ac_unsafe_z#~"
   1799     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1800     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1801 esac
   1802 
   1803 cat >config.log <<_ACEOF
   1804 This file contains any messages produced by compilers while
   1805 running configure, to aid debugging if configure makes a mistake.
   1806 
   1807 It was created by xmodmap $as_me 1.0.11, which was
   1808 generated by GNU Autoconf 2.71.  Invocation command line was
   1809 
   1810   $ $0$ac_configure_args_raw
   1811 
   1812 _ACEOF
   1813 exec 5>>config.log
   1814 {
   1815 cat <<_ASUNAME
   1816 ## --------- ##
   1817 ## Platform. ##
   1818 ## --------- ##
   1819 
   1820 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1821 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1822 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1823 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1824 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1825 
   1826 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1827 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1828 
   1829 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1830 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1831 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1832 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1833 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1834 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1835 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1836 
   1837 _ASUNAME
   1838 
   1839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1840 for as_dir in $PATH
   1841 do
   1842   IFS=$as_save_IFS
   1843   case $as_dir in #(((
   1844     '') as_dir=./ ;;
   1845     */) ;;
   1846     *) as_dir=$as_dir/ ;;
   1847   esac
   1848     printf "%s\n" "PATH: $as_dir"
   1849   done
   1850 IFS=$as_save_IFS
   1851 
   1852 } >&5
   1853 
   1854 cat >&5 <<_ACEOF
   1855 
   1856 
   1857 ## ----------- ##
   1858 ## Core tests. ##
   1859 ## ----------- ##
   1860 
   1861 _ACEOF
   1862 
   1863 
   1864 # Keep a trace of the command line.
   1865 # Strip out --no-create and --no-recursion so they do not pile up.
   1866 # Strip out --silent because we don't want to record it for future runs.
   1867 # Also quote any args containing shell meta-characters.
   1868 # Make two passes to allow for proper duplicate-argument suppression.
   1869 ac_configure_args=
   1870 ac_configure_args0=
   1871 ac_configure_args1=
   1872 ac_must_keep_next=false
   1873 for ac_pass in 1 2
   1874 do
   1875   for ac_arg
   1876   do
   1877     case $ac_arg in
   1878     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1879     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1880     | -silent | --silent | --silen | --sile | --sil)
   1881       continue ;;
   1882     *\'*)
   1883       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1884     esac
   1885     case $ac_pass in
   1886     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1887     2)
   1888       as_fn_append ac_configure_args1 " '$ac_arg'"
   1889       if test $ac_must_keep_next = true; then
   1890 	ac_must_keep_next=false # Got value, back to normal.
   1891       else
   1892 	case $ac_arg in
   1893 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1894 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1895 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1896 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1897 	    case "$ac_configure_args0 " in
   1898 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1899 	    esac
   1900 	    ;;
   1901 	  -* ) ac_must_keep_next=true ;;
   1902 	esac
   1903       fi
   1904       as_fn_append ac_configure_args " '$ac_arg'"
   1905       ;;
   1906     esac
   1907   done
   1908 done
   1909 { ac_configure_args0=; unset ac_configure_args0;}
   1910 { ac_configure_args1=; unset ac_configure_args1;}
   1911 
   1912 # When interrupted or exit'd, cleanup temporary files, and complete
   1913 # config.log.  We remove comments because anyway the quotes in there
   1914 # would cause problems or look ugly.
   1915 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1916 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1917 trap 'exit_status=$?
   1918   # Sanitize IFS.
   1919   IFS=" ""	$as_nl"
   1920   # Save into config.log some information that might help in debugging.
   1921   {
   1922     echo
   1923 
   1924     printf "%s\n" "## ---------------- ##
   1925 ## Cache variables. ##
   1926 ## ---------------- ##"
   1927     echo
   1928     # The following way of writing the cache mishandles newlines in values,
   1929 (
   1930   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1931     eval ac_val=\$$ac_var
   1932     case $ac_val in #(
   1933     *${as_nl}*)
   1934       case $ac_var in #(
   1935       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1936 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1937       esac
   1938       case $ac_var in #(
   1939       _ | IFS | as_nl) ;; #(
   1940       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1941       *) { eval $ac_var=; unset $ac_var;} ;;
   1942       esac ;;
   1943     esac
   1944   done
   1945   (set) 2>&1 |
   1946     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1947     *${as_nl}ac_space=\ *)
   1948       sed -n \
   1949 	"s/'\''/'\''\\\\'\'''\''/g;
   1950 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1951       ;; #(
   1952     *)
   1953       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1954       ;;
   1955     esac |
   1956     sort
   1957 )
   1958     echo
   1959 
   1960     printf "%s\n" "## ----------------- ##
   1961 ## Output variables. ##
   1962 ## ----------------- ##"
   1963     echo
   1964     for ac_var in $ac_subst_vars
   1965     do
   1966       eval ac_val=\$$ac_var
   1967       case $ac_val in
   1968       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1969       esac
   1970       printf "%s\n" "$ac_var='\''$ac_val'\''"
   1971     done | sort
   1972     echo
   1973 
   1974     if test -n "$ac_subst_files"; then
   1975       printf "%s\n" "## ------------------- ##
   1976 ## File substitutions. ##
   1977 ## ------------------- ##"
   1978       echo
   1979       for ac_var in $ac_subst_files
   1980       do
   1981 	eval ac_val=\$$ac_var
   1982 	case $ac_val in
   1983 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1984 	esac
   1985 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   1986       done | sort
   1987       echo
   1988     fi
   1989 
   1990     if test -s confdefs.h; then
   1991       printf "%s\n" "## ----------- ##
   1992 ## confdefs.h. ##
   1993 ## ----------- ##"
   1994       echo
   1995       cat confdefs.h
   1996       echo
   1997     fi
   1998     test "$ac_signal" != 0 &&
   1999       printf "%s\n" "$as_me: caught signal $ac_signal"
   2000     printf "%s\n" "$as_me: exit $exit_status"
   2001   } >&5
   2002   rm -f core *.core core.conftest.* &&
   2003     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2004     exit $exit_status
   2005 ' 0
   2006 for ac_signal in 1 2 13 15; do
   2007   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2008 done
   2009 ac_signal=0
   2010 
   2011 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2012 rm -f -r conftest* confdefs.h
   2013 
   2014 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2015 
   2016 # Predefined preprocessor variables.
   2017 
   2018 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2019 
   2020 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2021 
   2022 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2023 
   2024 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2025 
   2026 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2027 
   2028 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2029 
   2030 
   2031 # Let the site file select an alternate cache file if it wants to.
   2032 # Prefer an explicitly selected file to automatically selected ones.
   2033 if test -n "$CONFIG_SITE"; then
   2034   ac_site_files="$CONFIG_SITE"
   2035 elif test "x$prefix" != xNONE; then
   2036   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2037 else
   2038   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2039 fi
   2040 
   2041 for ac_site_file in $ac_site_files
   2042 do
   2043   case $ac_site_file in #(
   2044   */*) :
   2045      ;; #(
   2046   *) :
   2047     ac_site_file=./$ac_site_file ;;
   2048 esac
   2049   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2050     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2051 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2052     sed 's/^/| /' "$ac_site_file" >&5
   2053     . "$ac_site_file" \
   2054       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2055 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2056 as_fn_error $? "failed to load site script $ac_site_file
   2057 See \`config.log' for more details" "$LINENO" 5; }
   2058   fi
   2059 done
   2060 
   2061 if test -r "$cache_file"; then
   2062   # Some versions of bash will fail to source /dev/null (special files
   2063   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2064   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2065     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2066 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2067     case $cache_file in
   2068       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2069       *)                      . "./$cache_file";;
   2070     esac
   2071   fi
   2072 else
   2073   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2074 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2075   >$cache_file
   2076 fi
   2077 
   2078 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2079 # Test code for whether the C compiler supports C89 (global declarations)
   2080 ac_c_conftest_c89_globals='
   2081 /* Does the compiler advertise C89 conformance?
   2082    Do not test the value of __STDC__, because some compilers set it to 0
   2083    while being otherwise adequately conformant. */
   2084 #if !defined __STDC__
   2085 # error "Compiler does not advertise C89 conformance"
   2086 #endif
   2087 
   2088 #include <stddef.h>
   2089 #include <stdarg.h>
   2090 struct stat;
   2091 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2092 struct buf { int x; };
   2093 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2094 static char *e (p, i)
   2095      char **p;
   2096      int i;
   2097 {
   2098   return p[i];
   2099 }
   2100 static char *f (char * (*g) (char **, int), char **p, ...)
   2101 {
   2102   char *s;
   2103   va_list v;
   2104   va_start (v,p);
   2105   s = g (p, va_arg (v,int));
   2106   va_end (v);
   2107   return s;
   2108 }
   2109 
   2110 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2111    function prototypes and stuff, but not \xHH hex character constants.
   2112    These do not provoke an error unfortunately, instead are silently treated
   2113    as an "x".  The following induces an error, until -std is added to get
   2114    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2115    array size at least.  It is necessary to write \x00 == 0 to get something
   2116    that is true only with -std.  */
   2117 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2118 
   2119 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2120    inside strings and character constants.  */
   2121 #define FOO(x) '\''x'\''
   2122 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2123 
   2124 int test (int i, double x);
   2125 struct s1 {int (*f) (int a);};
   2126 struct s2 {int (*f) (double a);};
   2127 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2128                int, int);'
   2129 
   2130 # Test code for whether the C compiler supports C89 (body of main).
   2131 ac_c_conftest_c89_main='
   2132 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2133 '
   2134 
   2135 # Test code for whether the C compiler supports C99 (global declarations)
   2136 ac_c_conftest_c99_globals='
   2137 // Does the compiler advertise C99 conformance?
   2138 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2139 # error "Compiler does not advertise C99 conformance"
   2140 #endif
   2141 
   2142 #include <stdbool.h>
   2143 extern int puts (const char *);
   2144 extern int printf (const char *, ...);
   2145 extern int dprintf (int, const char *, ...);
   2146 extern void *malloc (size_t);
   2147 
   2148 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2149 // dprintf is used instead of fprintf to avoid needing to declare
   2150 // FILE and stderr.
   2151 #define debug(...) dprintf (2, __VA_ARGS__)
   2152 #define showlist(...) puts (#__VA_ARGS__)
   2153 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2154 static void
   2155 test_varargs_macros (void)
   2156 {
   2157   int x = 1234;
   2158   int y = 5678;
   2159   debug ("Flag");
   2160   debug ("X = %d\n", x);
   2161   showlist (The first, second, and third items.);
   2162   report (x>y, "x is %d but y is %d", x, y);
   2163 }
   2164 
   2165 // Check long long types.
   2166 #define BIG64 18446744073709551615ull
   2167 #define BIG32 4294967295ul
   2168 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2169 #if !BIG_OK
   2170   #error "your preprocessor is broken"
   2171 #endif
   2172 #if BIG_OK
   2173 #else
   2174   #error "your preprocessor is broken"
   2175 #endif
   2176 static long long int bignum = -9223372036854775807LL;
   2177 static unsigned long long int ubignum = BIG64;
   2178 
   2179 struct incomplete_array
   2180 {
   2181   int datasize;
   2182   double data[];
   2183 };
   2184 
   2185 struct named_init {
   2186   int number;
   2187   const wchar_t *name;
   2188   double average;
   2189 };
   2190 
   2191 typedef const char *ccp;
   2192 
   2193 static inline int
   2194 test_restrict (ccp restrict text)
   2195 {
   2196   // See if C++-style comments work.
   2197   // Iterate through items via the restricted pointer.
   2198   // Also check for declarations in for loops.
   2199   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2200     continue;
   2201   return 0;
   2202 }
   2203 
   2204 // Check varargs and va_copy.
   2205 static bool
   2206 test_varargs (const char *format, ...)
   2207 {
   2208   va_list args;
   2209   va_start (args, format);
   2210   va_list args_copy;
   2211   va_copy (args_copy, args);
   2212 
   2213   const char *str = "";
   2214   int number = 0;
   2215   float fnumber = 0;
   2216 
   2217   while (*format)
   2218     {
   2219       switch (*format++)
   2220 	{
   2221 	case '\''s'\'': // string
   2222 	  str = va_arg (args_copy, const char *);
   2223 	  break;
   2224 	case '\''d'\'': // int
   2225 	  number = va_arg (args_copy, int);
   2226 	  break;
   2227 	case '\''f'\'': // float
   2228 	  fnumber = va_arg (args_copy, double);
   2229 	  break;
   2230 	default:
   2231 	  break;
   2232 	}
   2233     }
   2234   va_end (args_copy);
   2235   va_end (args);
   2236 
   2237   return *str && number && fnumber;
   2238 }
   2239 '
   2240 
   2241 # Test code for whether the C compiler supports C99 (body of main).
   2242 ac_c_conftest_c99_main='
   2243   // Check bool.
   2244   _Bool success = false;
   2245   success |= (argc != 0);
   2246 
   2247   // Check restrict.
   2248   if (test_restrict ("String literal") == 0)
   2249     success = true;
   2250   char *restrict newvar = "Another string";
   2251 
   2252   // Check varargs.
   2253   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2254   test_varargs_macros ();
   2255 
   2256   // Check flexible array members.
   2257   struct incomplete_array *ia =
   2258     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2259   ia->datasize = 10;
   2260   for (int i = 0; i < ia->datasize; ++i)
   2261     ia->data[i] = i * 1.234;
   2262 
   2263   // Check named initializers.
   2264   struct named_init ni = {
   2265     .number = 34,
   2266     .name = L"Test wide string",
   2267     .average = 543.34343,
   2268   };
   2269 
   2270   ni.number = 58;
   2271 
   2272   int dynamic_array[ni.number];
   2273   dynamic_array[0] = argv[0][0];
   2274   dynamic_array[ni.number - 1] = 543;
   2275 
   2276   // work around unused variable warnings
   2277   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2278 	 || dynamic_array[ni.number - 1] != 543);
   2279 '
   2280 
   2281 # Test code for whether the C compiler supports C11 (global declarations)
   2282 ac_c_conftest_c11_globals='
   2283 // Does the compiler advertise C11 conformance?
   2284 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2285 # error "Compiler does not advertise C11 conformance"
   2286 #endif
   2287 
   2288 // Check _Alignas.
   2289 char _Alignas (double) aligned_as_double;
   2290 char _Alignas (0) no_special_alignment;
   2291 extern char aligned_as_int;
   2292 char _Alignas (0) _Alignas (int) aligned_as_int;
   2293 
   2294 // Check _Alignof.
   2295 enum
   2296 {
   2297   int_alignment = _Alignof (int),
   2298   int_array_alignment = _Alignof (int[100]),
   2299   char_alignment = _Alignof (char)
   2300 };
   2301 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2302 
   2303 // Check _Noreturn.
   2304 int _Noreturn does_not_return (void) { for (;;) continue; }
   2305 
   2306 // Check _Static_assert.
   2307 struct test_static_assert
   2308 {
   2309   int x;
   2310   _Static_assert (sizeof (int) <= sizeof (long int),
   2311                   "_Static_assert does not work in struct");
   2312   long int y;
   2313 };
   2314 
   2315 // Check UTF-8 literals.
   2316 #define u8 syntax error!
   2317 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2318 
   2319 // Check duplicate typedefs.
   2320 typedef long *long_ptr;
   2321 typedef long int *long_ptr;
   2322 typedef long_ptr long_ptr;
   2323 
   2324 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2325 struct anonymous
   2326 {
   2327   union {
   2328     struct { int i; int j; };
   2329     struct { int k; long int l; } w;
   2330   };
   2331   int m;
   2332 } v1;
   2333 '
   2334 
   2335 # Test code for whether the C compiler supports C11 (body of main).
   2336 ac_c_conftest_c11_main='
   2337   _Static_assert ((offsetof (struct anonymous, i)
   2338 		   == offsetof (struct anonymous, w.k)),
   2339 		  "Anonymous union alignment botch");
   2340   v1.i = 2;
   2341   v1.w.k = 5;
   2342   ok |= v1.i != 5;
   2343 '
   2344 
   2345 # Test code for whether the C compiler supports C11 (complete).
   2346 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2347 ${ac_c_conftest_c99_globals}
   2348 ${ac_c_conftest_c11_globals}
   2349 
   2350 int
   2351 main (int argc, char **argv)
   2352 {
   2353   int ok = 0;
   2354   ${ac_c_conftest_c89_main}
   2355   ${ac_c_conftest_c99_main}
   2356   ${ac_c_conftest_c11_main}
   2357   return ok;
   2358 }
   2359 "
   2360 
   2361 # Test code for whether the C compiler supports C99 (complete).
   2362 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2363 ${ac_c_conftest_c99_globals}
   2364 
   2365 int
   2366 main (int argc, char **argv)
   2367 {
   2368   int ok = 0;
   2369   ${ac_c_conftest_c89_main}
   2370   ${ac_c_conftest_c99_main}
   2371   return ok;
   2372 }
   2373 "
   2374 
   2375 # Test code for whether the C compiler supports C89 (complete).
   2376 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2377 
   2378 int
   2379 main (int argc, char **argv)
   2380 {
   2381   int ok = 0;
   2382   ${ac_c_conftest_c89_main}
   2383   return ok;
   2384 }
   2385 "
   2386 
   2387 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2388 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2389 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2390 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2391 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2392 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2393 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2394 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2395 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
   2396 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
   2397 
   2398 # Auxiliary files required by this configure script.
   2399 ac_aux_files="config.guess config.sub missing install-sh compile"
   2400 
   2401 # Locations in which to look for auxiliary files.
   2402 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2403 
   2404 # Search for a directory containing all of the required auxiliary files,
   2405 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2406 # If we don't find one directory that contains all the files we need,
   2407 # we report the set of missing files from the *first* directory in
   2408 # $ac_aux_dir_candidates and give up.
   2409 ac_missing_aux_files=""
   2410 ac_first_candidate=:
   2411 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2413 as_found=false
   2414 for as_dir in $ac_aux_dir_candidates
   2415 do
   2416   IFS=$as_save_IFS
   2417   case $as_dir in #(((
   2418     '') as_dir=./ ;;
   2419     */) ;;
   2420     *) as_dir=$as_dir/ ;;
   2421   esac
   2422   as_found=:
   2423 
   2424   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2425   ac_aux_dir_found=yes
   2426   ac_install_sh=
   2427   for ac_aux in $ac_aux_files
   2428   do
   2429     # As a special case, if "install-sh" is required, that requirement
   2430     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2431     # and $ac_install_sh is set appropriately for whichever one is found.
   2432     if test x"$ac_aux" = x"install-sh"
   2433     then
   2434       if test -f "${as_dir}install-sh"; then
   2435         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2436         ac_install_sh="${as_dir}install-sh -c"
   2437       elif test -f "${as_dir}install.sh"; then
   2438         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2439         ac_install_sh="${as_dir}install.sh -c"
   2440       elif test -f "${as_dir}shtool"; then
   2441         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2442         ac_install_sh="${as_dir}shtool install -c"
   2443       else
   2444         ac_aux_dir_found=no
   2445         if $ac_first_candidate; then
   2446           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2447         else
   2448           break
   2449         fi
   2450       fi
   2451     else
   2452       if test -f "${as_dir}${ac_aux}"; then
   2453         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2454       else
   2455         ac_aux_dir_found=no
   2456         if $ac_first_candidate; then
   2457           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2458         else
   2459           break
   2460         fi
   2461       fi
   2462     fi
   2463   done
   2464   if test "$ac_aux_dir_found" = yes; then
   2465     ac_aux_dir="$as_dir"
   2466     break
   2467   fi
   2468   ac_first_candidate=false
   2469 
   2470   as_found=false
   2471 done
   2472 IFS=$as_save_IFS
   2473 if $as_found
   2474 then :
   2475 
   2476 else $as_nop
   2477   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2478 fi
   2479 
   2480 
   2481 # These three variables are undocumented and unsupported,
   2482 # and are intended to be withdrawn in a future Autoconf release.
   2483 # They can cause serious problems if a builder's source tree is in a directory
   2484 # whose full name contains unusual characters.
   2485 if test -f "${ac_aux_dir}config.guess"; then
   2486   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2487 fi
   2488 if test -f "${ac_aux_dir}config.sub"; then
   2489   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2490 fi
   2491 if test -f "$ac_aux_dir/configure"; then
   2492   ac_configure="$SHELL ${ac_aux_dir}configure"
   2493 fi
   2494 
   2495 # Check that the precious variables saved in the cache have kept the same
   2496 # value.
   2497 ac_cache_corrupted=false
   2498 for ac_var in $ac_precious_vars; do
   2499   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2500   eval ac_new_set=\$ac_env_${ac_var}_set
   2501   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2502   eval ac_new_val=\$ac_env_${ac_var}_value
   2503   case $ac_old_set,$ac_new_set in
   2504     set,)
   2505       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2506 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2507       ac_cache_corrupted=: ;;
   2508     ,set)
   2509       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2510 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2511       ac_cache_corrupted=: ;;
   2512     ,);;
   2513     *)
   2514       if test "x$ac_old_val" != "x$ac_new_val"; then
   2515 	# differences in whitespace do not lead to failure.
   2516 	ac_old_val_w=`echo x $ac_old_val`
   2517 	ac_new_val_w=`echo x $ac_new_val`
   2518 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2519 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2520 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2521 	  ac_cache_corrupted=:
   2522 	else
   2523 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2524 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2525 	  eval $ac_var=\$ac_old_val
   2526 	fi
   2527 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2528 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2529 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2530 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2531       fi;;
   2532   esac
   2533   # Pass precious variables to config.status.
   2534   if test "$ac_new_set" = set; then
   2535     case $ac_new_val in
   2536     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2537     *) ac_arg=$ac_var=$ac_new_val ;;
   2538     esac
   2539     case " $ac_configure_args " in
   2540       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2541       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2542     esac
   2543   fi
   2544 done
   2545 if $ac_cache_corrupted; then
   2546   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2547 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2548   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2549 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2550   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2551 	    and start over" "$LINENO" 5
   2552 fi
   2553 ## -------------------- ##
   2554 ## Main body of script. ##
   2555 ## -------------------- ##
   2556 
   2557 ac_ext=c
   2558 ac_cpp='$CPP $CPPFLAGS'
   2559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2562 
   2563 
   2564 
   2565 ac_config_headers="$ac_config_headers config.h"
   2566 
   2567 # Needed for asprintf on GNU libc
   2568 
   2569 
   2570 
   2571 
   2572 
   2573 
   2574 
   2575 
   2576 
   2577 
   2578 
   2579 # Expand $ac_aux_dir to an absolute path.
   2580 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2581 
   2582 ac_ext=c
   2583 ac_cpp='$CPP $CPPFLAGS'
   2584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2587 if test -n "$ac_tool_prefix"; then
   2588   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2589 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2591 printf %s "checking for $ac_word... " >&6; }
   2592 if test ${ac_cv_prog_CC+y}
   2593 then :
   2594   printf %s "(cached) " >&6
   2595 else $as_nop
   2596   if test -n "$CC"; then
   2597   ac_cv_prog_CC="$CC" # Let the user override the test.
   2598 else
   2599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2600 for as_dir in $PATH
   2601 do
   2602   IFS=$as_save_IFS
   2603   case $as_dir in #(((
   2604     '') as_dir=./ ;;
   2605     */) ;;
   2606     *) as_dir=$as_dir/ ;;
   2607   esac
   2608     for ac_exec_ext in '' $ac_executable_extensions; do
   2609   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2610     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2611     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2612     break 2
   2613   fi
   2614 done
   2615   done
   2616 IFS=$as_save_IFS
   2617 
   2618 fi
   2619 fi
   2620 CC=$ac_cv_prog_CC
   2621 if test -n "$CC"; then
   2622   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2623 printf "%s\n" "$CC" >&6; }
   2624 else
   2625   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2626 printf "%s\n" "no" >&6; }
   2627 fi
   2628 
   2629 
   2630 fi
   2631 if test -z "$ac_cv_prog_CC"; then
   2632   ac_ct_CC=$CC
   2633   # Extract the first word of "gcc", so it can be a program name with args.
   2634 set dummy gcc; ac_word=$2
   2635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2636 printf %s "checking for $ac_word... " >&6; }
   2637 if test ${ac_cv_prog_ac_ct_CC+y}
   2638 then :
   2639   printf %s "(cached) " >&6
   2640 else $as_nop
   2641   if test -n "$ac_ct_CC"; then
   2642   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2643 else
   2644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2645 for as_dir in $PATH
   2646 do
   2647   IFS=$as_save_IFS
   2648   case $as_dir in #(((
   2649     '') as_dir=./ ;;
   2650     */) ;;
   2651     *) as_dir=$as_dir/ ;;
   2652   esac
   2653     for ac_exec_ext in '' $ac_executable_extensions; do
   2654   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2655     ac_cv_prog_ac_ct_CC="gcc"
   2656     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2657     break 2
   2658   fi
   2659 done
   2660   done
   2661 IFS=$as_save_IFS
   2662 
   2663 fi
   2664 fi
   2665 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2666 if test -n "$ac_ct_CC"; then
   2667   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2668 printf "%s\n" "$ac_ct_CC" >&6; }
   2669 else
   2670   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2671 printf "%s\n" "no" >&6; }
   2672 fi
   2673 
   2674   if test "x$ac_ct_CC" = x; then
   2675     CC=""
   2676   else
   2677     case $cross_compiling:$ac_tool_warned in
   2678 yes:)
   2679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2680 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2681 ac_tool_warned=yes ;;
   2682 esac
   2683     CC=$ac_ct_CC
   2684   fi
   2685 else
   2686   CC="$ac_cv_prog_CC"
   2687 fi
   2688 
   2689 if test -z "$CC"; then
   2690           if test -n "$ac_tool_prefix"; then
   2691     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2692 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2694 printf %s "checking for $ac_word... " >&6; }
   2695 if test ${ac_cv_prog_CC+y}
   2696 then :
   2697   printf %s "(cached) " >&6
   2698 else $as_nop
   2699   if test -n "$CC"; then
   2700   ac_cv_prog_CC="$CC" # Let the user override the test.
   2701 else
   2702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2703 for as_dir in $PATH
   2704 do
   2705   IFS=$as_save_IFS
   2706   case $as_dir in #(((
   2707     '') as_dir=./ ;;
   2708     */) ;;
   2709     *) as_dir=$as_dir/ ;;
   2710   esac
   2711     for ac_exec_ext in '' $ac_executable_extensions; do
   2712   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2713     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2714     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2715     break 2
   2716   fi
   2717 done
   2718   done
   2719 IFS=$as_save_IFS
   2720 
   2721 fi
   2722 fi
   2723 CC=$ac_cv_prog_CC
   2724 if test -n "$CC"; then
   2725   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2726 printf "%s\n" "$CC" >&6; }
   2727 else
   2728   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2729 printf "%s\n" "no" >&6; }
   2730 fi
   2731 
   2732 
   2733   fi
   2734 fi
   2735 if test -z "$CC"; then
   2736   # Extract the first word of "cc", so it can be a program name with args.
   2737 set dummy cc; ac_word=$2
   2738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2739 printf %s "checking for $ac_word... " >&6; }
   2740 if test ${ac_cv_prog_CC+y}
   2741 then :
   2742   printf %s "(cached) " >&6
   2743 else $as_nop
   2744   if test -n "$CC"; then
   2745   ac_cv_prog_CC="$CC" # Let the user override the test.
   2746 else
   2747   ac_prog_rejected=no
   2748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2749 for as_dir in $PATH
   2750 do
   2751   IFS=$as_save_IFS
   2752   case $as_dir in #(((
   2753     '') as_dir=./ ;;
   2754     */) ;;
   2755     *) as_dir=$as_dir/ ;;
   2756   esac
   2757     for ac_exec_ext in '' $ac_executable_extensions; do
   2758   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2759     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2760        ac_prog_rejected=yes
   2761        continue
   2762      fi
   2763     ac_cv_prog_CC="cc"
   2764     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2765     break 2
   2766   fi
   2767 done
   2768   done
   2769 IFS=$as_save_IFS
   2770 
   2771 if test $ac_prog_rejected = yes; then
   2772   # We found a bogon in the path, so make sure we never use it.
   2773   set dummy $ac_cv_prog_CC
   2774   shift
   2775   if test $# != 0; then
   2776     # We chose a different compiler from the bogus one.
   2777     # However, it has the same basename, so the bogon will be chosen
   2778     # first if we set CC to just the basename; use the full file name.
   2779     shift
   2780     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   2781   fi
   2782 fi
   2783 fi
   2784 fi
   2785 CC=$ac_cv_prog_CC
   2786 if test -n "$CC"; then
   2787   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2788 printf "%s\n" "$CC" >&6; }
   2789 else
   2790   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2791 printf "%s\n" "no" >&6; }
   2792 fi
   2793 
   2794 
   2795 fi
   2796 if test -z "$CC"; then
   2797   if test -n "$ac_tool_prefix"; then
   2798   for ac_prog in cl.exe
   2799   do
   2800     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2801 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2803 printf %s "checking for $ac_word... " >&6; }
   2804 if test ${ac_cv_prog_CC+y}
   2805 then :
   2806   printf %s "(cached) " >&6
   2807 else $as_nop
   2808   if test -n "$CC"; then
   2809   ac_cv_prog_CC="$CC" # Let the user override the test.
   2810 else
   2811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2812 for as_dir in $PATH
   2813 do
   2814   IFS=$as_save_IFS
   2815   case $as_dir in #(((
   2816     '') as_dir=./ ;;
   2817     */) ;;
   2818     *) as_dir=$as_dir/ ;;
   2819   esac
   2820     for ac_exec_ext in '' $ac_executable_extensions; do
   2821   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2822     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2823     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2824     break 2
   2825   fi
   2826 done
   2827   done
   2828 IFS=$as_save_IFS
   2829 
   2830 fi
   2831 fi
   2832 CC=$ac_cv_prog_CC
   2833 if test -n "$CC"; then
   2834   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2835 printf "%s\n" "$CC" >&6; }
   2836 else
   2837   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2838 printf "%s\n" "no" >&6; }
   2839 fi
   2840 
   2841 
   2842     test -n "$CC" && break
   2843   done
   2844 fi
   2845 if test -z "$CC"; then
   2846   ac_ct_CC=$CC
   2847   for ac_prog in cl.exe
   2848 do
   2849   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2850 set dummy $ac_prog; ac_word=$2
   2851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2852 printf %s "checking for $ac_word... " >&6; }
   2853 if test ${ac_cv_prog_ac_ct_CC+y}
   2854 then :
   2855   printf %s "(cached) " >&6
   2856 else $as_nop
   2857   if test -n "$ac_ct_CC"; then
   2858   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2859 else
   2860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2861 for as_dir in $PATH
   2862 do
   2863   IFS=$as_save_IFS
   2864   case $as_dir in #(((
   2865     '') as_dir=./ ;;
   2866     */) ;;
   2867     *) as_dir=$as_dir/ ;;
   2868   esac
   2869     for ac_exec_ext in '' $ac_executable_extensions; do
   2870   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2871     ac_cv_prog_ac_ct_CC="$ac_prog"
   2872     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2873     break 2
   2874   fi
   2875 done
   2876   done
   2877 IFS=$as_save_IFS
   2878 
   2879 fi
   2880 fi
   2881 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2882 if test -n "$ac_ct_CC"; then
   2883   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2884 printf "%s\n" "$ac_ct_CC" >&6; }
   2885 else
   2886   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2887 printf "%s\n" "no" >&6; }
   2888 fi
   2889 
   2890 
   2891   test -n "$ac_ct_CC" && break
   2892 done
   2893 
   2894   if test "x$ac_ct_CC" = x; then
   2895     CC=""
   2896   else
   2897     case $cross_compiling:$ac_tool_warned in
   2898 yes:)
   2899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2900 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2901 ac_tool_warned=yes ;;
   2902 esac
   2903     CC=$ac_ct_CC
   2904   fi
   2905 fi
   2906 
   2907 fi
   2908 if test -z "$CC"; then
   2909   if test -n "$ac_tool_prefix"; then
   2910   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   2911 set dummy ${ac_tool_prefix}clang; ac_word=$2
   2912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2913 printf %s "checking for $ac_word... " >&6; }
   2914 if test ${ac_cv_prog_CC+y}
   2915 then :
   2916   printf %s "(cached) " >&6
   2917 else $as_nop
   2918   if test -n "$CC"; then
   2919   ac_cv_prog_CC="$CC" # Let the user override the test.
   2920 else
   2921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2922 for as_dir in $PATH
   2923 do
   2924   IFS=$as_save_IFS
   2925   case $as_dir in #(((
   2926     '') as_dir=./ ;;
   2927     */) ;;
   2928     *) as_dir=$as_dir/ ;;
   2929   esac
   2930     for ac_exec_ext in '' $ac_executable_extensions; do
   2931   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2932     ac_cv_prog_CC="${ac_tool_prefix}clang"
   2933     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2934     break 2
   2935   fi
   2936 done
   2937   done
   2938 IFS=$as_save_IFS
   2939 
   2940 fi
   2941 fi
   2942 CC=$ac_cv_prog_CC
   2943 if test -n "$CC"; then
   2944   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2945 printf "%s\n" "$CC" >&6; }
   2946 else
   2947   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2948 printf "%s\n" "no" >&6; }
   2949 fi
   2950 
   2951 
   2952 fi
   2953 if test -z "$ac_cv_prog_CC"; then
   2954   ac_ct_CC=$CC
   2955   # Extract the first word of "clang", so it can be a program name with args.
   2956 set dummy clang; ac_word=$2
   2957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2958 printf %s "checking for $ac_word... " >&6; }
   2959 if test ${ac_cv_prog_ac_ct_CC+y}
   2960 then :
   2961   printf %s "(cached) " >&6
   2962 else $as_nop
   2963   if test -n "$ac_ct_CC"; then
   2964   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2965 else
   2966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2967 for as_dir in $PATH
   2968 do
   2969   IFS=$as_save_IFS
   2970   case $as_dir in #(((
   2971     '') as_dir=./ ;;
   2972     */) ;;
   2973     *) as_dir=$as_dir/ ;;
   2974   esac
   2975     for ac_exec_ext in '' $ac_executable_extensions; do
   2976   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2977     ac_cv_prog_ac_ct_CC="clang"
   2978     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2979     break 2
   2980   fi
   2981 done
   2982   done
   2983 IFS=$as_save_IFS
   2984 
   2985 fi
   2986 fi
   2987 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2988 if test -n "$ac_ct_CC"; then
   2989   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2990 printf "%s\n" "$ac_ct_CC" >&6; }
   2991 else
   2992   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2993 printf "%s\n" "no" >&6; }
   2994 fi
   2995 
   2996   if test "x$ac_ct_CC" = x; then
   2997     CC=""
   2998   else
   2999     case $cross_compiling:$ac_tool_warned in
   3000 yes:)
   3001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3002 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3003 ac_tool_warned=yes ;;
   3004 esac
   3005     CC=$ac_ct_CC
   3006   fi
   3007 else
   3008   CC="$ac_cv_prog_CC"
   3009 fi
   3010 
   3011 fi
   3012 
   3013 
   3014 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3015 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3016 as_fn_error $? "no acceptable C compiler found in \$PATH
   3017 See \`config.log' for more details" "$LINENO" 5; }
   3018 
   3019 # Provide some information about the compiler.
   3020 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3021 set X $ac_compile
   3022 ac_compiler=$2
   3023 for ac_option in --version -v -V -qversion -version; do
   3024   { { ac_try="$ac_compiler $ac_option >&5"
   3025 case "(($ac_try" in
   3026   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3027   *) ac_try_echo=$ac_try;;
   3028 esac
   3029 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3030 printf "%s\n" "$ac_try_echo"; } >&5
   3031   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3032   ac_status=$?
   3033   if test -s conftest.err; then
   3034     sed '10a\
   3035 ... rest of stderr output deleted ...
   3036          10q' conftest.err >conftest.er1
   3037     cat conftest.er1 >&5
   3038   fi
   3039   rm -f conftest.er1 conftest.err
   3040   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3041   test $ac_status = 0; }
   3042 done
   3043 
   3044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3045 /* end confdefs.h.  */
   3046 
   3047 int
   3048 main (void)
   3049 {
   3050 
   3051   ;
   3052   return 0;
   3053 }
   3054 _ACEOF
   3055 ac_clean_files_save=$ac_clean_files
   3056 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3057 # Try to create an executable without -o first, disregard a.out.
   3058 # It will help us diagnose broken compilers, and finding out an intuition
   3059 # of exeext.
   3060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3061 printf %s "checking whether the C compiler works... " >&6; }
   3062 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3063 
   3064 # The possible output files:
   3065 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3066 
   3067 ac_rmfiles=
   3068 for ac_file in $ac_files
   3069 do
   3070   case $ac_file in
   3071     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3072     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3073   esac
   3074 done
   3075 rm -f $ac_rmfiles
   3076 
   3077 if { { ac_try="$ac_link_default"
   3078 case "(($ac_try" in
   3079   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3080   *) ac_try_echo=$ac_try;;
   3081 esac
   3082 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3083 printf "%s\n" "$ac_try_echo"; } >&5
   3084   (eval "$ac_link_default") 2>&5
   3085   ac_status=$?
   3086   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3087   test $ac_status = 0; }
   3088 then :
   3089   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3090 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3091 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3092 # so that the user can short-circuit this test for compilers unknown to
   3093 # Autoconf.
   3094 for ac_file in $ac_files ''
   3095 do
   3096   test -f "$ac_file" || continue
   3097   case $ac_file in
   3098     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3099 	;;
   3100     [ab].out )
   3101 	# We found the default executable, but exeext='' is most
   3102 	# certainly right.
   3103 	break;;
   3104     *.* )
   3105 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3106 	then :; else
   3107 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3108 	fi
   3109 	# We set ac_cv_exeext here because the later test for it is not
   3110 	# safe: cross compilers may not add the suffix if given an `-o'
   3111 	# argument, so we may need to know it at that point already.
   3112 	# Even if this section looks crufty: it has the advantage of
   3113 	# actually working.
   3114 	break;;
   3115     * )
   3116 	break;;
   3117   esac
   3118 done
   3119 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3120 
   3121 else $as_nop
   3122   ac_file=''
   3123 fi
   3124 if test -z "$ac_file"
   3125 then :
   3126   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3127 printf "%s\n" "no" >&6; }
   3128 printf "%s\n" "$as_me: failed program was:" >&5
   3129 sed 's/^/| /' conftest.$ac_ext >&5
   3130 
   3131 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3132 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3133 as_fn_error 77 "C compiler cannot create executables
   3134 See \`config.log' for more details" "$LINENO" 5; }
   3135 else $as_nop
   3136   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3137 printf "%s\n" "yes" >&6; }
   3138 fi
   3139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3140 printf %s "checking for C compiler default output file name... " >&6; }
   3141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3142 printf "%s\n" "$ac_file" >&6; }
   3143 ac_exeext=$ac_cv_exeext
   3144 
   3145 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3146 ac_clean_files=$ac_clean_files_save
   3147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3148 printf %s "checking for suffix of executables... " >&6; }
   3149 if { { ac_try="$ac_link"
   3150 case "(($ac_try" in
   3151   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3152   *) ac_try_echo=$ac_try;;
   3153 esac
   3154 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3155 printf "%s\n" "$ac_try_echo"; } >&5
   3156   (eval "$ac_link") 2>&5
   3157   ac_status=$?
   3158   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3159   test $ac_status = 0; }
   3160 then :
   3161   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3162 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3163 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3164 # `rm'.
   3165 for ac_file in conftest.exe conftest conftest.*; do
   3166   test -f "$ac_file" || continue
   3167   case $ac_file in
   3168     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3169     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3170 	  break;;
   3171     * ) break;;
   3172   esac
   3173 done
   3174 else $as_nop
   3175   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3176 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3177 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3178 See \`config.log' for more details" "$LINENO" 5; }
   3179 fi
   3180 rm -f conftest conftest$ac_cv_exeext
   3181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3182 printf "%s\n" "$ac_cv_exeext" >&6; }
   3183 
   3184 rm -f conftest.$ac_ext
   3185 EXEEXT=$ac_cv_exeext
   3186 ac_exeext=$EXEEXT
   3187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3188 /* end confdefs.h.  */
   3189 #include <stdio.h>
   3190 int
   3191 main (void)
   3192 {
   3193 FILE *f = fopen ("conftest.out", "w");
   3194  return ferror (f) || fclose (f) != 0;
   3195 
   3196   ;
   3197   return 0;
   3198 }
   3199 _ACEOF
   3200 ac_clean_files="$ac_clean_files conftest.out"
   3201 # Check that the compiler produces executables we can run.  If not, either
   3202 # the compiler is broken, or we cross compile.
   3203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3204 printf %s "checking whether we are cross compiling... " >&6; }
   3205 if test "$cross_compiling" != yes; then
   3206   { { ac_try="$ac_link"
   3207 case "(($ac_try" in
   3208   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3209   *) ac_try_echo=$ac_try;;
   3210 esac
   3211 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3212 printf "%s\n" "$ac_try_echo"; } >&5
   3213   (eval "$ac_link") 2>&5
   3214   ac_status=$?
   3215   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3216   test $ac_status = 0; }
   3217   if { ac_try='./conftest$ac_cv_exeext'
   3218   { { case "(($ac_try" in
   3219   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3220   *) ac_try_echo=$ac_try;;
   3221 esac
   3222 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3223 printf "%s\n" "$ac_try_echo"; } >&5
   3224   (eval "$ac_try") 2>&5
   3225   ac_status=$?
   3226   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3227   test $ac_status = 0; }; }; then
   3228     cross_compiling=no
   3229   else
   3230     if test "$cross_compiling" = maybe; then
   3231 	cross_compiling=yes
   3232     else
   3233 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3234 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3235 as_fn_error 77 "cannot run C compiled programs.
   3236 If you meant to cross compile, use \`--host'.
   3237 See \`config.log' for more details" "$LINENO" 5; }
   3238     fi
   3239   fi
   3240 fi
   3241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3242 printf "%s\n" "$cross_compiling" >&6; }
   3243 
   3244 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3245 ac_clean_files=$ac_clean_files_save
   3246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3247 printf %s "checking for suffix of object files... " >&6; }
   3248 if test ${ac_cv_objext+y}
   3249 then :
   3250   printf %s "(cached) " >&6
   3251 else $as_nop
   3252   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3253 /* end confdefs.h.  */
   3254 
   3255 int
   3256 main (void)
   3257 {
   3258 
   3259   ;
   3260   return 0;
   3261 }
   3262 _ACEOF
   3263 rm -f conftest.o conftest.obj
   3264 if { { ac_try="$ac_compile"
   3265 case "(($ac_try" in
   3266   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3267   *) ac_try_echo=$ac_try;;
   3268 esac
   3269 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3270 printf "%s\n" "$ac_try_echo"; } >&5
   3271   (eval "$ac_compile") 2>&5
   3272   ac_status=$?
   3273   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3274   test $ac_status = 0; }
   3275 then :
   3276   for ac_file in conftest.o conftest.obj conftest.*; do
   3277   test -f "$ac_file" || continue;
   3278   case $ac_file in
   3279     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3280     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3281        break;;
   3282   esac
   3283 done
   3284 else $as_nop
   3285   printf "%s\n" "$as_me: failed program was:" >&5
   3286 sed 's/^/| /' conftest.$ac_ext >&5
   3287 
   3288 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3289 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3290 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3291 See \`config.log' for more details" "$LINENO" 5; }
   3292 fi
   3293 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3294 fi
   3295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3296 printf "%s\n" "$ac_cv_objext" >&6; }
   3297 OBJEXT=$ac_cv_objext
   3298 ac_objext=$OBJEXT
   3299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   3300 printf %s "checking whether the compiler supports GNU C... " >&6; }
   3301 if test ${ac_cv_c_compiler_gnu+y}
   3302 then :
   3303   printf %s "(cached) " >&6
   3304 else $as_nop
   3305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3306 /* end confdefs.h.  */
   3307 
   3308 int
   3309 main (void)
   3310 {
   3311 #ifndef __GNUC__
   3312        choke me
   3313 #endif
   3314 
   3315   ;
   3316   return 0;
   3317 }
   3318 _ACEOF
   3319 if ac_fn_c_try_compile "$LINENO"
   3320 then :
   3321   ac_compiler_gnu=yes
   3322 else $as_nop
   3323   ac_compiler_gnu=no
   3324 fi
   3325 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3326 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3327 
   3328 fi
   3329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3330 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   3331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3332 
   3333 if test $ac_compiler_gnu = yes; then
   3334   GCC=yes
   3335 else
   3336   GCC=
   3337 fi
   3338 ac_test_CFLAGS=${CFLAGS+y}
   3339 ac_save_CFLAGS=$CFLAGS
   3340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3341 printf %s "checking whether $CC accepts -g... " >&6; }
   3342 if test ${ac_cv_prog_cc_g+y}
   3343 then :
   3344   printf %s "(cached) " >&6
   3345 else $as_nop
   3346   ac_save_c_werror_flag=$ac_c_werror_flag
   3347    ac_c_werror_flag=yes
   3348    ac_cv_prog_cc_g=no
   3349    CFLAGS="-g"
   3350    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3351 /* end confdefs.h.  */
   3352 
   3353 int
   3354 main (void)
   3355 {
   3356 
   3357   ;
   3358   return 0;
   3359 }
   3360 _ACEOF
   3361 if ac_fn_c_try_compile "$LINENO"
   3362 then :
   3363   ac_cv_prog_cc_g=yes
   3364 else $as_nop
   3365   CFLAGS=""
   3366       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3367 /* end confdefs.h.  */
   3368 
   3369 int
   3370 main (void)
   3371 {
   3372 
   3373   ;
   3374   return 0;
   3375 }
   3376 _ACEOF
   3377 if ac_fn_c_try_compile "$LINENO"
   3378 then :
   3379 
   3380 else $as_nop
   3381   ac_c_werror_flag=$ac_save_c_werror_flag
   3382 	 CFLAGS="-g"
   3383 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3384 /* end confdefs.h.  */
   3385 
   3386 int
   3387 main (void)
   3388 {
   3389 
   3390   ;
   3391   return 0;
   3392 }
   3393 _ACEOF
   3394 if ac_fn_c_try_compile "$LINENO"
   3395 then :
   3396   ac_cv_prog_cc_g=yes
   3397 fi
   3398 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3399 fi
   3400 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3401 fi
   3402 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3403    ac_c_werror_flag=$ac_save_c_werror_flag
   3404 fi
   3405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3406 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   3407 if test $ac_test_CFLAGS; then
   3408   CFLAGS=$ac_save_CFLAGS
   3409 elif test $ac_cv_prog_cc_g = yes; then
   3410   if test "$GCC" = yes; then
   3411     CFLAGS="-g -O2"
   3412   else
   3413     CFLAGS="-g"
   3414   fi
   3415 else
   3416   if test "$GCC" = yes; then
   3417     CFLAGS="-O2"
   3418   else
   3419     CFLAGS=
   3420   fi
   3421 fi
   3422 ac_prog_cc_stdc=no
   3423 if test x$ac_prog_cc_stdc = xno
   3424 then :
   3425   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   3426 printf %s "checking for $CC option to enable C11 features... " >&6; }
   3427 if test ${ac_cv_prog_cc_c11+y}
   3428 then :
   3429   printf %s "(cached) " >&6
   3430 else $as_nop
   3431   ac_cv_prog_cc_c11=no
   3432 ac_save_CC=$CC
   3433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3434 /* end confdefs.h.  */
   3435 $ac_c_conftest_c11_program
   3436 _ACEOF
   3437 for ac_arg in '' -std=gnu11
   3438 do
   3439   CC="$ac_save_CC $ac_arg"
   3440   if ac_fn_c_try_compile "$LINENO"
   3441 then :
   3442   ac_cv_prog_cc_c11=$ac_arg
   3443 fi
   3444 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3445   test "x$ac_cv_prog_cc_c11" != "xno" && break
   3446 done
   3447 rm -f conftest.$ac_ext
   3448 CC=$ac_save_CC
   3449 fi
   3450 
   3451 if test "x$ac_cv_prog_cc_c11" = xno
   3452 then :
   3453   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3454 printf "%s\n" "unsupported" >&6; }
   3455 else $as_nop
   3456   if test "x$ac_cv_prog_cc_c11" = x
   3457 then :
   3458   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3459 printf "%s\n" "none needed" >&6; }
   3460 else $as_nop
   3461   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   3462 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   3463      CC="$CC $ac_cv_prog_cc_c11"
   3464 fi
   3465   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   3466   ac_prog_cc_stdc=c11
   3467 fi
   3468 fi
   3469 if test x$ac_prog_cc_stdc = xno
   3470 then :
   3471   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   3472 printf %s "checking for $CC option to enable C99 features... " >&6; }
   3473 if test ${ac_cv_prog_cc_c99+y}
   3474 then :
   3475   printf %s "(cached) " >&6
   3476 else $as_nop
   3477   ac_cv_prog_cc_c99=no
   3478 ac_save_CC=$CC
   3479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3480 /* end confdefs.h.  */
   3481 $ac_c_conftest_c99_program
   3482 _ACEOF
   3483 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   3484 do
   3485   CC="$ac_save_CC $ac_arg"
   3486   if ac_fn_c_try_compile "$LINENO"
   3487 then :
   3488   ac_cv_prog_cc_c99=$ac_arg
   3489 fi
   3490 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3491   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3492 done
   3493 rm -f conftest.$ac_ext
   3494 CC=$ac_save_CC
   3495 fi
   3496 
   3497 if test "x$ac_cv_prog_cc_c99" = xno
   3498 then :
   3499   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3500 printf "%s\n" "unsupported" >&6; }
   3501 else $as_nop
   3502   if test "x$ac_cv_prog_cc_c99" = x
   3503 then :
   3504   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3505 printf "%s\n" "none needed" >&6; }
   3506 else $as_nop
   3507   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3508 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   3509      CC="$CC $ac_cv_prog_cc_c99"
   3510 fi
   3511   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   3512   ac_prog_cc_stdc=c99
   3513 fi
   3514 fi
   3515 if test x$ac_prog_cc_stdc = xno
   3516 then :
   3517   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   3518 printf %s "checking for $CC option to enable C89 features... " >&6; }
   3519 if test ${ac_cv_prog_cc_c89+y}
   3520 then :
   3521   printf %s "(cached) " >&6
   3522 else $as_nop
   3523   ac_cv_prog_cc_c89=no
   3524 ac_save_CC=$CC
   3525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3526 /* end confdefs.h.  */
   3527 $ac_c_conftest_c89_program
   3528 _ACEOF
   3529 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3530 do
   3531   CC="$ac_save_CC $ac_arg"
   3532   if ac_fn_c_try_compile "$LINENO"
   3533 then :
   3534   ac_cv_prog_cc_c89=$ac_arg
   3535 fi
   3536 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3537   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3538 done
   3539 rm -f conftest.$ac_ext
   3540 CC=$ac_save_CC
   3541 fi
   3542 
   3543 if test "x$ac_cv_prog_cc_c89" = xno
   3544 then :
   3545   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3546 printf "%s\n" "unsupported" >&6; }
   3547 else $as_nop
   3548   if test "x$ac_cv_prog_cc_c89" = x
   3549 then :
   3550   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3551 printf "%s\n" "none needed" >&6; }
   3552 else $as_nop
   3553   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3554 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   3555      CC="$CC $ac_cv_prog_cc_c89"
   3556 fi
   3557   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   3558   ac_prog_cc_stdc=c89
   3559 fi
   3560 fi
   3561 
   3562 ac_ext=c
   3563 ac_cpp='$CPP $CPPFLAGS'
   3564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3567 
   3568 
   3569   ac_ext=c
   3570 ac_cpp='$CPP $CPPFLAGS'
   3571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3575 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   3576 if test ${am_cv_prog_cc_c_o+y}
   3577 then :
   3578   printf %s "(cached) " >&6
   3579 else $as_nop
   3580   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3581 /* end confdefs.h.  */
   3582 
   3583 int
   3584 main (void)
   3585 {
   3586 
   3587   ;
   3588   return 0;
   3589 }
   3590 _ACEOF
   3591   # Make sure it works both with $CC and with simple cc.
   3592   # Following AC_PROG_CC_C_O, we do the test twice because some
   3593   # compilers refuse to overwrite an existing .o file with -o,
   3594   # though they will create one.
   3595   am_cv_prog_cc_c_o=yes
   3596   for am_i in 1 2; do
   3597     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3598    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3599    ac_status=$?
   3600    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3601    (exit $ac_status); } \
   3602          && test -f conftest2.$ac_objext; then
   3603       : OK
   3604     else
   3605       am_cv_prog_cc_c_o=no
   3606       break
   3607     fi
   3608   done
   3609   rm -f core conftest*
   3610   unset am_i
   3611 fi
   3612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3613 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   3614 if test "$am_cv_prog_cc_c_o" != yes; then
   3615    # Losing compiler, so override with the script.
   3616    # FIXME: It is wrong to rewrite CC.
   3617    # But if we don't then we get into trouble of one sort or another.
   3618    # A longer-term fix would be to have automake use am__CC in this case,
   3619    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3620    CC="$am_aux_dir/compile $CC"
   3621 fi
   3622 ac_ext=c
   3623 ac_cpp='$CPP $CPPFLAGS'
   3624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3627 
   3628 
   3629 
   3630 ac_header= ac_cache=
   3631 for ac_item in $ac_header_c_list
   3632 do
   3633   if test $ac_cache; then
   3634     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   3635     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   3636       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   3637     fi
   3638     ac_header= ac_cache=
   3639   elif test $ac_header; then
   3640     ac_cache=$ac_item
   3641   else
   3642     ac_header=$ac_item
   3643   fi
   3644 done
   3645 
   3646 
   3647 
   3648 
   3649 
   3650 
   3651 
   3652 
   3653 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   3654 then :
   3655 
   3656 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   3657 
   3658 fi
   3659 
   3660 
   3661 
   3662 
   3663 
   3664 
   3665   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3666 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3667 if test ${ac_cv_safe_to_define___extensions__+y}
   3668 then :
   3669   printf %s "(cached) " >&6
   3670 else $as_nop
   3671   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3672 /* end confdefs.h.  */
   3673 
   3674 #         define __EXTENSIONS__ 1
   3675           $ac_includes_default
   3676 int
   3677 main (void)
   3678 {
   3679 
   3680   ;
   3681   return 0;
   3682 }
   3683 _ACEOF
   3684 if ac_fn_c_try_compile "$LINENO"
   3685 then :
   3686   ac_cv_safe_to_define___extensions__=yes
   3687 else $as_nop
   3688   ac_cv_safe_to_define___extensions__=no
   3689 fi
   3690 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3691 fi
   3692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3693 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
   3694 
   3695   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
   3696 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
   3697 if test ${ac_cv_should_define__xopen_source+y}
   3698 then :
   3699   printf %s "(cached) " >&6
   3700 else $as_nop
   3701   ac_cv_should_define__xopen_source=no
   3702     if test $ac_cv_header_wchar_h = yes
   3703 then :
   3704   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3705 /* end confdefs.h.  */
   3706 
   3707           #include <wchar.h>
   3708           mbstate_t x;
   3709 int
   3710 main (void)
   3711 {
   3712 
   3713   ;
   3714   return 0;
   3715 }
   3716 _ACEOF
   3717 if ac_fn_c_try_compile "$LINENO"
   3718 then :
   3719 
   3720 else $as_nop
   3721   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3722 /* end confdefs.h.  */
   3723 
   3724             #define _XOPEN_SOURCE 500
   3725             #include <wchar.h>
   3726             mbstate_t x;
   3727 int
   3728 main (void)
   3729 {
   3730 
   3731   ;
   3732   return 0;
   3733 }
   3734 _ACEOF
   3735 if ac_fn_c_try_compile "$LINENO"
   3736 then :
   3737   ac_cv_should_define__xopen_source=yes
   3738 fi
   3739 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3740 fi
   3741 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3742 fi
   3743 fi
   3744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
   3745 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
   3746 
   3747   printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
   3748 
   3749   printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
   3750 
   3751   printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
   3752 
   3753   printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
   3754 
   3755   printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
   3756 
   3757   printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
   3758 
   3759   printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   3760 
   3761   printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
   3762 
   3763   printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
   3764 
   3765   printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
   3766 
   3767   printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
   3768 
   3769   printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
   3770 
   3771   printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
   3772 
   3773   printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
   3774 
   3775   printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
   3776 
   3777   if test $ac_cv_header_minix_config_h = yes
   3778 then :
   3779   MINIX=yes
   3780     printf "%s\n" "#define _MINIX 1" >>confdefs.h
   3781 
   3782     printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
   3783 
   3784     printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
   3785 
   3786 else $as_nop
   3787   MINIX=
   3788 fi
   3789   if test $ac_cv_safe_to_define___extensions__ = yes
   3790 then :
   3791   printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
   3792 
   3793 fi
   3794   if test $ac_cv_should_define__xopen_source = yes
   3795 then :
   3796   printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   3797 
   3798 fi
   3799 
   3800 
   3801 # Initialize Automake
   3802 am__api_version='1.16'
   3803 
   3804 
   3805   # Find a good install program.  We prefer a C program (faster),
   3806 # so one script is as good as another.  But avoid the broken or
   3807 # incompatible versions:
   3808 # SysV /etc/install, /usr/sbin/install
   3809 # SunOS /usr/etc/install
   3810 # IRIX /sbin/install
   3811 # AIX /bin/install
   3812 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3813 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3814 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3815 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3816 # OS/2's system install, which has a completely different semantic
   3817 # ./install, which can be erroneously created by make from ./install.sh.
   3818 # Reject install programs that cannot install multiple files.
   3819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3820 printf %s "checking for a BSD-compatible install... " >&6; }
   3821 if test -z "$INSTALL"; then
   3822 if test ${ac_cv_path_install+y}
   3823 then :
   3824   printf %s "(cached) " >&6
   3825 else $as_nop
   3826   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3827 for as_dir in $PATH
   3828 do
   3829   IFS=$as_save_IFS
   3830   case $as_dir in #(((
   3831     '') as_dir=./ ;;
   3832     */) ;;
   3833     *) as_dir=$as_dir/ ;;
   3834   esac
   3835     # Account for fact that we put trailing slashes in our PATH walk.
   3836 case $as_dir in #((
   3837   ./ | /[cC]/* | \
   3838   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3839   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3840   /usr/ucb/* ) ;;
   3841   *)
   3842     # OSF1 and SCO ODT 3.0 have their own names for install.
   3843     # Don't use installbsd from OSF since it installs stuff as root
   3844     # by default.
   3845     for ac_prog in ginstall scoinst install; do
   3846       for ac_exec_ext in '' $ac_executable_extensions; do
   3847 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   3848 	  if test $ac_prog = install &&
   3849 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3850 	    # AIX install.  It has an incompatible calling convention.
   3851 	    :
   3852 	  elif test $ac_prog = install &&
   3853 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3854 	    # program-specific install script used by HP pwplus--don't use.
   3855 	    :
   3856 	  else
   3857 	    rm -rf conftest.one conftest.two conftest.dir
   3858 	    echo one > conftest.one
   3859 	    echo two > conftest.two
   3860 	    mkdir conftest.dir
   3861 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   3862 	      test -s conftest.one && test -s conftest.two &&
   3863 	      test -s conftest.dir/conftest.one &&
   3864 	      test -s conftest.dir/conftest.two
   3865 	    then
   3866 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   3867 	      break 3
   3868 	    fi
   3869 	  fi
   3870 	fi
   3871       done
   3872     done
   3873     ;;
   3874 esac
   3875 
   3876   done
   3877 IFS=$as_save_IFS
   3878 
   3879 rm -rf conftest.one conftest.two conftest.dir
   3880 
   3881 fi
   3882   if test ${ac_cv_path_install+y}; then
   3883     INSTALL=$ac_cv_path_install
   3884   else
   3885     # As a last resort, use the slow shell script.  Don't cache a
   3886     # value for INSTALL within a source directory, because that will
   3887     # break other packages using the cache if that directory is
   3888     # removed, or if the value is a relative name.
   3889     INSTALL=$ac_install_sh
   3890   fi
   3891 fi
   3892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3893 printf "%s\n" "$INSTALL" >&6; }
   3894 
   3895 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3896 # It thinks the first close brace ends the variable substitution.
   3897 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3898 
   3899 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3900 
   3901 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3902 
   3903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3904 printf %s "checking whether build environment is sane... " >&6; }
   3905 # Reject unsafe characters in $srcdir or the absolute working directory
   3906 # name.  Accept space and tab only in the latter.
   3907 am_lf='
   3908 '
   3909 case `pwd` in
   3910   *[\\\"\#\$\&\'\`$am_lf]*)
   3911     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3912 esac
   3913 case $srcdir in
   3914   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3915     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   3916 esac
   3917 
   3918 # Do 'set' in a subshell so we don't clobber the current shell's
   3919 # arguments.  Must try -L first in case configure is actually a
   3920 # symlink; some systems play weird games with the mod time of symlinks
   3921 # (eg FreeBSD returns the mod time of the symlink's containing
   3922 # directory).
   3923 if (
   3924    am_has_slept=no
   3925    for am_try in 1 2; do
   3926      echo "timestamp, slept: $am_has_slept" > conftest.file
   3927      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3928      if test "$*" = "X"; then
   3929 	# -L didn't work.
   3930 	set X `ls -t "$srcdir/configure" conftest.file`
   3931      fi
   3932      if test "$*" != "X $srcdir/configure conftest.file" \
   3933 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   3934 
   3935 	# If neither matched, then we have a broken ls.  This can happen
   3936 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   3937 	# broken ls alias from the environment.  This has actually
   3938 	# happened.  Such a system could not be considered "sane".
   3939 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   3940   alias in your environment" "$LINENO" 5
   3941      fi
   3942      if test "$2" = conftest.file || test $am_try -eq 2; then
   3943        break
   3944      fi
   3945      # Just in case.
   3946      sleep 1
   3947      am_has_slept=yes
   3948    done
   3949    test "$2" = conftest.file
   3950    )
   3951 then
   3952    # Ok.
   3953    :
   3954 else
   3955    as_fn_error $? "newly created file is older than distributed files!
   3956 Check your system clock" "$LINENO" 5
   3957 fi
   3958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3959 printf "%s\n" "yes" >&6; }
   3960 # If we didn't sleep, we still need to ensure time stamps of config.status and
   3961 # generated files are strictly newer.
   3962 am_sleep_pid=
   3963 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   3964   ( sleep 1 ) &
   3965   am_sleep_pid=$!
   3966 fi
   3967 
   3968 rm -f conftest.file
   3969 
   3970 test "$program_prefix" != NONE &&
   3971   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3972 # Use a double $ so make ignores it.
   3973 test "$program_suffix" != NONE &&
   3974   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3975 # Double any \ or $.
   3976 # By default was `s,x,x', remove it if useless.
   3977 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3978 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   3979 
   3980 
   3981   if test x"${MISSING+set}" != xset; then
   3982   MISSING="\${SHELL} '$am_aux_dir/missing'"
   3983 fi
   3984 # Use eval to expand $SHELL
   3985 if eval "$MISSING --is-lightweight"; then
   3986   am_missing_run="$MISSING "
   3987 else
   3988   am_missing_run=
   3989   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3990 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3991 fi
   3992 
   3993 if test x"${install_sh+set}" != xset; then
   3994   case $am_aux_dir in
   3995   *\ * | *\	*)
   3996     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3997   *)
   3998     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3999   esac
   4000 fi
   4001 
   4002 # Installed binaries are usually stripped using 'strip' when the user
   4003 # run "make install-strip".  However 'strip' might not be the right
   4004 # tool to use in cross-compilation environments, therefore Automake
   4005 # will honor the 'STRIP' environment variable to overrule this program.
   4006 if test "$cross_compiling" != no; then
   4007   if test -n "$ac_tool_prefix"; then
   4008   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   4009 set dummy ${ac_tool_prefix}strip; ac_word=$2
   4010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4011 printf %s "checking for $ac_word... " >&6; }
   4012 if test ${ac_cv_prog_STRIP+y}
   4013 then :
   4014   printf %s "(cached) " >&6
   4015 else $as_nop
   4016   if test -n "$STRIP"; then
   4017   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   4018 else
   4019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4020 for as_dir in $PATH
   4021 do
   4022   IFS=$as_save_IFS
   4023   case $as_dir in #(((
   4024     '') as_dir=./ ;;
   4025     */) ;;
   4026     *) as_dir=$as_dir/ ;;
   4027   esac
   4028     for ac_exec_ext in '' $ac_executable_extensions; do
   4029   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4030     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   4031     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4032     break 2
   4033   fi
   4034 done
   4035   done
   4036 IFS=$as_save_IFS
   4037 
   4038 fi
   4039 fi
   4040 STRIP=$ac_cv_prog_STRIP
   4041 if test -n "$STRIP"; then
   4042   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   4043 printf "%s\n" "$STRIP" >&6; }
   4044 else
   4045   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4046 printf "%s\n" "no" >&6; }
   4047 fi
   4048 
   4049 
   4050 fi
   4051 if test -z "$ac_cv_prog_STRIP"; then
   4052   ac_ct_STRIP=$STRIP
   4053   # Extract the first word of "strip", so it can be a program name with args.
   4054 set dummy strip; ac_word=$2
   4055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4056 printf %s "checking for $ac_word... " >&6; }
   4057 if test ${ac_cv_prog_ac_ct_STRIP+y}
   4058 then :
   4059   printf %s "(cached) " >&6
   4060 else $as_nop
   4061   if test -n "$ac_ct_STRIP"; then
   4062   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   4063 else
   4064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4065 for as_dir in $PATH
   4066 do
   4067   IFS=$as_save_IFS
   4068   case $as_dir in #(((
   4069     '') as_dir=./ ;;
   4070     */) ;;
   4071     *) as_dir=$as_dir/ ;;
   4072   esac
   4073     for ac_exec_ext in '' $ac_executable_extensions; do
   4074   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4075     ac_cv_prog_ac_ct_STRIP="strip"
   4076     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4077     break 2
   4078   fi
   4079 done
   4080   done
   4081 IFS=$as_save_IFS
   4082 
   4083 fi
   4084 fi
   4085 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   4086 if test -n "$ac_ct_STRIP"; then
   4087   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   4088 printf "%s\n" "$ac_ct_STRIP" >&6; }
   4089 else
   4090   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4091 printf "%s\n" "no" >&6; }
   4092 fi
   4093 
   4094   if test "x$ac_ct_STRIP" = x; then
   4095     STRIP=":"
   4096   else
   4097     case $cross_compiling:$ac_tool_warned in
   4098 yes:)
   4099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4100 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4101 ac_tool_warned=yes ;;
   4102 esac
   4103     STRIP=$ac_ct_STRIP
   4104   fi
   4105 else
   4106   STRIP="$ac_cv_prog_STRIP"
   4107 fi
   4108 
   4109 fi
   4110 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   4111 
   4112 
   4113   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   4114 printf %s "checking for a race-free mkdir -p... " >&6; }
   4115 if test -z "$MKDIR_P"; then
   4116   if test ${ac_cv_path_mkdir+y}
   4117 then :
   4118   printf %s "(cached) " >&6
   4119 else $as_nop
   4120   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4121 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   4122 do
   4123   IFS=$as_save_IFS
   4124   case $as_dir in #(((
   4125     '') as_dir=./ ;;
   4126     */) ;;
   4127     *) as_dir=$as_dir/ ;;
   4128   esac
   4129     for ac_prog in mkdir gmkdir; do
   4130 	 for ac_exec_ext in '' $ac_executable_extensions; do
   4131 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   4132 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   4133 	     'mkdir ('*'coreutils) '* | \
   4134 	     'BusyBox '* | \
   4135 	     'mkdir (fileutils) '4.1*)
   4136 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   4137 	       break 3;;
   4138 	   esac
   4139 	 done
   4140        done
   4141   done
   4142 IFS=$as_save_IFS
   4143 
   4144 fi
   4145 
   4146   test -d ./--version && rmdir ./--version
   4147   if test ${ac_cv_path_mkdir+y}; then
   4148     MKDIR_P="$ac_cv_path_mkdir -p"
   4149   else
   4150     # As a last resort, use the slow shell script.  Don't cache a
   4151     # value for MKDIR_P within a source directory, because that will
   4152     # break other packages using the cache if that directory is
   4153     # removed, or if the value is a relative name.
   4154     MKDIR_P="$ac_install_sh -d"
   4155   fi
   4156 fi
   4157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   4158 printf "%s\n" "$MKDIR_P" >&6; }
   4159 
   4160 for ac_prog in gawk mawk nawk awk
   4161 do
   4162   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4163 set dummy $ac_prog; ac_word=$2
   4164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4165 printf %s "checking for $ac_word... " >&6; }
   4166 if test ${ac_cv_prog_AWK+y}
   4167 then :
   4168   printf %s "(cached) " >&6
   4169 else $as_nop
   4170   if test -n "$AWK"; then
   4171   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4172 else
   4173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4174 for as_dir in $PATH
   4175 do
   4176   IFS=$as_save_IFS
   4177   case $as_dir in #(((
   4178     '') as_dir=./ ;;
   4179     */) ;;
   4180     *) as_dir=$as_dir/ ;;
   4181   esac
   4182     for ac_exec_ext in '' $ac_executable_extensions; do
   4183   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4184     ac_cv_prog_AWK="$ac_prog"
   4185     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4186     break 2
   4187   fi
   4188 done
   4189   done
   4190 IFS=$as_save_IFS
   4191 
   4192 fi
   4193 fi
   4194 AWK=$ac_cv_prog_AWK
   4195 if test -n "$AWK"; then
   4196   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4197 printf "%s\n" "$AWK" >&6; }
   4198 else
   4199   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4200 printf "%s\n" "no" >&6; }
   4201 fi
   4202 
   4203 
   4204   test -n "$AWK" && break
   4205 done
   4206 
   4207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4208 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4209 set x ${MAKE-make}
   4210 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4211 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   4212 then :
   4213   printf %s "(cached) " >&6
   4214 else $as_nop
   4215   cat >conftest.make <<\_ACEOF
   4216 SHELL = /bin/sh
   4217 all:
   4218 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4219 _ACEOF
   4220 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4221 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4222   *@@@%%%=?*=@@@%%%*)
   4223     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4224   *)
   4225     eval ac_cv_prog_make_${ac_make}_set=no;;
   4226 esac
   4227 rm -f conftest.make
   4228 fi
   4229 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4230   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4231 printf "%s\n" "yes" >&6; }
   4232   SET_MAKE=
   4233 else
   4234   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4235 printf "%s\n" "no" >&6; }
   4236   SET_MAKE="MAKE=${MAKE-make}"
   4237 fi
   4238 
   4239 rm -rf .tst 2>/dev/null
   4240 mkdir .tst 2>/dev/null
   4241 if test -d .tst; then
   4242   am__leading_dot=.
   4243 else
   4244   am__leading_dot=_
   4245 fi
   4246 rmdir .tst 2>/dev/null
   4247 
   4248 DEPDIR="${am__leading_dot}deps"
   4249 
   4250 ac_config_commands="$ac_config_commands depfiles"
   4251 
   4252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   4253 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   4254 cat > confinc.mk << 'END'
   4255 am__doit:
   4256 	@echo this is the am__doit target >confinc.out
   4257 .PHONY: am__doit
   4258 END
   4259 am__include="#"
   4260 am__quote=
   4261 # BSD make does it like this.
   4262 echo '.include "confinc.mk" # ignored' > confmf.BSD
   4263 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   4264 echo 'include confinc.mk # ignored' > confmf.GNU
   4265 _am_result=no
   4266 for s in GNU BSD; do
   4267   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   4268    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   4269    ac_status=$?
   4270    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4271    (exit $ac_status); }
   4272   case $?:`cat confinc.out 2>/dev/null` in #(
   4273   '0:this is the am__doit target') :
   4274     case $s in #(
   4275   BSD) :
   4276     am__include='.include' am__quote='"' ;; #(
   4277   *) :
   4278     am__include='include' am__quote='' ;;
   4279 esac ;; #(
   4280   *) :
   4281      ;;
   4282 esac
   4283   if test "$am__include" != "#"; then
   4284     _am_result="yes ($s style)"
   4285     break
   4286   fi
   4287 done
   4288 rm -f confinc.* confmf.*
   4289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   4290 printf "%s\n" "${_am_result}" >&6; }
   4291 
   4292 # Check whether --enable-dependency-tracking was given.
   4293 if test ${enable_dependency_tracking+y}
   4294 then :
   4295   enableval=$enable_dependency_tracking;
   4296 fi
   4297 
   4298 if test "x$enable_dependency_tracking" != xno; then
   4299   am_depcomp="$ac_aux_dir/depcomp"
   4300   AMDEPBACKSLASH='\'
   4301   am__nodep='_no'
   4302 fi
   4303  if test "x$enable_dependency_tracking" != xno; then
   4304   AMDEP_TRUE=
   4305   AMDEP_FALSE='#'
   4306 else
   4307   AMDEP_TRUE='#'
   4308   AMDEP_FALSE=
   4309 fi
   4310 
   4311 
   4312 # Check whether --enable-silent-rules was given.
   4313 if test ${enable_silent_rules+y}
   4314 then :
   4315   enableval=$enable_silent_rules;
   4316 fi
   4317 
   4318 case $enable_silent_rules in # (((
   4319   yes) AM_DEFAULT_VERBOSITY=0;;
   4320    no) AM_DEFAULT_VERBOSITY=1;;
   4321     *) AM_DEFAULT_VERBOSITY=1;;
   4322 esac
   4323 am_make=${MAKE-make}
   4324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4325 printf %s "checking whether $am_make supports nested variables... " >&6; }
   4326 if test ${am_cv_make_support_nested_variables+y}
   4327 then :
   4328   printf %s "(cached) " >&6
   4329 else $as_nop
   4330   if printf "%s\n" 'TRUE=$(BAR$(V))
   4331 BAR0=false
   4332 BAR1=true
   4333 V=1
   4334 am__doit:
   4335 	@$(TRUE)
   4336 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4337   am_cv_make_support_nested_variables=yes
   4338 else
   4339   am_cv_make_support_nested_variables=no
   4340 fi
   4341 fi
   4342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4343 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   4344 if test $am_cv_make_support_nested_variables = yes; then
   4345     AM_V='$(V)'
   4346   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   4347 else
   4348   AM_V=$AM_DEFAULT_VERBOSITY
   4349   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   4350 fi
   4351 AM_BACKSLASH='\'
   4352 
   4353 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4354   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4355   # is not polluted with repeated "-I."
   4356   am__isrc=' -I$(srcdir)'
   4357   # test to see if srcdir already configured
   4358   if test -f $srcdir/config.status; then
   4359     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4360   fi
   4361 fi
   4362 
   4363 # test whether we have cygpath
   4364 if test -z "$CYGPATH_W"; then
   4365   if (cygpath --version) >/dev/null 2>/dev/null; then
   4366     CYGPATH_W='cygpath -w'
   4367   else
   4368     CYGPATH_W=echo
   4369   fi
   4370 fi
   4371 
   4372 
   4373 # Define the identity of the package.
   4374  PACKAGE='xmodmap'
   4375  VERSION='1.0.11'
   4376 
   4377 
   4378 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   4379 
   4380 
   4381 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   4382 
   4383 # Some tools Automake needs.
   4384 
   4385 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4386 
   4387 
   4388 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4389 
   4390 
   4391 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4392 
   4393 
   4394 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4395 
   4396 
   4397 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4398 
   4399 # For better backward compatibility.  To be removed once Automake 1.9.x
   4400 # dies out for good.  For more background, see:
   4401 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4402 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4403 mkdir_p='$(MKDIR_P)'
   4404 
   4405 # We need awk for the "check" target (and possibly the TAP driver).  The
   4406 # system "awk" is bad on some platforms.
   4407 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4408 # in the wild :-(  We should find a proper way to deprecate it ...
   4409 AMTAR='$${TAR-tar}'
   4410 
   4411 
   4412 # We'll loop over all known methods to create a tar archive until one works.
   4413 _am_tools='gnutar  pax cpio none'
   4414 
   4415 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   4416 
   4417 
   4418 
   4419 
   4420 
   4421 depcc="$CC"   am_compiler_list=
   4422 
   4423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4424 printf %s "checking dependency style of $depcc... " >&6; }
   4425 if test ${am_cv_CC_dependencies_compiler_type+y}
   4426 then :
   4427   printf %s "(cached) " >&6
   4428 else $as_nop
   4429   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4430   # We make a subdir and do the tests there.  Otherwise we can end up
   4431   # making bogus files that we don't know about and never remove.  For
   4432   # instance it was reported that on HP-UX the gcc test will end up
   4433   # making a dummy file named 'D' -- because '-MD' means "put the output
   4434   # in D".
   4435   rm -rf conftest.dir
   4436   mkdir conftest.dir
   4437   # Copy depcomp to subdir because otherwise we won't find it if we're
   4438   # using a relative directory.
   4439   cp "$am_depcomp" conftest.dir
   4440   cd conftest.dir
   4441   # We will build objects and dependencies in a subdirectory because
   4442   # it helps to detect inapplicable dependency modes.  For instance
   4443   # both Tru64's cc and ICC support -MD to output dependencies as a
   4444   # side effect of compilation, but ICC will put the dependencies in
   4445   # the current directory while Tru64 will put them in the object
   4446   # directory.
   4447   mkdir sub
   4448 
   4449   am_cv_CC_dependencies_compiler_type=none
   4450   if test "$am_compiler_list" = ""; then
   4451      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4452   fi
   4453   am__universal=false
   4454   case " $depcc " in #(
   4455      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4456      esac
   4457 
   4458   for depmode in $am_compiler_list; do
   4459     # Setup a source with many dependencies, because some compilers
   4460     # like to wrap large dependency lists on column 80 (with \), and
   4461     # we should not choose a depcomp mode which is confused by this.
   4462     #
   4463     # We need to recreate these files for each test, as the compiler may
   4464     # overwrite some of them when testing with obscure command lines.
   4465     # This happens at least with the AIX C compiler.
   4466     : > sub/conftest.c
   4467     for i in 1 2 3 4 5 6; do
   4468       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4469       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4470       # Solaris 10 /bin/sh.
   4471       echo '/* dummy */' > sub/conftst$i.h
   4472     done
   4473     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4474 
   4475     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4476     # mode.  It turns out that the SunPro C++ compiler does not properly
   4477     # handle '-M -o', and we need to detect this.  Also, some Intel
   4478     # versions had trouble with output in subdirs.
   4479     am__obj=sub/conftest.${OBJEXT-o}
   4480     am__minus_obj="-o $am__obj"
   4481     case $depmode in
   4482     gcc)
   4483       # This depmode causes a compiler race in universal mode.
   4484       test "$am__universal" = false || continue
   4485       ;;
   4486     nosideeffect)
   4487       # After this tag, mechanisms are not by side-effect, so they'll
   4488       # only be used when explicitly requested.
   4489       if test "x$enable_dependency_tracking" = xyes; then
   4490 	continue
   4491       else
   4492 	break
   4493       fi
   4494       ;;
   4495     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4496       # This compiler won't grok '-c -o', but also, the minuso test has
   4497       # not run yet.  These depmodes are late enough in the game, and
   4498       # so weak that their functioning should not be impacted.
   4499       am__obj=conftest.${OBJEXT-o}
   4500       am__minus_obj=
   4501       ;;
   4502     none) break ;;
   4503     esac
   4504     if depmode=$depmode \
   4505        source=sub/conftest.c object=$am__obj \
   4506        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4507        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4508          >/dev/null 2>conftest.err &&
   4509        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4510        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4511        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4512        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4513       # icc doesn't choke on unknown options, it will just issue warnings
   4514       # or remarks (even with -Werror).  So we grep stderr for any message
   4515       # that says an option was ignored or not supported.
   4516       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4517       #   icc: Command line warning: ignoring option '-M'; no argument required
   4518       # The diagnosis changed in icc 8.0:
   4519       #   icc: Command line remark: option '-MP' not supported
   4520       if (grep 'ignoring option' conftest.err ||
   4521           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4522         am_cv_CC_dependencies_compiler_type=$depmode
   4523         break
   4524       fi
   4525     fi
   4526   done
   4527 
   4528   cd ..
   4529   rm -rf conftest.dir
   4530 else
   4531   am_cv_CC_dependencies_compiler_type=none
   4532 fi
   4533 
   4534 fi
   4535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4536 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4537 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4538 
   4539  if
   4540   test "x$enable_dependency_tracking" != xno \
   4541   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4542   am__fastdepCC_TRUE=
   4543   am__fastdepCC_FALSE='#'
   4544 else
   4545   am__fastdepCC_TRUE='#'
   4546   am__fastdepCC_FALSE=
   4547 fi
   4548 
   4549 
   4550 # Variables for tags utilities; see am/tags.am
   4551 if test -z "$CTAGS"; then
   4552   CTAGS=ctags
   4553 fi
   4554 
   4555 if test -z "$ETAGS"; then
   4556   ETAGS=etags
   4557 fi
   4558 
   4559 if test -z "$CSCOPE"; then
   4560   CSCOPE=cscope
   4561 fi
   4562 
   4563 
   4564 
   4565 # POSIX will say in a future version that running "rm -f" with no argument
   4566 # is OK; and we want to be able to make that assumption in our Makefile
   4567 # recipes.  So use an aggressive probe to check that the usage we want is
   4568 # actually supported "in the wild" to an acceptable degree.
   4569 # See automake bug#10828.
   4570 # To make any issue more visible, cause the running configure to be aborted
   4571 # by default if the 'rm' program in use doesn't match our expectations; the
   4572 # user can still override this though.
   4573 if rm -f && rm -fr && rm -rf; then : OK; else
   4574   cat >&2 <<'END'
   4575 Oops!
   4576 
   4577 Your 'rm' program seems unable to run without file operands specified
   4578 on the command line, even when the '-f' option is present.  This is contrary
   4579 to the behaviour of most rm programs out there, and not conforming with
   4580 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   4581 
   4582 Please tell bug-automake@gnu.org about your system, including the value
   4583 of your $PATH and any error possibly output before this message.  This
   4584 can help us improve future automake versions.
   4585 
   4586 END
   4587   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   4588     echo 'Configuration will proceed anyway, since you have set the' >&2
   4589     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   4590     echo >&2
   4591   else
   4592     cat >&2 <<'END'
   4593 Aborting the configuration process, to ensure you take notice of the issue.
   4594 
   4595 You can download and install GNU coreutils to get an 'rm' implementation
   4596 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   4597 
   4598 If you want to complete the configuration process using your problematic
   4599 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   4600 to "yes", and re-run configure.
   4601 
   4602 END
   4603     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   4604   fi
   4605 fi
   4606 
   4607 
   4608 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   4609 
   4610 
   4611 
   4612 
   4613 
   4614 
   4615 
   4616 
   4617 
   4618 
   4619 
   4620 
   4621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4622 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4623 if test ${ac_cv_c_undeclared_builtin_options+y}
   4624 then :
   4625   printf %s "(cached) " >&6
   4626 else $as_nop
   4627   ac_save_CFLAGS=$CFLAGS
   4628    ac_cv_c_undeclared_builtin_options='cannot detect'
   4629    for ac_arg in '' -fno-builtin; do
   4630      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4631      # This test program should *not* compile successfully.
   4632      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4633 /* end confdefs.h.  */
   4634 
   4635 int
   4636 main (void)
   4637 {
   4638 (void) strchr;
   4639   ;
   4640   return 0;
   4641 }
   4642 _ACEOF
   4643 if ac_fn_c_try_compile "$LINENO"
   4644 then :
   4645 
   4646 else $as_nop
   4647   # This test program should compile successfully.
   4648         # No library function is consistently available on
   4649         # freestanding implementations, so test against a dummy
   4650         # declaration.  Include always-available headers on the
   4651         # off chance that they somehow elicit warnings.
   4652         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4653 /* end confdefs.h.  */
   4654 #include <float.h>
   4655 #include <limits.h>
   4656 #include <stdarg.h>
   4657 #include <stddef.h>
   4658 extern void ac_decl (int, char *);
   4659 
   4660 int
   4661 main (void)
   4662 {
   4663 (void) ac_decl (0, (char *) 0);
   4664   (void) ac_decl;
   4665 
   4666   ;
   4667   return 0;
   4668 }
   4669 _ACEOF
   4670 if ac_fn_c_try_compile "$LINENO"
   4671 then :
   4672   if test x"$ac_arg" = x
   4673 then :
   4674   ac_cv_c_undeclared_builtin_options='none needed'
   4675 else $as_nop
   4676   ac_cv_c_undeclared_builtin_options=$ac_arg
   4677 fi
   4678           break
   4679 fi
   4680 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4681 fi
   4682 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4683     done
   4684     CFLAGS=$ac_save_CFLAGS
   4685 
   4686 fi
   4687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4688 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4689   case $ac_cv_c_undeclared_builtin_options in #(
   4690   'cannot detect') :
   4691     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4692 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4693 as_fn_error $? "cannot make $CC report undeclared builtins
   4694 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   4695   'none needed') :
   4696     ac_c_undeclared_builtin_options='' ;; #(
   4697   *) :
   4698     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4699 esac
   4700 
   4701 
   4702 
   4703 
   4704 
   4705 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4706 if test "x$ac_cv_have_decl___clang__" = xyes
   4707 then :
   4708   CLANGCC="yes"
   4709 else $as_nop
   4710   CLANGCC="no"
   4711 fi
   4712 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4713 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4714 then :
   4715   INTELCC="yes"
   4716 else $as_nop
   4717   INTELCC="no"
   4718 fi
   4719 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4720 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4721 then :
   4722   SUNCC="yes"
   4723 else $as_nop
   4724   SUNCC="no"
   4725 fi
   4726 
   4727 
   4728 
   4729 
   4730 
   4731 
   4732 
   4733 
   4734 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4735 	if test -n "$ac_tool_prefix"; then
   4736   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4737 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4739 printf %s "checking for $ac_word... " >&6; }
   4740 if test ${ac_cv_path_PKG_CONFIG+y}
   4741 then :
   4742   printf %s "(cached) " >&6
   4743 else $as_nop
   4744   case $PKG_CONFIG in
   4745   [\\/]* | ?:[\\/]*)
   4746   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4747   ;;
   4748   *)
   4749   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4750 for as_dir in $PATH
   4751 do
   4752   IFS=$as_save_IFS
   4753   case $as_dir in #(((
   4754     '') as_dir=./ ;;
   4755     */) ;;
   4756     *) as_dir=$as_dir/ ;;
   4757   esac
   4758     for ac_exec_ext in '' $ac_executable_extensions; do
   4759   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4760     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4761     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4762     break 2
   4763   fi
   4764 done
   4765   done
   4766 IFS=$as_save_IFS
   4767 
   4768   ;;
   4769 esac
   4770 fi
   4771 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4772 if test -n "$PKG_CONFIG"; then
   4773   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4774 printf "%s\n" "$PKG_CONFIG" >&6; }
   4775 else
   4776   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4777 printf "%s\n" "no" >&6; }
   4778 fi
   4779 
   4780 
   4781 fi
   4782 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4783   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4784   # Extract the first word of "pkg-config", so it can be a program name with args.
   4785 set dummy pkg-config; ac_word=$2
   4786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4787 printf %s "checking for $ac_word... " >&6; }
   4788 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4789 then :
   4790   printf %s "(cached) " >&6
   4791 else $as_nop
   4792   case $ac_pt_PKG_CONFIG in
   4793   [\\/]* | ?:[\\/]*)
   4794   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4795   ;;
   4796   *)
   4797   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4798 for as_dir in $PATH
   4799 do
   4800   IFS=$as_save_IFS
   4801   case $as_dir in #(((
   4802     '') as_dir=./ ;;
   4803     */) ;;
   4804     *) as_dir=$as_dir/ ;;
   4805   esac
   4806     for ac_exec_ext in '' $ac_executable_extensions; do
   4807   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4808     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4809     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4810     break 2
   4811   fi
   4812 done
   4813   done
   4814 IFS=$as_save_IFS
   4815 
   4816   ;;
   4817 esac
   4818 fi
   4819 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4820 if test -n "$ac_pt_PKG_CONFIG"; then
   4821   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4822 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4823 else
   4824   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4825 printf "%s\n" "no" >&6; }
   4826 fi
   4827 
   4828   if test "x$ac_pt_PKG_CONFIG" = x; then
   4829     PKG_CONFIG=""
   4830   else
   4831     case $cross_compiling:$ac_tool_warned in
   4832 yes:)
   4833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4834 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4835 ac_tool_warned=yes ;;
   4836 esac
   4837     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4838   fi
   4839 else
   4840   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4841 fi
   4842 
   4843 fi
   4844 if test -n "$PKG_CONFIG"; then
   4845 	_pkg_min_version=0.9.0
   4846 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4847 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4848 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4849 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4850 printf "%s\n" "yes" >&6; }
   4851 	else
   4852 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4853 printf "%s\n" "no" >&6; }
   4854 		PKG_CONFIG=""
   4855 	fi
   4856 fi
   4857 
   4858 
   4859   # Make sure we can run config.sub.
   4860 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4861   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4862 
   4863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4864 printf %s "checking build system type... " >&6; }
   4865 if test ${ac_cv_build+y}
   4866 then :
   4867   printf %s "(cached) " >&6
   4868 else $as_nop
   4869   ac_build_alias=$build_alias
   4870 test "x$ac_build_alias" = x &&
   4871   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4872 test "x$ac_build_alias" = x &&
   4873   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4874 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4875   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4876 
   4877 fi
   4878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4879 printf "%s\n" "$ac_cv_build" >&6; }
   4880 case $ac_cv_build in
   4881 *-*-*) ;;
   4882 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4883 esac
   4884 build=$ac_cv_build
   4885 ac_save_IFS=$IFS; IFS='-'
   4886 set x $ac_cv_build
   4887 shift
   4888 build_cpu=$1
   4889 build_vendor=$2
   4890 shift; shift
   4891 # Remember, the first character of IFS is used to create $*,
   4892 # except with old shells:
   4893 build_os=$*
   4894 IFS=$ac_save_IFS
   4895 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4896 
   4897 
   4898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4899 printf %s "checking host system type... " >&6; }
   4900 if test ${ac_cv_host+y}
   4901 then :
   4902   printf %s "(cached) " >&6
   4903 else $as_nop
   4904   if test "x$host_alias" = x; then
   4905   ac_cv_host=$ac_cv_build
   4906 else
   4907   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4908     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4909 fi
   4910 
   4911 fi
   4912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4913 printf "%s\n" "$ac_cv_host" >&6; }
   4914 case $ac_cv_host in
   4915 *-*-*) ;;
   4916 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4917 esac
   4918 host=$ac_cv_host
   4919 ac_save_IFS=$IFS; IFS='-'
   4920 set x $ac_cv_host
   4921 shift
   4922 host_cpu=$1
   4923 host_vendor=$2
   4924 shift; shift
   4925 # Remember, the first character of IFS is used to create $*,
   4926 # except with old shells:
   4927 host_os=$*
   4928 IFS=$ac_save_IFS
   4929 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4930 
   4931 
   4932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4933 printf %s "checking for a sed that does not truncate output... " >&6; }
   4934 if test ${ac_cv_path_SED+y}
   4935 then :
   4936   printf %s "(cached) " >&6
   4937 else $as_nop
   4938             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4939      for ac_i in 1 2 3 4 5 6 7; do
   4940        ac_script="$ac_script$as_nl$ac_script"
   4941      done
   4942      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4943      { ac_script=; unset ac_script;}
   4944      if test -z "$SED"; then
   4945   ac_path_SED_found=false
   4946   # Loop through the user's path and test for each of PROGNAME-LIST
   4947   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4948 for as_dir in $PATH
   4949 do
   4950   IFS=$as_save_IFS
   4951   case $as_dir in #(((
   4952     '') as_dir=./ ;;
   4953     */) ;;
   4954     *) as_dir=$as_dir/ ;;
   4955   esac
   4956     for ac_prog in sed gsed
   4957    do
   4958     for ac_exec_ext in '' $ac_executable_extensions; do
   4959       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4960       as_fn_executable_p "$ac_path_SED" || continue
   4961 # Check for GNU ac_path_SED and select it if it is found.
   4962   # Check for GNU $ac_path_SED
   4963 case `"$ac_path_SED" --version 2>&1` in
   4964 *GNU*)
   4965   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4966 *)
   4967   ac_count=0
   4968   printf %s 0123456789 >"conftest.in"
   4969   while :
   4970   do
   4971     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4972     mv "conftest.tmp" "conftest.in"
   4973     cp "conftest.in" "conftest.nl"
   4974     printf "%s\n" '' >> "conftest.nl"
   4975     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4976     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4977     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4978     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4979       # Best one so far, save it but keep looking for a better one
   4980       ac_cv_path_SED="$ac_path_SED"
   4981       ac_path_SED_max=$ac_count
   4982     fi
   4983     # 10*(2^10) chars as input seems more than enough
   4984     test $ac_count -gt 10 && break
   4985   done
   4986   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4987 esac
   4988 
   4989       $ac_path_SED_found && break 3
   4990     done
   4991   done
   4992   done
   4993 IFS=$as_save_IFS
   4994   if test -z "$ac_cv_path_SED"; then
   4995     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4996   fi
   4997 else
   4998   ac_cv_path_SED=$SED
   4999 fi
   5000 
   5001 fi
   5002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5003 printf "%s\n" "$ac_cv_path_SED" >&6; }
   5004  SED="$ac_cv_path_SED"
   5005   rm -f conftest.sed
   5006 
   5007 
   5008 
   5009 
   5010 
   5011 
   5012 # Check whether --enable-selective-werror was given.
   5013 if test ${enable_selective_werror+y}
   5014 then :
   5015   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   5016 else $as_nop
   5017   SELECTIVE_WERROR=yes
   5018 fi
   5019 
   5020 
   5021 
   5022 
   5023 
   5024 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5025 if test "x$SUNCC" = "xyes"; then
   5026     BASE_CFLAGS="-v"
   5027 else
   5028     BASE_CFLAGS=""
   5029 fi
   5030 
   5031 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5032 
   5033 
   5034 
   5035 
   5036 
   5037 
   5038 
   5039 
   5040 
   5041 
   5042 
   5043 
   5044 
   5045 xorg_testset_save_CFLAGS="$CFLAGS"
   5046 
   5047 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5048 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5049 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5050 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5051 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5052 then :
   5053   printf %s "(cached) " >&6
   5054 else $as_nop
   5055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5056 /* end confdefs.h.  */
   5057 int i;
   5058 _ACEOF
   5059 if ac_fn_c_try_compile "$LINENO"
   5060 then :
   5061   xorg_cv_cc_flag_unknown_warning_option=yes
   5062 else $as_nop
   5063   xorg_cv_cc_flag_unknown_warning_option=no
   5064 fi
   5065 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5066 fi
   5067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5068 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5069 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5070 	CFLAGS="$xorg_testset_save_CFLAGS"
   5071 fi
   5072 
   5073 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5074 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5075 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5076 	fi
   5077 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5078 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5079 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5080 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5081 then :
   5082   printf %s "(cached) " >&6
   5083 else $as_nop
   5084   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5085 /* end confdefs.h.  */
   5086 int i;
   5087 _ACEOF
   5088 if ac_fn_c_try_compile "$LINENO"
   5089 then :
   5090   xorg_cv_cc_flag_unused_command_line_argument=yes
   5091 else $as_nop
   5092   xorg_cv_cc_flag_unused_command_line_argument=no
   5093 fi
   5094 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5095 fi
   5096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5097 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5098 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5099 	CFLAGS="$xorg_testset_save_CFLAGS"
   5100 fi
   5101 
   5102 found="no"
   5103 
   5104 	if test $found = "no" ; then
   5105 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5106 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5107 		fi
   5108 
   5109 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5110 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5111 		fi
   5112 
   5113 		CFLAGS="$CFLAGS -Wall"
   5114 
   5115 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5116 printf %s "checking if $CC supports -Wall... " >&6; }
   5117 		cacheid=xorg_cv_cc_flag__Wall
   5118 		if eval test \${$cacheid+y}
   5119 then :
   5120   printf %s "(cached) " >&6
   5121 else $as_nop
   5122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5123 /* end confdefs.h.  */
   5124 int i;
   5125 int
   5126 main (void)
   5127 {
   5128 
   5129   ;
   5130   return 0;
   5131 }
   5132 _ACEOF
   5133 if ac_fn_c_try_link "$LINENO"
   5134 then :
   5135   eval $cacheid=yes
   5136 else $as_nop
   5137   eval $cacheid=no
   5138 fi
   5139 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5140     conftest$ac_exeext conftest.$ac_ext
   5141 fi
   5142 
   5143 
   5144 		CFLAGS="$xorg_testset_save_CFLAGS"
   5145 
   5146 		eval supported=\$$cacheid
   5147 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5148 printf "%s\n" "$supported" >&6; }
   5149 		if test "$supported" = "yes" ; then
   5150 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5151 			found="yes"
   5152 		fi
   5153 	fi
   5154 
   5155 
   5156 
   5157 
   5158 
   5159 
   5160 
   5161 
   5162 
   5163 
   5164 
   5165 
   5166 
   5167 
   5168 
   5169 xorg_testset_save_CFLAGS="$CFLAGS"
   5170 
   5171 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5172 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5173 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5174 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5175 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5176 then :
   5177   printf %s "(cached) " >&6
   5178 else $as_nop
   5179   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5180 /* end confdefs.h.  */
   5181 int i;
   5182 _ACEOF
   5183 if ac_fn_c_try_compile "$LINENO"
   5184 then :
   5185   xorg_cv_cc_flag_unknown_warning_option=yes
   5186 else $as_nop
   5187   xorg_cv_cc_flag_unknown_warning_option=no
   5188 fi
   5189 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5190 fi
   5191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5192 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5193 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5194 	CFLAGS="$xorg_testset_save_CFLAGS"
   5195 fi
   5196 
   5197 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5198 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5199 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5200 	fi
   5201 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5202 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5203 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5204 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5205 then :
   5206   printf %s "(cached) " >&6
   5207 else $as_nop
   5208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5209 /* end confdefs.h.  */
   5210 int i;
   5211 _ACEOF
   5212 if ac_fn_c_try_compile "$LINENO"
   5213 then :
   5214   xorg_cv_cc_flag_unused_command_line_argument=yes
   5215 else $as_nop
   5216   xorg_cv_cc_flag_unused_command_line_argument=no
   5217 fi
   5218 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5219 fi
   5220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5221 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5222 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5223 	CFLAGS="$xorg_testset_save_CFLAGS"
   5224 fi
   5225 
   5226 found="no"
   5227 
   5228 	if test $found = "no" ; then
   5229 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5230 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5231 		fi
   5232 
   5233 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5234 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5235 		fi
   5236 
   5237 		CFLAGS="$CFLAGS -Wpointer-arith"
   5238 
   5239 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5240 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5241 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5242 		if eval test \${$cacheid+y}
   5243 then :
   5244   printf %s "(cached) " >&6
   5245 else $as_nop
   5246   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5247 /* end confdefs.h.  */
   5248 int i;
   5249 int
   5250 main (void)
   5251 {
   5252 
   5253   ;
   5254   return 0;
   5255 }
   5256 _ACEOF
   5257 if ac_fn_c_try_link "$LINENO"
   5258 then :
   5259   eval $cacheid=yes
   5260 else $as_nop
   5261   eval $cacheid=no
   5262 fi
   5263 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5264     conftest$ac_exeext conftest.$ac_ext
   5265 fi
   5266 
   5267 
   5268 		CFLAGS="$xorg_testset_save_CFLAGS"
   5269 
   5270 		eval supported=\$$cacheid
   5271 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5272 printf "%s\n" "$supported" >&6; }
   5273 		if test "$supported" = "yes" ; then
   5274 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5275 			found="yes"
   5276 		fi
   5277 	fi
   5278 
   5279 
   5280 
   5281 
   5282 
   5283 
   5284 
   5285 
   5286 
   5287 
   5288 
   5289 
   5290 
   5291 
   5292 
   5293 xorg_testset_save_CFLAGS="$CFLAGS"
   5294 
   5295 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5296 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5297 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5298 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5299 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5300 then :
   5301   printf %s "(cached) " >&6
   5302 else $as_nop
   5303   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5304 /* end confdefs.h.  */
   5305 int i;
   5306 _ACEOF
   5307 if ac_fn_c_try_compile "$LINENO"
   5308 then :
   5309   xorg_cv_cc_flag_unknown_warning_option=yes
   5310 else $as_nop
   5311   xorg_cv_cc_flag_unknown_warning_option=no
   5312 fi
   5313 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5314 fi
   5315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5316 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5317 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5318 	CFLAGS="$xorg_testset_save_CFLAGS"
   5319 fi
   5320 
   5321 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5322 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5323 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5324 	fi
   5325 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5326 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5327 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5328 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5329 then :
   5330   printf %s "(cached) " >&6
   5331 else $as_nop
   5332   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5333 /* end confdefs.h.  */
   5334 int i;
   5335 _ACEOF
   5336 if ac_fn_c_try_compile "$LINENO"
   5337 then :
   5338   xorg_cv_cc_flag_unused_command_line_argument=yes
   5339 else $as_nop
   5340   xorg_cv_cc_flag_unused_command_line_argument=no
   5341 fi
   5342 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5343 fi
   5344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5345 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5346 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5347 	CFLAGS="$xorg_testset_save_CFLAGS"
   5348 fi
   5349 
   5350 found="no"
   5351 
   5352 	if test $found = "no" ; then
   5353 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5354 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5355 		fi
   5356 
   5357 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5358 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5359 		fi
   5360 
   5361 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5362 
   5363 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5364 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5365 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5366 		if eval test \${$cacheid+y}
   5367 then :
   5368   printf %s "(cached) " >&6
   5369 else $as_nop
   5370   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5371 /* end confdefs.h.  */
   5372 int i;
   5373 int
   5374 main (void)
   5375 {
   5376 
   5377   ;
   5378   return 0;
   5379 }
   5380 _ACEOF
   5381 if ac_fn_c_try_link "$LINENO"
   5382 then :
   5383   eval $cacheid=yes
   5384 else $as_nop
   5385   eval $cacheid=no
   5386 fi
   5387 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5388     conftest$ac_exeext conftest.$ac_ext
   5389 fi
   5390 
   5391 
   5392 		CFLAGS="$xorg_testset_save_CFLAGS"
   5393 
   5394 		eval supported=\$$cacheid
   5395 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5396 printf "%s\n" "$supported" >&6; }
   5397 		if test "$supported" = "yes" ; then
   5398 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5399 			found="yes"
   5400 		fi
   5401 	fi
   5402 
   5403 
   5404 
   5405 
   5406 
   5407 
   5408 
   5409 
   5410 
   5411 
   5412 
   5413 
   5414 
   5415 
   5416 
   5417 xorg_testset_save_CFLAGS="$CFLAGS"
   5418 
   5419 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5420 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5421 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5422 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5423 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5424 then :
   5425   printf %s "(cached) " >&6
   5426 else $as_nop
   5427   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5428 /* end confdefs.h.  */
   5429 int i;
   5430 _ACEOF
   5431 if ac_fn_c_try_compile "$LINENO"
   5432 then :
   5433   xorg_cv_cc_flag_unknown_warning_option=yes
   5434 else $as_nop
   5435   xorg_cv_cc_flag_unknown_warning_option=no
   5436 fi
   5437 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5438 fi
   5439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5440 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5441 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5442 	CFLAGS="$xorg_testset_save_CFLAGS"
   5443 fi
   5444 
   5445 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5446 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5447 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5448 	fi
   5449 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5450 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5451 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5452 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5453 then :
   5454   printf %s "(cached) " >&6
   5455 else $as_nop
   5456   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5457 /* end confdefs.h.  */
   5458 int i;
   5459 _ACEOF
   5460 if ac_fn_c_try_compile "$LINENO"
   5461 then :
   5462   xorg_cv_cc_flag_unused_command_line_argument=yes
   5463 else $as_nop
   5464   xorg_cv_cc_flag_unused_command_line_argument=no
   5465 fi
   5466 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5467 fi
   5468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5469 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5470 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5471 	CFLAGS="$xorg_testset_save_CFLAGS"
   5472 fi
   5473 
   5474 found="no"
   5475 
   5476 	if test $found = "no" ; then
   5477 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5478 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5479 		fi
   5480 
   5481 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5482 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5483 		fi
   5484 
   5485 		CFLAGS="$CFLAGS -Wformat=2"
   5486 
   5487 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5488 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5489 		cacheid=xorg_cv_cc_flag__Wformat_2
   5490 		if eval test \${$cacheid+y}
   5491 then :
   5492   printf %s "(cached) " >&6
   5493 else $as_nop
   5494   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5495 /* end confdefs.h.  */
   5496 int i;
   5497 int
   5498 main (void)
   5499 {
   5500 
   5501   ;
   5502   return 0;
   5503 }
   5504 _ACEOF
   5505 if ac_fn_c_try_link "$LINENO"
   5506 then :
   5507   eval $cacheid=yes
   5508 else $as_nop
   5509   eval $cacheid=no
   5510 fi
   5511 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5512     conftest$ac_exeext conftest.$ac_ext
   5513 fi
   5514 
   5515 
   5516 		CFLAGS="$xorg_testset_save_CFLAGS"
   5517 
   5518 		eval supported=\$$cacheid
   5519 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5520 printf "%s\n" "$supported" >&6; }
   5521 		if test "$supported" = "yes" ; then
   5522 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5523 			found="yes"
   5524 		fi
   5525 	fi
   5526 
   5527 	if test $found = "no" ; then
   5528 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5529 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5530 		fi
   5531 
   5532 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5533 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5534 		fi
   5535 
   5536 		CFLAGS="$CFLAGS -Wformat"
   5537 
   5538 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5539 printf %s "checking if $CC supports -Wformat... " >&6; }
   5540 		cacheid=xorg_cv_cc_flag__Wformat
   5541 		if eval test \${$cacheid+y}
   5542 then :
   5543   printf %s "(cached) " >&6
   5544 else $as_nop
   5545   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5546 /* end confdefs.h.  */
   5547 int i;
   5548 int
   5549 main (void)
   5550 {
   5551 
   5552   ;
   5553   return 0;
   5554 }
   5555 _ACEOF
   5556 if ac_fn_c_try_link "$LINENO"
   5557 then :
   5558   eval $cacheid=yes
   5559 else $as_nop
   5560   eval $cacheid=no
   5561 fi
   5562 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5563     conftest$ac_exeext conftest.$ac_ext
   5564 fi
   5565 
   5566 
   5567 		CFLAGS="$xorg_testset_save_CFLAGS"
   5568 
   5569 		eval supported=\$$cacheid
   5570 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5571 printf "%s\n" "$supported" >&6; }
   5572 		if test "$supported" = "yes" ; then
   5573 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5574 			found="yes"
   5575 		fi
   5576 	fi
   5577 
   5578 
   5579 
   5580 
   5581 
   5582 
   5583 
   5584 
   5585 
   5586 
   5587 
   5588 
   5589 
   5590 
   5591 
   5592 
   5593 
   5594 xorg_testset_save_CFLAGS="$CFLAGS"
   5595 
   5596 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5597 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5598 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5599 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5600 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5601 then :
   5602   printf %s "(cached) " >&6
   5603 else $as_nop
   5604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5605 /* end confdefs.h.  */
   5606 int i;
   5607 _ACEOF
   5608 if ac_fn_c_try_compile "$LINENO"
   5609 then :
   5610   xorg_cv_cc_flag_unknown_warning_option=yes
   5611 else $as_nop
   5612   xorg_cv_cc_flag_unknown_warning_option=no
   5613 fi
   5614 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5615 fi
   5616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5617 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5618 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5619 	CFLAGS="$xorg_testset_save_CFLAGS"
   5620 fi
   5621 
   5622 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5623 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5624 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5625 	fi
   5626 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5627 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5628 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5629 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5630 then :
   5631   printf %s "(cached) " >&6
   5632 else $as_nop
   5633   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5634 /* end confdefs.h.  */
   5635 int i;
   5636 _ACEOF
   5637 if ac_fn_c_try_compile "$LINENO"
   5638 then :
   5639   xorg_cv_cc_flag_unused_command_line_argument=yes
   5640 else $as_nop
   5641   xorg_cv_cc_flag_unused_command_line_argument=no
   5642 fi
   5643 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5644 fi
   5645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5646 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5647 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5648 	CFLAGS="$xorg_testset_save_CFLAGS"
   5649 fi
   5650 
   5651 found="no"
   5652 
   5653 	if test $found = "no" ; then
   5654 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5655 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5656 		fi
   5657 
   5658 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5659 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5660 		fi
   5661 
   5662 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5663 
   5664 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5665 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5666 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5667 		if eval test \${$cacheid+y}
   5668 then :
   5669   printf %s "(cached) " >&6
   5670 else $as_nop
   5671   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5672 /* end confdefs.h.  */
   5673 int i;
   5674 int
   5675 main (void)
   5676 {
   5677 
   5678   ;
   5679   return 0;
   5680 }
   5681 _ACEOF
   5682 if ac_fn_c_try_link "$LINENO"
   5683 then :
   5684   eval $cacheid=yes
   5685 else $as_nop
   5686   eval $cacheid=no
   5687 fi
   5688 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5689     conftest$ac_exeext conftest.$ac_ext
   5690 fi
   5691 
   5692 
   5693 		CFLAGS="$xorg_testset_save_CFLAGS"
   5694 
   5695 		eval supported=\$$cacheid
   5696 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5697 printf "%s\n" "$supported" >&6; }
   5698 		if test "$supported" = "yes" ; then
   5699 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5700 			found="yes"
   5701 		fi
   5702 	fi
   5703 
   5704 
   5705 
   5706 
   5707 
   5708 
   5709 
   5710 
   5711 
   5712 
   5713 
   5714 
   5715 
   5716 
   5717 
   5718 xorg_testset_save_CFLAGS="$CFLAGS"
   5719 
   5720 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5721 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5722 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5723 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5724 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5725 then :
   5726   printf %s "(cached) " >&6
   5727 else $as_nop
   5728   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5729 /* end confdefs.h.  */
   5730 int i;
   5731 _ACEOF
   5732 if ac_fn_c_try_compile "$LINENO"
   5733 then :
   5734   xorg_cv_cc_flag_unknown_warning_option=yes
   5735 else $as_nop
   5736   xorg_cv_cc_flag_unknown_warning_option=no
   5737 fi
   5738 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5739 fi
   5740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5741 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5742 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5743 	CFLAGS="$xorg_testset_save_CFLAGS"
   5744 fi
   5745 
   5746 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5747 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5748 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5749 	fi
   5750 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5751 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5752 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5753 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5754 then :
   5755   printf %s "(cached) " >&6
   5756 else $as_nop
   5757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5758 /* end confdefs.h.  */
   5759 int i;
   5760 _ACEOF
   5761 if ac_fn_c_try_compile "$LINENO"
   5762 then :
   5763   xorg_cv_cc_flag_unused_command_line_argument=yes
   5764 else $as_nop
   5765   xorg_cv_cc_flag_unused_command_line_argument=no
   5766 fi
   5767 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5768 fi
   5769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5770 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5771 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5772 	CFLAGS="$xorg_testset_save_CFLAGS"
   5773 fi
   5774 
   5775 found="no"
   5776 
   5777 	if test $found = "no" ; then
   5778 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5779 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5780 		fi
   5781 
   5782 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5783 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5784 		fi
   5785 
   5786 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5787 
   5788 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5789 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5790 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5791 		if eval test \${$cacheid+y}
   5792 then :
   5793   printf %s "(cached) " >&6
   5794 else $as_nop
   5795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5796 /* end confdefs.h.  */
   5797 int i;
   5798 int
   5799 main (void)
   5800 {
   5801 
   5802   ;
   5803   return 0;
   5804 }
   5805 _ACEOF
   5806 if ac_fn_c_try_link "$LINENO"
   5807 then :
   5808   eval $cacheid=yes
   5809 else $as_nop
   5810   eval $cacheid=no
   5811 fi
   5812 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5813     conftest$ac_exeext conftest.$ac_ext
   5814 fi
   5815 
   5816 
   5817 		CFLAGS="$xorg_testset_save_CFLAGS"
   5818 
   5819 		eval supported=\$$cacheid
   5820 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5821 printf "%s\n" "$supported" >&6; }
   5822 		if test "$supported" = "yes" ; then
   5823 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5824 			found="yes"
   5825 		fi
   5826 	fi
   5827 
   5828 
   5829 
   5830 
   5831 
   5832 
   5833 
   5834 
   5835 
   5836 
   5837 
   5838 
   5839 
   5840 
   5841 
   5842 xorg_testset_save_CFLAGS="$CFLAGS"
   5843 
   5844 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5845 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5846 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5847 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5848 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5849 then :
   5850   printf %s "(cached) " >&6
   5851 else $as_nop
   5852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5853 /* end confdefs.h.  */
   5854 int i;
   5855 _ACEOF
   5856 if ac_fn_c_try_compile "$LINENO"
   5857 then :
   5858   xorg_cv_cc_flag_unknown_warning_option=yes
   5859 else $as_nop
   5860   xorg_cv_cc_flag_unknown_warning_option=no
   5861 fi
   5862 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5863 fi
   5864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5865 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5866 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5867 	CFLAGS="$xorg_testset_save_CFLAGS"
   5868 fi
   5869 
   5870 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5871 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5872 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5873 	fi
   5874 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5875 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5876 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5877 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5878 then :
   5879   printf %s "(cached) " >&6
   5880 else $as_nop
   5881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5882 /* end confdefs.h.  */
   5883 int i;
   5884 _ACEOF
   5885 if ac_fn_c_try_compile "$LINENO"
   5886 then :
   5887   xorg_cv_cc_flag_unused_command_line_argument=yes
   5888 else $as_nop
   5889   xorg_cv_cc_flag_unused_command_line_argument=no
   5890 fi
   5891 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5892 fi
   5893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5894 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5895 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5896 	CFLAGS="$xorg_testset_save_CFLAGS"
   5897 fi
   5898 
   5899 found="no"
   5900 
   5901 	if test $found = "no" ; then
   5902 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5903 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5904 		fi
   5905 
   5906 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5907 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5908 		fi
   5909 
   5910 		CFLAGS="$CFLAGS -Wnested-externs"
   5911 
   5912 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5913 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   5914 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5915 		if eval test \${$cacheid+y}
   5916 then :
   5917   printf %s "(cached) " >&6
   5918 else $as_nop
   5919   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5920 /* end confdefs.h.  */
   5921 int i;
   5922 int
   5923 main (void)
   5924 {
   5925 
   5926   ;
   5927   return 0;
   5928 }
   5929 _ACEOF
   5930 if ac_fn_c_try_link "$LINENO"
   5931 then :
   5932   eval $cacheid=yes
   5933 else $as_nop
   5934   eval $cacheid=no
   5935 fi
   5936 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5937     conftest$ac_exeext conftest.$ac_ext
   5938 fi
   5939 
   5940 
   5941 		CFLAGS="$xorg_testset_save_CFLAGS"
   5942 
   5943 		eval supported=\$$cacheid
   5944 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5945 printf "%s\n" "$supported" >&6; }
   5946 		if test "$supported" = "yes" ; then
   5947 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5948 			found="yes"
   5949 		fi
   5950 	fi
   5951 
   5952 
   5953 
   5954 
   5955 
   5956 
   5957 
   5958 
   5959 
   5960 
   5961 
   5962 
   5963 
   5964 
   5965 
   5966 xorg_testset_save_CFLAGS="$CFLAGS"
   5967 
   5968 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5969 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5970 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5971 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5972 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5973 then :
   5974   printf %s "(cached) " >&6
   5975 else $as_nop
   5976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5977 /* end confdefs.h.  */
   5978 int i;
   5979 _ACEOF
   5980 if ac_fn_c_try_compile "$LINENO"
   5981 then :
   5982   xorg_cv_cc_flag_unknown_warning_option=yes
   5983 else $as_nop
   5984   xorg_cv_cc_flag_unknown_warning_option=no
   5985 fi
   5986 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5987 fi
   5988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5989 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5990 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5991 	CFLAGS="$xorg_testset_save_CFLAGS"
   5992 fi
   5993 
   5994 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5995 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5996 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5997 	fi
   5998 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5999 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6000 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6001 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6002 then :
   6003   printf %s "(cached) " >&6
   6004 else $as_nop
   6005   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6006 /* end confdefs.h.  */
   6007 int i;
   6008 _ACEOF
   6009 if ac_fn_c_try_compile "$LINENO"
   6010 then :
   6011   xorg_cv_cc_flag_unused_command_line_argument=yes
   6012 else $as_nop
   6013   xorg_cv_cc_flag_unused_command_line_argument=no
   6014 fi
   6015 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6016 fi
   6017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6018 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6019 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6020 	CFLAGS="$xorg_testset_save_CFLAGS"
   6021 fi
   6022 
   6023 found="no"
   6024 
   6025 	if test $found = "no" ; then
   6026 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6027 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6028 		fi
   6029 
   6030 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6031 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6032 		fi
   6033 
   6034 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6035 
   6036 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6037 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   6038 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6039 		if eval test \${$cacheid+y}
   6040 then :
   6041   printf %s "(cached) " >&6
   6042 else $as_nop
   6043   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6044 /* end confdefs.h.  */
   6045 int i;
   6046 int
   6047 main (void)
   6048 {
   6049 
   6050   ;
   6051   return 0;
   6052 }
   6053 _ACEOF
   6054 if ac_fn_c_try_link "$LINENO"
   6055 then :
   6056   eval $cacheid=yes
   6057 else $as_nop
   6058   eval $cacheid=no
   6059 fi
   6060 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6061     conftest$ac_exeext conftest.$ac_ext
   6062 fi
   6063 
   6064 
   6065 		CFLAGS="$xorg_testset_save_CFLAGS"
   6066 
   6067 		eval supported=\$$cacheid
   6068 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6069 printf "%s\n" "$supported" >&6; }
   6070 		if test "$supported" = "yes" ; then
   6071 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6072 			found="yes"
   6073 		fi
   6074 	fi
   6075 
   6076 
   6077 
   6078 
   6079 
   6080 
   6081 
   6082 
   6083 
   6084 
   6085 
   6086 
   6087 
   6088 
   6089 
   6090 xorg_testset_save_CFLAGS="$CFLAGS"
   6091 
   6092 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6093 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6094 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6095 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6096 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6097 then :
   6098   printf %s "(cached) " >&6
   6099 else $as_nop
   6100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6101 /* end confdefs.h.  */
   6102 int i;
   6103 _ACEOF
   6104 if ac_fn_c_try_compile "$LINENO"
   6105 then :
   6106   xorg_cv_cc_flag_unknown_warning_option=yes
   6107 else $as_nop
   6108   xorg_cv_cc_flag_unknown_warning_option=no
   6109 fi
   6110 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6111 fi
   6112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6113 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6114 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6115 	CFLAGS="$xorg_testset_save_CFLAGS"
   6116 fi
   6117 
   6118 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6119 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6120 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6121 	fi
   6122 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6123 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6124 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6125 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6126 then :
   6127   printf %s "(cached) " >&6
   6128 else $as_nop
   6129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6130 /* end confdefs.h.  */
   6131 int i;
   6132 _ACEOF
   6133 if ac_fn_c_try_compile "$LINENO"
   6134 then :
   6135   xorg_cv_cc_flag_unused_command_line_argument=yes
   6136 else $as_nop
   6137   xorg_cv_cc_flag_unused_command_line_argument=no
   6138 fi
   6139 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6140 fi
   6141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6142 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6143 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6144 	CFLAGS="$xorg_testset_save_CFLAGS"
   6145 fi
   6146 
   6147 found="no"
   6148 
   6149 	if test $found = "no" ; then
   6150 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6151 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6152 		fi
   6153 
   6154 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6155 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6156 		fi
   6157 
   6158 		CFLAGS="$CFLAGS -Wold-style-definition"
   6159 
   6160 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6161 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6162 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6163 		if eval test \${$cacheid+y}
   6164 then :
   6165   printf %s "(cached) " >&6
   6166 else $as_nop
   6167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6168 /* end confdefs.h.  */
   6169 int i;
   6170 int
   6171 main (void)
   6172 {
   6173 
   6174   ;
   6175   return 0;
   6176 }
   6177 _ACEOF
   6178 if ac_fn_c_try_link "$LINENO"
   6179 then :
   6180   eval $cacheid=yes
   6181 else $as_nop
   6182   eval $cacheid=no
   6183 fi
   6184 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6185     conftest$ac_exeext conftest.$ac_ext
   6186 fi
   6187 
   6188 
   6189 		CFLAGS="$xorg_testset_save_CFLAGS"
   6190 
   6191 		eval supported=\$$cacheid
   6192 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6193 printf "%s\n" "$supported" >&6; }
   6194 		if test "$supported" = "yes" ; then
   6195 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6196 			found="yes"
   6197 		fi
   6198 	fi
   6199 
   6200 	if test $found = "no" ; then
   6201 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6202 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6203 		fi
   6204 
   6205 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6206 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6207 		fi
   6208 
   6209 		CFLAGS="$CFLAGS -fd"
   6210 
   6211 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6212 printf %s "checking if $CC supports -fd... " >&6; }
   6213 		cacheid=xorg_cv_cc_flag__fd
   6214 		if eval test \${$cacheid+y}
   6215 then :
   6216   printf %s "(cached) " >&6
   6217 else $as_nop
   6218   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6219 /* end confdefs.h.  */
   6220 int i;
   6221 int
   6222 main (void)
   6223 {
   6224 
   6225   ;
   6226   return 0;
   6227 }
   6228 _ACEOF
   6229 if ac_fn_c_try_link "$LINENO"
   6230 then :
   6231   eval $cacheid=yes
   6232 else $as_nop
   6233   eval $cacheid=no
   6234 fi
   6235 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6236     conftest$ac_exeext conftest.$ac_ext
   6237 fi
   6238 
   6239 
   6240 		CFLAGS="$xorg_testset_save_CFLAGS"
   6241 
   6242 		eval supported=\$$cacheid
   6243 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6244 printf "%s\n" "$supported" >&6; }
   6245 		if test "$supported" = "yes" ; then
   6246 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6247 			found="yes"
   6248 		fi
   6249 	fi
   6250 
   6251 
   6252 
   6253 
   6254 
   6255 
   6256 
   6257 
   6258 
   6259 
   6260 
   6261 
   6262 
   6263 
   6264 
   6265 xorg_testset_save_CFLAGS="$CFLAGS"
   6266 
   6267 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6268 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6269 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6270 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6271 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6272 then :
   6273   printf %s "(cached) " >&6
   6274 else $as_nop
   6275   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6276 /* end confdefs.h.  */
   6277 int i;
   6278 _ACEOF
   6279 if ac_fn_c_try_compile "$LINENO"
   6280 then :
   6281   xorg_cv_cc_flag_unknown_warning_option=yes
   6282 else $as_nop
   6283   xorg_cv_cc_flag_unknown_warning_option=no
   6284 fi
   6285 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6286 fi
   6287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6288 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6289 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6290 	CFLAGS="$xorg_testset_save_CFLAGS"
   6291 fi
   6292 
   6293 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6294 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6295 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6296 	fi
   6297 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6298 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6299 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6300 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6301 then :
   6302   printf %s "(cached) " >&6
   6303 else $as_nop
   6304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6305 /* end confdefs.h.  */
   6306 int i;
   6307 _ACEOF
   6308 if ac_fn_c_try_compile "$LINENO"
   6309 then :
   6310   xorg_cv_cc_flag_unused_command_line_argument=yes
   6311 else $as_nop
   6312   xorg_cv_cc_flag_unused_command_line_argument=no
   6313 fi
   6314 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6315 fi
   6316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6317 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6318 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6319 	CFLAGS="$xorg_testset_save_CFLAGS"
   6320 fi
   6321 
   6322 found="no"
   6323 
   6324 	if test $found = "no" ; then
   6325 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6326 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6327 		fi
   6328 
   6329 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6330 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6331 		fi
   6332 
   6333 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6334 
   6335 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6336 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6337 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6338 		if eval test \${$cacheid+y}
   6339 then :
   6340   printf %s "(cached) " >&6
   6341 else $as_nop
   6342   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6343 /* end confdefs.h.  */
   6344 int i;
   6345 int
   6346 main (void)
   6347 {
   6348 
   6349   ;
   6350   return 0;
   6351 }
   6352 _ACEOF
   6353 if ac_fn_c_try_link "$LINENO"
   6354 then :
   6355   eval $cacheid=yes
   6356 else $as_nop
   6357   eval $cacheid=no
   6358 fi
   6359 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6360     conftest$ac_exeext conftest.$ac_ext
   6361 fi
   6362 
   6363 
   6364 		CFLAGS="$xorg_testset_save_CFLAGS"
   6365 
   6366 		eval supported=\$$cacheid
   6367 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6368 printf "%s\n" "$supported" >&6; }
   6369 		if test "$supported" = "yes" ; then
   6370 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6371 			found="yes"
   6372 		fi
   6373 	fi
   6374 
   6375 
   6376 
   6377 
   6378 
   6379 # This chunk adds additional warnings that could catch undesired effects.
   6380 
   6381 
   6382 
   6383 
   6384 
   6385 
   6386 
   6387 
   6388 
   6389 
   6390 
   6391 
   6392 
   6393 xorg_testset_save_CFLAGS="$CFLAGS"
   6394 
   6395 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6396 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6397 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6398 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6399 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6400 then :
   6401   printf %s "(cached) " >&6
   6402 else $as_nop
   6403   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6404 /* end confdefs.h.  */
   6405 int i;
   6406 _ACEOF
   6407 if ac_fn_c_try_compile "$LINENO"
   6408 then :
   6409   xorg_cv_cc_flag_unknown_warning_option=yes
   6410 else $as_nop
   6411   xorg_cv_cc_flag_unknown_warning_option=no
   6412 fi
   6413 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6414 fi
   6415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6416 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6417 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6418 	CFLAGS="$xorg_testset_save_CFLAGS"
   6419 fi
   6420 
   6421 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6422 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6423 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6424 	fi
   6425 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6426 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6427 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6428 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6429 then :
   6430   printf %s "(cached) " >&6
   6431 else $as_nop
   6432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6433 /* end confdefs.h.  */
   6434 int i;
   6435 _ACEOF
   6436 if ac_fn_c_try_compile "$LINENO"
   6437 then :
   6438   xorg_cv_cc_flag_unused_command_line_argument=yes
   6439 else $as_nop
   6440   xorg_cv_cc_flag_unused_command_line_argument=no
   6441 fi
   6442 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6443 fi
   6444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6445 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6446 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6447 	CFLAGS="$xorg_testset_save_CFLAGS"
   6448 fi
   6449 
   6450 found="no"
   6451 
   6452 	if test $found = "no" ; then
   6453 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6454 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6455 		fi
   6456 
   6457 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6458 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6459 		fi
   6460 
   6461 		CFLAGS="$CFLAGS -Wunused"
   6462 
   6463 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6464 printf %s "checking if $CC supports -Wunused... " >&6; }
   6465 		cacheid=xorg_cv_cc_flag__Wunused
   6466 		if eval test \${$cacheid+y}
   6467 then :
   6468   printf %s "(cached) " >&6
   6469 else $as_nop
   6470   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6471 /* end confdefs.h.  */
   6472 int i;
   6473 int
   6474 main (void)
   6475 {
   6476 
   6477   ;
   6478   return 0;
   6479 }
   6480 _ACEOF
   6481 if ac_fn_c_try_link "$LINENO"
   6482 then :
   6483   eval $cacheid=yes
   6484 else $as_nop
   6485   eval $cacheid=no
   6486 fi
   6487 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6488     conftest$ac_exeext conftest.$ac_ext
   6489 fi
   6490 
   6491 
   6492 		CFLAGS="$xorg_testset_save_CFLAGS"
   6493 
   6494 		eval supported=\$$cacheid
   6495 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6496 printf "%s\n" "$supported" >&6; }
   6497 		if test "$supported" = "yes" ; then
   6498 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6499 			found="yes"
   6500 		fi
   6501 	fi
   6502 
   6503 
   6504 
   6505 
   6506 
   6507 
   6508 
   6509 
   6510 
   6511 
   6512 
   6513 
   6514 
   6515 
   6516 
   6517 xorg_testset_save_CFLAGS="$CFLAGS"
   6518 
   6519 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6520 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6521 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6522 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6523 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6524 then :
   6525   printf %s "(cached) " >&6
   6526 else $as_nop
   6527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6528 /* end confdefs.h.  */
   6529 int i;
   6530 _ACEOF
   6531 if ac_fn_c_try_compile "$LINENO"
   6532 then :
   6533   xorg_cv_cc_flag_unknown_warning_option=yes
   6534 else $as_nop
   6535   xorg_cv_cc_flag_unknown_warning_option=no
   6536 fi
   6537 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6538 fi
   6539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6540 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6541 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6542 	CFLAGS="$xorg_testset_save_CFLAGS"
   6543 fi
   6544 
   6545 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6546 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6547 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6548 	fi
   6549 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6550 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6551 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6552 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6553 then :
   6554   printf %s "(cached) " >&6
   6555 else $as_nop
   6556   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6557 /* end confdefs.h.  */
   6558 int i;
   6559 _ACEOF
   6560 if ac_fn_c_try_compile "$LINENO"
   6561 then :
   6562   xorg_cv_cc_flag_unused_command_line_argument=yes
   6563 else $as_nop
   6564   xorg_cv_cc_flag_unused_command_line_argument=no
   6565 fi
   6566 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6567 fi
   6568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6569 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6570 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6571 	CFLAGS="$xorg_testset_save_CFLAGS"
   6572 fi
   6573 
   6574 found="no"
   6575 
   6576 	if test $found = "no" ; then
   6577 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6578 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6579 		fi
   6580 
   6581 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6582 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6583 		fi
   6584 
   6585 		CFLAGS="$CFLAGS -Wuninitialized"
   6586 
   6587 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6588 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6589 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6590 		if eval test \${$cacheid+y}
   6591 then :
   6592   printf %s "(cached) " >&6
   6593 else $as_nop
   6594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6595 /* end confdefs.h.  */
   6596 int i;
   6597 int
   6598 main (void)
   6599 {
   6600 
   6601   ;
   6602   return 0;
   6603 }
   6604 _ACEOF
   6605 if ac_fn_c_try_link "$LINENO"
   6606 then :
   6607   eval $cacheid=yes
   6608 else $as_nop
   6609   eval $cacheid=no
   6610 fi
   6611 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6612     conftest$ac_exeext conftest.$ac_ext
   6613 fi
   6614 
   6615 
   6616 		CFLAGS="$xorg_testset_save_CFLAGS"
   6617 
   6618 		eval supported=\$$cacheid
   6619 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6620 printf "%s\n" "$supported" >&6; }
   6621 		if test "$supported" = "yes" ; then
   6622 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6623 			found="yes"
   6624 		fi
   6625 	fi
   6626 
   6627 
   6628 
   6629 
   6630 
   6631 
   6632 
   6633 
   6634 
   6635 
   6636 
   6637 
   6638 
   6639 
   6640 
   6641 xorg_testset_save_CFLAGS="$CFLAGS"
   6642 
   6643 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6644 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6645 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6646 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6647 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6648 then :
   6649   printf %s "(cached) " >&6
   6650 else $as_nop
   6651   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6652 /* end confdefs.h.  */
   6653 int i;
   6654 _ACEOF
   6655 if ac_fn_c_try_compile "$LINENO"
   6656 then :
   6657   xorg_cv_cc_flag_unknown_warning_option=yes
   6658 else $as_nop
   6659   xorg_cv_cc_flag_unknown_warning_option=no
   6660 fi
   6661 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6662 fi
   6663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6664 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6665 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6666 	CFLAGS="$xorg_testset_save_CFLAGS"
   6667 fi
   6668 
   6669 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6670 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6671 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6672 	fi
   6673 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6674 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6675 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6676 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6677 then :
   6678   printf %s "(cached) " >&6
   6679 else $as_nop
   6680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6681 /* end confdefs.h.  */
   6682 int i;
   6683 _ACEOF
   6684 if ac_fn_c_try_compile "$LINENO"
   6685 then :
   6686   xorg_cv_cc_flag_unused_command_line_argument=yes
   6687 else $as_nop
   6688   xorg_cv_cc_flag_unused_command_line_argument=no
   6689 fi
   6690 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6691 fi
   6692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6693 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6694 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6695 	CFLAGS="$xorg_testset_save_CFLAGS"
   6696 fi
   6697 
   6698 found="no"
   6699 
   6700 	if test $found = "no" ; then
   6701 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6702 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6703 		fi
   6704 
   6705 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6706 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6707 		fi
   6708 
   6709 		CFLAGS="$CFLAGS -Wshadow"
   6710 
   6711 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6712 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6713 		cacheid=xorg_cv_cc_flag__Wshadow
   6714 		if eval test \${$cacheid+y}
   6715 then :
   6716   printf %s "(cached) " >&6
   6717 else $as_nop
   6718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6719 /* end confdefs.h.  */
   6720 int i;
   6721 int
   6722 main (void)
   6723 {
   6724 
   6725   ;
   6726   return 0;
   6727 }
   6728 _ACEOF
   6729 if ac_fn_c_try_link "$LINENO"
   6730 then :
   6731   eval $cacheid=yes
   6732 else $as_nop
   6733   eval $cacheid=no
   6734 fi
   6735 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6736     conftest$ac_exeext conftest.$ac_ext
   6737 fi
   6738 
   6739 
   6740 		CFLAGS="$xorg_testset_save_CFLAGS"
   6741 
   6742 		eval supported=\$$cacheid
   6743 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6744 printf "%s\n" "$supported" >&6; }
   6745 		if test "$supported" = "yes" ; then
   6746 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6747 			found="yes"
   6748 		fi
   6749 	fi
   6750 
   6751 
   6752 
   6753 
   6754 
   6755 
   6756 
   6757 
   6758 
   6759 
   6760 
   6761 
   6762 
   6763 
   6764 
   6765 xorg_testset_save_CFLAGS="$CFLAGS"
   6766 
   6767 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6768 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6769 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6770 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6771 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6772 then :
   6773   printf %s "(cached) " >&6
   6774 else $as_nop
   6775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6776 /* end confdefs.h.  */
   6777 int i;
   6778 _ACEOF
   6779 if ac_fn_c_try_compile "$LINENO"
   6780 then :
   6781   xorg_cv_cc_flag_unknown_warning_option=yes
   6782 else $as_nop
   6783   xorg_cv_cc_flag_unknown_warning_option=no
   6784 fi
   6785 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6786 fi
   6787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6788 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6789 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6790 	CFLAGS="$xorg_testset_save_CFLAGS"
   6791 fi
   6792 
   6793 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6794 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6795 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6796 	fi
   6797 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6798 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6799 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6800 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6801 then :
   6802   printf %s "(cached) " >&6
   6803 else $as_nop
   6804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6805 /* end confdefs.h.  */
   6806 int i;
   6807 _ACEOF
   6808 if ac_fn_c_try_compile "$LINENO"
   6809 then :
   6810   xorg_cv_cc_flag_unused_command_line_argument=yes
   6811 else $as_nop
   6812   xorg_cv_cc_flag_unused_command_line_argument=no
   6813 fi
   6814 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6815 fi
   6816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6817 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6818 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6819 	CFLAGS="$xorg_testset_save_CFLAGS"
   6820 fi
   6821 
   6822 found="no"
   6823 
   6824 	if test $found = "no" ; then
   6825 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6826 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6827 		fi
   6828 
   6829 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6830 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6831 		fi
   6832 
   6833 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6834 
   6835 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6836 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6837 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6838 		if eval test \${$cacheid+y}
   6839 then :
   6840   printf %s "(cached) " >&6
   6841 else $as_nop
   6842   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6843 /* end confdefs.h.  */
   6844 int i;
   6845 int
   6846 main (void)
   6847 {
   6848 
   6849   ;
   6850   return 0;
   6851 }
   6852 _ACEOF
   6853 if ac_fn_c_try_link "$LINENO"
   6854 then :
   6855   eval $cacheid=yes
   6856 else $as_nop
   6857   eval $cacheid=no
   6858 fi
   6859 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6860     conftest$ac_exeext conftest.$ac_ext
   6861 fi
   6862 
   6863 
   6864 		CFLAGS="$xorg_testset_save_CFLAGS"
   6865 
   6866 		eval supported=\$$cacheid
   6867 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6868 printf "%s\n" "$supported" >&6; }
   6869 		if test "$supported" = "yes" ; then
   6870 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6871 			found="yes"
   6872 		fi
   6873 	fi
   6874 
   6875 
   6876 
   6877 
   6878 
   6879 
   6880 
   6881 
   6882 
   6883 
   6884 
   6885 
   6886 
   6887 
   6888 
   6889 xorg_testset_save_CFLAGS="$CFLAGS"
   6890 
   6891 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6892 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6893 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6894 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6895 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6896 then :
   6897   printf %s "(cached) " >&6
   6898 else $as_nop
   6899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6900 /* end confdefs.h.  */
   6901 int i;
   6902 _ACEOF
   6903 if ac_fn_c_try_compile "$LINENO"
   6904 then :
   6905   xorg_cv_cc_flag_unknown_warning_option=yes
   6906 else $as_nop
   6907   xorg_cv_cc_flag_unknown_warning_option=no
   6908 fi
   6909 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6910 fi
   6911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6912 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6913 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6914 	CFLAGS="$xorg_testset_save_CFLAGS"
   6915 fi
   6916 
   6917 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6918 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6919 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6920 	fi
   6921 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6922 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6923 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6924 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6925 then :
   6926   printf %s "(cached) " >&6
   6927 else $as_nop
   6928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6929 /* end confdefs.h.  */
   6930 int i;
   6931 _ACEOF
   6932 if ac_fn_c_try_compile "$LINENO"
   6933 then :
   6934   xorg_cv_cc_flag_unused_command_line_argument=yes
   6935 else $as_nop
   6936   xorg_cv_cc_flag_unused_command_line_argument=no
   6937 fi
   6938 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6939 fi
   6940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6941 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6942 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6943 	CFLAGS="$xorg_testset_save_CFLAGS"
   6944 fi
   6945 
   6946 found="no"
   6947 
   6948 	if test $found = "no" ; then
   6949 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6950 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6951 		fi
   6952 
   6953 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6954 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6955 		fi
   6956 
   6957 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6958 
   6959 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6960 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6961 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6962 		if eval test \${$cacheid+y}
   6963 then :
   6964   printf %s "(cached) " >&6
   6965 else $as_nop
   6966   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6967 /* end confdefs.h.  */
   6968 int i;
   6969 int
   6970 main (void)
   6971 {
   6972 
   6973   ;
   6974   return 0;
   6975 }
   6976 _ACEOF
   6977 if ac_fn_c_try_link "$LINENO"
   6978 then :
   6979   eval $cacheid=yes
   6980 else $as_nop
   6981   eval $cacheid=no
   6982 fi
   6983 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6984     conftest$ac_exeext conftest.$ac_ext
   6985 fi
   6986 
   6987 
   6988 		CFLAGS="$xorg_testset_save_CFLAGS"
   6989 
   6990 		eval supported=\$$cacheid
   6991 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6992 printf "%s\n" "$supported" >&6; }
   6993 		if test "$supported" = "yes" ; then
   6994 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6995 			found="yes"
   6996 		fi
   6997 	fi
   6998 
   6999 
   7000 
   7001 
   7002 
   7003 
   7004 
   7005 
   7006 
   7007 
   7008 
   7009 
   7010 
   7011 
   7012 
   7013 xorg_testset_save_CFLAGS="$CFLAGS"
   7014 
   7015 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7016 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7017 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7018 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7019 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7020 then :
   7021   printf %s "(cached) " >&6
   7022 else $as_nop
   7023   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7024 /* end confdefs.h.  */
   7025 int i;
   7026 _ACEOF
   7027 if ac_fn_c_try_compile "$LINENO"
   7028 then :
   7029   xorg_cv_cc_flag_unknown_warning_option=yes
   7030 else $as_nop
   7031   xorg_cv_cc_flag_unknown_warning_option=no
   7032 fi
   7033 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7034 fi
   7035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7036 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7037 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7038 	CFLAGS="$xorg_testset_save_CFLAGS"
   7039 fi
   7040 
   7041 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7042 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7043 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7044 	fi
   7045 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7046 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7047 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7048 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7049 then :
   7050   printf %s "(cached) " >&6
   7051 else $as_nop
   7052   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7053 /* end confdefs.h.  */
   7054 int i;
   7055 _ACEOF
   7056 if ac_fn_c_try_compile "$LINENO"
   7057 then :
   7058   xorg_cv_cc_flag_unused_command_line_argument=yes
   7059 else $as_nop
   7060   xorg_cv_cc_flag_unused_command_line_argument=no
   7061 fi
   7062 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7063 fi
   7064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7065 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7066 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7067 	CFLAGS="$xorg_testset_save_CFLAGS"
   7068 fi
   7069 
   7070 found="no"
   7071 
   7072 	if test $found = "no" ; then
   7073 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7074 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7075 		fi
   7076 
   7077 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7078 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7079 		fi
   7080 
   7081 		CFLAGS="$CFLAGS -Wredundant-decls"
   7082 
   7083 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7084 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7085 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7086 		if eval test \${$cacheid+y}
   7087 then :
   7088   printf %s "(cached) " >&6
   7089 else $as_nop
   7090   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7091 /* end confdefs.h.  */
   7092 int i;
   7093 int
   7094 main (void)
   7095 {
   7096 
   7097   ;
   7098   return 0;
   7099 }
   7100 _ACEOF
   7101 if ac_fn_c_try_link "$LINENO"
   7102 then :
   7103   eval $cacheid=yes
   7104 else $as_nop
   7105   eval $cacheid=no
   7106 fi
   7107 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7108     conftest$ac_exeext conftest.$ac_ext
   7109 fi
   7110 
   7111 
   7112 		CFLAGS="$xorg_testset_save_CFLAGS"
   7113 
   7114 		eval supported=\$$cacheid
   7115 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7116 printf "%s\n" "$supported" >&6; }
   7117 		if test "$supported" = "yes" ; then
   7118 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7119 			found="yes"
   7120 		fi
   7121 	fi
   7122 
   7123 
   7124 
   7125 
   7126 
   7127 
   7128 
   7129 
   7130 
   7131 
   7132 
   7133 
   7134 
   7135 
   7136 
   7137 xorg_testset_save_CFLAGS="$CFLAGS"
   7138 
   7139 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7140 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7141 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7142 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7143 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7144 then :
   7145   printf %s "(cached) " >&6
   7146 else $as_nop
   7147   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7148 /* end confdefs.h.  */
   7149 int i;
   7150 _ACEOF
   7151 if ac_fn_c_try_compile "$LINENO"
   7152 then :
   7153   xorg_cv_cc_flag_unknown_warning_option=yes
   7154 else $as_nop
   7155   xorg_cv_cc_flag_unknown_warning_option=no
   7156 fi
   7157 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7158 fi
   7159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7160 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7161 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7162 	CFLAGS="$xorg_testset_save_CFLAGS"
   7163 fi
   7164 
   7165 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7166 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7167 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7168 	fi
   7169 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7170 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7171 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7172 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7173 then :
   7174   printf %s "(cached) " >&6
   7175 else $as_nop
   7176   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7177 /* end confdefs.h.  */
   7178 int i;
   7179 _ACEOF
   7180 if ac_fn_c_try_compile "$LINENO"
   7181 then :
   7182   xorg_cv_cc_flag_unused_command_line_argument=yes
   7183 else $as_nop
   7184   xorg_cv_cc_flag_unused_command_line_argument=no
   7185 fi
   7186 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7187 fi
   7188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7189 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7190 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7191 	CFLAGS="$xorg_testset_save_CFLAGS"
   7192 fi
   7193 
   7194 found="no"
   7195 
   7196 	if test $found = "no" ; then
   7197 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7198 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7199 		fi
   7200 
   7201 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7202 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7203 		fi
   7204 
   7205 		CFLAGS="$CFLAGS -Wlogical-op"
   7206 
   7207 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7208 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7209 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7210 		if eval test \${$cacheid+y}
   7211 then :
   7212   printf %s "(cached) " >&6
   7213 else $as_nop
   7214   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7215 /* end confdefs.h.  */
   7216 int i;
   7217 int
   7218 main (void)
   7219 {
   7220 
   7221   ;
   7222   return 0;
   7223 }
   7224 _ACEOF
   7225 if ac_fn_c_try_link "$LINENO"
   7226 then :
   7227   eval $cacheid=yes
   7228 else $as_nop
   7229   eval $cacheid=no
   7230 fi
   7231 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7232     conftest$ac_exeext conftest.$ac_ext
   7233 fi
   7234 
   7235 
   7236 		CFLAGS="$xorg_testset_save_CFLAGS"
   7237 
   7238 		eval supported=\$$cacheid
   7239 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7240 printf "%s\n" "$supported" >&6; }
   7241 		if test "$supported" = "yes" ; then
   7242 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7243 			found="yes"
   7244 		fi
   7245 	fi
   7246 
   7247 
   7248 
   7249 # These are currently disabled because they are noisy.  They will be enabled
   7250 # in the future once the codebase is sufficiently modernized to silence
   7251 # them.  For now, I don't want them to drown out the other warnings.
   7252 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7253 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7254 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7255 
   7256 # Turn some warnings into errors, so we don't accidently get successful builds
   7257 # when there are problems that should be fixed.
   7258 
   7259 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7260 
   7261 
   7262 
   7263 
   7264 
   7265 
   7266 
   7267 
   7268 
   7269 
   7270 
   7271 
   7272 
   7273 xorg_testset_save_CFLAGS="$CFLAGS"
   7274 
   7275 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7276 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7277 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7278 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7279 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7280 then :
   7281   printf %s "(cached) " >&6
   7282 else $as_nop
   7283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7284 /* end confdefs.h.  */
   7285 int i;
   7286 _ACEOF
   7287 if ac_fn_c_try_compile "$LINENO"
   7288 then :
   7289   xorg_cv_cc_flag_unknown_warning_option=yes
   7290 else $as_nop
   7291   xorg_cv_cc_flag_unknown_warning_option=no
   7292 fi
   7293 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7294 fi
   7295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7296 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7297 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7298 	CFLAGS="$xorg_testset_save_CFLAGS"
   7299 fi
   7300 
   7301 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7302 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7303 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7304 	fi
   7305 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7306 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7307 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7308 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7309 then :
   7310   printf %s "(cached) " >&6
   7311 else $as_nop
   7312   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7313 /* end confdefs.h.  */
   7314 int i;
   7315 _ACEOF
   7316 if ac_fn_c_try_compile "$LINENO"
   7317 then :
   7318   xorg_cv_cc_flag_unused_command_line_argument=yes
   7319 else $as_nop
   7320   xorg_cv_cc_flag_unused_command_line_argument=no
   7321 fi
   7322 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7323 fi
   7324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7325 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7326 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7327 	CFLAGS="$xorg_testset_save_CFLAGS"
   7328 fi
   7329 
   7330 found="no"
   7331 
   7332 	if test $found = "no" ; then
   7333 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7334 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7335 		fi
   7336 
   7337 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7338 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7339 		fi
   7340 
   7341 		CFLAGS="$CFLAGS -Werror=implicit"
   7342 
   7343 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7344 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7345 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7346 		if eval test \${$cacheid+y}
   7347 then :
   7348   printf %s "(cached) " >&6
   7349 else $as_nop
   7350   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7351 /* end confdefs.h.  */
   7352 int i;
   7353 int
   7354 main (void)
   7355 {
   7356 
   7357   ;
   7358   return 0;
   7359 }
   7360 _ACEOF
   7361 if ac_fn_c_try_link "$LINENO"
   7362 then :
   7363   eval $cacheid=yes
   7364 else $as_nop
   7365   eval $cacheid=no
   7366 fi
   7367 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7368     conftest$ac_exeext conftest.$ac_ext
   7369 fi
   7370 
   7371 
   7372 		CFLAGS="$xorg_testset_save_CFLAGS"
   7373 
   7374 		eval supported=\$$cacheid
   7375 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7376 printf "%s\n" "$supported" >&6; }
   7377 		if test "$supported" = "yes" ; then
   7378 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7379 			found="yes"
   7380 		fi
   7381 	fi
   7382 
   7383 	if test $found = "no" ; then
   7384 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7385 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7386 		fi
   7387 
   7388 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7389 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7390 		fi
   7391 
   7392 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7393 
   7394 		{ 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
   7395 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7396 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7397 		if eval test \${$cacheid+y}
   7398 then :
   7399   printf %s "(cached) " >&6
   7400 else $as_nop
   7401   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7402 /* end confdefs.h.  */
   7403 int i;
   7404 int
   7405 main (void)
   7406 {
   7407 
   7408   ;
   7409   return 0;
   7410 }
   7411 _ACEOF
   7412 if ac_fn_c_try_link "$LINENO"
   7413 then :
   7414   eval $cacheid=yes
   7415 else $as_nop
   7416   eval $cacheid=no
   7417 fi
   7418 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7419     conftest$ac_exeext conftest.$ac_ext
   7420 fi
   7421 
   7422 
   7423 		CFLAGS="$xorg_testset_save_CFLAGS"
   7424 
   7425 		eval supported=\$$cacheid
   7426 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7427 printf "%s\n" "$supported" >&6; }
   7428 		if test "$supported" = "yes" ; then
   7429 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7430 			found="yes"
   7431 		fi
   7432 	fi
   7433 
   7434 
   7435 
   7436 
   7437 
   7438 
   7439 
   7440 
   7441 
   7442 
   7443 
   7444 
   7445 
   7446 
   7447 
   7448 xorg_testset_save_CFLAGS="$CFLAGS"
   7449 
   7450 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7451 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7452 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7453 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7454 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7455 then :
   7456   printf %s "(cached) " >&6
   7457 else $as_nop
   7458   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7459 /* end confdefs.h.  */
   7460 int i;
   7461 _ACEOF
   7462 if ac_fn_c_try_compile "$LINENO"
   7463 then :
   7464   xorg_cv_cc_flag_unknown_warning_option=yes
   7465 else $as_nop
   7466   xorg_cv_cc_flag_unknown_warning_option=no
   7467 fi
   7468 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7469 fi
   7470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7471 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7472 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7473 	CFLAGS="$xorg_testset_save_CFLAGS"
   7474 fi
   7475 
   7476 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7477 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7478 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7479 	fi
   7480 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7481 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7482 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7483 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7484 then :
   7485   printf %s "(cached) " >&6
   7486 else $as_nop
   7487   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7488 /* end confdefs.h.  */
   7489 int i;
   7490 _ACEOF
   7491 if ac_fn_c_try_compile "$LINENO"
   7492 then :
   7493   xorg_cv_cc_flag_unused_command_line_argument=yes
   7494 else $as_nop
   7495   xorg_cv_cc_flag_unused_command_line_argument=no
   7496 fi
   7497 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7498 fi
   7499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7500 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7501 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7502 	CFLAGS="$xorg_testset_save_CFLAGS"
   7503 fi
   7504 
   7505 found="no"
   7506 
   7507 	if test $found = "no" ; then
   7508 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7509 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7510 		fi
   7511 
   7512 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7513 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7514 		fi
   7515 
   7516 		CFLAGS="$CFLAGS -Werror=nonnull"
   7517 
   7518 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7519 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7520 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7521 		if eval test \${$cacheid+y}
   7522 then :
   7523   printf %s "(cached) " >&6
   7524 else $as_nop
   7525   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7526 /* end confdefs.h.  */
   7527 int i;
   7528 int
   7529 main (void)
   7530 {
   7531 
   7532   ;
   7533   return 0;
   7534 }
   7535 _ACEOF
   7536 if ac_fn_c_try_link "$LINENO"
   7537 then :
   7538   eval $cacheid=yes
   7539 else $as_nop
   7540   eval $cacheid=no
   7541 fi
   7542 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7543     conftest$ac_exeext conftest.$ac_ext
   7544 fi
   7545 
   7546 
   7547 		CFLAGS="$xorg_testset_save_CFLAGS"
   7548 
   7549 		eval supported=\$$cacheid
   7550 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7551 printf "%s\n" "$supported" >&6; }
   7552 		if test "$supported" = "yes" ; then
   7553 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7554 			found="yes"
   7555 		fi
   7556 	fi
   7557 
   7558 
   7559 
   7560 
   7561 
   7562 
   7563 
   7564 
   7565 
   7566 
   7567 
   7568 
   7569 
   7570 
   7571 
   7572 xorg_testset_save_CFLAGS="$CFLAGS"
   7573 
   7574 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7575 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7576 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7577 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7578 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7579 then :
   7580   printf %s "(cached) " >&6
   7581 else $as_nop
   7582   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7583 /* end confdefs.h.  */
   7584 int i;
   7585 _ACEOF
   7586 if ac_fn_c_try_compile "$LINENO"
   7587 then :
   7588   xorg_cv_cc_flag_unknown_warning_option=yes
   7589 else $as_nop
   7590   xorg_cv_cc_flag_unknown_warning_option=no
   7591 fi
   7592 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7593 fi
   7594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7595 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7596 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7597 	CFLAGS="$xorg_testset_save_CFLAGS"
   7598 fi
   7599 
   7600 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7601 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7602 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7603 	fi
   7604 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7605 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7606 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7607 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7608 then :
   7609   printf %s "(cached) " >&6
   7610 else $as_nop
   7611   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7612 /* end confdefs.h.  */
   7613 int i;
   7614 _ACEOF
   7615 if ac_fn_c_try_compile "$LINENO"
   7616 then :
   7617   xorg_cv_cc_flag_unused_command_line_argument=yes
   7618 else $as_nop
   7619   xorg_cv_cc_flag_unused_command_line_argument=no
   7620 fi
   7621 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7622 fi
   7623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7624 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7625 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7626 	CFLAGS="$xorg_testset_save_CFLAGS"
   7627 fi
   7628 
   7629 found="no"
   7630 
   7631 	if test $found = "no" ; then
   7632 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7633 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7634 		fi
   7635 
   7636 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7637 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7638 		fi
   7639 
   7640 		CFLAGS="$CFLAGS -Werror=init-self"
   7641 
   7642 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7643 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7644 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7645 		if eval test \${$cacheid+y}
   7646 then :
   7647   printf %s "(cached) " >&6
   7648 else $as_nop
   7649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7650 /* end confdefs.h.  */
   7651 int i;
   7652 int
   7653 main (void)
   7654 {
   7655 
   7656   ;
   7657   return 0;
   7658 }
   7659 _ACEOF
   7660 if ac_fn_c_try_link "$LINENO"
   7661 then :
   7662   eval $cacheid=yes
   7663 else $as_nop
   7664   eval $cacheid=no
   7665 fi
   7666 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7667     conftest$ac_exeext conftest.$ac_ext
   7668 fi
   7669 
   7670 
   7671 		CFLAGS="$xorg_testset_save_CFLAGS"
   7672 
   7673 		eval supported=\$$cacheid
   7674 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7675 printf "%s\n" "$supported" >&6; }
   7676 		if test "$supported" = "yes" ; then
   7677 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7678 			found="yes"
   7679 		fi
   7680 	fi
   7681 
   7682 
   7683 
   7684 
   7685 
   7686 
   7687 
   7688 
   7689 
   7690 
   7691 
   7692 
   7693 
   7694 
   7695 
   7696 xorg_testset_save_CFLAGS="$CFLAGS"
   7697 
   7698 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7699 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7700 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7701 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7702 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7703 then :
   7704   printf %s "(cached) " >&6
   7705 else $as_nop
   7706   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7707 /* end confdefs.h.  */
   7708 int i;
   7709 _ACEOF
   7710 if ac_fn_c_try_compile "$LINENO"
   7711 then :
   7712   xorg_cv_cc_flag_unknown_warning_option=yes
   7713 else $as_nop
   7714   xorg_cv_cc_flag_unknown_warning_option=no
   7715 fi
   7716 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7717 fi
   7718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7719 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7720 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7721 	CFLAGS="$xorg_testset_save_CFLAGS"
   7722 fi
   7723 
   7724 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7725 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7726 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7727 	fi
   7728 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7729 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7730 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7731 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7732 then :
   7733   printf %s "(cached) " >&6
   7734 else $as_nop
   7735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7736 /* end confdefs.h.  */
   7737 int i;
   7738 _ACEOF
   7739 if ac_fn_c_try_compile "$LINENO"
   7740 then :
   7741   xorg_cv_cc_flag_unused_command_line_argument=yes
   7742 else $as_nop
   7743   xorg_cv_cc_flag_unused_command_line_argument=no
   7744 fi
   7745 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7746 fi
   7747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7748 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7749 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7750 	CFLAGS="$xorg_testset_save_CFLAGS"
   7751 fi
   7752 
   7753 found="no"
   7754 
   7755 	if test $found = "no" ; then
   7756 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7757 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7758 		fi
   7759 
   7760 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7761 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7762 		fi
   7763 
   7764 		CFLAGS="$CFLAGS -Werror=main"
   7765 
   7766 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7767 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7768 		cacheid=xorg_cv_cc_flag__Werror_main
   7769 		if eval test \${$cacheid+y}
   7770 then :
   7771   printf %s "(cached) " >&6
   7772 else $as_nop
   7773   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7774 /* end confdefs.h.  */
   7775 int i;
   7776 int
   7777 main (void)
   7778 {
   7779 
   7780   ;
   7781   return 0;
   7782 }
   7783 _ACEOF
   7784 if ac_fn_c_try_link "$LINENO"
   7785 then :
   7786   eval $cacheid=yes
   7787 else $as_nop
   7788   eval $cacheid=no
   7789 fi
   7790 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7791     conftest$ac_exeext conftest.$ac_ext
   7792 fi
   7793 
   7794 
   7795 		CFLAGS="$xorg_testset_save_CFLAGS"
   7796 
   7797 		eval supported=\$$cacheid
   7798 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7799 printf "%s\n" "$supported" >&6; }
   7800 		if test "$supported" = "yes" ; then
   7801 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7802 			found="yes"
   7803 		fi
   7804 	fi
   7805 
   7806 
   7807 
   7808 
   7809 
   7810 
   7811 
   7812 
   7813 
   7814 
   7815 
   7816 
   7817 
   7818 
   7819 
   7820 xorg_testset_save_CFLAGS="$CFLAGS"
   7821 
   7822 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7823 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7824 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7825 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7826 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7827 then :
   7828   printf %s "(cached) " >&6
   7829 else $as_nop
   7830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7831 /* end confdefs.h.  */
   7832 int i;
   7833 _ACEOF
   7834 if ac_fn_c_try_compile "$LINENO"
   7835 then :
   7836   xorg_cv_cc_flag_unknown_warning_option=yes
   7837 else $as_nop
   7838   xorg_cv_cc_flag_unknown_warning_option=no
   7839 fi
   7840 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7841 fi
   7842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7843 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7844 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7845 	CFLAGS="$xorg_testset_save_CFLAGS"
   7846 fi
   7847 
   7848 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7849 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7850 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7851 	fi
   7852 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7853 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7854 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7855 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7856 then :
   7857   printf %s "(cached) " >&6
   7858 else $as_nop
   7859   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7860 /* end confdefs.h.  */
   7861 int i;
   7862 _ACEOF
   7863 if ac_fn_c_try_compile "$LINENO"
   7864 then :
   7865   xorg_cv_cc_flag_unused_command_line_argument=yes
   7866 else $as_nop
   7867   xorg_cv_cc_flag_unused_command_line_argument=no
   7868 fi
   7869 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7870 fi
   7871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7872 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7873 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7874 	CFLAGS="$xorg_testset_save_CFLAGS"
   7875 fi
   7876 
   7877 found="no"
   7878 
   7879 	if test $found = "no" ; then
   7880 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7881 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7882 		fi
   7883 
   7884 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7885 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7886 		fi
   7887 
   7888 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7889 
   7890 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7891 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   7892 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7893 		if eval test \${$cacheid+y}
   7894 then :
   7895   printf %s "(cached) " >&6
   7896 else $as_nop
   7897   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7898 /* end confdefs.h.  */
   7899 int i;
   7900 int
   7901 main (void)
   7902 {
   7903 
   7904   ;
   7905   return 0;
   7906 }
   7907 _ACEOF
   7908 if ac_fn_c_try_link "$LINENO"
   7909 then :
   7910   eval $cacheid=yes
   7911 else $as_nop
   7912   eval $cacheid=no
   7913 fi
   7914 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7915     conftest$ac_exeext conftest.$ac_ext
   7916 fi
   7917 
   7918 
   7919 		CFLAGS="$xorg_testset_save_CFLAGS"
   7920 
   7921 		eval supported=\$$cacheid
   7922 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7923 printf "%s\n" "$supported" >&6; }
   7924 		if test "$supported" = "yes" ; then
   7925 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7926 			found="yes"
   7927 		fi
   7928 	fi
   7929 
   7930 
   7931 
   7932 
   7933 
   7934 
   7935 
   7936 
   7937 
   7938 
   7939 
   7940 
   7941 
   7942 
   7943 
   7944 xorg_testset_save_CFLAGS="$CFLAGS"
   7945 
   7946 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7947 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7948 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7949 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7950 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7951 then :
   7952   printf %s "(cached) " >&6
   7953 else $as_nop
   7954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7955 /* end confdefs.h.  */
   7956 int i;
   7957 _ACEOF
   7958 if ac_fn_c_try_compile "$LINENO"
   7959 then :
   7960   xorg_cv_cc_flag_unknown_warning_option=yes
   7961 else $as_nop
   7962   xorg_cv_cc_flag_unknown_warning_option=no
   7963 fi
   7964 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7965 fi
   7966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7967 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7968 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7969 	CFLAGS="$xorg_testset_save_CFLAGS"
   7970 fi
   7971 
   7972 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7973 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7974 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7975 	fi
   7976 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7977 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7978 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7979 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7980 then :
   7981   printf %s "(cached) " >&6
   7982 else $as_nop
   7983   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7984 /* end confdefs.h.  */
   7985 int i;
   7986 _ACEOF
   7987 if ac_fn_c_try_compile "$LINENO"
   7988 then :
   7989   xorg_cv_cc_flag_unused_command_line_argument=yes
   7990 else $as_nop
   7991   xorg_cv_cc_flag_unused_command_line_argument=no
   7992 fi
   7993 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7994 fi
   7995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7996 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7997 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7998 	CFLAGS="$xorg_testset_save_CFLAGS"
   7999 fi
   8000 
   8001 found="no"
   8002 
   8003 	if test $found = "no" ; then
   8004 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8005 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8006 		fi
   8007 
   8008 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8009 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8010 		fi
   8011 
   8012 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8013 
   8014 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8015 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   8016 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8017 		if eval test \${$cacheid+y}
   8018 then :
   8019   printf %s "(cached) " >&6
   8020 else $as_nop
   8021   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8022 /* end confdefs.h.  */
   8023 int i;
   8024 int
   8025 main (void)
   8026 {
   8027 
   8028   ;
   8029   return 0;
   8030 }
   8031 _ACEOF
   8032 if ac_fn_c_try_link "$LINENO"
   8033 then :
   8034   eval $cacheid=yes
   8035 else $as_nop
   8036   eval $cacheid=no
   8037 fi
   8038 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8039     conftest$ac_exeext conftest.$ac_ext
   8040 fi
   8041 
   8042 
   8043 		CFLAGS="$xorg_testset_save_CFLAGS"
   8044 
   8045 		eval supported=\$$cacheid
   8046 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8047 printf "%s\n" "$supported" >&6; }
   8048 		if test "$supported" = "yes" ; then
   8049 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8050 			found="yes"
   8051 		fi
   8052 	fi
   8053 
   8054 
   8055 
   8056 
   8057 
   8058 
   8059 
   8060 
   8061 
   8062 
   8063 
   8064 
   8065 
   8066 
   8067 
   8068 xorg_testset_save_CFLAGS="$CFLAGS"
   8069 
   8070 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8071 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8072 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8073 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8074 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8075 then :
   8076   printf %s "(cached) " >&6
   8077 else $as_nop
   8078   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8079 /* end confdefs.h.  */
   8080 int i;
   8081 _ACEOF
   8082 if ac_fn_c_try_compile "$LINENO"
   8083 then :
   8084   xorg_cv_cc_flag_unknown_warning_option=yes
   8085 else $as_nop
   8086   xorg_cv_cc_flag_unknown_warning_option=no
   8087 fi
   8088 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8089 fi
   8090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8091 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8092 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8093 	CFLAGS="$xorg_testset_save_CFLAGS"
   8094 fi
   8095 
   8096 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8097 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8098 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8099 	fi
   8100 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8101 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8102 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8103 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8104 then :
   8105   printf %s "(cached) " >&6
   8106 else $as_nop
   8107   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8108 /* end confdefs.h.  */
   8109 int i;
   8110 _ACEOF
   8111 if ac_fn_c_try_compile "$LINENO"
   8112 then :
   8113   xorg_cv_cc_flag_unused_command_line_argument=yes
   8114 else $as_nop
   8115   xorg_cv_cc_flag_unused_command_line_argument=no
   8116 fi
   8117 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8118 fi
   8119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8120 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8121 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8122 	CFLAGS="$xorg_testset_save_CFLAGS"
   8123 fi
   8124 
   8125 found="no"
   8126 
   8127 	if test $found = "no" ; then
   8128 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8129 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8130 		fi
   8131 
   8132 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8133 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8134 		fi
   8135 
   8136 		CFLAGS="$CFLAGS -Werror=return-type"
   8137 
   8138 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8139 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8140 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8141 		if eval test \${$cacheid+y}
   8142 then :
   8143   printf %s "(cached) " >&6
   8144 else $as_nop
   8145   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8146 /* end confdefs.h.  */
   8147 int i;
   8148 int
   8149 main (void)
   8150 {
   8151 
   8152   ;
   8153   return 0;
   8154 }
   8155 _ACEOF
   8156 if ac_fn_c_try_link "$LINENO"
   8157 then :
   8158   eval $cacheid=yes
   8159 else $as_nop
   8160   eval $cacheid=no
   8161 fi
   8162 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8163     conftest$ac_exeext conftest.$ac_ext
   8164 fi
   8165 
   8166 
   8167 		CFLAGS="$xorg_testset_save_CFLAGS"
   8168 
   8169 		eval supported=\$$cacheid
   8170 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8171 printf "%s\n" "$supported" >&6; }
   8172 		if test "$supported" = "yes" ; then
   8173 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8174 			found="yes"
   8175 		fi
   8176 	fi
   8177 
   8178 	if test $found = "no" ; then
   8179 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8180 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8181 		fi
   8182 
   8183 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8184 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8185 		fi
   8186 
   8187 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8188 
   8189 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8190 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8191 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8192 		if eval test \${$cacheid+y}
   8193 then :
   8194   printf %s "(cached) " >&6
   8195 else $as_nop
   8196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8197 /* end confdefs.h.  */
   8198 int i;
   8199 int
   8200 main (void)
   8201 {
   8202 
   8203   ;
   8204   return 0;
   8205 }
   8206 _ACEOF
   8207 if ac_fn_c_try_link "$LINENO"
   8208 then :
   8209   eval $cacheid=yes
   8210 else $as_nop
   8211   eval $cacheid=no
   8212 fi
   8213 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8214     conftest$ac_exeext conftest.$ac_ext
   8215 fi
   8216 
   8217 
   8218 		CFLAGS="$xorg_testset_save_CFLAGS"
   8219 
   8220 		eval supported=\$$cacheid
   8221 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8222 printf "%s\n" "$supported" >&6; }
   8223 		if test "$supported" = "yes" ; then
   8224 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8225 			found="yes"
   8226 		fi
   8227 	fi
   8228 
   8229 
   8230 
   8231 
   8232 
   8233 
   8234 
   8235 
   8236 
   8237 
   8238 
   8239 
   8240 
   8241 
   8242 
   8243 xorg_testset_save_CFLAGS="$CFLAGS"
   8244 
   8245 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8246 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8247 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8248 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8249 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8250 then :
   8251   printf %s "(cached) " >&6
   8252 else $as_nop
   8253   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8254 /* end confdefs.h.  */
   8255 int i;
   8256 _ACEOF
   8257 if ac_fn_c_try_compile "$LINENO"
   8258 then :
   8259   xorg_cv_cc_flag_unknown_warning_option=yes
   8260 else $as_nop
   8261   xorg_cv_cc_flag_unknown_warning_option=no
   8262 fi
   8263 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8264 fi
   8265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8266 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8267 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8268 	CFLAGS="$xorg_testset_save_CFLAGS"
   8269 fi
   8270 
   8271 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8272 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8273 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8274 	fi
   8275 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8276 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8277 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8278 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8279 then :
   8280   printf %s "(cached) " >&6
   8281 else $as_nop
   8282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8283 /* end confdefs.h.  */
   8284 int i;
   8285 _ACEOF
   8286 if ac_fn_c_try_compile "$LINENO"
   8287 then :
   8288   xorg_cv_cc_flag_unused_command_line_argument=yes
   8289 else $as_nop
   8290   xorg_cv_cc_flag_unused_command_line_argument=no
   8291 fi
   8292 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8293 fi
   8294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8295 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8296 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8297 	CFLAGS="$xorg_testset_save_CFLAGS"
   8298 fi
   8299 
   8300 found="no"
   8301 
   8302 	if test $found = "no" ; then
   8303 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8304 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8305 		fi
   8306 
   8307 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8308 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8309 		fi
   8310 
   8311 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8312 
   8313 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8314 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8315 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8316 		if eval test \${$cacheid+y}
   8317 then :
   8318   printf %s "(cached) " >&6
   8319 else $as_nop
   8320   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8321 /* end confdefs.h.  */
   8322 int i;
   8323 int
   8324 main (void)
   8325 {
   8326 
   8327   ;
   8328   return 0;
   8329 }
   8330 _ACEOF
   8331 if ac_fn_c_try_link "$LINENO"
   8332 then :
   8333   eval $cacheid=yes
   8334 else $as_nop
   8335   eval $cacheid=no
   8336 fi
   8337 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8338     conftest$ac_exeext conftest.$ac_ext
   8339 fi
   8340 
   8341 
   8342 		CFLAGS="$xorg_testset_save_CFLAGS"
   8343 
   8344 		eval supported=\$$cacheid
   8345 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8346 printf "%s\n" "$supported" >&6; }
   8347 		if test "$supported" = "yes" ; then
   8348 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8349 			found="yes"
   8350 		fi
   8351 	fi
   8352 
   8353 
   8354 
   8355 
   8356 
   8357 
   8358 
   8359 
   8360 
   8361 
   8362 
   8363 
   8364 
   8365 
   8366 
   8367 xorg_testset_save_CFLAGS="$CFLAGS"
   8368 
   8369 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8370 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8371 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8372 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8373 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8374 then :
   8375   printf %s "(cached) " >&6
   8376 else $as_nop
   8377   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8378 /* end confdefs.h.  */
   8379 int i;
   8380 _ACEOF
   8381 if ac_fn_c_try_compile "$LINENO"
   8382 then :
   8383   xorg_cv_cc_flag_unknown_warning_option=yes
   8384 else $as_nop
   8385   xorg_cv_cc_flag_unknown_warning_option=no
   8386 fi
   8387 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8388 fi
   8389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8390 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8391 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8392 	CFLAGS="$xorg_testset_save_CFLAGS"
   8393 fi
   8394 
   8395 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8396 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8397 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8398 	fi
   8399 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8400 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8401 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8402 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8403 then :
   8404   printf %s "(cached) " >&6
   8405 else $as_nop
   8406   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8407 /* end confdefs.h.  */
   8408 int i;
   8409 _ACEOF
   8410 if ac_fn_c_try_compile "$LINENO"
   8411 then :
   8412   xorg_cv_cc_flag_unused_command_line_argument=yes
   8413 else $as_nop
   8414   xorg_cv_cc_flag_unused_command_line_argument=no
   8415 fi
   8416 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8417 fi
   8418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8419 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8420 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8421 	CFLAGS="$xorg_testset_save_CFLAGS"
   8422 fi
   8423 
   8424 found="no"
   8425 
   8426 	if test $found = "no" ; then
   8427 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8428 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8429 		fi
   8430 
   8431 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8432 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8433 		fi
   8434 
   8435 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8436 
   8437 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8438 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8439 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8440 		if eval test \${$cacheid+y}
   8441 then :
   8442   printf %s "(cached) " >&6
   8443 else $as_nop
   8444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8445 /* end confdefs.h.  */
   8446 int i;
   8447 int
   8448 main (void)
   8449 {
   8450 
   8451   ;
   8452   return 0;
   8453 }
   8454 _ACEOF
   8455 if ac_fn_c_try_link "$LINENO"
   8456 then :
   8457   eval $cacheid=yes
   8458 else $as_nop
   8459   eval $cacheid=no
   8460 fi
   8461 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8462     conftest$ac_exeext conftest.$ac_ext
   8463 fi
   8464 
   8465 
   8466 		CFLAGS="$xorg_testset_save_CFLAGS"
   8467 
   8468 		eval supported=\$$cacheid
   8469 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8470 printf "%s\n" "$supported" >&6; }
   8471 		if test "$supported" = "yes" ; then
   8472 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8473 			found="yes"
   8474 		fi
   8475 	fi
   8476 
   8477 
   8478 
   8479 
   8480 
   8481 
   8482 
   8483 
   8484 
   8485 
   8486 
   8487 
   8488 
   8489 
   8490 
   8491 xorg_testset_save_CFLAGS="$CFLAGS"
   8492 
   8493 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8494 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8495 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8496 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8497 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8498 then :
   8499   printf %s "(cached) " >&6
   8500 else $as_nop
   8501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8502 /* end confdefs.h.  */
   8503 int i;
   8504 _ACEOF
   8505 if ac_fn_c_try_compile "$LINENO"
   8506 then :
   8507   xorg_cv_cc_flag_unknown_warning_option=yes
   8508 else $as_nop
   8509   xorg_cv_cc_flag_unknown_warning_option=no
   8510 fi
   8511 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8512 fi
   8513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8514 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8515 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8516 	CFLAGS="$xorg_testset_save_CFLAGS"
   8517 fi
   8518 
   8519 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8520 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8521 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8522 	fi
   8523 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8524 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8525 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8526 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8527 then :
   8528   printf %s "(cached) " >&6
   8529 else $as_nop
   8530   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8531 /* end confdefs.h.  */
   8532 int i;
   8533 _ACEOF
   8534 if ac_fn_c_try_compile "$LINENO"
   8535 then :
   8536   xorg_cv_cc_flag_unused_command_line_argument=yes
   8537 else $as_nop
   8538   xorg_cv_cc_flag_unused_command_line_argument=no
   8539 fi
   8540 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8541 fi
   8542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8543 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8544 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8545 	CFLAGS="$xorg_testset_save_CFLAGS"
   8546 fi
   8547 
   8548 found="no"
   8549 
   8550 	if test $found = "no" ; then
   8551 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8552 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8553 		fi
   8554 
   8555 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8556 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8557 		fi
   8558 
   8559 		CFLAGS="$CFLAGS -Werror=write-strings"
   8560 
   8561 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8562 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8563 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8564 		if eval test \${$cacheid+y}
   8565 then :
   8566   printf %s "(cached) " >&6
   8567 else $as_nop
   8568   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8569 /* end confdefs.h.  */
   8570 int i;
   8571 int
   8572 main (void)
   8573 {
   8574 
   8575   ;
   8576   return 0;
   8577 }
   8578 _ACEOF
   8579 if ac_fn_c_try_link "$LINENO"
   8580 then :
   8581   eval $cacheid=yes
   8582 else $as_nop
   8583   eval $cacheid=no
   8584 fi
   8585 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8586     conftest$ac_exeext conftest.$ac_ext
   8587 fi
   8588 
   8589 
   8590 		CFLAGS="$xorg_testset_save_CFLAGS"
   8591 
   8592 		eval supported=\$$cacheid
   8593 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8594 printf "%s\n" "$supported" >&6; }
   8595 		if test "$supported" = "yes" ; then
   8596 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8597 			found="yes"
   8598 		fi
   8599 	fi
   8600 
   8601 
   8602 
   8603 
   8604 
   8605 
   8606 
   8607 
   8608 
   8609 
   8610 
   8611 
   8612 
   8613 
   8614 
   8615 xorg_testset_save_CFLAGS="$CFLAGS"
   8616 
   8617 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8618 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8619 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8620 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8621 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8622 then :
   8623   printf %s "(cached) " >&6
   8624 else $as_nop
   8625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8626 /* end confdefs.h.  */
   8627 int i;
   8628 _ACEOF
   8629 if ac_fn_c_try_compile "$LINENO"
   8630 then :
   8631   xorg_cv_cc_flag_unknown_warning_option=yes
   8632 else $as_nop
   8633   xorg_cv_cc_flag_unknown_warning_option=no
   8634 fi
   8635 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8636 fi
   8637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8638 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8639 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8640 	CFLAGS="$xorg_testset_save_CFLAGS"
   8641 fi
   8642 
   8643 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8644 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8645 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8646 	fi
   8647 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8648 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8649 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8650 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8651 then :
   8652   printf %s "(cached) " >&6
   8653 else $as_nop
   8654   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8655 /* end confdefs.h.  */
   8656 int i;
   8657 _ACEOF
   8658 if ac_fn_c_try_compile "$LINENO"
   8659 then :
   8660   xorg_cv_cc_flag_unused_command_line_argument=yes
   8661 else $as_nop
   8662   xorg_cv_cc_flag_unused_command_line_argument=no
   8663 fi
   8664 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8665 fi
   8666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8667 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8668 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8669 	CFLAGS="$xorg_testset_save_CFLAGS"
   8670 fi
   8671 
   8672 found="no"
   8673 
   8674 	if test $found = "no" ; then
   8675 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8676 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8677 		fi
   8678 
   8679 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8680 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8681 		fi
   8682 
   8683 		CFLAGS="$CFLAGS -Werror=address"
   8684 
   8685 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8686 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8687 		cacheid=xorg_cv_cc_flag__Werror_address
   8688 		if eval test \${$cacheid+y}
   8689 then :
   8690   printf %s "(cached) " >&6
   8691 else $as_nop
   8692   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8693 /* end confdefs.h.  */
   8694 int i;
   8695 int
   8696 main (void)
   8697 {
   8698 
   8699   ;
   8700   return 0;
   8701 }
   8702 _ACEOF
   8703 if ac_fn_c_try_link "$LINENO"
   8704 then :
   8705   eval $cacheid=yes
   8706 else $as_nop
   8707   eval $cacheid=no
   8708 fi
   8709 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8710     conftest$ac_exeext conftest.$ac_ext
   8711 fi
   8712 
   8713 
   8714 		CFLAGS="$xorg_testset_save_CFLAGS"
   8715 
   8716 		eval supported=\$$cacheid
   8717 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8718 printf "%s\n" "$supported" >&6; }
   8719 		if test "$supported" = "yes" ; then
   8720 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8721 			found="yes"
   8722 		fi
   8723 	fi
   8724 
   8725 
   8726 
   8727 
   8728 
   8729 
   8730 
   8731 
   8732 
   8733 
   8734 
   8735 
   8736 
   8737 
   8738 
   8739 xorg_testset_save_CFLAGS="$CFLAGS"
   8740 
   8741 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8742 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8743 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8744 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8745 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8746 then :
   8747   printf %s "(cached) " >&6
   8748 else $as_nop
   8749   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8750 /* end confdefs.h.  */
   8751 int i;
   8752 _ACEOF
   8753 if ac_fn_c_try_compile "$LINENO"
   8754 then :
   8755   xorg_cv_cc_flag_unknown_warning_option=yes
   8756 else $as_nop
   8757   xorg_cv_cc_flag_unknown_warning_option=no
   8758 fi
   8759 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8760 fi
   8761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8762 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8763 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8764 	CFLAGS="$xorg_testset_save_CFLAGS"
   8765 fi
   8766 
   8767 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8768 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8769 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8770 	fi
   8771 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8772 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8773 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8774 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8775 then :
   8776   printf %s "(cached) " >&6
   8777 else $as_nop
   8778   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8779 /* end confdefs.h.  */
   8780 int i;
   8781 _ACEOF
   8782 if ac_fn_c_try_compile "$LINENO"
   8783 then :
   8784   xorg_cv_cc_flag_unused_command_line_argument=yes
   8785 else $as_nop
   8786   xorg_cv_cc_flag_unused_command_line_argument=no
   8787 fi
   8788 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8789 fi
   8790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8791 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8792 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8793 	CFLAGS="$xorg_testset_save_CFLAGS"
   8794 fi
   8795 
   8796 found="no"
   8797 
   8798 	if test $found = "no" ; then
   8799 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8800 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8801 		fi
   8802 
   8803 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8804 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8805 		fi
   8806 
   8807 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8808 
   8809 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8810 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8811 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8812 		if eval test \${$cacheid+y}
   8813 then :
   8814   printf %s "(cached) " >&6
   8815 else $as_nop
   8816   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8817 /* end confdefs.h.  */
   8818 int i;
   8819 int
   8820 main (void)
   8821 {
   8822 
   8823   ;
   8824   return 0;
   8825 }
   8826 _ACEOF
   8827 if ac_fn_c_try_link "$LINENO"
   8828 then :
   8829   eval $cacheid=yes
   8830 else $as_nop
   8831   eval $cacheid=no
   8832 fi
   8833 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8834     conftest$ac_exeext conftest.$ac_ext
   8835 fi
   8836 
   8837 
   8838 		CFLAGS="$xorg_testset_save_CFLAGS"
   8839 
   8840 		eval supported=\$$cacheid
   8841 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8842 printf "%s\n" "$supported" >&6; }
   8843 		if test "$supported" = "yes" ; then
   8844 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8845 			found="yes"
   8846 		fi
   8847 	fi
   8848 
   8849 	if test $found = "no" ; then
   8850 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8851 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8852 		fi
   8853 
   8854 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8855 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8856 		fi
   8857 
   8858 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8859 
   8860 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8861 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8862 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8863 		if eval test \${$cacheid+y}
   8864 then :
   8865   printf %s "(cached) " >&6
   8866 else $as_nop
   8867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8868 /* end confdefs.h.  */
   8869 int i;
   8870 int
   8871 main (void)
   8872 {
   8873 
   8874   ;
   8875   return 0;
   8876 }
   8877 _ACEOF
   8878 if ac_fn_c_try_link "$LINENO"
   8879 then :
   8880   eval $cacheid=yes
   8881 else $as_nop
   8882   eval $cacheid=no
   8883 fi
   8884 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8885     conftest$ac_exeext conftest.$ac_ext
   8886 fi
   8887 
   8888 
   8889 		CFLAGS="$xorg_testset_save_CFLAGS"
   8890 
   8891 		eval supported=\$$cacheid
   8892 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8893 printf "%s\n" "$supported" >&6; }
   8894 		if test "$supported" = "yes" ; then
   8895 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8896 			found="yes"
   8897 		fi
   8898 	fi
   8899 
   8900 
   8901 
   8902 
   8903 
   8904 
   8905 
   8906 
   8907 
   8908 
   8909 
   8910 
   8911 
   8912 
   8913 
   8914 xorg_testset_save_CFLAGS="$CFLAGS"
   8915 
   8916 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8917 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8918 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8919 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8920 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8921 then :
   8922   printf %s "(cached) " >&6
   8923 else $as_nop
   8924   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8925 /* end confdefs.h.  */
   8926 int i;
   8927 _ACEOF
   8928 if ac_fn_c_try_compile "$LINENO"
   8929 then :
   8930   xorg_cv_cc_flag_unknown_warning_option=yes
   8931 else $as_nop
   8932   xorg_cv_cc_flag_unknown_warning_option=no
   8933 fi
   8934 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8935 fi
   8936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8937 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8938 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8939 	CFLAGS="$xorg_testset_save_CFLAGS"
   8940 fi
   8941 
   8942 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8943 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8944 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8945 	fi
   8946 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8947 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8948 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8949 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8950 then :
   8951   printf %s "(cached) " >&6
   8952 else $as_nop
   8953   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8954 /* end confdefs.h.  */
   8955 int i;
   8956 _ACEOF
   8957 if ac_fn_c_try_compile "$LINENO"
   8958 then :
   8959   xorg_cv_cc_flag_unused_command_line_argument=yes
   8960 else $as_nop
   8961   xorg_cv_cc_flag_unused_command_line_argument=no
   8962 fi
   8963 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8964 fi
   8965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8966 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8967 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8968 	CFLAGS="$xorg_testset_save_CFLAGS"
   8969 fi
   8970 
   8971 found="no"
   8972 
   8973 	if test $found = "no" ; then
   8974 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8975 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8976 		fi
   8977 
   8978 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8979 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8980 		fi
   8981 
   8982 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8983 
   8984 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8985 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8986 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8987 		if eval test \${$cacheid+y}
   8988 then :
   8989   printf %s "(cached) " >&6
   8990 else $as_nop
   8991   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8992 /* end confdefs.h.  */
   8993 int i;
   8994 int
   8995 main (void)
   8996 {
   8997 
   8998   ;
   8999   return 0;
   9000 }
   9001 _ACEOF
   9002 if ac_fn_c_try_link "$LINENO"
   9003 then :
   9004   eval $cacheid=yes
   9005 else $as_nop
   9006   eval $cacheid=no
   9007 fi
   9008 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9009     conftest$ac_exeext conftest.$ac_ext
   9010 fi
   9011 
   9012 
   9013 		CFLAGS="$xorg_testset_save_CFLAGS"
   9014 
   9015 		eval supported=\$$cacheid
   9016 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9017 printf "%s\n" "$supported" >&6; }
   9018 		if test "$supported" = "yes" ; then
   9019 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   9020 			found="yes"
   9021 		fi
   9022 	fi
   9023 
   9024  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   9025 else
   9026 { 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
   9027 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;}
   9028 
   9029 
   9030 
   9031 
   9032 
   9033 
   9034 
   9035 
   9036 
   9037 
   9038 
   9039 
   9040 
   9041 xorg_testset_save_CFLAGS="$CFLAGS"
   9042 
   9043 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9044 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9045 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9046 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9047 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9048 then :
   9049   printf %s "(cached) " >&6
   9050 else $as_nop
   9051   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9052 /* end confdefs.h.  */
   9053 int i;
   9054 _ACEOF
   9055 if ac_fn_c_try_compile "$LINENO"
   9056 then :
   9057   xorg_cv_cc_flag_unknown_warning_option=yes
   9058 else $as_nop
   9059   xorg_cv_cc_flag_unknown_warning_option=no
   9060 fi
   9061 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9062 fi
   9063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9064 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9065 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9066 	CFLAGS="$xorg_testset_save_CFLAGS"
   9067 fi
   9068 
   9069 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9070 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9071 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9072 	fi
   9073 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9074 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9075 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9076 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9077 then :
   9078   printf %s "(cached) " >&6
   9079 else $as_nop
   9080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9081 /* end confdefs.h.  */
   9082 int i;
   9083 _ACEOF
   9084 if ac_fn_c_try_compile "$LINENO"
   9085 then :
   9086   xorg_cv_cc_flag_unused_command_line_argument=yes
   9087 else $as_nop
   9088   xorg_cv_cc_flag_unused_command_line_argument=no
   9089 fi
   9090 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9091 fi
   9092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9093 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9094 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9095 	CFLAGS="$xorg_testset_save_CFLAGS"
   9096 fi
   9097 
   9098 found="no"
   9099 
   9100 	if test $found = "no" ; then
   9101 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9102 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9103 		fi
   9104 
   9105 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9106 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9107 		fi
   9108 
   9109 		CFLAGS="$CFLAGS -Wimplicit"
   9110 
   9111 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9112 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9113 		cacheid=xorg_cv_cc_flag__Wimplicit
   9114 		if eval test \${$cacheid+y}
   9115 then :
   9116   printf %s "(cached) " >&6
   9117 else $as_nop
   9118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9119 /* end confdefs.h.  */
   9120 int i;
   9121 int
   9122 main (void)
   9123 {
   9124 
   9125   ;
   9126   return 0;
   9127 }
   9128 _ACEOF
   9129 if ac_fn_c_try_link "$LINENO"
   9130 then :
   9131   eval $cacheid=yes
   9132 else $as_nop
   9133   eval $cacheid=no
   9134 fi
   9135 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9136     conftest$ac_exeext conftest.$ac_ext
   9137 fi
   9138 
   9139 
   9140 		CFLAGS="$xorg_testset_save_CFLAGS"
   9141 
   9142 		eval supported=\$$cacheid
   9143 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9144 printf "%s\n" "$supported" >&6; }
   9145 		if test "$supported" = "yes" ; then
   9146 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9147 			found="yes"
   9148 		fi
   9149 	fi
   9150 
   9151 
   9152 
   9153 
   9154 
   9155 
   9156 
   9157 
   9158 
   9159 
   9160 
   9161 
   9162 
   9163 
   9164 
   9165 xorg_testset_save_CFLAGS="$CFLAGS"
   9166 
   9167 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9168 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9169 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9170 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9171 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9172 then :
   9173   printf %s "(cached) " >&6
   9174 else $as_nop
   9175   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9176 /* end confdefs.h.  */
   9177 int i;
   9178 _ACEOF
   9179 if ac_fn_c_try_compile "$LINENO"
   9180 then :
   9181   xorg_cv_cc_flag_unknown_warning_option=yes
   9182 else $as_nop
   9183   xorg_cv_cc_flag_unknown_warning_option=no
   9184 fi
   9185 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9186 fi
   9187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9188 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9189 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9190 	CFLAGS="$xorg_testset_save_CFLAGS"
   9191 fi
   9192 
   9193 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9194 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9195 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9196 	fi
   9197 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9198 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9199 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9200 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9201 then :
   9202   printf %s "(cached) " >&6
   9203 else $as_nop
   9204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9205 /* end confdefs.h.  */
   9206 int i;
   9207 _ACEOF
   9208 if ac_fn_c_try_compile "$LINENO"
   9209 then :
   9210   xorg_cv_cc_flag_unused_command_line_argument=yes
   9211 else $as_nop
   9212   xorg_cv_cc_flag_unused_command_line_argument=no
   9213 fi
   9214 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9215 fi
   9216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9217 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9218 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9219 	CFLAGS="$xorg_testset_save_CFLAGS"
   9220 fi
   9221 
   9222 found="no"
   9223 
   9224 	if test $found = "no" ; then
   9225 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9226 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9227 		fi
   9228 
   9229 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9230 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9231 		fi
   9232 
   9233 		CFLAGS="$CFLAGS -Wnonnull"
   9234 
   9235 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9236 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9237 		cacheid=xorg_cv_cc_flag__Wnonnull
   9238 		if eval test \${$cacheid+y}
   9239 then :
   9240   printf %s "(cached) " >&6
   9241 else $as_nop
   9242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9243 /* end confdefs.h.  */
   9244 int i;
   9245 int
   9246 main (void)
   9247 {
   9248 
   9249   ;
   9250   return 0;
   9251 }
   9252 _ACEOF
   9253 if ac_fn_c_try_link "$LINENO"
   9254 then :
   9255   eval $cacheid=yes
   9256 else $as_nop
   9257   eval $cacheid=no
   9258 fi
   9259 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9260     conftest$ac_exeext conftest.$ac_ext
   9261 fi
   9262 
   9263 
   9264 		CFLAGS="$xorg_testset_save_CFLAGS"
   9265 
   9266 		eval supported=\$$cacheid
   9267 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9268 printf "%s\n" "$supported" >&6; }
   9269 		if test "$supported" = "yes" ; then
   9270 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9271 			found="yes"
   9272 		fi
   9273 	fi
   9274 
   9275 
   9276 
   9277 
   9278 
   9279 
   9280 
   9281 
   9282 
   9283 
   9284 
   9285 
   9286 
   9287 
   9288 
   9289 xorg_testset_save_CFLAGS="$CFLAGS"
   9290 
   9291 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9292 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9293 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9294 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9295 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9296 then :
   9297   printf %s "(cached) " >&6
   9298 else $as_nop
   9299   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9300 /* end confdefs.h.  */
   9301 int i;
   9302 _ACEOF
   9303 if ac_fn_c_try_compile "$LINENO"
   9304 then :
   9305   xorg_cv_cc_flag_unknown_warning_option=yes
   9306 else $as_nop
   9307   xorg_cv_cc_flag_unknown_warning_option=no
   9308 fi
   9309 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9310 fi
   9311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9312 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9313 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9314 	CFLAGS="$xorg_testset_save_CFLAGS"
   9315 fi
   9316 
   9317 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9318 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9319 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9320 	fi
   9321 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9322 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9323 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9324 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9325 then :
   9326   printf %s "(cached) " >&6
   9327 else $as_nop
   9328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9329 /* end confdefs.h.  */
   9330 int i;
   9331 _ACEOF
   9332 if ac_fn_c_try_compile "$LINENO"
   9333 then :
   9334   xorg_cv_cc_flag_unused_command_line_argument=yes
   9335 else $as_nop
   9336   xorg_cv_cc_flag_unused_command_line_argument=no
   9337 fi
   9338 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9339 fi
   9340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9341 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9342 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9343 	CFLAGS="$xorg_testset_save_CFLAGS"
   9344 fi
   9345 
   9346 found="no"
   9347 
   9348 	if test $found = "no" ; then
   9349 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9350 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9351 		fi
   9352 
   9353 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9354 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9355 		fi
   9356 
   9357 		CFLAGS="$CFLAGS -Winit-self"
   9358 
   9359 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9360 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9361 		cacheid=xorg_cv_cc_flag__Winit_self
   9362 		if eval test \${$cacheid+y}
   9363 then :
   9364   printf %s "(cached) " >&6
   9365 else $as_nop
   9366   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9367 /* end confdefs.h.  */
   9368 int i;
   9369 int
   9370 main (void)
   9371 {
   9372 
   9373   ;
   9374   return 0;
   9375 }
   9376 _ACEOF
   9377 if ac_fn_c_try_link "$LINENO"
   9378 then :
   9379   eval $cacheid=yes
   9380 else $as_nop
   9381   eval $cacheid=no
   9382 fi
   9383 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9384     conftest$ac_exeext conftest.$ac_ext
   9385 fi
   9386 
   9387 
   9388 		CFLAGS="$xorg_testset_save_CFLAGS"
   9389 
   9390 		eval supported=\$$cacheid
   9391 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9392 printf "%s\n" "$supported" >&6; }
   9393 		if test "$supported" = "yes" ; then
   9394 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9395 			found="yes"
   9396 		fi
   9397 	fi
   9398 
   9399 
   9400 
   9401 
   9402 
   9403 
   9404 
   9405 
   9406 
   9407 
   9408 
   9409 
   9410 
   9411 
   9412 
   9413 xorg_testset_save_CFLAGS="$CFLAGS"
   9414 
   9415 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9416 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9417 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9418 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9419 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9420 then :
   9421   printf %s "(cached) " >&6
   9422 else $as_nop
   9423   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9424 /* end confdefs.h.  */
   9425 int i;
   9426 _ACEOF
   9427 if ac_fn_c_try_compile "$LINENO"
   9428 then :
   9429   xorg_cv_cc_flag_unknown_warning_option=yes
   9430 else $as_nop
   9431   xorg_cv_cc_flag_unknown_warning_option=no
   9432 fi
   9433 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9434 fi
   9435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9436 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9437 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9438 	CFLAGS="$xorg_testset_save_CFLAGS"
   9439 fi
   9440 
   9441 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9442 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9443 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9444 	fi
   9445 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9446 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9447 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9448 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9449 then :
   9450   printf %s "(cached) " >&6
   9451 else $as_nop
   9452   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9453 /* end confdefs.h.  */
   9454 int i;
   9455 _ACEOF
   9456 if ac_fn_c_try_compile "$LINENO"
   9457 then :
   9458   xorg_cv_cc_flag_unused_command_line_argument=yes
   9459 else $as_nop
   9460   xorg_cv_cc_flag_unused_command_line_argument=no
   9461 fi
   9462 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9463 fi
   9464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9465 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9466 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9467 	CFLAGS="$xorg_testset_save_CFLAGS"
   9468 fi
   9469 
   9470 found="no"
   9471 
   9472 	if test $found = "no" ; then
   9473 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9474 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9475 		fi
   9476 
   9477 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9478 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9479 		fi
   9480 
   9481 		CFLAGS="$CFLAGS -Wmain"
   9482 
   9483 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9484 printf %s "checking if $CC supports -Wmain... " >&6; }
   9485 		cacheid=xorg_cv_cc_flag__Wmain
   9486 		if eval test \${$cacheid+y}
   9487 then :
   9488   printf %s "(cached) " >&6
   9489 else $as_nop
   9490   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9491 /* end confdefs.h.  */
   9492 int i;
   9493 int
   9494 main (void)
   9495 {
   9496 
   9497   ;
   9498   return 0;
   9499 }
   9500 _ACEOF
   9501 if ac_fn_c_try_link "$LINENO"
   9502 then :
   9503   eval $cacheid=yes
   9504 else $as_nop
   9505   eval $cacheid=no
   9506 fi
   9507 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9508     conftest$ac_exeext conftest.$ac_ext
   9509 fi
   9510 
   9511 
   9512 		CFLAGS="$xorg_testset_save_CFLAGS"
   9513 
   9514 		eval supported=\$$cacheid
   9515 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9516 printf "%s\n" "$supported" >&6; }
   9517 		if test "$supported" = "yes" ; then
   9518 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9519 			found="yes"
   9520 		fi
   9521 	fi
   9522 
   9523 
   9524 
   9525 
   9526 
   9527 
   9528 
   9529 
   9530 
   9531 
   9532 
   9533 
   9534 
   9535 
   9536 
   9537 xorg_testset_save_CFLAGS="$CFLAGS"
   9538 
   9539 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9540 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9541 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9542 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9543 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9544 then :
   9545   printf %s "(cached) " >&6
   9546 else $as_nop
   9547   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9548 /* end confdefs.h.  */
   9549 int i;
   9550 _ACEOF
   9551 if ac_fn_c_try_compile "$LINENO"
   9552 then :
   9553   xorg_cv_cc_flag_unknown_warning_option=yes
   9554 else $as_nop
   9555   xorg_cv_cc_flag_unknown_warning_option=no
   9556 fi
   9557 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9558 fi
   9559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9560 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9561 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9562 	CFLAGS="$xorg_testset_save_CFLAGS"
   9563 fi
   9564 
   9565 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9566 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9567 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9568 	fi
   9569 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9570 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9571 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9572 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9573 then :
   9574   printf %s "(cached) " >&6
   9575 else $as_nop
   9576   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9577 /* end confdefs.h.  */
   9578 int i;
   9579 _ACEOF
   9580 if ac_fn_c_try_compile "$LINENO"
   9581 then :
   9582   xorg_cv_cc_flag_unused_command_line_argument=yes
   9583 else $as_nop
   9584   xorg_cv_cc_flag_unused_command_line_argument=no
   9585 fi
   9586 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9587 fi
   9588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9589 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9590 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9591 	CFLAGS="$xorg_testset_save_CFLAGS"
   9592 fi
   9593 
   9594 found="no"
   9595 
   9596 	if test $found = "no" ; then
   9597 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9598 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9599 		fi
   9600 
   9601 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9602 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9603 		fi
   9604 
   9605 		CFLAGS="$CFLAGS -Wmissing-braces"
   9606 
   9607 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9608 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9609 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9610 		if eval test \${$cacheid+y}
   9611 then :
   9612   printf %s "(cached) " >&6
   9613 else $as_nop
   9614   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9615 /* end confdefs.h.  */
   9616 int i;
   9617 int
   9618 main (void)
   9619 {
   9620 
   9621   ;
   9622   return 0;
   9623 }
   9624 _ACEOF
   9625 if ac_fn_c_try_link "$LINENO"
   9626 then :
   9627   eval $cacheid=yes
   9628 else $as_nop
   9629   eval $cacheid=no
   9630 fi
   9631 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9632     conftest$ac_exeext conftest.$ac_ext
   9633 fi
   9634 
   9635 
   9636 		CFLAGS="$xorg_testset_save_CFLAGS"
   9637 
   9638 		eval supported=\$$cacheid
   9639 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9640 printf "%s\n" "$supported" >&6; }
   9641 		if test "$supported" = "yes" ; then
   9642 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9643 			found="yes"
   9644 		fi
   9645 	fi
   9646 
   9647 
   9648 
   9649 
   9650 
   9651 
   9652 
   9653 
   9654 
   9655 
   9656 
   9657 
   9658 
   9659 
   9660 
   9661 xorg_testset_save_CFLAGS="$CFLAGS"
   9662 
   9663 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9664 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9665 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9666 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9667 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9668 then :
   9669   printf %s "(cached) " >&6
   9670 else $as_nop
   9671   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9672 /* end confdefs.h.  */
   9673 int i;
   9674 _ACEOF
   9675 if ac_fn_c_try_compile "$LINENO"
   9676 then :
   9677   xorg_cv_cc_flag_unknown_warning_option=yes
   9678 else $as_nop
   9679   xorg_cv_cc_flag_unknown_warning_option=no
   9680 fi
   9681 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9682 fi
   9683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9684 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9685 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9686 	CFLAGS="$xorg_testset_save_CFLAGS"
   9687 fi
   9688 
   9689 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9690 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9691 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9692 	fi
   9693 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9694 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9695 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9696 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9697 then :
   9698   printf %s "(cached) " >&6
   9699 else $as_nop
   9700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9701 /* end confdefs.h.  */
   9702 int i;
   9703 _ACEOF
   9704 if ac_fn_c_try_compile "$LINENO"
   9705 then :
   9706   xorg_cv_cc_flag_unused_command_line_argument=yes
   9707 else $as_nop
   9708   xorg_cv_cc_flag_unused_command_line_argument=no
   9709 fi
   9710 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9711 fi
   9712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9713 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9714 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9715 	CFLAGS="$xorg_testset_save_CFLAGS"
   9716 fi
   9717 
   9718 found="no"
   9719 
   9720 	if test $found = "no" ; then
   9721 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9722 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9723 		fi
   9724 
   9725 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9726 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9727 		fi
   9728 
   9729 		CFLAGS="$CFLAGS -Wsequence-point"
   9730 
   9731 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9732 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9733 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9734 		if eval test \${$cacheid+y}
   9735 then :
   9736   printf %s "(cached) " >&6
   9737 else $as_nop
   9738   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9739 /* end confdefs.h.  */
   9740 int i;
   9741 int
   9742 main (void)
   9743 {
   9744 
   9745   ;
   9746   return 0;
   9747 }
   9748 _ACEOF
   9749 if ac_fn_c_try_link "$LINENO"
   9750 then :
   9751   eval $cacheid=yes
   9752 else $as_nop
   9753   eval $cacheid=no
   9754 fi
   9755 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9756     conftest$ac_exeext conftest.$ac_ext
   9757 fi
   9758 
   9759 
   9760 		CFLAGS="$xorg_testset_save_CFLAGS"
   9761 
   9762 		eval supported=\$$cacheid
   9763 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9764 printf "%s\n" "$supported" >&6; }
   9765 		if test "$supported" = "yes" ; then
   9766 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9767 			found="yes"
   9768 		fi
   9769 	fi
   9770 
   9771 
   9772 
   9773 
   9774 
   9775 
   9776 
   9777 
   9778 
   9779 
   9780 
   9781 
   9782 
   9783 
   9784 
   9785 xorg_testset_save_CFLAGS="$CFLAGS"
   9786 
   9787 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9788 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9789 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9790 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9791 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9792 then :
   9793   printf %s "(cached) " >&6
   9794 else $as_nop
   9795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9796 /* end confdefs.h.  */
   9797 int i;
   9798 _ACEOF
   9799 if ac_fn_c_try_compile "$LINENO"
   9800 then :
   9801   xorg_cv_cc_flag_unknown_warning_option=yes
   9802 else $as_nop
   9803   xorg_cv_cc_flag_unknown_warning_option=no
   9804 fi
   9805 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9806 fi
   9807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9808 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9809 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9810 	CFLAGS="$xorg_testset_save_CFLAGS"
   9811 fi
   9812 
   9813 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9814 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9815 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9816 	fi
   9817 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9818 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9819 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9820 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9821 then :
   9822   printf %s "(cached) " >&6
   9823 else $as_nop
   9824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9825 /* end confdefs.h.  */
   9826 int i;
   9827 _ACEOF
   9828 if ac_fn_c_try_compile "$LINENO"
   9829 then :
   9830   xorg_cv_cc_flag_unused_command_line_argument=yes
   9831 else $as_nop
   9832   xorg_cv_cc_flag_unused_command_line_argument=no
   9833 fi
   9834 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9835 fi
   9836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9837 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9838 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9839 	CFLAGS="$xorg_testset_save_CFLAGS"
   9840 fi
   9841 
   9842 found="no"
   9843 
   9844 	if test $found = "no" ; then
   9845 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9846 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9847 		fi
   9848 
   9849 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9850 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9851 		fi
   9852 
   9853 		CFLAGS="$CFLAGS -Wreturn-type"
   9854 
   9855 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9856 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   9857 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9858 		if eval test \${$cacheid+y}
   9859 then :
   9860   printf %s "(cached) " >&6
   9861 else $as_nop
   9862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9863 /* end confdefs.h.  */
   9864 int i;
   9865 int
   9866 main (void)
   9867 {
   9868 
   9869   ;
   9870   return 0;
   9871 }
   9872 _ACEOF
   9873 if ac_fn_c_try_link "$LINENO"
   9874 then :
   9875   eval $cacheid=yes
   9876 else $as_nop
   9877   eval $cacheid=no
   9878 fi
   9879 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9880     conftest$ac_exeext conftest.$ac_ext
   9881 fi
   9882 
   9883 
   9884 		CFLAGS="$xorg_testset_save_CFLAGS"
   9885 
   9886 		eval supported=\$$cacheid
   9887 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9888 printf "%s\n" "$supported" >&6; }
   9889 		if test "$supported" = "yes" ; then
   9890 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9891 			found="yes"
   9892 		fi
   9893 	fi
   9894 
   9895 
   9896 
   9897 
   9898 
   9899 
   9900 
   9901 
   9902 
   9903 
   9904 
   9905 
   9906 
   9907 
   9908 
   9909 xorg_testset_save_CFLAGS="$CFLAGS"
   9910 
   9911 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9912 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9913 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9914 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9915 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9916 then :
   9917   printf %s "(cached) " >&6
   9918 else $as_nop
   9919   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9920 /* end confdefs.h.  */
   9921 int i;
   9922 _ACEOF
   9923 if ac_fn_c_try_compile "$LINENO"
   9924 then :
   9925   xorg_cv_cc_flag_unknown_warning_option=yes
   9926 else $as_nop
   9927   xorg_cv_cc_flag_unknown_warning_option=no
   9928 fi
   9929 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9930 fi
   9931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9932 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9933 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9934 	CFLAGS="$xorg_testset_save_CFLAGS"
   9935 fi
   9936 
   9937 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9938 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9939 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9940 	fi
   9941 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9942 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9943 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9944 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9945 then :
   9946   printf %s "(cached) " >&6
   9947 else $as_nop
   9948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9949 /* end confdefs.h.  */
   9950 int i;
   9951 _ACEOF
   9952 if ac_fn_c_try_compile "$LINENO"
   9953 then :
   9954   xorg_cv_cc_flag_unused_command_line_argument=yes
   9955 else $as_nop
   9956   xorg_cv_cc_flag_unused_command_line_argument=no
   9957 fi
   9958 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9959 fi
   9960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9961 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9962 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9963 	CFLAGS="$xorg_testset_save_CFLAGS"
   9964 fi
   9965 
   9966 found="no"
   9967 
   9968 	if test $found = "no" ; then
   9969 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9970 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9971 		fi
   9972 
   9973 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9974 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9975 		fi
   9976 
   9977 		CFLAGS="$CFLAGS -Wtrigraphs"
   9978 
   9979 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9980 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   9981 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9982 		if eval test \${$cacheid+y}
   9983 then :
   9984   printf %s "(cached) " >&6
   9985 else $as_nop
   9986   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9987 /* end confdefs.h.  */
   9988 int i;
   9989 int
   9990 main (void)
   9991 {
   9992 
   9993   ;
   9994   return 0;
   9995 }
   9996 _ACEOF
   9997 if ac_fn_c_try_link "$LINENO"
   9998 then :
   9999   eval $cacheid=yes
   10000 else $as_nop
   10001   eval $cacheid=no
   10002 fi
   10003 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10004     conftest$ac_exeext conftest.$ac_ext
   10005 fi
   10006 
   10007 
   10008 		CFLAGS="$xorg_testset_save_CFLAGS"
   10009 
   10010 		eval supported=\$$cacheid
   10011 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10012 printf "%s\n" "$supported" >&6; }
   10013 		if test "$supported" = "yes" ; then
   10014 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   10015 			found="yes"
   10016 		fi
   10017 	fi
   10018 
   10019 
   10020 
   10021 
   10022 
   10023 
   10024 
   10025 
   10026 
   10027 
   10028 
   10029 
   10030 
   10031 
   10032 
   10033 xorg_testset_save_CFLAGS="$CFLAGS"
   10034 
   10035 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10036 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10037 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10038 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10039 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10040 then :
   10041   printf %s "(cached) " >&6
   10042 else $as_nop
   10043   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10044 /* end confdefs.h.  */
   10045 int i;
   10046 _ACEOF
   10047 if ac_fn_c_try_compile "$LINENO"
   10048 then :
   10049   xorg_cv_cc_flag_unknown_warning_option=yes
   10050 else $as_nop
   10051   xorg_cv_cc_flag_unknown_warning_option=no
   10052 fi
   10053 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10054 fi
   10055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10056 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10057 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10058 	CFLAGS="$xorg_testset_save_CFLAGS"
   10059 fi
   10060 
   10061 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10062 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10063 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10064 	fi
   10065 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10066 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10067 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10068 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10069 then :
   10070   printf %s "(cached) " >&6
   10071 else $as_nop
   10072   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10073 /* end confdefs.h.  */
   10074 int i;
   10075 _ACEOF
   10076 if ac_fn_c_try_compile "$LINENO"
   10077 then :
   10078   xorg_cv_cc_flag_unused_command_line_argument=yes
   10079 else $as_nop
   10080   xorg_cv_cc_flag_unused_command_line_argument=no
   10081 fi
   10082 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10083 fi
   10084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10085 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10086 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10087 	CFLAGS="$xorg_testset_save_CFLAGS"
   10088 fi
   10089 
   10090 found="no"
   10091 
   10092 	if test $found = "no" ; then
   10093 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10094 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10095 		fi
   10096 
   10097 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10098 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10099 		fi
   10100 
   10101 		CFLAGS="$CFLAGS -Warray-bounds"
   10102 
   10103 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10104 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10105 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10106 		if eval test \${$cacheid+y}
   10107 then :
   10108   printf %s "(cached) " >&6
   10109 else $as_nop
   10110   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10111 /* end confdefs.h.  */
   10112 int i;
   10113 int
   10114 main (void)
   10115 {
   10116 
   10117   ;
   10118   return 0;
   10119 }
   10120 _ACEOF
   10121 if ac_fn_c_try_link "$LINENO"
   10122 then :
   10123   eval $cacheid=yes
   10124 else $as_nop
   10125   eval $cacheid=no
   10126 fi
   10127 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10128     conftest$ac_exeext conftest.$ac_ext
   10129 fi
   10130 
   10131 
   10132 		CFLAGS="$xorg_testset_save_CFLAGS"
   10133 
   10134 		eval supported=\$$cacheid
   10135 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10136 printf "%s\n" "$supported" >&6; }
   10137 		if test "$supported" = "yes" ; then
   10138 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10139 			found="yes"
   10140 		fi
   10141 	fi
   10142 
   10143 
   10144 
   10145 
   10146 
   10147 
   10148 
   10149 
   10150 
   10151 
   10152 
   10153 
   10154 
   10155 
   10156 
   10157 xorg_testset_save_CFLAGS="$CFLAGS"
   10158 
   10159 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10160 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10161 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10162 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10163 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10164 then :
   10165   printf %s "(cached) " >&6
   10166 else $as_nop
   10167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10168 /* end confdefs.h.  */
   10169 int i;
   10170 _ACEOF
   10171 if ac_fn_c_try_compile "$LINENO"
   10172 then :
   10173   xorg_cv_cc_flag_unknown_warning_option=yes
   10174 else $as_nop
   10175   xorg_cv_cc_flag_unknown_warning_option=no
   10176 fi
   10177 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10178 fi
   10179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10180 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10181 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10182 	CFLAGS="$xorg_testset_save_CFLAGS"
   10183 fi
   10184 
   10185 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10186 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10187 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10188 	fi
   10189 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10190 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10191 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10192 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10193 then :
   10194   printf %s "(cached) " >&6
   10195 else $as_nop
   10196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10197 /* end confdefs.h.  */
   10198 int i;
   10199 _ACEOF
   10200 if ac_fn_c_try_compile "$LINENO"
   10201 then :
   10202   xorg_cv_cc_flag_unused_command_line_argument=yes
   10203 else $as_nop
   10204   xorg_cv_cc_flag_unused_command_line_argument=no
   10205 fi
   10206 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10207 fi
   10208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10209 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10210 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10211 	CFLAGS="$xorg_testset_save_CFLAGS"
   10212 fi
   10213 
   10214 found="no"
   10215 
   10216 	if test $found = "no" ; then
   10217 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10218 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10219 		fi
   10220 
   10221 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10222 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10223 		fi
   10224 
   10225 		CFLAGS="$CFLAGS -Wwrite-strings"
   10226 
   10227 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10228 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10229 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10230 		if eval test \${$cacheid+y}
   10231 then :
   10232   printf %s "(cached) " >&6
   10233 else $as_nop
   10234   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10235 /* end confdefs.h.  */
   10236 int i;
   10237 int
   10238 main (void)
   10239 {
   10240 
   10241   ;
   10242   return 0;
   10243 }
   10244 _ACEOF
   10245 if ac_fn_c_try_link "$LINENO"
   10246 then :
   10247   eval $cacheid=yes
   10248 else $as_nop
   10249   eval $cacheid=no
   10250 fi
   10251 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10252     conftest$ac_exeext conftest.$ac_ext
   10253 fi
   10254 
   10255 
   10256 		CFLAGS="$xorg_testset_save_CFLAGS"
   10257 
   10258 		eval supported=\$$cacheid
   10259 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10260 printf "%s\n" "$supported" >&6; }
   10261 		if test "$supported" = "yes" ; then
   10262 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10263 			found="yes"
   10264 		fi
   10265 	fi
   10266 
   10267 
   10268 
   10269 
   10270 
   10271 
   10272 
   10273 
   10274 
   10275 
   10276 
   10277 
   10278 
   10279 
   10280 
   10281 xorg_testset_save_CFLAGS="$CFLAGS"
   10282 
   10283 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10284 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10285 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10286 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10287 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10288 then :
   10289   printf %s "(cached) " >&6
   10290 else $as_nop
   10291   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10292 /* end confdefs.h.  */
   10293 int i;
   10294 _ACEOF
   10295 if ac_fn_c_try_compile "$LINENO"
   10296 then :
   10297   xorg_cv_cc_flag_unknown_warning_option=yes
   10298 else $as_nop
   10299   xorg_cv_cc_flag_unknown_warning_option=no
   10300 fi
   10301 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10302 fi
   10303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10304 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10305 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10306 	CFLAGS="$xorg_testset_save_CFLAGS"
   10307 fi
   10308 
   10309 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10310 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10311 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10312 	fi
   10313 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10314 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10315 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10316 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10317 then :
   10318   printf %s "(cached) " >&6
   10319 else $as_nop
   10320   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10321 /* end confdefs.h.  */
   10322 int i;
   10323 _ACEOF
   10324 if ac_fn_c_try_compile "$LINENO"
   10325 then :
   10326   xorg_cv_cc_flag_unused_command_line_argument=yes
   10327 else $as_nop
   10328   xorg_cv_cc_flag_unused_command_line_argument=no
   10329 fi
   10330 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10331 fi
   10332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10333 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10334 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10335 	CFLAGS="$xorg_testset_save_CFLAGS"
   10336 fi
   10337 
   10338 found="no"
   10339 
   10340 	if test $found = "no" ; then
   10341 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10342 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10343 		fi
   10344 
   10345 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10346 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10347 		fi
   10348 
   10349 		CFLAGS="$CFLAGS -Waddress"
   10350 
   10351 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10352 printf %s "checking if $CC supports -Waddress... " >&6; }
   10353 		cacheid=xorg_cv_cc_flag__Waddress
   10354 		if eval test \${$cacheid+y}
   10355 then :
   10356   printf %s "(cached) " >&6
   10357 else $as_nop
   10358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10359 /* end confdefs.h.  */
   10360 int i;
   10361 int
   10362 main (void)
   10363 {
   10364 
   10365   ;
   10366   return 0;
   10367 }
   10368 _ACEOF
   10369 if ac_fn_c_try_link "$LINENO"
   10370 then :
   10371   eval $cacheid=yes
   10372 else $as_nop
   10373   eval $cacheid=no
   10374 fi
   10375 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10376     conftest$ac_exeext conftest.$ac_ext
   10377 fi
   10378 
   10379 
   10380 		CFLAGS="$xorg_testset_save_CFLAGS"
   10381 
   10382 		eval supported=\$$cacheid
   10383 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10384 printf "%s\n" "$supported" >&6; }
   10385 		if test "$supported" = "yes" ; then
   10386 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10387 			found="yes"
   10388 		fi
   10389 	fi
   10390 
   10391 
   10392 
   10393 
   10394 
   10395 
   10396 
   10397 
   10398 
   10399 
   10400 
   10401 
   10402 
   10403 
   10404 
   10405 xorg_testset_save_CFLAGS="$CFLAGS"
   10406 
   10407 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10408 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10409 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10410 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10411 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10412 then :
   10413   printf %s "(cached) " >&6
   10414 else $as_nop
   10415   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10416 /* end confdefs.h.  */
   10417 int i;
   10418 _ACEOF
   10419 if ac_fn_c_try_compile "$LINENO"
   10420 then :
   10421   xorg_cv_cc_flag_unknown_warning_option=yes
   10422 else $as_nop
   10423   xorg_cv_cc_flag_unknown_warning_option=no
   10424 fi
   10425 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10426 fi
   10427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10428 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10429 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10430 	CFLAGS="$xorg_testset_save_CFLAGS"
   10431 fi
   10432 
   10433 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10434 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10435 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10436 	fi
   10437 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10438 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10439 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10440 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10441 then :
   10442   printf %s "(cached) " >&6
   10443 else $as_nop
   10444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10445 /* end confdefs.h.  */
   10446 int i;
   10447 _ACEOF
   10448 if ac_fn_c_try_compile "$LINENO"
   10449 then :
   10450   xorg_cv_cc_flag_unused_command_line_argument=yes
   10451 else $as_nop
   10452   xorg_cv_cc_flag_unused_command_line_argument=no
   10453 fi
   10454 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10455 fi
   10456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10457 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10458 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10459 	CFLAGS="$xorg_testset_save_CFLAGS"
   10460 fi
   10461 
   10462 found="no"
   10463 
   10464 	if test $found = "no" ; then
   10465 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10466 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10467 		fi
   10468 
   10469 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10470 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10471 		fi
   10472 
   10473 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10474 
   10475 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10476 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10477 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10478 		if eval test \${$cacheid+y}
   10479 then :
   10480   printf %s "(cached) " >&6
   10481 else $as_nop
   10482   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10483 /* end confdefs.h.  */
   10484 int i;
   10485 int
   10486 main (void)
   10487 {
   10488 
   10489   ;
   10490   return 0;
   10491 }
   10492 _ACEOF
   10493 if ac_fn_c_try_link "$LINENO"
   10494 then :
   10495   eval $cacheid=yes
   10496 else $as_nop
   10497   eval $cacheid=no
   10498 fi
   10499 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10500     conftest$ac_exeext conftest.$ac_ext
   10501 fi
   10502 
   10503 
   10504 		CFLAGS="$xorg_testset_save_CFLAGS"
   10505 
   10506 		eval supported=\$$cacheid
   10507 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10508 printf "%s\n" "$supported" >&6; }
   10509 		if test "$supported" = "yes" ; then
   10510 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10511 			found="yes"
   10512 		fi
   10513 	fi
   10514 
   10515 
   10516 
   10517 
   10518 
   10519 
   10520 
   10521 
   10522 
   10523 
   10524 
   10525 
   10526 
   10527 
   10528 
   10529 xorg_testset_save_CFLAGS="$CFLAGS"
   10530 
   10531 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10532 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10533 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10534 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10535 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10536 then :
   10537   printf %s "(cached) " >&6
   10538 else $as_nop
   10539   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10540 /* end confdefs.h.  */
   10541 int i;
   10542 _ACEOF
   10543 if ac_fn_c_try_compile "$LINENO"
   10544 then :
   10545   xorg_cv_cc_flag_unknown_warning_option=yes
   10546 else $as_nop
   10547   xorg_cv_cc_flag_unknown_warning_option=no
   10548 fi
   10549 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10550 fi
   10551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10552 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10553 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10554 	CFLAGS="$xorg_testset_save_CFLAGS"
   10555 fi
   10556 
   10557 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10558 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10559 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10560 	fi
   10561 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10562 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10563 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10564 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10565 then :
   10566   printf %s "(cached) " >&6
   10567 else $as_nop
   10568   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10569 /* end confdefs.h.  */
   10570 int i;
   10571 _ACEOF
   10572 if ac_fn_c_try_compile "$LINENO"
   10573 then :
   10574   xorg_cv_cc_flag_unused_command_line_argument=yes
   10575 else $as_nop
   10576   xorg_cv_cc_flag_unused_command_line_argument=no
   10577 fi
   10578 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10579 fi
   10580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10581 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10582 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10583 	CFLAGS="$xorg_testset_save_CFLAGS"
   10584 fi
   10585 
   10586 found="no"
   10587 
   10588 	if test $found = "no" ; then
   10589 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10590 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10591 		fi
   10592 
   10593 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10594 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10595 		fi
   10596 
   10597 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10598 
   10599 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10600 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10601 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10602 		if eval test \${$cacheid+y}
   10603 then :
   10604   printf %s "(cached) " >&6
   10605 else $as_nop
   10606   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10607 /* end confdefs.h.  */
   10608 int i;
   10609 int
   10610 main (void)
   10611 {
   10612 
   10613   ;
   10614   return 0;
   10615 }
   10616 _ACEOF
   10617 if ac_fn_c_try_link "$LINENO"
   10618 then :
   10619   eval $cacheid=yes
   10620 else $as_nop
   10621   eval $cacheid=no
   10622 fi
   10623 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10624     conftest$ac_exeext conftest.$ac_ext
   10625 fi
   10626 
   10627 
   10628 		CFLAGS="$xorg_testset_save_CFLAGS"
   10629 
   10630 		eval supported=\$$cacheid
   10631 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10632 printf "%s\n" "$supported" >&6; }
   10633 		if test "$supported" = "yes" ; then
   10634 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10635 			found="yes"
   10636 		fi
   10637 	fi
   10638 
   10639 
   10640 fi
   10641 
   10642 
   10643 
   10644 
   10645 
   10646 
   10647 
   10648 		CWARNFLAGS="$BASE_CFLAGS"
   10649 		if  test "x$GCC" = xyes ; then
   10650 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10651 		fi
   10652 
   10653 
   10654 
   10655 
   10656 
   10657 
   10658 
   10659 
   10660 # Check whether --enable-strict-compilation was given.
   10661 if test ${enable_strict_compilation+y}
   10662 then :
   10663   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10664 else $as_nop
   10665   STRICT_COMPILE=no
   10666 fi
   10667 
   10668 
   10669 
   10670 
   10671 
   10672 
   10673 STRICT_CFLAGS=""
   10674 
   10675 
   10676 
   10677 
   10678 
   10679 
   10680 
   10681 
   10682 
   10683 
   10684 
   10685 
   10686 
   10687 xorg_testset_save_CFLAGS="$CFLAGS"
   10688 
   10689 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10690 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10691 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10692 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10693 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10694 then :
   10695   printf %s "(cached) " >&6
   10696 else $as_nop
   10697   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10698 /* end confdefs.h.  */
   10699 int i;
   10700 _ACEOF
   10701 if ac_fn_c_try_compile "$LINENO"
   10702 then :
   10703   xorg_cv_cc_flag_unknown_warning_option=yes
   10704 else $as_nop
   10705   xorg_cv_cc_flag_unknown_warning_option=no
   10706 fi
   10707 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10708 fi
   10709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10710 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10711 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10712 	CFLAGS="$xorg_testset_save_CFLAGS"
   10713 fi
   10714 
   10715 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10716 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10717 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10718 	fi
   10719 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10720 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10721 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10722 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10723 then :
   10724   printf %s "(cached) " >&6
   10725 else $as_nop
   10726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10727 /* end confdefs.h.  */
   10728 int i;
   10729 _ACEOF
   10730 if ac_fn_c_try_compile "$LINENO"
   10731 then :
   10732   xorg_cv_cc_flag_unused_command_line_argument=yes
   10733 else $as_nop
   10734   xorg_cv_cc_flag_unused_command_line_argument=no
   10735 fi
   10736 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10737 fi
   10738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10739 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10740 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10741 	CFLAGS="$xorg_testset_save_CFLAGS"
   10742 fi
   10743 
   10744 found="no"
   10745 
   10746 	if test $found = "no" ; then
   10747 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10748 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10749 		fi
   10750 
   10751 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10752 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10753 		fi
   10754 
   10755 		CFLAGS="$CFLAGS -pedantic"
   10756 
   10757 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10758 printf %s "checking if $CC supports -pedantic... " >&6; }
   10759 		cacheid=xorg_cv_cc_flag__pedantic
   10760 		if eval test \${$cacheid+y}
   10761 then :
   10762   printf %s "(cached) " >&6
   10763 else $as_nop
   10764   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10765 /* end confdefs.h.  */
   10766 int i;
   10767 int
   10768 main (void)
   10769 {
   10770 
   10771   ;
   10772   return 0;
   10773 }
   10774 _ACEOF
   10775 if ac_fn_c_try_link "$LINENO"
   10776 then :
   10777   eval $cacheid=yes
   10778 else $as_nop
   10779   eval $cacheid=no
   10780 fi
   10781 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10782     conftest$ac_exeext conftest.$ac_ext
   10783 fi
   10784 
   10785 
   10786 		CFLAGS="$xorg_testset_save_CFLAGS"
   10787 
   10788 		eval supported=\$$cacheid
   10789 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10790 printf "%s\n" "$supported" >&6; }
   10791 		if test "$supported" = "yes" ; then
   10792 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10793 			found="yes"
   10794 		fi
   10795 	fi
   10796 
   10797 
   10798 
   10799 
   10800 
   10801 
   10802 
   10803 
   10804 
   10805 
   10806 
   10807 
   10808 
   10809 
   10810 
   10811 xorg_testset_save_CFLAGS="$CFLAGS"
   10812 
   10813 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10814 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10815 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10816 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10817 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10818 then :
   10819   printf %s "(cached) " >&6
   10820 else $as_nop
   10821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10822 /* end confdefs.h.  */
   10823 int i;
   10824 _ACEOF
   10825 if ac_fn_c_try_compile "$LINENO"
   10826 then :
   10827   xorg_cv_cc_flag_unknown_warning_option=yes
   10828 else $as_nop
   10829   xorg_cv_cc_flag_unknown_warning_option=no
   10830 fi
   10831 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10832 fi
   10833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10834 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10835 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10836 	CFLAGS="$xorg_testset_save_CFLAGS"
   10837 fi
   10838 
   10839 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10840 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10841 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10842 	fi
   10843 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10844 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10845 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10846 if test ${xorg_cv_cc_flag_unused_command_line_argument+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_unused_command_line_argument=yes
   10857 else $as_nop
   10858   xorg_cv_cc_flag_unused_command_line_argument=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_unused_command_line_argument" >&5
   10863 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10864 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10865 	CFLAGS="$xorg_testset_save_CFLAGS"
   10866 fi
   10867 
   10868 found="no"
   10869 
   10870 	if test $found = "no" ; then
   10871 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10872 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10873 		fi
   10874 
   10875 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10876 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10877 		fi
   10878 
   10879 		CFLAGS="$CFLAGS -Werror"
   10880 
   10881 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10882 printf %s "checking if $CC supports -Werror... " >&6; }
   10883 		cacheid=xorg_cv_cc_flag__Werror
   10884 		if eval test \${$cacheid+y}
   10885 then :
   10886   printf %s "(cached) " >&6
   10887 else $as_nop
   10888   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10889 /* end confdefs.h.  */
   10890 int i;
   10891 int
   10892 main (void)
   10893 {
   10894 
   10895   ;
   10896   return 0;
   10897 }
   10898 _ACEOF
   10899 if ac_fn_c_try_link "$LINENO"
   10900 then :
   10901   eval $cacheid=yes
   10902 else $as_nop
   10903   eval $cacheid=no
   10904 fi
   10905 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10906     conftest$ac_exeext conftest.$ac_ext
   10907 fi
   10908 
   10909 
   10910 		CFLAGS="$xorg_testset_save_CFLAGS"
   10911 
   10912 		eval supported=\$$cacheid
   10913 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10914 printf "%s\n" "$supported" >&6; }
   10915 		if test "$supported" = "yes" ; then
   10916 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10917 			found="yes"
   10918 		fi
   10919 	fi
   10920 
   10921 	if test $found = "no" ; then
   10922 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10923 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10924 		fi
   10925 
   10926 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10927 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10928 		fi
   10929 
   10930 		CFLAGS="$CFLAGS -errwarn"
   10931 
   10932 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10933 printf %s "checking if $CC supports -errwarn... " >&6; }
   10934 		cacheid=xorg_cv_cc_flag__errwarn
   10935 		if eval test \${$cacheid+y}
   10936 then :
   10937   printf %s "(cached) " >&6
   10938 else $as_nop
   10939   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10940 /* end confdefs.h.  */
   10941 int i;
   10942 int
   10943 main (void)
   10944 {
   10945 
   10946   ;
   10947   return 0;
   10948 }
   10949 _ACEOF
   10950 if ac_fn_c_try_link "$LINENO"
   10951 then :
   10952   eval $cacheid=yes
   10953 else $as_nop
   10954   eval $cacheid=no
   10955 fi
   10956 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10957     conftest$ac_exeext conftest.$ac_ext
   10958 fi
   10959 
   10960 
   10961 		CFLAGS="$xorg_testset_save_CFLAGS"
   10962 
   10963 		eval supported=\$$cacheid
   10964 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10965 printf "%s\n" "$supported" >&6; }
   10966 		if test "$supported" = "yes" ; then
   10967 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10968 			found="yes"
   10969 		fi
   10970 	fi
   10971 
   10972 
   10973 
   10974 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10975 # activate it with -Werror, so we add it here explicitly.
   10976 
   10977 
   10978 
   10979 
   10980 
   10981 
   10982 
   10983 
   10984 
   10985 
   10986 
   10987 
   10988 
   10989 xorg_testset_save_CFLAGS="$CFLAGS"
   10990 
   10991 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10992 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10993 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10994 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10995 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10996 then :
   10997   printf %s "(cached) " >&6
   10998 else $as_nop
   10999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11000 /* end confdefs.h.  */
   11001 int i;
   11002 _ACEOF
   11003 if ac_fn_c_try_compile "$LINENO"
   11004 then :
   11005   xorg_cv_cc_flag_unknown_warning_option=yes
   11006 else $as_nop
   11007   xorg_cv_cc_flag_unknown_warning_option=no
   11008 fi
   11009 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   11010 fi
   11011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11012 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11013 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11014 	CFLAGS="$xorg_testset_save_CFLAGS"
   11015 fi
   11016 
   11017 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11018 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11019 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11020 	fi
   11021 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11022 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11023 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11024 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11025 then :
   11026   printf %s "(cached) " >&6
   11027 else $as_nop
   11028   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11029 /* end confdefs.h.  */
   11030 int i;
   11031 _ACEOF
   11032 if ac_fn_c_try_compile "$LINENO"
   11033 then :
   11034   xorg_cv_cc_flag_unused_command_line_argument=yes
   11035 else $as_nop
   11036   xorg_cv_cc_flag_unused_command_line_argument=no
   11037 fi
   11038 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   11039 fi
   11040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11041 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11042 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11043 	CFLAGS="$xorg_testset_save_CFLAGS"
   11044 fi
   11045 
   11046 found="no"
   11047 
   11048 	if test $found = "no" ; then
   11049 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11050 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11051 		fi
   11052 
   11053 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11054 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11055 		fi
   11056 
   11057 		CFLAGS="$CFLAGS -Werror=attributes"
   11058 
   11059 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11060 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11061 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11062 		if eval test \${$cacheid+y}
   11063 then :
   11064   printf %s "(cached) " >&6
   11065 else $as_nop
   11066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11067 /* end confdefs.h.  */
   11068 int i;
   11069 int
   11070 main (void)
   11071 {
   11072 
   11073   ;
   11074   return 0;
   11075 }
   11076 _ACEOF
   11077 if ac_fn_c_try_link "$LINENO"
   11078 then :
   11079   eval $cacheid=yes
   11080 else $as_nop
   11081   eval $cacheid=no
   11082 fi
   11083 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11084     conftest$ac_exeext conftest.$ac_ext
   11085 fi
   11086 
   11087 
   11088 		CFLAGS="$xorg_testset_save_CFLAGS"
   11089 
   11090 		eval supported=\$$cacheid
   11091 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11092 printf "%s\n" "$supported" >&6; }
   11093 		if test "$supported" = "yes" ; then
   11094 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11095 			found="yes"
   11096 		fi
   11097 	fi
   11098 
   11099 
   11100 
   11101 if test "x$STRICT_COMPILE" = "xyes"; then
   11102     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11103     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11104 fi
   11105 
   11106 
   11107 
   11108 
   11109 
   11110 
   11111 cat >>confdefs.h <<_ACEOF
   11112 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11113 _ACEOF
   11114 
   11115 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11116 	if test "x$PVM" = "x"; then
   11117 		PVM="0"
   11118 	fi
   11119 
   11120 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11121 
   11122 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11123 	if test "x$PVP" = "x"; then
   11124 		PVP="0"
   11125 	fi
   11126 
   11127 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11128 
   11129 
   11130 
   11131 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11132 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11133 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11134 touch \$(top_srcdir)/ChangeLog; \
   11135 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11136 
   11137 
   11138 
   11139 
   11140 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11141 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11142 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11143 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11144 touch \$(top_srcdir)/INSTALL; \
   11145 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11146 
   11147 
   11148 
   11149 
   11150 
   11151 
   11152 case $host_os in
   11153     solaris*)
   11154         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11155         # check for a man page file found in later versions that use
   11156         # traditional section numbers instead
   11157         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11158 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11159 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11160 then :
   11161   printf %s "(cached) " >&6
   11162 else $as_nop
   11163   test "$cross_compiling" = yes &&
   11164   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11165 if test -r "/usr/share/man/man7/attributes.7"; then
   11166   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11167 else
   11168   ac_cv_file__usr_share_man_man7_attributes_7=no
   11169 fi
   11170 fi
   11171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11172 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11173 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11174 then :
   11175   SYSV_MAN_SECTIONS=false
   11176 else $as_nop
   11177   SYSV_MAN_SECTIONS=true
   11178 fi
   11179 
   11180         ;;
   11181     *) SYSV_MAN_SECTIONS=false ;;
   11182 esac
   11183 
   11184 if test x$APP_MAN_SUFFIX = x    ; then
   11185     APP_MAN_SUFFIX=1
   11186 fi
   11187 if test x$APP_MAN_DIR = x    ; then
   11188     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11189 fi
   11190 
   11191 if test x$LIB_MAN_SUFFIX = x    ; then
   11192     LIB_MAN_SUFFIX=3
   11193 fi
   11194 if test x$LIB_MAN_DIR = x    ; then
   11195     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11196 fi
   11197 
   11198 if test x$FILE_MAN_SUFFIX = x    ; then
   11199     case $SYSV_MAN_SECTIONS in
   11200 	true)				FILE_MAN_SUFFIX=4  ;;
   11201 	*)				FILE_MAN_SUFFIX=5  ;;
   11202     esac
   11203 fi
   11204 if test x$FILE_MAN_DIR = x    ; then
   11205     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11206 fi
   11207 
   11208 if test x$MISC_MAN_SUFFIX = x    ; then
   11209     case $SYSV_MAN_SECTIONS in
   11210 	true)				MISC_MAN_SUFFIX=5  ;;
   11211 	*)				MISC_MAN_SUFFIX=7  ;;
   11212     esac
   11213 fi
   11214 if test x$MISC_MAN_DIR = x    ; then
   11215     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11216 fi
   11217 
   11218 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11219     case $SYSV_MAN_SECTIONS in
   11220 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11221 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11222     esac
   11223 fi
   11224 if test x$DRIVER_MAN_DIR = x    ; then
   11225     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11226 fi
   11227 
   11228 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11229     case $SYSV_MAN_SECTIONS in
   11230 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11231 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11232     esac
   11233 fi
   11234 if test x$ADMIN_MAN_DIR = x    ; then
   11235     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11236 fi
   11237 
   11238 
   11239 
   11240 
   11241 
   11242 
   11243 
   11244 
   11245 
   11246 
   11247 
   11248 
   11249 
   11250 
   11251 
   11252 XORG_MAN_PAGE="X Version 11"
   11253 
   11254 MAN_SUBSTS="\
   11255 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11256 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11257 	-e 's|__xservername__|Xorg|g' \
   11258 	-e 's|__xconfigfile__|xorg.conf|g' \
   11259 	-e 's|__projectroot__|\$(prefix)|g' \
   11260 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11261 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11262 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11263 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11264 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11265 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11266 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11267 
   11268 
   11269 
   11270 # Check whether --enable-silent-rules was given.
   11271 if test ${enable_silent_rules+y}
   11272 then :
   11273   enableval=$enable_silent_rules;
   11274 fi
   11275 
   11276 case $enable_silent_rules in # (((
   11277   yes) AM_DEFAULT_VERBOSITY=0;;
   11278    no) AM_DEFAULT_VERBOSITY=1;;
   11279     *) AM_DEFAULT_VERBOSITY=0;;
   11280 esac
   11281 am_make=${MAKE-make}
   11282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11283 printf %s "checking whether $am_make supports nested variables... " >&6; }
   11284 if test ${am_cv_make_support_nested_variables+y}
   11285 then :
   11286   printf %s "(cached) " >&6
   11287 else $as_nop
   11288   if printf "%s\n" 'TRUE=$(BAR$(V))
   11289 BAR0=false
   11290 BAR1=true
   11291 V=1
   11292 am__doit:
   11293 	@$(TRUE)
   11294 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11295   am_cv_make_support_nested_variables=yes
   11296 else
   11297   am_cv_make_support_nested_variables=no
   11298 fi
   11299 fi
   11300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11301 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   11302 if test $am_cv_make_support_nested_variables = yes; then
   11303     AM_V='$(V)'
   11304   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11305 else
   11306   AM_V=$AM_DEFAULT_VERBOSITY
   11307   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11308 fi
   11309 AM_BACKSLASH='\'
   11310 
   11311 
   11312 
   11313 ac_fn_c_check_func "$LINENO" "strncasecmp" "ac_cv_func_strncasecmp"
   11314 if test "x$ac_cv_func_strncasecmp" = xyes
   11315 then :
   11316   printf "%s\n" "#define HAVE_STRNCASECMP 1" >>confdefs.h
   11317 
   11318 fi
   11319 ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf"
   11320 if test "x$ac_cv_func_asprintf" = xyes
   11321 then :
   11322   printf "%s\n" "#define HAVE_ASPRINTF 1" >>confdefs.h
   11323 
   11324 fi
   11325 
   11326 
   11327 # Checks for pkg-config packages
   11328 
   11329 pkg_failed=no
   11330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XMODMAP" >&5
   11331 printf %s "checking for XMODMAP... " >&6; }
   11332 
   11333 if test -n "$XMODMAP_CFLAGS"; then
   11334     pkg_cv_XMODMAP_CFLAGS="$XMODMAP_CFLAGS"
   11335  elif test -n "$PKG_CONFIG"; then
   11336     if test -n "$PKG_CONFIG" && \
   11337     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xproto >= 7.0.25\""; } >&5
   11338   ($PKG_CONFIG --exists --print-errors "x11 xproto >= 7.0.25") 2>&5
   11339   ac_status=$?
   11340   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11341   test $ac_status = 0; }; then
   11342   pkg_cv_XMODMAP_CFLAGS=`$PKG_CONFIG --cflags "x11 xproto >= 7.0.25" 2>/dev/null`
   11343 		      test "x$?" != "x0" && pkg_failed=yes
   11344 else
   11345   pkg_failed=yes
   11346 fi
   11347  else
   11348     pkg_failed=untried
   11349 fi
   11350 if test -n "$XMODMAP_LIBS"; then
   11351     pkg_cv_XMODMAP_LIBS="$XMODMAP_LIBS"
   11352  elif test -n "$PKG_CONFIG"; then
   11353     if test -n "$PKG_CONFIG" && \
   11354     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xproto >= 7.0.25\""; } >&5
   11355   ($PKG_CONFIG --exists --print-errors "x11 xproto >= 7.0.25") 2>&5
   11356   ac_status=$?
   11357   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11358   test $ac_status = 0; }; then
   11359   pkg_cv_XMODMAP_LIBS=`$PKG_CONFIG --libs "x11 xproto >= 7.0.25" 2>/dev/null`
   11360 		      test "x$?" != "x0" && pkg_failed=yes
   11361 else
   11362   pkg_failed=yes
   11363 fi
   11364  else
   11365     pkg_failed=untried
   11366 fi
   11367 
   11368 
   11369 
   11370 if test $pkg_failed = yes; then
   11371    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11372 printf "%s\n" "no" >&6; }
   11373 
   11374 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11375         _pkg_short_errors_supported=yes
   11376 else
   11377         _pkg_short_errors_supported=no
   11378 fi
   11379         if test $_pkg_short_errors_supported = yes; then
   11380 	        XMODMAP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 xproto >= 7.0.25" 2>&1`
   11381         else
   11382 	        XMODMAP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 xproto >= 7.0.25" 2>&1`
   11383         fi
   11384 	# Put the nasty error message in config.log where it belongs
   11385 	echo "$XMODMAP_PKG_ERRORS" >&5
   11386 
   11387 	as_fn_error $? "Package requirements (x11 xproto >= 7.0.25) were not met:
   11388 
   11389 $XMODMAP_PKG_ERRORS
   11390 
   11391 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11392 installed software in a non-standard prefix.
   11393 
   11394 Alternatively, you may set the environment variables XMODMAP_CFLAGS
   11395 and XMODMAP_LIBS to avoid the need to call pkg-config.
   11396 See the pkg-config man page for more details." "$LINENO" 5
   11397 elif test $pkg_failed = untried; then
   11398      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11399 printf "%s\n" "no" >&6; }
   11400 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11401 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   11402 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11403 is in your PATH or set the PKG_CONFIG environment variable to the full
   11404 path to pkg-config.
   11405 
   11406 Alternatively, you may set the environment variables XMODMAP_CFLAGS
   11407 and XMODMAP_LIBS to avoid the need to call pkg-config.
   11408 See the pkg-config man page for more details.
   11409 
   11410 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11411 See \`config.log' for more details" "$LINENO" 5; }
   11412 else
   11413 	XMODMAP_CFLAGS=$pkg_cv_XMODMAP_CFLAGS
   11414 	XMODMAP_LIBS=$pkg_cv_XMODMAP_LIBS
   11415         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11416 printf "%s\n" "yes" >&6; }
   11417 
   11418 fi
   11419 
   11420 
   11421 
   11422 
   11423 
   11424 
   11425 # Check whether --with-lint was given.
   11426 if test ${with_lint+y}
   11427 then :
   11428   withval=$with_lint; use_lint=$withval
   11429 else $as_nop
   11430   use_lint=no
   11431 fi
   11432 
   11433 
   11434 # Obtain platform specific info like program name and options
   11435 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   11436 case $host_os in
   11437   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   11438 	lint_name=splint
   11439 	lint_options="-badflag"
   11440 	;;
   11441   *freebsd* | *netbsd*)
   11442 	lint_name=lint
   11443 	lint_options="-u -b"
   11444 	;;
   11445   *solaris*)
   11446 	lint_name=lint
   11447 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   11448 	;;
   11449 esac
   11450 
   11451 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   11452 if test "x$use_lint" = x"yes" ; then
   11453    # Extract the first word of "$lint_name", so it can be a program name with args.
   11454 set dummy $lint_name; ac_word=$2
   11455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11456 printf %s "checking for $ac_word... " >&6; }
   11457 if test ${ac_cv_path_LINT+y}
   11458 then :
   11459   printf %s "(cached) " >&6
   11460 else $as_nop
   11461   case $LINT in
   11462   [\\/]* | ?:[\\/]*)
   11463   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   11464   ;;
   11465   *)
   11466   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11467 for as_dir in $PATH
   11468 do
   11469   IFS=$as_save_IFS
   11470   case $as_dir in #(((
   11471     '') as_dir=./ ;;
   11472     */) ;;
   11473     *) as_dir=$as_dir/ ;;
   11474   esac
   11475     for ac_exec_ext in '' $ac_executable_extensions; do
   11476   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11477     ac_cv_path_LINT="$as_dir$ac_word$ac_exec_ext"
   11478     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11479     break 2
   11480   fi
   11481 done
   11482   done
   11483 IFS=$as_save_IFS
   11484 
   11485   ;;
   11486 esac
   11487 fi
   11488 LINT=$ac_cv_path_LINT
   11489 if test -n "$LINT"; then
   11490   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   11491 printf "%s\n" "$LINT" >&6; }
   11492 else
   11493   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11494 printf "%s\n" "no" >&6; }
   11495 fi
   11496 
   11497 
   11498    if test "x$LINT" = "x"; then
   11499         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   11500    fi
   11501 elif test "x$use_lint" = x"no" ; then
   11502    if test "x$LINT" != "x"; then
   11503       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   11504 printf "%s\n" "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   11505    fi
   11506 else
   11507    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   11508 fi
   11509 
   11510 # User supplied flags override default flags
   11511 if test "x$LINT_FLAGS" != "x"; then
   11512    lint_options=$LINT_FLAGS
   11513 fi
   11514 
   11515 LINT_FLAGS=$lint_options
   11516 
   11517  if test "x$LINT" != x; then
   11518   LINT_TRUE=
   11519   LINT_FALSE='#'
   11520 else
   11521   LINT_TRUE='#'
   11522   LINT_FALSE=
   11523 fi
   11524 
   11525 
   11526 
   11527 
   11528 ac_config_files="$ac_config_files Makefile man/Makefile"
   11529 
   11530 cat >confcache <<\_ACEOF
   11531 # This file is a shell script that caches the results of configure
   11532 # tests run on this system so they can be shared between configure
   11533 # scripts and configure runs, see configure's option --config-cache.
   11534 # It is not useful on other systems.  If it contains results you don't
   11535 # want to keep, you may remove or edit it.
   11536 #
   11537 # config.status only pays attention to the cache file if you give it
   11538 # the --recheck option to rerun configure.
   11539 #
   11540 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11541 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11542 # following values.
   11543 
   11544 _ACEOF
   11545 
   11546 # The following way of writing the cache mishandles newlines in values,
   11547 # but we know of no workaround that is simple, portable, and efficient.
   11548 # So, we kill variables containing newlines.
   11549 # Ultrix sh set writes to stderr and can't be redirected directly,
   11550 # and sets the high bit in the cache file unless we assign to the vars.
   11551 (
   11552   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11553     eval ac_val=\$$ac_var
   11554     case $ac_val in #(
   11555     *${as_nl}*)
   11556       case $ac_var in #(
   11557       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11558 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11559       esac
   11560       case $ac_var in #(
   11561       _ | IFS | as_nl) ;; #(
   11562       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11563       *) { eval $ac_var=; unset $ac_var;} ;;
   11564       esac ;;
   11565     esac
   11566   done
   11567 
   11568   (set) 2>&1 |
   11569     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11570     *${as_nl}ac_space=\ *)
   11571       # `set' does not quote correctly, so add quotes: double-quote
   11572       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11573       sed -n \
   11574 	"s/'/'\\\\''/g;
   11575 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11576       ;; #(
   11577     *)
   11578       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11579       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11580       ;;
   11581     esac |
   11582     sort
   11583 ) |
   11584   sed '
   11585      /^ac_cv_env_/b end
   11586      t clear
   11587      :clear
   11588      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   11589      t end
   11590      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11591      :end' >>confcache
   11592 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11593   if test -w "$cache_file"; then
   11594     if test "x$cache_file" != "x/dev/null"; then
   11595       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11596 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   11597       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11598 	cat confcache >"$cache_file"
   11599       else
   11600         case $cache_file in #(
   11601         */* | ?:*)
   11602 	  mv -f confcache "$cache_file"$$ &&
   11603 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11604         *)
   11605 	  mv -f confcache "$cache_file" ;;
   11606 	esac
   11607       fi
   11608     fi
   11609   else
   11610     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11611 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   11612   fi
   11613 fi
   11614 rm -f confcache
   11615 
   11616 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11617 # Let make expand exec_prefix.
   11618 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11619 
   11620 DEFS=-DHAVE_CONFIG_H
   11621 
   11622 ac_libobjs=
   11623 ac_ltlibobjs=
   11624 U=
   11625 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11626   # 1. Remove the extension, and $U if already installed.
   11627   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11628   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   11629   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11630   #    will be set to the directory where LIBOBJS objects are built.
   11631   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11632   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11633 done
   11634 LIBOBJS=$ac_libobjs
   11635 
   11636 LTLIBOBJS=$ac_ltlibobjs
   11637 
   11638 
   11639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11640 printf %s "checking that generated files are newer than configure... " >&6; }
   11641    if test -n "$am_sleep_pid"; then
   11642      # Hide warnings about reused PIDs.
   11643      wait $am_sleep_pid 2>/dev/null
   11644    fi
   11645    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11646 printf "%s\n" "done" >&6; }
   11647 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11648   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11649 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11650 fi
   11651 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11652   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11653 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11654 fi
   11655  if test -n "$EXEEXT"; then
   11656   am__EXEEXT_TRUE=
   11657   am__EXEEXT_FALSE='#'
   11658 else
   11659   am__EXEEXT_TRUE='#'
   11660   am__EXEEXT_FALSE=
   11661 fi
   11662 
   11663 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   11664   as_fn_error $? "conditional \"LINT\" was never defined.
   11665 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11666 fi
   11667 
   11668 : "${CONFIG_STATUS=./config.status}"
   11669 ac_write_fail=0
   11670 ac_clean_files_save=$ac_clean_files
   11671 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11673 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   11674 as_write_fail=0
   11675 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11676 #! $SHELL
   11677 # Generated by $as_me.
   11678 # Run this file to recreate the current configuration.
   11679 # Compiler output produced by configure, useful for debugging
   11680 # configure, is in config.log if it exists.
   11681 
   11682 debug=false
   11683 ac_cs_recheck=false
   11684 ac_cs_silent=false
   11685 
   11686 SHELL=\${CONFIG_SHELL-$SHELL}
   11687 export SHELL
   11688 _ASEOF
   11689 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11690 ## -------------------- ##
   11691 ## M4sh Initialization. ##
   11692 ## -------------------- ##
   11693 
   11694 # Be more Bourne compatible
   11695 DUALCASE=1; export DUALCASE # for MKS sh
   11696 as_nop=:
   11697 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   11698 then :
   11699   emulate sh
   11700   NULLCMD=:
   11701   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11702   # is contrary to our usage.  Disable this feature.
   11703   alias -g '${1+"$@"}'='"$@"'
   11704   setopt NO_GLOB_SUBST
   11705 else $as_nop
   11706   case `(set -o) 2>/dev/null` in #(
   11707   *posix*) :
   11708     set -o posix ;; #(
   11709   *) :
   11710      ;;
   11711 esac
   11712 fi
   11713 
   11714 
   11715 
   11716 # Reset variables that may have inherited troublesome values from
   11717 # the environment.
   11718 
   11719 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   11720 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   11721 # side effect of setting IFS to empty, thus disabling word splitting.)
   11722 # Quoting is to prevent editors from complaining about space-tab.
   11723 as_nl='
   11724 '
   11725 export as_nl
   11726 IFS=" ""	$as_nl"
   11727 
   11728 PS1='$ '
   11729 PS2='> '
   11730 PS4='+ '
   11731 
   11732 # Ensure predictable behavior from utilities with locale-dependent output.
   11733 LC_ALL=C
   11734 export LC_ALL
   11735 LANGUAGE=C
   11736 export LANGUAGE
   11737 
   11738 # We cannot yet rely on "unset" to work, but we need these variables
   11739 # to be unset--not just set to an empty or harmless value--now, to
   11740 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   11741 # also avoids known problems related to "unset" and subshell syntax
   11742 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   11743 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   11744 do eval test \${$as_var+y} \
   11745   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11746 done
   11747 
   11748 # Ensure that fds 0, 1, and 2 are open.
   11749 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   11750 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   11751 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   11752 
   11753 # The user is always right.
   11754 if ${PATH_SEPARATOR+false} :; then
   11755   PATH_SEPARATOR=:
   11756   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11757     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11758       PATH_SEPARATOR=';'
   11759   }
   11760 fi
   11761 
   11762 
   11763 # Find who we are.  Look in the path if we contain no directory separator.
   11764 as_myself=
   11765 case $0 in #((
   11766   *[\\/]* ) as_myself=$0 ;;
   11767   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11768 for as_dir in $PATH
   11769 do
   11770   IFS=$as_save_IFS
   11771   case $as_dir in #(((
   11772     '') as_dir=./ ;;
   11773     */) ;;
   11774     *) as_dir=$as_dir/ ;;
   11775   esac
   11776     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   11777   done
   11778 IFS=$as_save_IFS
   11779 
   11780      ;;
   11781 esac
   11782 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11783 # in which case we are not to be found in the path.
   11784 if test "x$as_myself" = x; then
   11785   as_myself=$0
   11786 fi
   11787 if test ! -f "$as_myself"; then
   11788   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11789   exit 1
   11790 fi
   11791 
   11792 
   11793 
   11794 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11795 # ----------------------------------------
   11796 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11797 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11798 # script with STATUS, using 1 if that was 0.
   11799 as_fn_error ()
   11800 {
   11801   as_status=$1; test $as_status -eq 0 && as_status=1
   11802   if test "$4"; then
   11803     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11804     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11805   fi
   11806   printf "%s\n" "$as_me: error: $2" >&2
   11807   as_fn_exit $as_status
   11808 } # as_fn_error
   11809 
   11810 
   11811 
   11812 # as_fn_set_status STATUS
   11813 # -----------------------
   11814 # Set $? to STATUS, without forking.
   11815 as_fn_set_status ()
   11816 {
   11817   return $1
   11818 } # as_fn_set_status
   11819 
   11820 # as_fn_exit STATUS
   11821 # -----------------
   11822 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11823 as_fn_exit ()
   11824 {
   11825   set +e
   11826   as_fn_set_status $1
   11827   exit $1
   11828 } # as_fn_exit
   11829 
   11830 # as_fn_unset VAR
   11831 # ---------------
   11832 # Portably unset VAR.
   11833 as_fn_unset ()
   11834 {
   11835   { eval $1=; unset $1;}
   11836 }
   11837 as_unset=as_fn_unset
   11838 
   11839 # as_fn_append VAR VALUE
   11840 # ----------------------
   11841 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11842 # advantage of any shell optimizations that allow amortized linear growth over
   11843 # repeated appends, instead of the typical quadratic growth present in naive
   11844 # implementations.
   11845 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   11846 then :
   11847   eval 'as_fn_append ()
   11848   {
   11849     eval $1+=\$2
   11850   }'
   11851 else $as_nop
   11852   as_fn_append ()
   11853   {
   11854     eval $1=\$$1\$2
   11855   }
   11856 fi # as_fn_append
   11857 
   11858 # as_fn_arith ARG...
   11859 # ------------------
   11860 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11861 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11862 # must be portable across $(()) and expr.
   11863 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   11864 then :
   11865   eval 'as_fn_arith ()
   11866   {
   11867     as_val=$(( $* ))
   11868   }'
   11869 else $as_nop
   11870   as_fn_arith ()
   11871   {
   11872     as_val=`expr "$@" || test $? -eq 1`
   11873   }
   11874 fi # as_fn_arith
   11875 
   11876 
   11877 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11878    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11879   as_expr=expr
   11880 else
   11881   as_expr=false
   11882 fi
   11883 
   11884 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11885   as_basename=basename
   11886 else
   11887   as_basename=false
   11888 fi
   11889 
   11890 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11891   as_dirname=dirname
   11892 else
   11893   as_dirname=false
   11894 fi
   11895 
   11896 as_me=`$as_basename -- "$0" ||
   11897 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11898 	 X"$0" : 'X\(//\)$' \| \
   11899 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11900 printf "%s\n" X/"$0" |
   11901     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11902 	    s//\1/
   11903 	    q
   11904 	  }
   11905 	  /^X\/\(\/\/\)$/{
   11906 	    s//\1/
   11907 	    q
   11908 	  }
   11909 	  /^X\/\(\/\).*/{
   11910 	    s//\1/
   11911 	    q
   11912 	  }
   11913 	  s/.*/./; q'`
   11914 
   11915 # Avoid depending upon Character Ranges.
   11916 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11917 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11918 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11919 as_cr_digits='0123456789'
   11920 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11921 
   11922 
   11923 # Determine whether it's possible to make 'echo' print without a newline.
   11924 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   11925 # for compatibility with existing Makefiles.
   11926 ECHO_C= ECHO_N= ECHO_T=
   11927 case `echo -n x` in #(((((
   11928 -n*)
   11929   case `echo 'xy\c'` in
   11930   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11931   xy)  ECHO_C='\c';;
   11932   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11933        ECHO_T='	';;
   11934   esac;;
   11935 *)
   11936   ECHO_N='-n';;
   11937 esac
   11938 
   11939 # For backward compatibility with old third-party macros, we provide
   11940 # the shell variables $as_echo and $as_echo_n.  New code should use
   11941 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   11942 as_echo='printf %s\n'
   11943 as_echo_n='printf %s'
   11944 
   11945 rm -f conf$$ conf$$.exe conf$$.file
   11946 if test -d conf$$.dir; then
   11947   rm -f conf$$.dir/conf$$.file
   11948 else
   11949   rm -f conf$$.dir
   11950   mkdir conf$$.dir 2>/dev/null
   11951 fi
   11952 if (echo >conf$$.file) 2>/dev/null; then
   11953   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11954     as_ln_s='ln -s'
   11955     # ... but there are two gotchas:
   11956     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11957     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11958     # In both cases, we have to default to `cp -pR'.
   11959     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11960       as_ln_s='cp -pR'
   11961   elif ln conf$$.file conf$$ 2>/dev/null; then
   11962     as_ln_s=ln
   11963   else
   11964     as_ln_s='cp -pR'
   11965   fi
   11966 else
   11967   as_ln_s='cp -pR'
   11968 fi
   11969 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11970 rmdir conf$$.dir 2>/dev/null
   11971 
   11972 
   11973 # as_fn_mkdir_p
   11974 # -------------
   11975 # Create "$as_dir" as a directory, including parents if necessary.
   11976 as_fn_mkdir_p ()
   11977 {
   11978 
   11979   case $as_dir in #(
   11980   -*) as_dir=./$as_dir;;
   11981   esac
   11982   test -d "$as_dir" || eval $as_mkdir_p || {
   11983     as_dirs=
   11984     while :; do
   11985       case $as_dir in #(
   11986       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11987       *) as_qdir=$as_dir;;
   11988       esac
   11989       as_dirs="'$as_qdir' $as_dirs"
   11990       as_dir=`$as_dirname -- "$as_dir" ||
   11991 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11992 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11993 	 X"$as_dir" : 'X\(//\)$' \| \
   11994 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11995 printf "%s\n" X"$as_dir" |
   11996     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11997 	    s//\1/
   11998 	    q
   11999 	  }
   12000 	  /^X\(\/\/\)[^/].*/{
   12001 	    s//\1/
   12002 	    q
   12003 	  }
   12004 	  /^X\(\/\/\)$/{
   12005 	    s//\1/
   12006 	    q
   12007 	  }
   12008 	  /^X\(\/\).*/{
   12009 	    s//\1/
   12010 	    q
   12011 	  }
   12012 	  s/.*/./; q'`
   12013       test -d "$as_dir" && break
   12014     done
   12015     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12016   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12017 
   12018 
   12019 } # as_fn_mkdir_p
   12020 if mkdir -p . 2>/dev/null; then
   12021   as_mkdir_p='mkdir -p "$as_dir"'
   12022 else
   12023   test -d ./-p && rmdir ./-p
   12024   as_mkdir_p=false
   12025 fi
   12026 
   12027 
   12028 # as_fn_executable_p FILE
   12029 # -----------------------
   12030 # Test if FILE is an executable regular file.
   12031 as_fn_executable_p ()
   12032 {
   12033   test -f "$1" && test -x "$1"
   12034 } # as_fn_executable_p
   12035 as_test_x='test -x'
   12036 as_executable_p=as_fn_executable_p
   12037 
   12038 # Sed expression to map a string onto a valid CPP name.
   12039 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   12040 
   12041 # Sed expression to map a string onto a valid variable name.
   12042 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   12043 
   12044 
   12045 exec 6>&1
   12046 ## ----------------------------------- ##
   12047 ## Main body of $CONFIG_STATUS script. ##
   12048 ## ----------------------------------- ##
   12049 _ASEOF
   12050 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   12051 
   12052 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12053 # Save the log message, to keep $0 and so on meaningful, and to
   12054 # report actual input values of CONFIG_FILES etc. instead of their
   12055 # values after options handling.
   12056 ac_log="
   12057 This file was extended by xmodmap $as_me 1.0.11, which was
   12058 generated by GNU Autoconf 2.71.  Invocation command line was
   12059 
   12060   CONFIG_FILES    = $CONFIG_FILES
   12061   CONFIG_HEADERS  = $CONFIG_HEADERS
   12062   CONFIG_LINKS    = $CONFIG_LINKS
   12063   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12064   $ $0 $@
   12065 
   12066 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12067 "
   12068 
   12069 _ACEOF
   12070 
   12071 case $ac_config_files in *"
   12072 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12073 esac
   12074 
   12075 case $ac_config_headers in *"
   12076 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12077 esac
   12078 
   12079 
   12080 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12081 # Files that config.status was made for.
   12082 config_files="$ac_config_files"
   12083 config_headers="$ac_config_headers"
   12084 config_commands="$ac_config_commands"
   12085 
   12086 _ACEOF
   12087 
   12088 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12089 ac_cs_usage="\
   12090 \`$as_me' instantiates files and other configuration actions
   12091 from templates according to the current configuration.  Unless the files
   12092 and actions are specified as TAGs, all are instantiated by default.
   12093 
   12094 Usage: $0 [OPTION]... [TAG]...
   12095 
   12096   -h, --help       print this help, then exit
   12097   -V, --version    print version number and configuration settings, then exit
   12098       --config     print configuration, then exit
   12099   -q, --quiet, --silent
   12100                    do not print progress messages
   12101   -d, --debug      don't remove temporary files
   12102       --recheck    update $as_me by reconfiguring in the same conditions
   12103       --file=FILE[:TEMPLATE]
   12104                    instantiate the configuration file FILE
   12105       --header=FILE[:TEMPLATE]
   12106                    instantiate the configuration header FILE
   12107 
   12108 Configuration files:
   12109 $config_files
   12110 
   12111 Configuration headers:
   12112 $config_headers
   12113 
   12114 Configuration commands:
   12115 $config_commands
   12116 
   12117 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xmodmap/issues>."
   12118 
   12119 _ACEOF
   12120 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   12121 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   12122 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12123 ac_cs_config='$ac_cs_config_escaped'
   12124 ac_cs_version="\\
   12125 xmodmap config.status 1.0.11
   12126 configured by $0, generated by GNU Autoconf 2.71,
   12127   with options \\"\$ac_cs_config\\"
   12128 
   12129 Copyright (C) 2021 Free Software Foundation, Inc.
   12130 This config.status script is free software; the Free Software Foundation
   12131 gives unlimited permission to copy, distribute and modify it."
   12132 
   12133 ac_pwd='$ac_pwd'
   12134 srcdir='$srcdir'
   12135 INSTALL='$INSTALL'
   12136 MKDIR_P='$MKDIR_P'
   12137 AWK='$AWK'
   12138 test -n "\$AWK" || AWK=awk
   12139 _ACEOF
   12140 
   12141 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12142 # The default lists apply if the user does not specify any file.
   12143 ac_need_defaults=:
   12144 while test $# != 0
   12145 do
   12146   case $1 in
   12147   --*=?*)
   12148     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12149     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12150     ac_shift=:
   12151     ;;
   12152   --*=)
   12153     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12154     ac_optarg=
   12155     ac_shift=:
   12156     ;;
   12157   *)
   12158     ac_option=$1
   12159     ac_optarg=$2
   12160     ac_shift=shift
   12161     ;;
   12162   esac
   12163 
   12164   case $ac_option in
   12165   # Handling of the options.
   12166   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12167     ac_cs_recheck=: ;;
   12168   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12169     printf "%s\n" "$ac_cs_version"; exit ;;
   12170   --config | --confi | --conf | --con | --co | --c )
   12171     printf "%s\n" "$ac_cs_config"; exit ;;
   12172   --debug | --debu | --deb | --de | --d | -d )
   12173     debug=: ;;
   12174   --file | --fil | --fi | --f )
   12175     $ac_shift
   12176     case $ac_optarg in
   12177     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12178     '') as_fn_error $? "missing file argument" ;;
   12179     esac
   12180     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12181     ac_need_defaults=false;;
   12182   --header | --heade | --head | --hea )
   12183     $ac_shift
   12184     case $ac_optarg in
   12185     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12186     esac
   12187     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12188     ac_need_defaults=false;;
   12189   --he | --h)
   12190     # Conflict between --help and --header
   12191     as_fn_error $? "ambiguous option: \`$1'
   12192 Try \`$0 --help' for more information.";;
   12193   --help | --hel | -h )
   12194     printf "%s\n" "$ac_cs_usage"; exit ;;
   12195   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12196   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12197     ac_cs_silent=: ;;
   12198 
   12199   # This is an error.
   12200   -*) as_fn_error $? "unrecognized option: \`$1'
   12201 Try \`$0 --help' for more information." ;;
   12202 
   12203   *) as_fn_append ac_config_targets " $1"
   12204      ac_need_defaults=false ;;
   12205 
   12206   esac
   12207   shift
   12208 done
   12209 
   12210 ac_configure_extra_args=
   12211 
   12212 if $ac_cs_silent; then
   12213   exec 6>/dev/null
   12214   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12215 fi
   12216 
   12217 _ACEOF
   12218 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12219 if \$ac_cs_recheck; then
   12220   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12221   shift
   12222   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   12223   CONFIG_SHELL='$SHELL'
   12224   export CONFIG_SHELL
   12225   exec "\$@"
   12226 fi
   12227 
   12228 _ACEOF
   12229 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12230 exec 5>>config.log
   12231 {
   12232   echo
   12233   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12234 ## Running $as_me. ##
   12235 _ASBOX
   12236   printf "%s\n" "$ac_log"
   12237 } >&5
   12238 
   12239 _ACEOF
   12240 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12241 #
   12242 # INIT-COMMANDS
   12243 #
   12244 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   12245 
   12246 _ACEOF
   12247 
   12248 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12249 
   12250 # Handling of arguments.
   12251 for ac_config_target in $ac_config_targets
   12252 do
   12253   case $ac_config_target in
   12254     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12255     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12256     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12257     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12258 
   12259   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   12260   esac
   12261 done
   12262 
   12263 
   12264 # If the user did not use the arguments to specify the items to instantiate,
   12265 # then the envvar interface is used.  Set only those that are not.
   12266 # We use the long form for the default assignment because of an extremely
   12267 # bizarre bug on SunOS 4.1.3.
   12268 if $ac_need_defaults; then
   12269   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   12270   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   12271   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   12272 fi
   12273 
   12274 # Have a temporary directory for convenience.  Make it in the build tree
   12275 # simply because there is no reason against having it here, and in addition,
   12276 # creating and moving files from /tmp can sometimes cause problems.
   12277 # Hook for its removal unless debugging.
   12278 # Note that there is a small window in which the directory will not be cleaned:
   12279 # after its creation but before its name has been assigned to `$tmp'.
   12280 $debug ||
   12281 {
   12282   tmp= ac_tmp=
   12283   trap 'exit_status=$?
   12284   : "${ac_tmp:=$tmp}"
   12285   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12286 ' 0
   12287   trap 'as_fn_exit 1' 1 2 13 15
   12288 }
   12289 # Create a (secure) tmp directory for tmp files.
   12290 
   12291 {
   12292   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12293   test -d "$tmp"
   12294 }  ||
   12295 {
   12296   tmp=./conf$$-$RANDOM
   12297   (umask 077 && mkdir "$tmp")
   12298 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12299 ac_tmp=$tmp
   12300 
   12301 # Set up the scripts for CONFIG_FILES section.
   12302 # No need to generate them if there are no CONFIG_FILES.
   12303 # This happens for instance with `./config.status config.h'.
   12304 if test -n "$CONFIG_FILES"; then
   12305 
   12306 
   12307 ac_cr=`echo X | tr X '\015'`
   12308 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12309 # But we know of no other shell where ac_cr would be empty at this
   12310 # point, so we can use a bashism as a fallback.
   12311 if test "x$ac_cr" = x; then
   12312   eval ac_cr=\$\'\\r\'
   12313 fi
   12314 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12315 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12316   ac_cs_awk_cr='\\r'
   12317 else
   12318   ac_cs_awk_cr=$ac_cr
   12319 fi
   12320 
   12321 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12322 _ACEOF
   12323 
   12324 
   12325 {
   12326   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12327   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12328   echo "_ACEOF"
   12329 } >conf$$subs.sh ||
   12330   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12331 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12332 ac_delim='%!_!# '
   12333 for ac_last_try in false false false false false :; do
   12334   . ./conf$$subs.sh ||
   12335     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12336 
   12337   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12338   if test $ac_delim_n = $ac_delim_num; then
   12339     break
   12340   elif $ac_last_try; then
   12341     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12342   else
   12343     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12344   fi
   12345 done
   12346 rm -f conf$$subs.sh
   12347 
   12348 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12349 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12350 _ACEOF
   12351 sed -n '
   12352 h
   12353 s/^/S["/; s/!.*/"]=/
   12354 p
   12355 g
   12356 s/^[^!]*!//
   12357 :repl
   12358 t repl
   12359 s/'"$ac_delim"'$//
   12360 t delim
   12361 :nl
   12362 h
   12363 s/\(.\{148\}\)..*/\1/
   12364 t more1
   12365 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12366 p
   12367 n
   12368 b repl
   12369 :more1
   12370 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12371 p
   12372 g
   12373 s/.\{148\}//
   12374 t nl
   12375 :delim
   12376 h
   12377 s/\(.\{148\}\)..*/\1/
   12378 t more2
   12379 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12380 p
   12381 b
   12382 :more2
   12383 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12384 p
   12385 g
   12386 s/.\{148\}//
   12387 t delim
   12388 ' <conf$$subs.awk | sed '
   12389 /^[^""]/{
   12390   N
   12391   s/\n//
   12392 }
   12393 ' >>$CONFIG_STATUS || ac_write_fail=1
   12394 rm -f conf$$subs.awk
   12395 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12396 _ACAWK
   12397 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12398   for (key in S) S_is_set[key] = 1
   12399   FS = ""
   12400 
   12401 }
   12402 {
   12403   line = $ 0
   12404   nfields = split(line, field, "@")
   12405   substed = 0
   12406   len = length(field[1])
   12407   for (i = 2; i < nfields; i++) {
   12408     key = field[i]
   12409     keylen = length(key)
   12410     if (S_is_set[key]) {
   12411       value = S[key]
   12412       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12413       len += length(value) + length(field[++i])
   12414       substed = 1
   12415     } else
   12416       len += 1 + keylen
   12417   }
   12418 
   12419   print line
   12420 }
   12421 
   12422 _ACAWK
   12423 _ACEOF
   12424 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12425 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12426   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12427 else
   12428   cat
   12429 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12430   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12431 _ACEOF
   12432 
   12433 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12434 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12435 # trailing colons and then remove the whole line if VPATH becomes empty
   12436 # (actually we leave an empty line to preserve line numbers).
   12437 if test "x$srcdir" = x.; then
   12438   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12439 h
   12440 s///
   12441 s/^/:/
   12442 s/[	 ]*$/:/
   12443 s/:\$(srcdir):/:/g
   12444 s/:\${srcdir}:/:/g
   12445 s/:@srcdir@:/:/g
   12446 s/^:*//
   12447 s/:*$//
   12448 x
   12449 s/\(=[	 ]*\).*/\1/
   12450 G
   12451 s/\n//
   12452 s/^[^=]*=[	 ]*$//
   12453 }'
   12454 fi
   12455 
   12456 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12457 fi # test -n "$CONFIG_FILES"
   12458 
   12459 # Set up the scripts for CONFIG_HEADERS section.
   12460 # No need to generate them if there are no CONFIG_HEADERS.
   12461 # This happens for instance with `./config.status Makefile'.
   12462 if test -n "$CONFIG_HEADERS"; then
   12463 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12464 BEGIN {
   12465 _ACEOF
   12466 
   12467 # Transform confdefs.h into an awk script `defines.awk', embedded as
   12468 # here-document in config.status, that substitutes the proper values into
   12469 # config.h.in to produce config.h.
   12470 
   12471 # Create a delimiter string that does not exist in confdefs.h, to ease
   12472 # handling of long lines.
   12473 ac_delim='%!_!# '
   12474 for ac_last_try in false false :; do
   12475   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12476   if test -z "$ac_tt"; then
   12477     break
   12478   elif $ac_last_try; then
   12479     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12480   else
   12481     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12482   fi
   12483 done
   12484 
   12485 # For the awk script, D is an array of macro values keyed by name,
   12486 # likewise P contains macro parameters if any.  Preserve backslash
   12487 # newline sequences.
   12488 
   12489 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12490 sed -n '
   12491 s/.\{148\}/&'"$ac_delim"'/g
   12492 t rset
   12493 :rset
   12494 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12495 t def
   12496 d
   12497 :def
   12498 s/\\$//
   12499 t bsnl
   12500 s/["\\]/\\&/g
   12501 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12502 D["\1"]=" \3"/p
   12503 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12504 d
   12505 :bsnl
   12506 s/["\\]/\\&/g
   12507 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12508 D["\1"]=" \3\\\\\\n"\\/p
   12509 t cont
   12510 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12511 t cont
   12512 d
   12513 :cont
   12514 n
   12515 s/.\{148\}/&'"$ac_delim"'/g
   12516 t clear
   12517 :clear
   12518 s/\\$//
   12519 t bsnlc
   12520 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12521 d
   12522 :bsnlc
   12523 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12524 b cont
   12525 ' <confdefs.h | sed '
   12526 s/'"$ac_delim"'/"\\\
   12527 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12528 
   12529 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12530   for (key in D) D_is_set[key] = 1
   12531   FS = ""
   12532 }
   12533 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12534   line = \$ 0
   12535   split(line, arg, " ")
   12536   if (arg[1] == "#") {
   12537     defundef = arg[2]
   12538     mac1 = arg[3]
   12539   } else {
   12540     defundef = substr(arg[1], 2)
   12541     mac1 = arg[2]
   12542   }
   12543   split(mac1, mac2, "(") #)
   12544   macro = mac2[1]
   12545   prefix = substr(line, 1, index(line, defundef) - 1)
   12546   if (D_is_set[macro]) {
   12547     # Preserve the white space surrounding the "#".
   12548     print prefix "define", macro P[macro] D[macro]
   12549     next
   12550   } else {
   12551     # Replace #undef with comments.  This is necessary, for example,
   12552     # in the case of _POSIX_SOURCE, which is predefined and required
   12553     # on some systems where configure will not decide to define it.
   12554     if (defundef == "undef") {
   12555       print "/*", prefix defundef, macro, "*/"
   12556       next
   12557     }
   12558   }
   12559 }
   12560 { print }
   12561 _ACAWK
   12562 _ACEOF
   12563 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12564   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12565 fi # test -n "$CONFIG_HEADERS"
   12566 
   12567 
   12568 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12569 shift
   12570 for ac_tag
   12571 do
   12572   case $ac_tag in
   12573   :[FHLC]) ac_mode=$ac_tag; continue;;
   12574   esac
   12575   case $ac_mode$ac_tag in
   12576   :[FHL]*:*);;
   12577   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12578   :[FH]-) ac_tag=-:-;;
   12579   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12580   esac
   12581   ac_save_IFS=$IFS
   12582   IFS=:
   12583   set x $ac_tag
   12584   IFS=$ac_save_IFS
   12585   shift
   12586   ac_file=$1
   12587   shift
   12588 
   12589   case $ac_mode in
   12590   :L) ac_source=$1;;
   12591   :[FH])
   12592     ac_file_inputs=
   12593     for ac_f
   12594     do
   12595       case $ac_f in
   12596       -) ac_f="$ac_tmp/stdin";;
   12597       *) # Look for the file first in the build tree, then in the source tree
   12598 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12599 	 # because $ac_f cannot contain `:'.
   12600 	 test -f "$ac_f" ||
   12601 	   case $ac_f in
   12602 	   [\\/$]*) false;;
   12603 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12604 	   esac ||
   12605 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12606       esac
   12607       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12608       as_fn_append ac_file_inputs " '$ac_f'"
   12609     done
   12610 
   12611     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12612     # use $as_me), people would be surprised to read:
   12613     #    /* config.h.  Generated by config.status.  */
   12614     configure_input='Generated from '`
   12615 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12616 	`' by configure.'
   12617     if test x"$ac_file" != x-; then
   12618       configure_input="$ac_file.  $configure_input"
   12619       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12620 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   12621     fi
   12622     # Neutralize special characters interpreted by sed in replacement strings.
   12623     case $configure_input in #(
   12624     *\&* | *\|* | *\\* )
   12625        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   12626        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12627     *) ac_sed_conf_input=$configure_input;;
   12628     esac
   12629 
   12630     case $ac_tag in
   12631     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12632       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12633     esac
   12634     ;;
   12635   esac
   12636 
   12637   ac_dir=`$as_dirname -- "$ac_file" ||
   12638 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12639 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12640 	 X"$ac_file" : 'X\(//\)$' \| \
   12641 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12642 printf "%s\n" X"$ac_file" |
   12643     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12644 	    s//\1/
   12645 	    q
   12646 	  }
   12647 	  /^X\(\/\/\)[^/].*/{
   12648 	    s//\1/
   12649 	    q
   12650 	  }
   12651 	  /^X\(\/\/\)$/{
   12652 	    s//\1/
   12653 	    q
   12654 	  }
   12655 	  /^X\(\/\).*/{
   12656 	    s//\1/
   12657 	    q
   12658 	  }
   12659 	  s/.*/./; q'`
   12660   as_dir="$ac_dir"; as_fn_mkdir_p
   12661   ac_builddir=.
   12662 
   12663 case "$ac_dir" in
   12664 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12665 *)
   12666   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   12667   # A ".." for each directory in $ac_dir_suffix.
   12668   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12669   case $ac_top_builddir_sub in
   12670   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12671   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12672   esac ;;
   12673 esac
   12674 ac_abs_top_builddir=$ac_pwd
   12675 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12676 # for backward compatibility:
   12677 ac_top_builddir=$ac_top_build_prefix
   12678 
   12679 case $srcdir in
   12680   .)  # We are building in place.
   12681     ac_srcdir=.
   12682     ac_top_srcdir=$ac_top_builddir_sub
   12683     ac_abs_top_srcdir=$ac_pwd ;;
   12684   [\\/]* | ?:[\\/]* )  # Absolute name.
   12685     ac_srcdir=$srcdir$ac_dir_suffix;
   12686     ac_top_srcdir=$srcdir
   12687     ac_abs_top_srcdir=$srcdir ;;
   12688   *) # Relative name.
   12689     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12690     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12691     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12692 esac
   12693 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12694 
   12695 
   12696   case $ac_mode in
   12697   :F)
   12698   #
   12699   # CONFIG_FILE
   12700   #
   12701 
   12702   case $INSTALL in
   12703   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12704   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12705   esac
   12706   ac_MKDIR_P=$MKDIR_P
   12707   case $MKDIR_P in
   12708   [\\/$]* | ?:[\\/]* ) ;;
   12709   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12710   esac
   12711 _ACEOF
   12712 
   12713 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12714 # If the template does not know about datarootdir, expand it.
   12715 # FIXME: This hack should be removed a few years after 2.60.
   12716 ac_datarootdir_hack=; ac_datarootdir_seen=
   12717 ac_sed_dataroot='
   12718 /datarootdir/ {
   12719   p
   12720   q
   12721 }
   12722 /@datadir@/p
   12723 /@docdir@/p
   12724 /@infodir@/p
   12725 /@localedir@/p
   12726 /@mandir@/p'
   12727 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12728 *datarootdir*) ac_datarootdir_seen=yes;;
   12729 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12730   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12731 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12732 _ACEOF
   12733 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12734   ac_datarootdir_hack='
   12735   s&@datadir@&$datadir&g
   12736   s&@docdir@&$docdir&g
   12737   s&@infodir@&$infodir&g
   12738   s&@localedir@&$localedir&g
   12739   s&@mandir@&$mandir&g
   12740   s&\\\${datarootdir}&$datarootdir&g' ;;
   12741 esac
   12742 _ACEOF
   12743 
   12744 # Neutralize VPATH when `$srcdir' = `.'.
   12745 # Shell code in configure.ac might set extrasub.
   12746 # FIXME: do we really want to maintain this feature?
   12747 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12748 ac_sed_extra="$ac_vpsub
   12749 $extrasub
   12750 _ACEOF
   12751 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12752 :t
   12753 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12754 s|@configure_input@|$ac_sed_conf_input|;t t
   12755 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12756 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12757 s&@srcdir@&$ac_srcdir&;t t
   12758 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12759 s&@top_srcdir@&$ac_top_srcdir&;t t
   12760 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12761 s&@builddir@&$ac_builddir&;t t
   12762 s&@abs_builddir@&$ac_abs_builddir&;t t
   12763 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12764 s&@INSTALL@&$ac_INSTALL&;t t
   12765 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12766 $ac_datarootdir_hack
   12767 "
   12768 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12769   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12770 
   12771 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12772   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12773   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12774       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12775   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12776 which seems to be undefined.  Please make sure it is defined" >&5
   12777 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12778 which seems to be undefined.  Please make sure it is defined" >&2;}
   12779 
   12780   rm -f "$ac_tmp/stdin"
   12781   case $ac_file in
   12782   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12783   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12784   esac \
   12785   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12786  ;;
   12787   :H)
   12788   #
   12789   # CONFIG_HEADER
   12790   #
   12791   if test x"$ac_file" != x-; then
   12792     {
   12793       printf "%s\n" "/* $configure_input  */" >&1 \
   12794       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12795     } >"$ac_tmp/config.h" \
   12796       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12797     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12798       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12799 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   12800     else
   12801       rm -f "$ac_file"
   12802       mv "$ac_tmp/config.h" "$ac_file" \
   12803 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12804     fi
   12805   else
   12806     printf "%s\n" "/* $configure_input  */" >&1 \
   12807       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12808       || as_fn_error $? "could not create -" "$LINENO" 5
   12809   fi
   12810 # Compute "$ac_file"'s index in $config_headers.
   12811 _am_arg="$ac_file"
   12812 _am_stamp_count=1
   12813 for _am_header in $config_headers :; do
   12814   case $_am_header in
   12815     $_am_arg | $_am_arg:* )
   12816       break ;;
   12817     * )
   12818       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12819   esac
   12820 done
   12821 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12822 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12823 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12824 	 X"$_am_arg" : 'X\(//\)$' \| \
   12825 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12826 printf "%s\n" X"$_am_arg" |
   12827     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12828 	    s//\1/
   12829 	    q
   12830 	  }
   12831 	  /^X\(\/\/\)[^/].*/{
   12832 	    s//\1/
   12833 	    q
   12834 	  }
   12835 	  /^X\(\/\/\)$/{
   12836 	    s//\1/
   12837 	    q
   12838 	  }
   12839 	  /^X\(\/\).*/{
   12840 	    s//\1/
   12841 	    q
   12842 	  }
   12843 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12844  ;;
   12845 
   12846   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12847 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   12848  ;;
   12849   esac
   12850 
   12851 
   12852   case $ac_file$ac_mode in
   12853     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12854   # Older Autoconf quotes --file arguments for eval, but not when files
   12855   # are listed without --file.  Let's play safe and only enable the eval
   12856   # if we detect the quoting.
   12857   # TODO: see whether this extra hack can be removed once we start
   12858   # requiring Autoconf 2.70 or later.
   12859   case $CONFIG_FILES in #(
   12860   *\'*) :
   12861     eval set x "$CONFIG_FILES" ;; #(
   12862   *) :
   12863     set x $CONFIG_FILES ;; #(
   12864   *) :
   12865      ;;
   12866 esac
   12867   shift
   12868   # Used to flag and report bootstrapping failures.
   12869   am_rc=0
   12870   for am_mf
   12871   do
   12872     # Strip MF so we end up with the name of the file.
   12873     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   12874     # Check whether this is an Automake generated Makefile which includes
   12875     # dependency-tracking related rules and includes.
   12876     # Grep'ing the whole file directly is not great: AIX grep has a line
   12877     # limit of 2048, but all sed's we know have understand at least 4000.
   12878     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   12879       || continue
   12880     am_dirpart=`$as_dirname -- "$am_mf" ||
   12881 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12882 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   12883 	 X"$am_mf" : 'X\(//\)$' \| \
   12884 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12885 printf "%s\n" X"$am_mf" |
   12886     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12887 	    s//\1/
   12888 	    q
   12889 	  }
   12890 	  /^X\(\/\/\)[^/].*/{
   12891 	    s//\1/
   12892 	    q
   12893 	  }
   12894 	  /^X\(\/\/\)$/{
   12895 	    s//\1/
   12896 	    q
   12897 	  }
   12898 	  /^X\(\/\).*/{
   12899 	    s//\1/
   12900 	    q
   12901 	  }
   12902 	  s/.*/./; q'`
   12903     am_filepart=`$as_basename -- "$am_mf" ||
   12904 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   12905 	 X"$am_mf" : 'X\(//\)$' \| \
   12906 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12907 printf "%s\n" X/"$am_mf" |
   12908     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12909 	    s//\1/
   12910 	    q
   12911 	  }
   12912 	  /^X\/\(\/\/\)$/{
   12913 	    s//\1/
   12914 	    q
   12915 	  }
   12916 	  /^X\/\(\/\).*/{
   12917 	    s//\1/
   12918 	    q
   12919 	  }
   12920 	  s/.*/./; q'`
   12921     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   12922       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12923         | $MAKE -f - am--depfiles" >&5
   12924    (cd "$am_dirpart" \
   12925       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12926         | $MAKE -f - am--depfiles) >&5 2>&5
   12927    ac_status=$?
   12928    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12929    (exit $ac_status); } || am_rc=$?
   12930   done
   12931   if test $am_rc -ne 0; then
   12932     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12933 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   12934 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   12935     for automatic dependency tracking.  If GNU make was not used, consider
   12936     re-running the configure script with MAKE=\"gmake\" (or whatever is
   12937     necessary).  You can also try re-running configure with the
   12938     '--disable-dependency-tracking' option to at least be able to build
   12939     the package (albeit without support for automatic dependency tracking).
   12940 See \`config.log' for more details" "$LINENO" 5; }
   12941   fi
   12942   { am_dirpart=; unset am_dirpart;}
   12943   { am_filepart=; unset am_filepart;}
   12944   { am_mf=; unset am_mf;}
   12945   { am_rc=; unset am_rc;}
   12946   rm -f conftest-deps.mk
   12947 }
   12948  ;;
   12949 
   12950   esac
   12951 done # for ac_tag
   12952 
   12953 
   12954 as_fn_exit 0
   12955 _ACEOF
   12956 ac_clean_files=$ac_clean_files_save
   12957 
   12958 test $ac_write_fail = 0 ||
   12959   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12960 
   12961 
   12962 # configure is writing to config.log, and then calls config.status.
   12963 # config.status does its own redirection, appending to config.log.
   12964 # Unfortunately, on DOS this fails, as config.log is still kept open
   12965 # by configure, so config.status won't be able to write to it; its
   12966 # output is simply discarded.  So we exec the FD to /dev/null,
   12967 # effectively closing config.log, so it can be properly (re)opened and
   12968 # appended to by config.status.  When coming back to configure, we
   12969 # need to make the FD available again.
   12970 if test "$no_create" != yes; then
   12971   ac_cs_success=:
   12972   ac_config_status_args=
   12973   test "$silent" = yes &&
   12974     ac_config_status_args="$ac_config_status_args --quiet"
   12975   exec 5>/dev/null
   12976   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12977   exec 5>>config.log
   12978   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12979   # would make configure fail if this is the last instruction.
   12980   $ac_cs_success || as_fn_exit 1
   12981 fi
   12982 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12983   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12984 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12985 fi
   12986 
   12987 
   12988