Home | History | Annotate | Line # | Download | only in dist
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.72 for bitmap 1.1.2.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/bitmap/-/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation,
      9 # Inc.
     10 #
     11 #
     12 # This configure script is free software; the Free Software Foundation
     13 # gives unlimited permission to copy, distribute and modify it.
     14 ## -------------------- ##
     15 ## M4sh Initialization. ##
     16 ## -------------------- ##
     17 
     18 # Be more Bourne compatible
     19 DUALCASE=1; export DUALCASE # for MKS sh
     20 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     21 then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else case e in #(
     29   e) case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac ;;
     35 esac
     36 fi
     37 
     38 
     39 
     40 # Reset variables that may have inherited troublesome values from
     41 # the environment.
     42 
     43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
     44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
     45 # side effect of setting IFS to empty, thus disabling word splitting.)
     46 # Quoting is to prevent editors from complaining about space-tab.
     47 as_nl='
     48 '
     49 export as_nl
     50 IFS=" ""	$as_nl"
     51 
     52 PS1='$ '
     53 PS2='> '
     54 PS4='+ '
     55 
     56 # Ensure predictable behavior from utilities with locale-dependent output.
     57 LC_ALL=C
     58 export LC_ALL
     59 LANGUAGE=C
     60 export LANGUAGE
     61 
     62 # We cannot yet rely on "unset" to work, but we need these variables
     63 # to be unset--not just set to an empty or harmless value--now, to
     64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
     65 # also avoids known problems related to "unset" and subshell syntax
     66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
     67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
     68 do eval test \${$as_var+y} \
     69   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     70 done
     71 
     72 # Ensure that fds 0, 1, and 2 are open.
     73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
     74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
     75 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
     76 
     77 # The user is always right.
     78 if ${PATH_SEPARATOR+false} :; then
     79   PATH_SEPARATOR=:
     80   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     81     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     82       PATH_SEPARATOR=';'
     83   }
     84 fi
     85 
     86 
     87 # Find who we are.  Look in the path if we contain no directory separator.
     88 as_myself=
     89 case $0 in #((
     90   *[\\/]* ) as_myself=$0 ;;
     91   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     92 for as_dir in $PATH
     93 do
     94   IFS=$as_save_IFS
     95   case $as_dir in #(((
     96     '') as_dir=./ ;;
     97     */) ;;
     98     *) as_dir=$as_dir/ ;;
     99   esac
    100     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as 'sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 
    117 # Use a proper internal environment variable to ensure we don't fall
    118   # into an infinite loop, continuously re-executing ourselves.
    119   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    120     _as_can_reexec=no; export _as_can_reexec;
    121     # We cannot yet assume a decent shell, so we have to provide a
    122 # neutralization value for shells without unset; and this also
    123 # works around shells that cannot unset nonexistent variables.
    124 # Preserve -v and -x to the replacement shell.
    125 BASH_ENV=/dev/null
    126 ENV=/dev/null
    127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    128 case $- in # ((((
    129   *v*x* | *x*v* ) as_opts=-vx ;;
    130   *v* ) as_opts=-v ;;
    131   *x* ) as_opts=-x ;;
    132   * ) as_opts= ;;
    133 esac
    134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    135 # Admittedly, this is quite paranoid, since all the known shells bail
    136 # out after a failed 'exec'.
    137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    138 exit 255
    139   fi
    140   # We don't want this to propagate to other subprocesses.
    141           { _as_can_reexec=; unset _as_can_reexec;}
    142 if test "x$CONFIG_SHELL" = x; then
    143   as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    144 then :
    145   emulate sh
    146   NULLCMD=:
    147   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    148   # is contrary to our usage.  Disable this feature.
    149   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    150   setopt NO_GLOB_SUBST
    151 else case e in #(
    152   e) case \`(set -o) 2>/dev/null\` in #(
    153   *posix*) :
    154     set -o posix ;; #(
    155   *) :
    156      ;;
    157 esac ;;
    158 esac
    159 fi
    160 "
    161   as_required="as_fn_return () { (exit \$1); }
    162 as_fn_success () { as_fn_return 0; }
    163 as_fn_failure () { as_fn_return 1; }
    164 as_fn_ret_success () { return 0; }
    165 as_fn_ret_failure () { return 1; }
    166 
    167 exitcode=0
    168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
    173 then :
    174 
    175 else case e in #(
    176   e) exitcode=1; echo positional parameters were not saved. ;;
    177 esac
    178 fi
    179 test x\$exitcode = x0 || exit 1
    180 blah=\$(echo \$(echo blah))
    181 test x\"\$blah\" = xblah || exit 1
    182 test -x / || exit 1"
    183   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    184   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    185   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    186   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    187 test \$(( 1 + 1 )) = 2 || exit 1"
    188   if (eval "$as_required") 2>/dev/null
    189 then :
    190   as_have_required=yes
    191 else case e in #(
    192   e) as_have_required=no ;;
    193 esac
    194 fi
    195   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    196 then :
    197 
    198 else case e in #(
    199   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    200 as_found=false
    201 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    202 do
    203   IFS=$as_save_IFS
    204   case $as_dir in #(((
    205     '') as_dir=./ ;;
    206     */) ;;
    207     *) as_dir=$as_dir/ ;;
    208   esac
    209   as_found=:
    210   case $as_dir in #(
    211 	 /*)
    212 	   for as_base in sh bash ksh sh5; do
    213 	     # Try only shells that exist, to save several forks.
    214 	     as_shell=$as_dir$as_base
    215 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    216 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    217 then :
    218   CONFIG_SHELL=$as_shell as_have_required=yes
    219 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    220 then :
    221   break 2
    222 fi
    223 fi
    224 	   done;;
    225        esac
    226   as_found=false
    227 done
    228 IFS=$as_save_IFS
    229 if $as_found
    230 then :
    231 
    232 else case e in #(
    233   e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    234 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    235 then :
    236   CONFIG_SHELL=$SHELL as_have_required=yes
    237 fi ;;
    238 esac
    239 fi
    240 
    241 
    242       if test "x$CONFIG_SHELL" != x
    243 then :
    244   export CONFIG_SHELL
    245              # We cannot yet assume a decent shell, so we have to provide a
    246 # neutralization value for shells without unset; and this also
    247 # works around shells that cannot unset nonexistent variables.
    248 # Preserve -v and -x to the replacement shell.
    249 BASH_ENV=/dev/null
    250 ENV=/dev/null
    251 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    252 case $- in # ((((
    253   *v*x* | *x*v* ) as_opts=-vx ;;
    254   *v* ) as_opts=-v ;;
    255   *x* ) as_opts=-x ;;
    256   * ) as_opts= ;;
    257 esac
    258 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    259 # Admittedly, this is quite paranoid, since all the known shells bail
    260 # out after a failed 'exec'.
    261 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    262 exit 255
    263 fi
    264 
    265     if test x$as_have_required = xno
    266 then :
    267   printf "%s\n" "$0: This script requires a shell more modern than all"
    268   printf "%s\n" "$0: the shells that I found on your system."
    269   if test ${ZSH_VERSION+y} ; then
    270     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    271     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    272   else
    273     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    274 $0: https://gitlab.freedesktop.org/xorg/app/bitmap/-/issues
    275 $0: about your system, including any error possibly output
    276 $0: before this message. Then install a modern shell, or
    277 $0: manually run the script under such a shell if you do
    278 $0: have one."
    279   fi
    280   exit 1
    281 fi ;;
    282 esac
    283 fi
    284 fi
    285 SHELL=${CONFIG_SHELL-/bin/sh}
    286 export SHELL
    287 # Unset more variables known to interfere with behavior of common tools.
    288 CLICOLOR_FORCE= GREP_OPTIONS=
    289 unset CLICOLOR_FORCE GREP_OPTIONS
    290 
    291 ## --------------------- ##
    292 ## M4sh Shell Functions. ##
    293 ## --------------------- ##
    294 # as_fn_unset VAR
    295 # ---------------
    296 # Portably unset VAR.
    297 as_fn_unset ()
    298 {
    299   { eval $1=; unset $1;}
    300 }
    301 as_unset=as_fn_unset
    302 
    303 
    304 # as_fn_set_status STATUS
    305 # -----------------------
    306 # Set $? to STATUS, without forking.
    307 as_fn_set_status ()
    308 {
    309   return $1
    310 } # as_fn_set_status
    311 
    312 # as_fn_exit STATUS
    313 # -----------------
    314 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    315 as_fn_exit ()
    316 {
    317   set +e
    318   as_fn_set_status $1
    319   exit $1
    320 } # as_fn_exit
    321 
    322 # as_fn_mkdir_p
    323 # -------------
    324 # Create "$as_dir" as a directory, including parents if necessary.
    325 as_fn_mkdir_p ()
    326 {
    327 
    328   case $as_dir in #(
    329   -*) as_dir=./$as_dir;;
    330   esac
    331   test -d "$as_dir" || eval $as_mkdir_p || {
    332     as_dirs=
    333     while :; do
    334       case $as_dir in #(
    335       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    336       *) as_qdir=$as_dir;;
    337       esac
    338       as_dirs="'$as_qdir' $as_dirs"
    339       as_dir=`$as_dirname -- "$as_dir" ||
    340 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    341 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    342 	 X"$as_dir" : 'X\(//\)$' \| \
    343 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    344 printf "%s\n" X"$as_dir" |
    345     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    346 	    s//\1/
    347 	    q
    348 	  }
    349 	  /^X\(\/\/\)[^/].*/{
    350 	    s//\1/
    351 	    q
    352 	  }
    353 	  /^X\(\/\/\)$/{
    354 	    s//\1/
    355 	    q
    356 	  }
    357 	  /^X\(\/\).*/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  s/.*/./; q'`
    362       test -d "$as_dir" && break
    363     done
    364     test -z "$as_dirs" || eval "mkdir $as_dirs"
    365   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    366 
    367 
    368 } # as_fn_mkdir_p
    369 
    370 # as_fn_executable_p FILE
    371 # -----------------------
    372 # Test if FILE is an executable regular file.
    373 as_fn_executable_p ()
    374 {
    375   test -f "$1" && test -x "$1"
    376 } # as_fn_executable_p
    377 # as_fn_append VAR VALUE
    378 # ----------------------
    379 # Append the text in VALUE to the end of the definition contained in VAR. Take
    380 # advantage of any shell optimizations that allow amortized linear growth over
    381 # repeated appends, instead of the typical quadratic growth present in naive
    382 # implementations.
    383 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    384 then :
    385   eval 'as_fn_append ()
    386   {
    387     eval $1+=\$2
    388   }'
    389 else case e in #(
    390   e) as_fn_append ()
    391   {
    392     eval $1=\$$1\$2
    393   } ;;
    394 esac
    395 fi # as_fn_append
    396 
    397 # as_fn_arith ARG...
    398 # ------------------
    399 # Perform arithmetic evaluation on the ARGs, and store the result in the
    400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    401 # must be portable across $(()) and expr.
    402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    403 then :
    404   eval 'as_fn_arith ()
    405   {
    406     as_val=$(( $* ))
    407   }'
    408 else case e in #(
    409   e) as_fn_arith ()
    410   {
    411     as_val=`expr "$@" || test $? -eq 1`
    412   } ;;
    413 esac
    414 fi # as_fn_arith
    415 
    416 
    417 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    418 # ----------------------------------------
    419 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    420 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    421 # script with STATUS, using 1 if that was 0.
    422 as_fn_error ()
    423 {
    424   as_status=$1; test $as_status -eq 0 && as_status=1
    425   if test "$4"; then
    426     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    427     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    428   fi
    429   printf "%s\n" "$as_me: error: $2" >&2
    430   as_fn_exit $as_status
    431 } # as_fn_error
    432 
    433 if expr a : '\(a\)' >/dev/null 2>&1 &&
    434    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    435   as_expr=expr
    436 else
    437   as_expr=false
    438 fi
    439 
    440 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    441   as_basename=basename
    442 else
    443   as_basename=false
    444 fi
    445 
    446 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    447   as_dirname=dirname
    448 else
    449   as_dirname=false
    450 fi
    451 
    452 as_me=`$as_basename -- "$0" ||
    453 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    454 	 X"$0" : 'X\(//\)$' \| \
    455 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    456 printf "%s\n" X/"$0" |
    457     sed '/^.*\/\([^/][^/]*\)\/*$/{
    458 	    s//\1/
    459 	    q
    460 	  }
    461 	  /^X\/\(\/\/\)$/{
    462 	    s//\1/
    463 	    q
    464 	  }
    465 	  /^X\/\(\/\).*/{
    466 	    s//\1/
    467 	    q
    468 	  }
    469 	  s/.*/./; q'`
    470 
    471 # Avoid depending upon Character Ranges.
    472 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    473 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    474 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    475 as_cr_digits='0123456789'
    476 as_cr_alnum=$as_cr_Letters$as_cr_digits
    477 
    478 
    479   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    480   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    481   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    482   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    483   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    484   sed -n '
    485     p
    486     /[$]LINENO/=
    487   ' <$as_myself |
    488     sed '
    489       t clear
    490       :clear
    491       s/[$]LINENO.*/&-/
    492       t lineno
    493       b
    494       :lineno
    495       N
    496       :loop
    497       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    498       t loop
    499       s/-\n.*//
    500     ' >$as_me.lineno &&
    501   chmod +x "$as_me.lineno" ||
    502     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    503 
    504   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    505   # already done that, so ensure we don't try to do so again and fall
    506   # in an infinite loop.  This has already happened in practice.
    507   _as_can_reexec=no; export _as_can_reexec
    508   # Don't try to exec as it changes $[0], causing all sort of problems
    509   # (the dirname of $[0] is not the place where we might find the
    510   # original and so on.  Autoconf is especially sensitive to this).
    511   . "./$as_me.lineno"
    512   # Exit status is that of the last command.
    513   exit
    514 }
    515 
    516 
    517 # Determine whether it's possible to make 'echo' print without a newline.
    518 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    519 # for compatibility with existing Makefiles.
    520 ECHO_C= ECHO_N= ECHO_T=
    521 case `echo -n x` in #(((((
    522 -n*)
    523   case `echo 'xy\c'` in
    524   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    525   xy)  ECHO_C='\c';;
    526   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    527        ECHO_T='	';;
    528   esac;;
    529 *)
    530   ECHO_N='-n';;
    531 esac
    532 
    533 # For backward compatibility with old third-party macros, we provide
    534 # the shell variables $as_echo and $as_echo_n.  New code should use
    535 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    536 as_echo='printf %s\n'
    537 as_echo_n='printf %s'
    538 
    539 rm -f conf$$ conf$$.exe conf$$.file
    540 if test -d conf$$.dir; then
    541   rm -f conf$$.dir/conf$$.file
    542 else
    543   rm -f conf$$.dir
    544   mkdir conf$$.dir 2>/dev/null
    545 fi
    546 if (echo >conf$$.file) 2>/dev/null; then
    547   if ln -s conf$$.file conf$$ 2>/dev/null; then
    548     as_ln_s='ln -s'
    549     # ... but there are two gotchas:
    550     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
    551     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
    552     # In both cases, we have to default to 'cp -pR'.
    553     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    554       as_ln_s='cp -pR'
    555   elif ln conf$$.file conf$$ 2>/dev/null; then
    556     as_ln_s=ln
    557   else
    558     as_ln_s='cp -pR'
    559   fi
    560 else
    561   as_ln_s='cp -pR'
    562 fi
    563 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    564 rmdir conf$$.dir 2>/dev/null
    565 
    566 if mkdir -p . 2>/dev/null; then
    567   as_mkdir_p='mkdir -p "$as_dir"'
    568 else
    569   test -d ./-p && rmdir ./-p
    570   as_mkdir_p=false
    571 fi
    572 
    573 as_test_x='test -x'
    574 as_executable_p=as_fn_executable_p
    575 
    576 # Sed expression to map a string onto a valid CPP name.
    577 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
    578 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
    579 
    580 # Sed expression to map a string onto a valid variable name.
    581 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
    582 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
    583 
    584 
    585 test -n "$DJDIR" || exec 7<&0 </dev/null
    586 exec 6>&1
    587 
    588 # Name of the host.
    589 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    590 # so uname gets run too.
    591 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    592 
    593 #
    594 # Initializations.
    595 #
    596 ac_default_prefix=/usr/local
    597 ac_clean_files=
    598 ac_config_libobj_dir=.
    599 LIBOBJS=
    600 cross_compiling=no
    601 subdirs=
    602 MFLAGS=
    603 MAKEFLAGS=
    604 
    605 # Identity of this package.
    606 PACKAGE_NAME='bitmap'
    607 PACKAGE_TARNAME='bitmap'
    608 PACKAGE_VERSION='1.1.2'
    609 PACKAGE_STRING='bitmap 1.1.2'
    610 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/bitmap/-/issues'
    611 PACKAGE_URL=''
    612 
    613 ac_unique_file="Makefile.am"
    614 # Factoring default headers for most tests.
    615 ac_includes_default="\
    616 #include <stddef.h>
    617 #ifdef HAVE_STDIO_H
    618 # include <stdio.h>
    619 #endif
    620 #ifdef HAVE_STDLIB_H
    621 # include <stdlib.h>
    622 #endif
    623 #ifdef HAVE_STRING_H
    624 # include <string.h>
    625 #endif
    626 #ifdef HAVE_INTTYPES_H
    627 # include <inttypes.h>
    628 #endif
    629 #ifdef HAVE_STDINT_H
    630 # include <stdint.h>
    631 #endif
    632 #ifdef HAVE_STRINGS_H
    633 # include <strings.h>
    634 #endif
    635 #ifdef HAVE_SYS_TYPES_H
    636 # include <sys/types.h>
    637 #endif
    638 #ifdef HAVE_SYS_STAT_H
    639 # include <sys/stat.h>
    640 #endif
    641 #ifdef HAVE_UNISTD_H
    642 # include <unistd.h>
    643 #endif"
    644 
    645 ac_header_c_list=
    646 enable_year2038=no
    647 ac_subst_vars='am__EXEEXT_FALSE
    648 am__EXEEXT_TRUE
    649 LTLIBOBJS
    650 LIBOBJS
    651 appdefaultdir
    652 APPDEFS_LIBS
    653 APPDEFS_CFLAGS
    654 BITMAP_LIBS
    655 BITMAP_CFLAGS
    656 ATOBM_LIBS
    657 ATOBM_CFLAGS
    658 BMTOA_LIBS
    659 BMTOA_CFLAGS
    660 MATH_LIBS
    661 MAN_SUBSTS
    662 XORG_MAN_PAGE
    663 ADMIN_MAN_DIR
    664 DRIVER_MAN_DIR
    665 MISC_MAN_DIR
    666 FILE_MAN_DIR
    667 LIB_MAN_DIR
    668 APP_MAN_DIR
    669 ADMIN_MAN_SUFFIX
    670 DRIVER_MAN_SUFFIX
    671 MISC_MAN_SUFFIX
    672 FILE_MAN_SUFFIX
    673 LIB_MAN_SUFFIX
    674 APP_MAN_SUFFIX
    675 SED
    676 host_os
    677 host_vendor
    678 host_cpu
    679 host
    680 build_os
    681 build_vendor
    682 build_cpu
    683 build
    684 INSTALL_CMD
    685 PKG_CONFIG_LIBDIR
    686 PKG_CONFIG_PATH
    687 PKG_CONFIG
    688 CHANGELOG_CMD
    689 STRICT_CFLAGS
    690 CWARNFLAGS
    691 BASE_CFLAGS
    692 am__fastdepCC_FALSE
    693 am__fastdepCC_TRUE
    694 CCDEPMODE
    695 am__nodep
    696 AMDEPBACKSLASH
    697 AMDEP_FALSE
    698 AMDEP_TRUE
    699 am__include
    700 DEPDIR
    701 OBJEXT
    702 EXEEXT
    703 ac_ct_CC
    704 CPPFLAGS
    705 LDFLAGS
    706 CFLAGS
    707 CC
    708 am__xargs_n
    709 am__rm_f_notfound
    710 AM_BACKSLASH
    711 AM_DEFAULT_VERBOSITY
    712 AM_DEFAULT_V
    713 AM_V
    714 CSCOPE
    715 ETAGS
    716 CTAGS
    717 am__untar
    718 am__tar
    719 AMTAR
    720 am__leading_dot
    721 SET_MAKE
    722 AWK
    723 mkdir_p
    724 MKDIR_P
    725 INSTALL_STRIP_PROGRAM
    726 STRIP
    727 install_sh
    728 MAKEINFO
    729 AUTOHEADER
    730 AUTOMAKE
    731 AUTOCONF
    732 ACLOCAL
    733 VERSION
    734 PACKAGE
    735 CYGPATH_W
    736 am__isrc
    737 INSTALL_DATA
    738 INSTALL_SCRIPT
    739 INSTALL_PROGRAM
    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_silent_rules
    784 enable_dependency_tracking
    785 enable_selective_werror
    786 enable_strict_compilation
    787 enable_largefile
    788 with_appdefaultdir
    789 enable_year2038
    790 '
    791       ac_precious_vars='build_alias
    792 host_alias
    793 target_alias
    794 CC
    795 CFLAGS
    796 LDFLAGS
    797 LIBS
    798 CPPFLAGS
    799 PKG_CONFIG
    800 PKG_CONFIG_PATH
    801 PKG_CONFIG_LIBDIR
    802 BMTOA_CFLAGS
    803 BMTOA_LIBS
    804 ATOBM_CFLAGS
    805 ATOBM_LIBS
    806 BITMAP_CFLAGS
    807 BITMAP_LIBS
    808 APPDEFS_CFLAGS
    809 APPDEFS_LIBS'
    810 
    811 
    812 # Initialize some variables set by options.
    813 ac_init_help=
    814 ac_init_version=false
    815 ac_unrecognized_opts=
    816 ac_unrecognized_sep=
    817 # The variables have the same names as the options, with
    818 # dashes changed to underlines.
    819 cache_file=/dev/null
    820 exec_prefix=NONE
    821 no_create=
    822 no_recursion=
    823 prefix=NONE
    824 program_prefix=NONE
    825 program_suffix=NONE
    826 program_transform_name=s,x,x,
    827 silent=
    828 site=
    829 srcdir=
    830 verbose=
    831 x_includes=NONE
    832 x_libraries=NONE
    833 
    834 # Installation directory options.
    835 # These are left unexpanded so users can "make install exec_prefix=/foo"
    836 # and all the variables that are supposed to be based on exec_prefix
    837 # by default will actually change.
    838 # Use braces instead of parens because sh, perl, etc. also accept them.
    839 # (The list follows the same order as the GNU Coding Standards.)
    840 bindir='${exec_prefix}/bin'
    841 sbindir='${exec_prefix}/sbin'
    842 libexecdir='${exec_prefix}/libexec'
    843 datarootdir='${prefix}/share'
    844 datadir='${datarootdir}'
    845 sysconfdir='${prefix}/etc'
    846 sharedstatedir='${prefix}/com'
    847 localstatedir='${prefix}/var'
    848 runstatedir='${localstatedir}/run'
    849 includedir='${prefix}/include'
    850 oldincludedir='/usr/include'
    851 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    852 infodir='${datarootdir}/info'
    853 htmldir='${docdir}'
    854 dvidir='${docdir}'
    855 pdfdir='${docdir}'
    856 psdir='${docdir}'
    857 libdir='${exec_prefix}/lib'
    858 localedir='${datarootdir}/locale'
    859 mandir='${datarootdir}/man'
    860 
    861 ac_prev=
    862 ac_dashdash=
    863 for ac_option
    864 do
    865   # If the previous option needs an argument, assign it.
    866   if test -n "$ac_prev"; then
    867     eval $ac_prev=\$ac_option
    868     ac_prev=
    869     continue
    870   fi
    871 
    872   case $ac_option in
    873   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    874   *=)   ac_optarg= ;;
    875   *)    ac_optarg=yes ;;
    876   esac
    877 
    878   case $ac_dashdash$ac_option in
    879   --)
    880     ac_dashdash=yes ;;
    881 
    882   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    883     ac_prev=bindir ;;
    884   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    885     bindir=$ac_optarg ;;
    886 
    887   -build | --build | --buil | --bui | --bu)
    888     ac_prev=build_alias ;;
    889   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    890     build_alias=$ac_optarg ;;
    891 
    892   -cache-file | --cache-file | --cache-fil | --cache-fi \
    893   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    894     ac_prev=cache_file ;;
    895   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    896   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    897     cache_file=$ac_optarg ;;
    898 
    899   --config-cache | -C)
    900     cache_file=config.cache ;;
    901 
    902   -datadir | --datadir | --datadi | --datad)
    903     ac_prev=datadir ;;
    904   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    905     datadir=$ac_optarg ;;
    906 
    907   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    908   | --dataroo | --dataro | --datar)
    909     ac_prev=datarootdir ;;
    910   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    911   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    912     datarootdir=$ac_optarg ;;
    913 
    914   -disable-* | --disable-*)
    915     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    916     # Reject names that are not valid shell variable names.
    917     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    918       as_fn_error $? "invalid feature name: '$ac_useropt'"
    919     ac_useropt_orig=$ac_useropt
    920     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    921     case $ac_user_opts in
    922       *"
    923 "enable_$ac_useropt"
    924 "*) ;;
    925       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    926 	 ac_unrecognized_sep=', ';;
    927     esac
    928     eval enable_$ac_useropt=no ;;
    929 
    930   -docdir | --docdir | --docdi | --doc | --do)
    931     ac_prev=docdir ;;
    932   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    933     docdir=$ac_optarg ;;
    934 
    935   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    936     ac_prev=dvidir ;;
    937   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    938     dvidir=$ac_optarg ;;
    939 
    940   -enable-* | --enable-*)
    941     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    942     # Reject names that are not valid shell variable names.
    943     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    944       as_fn_error $? "invalid feature name: '$ac_useropt'"
    945     ac_useropt_orig=$ac_useropt
    946     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    947     case $ac_user_opts in
    948       *"
    949 "enable_$ac_useropt"
    950 "*) ;;
    951       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    952 	 ac_unrecognized_sep=', ';;
    953     esac
    954     eval enable_$ac_useropt=\$ac_optarg ;;
    955 
    956   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    957   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    958   | --exec | --exe | --ex)
    959     ac_prev=exec_prefix ;;
    960   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    961   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    962   | --exec=* | --exe=* | --ex=*)
    963     exec_prefix=$ac_optarg ;;
    964 
    965   -gas | --gas | --ga | --g)
    966     # Obsolete; use --with-gas.
    967     with_gas=yes ;;
    968 
    969   -help | --help | --hel | --he | -h)
    970     ac_init_help=long ;;
    971   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    972     ac_init_help=recursive ;;
    973   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    974     ac_init_help=short ;;
    975 
    976   -host | --host | --hos | --ho)
    977     ac_prev=host_alias ;;
    978   -host=* | --host=* | --hos=* | --ho=*)
    979     host_alias=$ac_optarg ;;
    980 
    981   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    982     ac_prev=htmldir ;;
    983   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    984   | --ht=*)
    985     htmldir=$ac_optarg ;;
    986 
    987   -includedir | --includedir | --includedi | --included | --include \
    988   | --includ | --inclu | --incl | --inc)
    989     ac_prev=includedir ;;
    990   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    991   | --includ=* | --inclu=* | --incl=* | --inc=*)
    992     includedir=$ac_optarg ;;
    993 
    994   -infodir | --infodir | --infodi | --infod | --info | --inf)
    995     ac_prev=infodir ;;
    996   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    997     infodir=$ac_optarg ;;
    998 
    999   -libdir | --libdir | --libdi | --libd)
   1000     ac_prev=libdir ;;
   1001   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1002     libdir=$ac_optarg ;;
   1003 
   1004   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1005   | --libexe | --libex | --libe)
   1006     ac_prev=libexecdir ;;
   1007   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1008   | --libexe=* | --libex=* | --libe=*)
   1009     libexecdir=$ac_optarg ;;
   1010 
   1011   -localedir | --localedir | --localedi | --localed | --locale)
   1012     ac_prev=localedir ;;
   1013   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1014     localedir=$ac_optarg ;;
   1015 
   1016   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1017   | --localstate | --localstat | --localsta | --localst | --locals)
   1018     ac_prev=localstatedir ;;
   1019   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1020   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1021     localstatedir=$ac_optarg ;;
   1022 
   1023   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1024     ac_prev=mandir ;;
   1025   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1026     mandir=$ac_optarg ;;
   1027 
   1028   -nfp | --nfp | --nf)
   1029     # Obsolete; use --without-fp.
   1030     with_fp=no ;;
   1031 
   1032   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1033   | --no-cr | --no-c | -n)
   1034     no_create=yes ;;
   1035 
   1036   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1037   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1038     no_recursion=yes ;;
   1039 
   1040   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1041   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1042   | --oldin | --oldi | --old | --ol | --o)
   1043     ac_prev=oldincludedir ;;
   1044   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1045   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1046   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1047     oldincludedir=$ac_optarg ;;
   1048 
   1049   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1050     ac_prev=prefix ;;
   1051   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1052     prefix=$ac_optarg ;;
   1053 
   1054   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1055   | --program-pre | --program-pr | --program-p)
   1056     ac_prev=program_prefix ;;
   1057   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1058   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1059     program_prefix=$ac_optarg ;;
   1060 
   1061   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1062   | --program-suf | --program-su | --program-s)
   1063     ac_prev=program_suffix ;;
   1064   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1065   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1066     program_suffix=$ac_optarg ;;
   1067 
   1068   -program-transform-name | --program-transform-name \
   1069   | --program-transform-nam | --program-transform-na \
   1070   | --program-transform-n | --program-transform- \
   1071   | --program-transform | --program-transfor \
   1072   | --program-transfo | --program-transf \
   1073   | --program-trans | --program-tran \
   1074   | --progr-tra | --program-tr | --program-t)
   1075     ac_prev=program_transform_name ;;
   1076   -program-transform-name=* | --program-transform-name=* \
   1077   | --program-transform-nam=* | --program-transform-na=* \
   1078   | --program-transform-n=* | --program-transform-=* \
   1079   | --program-transform=* | --program-transfor=* \
   1080   | --program-transfo=* | --program-transf=* \
   1081   | --program-trans=* | --program-tran=* \
   1082   | --progr-tra=* | --program-tr=* | --program-t=*)
   1083     program_transform_name=$ac_optarg ;;
   1084 
   1085   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1086     ac_prev=pdfdir ;;
   1087   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1088     pdfdir=$ac_optarg ;;
   1089 
   1090   -psdir | --psdir | --psdi | --psd | --ps)
   1091     ac_prev=psdir ;;
   1092   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1093     psdir=$ac_optarg ;;
   1094 
   1095   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1096   | -silent | --silent | --silen | --sile | --sil)
   1097     silent=yes ;;
   1098 
   1099   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1100   | --runstate | --runstat | --runsta | --runst | --runs \
   1101   | --run | --ru | --r)
   1102     ac_prev=runstatedir ;;
   1103   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1104   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1105   | --run=* | --ru=* | --r=*)
   1106     runstatedir=$ac_optarg ;;
   1107 
   1108   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1109     ac_prev=sbindir ;;
   1110   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1111   | --sbi=* | --sb=*)
   1112     sbindir=$ac_optarg ;;
   1113 
   1114   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1115   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1116   | --sharedst | --shareds | --shared | --share | --shar \
   1117   | --sha | --sh)
   1118     ac_prev=sharedstatedir ;;
   1119   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1120   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1121   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1122   | --sha=* | --sh=*)
   1123     sharedstatedir=$ac_optarg ;;
   1124 
   1125   -site | --site | --sit)
   1126     ac_prev=site ;;
   1127   -site=* | --site=* | --sit=*)
   1128     site=$ac_optarg ;;
   1129 
   1130   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1131     ac_prev=srcdir ;;
   1132   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1133     srcdir=$ac_optarg ;;
   1134 
   1135   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1136   | --syscon | --sysco | --sysc | --sys | --sy)
   1137     ac_prev=sysconfdir ;;
   1138   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1139   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1140     sysconfdir=$ac_optarg ;;
   1141 
   1142   -target | --target | --targe | --targ | --tar | --ta | --t)
   1143     ac_prev=target_alias ;;
   1144   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1145     target_alias=$ac_optarg ;;
   1146 
   1147   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1148     verbose=yes ;;
   1149 
   1150   -version | --version | --versio | --versi | --vers | -V)
   1151     ac_init_version=: ;;
   1152 
   1153   -with-* | --with-*)
   1154     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1155     # Reject names that are not valid shell variable names.
   1156     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1157       as_fn_error $? "invalid package name: '$ac_useropt'"
   1158     ac_useropt_orig=$ac_useropt
   1159     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1160     case $ac_user_opts in
   1161       *"
   1162 "with_$ac_useropt"
   1163 "*) ;;
   1164       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1165 	 ac_unrecognized_sep=', ';;
   1166     esac
   1167     eval with_$ac_useropt=\$ac_optarg ;;
   1168 
   1169   -without-* | --without-*)
   1170     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1171     # Reject names that are not valid shell variable names.
   1172     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1173       as_fn_error $? "invalid package name: '$ac_useropt'"
   1174     ac_useropt_orig=$ac_useropt
   1175     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1176     case $ac_user_opts in
   1177       *"
   1178 "with_$ac_useropt"
   1179 "*) ;;
   1180       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1181 	 ac_unrecognized_sep=', ';;
   1182     esac
   1183     eval with_$ac_useropt=no ;;
   1184 
   1185   --x)
   1186     # Obsolete; use --with-x.
   1187     with_x=yes ;;
   1188 
   1189   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1190   | --x-incl | --x-inc | --x-in | --x-i)
   1191     ac_prev=x_includes ;;
   1192   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1193   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1194     x_includes=$ac_optarg ;;
   1195 
   1196   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1197   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1198     ac_prev=x_libraries ;;
   1199   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1200   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1201     x_libraries=$ac_optarg ;;
   1202 
   1203   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1204 Try '$0 --help' for more information"
   1205     ;;
   1206 
   1207   *=*)
   1208     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1209     # Reject names that are not valid shell variable names.
   1210     case $ac_envvar in #(
   1211       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1212       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1213     esac
   1214     eval $ac_envvar=\$ac_optarg
   1215     export $ac_envvar ;;
   1216 
   1217   *)
   1218     # FIXME: should be removed in autoconf 3.0.
   1219     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1220     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1221       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1222     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1223     ;;
   1224 
   1225   esac
   1226 done
   1227 
   1228 if test -n "$ac_prev"; then
   1229   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1230   as_fn_error $? "missing argument to $ac_option"
   1231 fi
   1232 
   1233 if test -n "$ac_unrecognized_opts"; then
   1234   case $enable_option_checking in
   1235     no) ;;
   1236     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1237     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1238   esac
   1239 fi
   1240 
   1241 # Check all directory arguments for consistency.
   1242 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1243 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1244 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1245 		libdir localedir mandir runstatedir
   1246 do
   1247   eval ac_val=\$$ac_var
   1248   # Remove trailing slashes.
   1249   case $ac_val in
   1250     */ )
   1251       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1252       eval $ac_var=\$ac_val;;
   1253   esac
   1254   # Be sure to have absolute directory names.
   1255   case $ac_val in
   1256     [\\/$]* | ?:[\\/]* )  continue;;
   1257     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1258   esac
   1259   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1260 done
   1261 
   1262 # There might be people who depend on the old broken behavior: '$host'
   1263 # used to hold the argument of --host etc.
   1264 # FIXME: To remove some day.
   1265 build=$build_alias
   1266 host=$host_alias
   1267 target=$target_alias
   1268 
   1269 # FIXME: To remove some day.
   1270 if test "x$host_alias" != x; then
   1271   if test "x$build_alias" = x; then
   1272     cross_compiling=maybe
   1273   elif test "x$build_alias" != "x$host_alias"; then
   1274     cross_compiling=yes
   1275   fi
   1276 fi
   1277 
   1278 ac_tool_prefix=
   1279 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1280 
   1281 test "$silent" = yes && exec 6>/dev/null
   1282 
   1283 
   1284 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1285 ac_ls_di=`ls -di .` &&
   1286 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1287   as_fn_error $? "working directory cannot be determined"
   1288 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1289   as_fn_error $? "pwd does not report name of working directory"
   1290 
   1291 
   1292 # Find the source files, if location was not specified.
   1293 if test -z "$srcdir"; then
   1294   ac_srcdir_defaulted=yes
   1295   # Try the directory containing this script, then the parent directory.
   1296   ac_confdir=`$as_dirname -- "$as_myself" ||
   1297 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1298 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1299 	 X"$as_myself" : 'X\(//\)$' \| \
   1300 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1301 printf "%s\n" X"$as_myself" |
   1302     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1303 	    s//\1/
   1304 	    q
   1305 	  }
   1306 	  /^X\(\/\/\)[^/].*/{
   1307 	    s//\1/
   1308 	    q
   1309 	  }
   1310 	  /^X\(\/\/\)$/{
   1311 	    s//\1/
   1312 	    q
   1313 	  }
   1314 	  /^X\(\/\).*/{
   1315 	    s//\1/
   1316 	    q
   1317 	  }
   1318 	  s/.*/./; q'`
   1319   srcdir=$ac_confdir
   1320   if test ! -r "$srcdir/$ac_unique_file"; then
   1321     srcdir=..
   1322   fi
   1323 else
   1324   ac_srcdir_defaulted=no
   1325 fi
   1326 if test ! -r "$srcdir/$ac_unique_file"; then
   1327   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1328   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1329 fi
   1330 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1331 ac_abs_confdir=`(
   1332 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1333 	pwd)`
   1334 # When building in place, set srcdir=.
   1335 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1336   srcdir=.
   1337 fi
   1338 # Remove unnecessary trailing slashes from srcdir.
   1339 # Double slashes in file names in object file debugging info
   1340 # mess up M-x gdb in Emacs.
   1341 case $srcdir in
   1342 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1343 esac
   1344 for ac_var in $ac_precious_vars; do
   1345   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1346   eval ac_env_${ac_var}_value=\$${ac_var}
   1347   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1348   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1349 done
   1350 
   1351 #
   1352 # Report the --help message.
   1353 #
   1354 if test "$ac_init_help" = "long"; then
   1355   # Omit some internal or obsolete options to make the list less imposing.
   1356   # This message is too long to be a string in the A/UX 3.1 sh.
   1357   cat <<_ACEOF
   1358 'configure' configures bitmap 1.1.2 to adapt to many kinds of systems.
   1359 
   1360 Usage: $0 [OPTION]... [VAR=VALUE]...
   1361 
   1362 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1363 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1364 
   1365 Defaults for the options are specified in brackets.
   1366 
   1367 Configuration:
   1368   -h, --help              display this help and exit
   1369       --help=short        display options specific to this package
   1370       --help=recursive    display the short help of all the included packages
   1371   -V, --version           display version information and exit
   1372   -q, --quiet, --silent   do not print 'checking ...' messages
   1373       --cache-file=FILE   cache test results in FILE [disabled]
   1374   -C, --config-cache      alias for '--cache-file=config.cache'
   1375   -n, --no-create         do not create output files
   1376       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1377 
   1378 Installation directories:
   1379   --prefix=PREFIX         install architecture-independent files in PREFIX
   1380                           [$ac_default_prefix]
   1381   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1382                           [PREFIX]
   1383 
   1384 By default, 'make install' will install all the files in
   1385 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1386 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1387 for instance '--prefix=\$HOME'.
   1388 
   1389 For better control, use the options below.
   1390 
   1391 Fine tuning of the installation directories:
   1392   --bindir=DIR            user executables [EPREFIX/bin]
   1393   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1394   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1395   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1396   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1397   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1398   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1399   --libdir=DIR            object code libraries [EPREFIX/lib]
   1400   --includedir=DIR        C header files [PREFIX/include]
   1401   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1402   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1403   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1404   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1405   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1406   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1407   --docdir=DIR            documentation root [DATAROOTDIR/doc/bitmap]
   1408   --htmldir=DIR           html documentation [DOCDIR]
   1409   --dvidir=DIR            dvi documentation [DOCDIR]
   1410   --pdfdir=DIR            pdf documentation [DOCDIR]
   1411   --psdir=DIR             ps documentation [DOCDIR]
   1412 _ACEOF
   1413 
   1414   cat <<\_ACEOF
   1415 
   1416 Program names:
   1417   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1418   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1419   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1420 
   1421 System types:
   1422   --build=BUILD     configure for building on BUILD [guessed]
   1423   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1424 _ACEOF
   1425 fi
   1426 
   1427 if test -n "$ac_init_help"; then
   1428   case $ac_init_help in
   1429      short | recursive ) echo "Configuration of bitmap 1.1.2:";;
   1430    esac
   1431   cat <<\_ACEOF
   1432 
   1433 Optional Features:
   1434   --disable-option-checking  ignore unrecognized --enable/--with options
   1435   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1436   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1437   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1438   --disable-silent-rules  verbose build output (undo: "make V=0")
   1439   --enable-dependency-tracking
   1440                           do not reject slow dependency extractors
   1441   --disable-dependency-tracking
   1442                           speeds up one-time build
   1443   --disable-selective-werror
   1444                           Turn off selective compiler errors. (default:
   1445                           enabled)
   1446   --enable-strict-compilation
   1447                           Enable all warnings from compiler and make them
   1448                           errors (default: disabled)
   1449   --disable-largefile     omit support for large files
   1450   --enable-year2038       support timestamps after 2038
   1451 
   1452 Optional Packages:
   1453   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1454   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1455   --with-appdefaultdir=<pathname>
   1456                           specify directory for app-defaults files (default is
   1457                           autodetected)
   1458 
   1459 Some influential environment variables:
   1460   CC          C compiler command
   1461   CFLAGS      C compiler flags
   1462   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1463               nonstandard directory <lib dir>
   1464   LIBS        libraries to pass to the linker, e.g. -l<library>
   1465   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1466               you have headers in a nonstandard directory <include dir>
   1467   PKG_CONFIG  path to pkg-config utility
   1468   PKG_CONFIG_PATH
   1469               directories to add to pkg-config's search path
   1470   PKG_CONFIG_LIBDIR
   1471               path overriding pkg-config's built-in search path
   1472   BMTOA_CFLAGS
   1473               C compiler flags for BMTOA, overriding pkg-config
   1474   BMTOA_LIBS  linker flags for BMTOA, overriding pkg-config
   1475   ATOBM_CFLAGS
   1476               C compiler flags for ATOBM, overriding pkg-config
   1477   ATOBM_LIBS  linker flags for ATOBM, overriding pkg-config
   1478   BITMAP_CFLAGS
   1479               C compiler flags for BITMAP, overriding pkg-config
   1480   BITMAP_LIBS linker flags for BITMAP, overriding pkg-config
   1481   APPDEFS_CFLAGS
   1482               C compiler flags for APPDEFS, overriding pkg-config
   1483   APPDEFS_LIBS
   1484               linker flags for APPDEFS, overriding pkg-config
   1485 
   1486 Use these variables to override the choices made by 'configure' or to help
   1487 it to find libraries and programs with nonstandard names/locations.
   1488 
   1489 Report bugs to <https://gitlab.freedesktop.org/xorg/app/bitmap/-/issues>.
   1490 _ACEOF
   1491 ac_status=$?
   1492 fi
   1493 
   1494 if test "$ac_init_help" = "recursive"; then
   1495   # If there are subdirs, report their specific --help.
   1496   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1497     test -d "$ac_dir" ||
   1498       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1499       continue
   1500     ac_builddir=.
   1501 
   1502 case "$ac_dir" in
   1503 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1504 *)
   1505   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1506   # A ".." for each directory in $ac_dir_suffix.
   1507   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1508   case $ac_top_builddir_sub in
   1509   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1510   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1511   esac ;;
   1512 esac
   1513 ac_abs_top_builddir=$ac_pwd
   1514 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1515 # for backward compatibility:
   1516 ac_top_builddir=$ac_top_build_prefix
   1517 
   1518 case $srcdir in
   1519   .)  # We are building in place.
   1520     ac_srcdir=.
   1521     ac_top_srcdir=$ac_top_builddir_sub
   1522     ac_abs_top_srcdir=$ac_pwd ;;
   1523   [\\/]* | ?:[\\/]* )  # Absolute name.
   1524     ac_srcdir=$srcdir$ac_dir_suffix;
   1525     ac_top_srcdir=$srcdir
   1526     ac_abs_top_srcdir=$srcdir ;;
   1527   *) # Relative name.
   1528     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1529     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1530     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1531 esac
   1532 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1533 
   1534     cd "$ac_dir" || { ac_status=$?; continue; }
   1535     # Check for configure.gnu first; this name is used for a wrapper for
   1536     # Metaconfig's "Configure" on case-insensitive file systems.
   1537     if test -f "$ac_srcdir/configure.gnu"; then
   1538       echo &&
   1539       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1540     elif test -f "$ac_srcdir/configure"; then
   1541       echo &&
   1542       $SHELL "$ac_srcdir/configure" --help=recursive
   1543     else
   1544       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1545     fi || ac_status=$?
   1546     cd "$ac_pwd" || { ac_status=$?; break; }
   1547   done
   1548 fi
   1549 
   1550 test -n "$ac_init_help" && exit $ac_status
   1551 if $ac_init_version; then
   1552   cat <<\_ACEOF
   1553 bitmap configure 1.1.2
   1554 generated by GNU Autoconf 2.72
   1555 
   1556 Copyright (C) 2023 Free Software Foundation, Inc.
   1557 This configure script is free software; the Free Software Foundation
   1558 gives unlimited permission to copy, distribute and modify it.
   1559 _ACEOF
   1560   exit
   1561 fi
   1562 
   1563 ## ------------------------ ##
   1564 ## Autoconf initialization. ##
   1565 ## ------------------------ ##
   1566 
   1567 # ac_fn_c_try_compile LINENO
   1568 # --------------------------
   1569 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1570 ac_fn_c_try_compile ()
   1571 {
   1572   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1573   rm -f conftest.$ac_objext conftest.beam
   1574   if { { ac_try="$ac_compile"
   1575 case "(($ac_try" in
   1576   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1577   *) ac_try_echo=$ac_try;;
   1578 esac
   1579 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1580 printf "%s\n" "$ac_try_echo"; } >&5
   1581   (eval "$ac_compile") 2>conftest.err
   1582   ac_status=$?
   1583   if test -s conftest.err; then
   1584     grep -v '^ *+' conftest.err >conftest.er1
   1585     cat conftest.er1 >&5
   1586     mv -f conftest.er1 conftest.err
   1587   fi
   1588   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1589   test $ac_status = 0; } && {
   1590 	 test -z "$ac_c_werror_flag" ||
   1591 	 test ! -s conftest.err
   1592        } && test -s conftest.$ac_objext
   1593 then :
   1594   ac_retval=0
   1595 else case e in #(
   1596   e) printf "%s\n" "$as_me: failed program was:" >&5
   1597 sed 's/^/| /' conftest.$ac_ext >&5
   1598 
   1599 	ac_retval=1 ;;
   1600 esac
   1601 fi
   1602   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1603   as_fn_set_status $ac_retval
   1604 
   1605 } # ac_fn_c_try_compile
   1606 
   1607 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1608 # ------------------------------------------------------------------
   1609 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1610 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1611 ac_fn_check_decl ()
   1612 {
   1613   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1614   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1615   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1616 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1617 if eval test \${$3+y}
   1618 then :
   1619   printf %s "(cached) " >&6
   1620 else case e in #(
   1621   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1622   eval ac_save_FLAGS=\$$6
   1623   as_fn_append $6 " $5"
   1624   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1625 /* end confdefs.h.  */
   1626 $4
   1627 int
   1628 main (void)
   1629 {
   1630 #ifndef $as_decl_name
   1631 #ifdef __cplusplus
   1632   (void) $as_decl_use;
   1633 #else
   1634   (void) $as_decl_name;
   1635 #endif
   1636 #endif
   1637 
   1638   ;
   1639   return 0;
   1640 }
   1641 _ACEOF
   1642 if ac_fn_c_try_compile "$LINENO"
   1643 then :
   1644   eval "$3=yes"
   1645 else case e in #(
   1646   e) eval "$3=no" ;;
   1647 esac
   1648 fi
   1649 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1650   eval $6=\$ac_save_FLAGS
   1651  ;;
   1652 esac
   1653 fi
   1654 eval ac_res=\$$3
   1655 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1656 printf "%s\n" "$ac_res" >&6; }
   1657   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1658 
   1659 } # ac_fn_check_decl
   1660 
   1661 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1662 # -------------------------------------------------------
   1663 # Tests whether HEADER exists and can be compiled using the include files in
   1664 # INCLUDES, setting the cache variable VAR accordingly.
   1665 ac_fn_c_check_header_compile ()
   1666 {
   1667   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1668   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1669 printf %s "checking for $2... " >&6; }
   1670 if eval test \${$3+y}
   1671 then :
   1672   printf %s "(cached) " >&6
   1673 else case e in #(
   1674   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1675 /* end confdefs.h.  */
   1676 $4
   1677 #include <$2>
   1678 _ACEOF
   1679 if ac_fn_c_try_compile "$LINENO"
   1680 then :
   1681   eval "$3=yes"
   1682 else case e in #(
   1683   e) eval "$3=no" ;;
   1684 esac
   1685 fi
   1686 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1687 esac
   1688 fi
   1689 eval ac_res=\$$3
   1690 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1691 printf "%s\n" "$ac_res" >&6; }
   1692   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1693 
   1694 } # ac_fn_c_check_header_compile
   1695 
   1696 # ac_fn_c_try_link LINENO
   1697 # -----------------------
   1698 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1699 ac_fn_c_try_link ()
   1700 {
   1701   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1702   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1703   if { { ac_try="$ac_link"
   1704 case "(($ac_try" in
   1705   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1706   *) ac_try_echo=$ac_try;;
   1707 esac
   1708 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1709 printf "%s\n" "$ac_try_echo"; } >&5
   1710   (eval "$ac_link") 2>conftest.err
   1711   ac_status=$?
   1712   if test -s conftest.err; then
   1713     grep -v '^ *+' conftest.err >conftest.er1
   1714     cat conftest.er1 >&5
   1715     mv -f conftest.er1 conftest.err
   1716   fi
   1717   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1718   test $ac_status = 0; } && {
   1719 	 test -z "$ac_c_werror_flag" ||
   1720 	 test ! -s conftest.err
   1721        } && test -s conftest$ac_exeext && {
   1722 	 test "$cross_compiling" = yes ||
   1723 	 test -x conftest$ac_exeext
   1724        }
   1725 then :
   1726   ac_retval=0
   1727 else case e in #(
   1728   e) printf "%s\n" "$as_me: failed program was:" >&5
   1729 sed 's/^/| /' conftest.$ac_ext >&5
   1730 
   1731 	ac_retval=1 ;;
   1732 esac
   1733 fi
   1734   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1735   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1736   # interfere with the next link command; also delete a directory that is
   1737   # left behind by Apple's compiler.  We do this before executing the actions.
   1738   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1739   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1740   as_fn_set_status $ac_retval
   1741 
   1742 } # ac_fn_c_try_link
   1743 
   1744 # ac_fn_c_check_func LINENO FUNC VAR
   1745 # ----------------------------------
   1746 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1747 ac_fn_c_check_func ()
   1748 {
   1749   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1750   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1751 printf %s "checking for $2... " >&6; }
   1752 if eval test \${$3+y}
   1753 then :
   1754   printf %s "(cached) " >&6
   1755 else case e in #(
   1756   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1757 /* end confdefs.h.  */
   1758 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1759    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1760 #define $2 innocuous_$2
   1761 
   1762 /* System header to define __stub macros and hopefully few prototypes,
   1763    which can conflict with char $2 (void); below.  */
   1764 
   1765 #include <limits.h>
   1766 #undef $2
   1767 
   1768 /* Override any GCC internal prototype to avoid an error.
   1769    Use char because int might match the return type of a GCC
   1770    builtin and then its argument prototype would still apply.  */
   1771 #ifdef __cplusplus
   1772 extern "C"
   1773 #endif
   1774 char $2 (void);
   1775 /* The GNU C library defines this for functions which it implements
   1776     to always fail with ENOSYS.  Some functions are actually named
   1777     something starting with __ and the normal name is an alias.  */
   1778 #if defined __stub_$2 || defined __stub___$2
   1779 choke me
   1780 #endif
   1781 
   1782 int
   1783 main (void)
   1784 {
   1785 return $2 ();
   1786   ;
   1787   return 0;
   1788 }
   1789 _ACEOF
   1790 if ac_fn_c_try_link "$LINENO"
   1791 then :
   1792   eval "$3=yes"
   1793 else case e in #(
   1794   e) eval "$3=no" ;;
   1795 esac
   1796 fi
   1797 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1798     conftest$ac_exeext conftest.$ac_ext ;;
   1799 esac
   1800 fi
   1801 eval ac_res=\$$3
   1802 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1803 printf "%s\n" "$ac_res" >&6; }
   1804   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1805 
   1806 } # ac_fn_c_check_func
   1807 ac_configure_args_raw=
   1808 for ac_arg
   1809 do
   1810   case $ac_arg in
   1811   *\'*)
   1812     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1813   esac
   1814   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1815 done
   1816 
   1817 case $ac_configure_args_raw in
   1818   *$as_nl*)
   1819     ac_safe_unquote= ;;
   1820   *)
   1821     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1822     ac_unsafe_a="$ac_unsafe_z#~"
   1823     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1824     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1825 esac
   1826 
   1827 cat >config.log <<_ACEOF
   1828 This file contains any messages produced by compilers while
   1829 running configure, to aid debugging if configure makes a mistake.
   1830 
   1831 It was created by bitmap $as_me 1.1.2, which was
   1832 generated by GNU Autoconf 2.72.  Invocation command line was
   1833 
   1834   $ $0$ac_configure_args_raw
   1835 
   1836 _ACEOF
   1837 exec 5>>config.log
   1838 {
   1839 cat <<_ASUNAME
   1840 ## --------- ##
   1841 ## Platform. ##
   1842 ## --------- ##
   1843 
   1844 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1845 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1846 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1847 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1848 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1849 
   1850 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1851 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1852 
   1853 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1854 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1855 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1856 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1857 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1858 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1859 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1860 
   1861 _ASUNAME
   1862 
   1863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1864 for as_dir in $PATH
   1865 do
   1866   IFS=$as_save_IFS
   1867   case $as_dir in #(((
   1868     '') as_dir=./ ;;
   1869     */) ;;
   1870     *) as_dir=$as_dir/ ;;
   1871   esac
   1872     printf "%s\n" "PATH: $as_dir"
   1873   done
   1874 IFS=$as_save_IFS
   1875 
   1876 } >&5
   1877 
   1878 cat >&5 <<_ACEOF
   1879 
   1880 
   1881 ## ----------- ##
   1882 ## Core tests. ##
   1883 ## ----------- ##
   1884 
   1885 _ACEOF
   1886 
   1887 
   1888 # Keep a trace of the command line.
   1889 # Strip out --no-create and --no-recursion so they do not pile up.
   1890 # Strip out --silent because we don't want to record it for future runs.
   1891 # Also quote any args containing shell meta-characters.
   1892 # Make two passes to allow for proper duplicate-argument suppression.
   1893 ac_configure_args=
   1894 ac_configure_args0=
   1895 ac_configure_args1=
   1896 ac_must_keep_next=false
   1897 for ac_pass in 1 2
   1898 do
   1899   for ac_arg
   1900   do
   1901     case $ac_arg in
   1902     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1903     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1904     | -silent | --silent | --silen | --sile | --sil)
   1905       continue ;;
   1906     *\'*)
   1907       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1908     esac
   1909     case $ac_pass in
   1910     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1911     2)
   1912       as_fn_append ac_configure_args1 " '$ac_arg'"
   1913       if test $ac_must_keep_next = true; then
   1914 	ac_must_keep_next=false # Got value, back to normal.
   1915       else
   1916 	case $ac_arg in
   1917 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1918 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1919 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1920 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1921 	    case "$ac_configure_args0 " in
   1922 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1923 	    esac
   1924 	    ;;
   1925 	  -* ) ac_must_keep_next=true ;;
   1926 	esac
   1927       fi
   1928       as_fn_append ac_configure_args " '$ac_arg'"
   1929       ;;
   1930     esac
   1931   done
   1932 done
   1933 { ac_configure_args0=; unset ac_configure_args0;}
   1934 { ac_configure_args1=; unset ac_configure_args1;}
   1935 
   1936 # When interrupted or exit'd, cleanup temporary files, and complete
   1937 # config.log.  We remove comments because anyway the quotes in there
   1938 # would cause problems or look ugly.
   1939 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1940 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1941 trap 'exit_status=$?
   1942   # Sanitize IFS.
   1943   IFS=" ""	$as_nl"
   1944   # Save into config.log some information that might help in debugging.
   1945   {
   1946     echo
   1947 
   1948     printf "%s\n" "## ---------------- ##
   1949 ## Cache variables. ##
   1950 ## ---------------- ##"
   1951     echo
   1952     # The following way of writing the cache mishandles newlines in values,
   1953 (
   1954   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1955     eval ac_val=\$$ac_var
   1956     case $ac_val in #(
   1957     *${as_nl}*)
   1958       case $ac_var in #(
   1959       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1960 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1961       esac
   1962       case $ac_var in #(
   1963       _ | IFS | as_nl) ;; #(
   1964       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1965       *) { eval $ac_var=; unset $ac_var;} ;;
   1966       esac ;;
   1967     esac
   1968   done
   1969   (set) 2>&1 |
   1970     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1971     *${as_nl}ac_space=\ *)
   1972       sed -n \
   1973 	"s/'\''/'\''\\\\'\'''\''/g;
   1974 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1975       ;; #(
   1976     *)
   1977       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1978       ;;
   1979     esac |
   1980     sort
   1981 )
   1982     echo
   1983 
   1984     printf "%s\n" "## ----------------- ##
   1985 ## Output variables. ##
   1986 ## ----------------- ##"
   1987     echo
   1988     for ac_var in $ac_subst_vars
   1989     do
   1990       eval ac_val=\$$ac_var
   1991       case $ac_val in
   1992       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1993       esac
   1994       printf "%s\n" "$ac_var='\''$ac_val'\''"
   1995     done | sort
   1996     echo
   1997 
   1998     if test -n "$ac_subst_files"; then
   1999       printf "%s\n" "## ------------------- ##
   2000 ## File substitutions. ##
   2001 ## ------------------- ##"
   2002       echo
   2003       for ac_var in $ac_subst_files
   2004       do
   2005 	eval ac_val=\$$ac_var
   2006 	case $ac_val in
   2007 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2008 	esac
   2009 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2010       done | sort
   2011       echo
   2012     fi
   2013 
   2014     if test -s confdefs.h; then
   2015       printf "%s\n" "## ----------- ##
   2016 ## confdefs.h. ##
   2017 ## ----------- ##"
   2018       echo
   2019       cat confdefs.h
   2020       echo
   2021     fi
   2022     test "$ac_signal" != 0 &&
   2023       printf "%s\n" "$as_me: caught signal $ac_signal"
   2024     printf "%s\n" "$as_me: exit $exit_status"
   2025   } >&5
   2026   rm -f core *.core core.conftest.* &&
   2027     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2028     exit $exit_status
   2029 ' 0
   2030 for ac_signal in 1 2 13 15; do
   2031   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2032 done
   2033 ac_signal=0
   2034 
   2035 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2036 rm -f -r conftest* confdefs.h
   2037 
   2038 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2039 
   2040 # Predefined preprocessor variables.
   2041 
   2042 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2043 
   2044 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2045 
   2046 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2047 
   2048 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2049 
   2050 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2051 
   2052 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2053 
   2054 
   2055 # Let the site file select an alternate cache file if it wants to.
   2056 # Prefer an explicitly selected file to automatically selected ones.
   2057 if test -n "$CONFIG_SITE"; then
   2058   ac_site_files="$CONFIG_SITE"
   2059 elif test "x$prefix" != xNONE; then
   2060   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2061 else
   2062   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2063 fi
   2064 
   2065 for ac_site_file in $ac_site_files
   2066 do
   2067   case $ac_site_file in #(
   2068   */*) :
   2069      ;; #(
   2070   *) :
   2071     ac_site_file=./$ac_site_file ;;
   2072 esac
   2073   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2074     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2075 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2076     sed 's/^/| /' "$ac_site_file" >&5
   2077     . "$ac_site_file" \
   2078       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2079 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2080 as_fn_error $? "failed to load site script $ac_site_file
   2081 See 'config.log' for more details" "$LINENO" 5; }
   2082   fi
   2083 done
   2084 
   2085 if test -r "$cache_file"; then
   2086   # Some versions of bash will fail to source /dev/null (special files
   2087   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2088   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2089     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2090 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2091     case $cache_file in
   2092       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2093       *)                      . "./$cache_file";;
   2094     esac
   2095   fi
   2096 else
   2097   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2098 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2099   >$cache_file
   2100 fi
   2101 
   2102 # Test code for whether the C compiler supports C89 (global declarations)
   2103 ac_c_conftest_c89_globals='
   2104 /* Does the compiler advertise C89 conformance?
   2105    Do not test the value of __STDC__, because some compilers set it to 0
   2106    while being otherwise adequately conformant. */
   2107 #if !defined __STDC__
   2108 # error "Compiler does not advertise C89 conformance"
   2109 #endif
   2110 
   2111 #include <stddef.h>
   2112 #include <stdarg.h>
   2113 struct stat;
   2114 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2115 struct buf { int x; };
   2116 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2117 static char *e (char **p, int i)
   2118 {
   2119   return p[i];
   2120 }
   2121 static char *f (char * (*g) (char **, int), char **p, ...)
   2122 {
   2123   char *s;
   2124   va_list v;
   2125   va_start (v,p);
   2126   s = g (p, va_arg (v,int));
   2127   va_end (v);
   2128   return s;
   2129 }
   2130 
   2131 /* C89 style stringification. */
   2132 #define noexpand_stringify(a) #a
   2133 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2134 
   2135 /* C89 style token pasting.  Exercises some of the corner cases that
   2136    e.g. old MSVC gets wrong, but not very hard. */
   2137 #define noexpand_concat(a,b) a##b
   2138 #define expand_concat(a,b) noexpand_concat(a,b)
   2139 extern int vA;
   2140 extern int vbee;
   2141 #define aye A
   2142 #define bee B
   2143 int *pvA = &expand_concat(v,aye);
   2144 int *pvbee = &noexpand_concat(v,bee);
   2145 
   2146 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2147    function prototypes and stuff, but not \xHH hex character constants.
   2148    These do not provoke an error unfortunately, instead are silently treated
   2149    as an "x".  The following induces an error, until -std is added to get
   2150    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2151    array size at least.  It is necessary to write \x00 == 0 to get something
   2152    that is true only with -std.  */
   2153 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2154 
   2155 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2156    inside strings and character constants.  */
   2157 #define FOO(x) '\''x'\''
   2158 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2159 
   2160 int test (int i, double x);
   2161 struct s1 {int (*f) (int a);};
   2162 struct s2 {int (*f) (double a);};
   2163 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2164                int, int);'
   2165 
   2166 # Test code for whether the C compiler supports C89 (body of main).
   2167 ac_c_conftest_c89_main='
   2168 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2169 '
   2170 
   2171 # Test code for whether the C compiler supports C99 (global declarations)
   2172 ac_c_conftest_c99_globals='
   2173 /* Does the compiler advertise C99 conformance? */
   2174 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2175 # error "Compiler does not advertise C99 conformance"
   2176 #endif
   2177 
   2178 // See if C++-style comments work.
   2179 
   2180 #include <stdbool.h>
   2181 extern int puts (const char *);
   2182 extern int printf (const char *, ...);
   2183 extern int dprintf (int, const char *, ...);
   2184 extern void *malloc (size_t);
   2185 extern void free (void *);
   2186 
   2187 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2188 // dprintf is used instead of fprintf to avoid needing to declare
   2189 // FILE and stderr.
   2190 #define debug(...) dprintf (2, __VA_ARGS__)
   2191 #define showlist(...) puts (#__VA_ARGS__)
   2192 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2193 static void
   2194 test_varargs_macros (void)
   2195 {
   2196   int x = 1234;
   2197   int y = 5678;
   2198   debug ("Flag");
   2199   debug ("X = %d\n", x);
   2200   showlist (The first, second, and third items.);
   2201   report (x>y, "x is %d but y is %d", x, y);
   2202 }
   2203 
   2204 // Check long long types.
   2205 #define BIG64 18446744073709551615ull
   2206 #define BIG32 4294967295ul
   2207 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2208 #if !BIG_OK
   2209   #error "your preprocessor is broken"
   2210 #endif
   2211 #if BIG_OK
   2212 #else
   2213   #error "your preprocessor is broken"
   2214 #endif
   2215 static long long int bignum = -9223372036854775807LL;
   2216 static unsigned long long int ubignum = BIG64;
   2217 
   2218 struct incomplete_array
   2219 {
   2220   int datasize;
   2221   double data[];
   2222 };
   2223 
   2224 struct named_init {
   2225   int number;
   2226   const wchar_t *name;
   2227   double average;
   2228 };
   2229 
   2230 typedef const char *ccp;
   2231 
   2232 static inline int
   2233 test_restrict (ccp restrict text)
   2234 {
   2235   // Iterate through items via the restricted pointer.
   2236   // Also check for declarations in for loops.
   2237   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2238     continue;
   2239   return 0;
   2240 }
   2241 
   2242 // Check varargs and va_copy.
   2243 static bool
   2244 test_varargs (const char *format, ...)
   2245 {
   2246   va_list args;
   2247   va_start (args, format);
   2248   va_list args_copy;
   2249   va_copy (args_copy, args);
   2250 
   2251   const char *str = "";
   2252   int number = 0;
   2253   float fnumber = 0;
   2254 
   2255   while (*format)
   2256     {
   2257       switch (*format++)
   2258 	{
   2259 	case '\''s'\'': // string
   2260 	  str = va_arg (args_copy, const char *);
   2261 	  break;
   2262 	case '\''d'\'': // int
   2263 	  number = va_arg (args_copy, int);
   2264 	  break;
   2265 	case '\''f'\'': // float
   2266 	  fnumber = va_arg (args_copy, double);
   2267 	  break;
   2268 	default:
   2269 	  break;
   2270 	}
   2271     }
   2272   va_end (args_copy);
   2273   va_end (args);
   2274 
   2275   return *str && number && fnumber;
   2276 }
   2277 '
   2278 
   2279 # Test code for whether the C compiler supports C99 (body of main).
   2280 ac_c_conftest_c99_main='
   2281   // Check bool.
   2282   _Bool success = false;
   2283   success |= (argc != 0);
   2284 
   2285   // Check restrict.
   2286   if (test_restrict ("String literal") == 0)
   2287     success = true;
   2288   char *restrict newvar = "Another string";
   2289 
   2290   // Check varargs.
   2291   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2292   test_varargs_macros ();
   2293 
   2294   // Check flexible array members.
   2295   struct incomplete_array *ia =
   2296     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2297   ia->datasize = 10;
   2298   for (int i = 0; i < ia->datasize; ++i)
   2299     ia->data[i] = i * 1.234;
   2300   // Work around memory leak warnings.
   2301   free (ia);
   2302 
   2303   // Check named initializers.
   2304   struct named_init ni = {
   2305     .number = 34,
   2306     .name = L"Test wide string",
   2307     .average = 543.34343,
   2308   };
   2309 
   2310   ni.number = 58;
   2311 
   2312   int dynamic_array[ni.number];
   2313   dynamic_array[0] = argv[0][0];
   2314   dynamic_array[ni.number - 1] = 543;
   2315 
   2316   // work around unused variable warnings
   2317   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2318 	 || dynamic_array[ni.number - 1] != 543);
   2319 '
   2320 
   2321 # Test code for whether the C compiler supports C11 (global declarations)
   2322 ac_c_conftest_c11_globals='
   2323 /* Does the compiler advertise C11 conformance? */
   2324 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2325 # error "Compiler does not advertise C11 conformance"
   2326 #endif
   2327 
   2328 // Check _Alignas.
   2329 char _Alignas (double) aligned_as_double;
   2330 char _Alignas (0) no_special_alignment;
   2331 extern char aligned_as_int;
   2332 char _Alignas (0) _Alignas (int) aligned_as_int;
   2333 
   2334 // Check _Alignof.
   2335 enum
   2336 {
   2337   int_alignment = _Alignof (int),
   2338   int_array_alignment = _Alignof (int[100]),
   2339   char_alignment = _Alignof (char)
   2340 };
   2341 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2342 
   2343 // Check _Noreturn.
   2344 int _Noreturn does_not_return (void) { for (;;) continue; }
   2345 
   2346 // Check _Static_assert.
   2347 struct test_static_assert
   2348 {
   2349   int x;
   2350   _Static_assert (sizeof (int) <= sizeof (long int),
   2351                   "_Static_assert does not work in struct");
   2352   long int y;
   2353 };
   2354 
   2355 // Check UTF-8 literals.
   2356 #define u8 syntax error!
   2357 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2358 
   2359 // Check duplicate typedefs.
   2360 typedef long *long_ptr;
   2361 typedef long int *long_ptr;
   2362 typedef long_ptr long_ptr;
   2363 
   2364 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2365 struct anonymous
   2366 {
   2367   union {
   2368     struct { int i; int j; };
   2369     struct { int k; long int l; } w;
   2370   };
   2371   int m;
   2372 } v1;
   2373 '
   2374 
   2375 # Test code for whether the C compiler supports C11 (body of main).
   2376 ac_c_conftest_c11_main='
   2377   _Static_assert ((offsetof (struct anonymous, i)
   2378 		   == offsetof (struct anonymous, w.k)),
   2379 		  "Anonymous union alignment botch");
   2380   v1.i = 2;
   2381   v1.w.k = 5;
   2382   ok |= v1.i != 5;
   2383 '
   2384 
   2385 # Test code for whether the C compiler supports C11 (complete).
   2386 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2387 ${ac_c_conftest_c99_globals}
   2388 ${ac_c_conftest_c11_globals}
   2389 
   2390 int
   2391 main (int argc, char **argv)
   2392 {
   2393   int ok = 0;
   2394   ${ac_c_conftest_c89_main}
   2395   ${ac_c_conftest_c99_main}
   2396   ${ac_c_conftest_c11_main}
   2397   return ok;
   2398 }
   2399 "
   2400 
   2401 # Test code for whether the C compiler supports C99 (complete).
   2402 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2403 ${ac_c_conftest_c99_globals}
   2404 
   2405 int
   2406 main (int argc, char **argv)
   2407 {
   2408   int ok = 0;
   2409   ${ac_c_conftest_c89_main}
   2410   ${ac_c_conftest_c99_main}
   2411   return ok;
   2412 }
   2413 "
   2414 
   2415 # Test code for whether the C compiler supports C89 (complete).
   2416 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2417 
   2418 int
   2419 main (int argc, char **argv)
   2420 {
   2421   int ok = 0;
   2422   ${ac_c_conftest_c89_main}
   2423   return ok;
   2424 }
   2425 "
   2426 
   2427 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2428 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2429 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2430 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2431 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2432 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2433 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2434 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2435 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2436 
   2437 # Auxiliary files required by this configure script.
   2438 ac_aux_files="config.guess config.sub compile missing install-sh"
   2439 
   2440 # Locations in which to look for auxiliary files.
   2441 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2442 
   2443 # Search for a directory containing all of the required auxiliary files,
   2444 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2445 # If we don't find one directory that contains all the files we need,
   2446 # we report the set of missing files from the *first* directory in
   2447 # $ac_aux_dir_candidates and give up.
   2448 ac_missing_aux_files=""
   2449 ac_first_candidate=:
   2450 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2452 as_found=false
   2453 for as_dir in $ac_aux_dir_candidates
   2454 do
   2455   IFS=$as_save_IFS
   2456   case $as_dir in #(((
   2457     '') as_dir=./ ;;
   2458     */) ;;
   2459     *) as_dir=$as_dir/ ;;
   2460   esac
   2461   as_found=:
   2462 
   2463   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2464   ac_aux_dir_found=yes
   2465   ac_install_sh=
   2466   for ac_aux in $ac_aux_files
   2467   do
   2468     # As a special case, if "install-sh" is required, that requirement
   2469     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2470     # and $ac_install_sh is set appropriately for whichever one is found.
   2471     if test x"$ac_aux" = x"install-sh"
   2472     then
   2473       if test -f "${as_dir}install-sh"; then
   2474         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2475         ac_install_sh="${as_dir}install-sh -c"
   2476       elif test -f "${as_dir}install.sh"; then
   2477         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2478         ac_install_sh="${as_dir}install.sh -c"
   2479       elif test -f "${as_dir}shtool"; then
   2480         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2481         ac_install_sh="${as_dir}shtool install -c"
   2482       else
   2483         ac_aux_dir_found=no
   2484         if $ac_first_candidate; then
   2485           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2486         else
   2487           break
   2488         fi
   2489       fi
   2490     else
   2491       if test -f "${as_dir}${ac_aux}"; then
   2492         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2493       else
   2494         ac_aux_dir_found=no
   2495         if $ac_first_candidate; then
   2496           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2497         else
   2498           break
   2499         fi
   2500       fi
   2501     fi
   2502   done
   2503   if test "$ac_aux_dir_found" = yes; then
   2504     ac_aux_dir="$as_dir"
   2505     break
   2506   fi
   2507   ac_first_candidate=false
   2508 
   2509   as_found=false
   2510 done
   2511 IFS=$as_save_IFS
   2512 if $as_found
   2513 then :
   2514 
   2515 else case e in #(
   2516   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2517 esac
   2518 fi
   2519 
   2520 
   2521 # These three variables are undocumented and unsupported,
   2522 # and are intended to be withdrawn in a future Autoconf release.
   2523 # They can cause serious problems if a builder's source tree is in a directory
   2524 # whose full name contains unusual characters.
   2525 if test -f "${ac_aux_dir}config.guess"; then
   2526   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2527 fi
   2528 if test -f "${ac_aux_dir}config.sub"; then
   2529   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2530 fi
   2531 if test -f "$ac_aux_dir/configure"; then
   2532   ac_configure="$SHELL ${ac_aux_dir}configure"
   2533 fi
   2534 
   2535 # Check that the precious variables saved in the cache have kept the same
   2536 # value.
   2537 ac_cache_corrupted=false
   2538 for ac_var in $ac_precious_vars; do
   2539   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2540   eval ac_new_set=\$ac_env_${ac_var}_set
   2541   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2542   eval ac_new_val=\$ac_env_${ac_var}_value
   2543   case $ac_old_set,$ac_new_set in
   2544     set,)
   2545       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2546 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2547       ac_cache_corrupted=: ;;
   2548     ,set)
   2549       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2550 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2551       ac_cache_corrupted=: ;;
   2552     ,);;
   2553     *)
   2554       if test "x$ac_old_val" != "x$ac_new_val"; then
   2555 	# differences in whitespace do not lead to failure.
   2556 	ac_old_val_w=`echo x $ac_old_val`
   2557 	ac_new_val_w=`echo x $ac_new_val`
   2558 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2559 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2560 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2561 	  ac_cache_corrupted=:
   2562 	else
   2563 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2564 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2565 	  eval $ac_var=\$ac_old_val
   2566 	fi
   2567 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2568 printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
   2569 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2570 printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
   2571       fi;;
   2572   esac
   2573   # Pass precious variables to config.status.
   2574   if test "$ac_new_set" = set; then
   2575     case $ac_new_val in
   2576     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2577     *) ac_arg=$ac_var=$ac_new_val ;;
   2578     esac
   2579     case " $ac_configure_args " in
   2580       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2581       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2582     esac
   2583   fi
   2584 done
   2585 if $ac_cache_corrupted; then
   2586   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2587 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2588   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2589 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2590   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2591 	    and start over" "$LINENO" 5
   2592 fi
   2593 ## -------------------- ##
   2594 ## Main body of script. ##
   2595 ## -------------------- ##
   2596 
   2597 ac_ext=c
   2598 ac_cpp='$CPP $CPPFLAGS'
   2599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2602 
   2603 
   2604 
   2605 ac_config_headers="$ac_config_headers config.h"
   2606 
   2607 
   2608 # Initialize Automake
   2609 am__api_version='1.18'
   2610 
   2611 
   2612 
   2613   # Find a good install program.  We prefer a C program (faster),
   2614 # so one script is as good as another.  But avoid the broken or
   2615 # incompatible versions:
   2616 # SysV /etc/install, /usr/sbin/install
   2617 # SunOS /usr/etc/install
   2618 # IRIX /sbin/install
   2619 # AIX /bin/install
   2620 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2621 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2622 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2623 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2624 # OS/2's system install, which has a completely different semantic
   2625 # ./install, which can be erroneously created by make from ./install.sh.
   2626 # Reject install programs that cannot install multiple files.
   2627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2628 printf %s "checking for a BSD-compatible install... " >&6; }
   2629 if test -z "$INSTALL"; then
   2630 if test ${ac_cv_path_install+y}
   2631 then :
   2632   printf %s "(cached) " >&6
   2633 else case e in #(
   2634   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2635 for as_dir in $PATH
   2636 do
   2637   IFS=$as_save_IFS
   2638   case $as_dir in #(((
   2639     '') as_dir=./ ;;
   2640     */) ;;
   2641     *) as_dir=$as_dir/ ;;
   2642   esac
   2643     # Account for fact that we put trailing slashes in our PATH walk.
   2644 case $as_dir in #((
   2645   ./ | /[cC]/* | \
   2646   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2647   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2648   /usr/ucb/* ) ;;
   2649   *)
   2650     # OSF1 and SCO ODT 3.0 have their own names for install.
   2651     # Don't use installbsd from OSF since it installs stuff as root
   2652     # by default.
   2653     for ac_prog in ginstall scoinst install; do
   2654       for ac_exec_ext in '' $ac_executable_extensions; do
   2655 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2656 	  if test $ac_prog = install &&
   2657 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2658 	    # AIX install.  It has an incompatible calling convention.
   2659 	    :
   2660 	  elif test $ac_prog = install &&
   2661 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2662 	    # program-specific install script used by HP pwplus--don't use.
   2663 	    :
   2664 	  else
   2665 	    rm -rf conftest.one conftest.two conftest.dir
   2666 	    echo one > conftest.one
   2667 	    echo two > conftest.two
   2668 	    mkdir conftest.dir
   2669 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2670 	      test -s conftest.one && test -s conftest.two &&
   2671 	      test -s conftest.dir/conftest.one &&
   2672 	      test -s conftest.dir/conftest.two
   2673 	    then
   2674 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2675 	      break 3
   2676 	    fi
   2677 	  fi
   2678 	fi
   2679       done
   2680     done
   2681     ;;
   2682 esac
   2683 
   2684   done
   2685 IFS=$as_save_IFS
   2686 
   2687 rm -rf conftest.one conftest.two conftest.dir
   2688  ;;
   2689 esac
   2690 fi
   2691   if test ${ac_cv_path_install+y}; then
   2692     INSTALL=$ac_cv_path_install
   2693   else
   2694     # As a last resort, use the slow shell script.  Don't cache a
   2695     # value for INSTALL within a source directory, because that will
   2696     # break other packages using the cache if that directory is
   2697     # removed, or if the value is a relative name.
   2698     INSTALL=$ac_install_sh
   2699   fi
   2700 fi
   2701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2702 printf "%s\n" "$INSTALL" >&6; }
   2703 
   2704 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2705 # It thinks the first close brace ends the variable substitution.
   2706 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2707 
   2708 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2709 
   2710 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2711 
   2712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   2713 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   2714 if test ${am_cv_sleep_fractional_seconds+y}
   2715 then :
   2716   printf %s "(cached) " >&6
   2717 else case e in #(
   2718   e) if sleep 0.001 2>/dev/null
   2719 then :
   2720   am_cv_sleep_fractional_seconds=yes
   2721 else case e in #(
   2722   e) am_cv_sleep_fractional_seconds=no ;;
   2723 esac
   2724 fi
   2725  ;;
   2726 esac
   2727 fi
   2728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   2729 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
   2730 
   2731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   2732 printf %s "checking filesystem timestamp resolution... " >&6; }
   2733 if test ${am_cv_filesystem_timestamp_resolution+y}
   2734 then :
   2735   printf %s "(cached) " >&6
   2736 else case e in #(
   2737   e) # Default to the worst case.
   2738 am_cv_filesystem_timestamp_resolution=2
   2739 
   2740 # Only try to go finer than 1 sec if sleep can do it.
   2741 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   2742 # - 1 sec is not much of a win compared to 2 sec, and
   2743 # - it takes 2 seconds to perform the test whether 1 sec works.
   2744 #
   2745 # Instead, just use the default 2s on platforms that have 1s resolution,
   2746 # accept the extra 1s delay when using $sleep in the Automake tests, in
   2747 # exchange for not incurring the 2s delay for running the test for all
   2748 # packages.
   2749 #
   2750 am_try_resolutions=
   2751 if test "$am_cv_sleep_fractional_seconds" = yes; then
   2752   # Even a millisecond often causes a bunch of false positives,
   2753   # so just try a hundredth of a second. The time saved between .001 and
   2754   # .01 is not terribly consequential.
   2755   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   2756 fi
   2757 
   2758 # In order to catch current-generation FAT out, we must *modify* files
   2759 # that already exist; the *creation* timestamp is finer.  Use names
   2760 # that make ls -t sort them differently when they have equal
   2761 # timestamps than when they have distinct timestamps, keeping
   2762 # in mind that ls -t prints the *newest* file first.
   2763 rm -f conftest.ts?
   2764 : > conftest.ts1
   2765 : > conftest.ts2
   2766 : > conftest.ts3
   2767 
   2768 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   2769 # clobber the current shell's arguments. (Outer-level square brackets
   2770 # are removed by m4; they're present so that m4 does not expand
   2771 # <dollar><star>; be careful, easy to get confused.)
   2772 if (
   2773      set X `ls -t conftest.ts[12]` &&
   2774      {
   2775        test "$*" != "X conftest.ts1 conftest.ts2" ||
   2776        test "$*" != "X conftest.ts2 conftest.ts1";
   2777      }
   2778 ); then :; else
   2779   # If neither matched, then we have a broken ls.  This can happen
   2780   # if, for instance, CONFIG_SHELL is bash and it inherits a
   2781   # broken ls alias from the environment.  This has actually
   2782   # happened.  Such a system could not be considered "sane".
   2783   printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   2784   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2785 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2786 as_fn_error $? "ls -t produces unexpected output.
   2787 Make sure there is not a broken ls alias in your environment.
   2788 See 'config.log' for more details" "$LINENO" 5; }
   2789 fi
   2790 
   2791 for am_try_res in $am_try_resolutions; do
   2792   # Any one fine-grained sleep might happen to cross the boundary
   2793   # between two values of a coarser actual resolution, but if we do
   2794   # two fine-grained sleeps in a row, at least one of them will fall
   2795   # entirely within a coarse interval.
   2796   echo alpha > conftest.ts1
   2797   sleep $am_try_res
   2798   echo beta > conftest.ts2
   2799   sleep $am_try_res
   2800   echo gamma > conftest.ts3
   2801 
   2802   # We assume that 'ls -t' will make use of high-resolution
   2803   # timestamps if the operating system supports them at all.
   2804   if (set X `ls -t conftest.ts?` &&
   2805       test "$2" = conftest.ts3 &&
   2806       test "$3" = conftest.ts2 &&
   2807       test "$4" = conftest.ts1); then
   2808     #
   2809     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   2810     # because we don't need to test make.
   2811     make_ok=true
   2812     if test $am_try_res != 1; then
   2813       # But if we've succeeded so far with a subsecond resolution, we
   2814       # have one more thing to check: make. It can happen that
   2815       # everything else supports the subsecond mtimes, but make doesn't;
   2816       # notably on macOS, which ships make 3.81 from 2006 (the last one
   2817       # released under GPLv2). https://bugs.gnu.org/68808
   2818       #
   2819       # We test $MAKE if it is defined in the environment, else "make".
   2820       # It might get overridden later, but our hope is that in practice
   2821       # it does not matter: it is the system "make" which is (by far)
   2822       # the most likely to be broken, whereas if the user overrides it,
   2823       # probably they did so with a better, or at least not worse, make.
   2824       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   2825       #
   2826       # Create a Makefile (real tab character here):
   2827       rm -f conftest.mk
   2828       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   2829       echo '	touch conftest.ts2' >>conftest.mk
   2830       #
   2831       # Now, running
   2832       #   touch conftest.ts1; touch conftest.ts2; make
   2833       # should touch ts1 because ts2 is newer. This could happen by luck,
   2834       # but most often, it will fail if make's support is insufficient. So
   2835       # test for several consecutive successes.
   2836       #
   2837       # (We reuse conftest.ts[12] because we still want to modify existing
   2838       # files, not create new ones, per above.)
   2839       n=0
   2840       make=${MAKE-make}
   2841       until test $n -eq 3; do
   2842         echo one > conftest.ts1
   2843         sleep $am_try_res
   2844         echo two > conftest.ts2 # ts2 should now be newer than ts1
   2845         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   2846           make_ok=false
   2847           break # out of $n loop
   2848         fi
   2849         n=`expr $n + 1`
   2850       done
   2851     fi
   2852     #
   2853     if $make_ok; then
   2854       # Everything we know to check worked out, so call this resolution good.
   2855       am_cv_filesystem_timestamp_resolution=$am_try_res
   2856       break # out of $am_try_res loop
   2857     fi
   2858     # Otherwise, we'll go on to check the next resolution.
   2859   fi
   2860 done
   2861 rm -f conftest.ts?
   2862 # (end _am_filesystem_timestamp_resolution)
   2863  ;;
   2864 esac
   2865 fi
   2866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   2867 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
   2868 
   2869 # This check should not be cached, as it may vary across builds of
   2870 # different projects.
   2871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2872 printf %s "checking whether build environment is sane... " >&6; }
   2873 # Reject unsafe characters in $srcdir or the absolute working directory
   2874 # name.  Accept space and tab only in the latter.
   2875 am_lf='
   2876 '
   2877 case `pwd` in
   2878   *[\\\"\#\$\&\'\`$am_lf]*)
   2879     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2880 printf "%s\n" "no" >&6; }
   2881     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2882 esac
   2883 case $srcdir in
   2884   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2885     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2886 printf "%s\n" "no" >&6; }
   2887     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2888 esac
   2889 
   2890 # Do 'set' in a subshell so we don't clobber the current shell's
   2891 # arguments.  Must try -L first in case configure is actually a
   2892 # symlink; some systems play weird games with the mod time of symlinks
   2893 # (eg FreeBSD returns the mod time of the symlink's containing
   2894 # directory).
   2895 am_build_env_is_sane=no
   2896 am_has_slept=no
   2897 rm -f conftest.file
   2898 for am_try in 1 2; do
   2899   echo "timestamp, slept: $am_has_slept" > conftest.file
   2900   if (
   2901     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2902     if test "$*" = "X"; then
   2903       # -L didn't work.
   2904       set X `ls -t "$srcdir/configure" conftest.file`
   2905     fi
   2906     test "$2" = conftest.file
   2907   ); then
   2908     am_build_env_is_sane=yes
   2909     break
   2910   fi
   2911   # Just in case.
   2912   sleep "$am_cv_filesystem_timestamp_resolution"
   2913   am_has_slept=yes
   2914 done
   2915 
   2916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   2917 printf "%s\n" "$am_build_env_is_sane" >&6; }
   2918 if test "$am_build_env_is_sane" = no; then
   2919   as_fn_error $? "newly created file is older than distributed files!
   2920 Check your system clock" "$LINENO" 5
   2921 fi
   2922 
   2923 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2924 # generated files are strictly newer.
   2925 am_sleep_pid=
   2926 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   2927 then :
   2928 
   2929 else case e in #(
   2930   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   2931   am_sleep_pid=$!
   2932  ;;
   2933 esac
   2934 fi
   2935 
   2936 rm -f conftest.file
   2937 
   2938 test "$program_prefix" != NONE &&
   2939   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2940 # Use a double $ so make ignores it.
   2941 test "$program_suffix" != NONE &&
   2942   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2943 # Double any \ or $.
   2944 # By default was 's,x,x', remove it if useless.
   2945 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2946 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2947 
   2948 
   2949 # Expand $ac_aux_dir to an absolute path.
   2950 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2951 
   2952 
   2953   if test x"${MISSING+set}" != xset; then
   2954   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2955 fi
   2956 # Use eval to expand $SHELL
   2957 if eval "$MISSING --is-lightweight"; then
   2958   am_missing_run="$MISSING "
   2959 else
   2960   am_missing_run=
   2961   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2962 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2963 fi
   2964 
   2965 if test x"${install_sh+set}" != xset; then
   2966   case $am_aux_dir in
   2967   *\ * | *\	*)
   2968     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2969   *)
   2970     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2971   esac
   2972 fi
   2973 
   2974 # Installed binaries are usually stripped using 'strip' when the user
   2975 # run "make install-strip".  However 'strip' might not be the right
   2976 # tool to use in cross-compilation environments, therefore Automake
   2977 # will honor the 'STRIP' environment variable to overrule this program.
   2978 if test "$cross_compiling" != no; then
   2979   if test -n "$ac_tool_prefix"; then
   2980   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2981 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2983 printf %s "checking for $ac_word... " >&6; }
   2984 if test ${ac_cv_prog_STRIP+y}
   2985 then :
   2986   printf %s "(cached) " >&6
   2987 else case e in #(
   2988   e) if test -n "$STRIP"; then
   2989   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2990 else
   2991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2992 for as_dir in $PATH
   2993 do
   2994   IFS=$as_save_IFS
   2995   case $as_dir in #(((
   2996     '') as_dir=./ ;;
   2997     */) ;;
   2998     *) as_dir=$as_dir/ ;;
   2999   esac
   3000     for ac_exec_ext in '' $ac_executable_extensions; do
   3001   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3002     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3003     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3004     break 2
   3005   fi
   3006 done
   3007   done
   3008 IFS=$as_save_IFS
   3009 
   3010 fi ;;
   3011 esac
   3012 fi
   3013 STRIP=$ac_cv_prog_STRIP
   3014 if test -n "$STRIP"; then
   3015   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3016 printf "%s\n" "$STRIP" >&6; }
   3017 else
   3018   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3019 printf "%s\n" "no" >&6; }
   3020 fi
   3021 
   3022 
   3023 fi
   3024 if test -z "$ac_cv_prog_STRIP"; then
   3025   ac_ct_STRIP=$STRIP
   3026   # Extract the first word of "strip", so it can be a program name with args.
   3027 set dummy strip; ac_word=$2
   3028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3029 printf %s "checking for $ac_word... " >&6; }
   3030 if test ${ac_cv_prog_ac_ct_STRIP+y}
   3031 then :
   3032   printf %s "(cached) " >&6
   3033 else case e in #(
   3034   e) if test -n "$ac_ct_STRIP"; then
   3035   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3036 else
   3037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3038 for as_dir in $PATH
   3039 do
   3040   IFS=$as_save_IFS
   3041   case $as_dir in #(((
   3042     '') as_dir=./ ;;
   3043     */) ;;
   3044     *) as_dir=$as_dir/ ;;
   3045   esac
   3046     for ac_exec_ext in '' $ac_executable_extensions; do
   3047   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3048     ac_cv_prog_ac_ct_STRIP="strip"
   3049     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3050     break 2
   3051   fi
   3052 done
   3053   done
   3054 IFS=$as_save_IFS
   3055 
   3056 fi ;;
   3057 esac
   3058 fi
   3059 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3060 if test -n "$ac_ct_STRIP"; then
   3061   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3062 printf "%s\n" "$ac_ct_STRIP" >&6; }
   3063 else
   3064   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3065 printf "%s\n" "no" >&6; }
   3066 fi
   3067 
   3068   if test "x$ac_ct_STRIP" = x; then
   3069     STRIP=":"
   3070   else
   3071     case $cross_compiling:$ac_tool_warned in
   3072 yes:)
   3073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3074 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3075 ac_tool_warned=yes ;;
   3076 esac
   3077     STRIP=$ac_ct_STRIP
   3078   fi
   3079 else
   3080   STRIP="$ac_cv_prog_STRIP"
   3081 fi
   3082 
   3083 fi
   3084 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3085 
   3086 
   3087   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   3088 printf %s "checking for a race-free mkdir -p... " >&6; }
   3089 if test -z "$MKDIR_P"; then
   3090   if test ${ac_cv_path_mkdir+y}
   3091 then :
   3092   printf %s "(cached) " >&6
   3093 else case e in #(
   3094   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3095 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3096 do
   3097   IFS=$as_save_IFS
   3098   case $as_dir in #(((
   3099     '') as_dir=./ ;;
   3100     */) ;;
   3101     *) as_dir=$as_dir/ ;;
   3102   esac
   3103     for ac_prog in mkdir gmkdir; do
   3104 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3105 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3106 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3107 	     'mkdir ('*'coreutils) '* | \
   3108 	     *'BusyBox '* | \
   3109 	     'mkdir (fileutils) '4.1*)
   3110 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3111 	       break 3;;
   3112 	   esac
   3113 	 done
   3114        done
   3115   done
   3116 IFS=$as_save_IFS
   3117  ;;
   3118 esac
   3119 fi
   3120 
   3121   test -d ./--version && rmdir ./--version
   3122   if test ${ac_cv_path_mkdir+y}; then
   3123     MKDIR_P="$ac_cv_path_mkdir -p"
   3124   else
   3125     # As a last resort, use plain mkdir -p,
   3126     # in the hope it doesn't have the bugs of ancient mkdir.
   3127     MKDIR_P='mkdir -p'
   3128   fi
   3129 fi
   3130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3131 printf "%s\n" "$MKDIR_P" >&6; }
   3132 
   3133 for ac_prog in gawk mawk nawk awk
   3134 do
   3135   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3136 set dummy $ac_prog; ac_word=$2
   3137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3138 printf %s "checking for $ac_word... " >&6; }
   3139 if test ${ac_cv_prog_AWK+y}
   3140 then :
   3141   printf %s "(cached) " >&6
   3142 else case e in #(
   3143   e) if test -n "$AWK"; then
   3144   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3145 else
   3146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3147 for as_dir in $PATH
   3148 do
   3149   IFS=$as_save_IFS
   3150   case $as_dir in #(((
   3151     '') as_dir=./ ;;
   3152     */) ;;
   3153     *) as_dir=$as_dir/ ;;
   3154   esac
   3155     for ac_exec_ext in '' $ac_executable_extensions; do
   3156   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3157     ac_cv_prog_AWK="$ac_prog"
   3158     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3159     break 2
   3160   fi
   3161 done
   3162   done
   3163 IFS=$as_save_IFS
   3164 
   3165 fi ;;
   3166 esac
   3167 fi
   3168 AWK=$ac_cv_prog_AWK
   3169 if test -n "$AWK"; then
   3170   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3171 printf "%s\n" "$AWK" >&6; }
   3172 else
   3173   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3174 printf "%s\n" "no" >&6; }
   3175 fi
   3176 
   3177 
   3178   test -n "$AWK" && break
   3179 done
   3180 
   3181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3182 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3183 set x ${MAKE-make}
   3184 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3185 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3186 then :
   3187   printf %s "(cached) " >&6
   3188 else case e in #(
   3189   e) cat >conftest.make <<\_ACEOF
   3190 SHELL = /bin/sh
   3191 all:
   3192 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3193 _ACEOF
   3194 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3195 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3196   *@@@%%%=?*=@@@%%%*)
   3197     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3198   *)
   3199     eval ac_cv_prog_make_${ac_make}_set=no;;
   3200 esac
   3201 rm -f conftest.make ;;
   3202 esac
   3203 fi
   3204 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3205   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3206 printf "%s\n" "yes" >&6; }
   3207   SET_MAKE=
   3208 else
   3209   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3210 printf "%s\n" "no" >&6; }
   3211   SET_MAKE="MAKE=${MAKE-make}"
   3212 fi
   3213 
   3214 rm -rf .tst 2>/dev/null
   3215 mkdir .tst 2>/dev/null
   3216 if test -d .tst; then
   3217   am__leading_dot=.
   3218 else
   3219   am__leading_dot=_
   3220 fi
   3221 rmdir .tst 2>/dev/null
   3222 
   3223 AM_DEFAULT_VERBOSITY=1
   3224 # Check whether --enable-silent-rules was given.
   3225 if test ${enable_silent_rules+y}
   3226 then :
   3227   enableval=$enable_silent_rules;
   3228 fi
   3229 
   3230 am_make=${MAKE-make}
   3231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3232 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3233 if test ${am_cv_make_support_nested_variables+y}
   3234 then :
   3235   printf %s "(cached) " >&6
   3236 else case e in #(
   3237   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   3238 BAR0=false
   3239 BAR1=true
   3240 V=1
   3241 am__doit:
   3242 	@$(TRUE)
   3243 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3244   am_cv_make_support_nested_variables=yes
   3245 else
   3246   am_cv_make_support_nested_variables=no
   3247 fi ;;
   3248 esac
   3249 fi
   3250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3251 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3252 AM_BACKSLASH='\'
   3253 
   3254 am__rm_f_notfound=
   3255 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   3256 then :
   3257 
   3258 else case e in #(
   3259   e) am__rm_f_notfound='""' ;;
   3260 esac
   3261 fi
   3262 
   3263 
   3264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   3265 printf %s "checking xargs -n works... " >&6; }
   3266 if test ${am_cv_xargs_n_works+y}
   3267 then :
   3268   printf %s "(cached) " >&6
   3269 else case e in #(
   3270   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   3271 3"
   3272 then :
   3273   am_cv_xargs_n_works=yes
   3274 else case e in #(
   3275   e) am_cv_xargs_n_works=no ;;
   3276 esac
   3277 fi ;;
   3278 esac
   3279 fi
   3280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   3281 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
   3282 if test "$am_cv_xargs_n_works" = yes
   3283 then :
   3284   am__xargs_n='xargs -n'
   3285 else case e in #(
   3286   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   3287  ;;
   3288 esac
   3289 fi
   3290 
   3291 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3292   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3293   # is not polluted with repeated "-I."
   3294   am__isrc=' -I$(srcdir)'
   3295   # test to see if srcdir already configured
   3296   if test -f $srcdir/config.status; then
   3297     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3298   fi
   3299 fi
   3300 
   3301 # test whether we have cygpath
   3302 if test -z "$CYGPATH_W"; then
   3303   if (cygpath --version) >/dev/null 2>/dev/null; then
   3304     CYGPATH_W='cygpath -w'
   3305   else
   3306     CYGPATH_W=echo
   3307   fi
   3308 fi
   3309 
   3310 
   3311 # Define the identity of the package.
   3312  PACKAGE='bitmap'
   3313  VERSION='1.1.2'
   3314 
   3315 
   3316 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3317 
   3318 
   3319 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3320 
   3321 # Some tools Automake needs.
   3322 
   3323 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3324 
   3325 
   3326 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3327 
   3328 
   3329 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3330 
   3331 
   3332 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3333 
   3334 
   3335 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3336 
   3337 # For better backward compatibility.  To be removed once Automake 1.9.x
   3338 # dies out for good.  For more background, see:
   3339 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3340 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3341 mkdir_p='$(MKDIR_P)'
   3342 
   3343 # We need awk for the "check" target (and possibly the TAP driver).  The
   3344 # system "awk" is bad on some platforms.
   3345 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3346 # in the wild :-(  We should find a proper way to deprecate it ...
   3347 AMTAR='$${TAR-tar}'
   3348 
   3349 
   3350 # We'll loop over all known methods to create a tar archive until one works.
   3351 _am_tools='gnutar plaintar pax cpio none'
   3352 
   3353 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
   3354       # There is notably a 21 bits limit for the UID and the GID.  In fact,
   3355       # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
   3356       # and bug#13588).
   3357       am_max_uid=2097151 # 2^21 - 1
   3358       am_max_gid=$am_max_uid
   3359       # The $UID and $GID variables are not portable, so we need to resort
   3360       # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
   3361       # below are definitely unexpected, so allow the users to see them
   3362       # (that is, avoid stderr redirection).
   3363       am_uid=`id -u || echo unknown`
   3364       am_gid=`id -g || echo unknown`
   3365       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
   3366 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
   3367       if test x$am_uid = xunknown; then
   3368         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
   3369 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
   3370       elif test $am_uid -le $am_max_uid; then
   3371         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3372 printf "%s\n" "yes" >&6; }
   3373       else
   3374         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3375 printf "%s\n" "no" >&6; }
   3376         _am_tools=none
   3377       fi
   3378       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
   3379 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
   3380       if test x$gm_gid = xunknown; then
   3381         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
   3382 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
   3383       elif test $am_gid -le $am_max_gid; then
   3384         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3385 printf "%s\n" "yes" >&6; }
   3386       else
   3387         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3388 printf "%s\n" "no" >&6; }
   3389         _am_tools=none
   3390       fi
   3391 
   3392   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
   3393 printf %s "checking how to create a ustar tar archive... " >&6; }
   3394 
   3395   # Go ahead even if we have the value already cached.  We do so because we
   3396   # need to set the values for the 'am__tar' and 'am__untar' variables.
   3397   _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
   3398 
   3399   for _am_tool in $_am_tools; do
   3400     case $_am_tool in
   3401     gnutar)
   3402       for _am_tar in tar gnutar gtar; do
   3403         { echo "$as_me:$LINENO: $_am_tar --version" >&5
   3404    ($_am_tar --version) >&5 2>&5
   3405    ac_status=$?
   3406    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3407    (exit $ac_status); } && break
   3408       done
   3409       am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
   3410       am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
   3411       am__untar="$_am_tar -xf -"
   3412       ;;
   3413     plaintar)
   3414       # Must skip GNU tar: if it does not support --format= it doesn't create
   3415       # ustar tarball either.
   3416       (tar --version) >/dev/null 2>&1 && continue
   3417       am__tar='tar chf - "$$tardir"'
   3418       am__tar_='tar chf - "$tardir"'
   3419       am__untar='tar xf -'
   3420       ;;
   3421     pax)
   3422       am__tar='pax -L -x ustar -w "$$tardir"'
   3423       am__tar_='pax -L -x ustar -w "$tardir"'
   3424       am__untar='pax -r'
   3425       ;;
   3426     cpio)
   3427       am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
   3428       am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
   3429       am__untar='cpio -i -H ustar -d'
   3430       ;;
   3431     none)
   3432       am__tar=false
   3433       am__tar_=false
   3434       am__untar=false
   3435       ;;
   3436     esac
   3437 
   3438     # If the value was cached, stop now.  We just wanted to have am__tar
   3439     # and am__untar set.
   3440     test -n "${am_cv_prog_tar_ustar}" && break
   3441 
   3442     # tar/untar a dummy directory, and stop if the command works.
   3443     rm -rf conftest.dir
   3444     mkdir conftest.dir
   3445     echo GrepMe > conftest.dir/file
   3446     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
   3447    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
   3448    ac_status=$?
   3449    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3450    (exit $ac_status); }
   3451     rm -rf conftest.dir
   3452     if test -s conftest.tar; then
   3453       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
   3454    ($am__untar <conftest.tar) >&5 2>&5
   3455    ac_status=$?
   3456    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3457    (exit $ac_status); }
   3458       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
   3459    (cat conftest.dir/file) >&5 2>&5
   3460    ac_status=$?
   3461    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3462    (exit $ac_status); }
   3463       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
   3464     fi
   3465   done
   3466   rm -rf conftest.dir
   3467 
   3468   if test ${am_cv_prog_tar_ustar+y}
   3469 then :
   3470   printf %s "(cached) " >&6
   3471 else case e in #(
   3472   e) am_cv_prog_tar_ustar=$_am_tool ;;
   3473 esac
   3474 fi
   3475 
   3476   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
   3477 printf "%s\n" "$am_cv_prog_tar_ustar" >&6; }
   3478 
   3479 
   3480 
   3481 
   3482 
   3483 # Variables for tags utilities; see am/tags.am
   3484 if test -z "$CTAGS"; then
   3485   CTAGS=ctags
   3486 fi
   3487 
   3488 if test -z "$ETAGS"; then
   3489   ETAGS=etags
   3490 fi
   3491 
   3492 if test -z "$CSCOPE"; then
   3493   CSCOPE=cscope
   3494 fi
   3495 
   3496 
   3497 
   3498 
   3499 
   3500 
   3501 
   3502 
   3503 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   3504 
   3505 
   3506 
   3507 
   3508 
   3509 
   3510 
   3511 
   3512 
   3513 
   3514 
   3515 
   3516 
   3517 
   3518 
   3519 
   3520 
   3521 
   3522 
   3523 
   3524 DEPDIR="${am__leading_dot}deps"
   3525 
   3526 ac_config_commands="$ac_config_commands depfiles"
   3527 
   3528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3529 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3530 cat > confinc.mk << 'END'
   3531 am__doit:
   3532 	@echo this is the am__doit target >confinc.out
   3533 .PHONY: am__doit
   3534 END
   3535 am__include="#"
   3536 am__quote=
   3537 # BSD make does it like this.
   3538 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3539 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3540 echo 'include confinc.mk # ignored' > confmf.GNU
   3541 _am_result=no
   3542 for s in GNU BSD; do
   3543   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3544    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3545    ac_status=$?
   3546    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3547    (exit $ac_status); }
   3548   case $?:`cat confinc.out 2>/dev/null` in #(
   3549   '0:this is the am__doit target') :
   3550     case $s in #(
   3551   BSD) :
   3552     am__include='.include' am__quote='"' ;; #(
   3553   *) :
   3554     am__include='include' am__quote='' ;;
   3555 esac ;; #(
   3556   *) :
   3557      ;;
   3558 esac
   3559   if test "$am__include" != "#"; then
   3560     _am_result="yes ($s style)"
   3561     break
   3562   fi
   3563 done
   3564 rm -f confinc.* confmf.*
   3565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3566 printf "%s\n" "${_am_result}" >&6; }
   3567 
   3568 # Check whether --enable-dependency-tracking was given.
   3569 if test ${enable_dependency_tracking+y}
   3570 then :
   3571   enableval=$enable_dependency_tracking;
   3572 fi
   3573 
   3574 if test "x$enable_dependency_tracking" != xno; then
   3575   am_depcomp="$ac_aux_dir/depcomp"
   3576   AMDEPBACKSLASH='\'
   3577   am__nodep='_no'
   3578 fi
   3579  if test "x$enable_dependency_tracking" != xno; then
   3580   AMDEP_TRUE=
   3581   AMDEP_FALSE='#'
   3582 else
   3583   AMDEP_TRUE='#'
   3584   AMDEP_FALSE=
   3585 fi
   3586 
   3587 
   3588 ac_ext=c
   3589 ac_cpp='$CPP $CPPFLAGS'
   3590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3593 if test -n "$ac_tool_prefix"; then
   3594   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3595 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3597 printf %s "checking for $ac_word... " >&6; }
   3598 if test ${ac_cv_prog_CC+y}
   3599 then :
   3600   printf %s "(cached) " >&6
   3601 else case e in #(
   3602   e) if test -n "$CC"; then
   3603   ac_cv_prog_CC="$CC" # Let the user override the test.
   3604 else
   3605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3606 for as_dir in $PATH
   3607 do
   3608   IFS=$as_save_IFS
   3609   case $as_dir in #(((
   3610     '') as_dir=./ ;;
   3611     */) ;;
   3612     *) as_dir=$as_dir/ ;;
   3613   esac
   3614     for ac_exec_ext in '' $ac_executable_extensions; do
   3615   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3616     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3617     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3618     break 2
   3619   fi
   3620 done
   3621   done
   3622 IFS=$as_save_IFS
   3623 
   3624 fi ;;
   3625 esac
   3626 fi
   3627 CC=$ac_cv_prog_CC
   3628 if test -n "$CC"; then
   3629   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3630 printf "%s\n" "$CC" >&6; }
   3631 else
   3632   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3633 printf "%s\n" "no" >&6; }
   3634 fi
   3635 
   3636 
   3637 fi
   3638 if test -z "$ac_cv_prog_CC"; then
   3639   ac_ct_CC=$CC
   3640   # Extract the first word of "gcc", so it can be a program name with args.
   3641 set dummy gcc; ac_word=$2
   3642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3643 printf %s "checking for $ac_word... " >&6; }
   3644 if test ${ac_cv_prog_ac_ct_CC+y}
   3645 then :
   3646   printf %s "(cached) " >&6
   3647 else case e in #(
   3648   e) if test -n "$ac_ct_CC"; then
   3649   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3650 else
   3651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3652 for as_dir in $PATH
   3653 do
   3654   IFS=$as_save_IFS
   3655   case $as_dir in #(((
   3656     '') as_dir=./ ;;
   3657     */) ;;
   3658     *) as_dir=$as_dir/ ;;
   3659   esac
   3660     for ac_exec_ext in '' $ac_executable_extensions; do
   3661   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3662     ac_cv_prog_ac_ct_CC="gcc"
   3663     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3664     break 2
   3665   fi
   3666 done
   3667   done
   3668 IFS=$as_save_IFS
   3669 
   3670 fi ;;
   3671 esac
   3672 fi
   3673 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3674 if test -n "$ac_ct_CC"; then
   3675   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3676 printf "%s\n" "$ac_ct_CC" >&6; }
   3677 else
   3678   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3679 printf "%s\n" "no" >&6; }
   3680 fi
   3681 
   3682   if test "x$ac_ct_CC" = x; then
   3683     CC=""
   3684   else
   3685     case $cross_compiling:$ac_tool_warned in
   3686 yes:)
   3687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3688 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3689 ac_tool_warned=yes ;;
   3690 esac
   3691     CC=$ac_ct_CC
   3692   fi
   3693 else
   3694   CC="$ac_cv_prog_CC"
   3695 fi
   3696 
   3697 if test -z "$CC"; then
   3698           if test -n "$ac_tool_prefix"; then
   3699     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3700 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3702 printf %s "checking for $ac_word... " >&6; }
   3703 if test ${ac_cv_prog_CC+y}
   3704 then :
   3705   printf %s "(cached) " >&6
   3706 else case e in #(
   3707   e) if test -n "$CC"; then
   3708   ac_cv_prog_CC="$CC" # Let the user override the test.
   3709 else
   3710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3711 for as_dir in $PATH
   3712 do
   3713   IFS=$as_save_IFS
   3714   case $as_dir in #(((
   3715     '') as_dir=./ ;;
   3716     */) ;;
   3717     *) as_dir=$as_dir/ ;;
   3718   esac
   3719     for ac_exec_ext in '' $ac_executable_extensions; do
   3720   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3721     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3722     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3723     break 2
   3724   fi
   3725 done
   3726   done
   3727 IFS=$as_save_IFS
   3728 
   3729 fi ;;
   3730 esac
   3731 fi
   3732 CC=$ac_cv_prog_CC
   3733 if test -n "$CC"; then
   3734   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3735 printf "%s\n" "$CC" >&6; }
   3736 else
   3737   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3738 printf "%s\n" "no" >&6; }
   3739 fi
   3740 
   3741 
   3742   fi
   3743 fi
   3744 if test -z "$CC"; then
   3745   # Extract the first word of "cc", so it can be a program name with args.
   3746 set dummy cc; ac_word=$2
   3747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3748 printf %s "checking for $ac_word... " >&6; }
   3749 if test ${ac_cv_prog_CC+y}
   3750 then :
   3751   printf %s "(cached) " >&6
   3752 else case e in #(
   3753   e) if test -n "$CC"; then
   3754   ac_cv_prog_CC="$CC" # Let the user override the test.
   3755 else
   3756   ac_prog_rejected=no
   3757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3758 for as_dir in $PATH
   3759 do
   3760   IFS=$as_save_IFS
   3761   case $as_dir in #(((
   3762     '') as_dir=./ ;;
   3763     */) ;;
   3764     *) as_dir=$as_dir/ ;;
   3765   esac
   3766     for ac_exec_ext in '' $ac_executable_extensions; do
   3767   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3768     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3769        ac_prog_rejected=yes
   3770        continue
   3771      fi
   3772     ac_cv_prog_CC="cc"
   3773     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3774     break 2
   3775   fi
   3776 done
   3777   done
   3778 IFS=$as_save_IFS
   3779 
   3780 if test $ac_prog_rejected = yes; then
   3781   # We found a bogon in the path, so make sure we never use it.
   3782   set dummy $ac_cv_prog_CC
   3783   shift
   3784   if test $# != 0; then
   3785     # We chose a different compiler from the bogus one.
   3786     # However, it has the same basename, so the bogon will be chosen
   3787     # first if we set CC to just the basename; use the full file name.
   3788     shift
   3789     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3790   fi
   3791 fi
   3792 fi ;;
   3793 esac
   3794 fi
   3795 CC=$ac_cv_prog_CC
   3796 if test -n "$CC"; then
   3797   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3798 printf "%s\n" "$CC" >&6; }
   3799 else
   3800   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3801 printf "%s\n" "no" >&6; }
   3802 fi
   3803 
   3804 
   3805 fi
   3806 if test -z "$CC"; then
   3807   if test -n "$ac_tool_prefix"; then
   3808   for ac_prog in cl.exe
   3809   do
   3810     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3811 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3813 printf %s "checking for $ac_word... " >&6; }
   3814 if test ${ac_cv_prog_CC+y}
   3815 then :
   3816   printf %s "(cached) " >&6
   3817 else case e in #(
   3818   e) if test -n "$CC"; then
   3819   ac_cv_prog_CC="$CC" # Let the user override the test.
   3820 else
   3821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3822 for as_dir in $PATH
   3823 do
   3824   IFS=$as_save_IFS
   3825   case $as_dir in #(((
   3826     '') as_dir=./ ;;
   3827     */) ;;
   3828     *) as_dir=$as_dir/ ;;
   3829   esac
   3830     for ac_exec_ext in '' $ac_executable_extensions; do
   3831   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3832     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3833     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3834     break 2
   3835   fi
   3836 done
   3837   done
   3838 IFS=$as_save_IFS
   3839 
   3840 fi ;;
   3841 esac
   3842 fi
   3843 CC=$ac_cv_prog_CC
   3844 if test -n "$CC"; then
   3845   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3846 printf "%s\n" "$CC" >&6; }
   3847 else
   3848   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3849 printf "%s\n" "no" >&6; }
   3850 fi
   3851 
   3852 
   3853     test -n "$CC" && break
   3854   done
   3855 fi
   3856 if test -z "$CC"; then
   3857   ac_ct_CC=$CC
   3858   for ac_prog in cl.exe
   3859 do
   3860   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3861 set dummy $ac_prog; ac_word=$2
   3862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3863 printf %s "checking for $ac_word... " >&6; }
   3864 if test ${ac_cv_prog_ac_ct_CC+y}
   3865 then :
   3866   printf %s "(cached) " >&6
   3867 else case e in #(
   3868   e) if test -n "$ac_ct_CC"; then
   3869   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3870 else
   3871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3872 for as_dir in $PATH
   3873 do
   3874   IFS=$as_save_IFS
   3875   case $as_dir in #(((
   3876     '') as_dir=./ ;;
   3877     */) ;;
   3878     *) as_dir=$as_dir/ ;;
   3879   esac
   3880     for ac_exec_ext in '' $ac_executable_extensions; do
   3881   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3882     ac_cv_prog_ac_ct_CC="$ac_prog"
   3883     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3884     break 2
   3885   fi
   3886 done
   3887   done
   3888 IFS=$as_save_IFS
   3889 
   3890 fi ;;
   3891 esac
   3892 fi
   3893 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3894 if test -n "$ac_ct_CC"; then
   3895   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3896 printf "%s\n" "$ac_ct_CC" >&6; }
   3897 else
   3898   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3899 printf "%s\n" "no" >&6; }
   3900 fi
   3901 
   3902 
   3903   test -n "$ac_ct_CC" && break
   3904 done
   3905 
   3906   if test "x$ac_ct_CC" = x; then
   3907     CC=""
   3908   else
   3909     case $cross_compiling:$ac_tool_warned in
   3910 yes:)
   3911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3912 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3913 ac_tool_warned=yes ;;
   3914 esac
   3915     CC=$ac_ct_CC
   3916   fi
   3917 fi
   3918 
   3919 fi
   3920 if test -z "$CC"; then
   3921   if test -n "$ac_tool_prefix"; then
   3922   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3923 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3925 printf %s "checking for $ac_word... " >&6; }
   3926 if test ${ac_cv_prog_CC+y}
   3927 then :
   3928   printf %s "(cached) " >&6
   3929 else case e in #(
   3930   e) if test -n "$CC"; then
   3931   ac_cv_prog_CC="$CC" # Let the user override the test.
   3932 else
   3933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3934 for as_dir in $PATH
   3935 do
   3936   IFS=$as_save_IFS
   3937   case $as_dir in #(((
   3938     '') as_dir=./ ;;
   3939     */) ;;
   3940     *) as_dir=$as_dir/ ;;
   3941   esac
   3942     for ac_exec_ext in '' $ac_executable_extensions; do
   3943   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3944     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3945     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3946     break 2
   3947   fi
   3948 done
   3949   done
   3950 IFS=$as_save_IFS
   3951 
   3952 fi ;;
   3953 esac
   3954 fi
   3955 CC=$ac_cv_prog_CC
   3956 if test -n "$CC"; then
   3957   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3958 printf "%s\n" "$CC" >&6; }
   3959 else
   3960   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3961 printf "%s\n" "no" >&6; }
   3962 fi
   3963 
   3964 
   3965 fi
   3966 if test -z "$ac_cv_prog_CC"; then
   3967   ac_ct_CC=$CC
   3968   # Extract the first word of "clang", so it can be a program name with args.
   3969 set dummy clang; ac_word=$2
   3970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3971 printf %s "checking for $ac_word... " >&6; }
   3972 if test ${ac_cv_prog_ac_ct_CC+y}
   3973 then :
   3974   printf %s "(cached) " >&6
   3975 else case e in #(
   3976   e) if test -n "$ac_ct_CC"; then
   3977   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3978 else
   3979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3980 for as_dir in $PATH
   3981 do
   3982   IFS=$as_save_IFS
   3983   case $as_dir in #(((
   3984     '') as_dir=./ ;;
   3985     */) ;;
   3986     *) as_dir=$as_dir/ ;;
   3987   esac
   3988     for ac_exec_ext in '' $ac_executable_extensions; do
   3989   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3990     ac_cv_prog_ac_ct_CC="clang"
   3991     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3992     break 2
   3993   fi
   3994 done
   3995   done
   3996 IFS=$as_save_IFS
   3997 
   3998 fi ;;
   3999 esac
   4000 fi
   4001 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4002 if test -n "$ac_ct_CC"; then
   4003   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4004 printf "%s\n" "$ac_ct_CC" >&6; }
   4005 else
   4006   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4007 printf "%s\n" "no" >&6; }
   4008 fi
   4009 
   4010   if test "x$ac_ct_CC" = x; then
   4011     CC=""
   4012   else
   4013     case $cross_compiling:$ac_tool_warned in
   4014 yes:)
   4015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4016 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4017 ac_tool_warned=yes ;;
   4018 esac
   4019     CC=$ac_ct_CC
   4020   fi
   4021 else
   4022   CC="$ac_cv_prog_CC"
   4023 fi
   4024 
   4025 fi
   4026 
   4027 
   4028 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4029 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4030 as_fn_error $? "no acceptable C compiler found in \$PATH
   4031 See 'config.log' for more details" "$LINENO" 5; }
   4032 
   4033 # Provide some information about the compiler.
   4034 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4035 set X $ac_compile
   4036 ac_compiler=$2
   4037 for ac_option in --version -v -V -qversion -version; do
   4038   { { ac_try="$ac_compiler $ac_option >&5"
   4039 case "(($ac_try" in
   4040   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4041   *) ac_try_echo=$ac_try;;
   4042 esac
   4043 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4044 printf "%s\n" "$ac_try_echo"; } >&5
   4045   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4046   ac_status=$?
   4047   if test -s conftest.err; then
   4048     sed '10a\
   4049 ... rest of stderr output deleted ...
   4050          10q' conftest.err >conftest.er1
   4051     cat conftest.er1 >&5
   4052   fi
   4053   rm -f conftest.er1 conftest.err
   4054   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4055   test $ac_status = 0; }
   4056 done
   4057 
   4058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4059 /* end confdefs.h.  */
   4060 
   4061 int
   4062 main (void)
   4063 {
   4064 
   4065   ;
   4066   return 0;
   4067 }
   4068 _ACEOF
   4069 ac_clean_files_save=$ac_clean_files
   4070 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4071 # Try to create an executable without -o first, disregard a.out.
   4072 # It will help us diagnose broken compilers, and finding out an intuition
   4073 # of exeext.
   4074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4075 printf %s "checking whether the C compiler works... " >&6; }
   4076 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4077 
   4078 # The possible output files:
   4079 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4080 
   4081 ac_rmfiles=
   4082 for ac_file in $ac_files
   4083 do
   4084   case $ac_file in
   4085     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4086     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4087   esac
   4088 done
   4089 rm -f $ac_rmfiles
   4090 
   4091 if { { ac_try="$ac_link_default"
   4092 case "(($ac_try" in
   4093   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4094   *) ac_try_echo=$ac_try;;
   4095 esac
   4096 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4097 printf "%s\n" "$ac_try_echo"; } >&5
   4098   (eval "$ac_link_default") 2>&5
   4099   ac_status=$?
   4100   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4101   test $ac_status = 0; }
   4102 then :
   4103   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   4104 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   4105 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4106 # so that the user can short-circuit this test for compilers unknown to
   4107 # Autoconf.
   4108 for ac_file in $ac_files ''
   4109 do
   4110   test -f "$ac_file" || continue
   4111   case $ac_file in
   4112     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4113 	;;
   4114     [ab].out )
   4115 	# We found the default executable, but exeext='' is most
   4116 	# certainly right.
   4117 	break;;
   4118     *.* )
   4119 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4120 	then :; else
   4121 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4122 	fi
   4123 	# We set ac_cv_exeext here because the later test for it is not
   4124 	# safe: cross compilers may not add the suffix if given an '-o'
   4125 	# argument, so we may need to know it at that point already.
   4126 	# Even if this section looks crufty: it has the advantage of
   4127 	# actually working.
   4128 	break;;
   4129     * )
   4130 	break;;
   4131   esac
   4132 done
   4133 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4134 
   4135 else case e in #(
   4136   e) ac_file='' ;;
   4137 esac
   4138 fi
   4139 if test -z "$ac_file"
   4140 then :
   4141   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4142 printf "%s\n" "no" >&6; }
   4143 printf "%s\n" "$as_me: failed program was:" >&5
   4144 sed 's/^/| /' conftest.$ac_ext >&5
   4145 
   4146 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4147 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4148 as_fn_error 77 "C compiler cannot create executables
   4149 See 'config.log' for more details" "$LINENO" 5; }
   4150 else case e in #(
   4151   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4152 printf "%s\n" "yes" >&6; } ;;
   4153 esac
   4154 fi
   4155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4156 printf %s "checking for C compiler default output file name... " >&6; }
   4157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4158 printf "%s\n" "$ac_file" >&6; }
   4159 ac_exeext=$ac_cv_exeext
   4160 
   4161 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4162 ac_clean_files=$ac_clean_files_save
   4163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4164 printf %s "checking for suffix of executables... " >&6; }
   4165 if { { ac_try="$ac_link"
   4166 case "(($ac_try" in
   4167   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4168   *) ac_try_echo=$ac_try;;
   4169 esac
   4170 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4171 printf "%s\n" "$ac_try_echo"; } >&5
   4172   (eval "$ac_link") 2>&5
   4173   ac_status=$?
   4174   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4175   test $ac_status = 0; }
   4176 then :
   4177   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   4178 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   4179 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   4180 # 'rm'.
   4181 for ac_file in conftest.exe conftest conftest.*; do
   4182   test -f "$ac_file" || continue
   4183   case $ac_file in
   4184     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4185     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4186 	  break;;
   4187     * ) break;;
   4188   esac
   4189 done
   4190 else case e in #(
   4191   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4192 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4193 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4194 See 'config.log' for more details" "$LINENO" 5; } ;;
   4195 esac
   4196 fi
   4197 rm -f conftest conftest$ac_cv_exeext
   4198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4199 printf "%s\n" "$ac_cv_exeext" >&6; }
   4200 
   4201 rm -f conftest.$ac_ext
   4202 EXEEXT=$ac_cv_exeext
   4203 ac_exeext=$EXEEXT
   4204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4205 /* end confdefs.h.  */
   4206 #include <stdio.h>
   4207 int
   4208 main (void)
   4209 {
   4210 FILE *f = fopen ("conftest.out", "w");
   4211  if (!f)
   4212   return 1;
   4213  return ferror (f) || fclose (f) != 0;
   4214 
   4215   ;
   4216   return 0;
   4217 }
   4218 _ACEOF
   4219 ac_clean_files="$ac_clean_files conftest.out"
   4220 # Check that the compiler produces executables we can run.  If not, either
   4221 # the compiler is broken, or we cross compile.
   4222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4223 printf %s "checking whether we are cross compiling... " >&6; }
   4224 if test "$cross_compiling" != yes; then
   4225   { { ac_try="$ac_link"
   4226 case "(($ac_try" in
   4227   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4228   *) ac_try_echo=$ac_try;;
   4229 esac
   4230 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4231 printf "%s\n" "$ac_try_echo"; } >&5
   4232   (eval "$ac_link") 2>&5
   4233   ac_status=$?
   4234   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4235   test $ac_status = 0; }
   4236   if { ac_try='./conftest$ac_cv_exeext'
   4237   { { case "(($ac_try" in
   4238   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4239   *) ac_try_echo=$ac_try;;
   4240 esac
   4241 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4242 printf "%s\n" "$ac_try_echo"; } >&5
   4243   (eval "$ac_try") 2>&5
   4244   ac_status=$?
   4245   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4246   test $ac_status = 0; }; }; then
   4247     cross_compiling=no
   4248   else
   4249     if test "$cross_compiling" = maybe; then
   4250 	cross_compiling=yes
   4251     else
   4252 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4253 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4254 as_fn_error 77 "cannot run C compiled programs.
   4255 If you meant to cross compile, use '--host'.
   4256 See 'config.log' for more details" "$LINENO" 5; }
   4257     fi
   4258   fi
   4259 fi
   4260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4261 printf "%s\n" "$cross_compiling" >&6; }
   4262 
   4263 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   4264   conftest.o conftest.obj conftest.out
   4265 ac_clean_files=$ac_clean_files_save
   4266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4267 printf %s "checking for suffix of object files... " >&6; }
   4268 if test ${ac_cv_objext+y}
   4269 then :
   4270   printf %s "(cached) " >&6
   4271 else case e in #(
   4272   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4273 /* end confdefs.h.  */
   4274 
   4275 int
   4276 main (void)
   4277 {
   4278 
   4279   ;
   4280   return 0;
   4281 }
   4282 _ACEOF
   4283 rm -f conftest.o conftest.obj
   4284 if { { ac_try="$ac_compile"
   4285 case "(($ac_try" in
   4286   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4287   *) ac_try_echo=$ac_try;;
   4288 esac
   4289 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4290 printf "%s\n" "$ac_try_echo"; } >&5
   4291   (eval "$ac_compile") 2>&5
   4292   ac_status=$?
   4293   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4294   test $ac_status = 0; }
   4295 then :
   4296   for ac_file in conftest.o conftest.obj conftest.*; do
   4297   test -f "$ac_file" || continue;
   4298   case $ac_file in
   4299     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4300     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4301        break;;
   4302   esac
   4303 done
   4304 else case e in #(
   4305   e) printf "%s\n" "$as_me: failed program was:" >&5
   4306 sed 's/^/| /' conftest.$ac_ext >&5
   4307 
   4308 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4309 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4310 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4311 See 'config.log' for more details" "$LINENO" 5; } ;;
   4312 esac
   4313 fi
   4314 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   4315 esac
   4316 fi
   4317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4318 printf "%s\n" "$ac_cv_objext" >&6; }
   4319 OBJEXT=$ac_cv_objext
   4320 ac_objext=$OBJEXT
   4321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4322 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4323 if test ${ac_cv_c_compiler_gnu+y}
   4324 then :
   4325   printf %s "(cached) " >&6
   4326 else case e in #(
   4327   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4328 /* end confdefs.h.  */
   4329 
   4330 int
   4331 main (void)
   4332 {
   4333 #ifndef __GNUC__
   4334        choke me
   4335 #endif
   4336 
   4337   ;
   4338   return 0;
   4339 }
   4340 _ACEOF
   4341 if ac_fn_c_try_compile "$LINENO"
   4342 then :
   4343   ac_compiler_gnu=yes
   4344 else case e in #(
   4345   e) ac_compiler_gnu=no ;;
   4346 esac
   4347 fi
   4348 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4349 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4350  ;;
   4351 esac
   4352 fi
   4353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4354 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4356 
   4357 if test $ac_compiler_gnu = yes; then
   4358   GCC=yes
   4359 else
   4360   GCC=
   4361 fi
   4362 ac_test_CFLAGS=${CFLAGS+y}
   4363 ac_save_CFLAGS=$CFLAGS
   4364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4365 printf %s "checking whether $CC accepts -g... " >&6; }
   4366 if test ${ac_cv_prog_cc_g+y}
   4367 then :
   4368   printf %s "(cached) " >&6
   4369 else case e in #(
   4370   e) ac_save_c_werror_flag=$ac_c_werror_flag
   4371    ac_c_werror_flag=yes
   4372    ac_cv_prog_cc_g=no
   4373    CFLAGS="-g"
   4374    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4375 /* end confdefs.h.  */
   4376 
   4377 int
   4378 main (void)
   4379 {
   4380 
   4381   ;
   4382   return 0;
   4383 }
   4384 _ACEOF
   4385 if ac_fn_c_try_compile "$LINENO"
   4386 then :
   4387   ac_cv_prog_cc_g=yes
   4388 else case e in #(
   4389   e) CFLAGS=""
   4390       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4391 /* end confdefs.h.  */
   4392 
   4393 int
   4394 main (void)
   4395 {
   4396 
   4397   ;
   4398   return 0;
   4399 }
   4400 _ACEOF
   4401 if ac_fn_c_try_compile "$LINENO"
   4402 then :
   4403 
   4404 else case e in #(
   4405   e) ac_c_werror_flag=$ac_save_c_werror_flag
   4406 	 CFLAGS="-g"
   4407 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4408 /* end confdefs.h.  */
   4409 
   4410 int
   4411 main (void)
   4412 {
   4413 
   4414   ;
   4415   return 0;
   4416 }
   4417 _ACEOF
   4418 if ac_fn_c_try_compile "$LINENO"
   4419 then :
   4420   ac_cv_prog_cc_g=yes
   4421 fi
   4422 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4423 esac
   4424 fi
   4425 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4426 esac
   4427 fi
   4428 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4429    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   4430 esac
   4431 fi
   4432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4433 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4434 if test $ac_test_CFLAGS; then
   4435   CFLAGS=$ac_save_CFLAGS
   4436 elif test $ac_cv_prog_cc_g = yes; then
   4437   if test "$GCC" = yes; then
   4438     CFLAGS="-g -O2"
   4439   else
   4440     CFLAGS="-g"
   4441   fi
   4442 else
   4443   if test "$GCC" = yes; then
   4444     CFLAGS="-O2"
   4445   else
   4446     CFLAGS=
   4447   fi
   4448 fi
   4449 ac_prog_cc_stdc=no
   4450 if test x$ac_prog_cc_stdc = xno
   4451 then :
   4452   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4453 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4454 if test ${ac_cv_prog_cc_c11+y}
   4455 then :
   4456   printf %s "(cached) " >&6
   4457 else case e in #(
   4458   e) ac_cv_prog_cc_c11=no
   4459 ac_save_CC=$CC
   4460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4461 /* end confdefs.h.  */
   4462 $ac_c_conftest_c11_program
   4463 _ACEOF
   4464 for ac_arg in '' -std=gnu11
   4465 do
   4466   CC="$ac_save_CC $ac_arg"
   4467   if ac_fn_c_try_compile "$LINENO"
   4468 then :
   4469   ac_cv_prog_cc_c11=$ac_arg
   4470 fi
   4471 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4472   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4473 done
   4474 rm -f conftest.$ac_ext
   4475 CC=$ac_save_CC ;;
   4476 esac
   4477 fi
   4478 
   4479 if test "x$ac_cv_prog_cc_c11" = xno
   4480 then :
   4481   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4482 printf "%s\n" "unsupported" >&6; }
   4483 else case e in #(
   4484   e) if test "x$ac_cv_prog_cc_c11" = x
   4485 then :
   4486   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4487 printf "%s\n" "none needed" >&6; }
   4488 else case e in #(
   4489   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4490 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4491      CC="$CC $ac_cv_prog_cc_c11" ;;
   4492 esac
   4493 fi
   4494   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4495   ac_prog_cc_stdc=c11 ;;
   4496 esac
   4497 fi
   4498 fi
   4499 if test x$ac_prog_cc_stdc = xno
   4500 then :
   4501   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4502 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4503 if test ${ac_cv_prog_cc_c99+y}
   4504 then :
   4505   printf %s "(cached) " >&6
   4506 else case e in #(
   4507   e) ac_cv_prog_cc_c99=no
   4508 ac_save_CC=$CC
   4509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4510 /* end confdefs.h.  */
   4511 $ac_c_conftest_c99_program
   4512 _ACEOF
   4513 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4514 do
   4515   CC="$ac_save_CC $ac_arg"
   4516   if ac_fn_c_try_compile "$LINENO"
   4517 then :
   4518   ac_cv_prog_cc_c99=$ac_arg
   4519 fi
   4520 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4521   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4522 done
   4523 rm -f conftest.$ac_ext
   4524 CC=$ac_save_CC ;;
   4525 esac
   4526 fi
   4527 
   4528 if test "x$ac_cv_prog_cc_c99" = xno
   4529 then :
   4530   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4531 printf "%s\n" "unsupported" >&6; }
   4532 else case e in #(
   4533   e) if test "x$ac_cv_prog_cc_c99" = x
   4534 then :
   4535   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4536 printf "%s\n" "none needed" >&6; }
   4537 else case e in #(
   4538   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4539 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4540      CC="$CC $ac_cv_prog_cc_c99" ;;
   4541 esac
   4542 fi
   4543   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4544   ac_prog_cc_stdc=c99 ;;
   4545 esac
   4546 fi
   4547 fi
   4548 if test x$ac_prog_cc_stdc = xno
   4549 then :
   4550   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4551 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4552 if test ${ac_cv_prog_cc_c89+y}
   4553 then :
   4554   printf %s "(cached) " >&6
   4555 else case e in #(
   4556   e) ac_cv_prog_cc_c89=no
   4557 ac_save_CC=$CC
   4558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4559 /* end confdefs.h.  */
   4560 $ac_c_conftest_c89_program
   4561 _ACEOF
   4562 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4563 do
   4564   CC="$ac_save_CC $ac_arg"
   4565   if ac_fn_c_try_compile "$LINENO"
   4566 then :
   4567   ac_cv_prog_cc_c89=$ac_arg
   4568 fi
   4569 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4570   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4571 done
   4572 rm -f conftest.$ac_ext
   4573 CC=$ac_save_CC ;;
   4574 esac
   4575 fi
   4576 
   4577 if test "x$ac_cv_prog_cc_c89" = xno
   4578 then :
   4579   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4580 printf "%s\n" "unsupported" >&6; }
   4581 else case e in #(
   4582   e) if test "x$ac_cv_prog_cc_c89" = x
   4583 then :
   4584   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4585 printf "%s\n" "none needed" >&6; }
   4586 else case e in #(
   4587   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4588 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4589      CC="$CC $ac_cv_prog_cc_c89" ;;
   4590 esac
   4591 fi
   4592   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4593   ac_prog_cc_stdc=c89 ;;
   4594 esac
   4595 fi
   4596 fi
   4597 
   4598 ac_ext=c
   4599 ac_cpp='$CPP $CPPFLAGS'
   4600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4603 
   4604 
   4605   ac_ext=c
   4606 ac_cpp='$CPP $CPPFLAGS'
   4607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4611 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4612 if test ${am_cv_prog_cc_c_o+y}
   4613 then :
   4614   printf %s "(cached) " >&6
   4615 else case e in #(
   4616   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4617 /* end confdefs.h.  */
   4618 
   4619 int
   4620 main (void)
   4621 {
   4622 
   4623   ;
   4624   return 0;
   4625 }
   4626 _ACEOF
   4627   # Make sure it works both with $CC and with simple cc.
   4628   # Following AC_PROG_CC_C_O, we do the test twice because some
   4629   # compilers refuse to overwrite an existing .o file with -o,
   4630   # though they will create one.
   4631   am_cv_prog_cc_c_o=yes
   4632   for am_i in 1 2; do
   4633     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4634    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4635    ac_status=$?
   4636    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4637    (exit $ac_status); } \
   4638          && test -f conftest2.$ac_objext; then
   4639       : OK
   4640     else
   4641       am_cv_prog_cc_c_o=no
   4642       break
   4643     fi
   4644   done
   4645   # aligned with autoconf, so not including core; see bug#72225.
   4646   rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
   4647     conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
   4648     conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
   4649   unset am_i ;;
   4650 esac
   4651 fi
   4652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4653 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4654 if test "$am_cv_prog_cc_c_o" != yes; then
   4655    # Losing compiler, so override with the script.
   4656    # FIXME: It is wrong to rewrite CC.
   4657    # But if we don't then we get into trouble of one sort or another.
   4658    # A longer-term fix would be to have automake use am__CC in this case,
   4659    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4660    CC="$am_aux_dir/compile $CC"
   4661 fi
   4662 ac_ext=c
   4663 ac_cpp='$CPP $CPPFLAGS'
   4664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4667 
   4668 
   4669 depcc="$CC"   am_compiler_list=
   4670 
   4671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4672 printf %s "checking dependency style of $depcc... " >&6; }
   4673 if test ${am_cv_CC_dependencies_compiler_type+y}
   4674 then :
   4675   printf %s "(cached) " >&6
   4676 else case e in #(
   4677   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4678   # We make a subdir and do the tests there.  Otherwise we can end up
   4679   # making bogus files that we don't know about and never remove.  For
   4680   # instance it was reported that on HP-UX the gcc test will end up
   4681   # making a dummy file named 'D' -- because '-MD' means "put the output
   4682   # in D".
   4683   rm -rf conftest.dir
   4684   mkdir conftest.dir
   4685   # Copy depcomp to subdir because otherwise we won't find it if we're
   4686   # using a relative directory.
   4687   cp "$am_depcomp" conftest.dir
   4688   cd conftest.dir
   4689   # We will build objects and dependencies in a subdirectory because
   4690   # it helps to detect inapplicable dependency modes.  For instance
   4691   # both Tru64's cc and ICC support -MD to output dependencies as a
   4692   # side effect of compilation, but ICC will put the dependencies in
   4693   # the current directory while Tru64 will put them in the object
   4694   # directory.
   4695   mkdir sub
   4696 
   4697   am_cv_CC_dependencies_compiler_type=none
   4698   if test "$am_compiler_list" = ""; then
   4699      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4700   fi
   4701   am__universal=false
   4702   case " $depcc " in #(
   4703      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4704      esac
   4705 
   4706   for depmode in $am_compiler_list; do
   4707     # Setup a source with many dependencies, because some compilers
   4708     # like to wrap large dependency lists on column 80 (with \), and
   4709     # we should not choose a depcomp mode which is confused by this.
   4710     #
   4711     # We need to recreate these files for each test, as the compiler may
   4712     # overwrite some of them when testing with obscure command lines.
   4713     # This happens at least with the AIX C compiler.
   4714     : > sub/conftest.c
   4715     for i in 1 2 3 4 5 6; do
   4716       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4717       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4718       # Solaris 10 /bin/sh.
   4719       echo '/* dummy */' > sub/conftst$i.h
   4720     done
   4721     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4722 
   4723     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4724     # mode.  It turns out that the SunPro C++ compiler does not properly
   4725     # handle '-M -o', and we need to detect this.  Also, some Intel
   4726     # versions had trouble with output in subdirs.
   4727     am__obj=sub/conftest.${OBJEXT-o}
   4728     am__minus_obj="-o $am__obj"
   4729     case $depmode in
   4730     gcc)
   4731       # This depmode causes a compiler race in universal mode.
   4732       test "$am__universal" = false || continue
   4733       ;;
   4734     nosideeffect)
   4735       # After this tag, mechanisms are not by side-effect, so they'll
   4736       # only be used when explicitly requested.
   4737       if test "x$enable_dependency_tracking" = xyes; then
   4738 	continue
   4739       else
   4740 	break
   4741       fi
   4742       ;;
   4743     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4744       # This compiler won't grok '-c -o', but also, the minuso test has
   4745       # not run yet.  These depmodes are late enough in the game, and
   4746       # so weak that their functioning should not be impacted.
   4747       am__obj=conftest.${OBJEXT-o}
   4748       am__minus_obj=
   4749       ;;
   4750     none) break ;;
   4751     esac
   4752     if depmode=$depmode \
   4753        source=sub/conftest.c object=$am__obj \
   4754        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4755        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4756          >/dev/null 2>conftest.err &&
   4757        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4758        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4759        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4760        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4761       # icc doesn't choke on unknown options, it will just issue warnings
   4762       # or remarks (even with -Werror).  So we grep stderr for any message
   4763       # that says an option was ignored or not supported.
   4764       # When given -MP, icc 7.0 and 7.1 complain thus:
   4765       #   icc: Command line warning: ignoring option '-M'; no argument required
   4766       # The diagnosis changed in icc 8.0:
   4767       #   icc: Command line remark: option '-MP' not supported
   4768       if (grep 'ignoring option' conftest.err ||
   4769           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4770         am_cv_CC_dependencies_compiler_type=$depmode
   4771         break
   4772       fi
   4773     fi
   4774   done
   4775 
   4776   cd ..
   4777   rm -rf conftest.dir
   4778 else
   4779   am_cv_CC_dependencies_compiler_type=none
   4780 fi
   4781  ;;
   4782 esac
   4783 fi
   4784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4785 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4786 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4787 
   4788  if
   4789   test "x$enable_dependency_tracking" != xno \
   4790   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4791   am__fastdepCC_TRUE=
   4792   am__fastdepCC_FALSE='#'
   4793 else
   4794   am__fastdepCC_TRUE='#'
   4795   am__fastdepCC_FALSE=
   4796 fi
   4797 
   4798 
   4799 
   4800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4801 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4802 if test ${ac_cv_c_undeclared_builtin_options+y}
   4803 then :
   4804   printf %s "(cached) " >&6
   4805 else case e in #(
   4806   e) ac_save_CFLAGS=$CFLAGS
   4807    ac_cv_c_undeclared_builtin_options='cannot detect'
   4808    for ac_arg in '' -fno-builtin; do
   4809      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4810      # This test program should *not* compile successfully.
   4811      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4812 /* end confdefs.h.  */
   4813 
   4814 int
   4815 main (void)
   4816 {
   4817 (void) strchr;
   4818   ;
   4819   return 0;
   4820 }
   4821 _ACEOF
   4822 if ac_fn_c_try_compile "$LINENO"
   4823 then :
   4824 
   4825 else case e in #(
   4826   e) # This test program should compile successfully.
   4827         # No library function is consistently available on
   4828         # freestanding implementations, so test against a dummy
   4829         # declaration.  Include always-available headers on the
   4830         # off chance that they somehow elicit warnings.
   4831         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4832 /* end confdefs.h.  */
   4833 #include <float.h>
   4834 #include <limits.h>
   4835 #include <stdarg.h>
   4836 #include <stddef.h>
   4837 extern void ac_decl (int, char *);
   4838 
   4839 int
   4840 main (void)
   4841 {
   4842 (void) ac_decl (0, (char *) 0);
   4843   (void) ac_decl;
   4844 
   4845   ;
   4846   return 0;
   4847 }
   4848 _ACEOF
   4849 if ac_fn_c_try_compile "$LINENO"
   4850 then :
   4851   if test x"$ac_arg" = x
   4852 then :
   4853   ac_cv_c_undeclared_builtin_options='none needed'
   4854 else case e in #(
   4855   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   4856 esac
   4857 fi
   4858           break
   4859 fi
   4860 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4861 esac
   4862 fi
   4863 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4864     done
   4865     CFLAGS=$ac_save_CFLAGS
   4866    ;;
   4867 esac
   4868 fi
   4869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4870 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4871   case $ac_cv_c_undeclared_builtin_options in #(
   4872   'cannot detect') :
   4873     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4874 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4875 as_fn_error $? "cannot make $CC report undeclared builtins
   4876 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   4877   'none needed') :
   4878     ac_c_undeclared_builtin_options='' ;; #(
   4879   *) :
   4880     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4881 esac
   4882 
   4883 ac_header= ac_cache=
   4884 for ac_item in $ac_header_c_list
   4885 do
   4886   if test $ac_cache; then
   4887     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4888     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4889       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4890     fi
   4891     ac_header= ac_cache=
   4892   elif test $ac_header; then
   4893     ac_cache=$ac_item
   4894   else
   4895     ac_header=$ac_item
   4896   fi
   4897 done
   4898 
   4899 
   4900 
   4901 
   4902 
   4903 
   4904 
   4905 
   4906 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4907 then :
   4908 
   4909 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4910 
   4911 fi
   4912 
   4913 
   4914 
   4915 
   4916 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4917 if test "x$ac_cv_have_decl___clang__" = xyes
   4918 then :
   4919   CLANGCC="yes"
   4920 else case e in #(
   4921   e) CLANGCC="no" ;;
   4922 esac
   4923 fi
   4924 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4925 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4926 then :
   4927   INTELCC="yes"
   4928 else case e in #(
   4929   e) INTELCC="no" ;;
   4930 esac
   4931 fi
   4932 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4933 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4934 then :
   4935   SUNCC="yes"
   4936 else case e in #(
   4937   e) SUNCC="no" ;;
   4938 esac
   4939 fi
   4940 
   4941 
   4942 
   4943 
   4944 
   4945 
   4946 
   4947 
   4948 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4949 	if test -n "$ac_tool_prefix"; then
   4950   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4951 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4953 printf %s "checking for $ac_word... " >&6; }
   4954 if test ${ac_cv_path_PKG_CONFIG+y}
   4955 then :
   4956   printf %s "(cached) " >&6
   4957 else case e in #(
   4958   e) case $PKG_CONFIG in
   4959   [\\/]* | ?:[\\/]*)
   4960   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4961   ;;
   4962   *)
   4963   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4964 for as_dir in $PATH
   4965 do
   4966   IFS=$as_save_IFS
   4967   case $as_dir in #(((
   4968     '') as_dir=./ ;;
   4969     */) ;;
   4970     *) as_dir=$as_dir/ ;;
   4971   esac
   4972     for ac_exec_ext in '' $ac_executable_extensions; do
   4973   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4974     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4975     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4976     break 2
   4977   fi
   4978 done
   4979   done
   4980 IFS=$as_save_IFS
   4981 
   4982   ;;
   4983 esac ;;
   4984 esac
   4985 fi
   4986 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4987 if test -n "$PKG_CONFIG"; then
   4988   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4989 printf "%s\n" "$PKG_CONFIG" >&6; }
   4990 else
   4991   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4992 printf "%s\n" "no" >&6; }
   4993 fi
   4994 
   4995 
   4996 fi
   4997 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4998   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4999   # Extract the first word of "pkg-config", so it can be a program name with args.
   5000 set dummy pkg-config; ac_word=$2
   5001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5002 printf %s "checking for $ac_word... " >&6; }
   5003 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   5004 then :
   5005   printf %s "(cached) " >&6
   5006 else case e in #(
   5007   e) case $ac_pt_PKG_CONFIG in
   5008   [\\/]* | ?:[\\/]*)
   5009   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   5010   ;;
   5011   *)
   5012   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5013 for as_dir in $PATH
   5014 do
   5015   IFS=$as_save_IFS
   5016   case $as_dir in #(((
   5017     '') as_dir=./ ;;
   5018     */) ;;
   5019     *) as_dir=$as_dir/ ;;
   5020   esac
   5021     for ac_exec_ext in '' $ac_executable_extensions; do
   5022   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5023     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   5024     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5025     break 2
   5026   fi
   5027 done
   5028   done
   5029 IFS=$as_save_IFS
   5030 
   5031   ;;
   5032 esac ;;
   5033 esac
   5034 fi
   5035 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   5036 if test -n "$ac_pt_PKG_CONFIG"; then
   5037   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   5038 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   5039 else
   5040   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5041 printf "%s\n" "no" >&6; }
   5042 fi
   5043 
   5044   if test "x$ac_pt_PKG_CONFIG" = x; then
   5045     PKG_CONFIG=""
   5046   else
   5047     case $cross_compiling:$ac_tool_warned in
   5048 yes:)
   5049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5050 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5051 ac_tool_warned=yes ;;
   5052 esac
   5053     PKG_CONFIG=$ac_pt_PKG_CONFIG
   5054   fi
   5055 else
   5056   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   5057 fi
   5058 
   5059 fi
   5060 if test -n "$PKG_CONFIG"; then
   5061 	_pkg_min_version=0.9.0
   5062 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   5063 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   5064 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   5065 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5066 printf "%s\n" "yes" >&6; }
   5067 	else
   5068 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5069 printf "%s\n" "no" >&6; }
   5070 		PKG_CONFIG=""
   5071 	fi
   5072 fi
   5073 
   5074 
   5075   # Make sure we can run config.sub.
   5076 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   5077   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   5078 
   5079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   5080 printf %s "checking build system type... " >&6; }
   5081 if test ${ac_cv_build+y}
   5082 then :
   5083   printf %s "(cached) " >&6
   5084 else case e in #(
   5085   e) ac_build_alias=$build_alias
   5086 test "x$ac_build_alias" = x &&
   5087   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   5088 test "x$ac_build_alias" = x &&
   5089   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   5090 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   5091   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   5092  ;;
   5093 esac
   5094 fi
   5095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   5096 printf "%s\n" "$ac_cv_build" >&6; }
   5097 case $ac_cv_build in
   5098 *-*-*) ;;
   5099 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   5100 esac
   5101 build=$ac_cv_build
   5102 ac_save_IFS=$IFS; IFS='-'
   5103 set x $ac_cv_build
   5104 shift
   5105 build_cpu=$1
   5106 build_vendor=$2
   5107 shift; shift
   5108 # Remember, the first character of IFS is used to create $*,
   5109 # except with old shells:
   5110 build_os=$*
   5111 IFS=$ac_save_IFS
   5112 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   5113 
   5114 
   5115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   5116 printf %s "checking host system type... " >&6; }
   5117 if test ${ac_cv_host+y}
   5118 then :
   5119   printf %s "(cached) " >&6
   5120 else case e in #(
   5121   e) if test "x$host_alias" = x; then
   5122   ac_cv_host=$ac_cv_build
   5123 else
   5124   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   5125     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   5126 fi
   5127  ;;
   5128 esac
   5129 fi
   5130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   5131 printf "%s\n" "$ac_cv_host" >&6; }
   5132 case $ac_cv_host in
   5133 *-*-*) ;;
   5134 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   5135 esac
   5136 host=$ac_cv_host
   5137 ac_save_IFS=$IFS; IFS='-'
   5138 set x $ac_cv_host
   5139 shift
   5140 host_cpu=$1
   5141 host_vendor=$2
   5142 shift; shift
   5143 # Remember, the first character of IFS is used to create $*,
   5144 # except with old shells:
   5145 host_os=$*
   5146 IFS=$ac_save_IFS
   5147 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   5148 
   5149 
   5150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5151 printf %s "checking for a sed that does not truncate output... " >&6; }
   5152 if test ${ac_cv_path_SED+y}
   5153 then :
   5154   printf %s "(cached) " >&6
   5155 else case e in #(
   5156   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5157      for ac_i in 1 2 3 4 5 6 7; do
   5158        ac_script="$ac_script$as_nl$ac_script"
   5159      done
   5160      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5161      { ac_script=; unset ac_script;}
   5162      if test -z "$SED"; then
   5163   ac_path_SED_found=false
   5164   # Loop through the user's path and test for each of PROGNAME-LIST
   5165   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5166 for as_dir in $PATH
   5167 do
   5168   IFS=$as_save_IFS
   5169   case $as_dir in #(((
   5170     '') as_dir=./ ;;
   5171     */) ;;
   5172     *) as_dir=$as_dir/ ;;
   5173   esac
   5174     for ac_prog in sed gsed
   5175    do
   5176     for ac_exec_ext in '' $ac_executable_extensions; do
   5177       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5178       as_fn_executable_p "$ac_path_SED" || continue
   5179 # Check for GNU ac_path_SED and select it if it is found.
   5180   # Check for GNU $ac_path_SED
   5181 case `"$ac_path_SED" --version 2>&1` in #(
   5182 *GNU*)
   5183   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5184 #(
   5185 *)
   5186   ac_count=0
   5187   printf %s 0123456789 >"conftest.in"
   5188   while :
   5189   do
   5190     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5191     mv "conftest.tmp" "conftest.in"
   5192     cp "conftest.in" "conftest.nl"
   5193     printf "%s\n" '' >> "conftest.nl"
   5194     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5195     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5196     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5197     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5198       # Best one so far, save it but keep looking for a better one
   5199       ac_cv_path_SED="$ac_path_SED"
   5200       ac_path_SED_max=$ac_count
   5201     fi
   5202     # 10*(2^10) chars as input seems more than enough
   5203     test $ac_count -gt 10 && break
   5204   done
   5205   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5206 esac
   5207 
   5208       $ac_path_SED_found && break 3
   5209     done
   5210   done
   5211   done
   5212 IFS=$as_save_IFS
   5213   if test -z "$ac_cv_path_SED"; then
   5214     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5215   fi
   5216 else
   5217   ac_cv_path_SED=$SED
   5218 fi
   5219  ;;
   5220 esac
   5221 fi
   5222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5223 printf "%s\n" "$ac_cv_path_SED" >&6; }
   5224  SED="$ac_cv_path_SED"
   5225   rm -f conftest.sed
   5226 
   5227 
   5228 
   5229 
   5230 
   5231 
   5232 # Check whether --enable-selective-werror was given.
   5233 if test ${enable_selective_werror+y}
   5234 then :
   5235   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   5236 else case e in #(
   5237   e) SELECTIVE_WERROR=yes ;;
   5238 esac
   5239 fi
   5240 
   5241 
   5242 
   5243 
   5244 
   5245 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5246 if test "x$SUNCC" = "xyes"; then
   5247     BASE_CFLAGS="-v"
   5248 else
   5249     BASE_CFLAGS=""
   5250 fi
   5251 
   5252 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5253 
   5254 
   5255 
   5256 
   5257 
   5258 
   5259 
   5260 
   5261 
   5262 
   5263 
   5264 
   5265 
   5266 xorg_testset_save_CFLAGS="$CFLAGS"
   5267 
   5268 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5269 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5270 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5271 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5272 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5273 then :
   5274   printf %s "(cached) " >&6
   5275 else case e in #(
   5276   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5277 /* end confdefs.h.  */
   5278 int i;
   5279 _ACEOF
   5280 if ac_fn_c_try_compile "$LINENO"
   5281 then :
   5282   xorg_cv_cc_flag_unknown_warning_option=yes
   5283 else case e in #(
   5284   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5285 esac
   5286 fi
   5287 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5288 esac
   5289 fi
   5290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5291 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5292 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5293 	CFLAGS="$xorg_testset_save_CFLAGS"
   5294 fi
   5295 
   5296 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5297 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5298 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5299 	fi
   5300 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5301 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5302 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5303 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5304 then :
   5305   printf %s "(cached) " >&6
   5306 else case e in #(
   5307   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5308 /* end confdefs.h.  */
   5309 int i;
   5310 _ACEOF
   5311 if ac_fn_c_try_compile "$LINENO"
   5312 then :
   5313   xorg_cv_cc_flag_unused_command_line_argument=yes
   5314 else case e in #(
   5315   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5316 esac
   5317 fi
   5318 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5319 esac
   5320 fi
   5321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5322 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5323 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5324 	CFLAGS="$xorg_testset_save_CFLAGS"
   5325 fi
   5326 
   5327 found="no"
   5328 
   5329 	if test $found = "no" ; then
   5330 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5331 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5332 		fi
   5333 
   5334 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5335 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5336 		fi
   5337 
   5338 		CFLAGS="$CFLAGS -Wall"
   5339 
   5340 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5341 printf %s "checking if $CC supports -Wall... " >&6; }
   5342 		cacheid=xorg_cv_cc_flag__Wall
   5343 		if eval test \${$cacheid+y}
   5344 then :
   5345   printf %s "(cached) " >&6
   5346 else case e in #(
   5347   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5348 /* end confdefs.h.  */
   5349 int i;
   5350 int
   5351 main (void)
   5352 {
   5353 
   5354   ;
   5355   return 0;
   5356 }
   5357 _ACEOF
   5358 if ac_fn_c_try_link "$LINENO"
   5359 then :
   5360   eval $cacheid=yes
   5361 else case e in #(
   5362   e) eval $cacheid=no ;;
   5363 esac
   5364 fi
   5365 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5366     conftest$ac_exeext conftest.$ac_ext ;;
   5367 esac
   5368 fi
   5369 
   5370 
   5371 		CFLAGS="$xorg_testset_save_CFLAGS"
   5372 
   5373 		eval supported=\$$cacheid
   5374 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5375 printf "%s\n" "$supported" >&6; }
   5376 		if test "$supported" = "yes" ; then
   5377 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5378 			found="yes"
   5379 		fi
   5380 	fi
   5381 
   5382 
   5383 
   5384 
   5385 
   5386 
   5387 
   5388 
   5389 
   5390 
   5391 
   5392 
   5393 
   5394 
   5395 
   5396 xorg_testset_save_CFLAGS="$CFLAGS"
   5397 
   5398 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5399 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5400 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5401 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5402 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5403 then :
   5404   printf %s "(cached) " >&6
   5405 else case e in #(
   5406   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5407 /* end confdefs.h.  */
   5408 int i;
   5409 _ACEOF
   5410 if ac_fn_c_try_compile "$LINENO"
   5411 then :
   5412   xorg_cv_cc_flag_unknown_warning_option=yes
   5413 else case e in #(
   5414   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5415 esac
   5416 fi
   5417 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5418 esac
   5419 fi
   5420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5421 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5422 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5423 	CFLAGS="$xorg_testset_save_CFLAGS"
   5424 fi
   5425 
   5426 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5427 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5428 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5429 	fi
   5430 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5431 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5432 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5433 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5434 then :
   5435   printf %s "(cached) " >&6
   5436 else case e in #(
   5437   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5438 /* end confdefs.h.  */
   5439 int i;
   5440 _ACEOF
   5441 if ac_fn_c_try_compile "$LINENO"
   5442 then :
   5443   xorg_cv_cc_flag_unused_command_line_argument=yes
   5444 else case e in #(
   5445   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5446 esac
   5447 fi
   5448 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5449 esac
   5450 fi
   5451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5452 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5453 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5454 	CFLAGS="$xorg_testset_save_CFLAGS"
   5455 fi
   5456 
   5457 found="no"
   5458 
   5459 	if test $found = "no" ; then
   5460 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5461 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5462 		fi
   5463 
   5464 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5465 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5466 		fi
   5467 
   5468 		CFLAGS="$CFLAGS -Wpointer-arith"
   5469 
   5470 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5471 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5472 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5473 		if eval test \${$cacheid+y}
   5474 then :
   5475   printf %s "(cached) " >&6
   5476 else case e in #(
   5477   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5478 /* end confdefs.h.  */
   5479 int i;
   5480 int
   5481 main (void)
   5482 {
   5483 
   5484   ;
   5485   return 0;
   5486 }
   5487 _ACEOF
   5488 if ac_fn_c_try_link "$LINENO"
   5489 then :
   5490   eval $cacheid=yes
   5491 else case e in #(
   5492   e) eval $cacheid=no ;;
   5493 esac
   5494 fi
   5495 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5496     conftest$ac_exeext conftest.$ac_ext ;;
   5497 esac
   5498 fi
   5499 
   5500 
   5501 		CFLAGS="$xorg_testset_save_CFLAGS"
   5502 
   5503 		eval supported=\$$cacheid
   5504 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5505 printf "%s\n" "$supported" >&6; }
   5506 		if test "$supported" = "yes" ; then
   5507 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5508 			found="yes"
   5509 		fi
   5510 	fi
   5511 
   5512 
   5513 
   5514 
   5515 
   5516 
   5517 
   5518 
   5519 
   5520 
   5521 
   5522 
   5523 
   5524 
   5525 
   5526 xorg_testset_save_CFLAGS="$CFLAGS"
   5527 
   5528 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5529 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5530 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5531 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5532 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5533 then :
   5534   printf %s "(cached) " >&6
   5535 else case e in #(
   5536   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5537 /* end confdefs.h.  */
   5538 int i;
   5539 _ACEOF
   5540 if ac_fn_c_try_compile "$LINENO"
   5541 then :
   5542   xorg_cv_cc_flag_unknown_warning_option=yes
   5543 else case e in #(
   5544   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5545 esac
   5546 fi
   5547 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5548 esac
   5549 fi
   5550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5551 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5552 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5553 	CFLAGS="$xorg_testset_save_CFLAGS"
   5554 fi
   5555 
   5556 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5557 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5558 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5559 	fi
   5560 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5561 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5562 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5563 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5564 then :
   5565   printf %s "(cached) " >&6
   5566 else case e in #(
   5567   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5568 /* end confdefs.h.  */
   5569 int i;
   5570 _ACEOF
   5571 if ac_fn_c_try_compile "$LINENO"
   5572 then :
   5573   xorg_cv_cc_flag_unused_command_line_argument=yes
   5574 else case e in #(
   5575   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5576 esac
   5577 fi
   5578 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5579 esac
   5580 fi
   5581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5582 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5583 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5584 	CFLAGS="$xorg_testset_save_CFLAGS"
   5585 fi
   5586 
   5587 found="no"
   5588 
   5589 	if test $found = "no" ; then
   5590 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5591 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5592 		fi
   5593 
   5594 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5595 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5596 		fi
   5597 
   5598 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5599 
   5600 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5601 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5602 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5603 		if eval test \${$cacheid+y}
   5604 then :
   5605   printf %s "(cached) " >&6
   5606 else case e in #(
   5607   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5608 /* end confdefs.h.  */
   5609 int i;
   5610 int
   5611 main (void)
   5612 {
   5613 
   5614   ;
   5615   return 0;
   5616 }
   5617 _ACEOF
   5618 if ac_fn_c_try_link "$LINENO"
   5619 then :
   5620   eval $cacheid=yes
   5621 else case e in #(
   5622   e) eval $cacheid=no ;;
   5623 esac
   5624 fi
   5625 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5626     conftest$ac_exeext conftest.$ac_ext ;;
   5627 esac
   5628 fi
   5629 
   5630 
   5631 		CFLAGS="$xorg_testset_save_CFLAGS"
   5632 
   5633 		eval supported=\$$cacheid
   5634 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5635 printf "%s\n" "$supported" >&6; }
   5636 		if test "$supported" = "yes" ; then
   5637 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5638 			found="yes"
   5639 		fi
   5640 	fi
   5641 
   5642 
   5643 
   5644 
   5645 
   5646 
   5647 
   5648 
   5649 
   5650 
   5651 
   5652 
   5653 
   5654 
   5655 
   5656 xorg_testset_save_CFLAGS="$CFLAGS"
   5657 
   5658 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5659 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5660 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5661 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5662 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5663 then :
   5664   printf %s "(cached) " >&6
   5665 else case e in #(
   5666   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5667 /* end confdefs.h.  */
   5668 int i;
   5669 _ACEOF
   5670 if ac_fn_c_try_compile "$LINENO"
   5671 then :
   5672   xorg_cv_cc_flag_unknown_warning_option=yes
   5673 else case e in #(
   5674   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5675 esac
   5676 fi
   5677 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5678 esac
   5679 fi
   5680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5681 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5682 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5683 	CFLAGS="$xorg_testset_save_CFLAGS"
   5684 fi
   5685 
   5686 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5687 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5688 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5689 	fi
   5690 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5691 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5692 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5693 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5694 then :
   5695   printf %s "(cached) " >&6
   5696 else case e in #(
   5697   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5698 /* end confdefs.h.  */
   5699 int i;
   5700 _ACEOF
   5701 if ac_fn_c_try_compile "$LINENO"
   5702 then :
   5703   xorg_cv_cc_flag_unused_command_line_argument=yes
   5704 else case e in #(
   5705   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5706 esac
   5707 fi
   5708 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5709 esac
   5710 fi
   5711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5712 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5713 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5714 	CFLAGS="$xorg_testset_save_CFLAGS"
   5715 fi
   5716 
   5717 found="no"
   5718 
   5719 	if test $found = "no" ; then
   5720 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5721 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5722 		fi
   5723 
   5724 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5725 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5726 		fi
   5727 
   5728 		CFLAGS="$CFLAGS -Wformat=2"
   5729 
   5730 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5731 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5732 		cacheid=xorg_cv_cc_flag__Wformat_2
   5733 		if eval test \${$cacheid+y}
   5734 then :
   5735   printf %s "(cached) " >&6
   5736 else case e in #(
   5737   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5738 /* end confdefs.h.  */
   5739 int i;
   5740 int
   5741 main (void)
   5742 {
   5743 
   5744   ;
   5745   return 0;
   5746 }
   5747 _ACEOF
   5748 if ac_fn_c_try_link "$LINENO"
   5749 then :
   5750   eval $cacheid=yes
   5751 else case e in #(
   5752   e) eval $cacheid=no ;;
   5753 esac
   5754 fi
   5755 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5756     conftest$ac_exeext conftest.$ac_ext ;;
   5757 esac
   5758 fi
   5759 
   5760 
   5761 		CFLAGS="$xorg_testset_save_CFLAGS"
   5762 
   5763 		eval supported=\$$cacheid
   5764 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5765 printf "%s\n" "$supported" >&6; }
   5766 		if test "$supported" = "yes" ; then
   5767 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5768 			found="yes"
   5769 		fi
   5770 	fi
   5771 
   5772 	if test $found = "no" ; then
   5773 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5774 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5775 		fi
   5776 
   5777 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5778 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5779 		fi
   5780 
   5781 		CFLAGS="$CFLAGS -Wformat"
   5782 
   5783 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5784 printf %s "checking if $CC supports -Wformat... " >&6; }
   5785 		cacheid=xorg_cv_cc_flag__Wformat
   5786 		if eval test \${$cacheid+y}
   5787 then :
   5788   printf %s "(cached) " >&6
   5789 else case e in #(
   5790   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5791 /* end confdefs.h.  */
   5792 int i;
   5793 int
   5794 main (void)
   5795 {
   5796 
   5797   ;
   5798   return 0;
   5799 }
   5800 _ACEOF
   5801 if ac_fn_c_try_link "$LINENO"
   5802 then :
   5803   eval $cacheid=yes
   5804 else case e in #(
   5805   e) eval $cacheid=no ;;
   5806 esac
   5807 fi
   5808 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5809     conftest$ac_exeext conftest.$ac_ext ;;
   5810 esac
   5811 fi
   5812 
   5813 
   5814 		CFLAGS="$xorg_testset_save_CFLAGS"
   5815 
   5816 		eval supported=\$$cacheid
   5817 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5818 printf "%s\n" "$supported" >&6; }
   5819 		if test "$supported" = "yes" ; then
   5820 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5821 			found="yes"
   5822 		fi
   5823 	fi
   5824 
   5825 
   5826 
   5827 
   5828 
   5829 
   5830 
   5831 
   5832 
   5833 
   5834 
   5835 
   5836 
   5837 
   5838 
   5839 
   5840 
   5841 xorg_testset_save_CFLAGS="$CFLAGS"
   5842 
   5843 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5844 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5845 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5846 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5847 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5848 then :
   5849   printf %s "(cached) " >&6
   5850 else case e in #(
   5851   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5852 /* end confdefs.h.  */
   5853 int i;
   5854 _ACEOF
   5855 if ac_fn_c_try_compile "$LINENO"
   5856 then :
   5857   xorg_cv_cc_flag_unknown_warning_option=yes
   5858 else case e in #(
   5859   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5860 esac
   5861 fi
   5862 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5863 esac
   5864 fi
   5865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5866 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5867 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5868 	CFLAGS="$xorg_testset_save_CFLAGS"
   5869 fi
   5870 
   5871 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5872 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5873 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5874 	fi
   5875 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5876 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5877 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5878 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5879 then :
   5880   printf %s "(cached) " >&6
   5881 else case e in #(
   5882   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5883 /* end confdefs.h.  */
   5884 int i;
   5885 _ACEOF
   5886 if ac_fn_c_try_compile "$LINENO"
   5887 then :
   5888   xorg_cv_cc_flag_unused_command_line_argument=yes
   5889 else case e in #(
   5890   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5891 esac
   5892 fi
   5893 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5894 esac
   5895 fi
   5896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5897 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5898 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5899 	CFLAGS="$xorg_testset_save_CFLAGS"
   5900 fi
   5901 
   5902 found="no"
   5903 
   5904 	if test $found = "no" ; then
   5905 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5906 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5907 		fi
   5908 
   5909 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5910 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5911 		fi
   5912 
   5913 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5914 
   5915 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5916 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5917 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5918 		if eval test \${$cacheid+y}
   5919 then :
   5920   printf %s "(cached) " >&6
   5921 else case e in #(
   5922   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5923 /* end confdefs.h.  */
   5924 int i;
   5925 int
   5926 main (void)
   5927 {
   5928 
   5929   ;
   5930   return 0;
   5931 }
   5932 _ACEOF
   5933 if ac_fn_c_try_link "$LINENO"
   5934 then :
   5935   eval $cacheid=yes
   5936 else case e in #(
   5937   e) eval $cacheid=no ;;
   5938 esac
   5939 fi
   5940 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5941     conftest$ac_exeext conftest.$ac_ext ;;
   5942 esac
   5943 fi
   5944 
   5945 
   5946 		CFLAGS="$xorg_testset_save_CFLAGS"
   5947 
   5948 		eval supported=\$$cacheid
   5949 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5950 printf "%s\n" "$supported" >&6; }
   5951 		if test "$supported" = "yes" ; then
   5952 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5953 			found="yes"
   5954 		fi
   5955 	fi
   5956 
   5957 
   5958 
   5959 
   5960 
   5961 
   5962 
   5963 
   5964 
   5965 
   5966 
   5967 
   5968 
   5969 
   5970 
   5971 xorg_testset_save_CFLAGS="$CFLAGS"
   5972 
   5973 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5974 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5975 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5976 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5977 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5978 then :
   5979   printf %s "(cached) " >&6
   5980 else case e in #(
   5981   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5982 /* end confdefs.h.  */
   5983 int i;
   5984 _ACEOF
   5985 if ac_fn_c_try_compile "$LINENO"
   5986 then :
   5987   xorg_cv_cc_flag_unknown_warning_option=yes
   5988 else case e in #(
   5989   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5990 esac
   5991 fi
   5992 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5993 esac
   5994 fi
   5995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5996 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5997 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5998 	CFLAGS="$xorg_testset_save_CFLAGS"
   5999 fi
   6000 
   6001 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6002 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6003 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6004 	fi
   6005 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6006 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6007 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6008 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6009 then :
   6010   printf %s "(cached) " >&6
   6011 else case e in #(
   6012   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6013 /* end confdefs.h.  */
   6014 int i;
   6015 _ACEOF
   6016 if ac_fn_c_try_compile "$LINENO"
   6017 then :
   6018   xorg_cv_cc_flag_unused_command_line_argument=yes
   6019 else case e in #(
   6020   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6021 esac
   6022 fi
   6023 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6024 esac
   6025 fi
   6026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6027 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6028 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6029 	CFLAGS="$xorg_testset_save_CFLAGS"
   6030 fi
   6031 
   6032 found="no"
   6033 
   6034 	if test $found = "no" ; then
   6035 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6036 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6037 		fi
   6038 
   6039 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6040 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6041 		fi
   6042 
   6043 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   6044 
   6045 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   6046 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   6047 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   6048 		if eval test \${$cacheid+y}
   6049 then :
   6050   printf %s "(cached) " >&6
   6051 else case e in #(
   6052   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6053 /* end confdefs.h.  */
   6054 int i;
   6055 int
   6056 main (void)
   6057 {
   6058 
   6059   ;
   6060   return 0;
   6061 }
   6062 _ACEOF
   6063 if ac_fn_c_try_link "$LINENO"
   6064 then :
   6065   eval $cacheid=yes
   6066 else case e in #(
   6067   e) eval $cacheid=no ;;
   6068 esac
   6069 fi
   6070 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6071     conftest$ac_exeext conftest.$ac_ext ;;
   6072 esac
   6073 fi
   6074 
   6075 
   6076 		CFLAGS="$xorg_testset_save_CFLAGS"
   6077 
   6078 		eval supported=\$$cacheid
   6079 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6080 printf "%s\n" "$supported" >&6; }
   6081 		if test "$supported" = "yes" ; then
   6082 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   6083 			found="yes"
   6084 		fi
   6085 	fi
   6086 
   6087 
   6088 
   6089 
   6090 
   6091 
   6092 
   6093 
   6094 
   6095 
   6096 
   6097 
   6098 
   6099 
   6100 
   6101 xorg_testset_save_CFLAGS="$CFLAGS"
   6102 
   6103 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6104 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6105 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6106 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6107 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6108 then :
   6109   printf %s "(cached) " >&6
   6110 else case e in #(
   6111   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6112 /* end confdefs.h.  */
   6113 int i;
   6114 _ACEOF
   6115 if ac_fn_c_try_compile "$LINENO"
   6116 then :
   6117   xorg_cv_cc_flag_unknown_warning_option=yes
   6118 else case e in #(
   6119   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6120 esac
   6121 fi
   6122 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6123 esac
   6124 fi
   6125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6126 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6127 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6128 	CFLAGS="$xorg_testset_save_CFLAGS"
   6129 fi
   6130 
   6131 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6132 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6133 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6134 	fi
   6135 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6136 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6137 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6138 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6139 then :
   6140   printf %s "(cached) " >&6
   6141 else case e in #(
   6142   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6143 /* end confdefs.h.  */
   6144 int i;
   6145 _ACEOF
   6146 if ac_fn_c_try_compile "$LINENO"
   6147 then :
   6148   xorg_cv_cc_flag_unused_command_line_argument=yes
   6149 else case e in #(
   6150   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6151 esac
   6152 fi
   6153 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6154 esac
   6155 fi
   6156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6157 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6158 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6159 	CFLAGS="$xorg_testset_save_CFLAGS"
   6160 fi
   6161 
   6162 found="no"
   6163 
   6164 	if test $found = "no" ; then
   6165 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6166 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6167 		fi
   6168 
   6169 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6170 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6171 		fi
   6172 
   6173 		CFLAGS="$CFLAGS -Wnested-externs"
   6174 
   6175 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   6176 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   6177 		cacheid=xorg_cv_cc_flag__Wnested_externs
   6178 		if eval test \${$cacheid+y}
   6179 then :
   6180   printf %s "(cached) " >&6
   6181 else case e in #(
   6182   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6183 /* end confdefs.h.  */
   6184 int i;
   6185 int
   6186 main (void)
   6187 {
   6188 
   6189   ;
   6190   return 0;
   6191 }
   6192 _ACEOF
   6193 if ac_fn_c_try_link "$LINENO"
   6194 then :
   6195   eval $cacheid=yes
   6196 else case e in #(
   6197   e) eval $cacheid=no ;;
   6198 esac
   6199 fi
   6200 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6201     conftest$ac_exeext conftest.$ac_ext ;;
   6202 esac
   6203 fi
   6204 
   6205 
   6206 		CFLAGS="$xorg_testset_save_CFLAGS"
   6207 
   6208 		eval supported=\$$cacheid
   6209 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6210 printf "%s\n" "$supported" >&6; }
   6211 		if test "$supported" = "yes" ; then
   6212 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   6213 			found="yes"
   6214 		fi
   6215 	fi
   6216 
   6217 
   6218 
   6219 
   6220 
   6221 
   6222 
   6223 
   6224 
   6225 
   6226 
   6227 
   6228 
   6229 
   6230 
   6231 xorg_testset_save_CFLAGS="$CFLAGS"
   6232 
   6233 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6234 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6235 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6236 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6237 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6238 then :
   6239   printf %s "(cached) " >&6
   6240 else case e in #(
   6241   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6242 /* end confdefs.h.  */
   6243 int i;
   6244 _ACEOF
   6245 if ac_fn_c_try_compile "$LINENO"
   6246 then :
   6247   xorg_cv_cc_flag_unknown_warning_option=yes
   6248 else case e in #(
   6249   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6250 esac
   6251 fi
   6252 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6253 esac
   6254 fi
   6255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6256 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6257 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6258 	CFLAGS="$xorg_testset_save_CFLAGS"
   6259 fi
   6260 
   6261 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6262 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6263 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6264 	fi
   6265 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6266 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6267 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6268 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6269 then :
   6270   printf %s "(cached) " >&6
   6271 else case e in #(
   6272   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6273 /* end confdefs.h.  */
   6274 int i;
   6275 _ACEOF
   6276 if ac_fn_c_try_compile "$LINENO"
   6277 then :
   6278   xorg_cv_cc_flag_unused_command_line_argument=yes
   6279 else case e in #(
   6280   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6281 esac
   6282 fi
   6283 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6284 esac
   6285 fi
   6286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6287 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6288 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6289 	CFLAGS="$xorg_testset_save_CFLAGS"
   6290 fi
   6291 
   6292 found="no"
   6293 
   6294 	if test $found = "no" ; then
   6295 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6296 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6297 		fi
   6298 
   6299 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6300 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6301 		fi
   6302 
   6303 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6304 
   6305 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6306 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   6307 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6308 		if eval test \${$cacheid+y}
   6309 then :
   6310   printf %s "(cached) " >&6
   6311 else case e in #(
   6312   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6313 /* end confdefs.h.  */
   6314 int i;
   6315 int
   6316 main (void)
   6317 {
   6318 
   6319   ;
   6320   return 0;
   6321 }
   6322 _ACEOF
   6323 if ac_fn_c_try_link "$LINENO"
   6324 then :
   6325   eval $cacheid=yes
   6326 else case e in #(
   6327   e) eval $cacheid=no ;;
   6328 esac
   6329 fi
   6330 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6331     conftest$ac_exeext conftest.$ac_ext ;;
   6332 esac
   6333 fi
   6334 
   6335 
   6336 		CFLAGS="$xorg_testset_save_CFLAGS"
   6337 
   6338 		eval supported=\$$cacheid
   6339 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6340 printf "%s\n" "$supported" >&6; }
   6341 		if test "$supported" = "yes" ; then
   6342 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6343 			found="yes"
   6344 		fi
   6345 	fi
   6346 
   6347 
   6348 
   6349 
   6350 
   6351 
   6352 
   6353 
   6354 
   6355 
   6356 
   6357 
   6358 
   6359 
   6360 
   6361 xorg_testset_save_CFLAGS="$CFLAGS"
   6362 
   6363 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6364 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6365 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6366 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6367 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6368 then :
   6369   printf %s "(cached) " >&6
   6370 else case e in #(
   6371   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6372 /* end confdefs.h.  */
   6373 int i;
   6374 _ACEOF
   6375 if ac_fn_c_try_compile "$LINENO"
   6376 then :
   6377   xorg_cv_cc_flag_unknown_warning_option=yes
   6378 else case e in #(
   6379   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6380 esac
   6381 fi
   6382 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6383 esac
   6384 fi
   6385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6386 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6387 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6388 	CFLAGS="$xorg_testset_save_CFLAGS"
   6389 fi
   6390 
   6391 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6392 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6393 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6394 	fi
   6395 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6396 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6397 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6398 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6399 then :
   6400   printf %s "(cached) " >&6
   6401 else case e in #(
   6402   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6403 /* end confdefs.h.  */
   6404 int i;
   6405 _ACEOF
   6406 if ac_fn_c_try_compile "$LINENO"
   6407 then :
   6408   xorg_cv_cc_flag_unused_command_line_argument=yes
   6409 else case e in #(
   6410   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6411 esac
   6412 fi
   6413 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6414 esac
   6415 fi
   6416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6417 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6418 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6419 	CFLAGS="$xorg_testset_save_CFLAGS"
   6420 fi
   6421 
   6422 found="no"
   6423 
   6424 	if test $found = "no" ; then
   6425 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6426 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6427 		fi
   6428 
   6429 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6430 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6431 		fi
   6432 
   6433 		CFLAGS="$CFLAGS -Wold-style-definition"
   6434 
   6435 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6436 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6437 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6438 		if eval test \${$cacheid+y}
   6439 then :
   6440   printf %s "(cached) " >&6
   6441 else case e in #(
   6442   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6443 /* end confdefs.h.  */
   6444 int i;
   6445 int
   6446 main (void)
   6447 {
   6448 
   6449   ;
   6450   return 0;
   6451 }
   6452 _ACEOF
   6453 if ac_fn_c_try_link "$LINENO"
   6454 then :
   6455   eval $cacheid=yes
   6456 else case e in #(
   6457   e) eval $cacheid=no ;;
   6458 esac
   6459 fi
   6460 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6461     conftest$ac_exeext conftest.$ac_ext ;;
   6462 esac
   6463 fi
   6464 
   6465 
   6466 		CFLAGS="$xorg_testset_save_CFLAGS"
   6467 
   6468 		eval supported=\$$cacheid
   6469 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6470 printf "%s\n" "$supported" >&6; }
   6471 		if test "$supported" = "yes" ; then
   6472 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6473 			found="yes"
   6474 		fi
   6475 	fi
   6476 
   6477 	if test $found = "no" ; then
   6478 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6479 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6480 		fi
   6481 
   6482 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6483 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6484 		fi
   6485 
   6486 		CFLAGS="$CFLAGS -fd"
   6487 
   6488 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6489 printf %s "checking if $CC supports -fd... " >&6; }
   6490 		cacheid=xorg_cv_cc_flag__fd
   6491 		if eval test \${$cacheid+y}
   6492 then :
   6493   printf %s "(cached) " >&6
   6494 else case e in #(
   6495   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6496 /* end confdefs.h.  */
   6497 int i;
   6498 int
   6499 main (void)
   6500 {
   6501 
   6502   ;
   6503   return 0;
   6504 }
   6505 _ACEOF
   6506 if ac_fn_c_try_link "$LINENO"
   6507 then :
   6508   eval $cacheid=yes
   6509 else case e in #(
   6510   e) eval $cacheid=no ;;
   6511 esac
   6512 fi
   6513 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6514     conftest$ac_exeext conftest.$ac_ext ;;
   6515 esac
   6516 fi
   6517 
   6518 
   6519 		CFLAGS="$xorg_testset_save_CFLAGS"
   6520 
   6521 		eval supported=\$$cacheid
   6522 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6523 printf "%s\n" "$supported" >&6; }
   6524 		if test "$supported" = "yes" ; then
   6525 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6526 			found="yes"
   6527 		fi
   6528 	fi
   6529 
   6530 
   6531 
   6532 
   6533 
   6534 # This chunk adds additional warnings that could catch undesired effects.
   6535 
   6536 
   6537 
   6538 
   6539 
   6540 
   6541 
   6542 
   6543 
   6544 
   6545 
   6546 
   6547 
   6548 xorg_testset_save_CFLAGS="$CFLAGS"
   6549 
   6550 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6551 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6552 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6553 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6554 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6555 then :
   6556   printf %s "(cached) " >&6
   6557 else case e in #(
   6558   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6559 /* end confdefs.h.  */
   6560 int i;
   6561 _ACEOF
   6562 if ac_fn_c_try_compile "$LINENO"
   6563 then :
   6564   xorg_cv_cc_flag_unknown_warning_option=yes
   6565 else case e in #(
   6566   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6567 esac
   6568 fi
   6569 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6570 esac
   6571 fi
   6572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6573 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6574 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6575 	CFLAGS="$xorg_testset_save_CFLAGS"
   6576 fi
   6577 
   6578 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6579 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6580 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6581 	fi
   6582 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6583 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6584 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6585 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6586 then :
   6587   printf %s "(cached) " >&6
   6588 else case e in #(
   6589   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6590 /* end confdefs.h.  */
   6591 int i;
   6592 _ACEOF
   6593 if ac_fn_c_try_compile "$LINENO"
   6594 then :
   6595   xorg_cv_cc_flag_unused_command_line_argument=yes
   6596 else case e in #(
   6597   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6598 esac
   6599 fi
   6600 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6601 esac
   6602 fi
   6603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6604 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6605 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6606 	CFLAGS="$xorg_testset_save_CFLAGS"
   6607 fi
   6608 
   6609 found="no"
   6610 
   6611 	if test $found = "no" ; then
   6612 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6613 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6614 		fi
   6615 
   6616 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6617 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6618 		fi
   6619 
   6620 		CFLAGS="$CFLAGS -Wunused"
   6621 
   6622 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6623 printf %s "checking if $CC supports -Wunused... " >&6; }
   6624 		cacheid=xorg_cv_cc_flag__Wunused
   6625 		if eval test \${$cacheid+y}
   6626 then :
   6627   printf %s "(cached) " >&6
   6628 else case e in #(
   6629   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6630 /* end confdefs.h.  */
   6631 int i;
   6632 int
   6633 main (void)
   6634 {
   6635 
   6636   ;
   6637   return 0;
   6638 }
   6639 _ACEOF
   6640 if ac_fn_c_try_link "$LINENO"
   6641 then :
   6642   eval $cacheid=yes
   6643 else case e in #(
   6644   e) eval $cacheid=no ;;
   6645 esac
   6646 fi
   6647 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6648     conftest$ac_exeext conftest.$ac_ext ;;
   6649 esac
   6650 fi
   6651 
   6652 
   6653 		CFLAGS="$xorg_testset_save_CFLAGS"
   6654 
   6655 		eval supported=\$$cacheid
   6656 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6657 printf "%s\n" "$supported" >&6; }
   6658 		if test "$supported" = "yes" ; then
   6659 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6660 			found="yes"
   6661 		fi
   6662 	fi
   6663 
   6664 
   6665 
   6666 
   6667 
   6668 
   6669 
   6670 
   6671 
   6672 
   6673 
   6674 
   6675 
   6676 
   6677 
   6678 xorg_testset_save_CFLAGS="$CFLAGS"
   6679 
   6680 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6681 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6682 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6683 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6684 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6685 then :
   6686   printf %s "(cached) " >&6
   6687 else case e in #(
   6688   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6689 /* end confdefs.h.  */
   6690 int i;
   6691 _ACEOF
   6692 if ac_fn_c_try_compile "$LINENO"
   6693 then :
   6694   xorg_cv_cc_flag_unknown_warning_option=yes
   6695 else case e in #(
   6696   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6697 esac
   6698 fi
   6699 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6700 esac
   6701 fi
   6702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6703 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6704 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6705 	CFLAGS="$xorg_testset_save_CFLAGS"
   6706 fi
   6707 
   6708 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6709 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6710 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6711 	fi
   6712 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6713 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6714 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6715 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6716 then :
   6717   printf %s "(cached) " >&6
   6718 else case e in #(
   6719   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6720 /* end confdefs.h.  */
   6721 int i;
   6722 _ACEOF
   6723 if ac_fn_c_try_compile "$LINENO"
   6724 then :
   6725   xorg_cv_cc_flag_unused_command_line_argument=yes
   6726 else case e in #(
   6727   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6728 esac
   6729 fi
   6730 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6731 esac
   6732 fi
   6733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6734 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6735 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6736 	CFLAGS="$xorg_testset_save_CFLAGS"
   6737 fi
   6738 
   6739 found="no"
   6740 
   6741 	if test $found = "no" ; then
   6742 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6743 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6744 		fi
   6745 
   6746 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6747 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6748 		fi
   6749 
   6750 		CFLAGS="$CFLAGS -Wuninitialized"
   6751 
   6752 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6753 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6754 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6755 		if eval test \${$cacheid+y}
   6756 then :
   6757   printf %s "(cached) " >&6
   6758 else case e in #(
   6759   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6760 /* end confdefs.h.  */
   6761 int i;
   6762 int
   6763 main (void)
   6764 {
   6765 
   6766   ;
   6767   return 0;
   6768 }
   6769 _ACEOF
   6770 if ac_fn_c_try_link "$LINENO"
   6771 then :
   6772   eval $cacheid=yes
   6773 else case e in #(
   6774   e) eval $cacheid=no ;;
   6775 esac
   6776 fi
   6777 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6778     conftest$ac_exeext conftest.$ac_ext ;;
   6779 esac
   6780 fi
   6781 
   6782 
   6783 		CFLAGS="$xorg_testset_save_CFLAGS"
   6784 
   6785 		eval supported=\$$cacheid
   6786 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6787 printf "%s\n" "$supported" >&6; }
   6788 		if test "$supported" = "yes" ; then
   6789 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6790 			found="yes"
   6791 		fi
   6792 	fi
   6793 
   6794 
   6795 
   6796 
   6797 
   6798 
   6799 
   6800 
   6801 
   6802 
   6803 
   6804 
   6805 
   6806 
   6807 
   6808 xorg_testset_save_CFLAGS="$CFLAGS"
   6809 
   6810 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6811 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6812 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6813 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6814 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6815 then :
   6816   printf %s "(cached) " >&6
   6817 else case e in #(
   6818   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6819 /* end confdefs.h.  */
   6820 int i;
   6821 _ACEOF
   6822 if ac_fn_c_try_compile "$LINENO"
   6823 then :
   6824   xorg_cv_cc_flag_unknown_warning_option=yes
   6825 else case e in #(
   6826   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6827 esac
   6828 fi
   6829 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6830 esac
   6831 fi
   6832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6833 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6834 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6835 	CFLAGS="$xorg_testset_save_CFLAGS"
   6836 fi
   6837 
   6838 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6839 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6840 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6841 	fi
   6842 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6843 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6844 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6845 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6846 then :
   6847   printf %s "(cached) " >&6
   6848 else case e in #(
   6849   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6850 /* end confdefs.h.  */
   6851 int i;
   6852 _ACEOF
   6853 if ac_fn_c_try_compile "$LINENO"
   6854 then :
   6855   xorg_cv_cc_flag_unused_command_line_argument=yes
   6856 else case e in #(
   6857   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6858 esac
   6859 fi
   6860 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6861 esac
   6862 fi
   6863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6864 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6865 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6866 	CFLAGS="$xorg_testset_save_CFLAGS"
   6867 fi
   6868 
   6869 found="no"
   6870 
   6871 	if test $found = "no" ; then
   6872 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6873 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6874 		fi
   6875 
   6876 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6877 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6878 		fi
   6879 
   6880 		CFLAGS="$CFLAGS -Wshadow"
   6881 
   6882 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6883 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6884 		cacheid=xorg_cv_cc_flag__Wshadow
   6885 		if eval test \${$cacheid+y}
   6886 then :
   6887   printf %s "(cached) " >&6
   6888 else case e in #(
   6889   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6890 /* end confdefs.h.  */
   6891 int i;
   6892 int
   6893 main (void)
   6894 {
   6895 
   6896   ;
   6897   return 0;
   6898 }
   6899 _ACEOF
   6900 if ac_fn_c_try_link "$LINENO"
   6901 then :
   6902   eval $cacheid=yes
   6903 else case e in #(
   6904   e) eval $cacheid=no ;;
   6905 esac
   6906 fi
   6907 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6908     conftest$ac_exeext conftest.$ac_ext ;;
   6909 esac
   6910 fi
   6911 
   6912 
   6913 		CFLAGS="$xorg_testset_save_CFLAGS"
   6914 
   6915 		eval supported=\$$cacheid
   6916 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6917 printf "%s\n" "$supported" >&6; }
   6918 		if test "$supported" = "yes" ; then
   6919 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6920 			found="yes"
   6921 		fi
   6922 	fi
   6923 
   6924 
   6925 
   6926 
   6927 
   6928 
   6929 
   6930 
   6931 
   6932 
   6933 
   6934 
   6935 
   6936 
   6937 
   6938 xorg_testset_save_CFLAGS="$CFLAGS"
   6939 
   6940 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6941 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6942 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6943 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6944 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6945 then :
   6946   printf %s "(cached) " >&6
   6947 else case e in #(
   6948   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6949 /* end confdefs.h.  */
   6950 int i;
   6951 _ACEOF
   6952 if ac_fn_c_try_compile "$LINENO"
   6953 then :
   6954   xorg_cv_cc_flag_unknown_warning_option=yes
   6955 else case e in #(
   6956   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6957 esac
   6958 fi
   6959 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6960 esac
   6961 fi
   6962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6963 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6964 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6965 	CFLAGS="$xorg_testset_save_CFLAGS"
   6966 fi
   6967 
   6968 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6969 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6970 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6971 	fi
   6972 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6973 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6974 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6975 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6976 then :
   6977   printf %s "(cached) " >&6
   6978 else case e in #(
   6979   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6980 /* end confdefs.h.  */
   6981 int i;
   6982 _ACEOF
   6983 if ac_fn_c_try_compile "$LINENO"
   6984 then :
   6985   xorg_cv_cc_flag_unused_command_line_argument=yes
   6986 else case e in #(
   6987   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6988 esac
   6989 fi
   6990 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6991 esac
   6992 fi
   6993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6994 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6995 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6996 	CFLAGS="$xorg_testset_save_CFLAGS"
   6997 fi
   6998 
   6999 found="no"
   7000 
   7001 	if test $found = "no" ; then
   7002 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7003 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7004 		fi
   7005 
   7006 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7007 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7008 		fi
   7009 
   7010 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   7011 
   7012 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   7013 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   7014 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   7015 		if eval test \${$cacheid+y}
   7016 then :
   7017   printf %s "(cached) " >&6
   7018 else case e in #(
   7019   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7020 /* end confdefs.h.  */
   7021 int i;
   7022 int
   7023 main (void)
   7024 {
   7025 
   7026   ;
   7027   return 0;
   7028 }
   7029 _ACEOF
   7030 if ac_fn_c_try_link "$LINENO"
   7031 then :
   7032   eval $cacheid=yes
   7033 else case e in #(
   7034   e) eval $cacheid=no ;;
   7035 esac
   7036 fi
   7037 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7038     conftest$ac_exeext conftest.$ac_ext ;;
   7039 esac
   7040 fi
   7041 
   7042 
   7043 		CFLAGS="$xorg_testset_save_CFLAGS"
   7044 
   7045 		eval supported=\$$cacheid
   7046 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7047 printf "%s\n" "$supported" >&6; }
   7048 		if test "$supported" = "yes" ; then
   7049 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   7050 			found="yes"
   7051 		fi
   7052 	fi
   7053 
   7054 
   7055 
   7056 
   7057 
   7058 
   7059 
   7060 
   7061 
   7062 
   7063 
   7064 
   7065 
   7066 
   7067 
   7068 xorg_testset_save_CFLAGS="$CFLAGS"
   7069 
   7070 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7071 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7072 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7073 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7074 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7075 then :
   7076   printf %s "(cached) " >&6
   7077 else case e in #(
   7078   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7079 /* end confdefs.h.  */
   7080 int i;
   7081 _ACEOF
   7082 if ac_fn_c_try_compile "$LINENO"
   7083 then :
   7084   xorg_cv_cc_flag_unknown_warning_option=yes
   7085 else case e in #(
   7086   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7087 esac
   7088 fi
   7089 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7090 esac
   7091 fi
   7092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7093 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7094 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7095 	CFLAGS="$xorg_testset_save_CFLAGS"
   7096 fi
   7097 
   7098 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7099 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7100 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7101 	fi
   7102 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7103 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7104 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7105 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7106 then :
   7107   printf %s "(cached) " >&6
   7108 else case e in #(
   7109   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7110 /* end confdefs.h.  */
   7111 int i;
   7112 _ACEOF
   7113 if ac_fn_c_try_compile "$LINENO"
   7114 then :
   7115   xorg_cv_cc_flag_unused_command_line_argument=yes
   7116 else case e in #(
   7117   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7118 esac
   7119 fi
   7120 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7121 esac
   7122 fi
   7123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7124 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7125 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7126 	CFLAGS="$xorg_testset_save_CFLAGS"
   7127 fi
   7128 
   7129 found="no"
   7130 
   7131 	if test $found = "no" ; then
   7132 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7133 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7134 		fi
   7135 
   7136 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7137 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7138 		fi
   7139 
   7140 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   7141 
   7142 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   7143 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   7144 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   7145 		if eval test \${$cacheid+y}
   7146 then :
   7147   printf %s "(cached) " >&6
   7148 else case e in #(
   7149   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7150 /* end confdefs.h.  */
   7151 int i;
   7152 int
   7153 main (void)
   7154 {
   7155 
   7156   ;
   7157   return 0;
   7158 }
   7159 _ACEOF
   7160 if ac_fn_c_try_link "$LINENO"
   7161 then :
   7162   eval $cacheid=yes
   7163 else case e in #(
   7164   e) eval $cacheid=no ;;
   7165 esac
   7166 fi
   7167 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7168     conftest$ac_exeext conftest.$ac_ext ;;
   7169 esac
   7170 fi
   7171 
   7172 
   7173 		CFLAGS="$xorg_testset_save_CFLAGS"
   7174 
   7175 		eval supported=\$$cacheid
   7176 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7177 printf "%s\n" "$supported" >&6; }
   7178 		if test "$supported" = "yes" ; then
   7179 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   7180 			found="yes"
   7181 		fi
   7182 	fi
   7183 
   7184 
   7185 
   7186 
   7187 
   7188 
   7189 
   7190 
   7191 
   7192 
   7193 
   7194 
   7195 
   7196 
   7197 
   7198 xorg_testset_save_CFLAGS="$CFLAGS"
   7199 
   7200 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7201 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7202 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7203 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7204 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7205 then :
   7206   printf %s "(cached) " >&6
   7207 else case e in #(
   7208   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7209 /* end confdefs.h.  */
   7210 int i;
   7211 _ACEOF
   7212 if ac_fn_c_try_compile "$LINENO"
   7213 then :
   7214   xorg_cv_cc_flag_unknown_warning_option=yes
   7215 else case e in #(
   7216   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7217 esac
   7218 fi
   7219 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7220 esac
   7221 fi
   7222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7223 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7224 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7225 	CFLAGS="$xorg_testset_save_CFLAGS"
   7226 fi
   7227 
   7228 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7229 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7230 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7231 	fi
   7232 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7233 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7234 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7235 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7236 then :
   7237   printf %s "(cached) " >&6
   7238 else case e in #(
   7239   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7240 /* end confdefs.h.  */
   7241 int i;
   7242 _ACEOF
   7243 if ac_fn_c_try_compile "$LINENO"
   7244 then :
   7245   xorg_cv_cc_flag_unused_command_line_argument=yes
   7246 else case e in #(
   7247   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7248 esac
   7249 fi
   7250 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7251 esac
   7252 fi
   7253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7254 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7255 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7256 	CFLAGS="$xorg_testset_save_CFLAGS"
   7257 fi
   7258 
   7259 found="no"
   7260 
   7261 	if test $found = "no" ; then
   7262 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7263 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7264 		fi
   7265 
   7266 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7267 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7268 		fi
   7269 
   7270 		CFLAGS="$CFLAGS -Wredundant-decls"
   7271 
   7272 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7273 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7274 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7275 		if eval test \${$cacheid+y}
   7276 then :
   7277   printf %s "(cached) " >&6
   7278 else case e in #(
   7279   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7280 /* end confdefs.h.  */
   7281 int i;
   7282 int
   7283 main (void)
   7284 {
   7285 
   7286   ;
   7287   return 0;
   7288 }
   7289 _ACEOF
   7290 if ac_fn_c_try_link "$LINENO"
   7291 then :
   7292   eval $cacheid=yes
   7293 else case e in #(
   7294   e) eval $cacheid=no ;;
   7295 esac
   7296 fi
   7297 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7298     conftest$ac_exeext conftest.$ac_ext ;;
   7299 esac
   7300 fi
   7301 
   7302 
   7303 		CFLAGS="$xorg_testset_save_CFLAGS"
   7304 
   7305 		eval supported=\$$cacheid
   7306 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7307 printf "%s\n" "$supported" >&6; }
   7308 		if test "$supported" = "yes" ; then
   7309 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7310 			found="yes"
   7311 		fi
   7312 	fi
   7313 
   7314 
   7315 
   7316 
   7317 
   7318 
   7319 
   7320 
   7321 
   7322 
   7323 
   7324 
   7325 
   7326 
   7327 
   7328 xorg_testset_save_CFLAGS="$CFLAGS"
   7329 
   7330 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7331 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7332 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7333 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7334 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7335 then :
   7336   printf %s "(cached) " >&6
   7337 else case e in #(
   7338   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7339 /* end confdefs.h.  */
   7340 int i;
   7341 _ACEOF
   7342 if ac_fn_c_try_compile "$LINENO"
   7343 then :
   7344   xorg_cv_cc_flag_unknown_warning_option=yes
   7345 else case e in #(
   7346   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7347 esac
   7348 fi
   7349 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7350 esac
   7351 fi
   7352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7353 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7354 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7355 	CFLAGS="$xorg_testset_save_CFLAGS"
   7356 fi
   7357 
   7358 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7359 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7360 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7361 	fi
   7362 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7363 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7364 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7365 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7366 then :
   7367   printf %s "(cached) " >&6
   7368 else case e in #(
   7369   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7370 /* end confdefs.h.  */
   7371 int i;
   7372 _ACEOF
   7373 if ac_fn_c_try_compile "$LINENO"
   7374 then :
   7375   xorg_cv_cc_flag_unused_command_line_argument=yes
   7376 else case e in #(
   7377   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7378 esac
   7379 fi
   7380 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7381 esac
   7382 fi
   7383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7384 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7385 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7386 	CFLAGS="$xorg_testset_save_CFLAGS"
   7387 fi
   7388 
   7389 found="no"
   7390 
   7391 	if test $found = "no" ; then
   7392 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7393 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7394 		fi
   7395 
   7396 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7397 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7398 		fi
   7399 
   7400 		CFLAGS="$CFLAGS -Wlogical-op"
   7401 
   7402 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7403 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7404 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7405 		if eval test \${$cacheid+y}
   7406 then :
   7407   printf %s "(cached) " >&6
   7408 else case e in #(
   7409   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7410 /* end confdefs.h.  */
   7411 int i;
   7412 int
   7413 main (void)
   7414 {
   7415 
   7416   ;
   7417   return 0;
   7418 }
   7419 _ACEOF
   7420 if ac_fn_c_try_link "$LINENO"
   7421 then :
   7422   eval $cacheid=yes
   7423 else case e in #(
   7424   e) eval $cacheid=no ;;
   7425 esac
   7426 fi
   7427 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7428     conftest$ac_exeext conftest.$ac_ext ;;
   7429 esac
   7430 fi
   7431 
   7432 
   7433 		CFLAGS="$xorg_testset_save_CFLAGS"
   7434 
   7435 		eval supported=\$$cacheid
   7436 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7437 printf "%s\n" "$supported" >&6; }
   7438 		if test "$supported" = "yes" ; then
   7439 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7440 			found="yes"
   7441 		fi
   7442 	fi
   7443 
   7444 
   7445 
   7446 # These are currently disabled because they are noisy.  They will be enabled
   7447 # in the future once the codebase is sufficiently modernized to silence
   7448 # them.  For now, I don't want them to drown out the other warnings.
   7449 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7450 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7451 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7452 
   7453 # Turn some warnings into errors, so we don't accidentally get successful builds
   7454 # when there are problems that should be fixed.
   7455 
   7456 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7457 
   7458 
   7459 
   7460 
   7461 
   7462 
   7463 
   7464 
   7465 
   7466 
   7467 
   7468 
   7469 
   7470 xorg_testset_save_CFLAGS="$CFLAGS"
   7471 
   7472 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7473 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7474 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7475 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7476 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7477 then :
   7478   printf %s "(cached) " >&6
   7479 else case e in #(
   7480   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7481 /* end confdefs.h.  */
   7482 int i;
   7483 _ACEOF
   7484 if ac_fn_c_try_compile "$LINENO"
   7485 then :
   7486   xorg_cv_cc_flag_unknown_warning_option=yes
   7487 else case e in #(
   7488   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7489 esac
   7490 fi
   7491 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7492 esac
   7493 fi
   7494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7495 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7496 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7497 	CFLAGS="$xorg_testset_save_CFLAGS"
   7498 fi
   7499 
   7500 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7501 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7502 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7503 	fi
   7504 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7505 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7506 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7507 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7508 then :
   7509   printf %s "(cached) " >&6
   7510 else case e in #(
   7511   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7512 /* end confdefs.h.  */
   7513 int i;
   7514 _ACEOF
   7515 if ac_fn_c_try_compile "$LINENO"
   7516 then :
   7517   xorg_cv_cc_flag_unused_command_line_argument=yes
   7518 else case e in #(
   7519   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7520 esac
   7521 fi
   7522 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7523 esac
   7524 fi
   7525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7526 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7527 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7528 	CFLAGS="$xorg_testset_save_CFLAGS"
   7529 fi
   7530 
   7531 found="no"
   7532 
   7533 	if test $found = "no" ; then
   7534 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7535 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7536 		fi
   7537 
   7538 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7539 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7540 		fi
   7541 
   7542 		CFLAGS="$CFLAGS -Werror=implicit"
   7543 
   7544 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7545 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7546 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7547 		if eval test \${$cacheid+y}
   7548 then :
   7549   printf %s "(cached) " >&6
   7550 else case e in #(
   7551   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7552 /* end confdefs.h.  */
   7553 int i;
   7554 int
   7555 main (void)
   7556 {
   7557 
   7558   ;
   7559   return 0;
   7560 }
   7561 _ACEOF
   7562 if ac_fn_c_try_link "$LINENO"
   7563 then :
   7564   eval $cacheid=yes
   7565 else case e in #(
   7566   e) eval $cacheid=no ;;
   7567 esac
   7568 fi
   7569 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7570     conftest$ac_exeext conftest.$ac_ext ;;
   7571 esac
   7572 fi
   7573 
   7574 
   7575 		CFLAGS="$xorg_testset_save_CFLAGS"
   7576 
   7577 		eval supported=\$$cacheid
   7578 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7579 printf "%s\n" "$supported" >&6; }
   7580 		if test "$supported" = "yes" ; then
   7581 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7582 			found="yes"
   7583 		fi
   7584 	fi
   7585 
   7586 	if test $found = "no" ; then
   7587 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7588 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7589 		fi
   7590 
   7591 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7592 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7593 		fi
   7594 
   7595 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7596 
   7597 		{ 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
   7598 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7599 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7600 		if eval test \${$cacheid+y}
   7601 then :
   7602   printf %s "(cached) " >&6
   7603 else case e in #(
   7604   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7605 /* end confdefs.h.  */
   7606 int i;
   7607 int
   7608 main (void)
   7609 {
   7610 
   7611   ;
   7612   return 0;
   7613 }
   7614 _ACEOF
   7615 if ac_fn_c_try_link "$LINENO"
   7616 then :
   7617   eval $cacheid=yes
   7618 else case e in #(
   7619   e) eval $cacheid=no ;;
   7620 esac
   7621 fi
   7622 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7623     conftest$ac_exeext conftest.$ac_ext ;;
   7624 esac
   7625 fi
   7626 
   7627 
   7628 		CFLAGS="$xorg_testset_save_CFLAGS"
   7629 
   7630 		eval supported=\$$cacheid
   7631 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7632 printf "%s\n" "$supported" >&6; }
   7633 		if test "$supported" = "yes" ; then
   7634 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7635 			found="yes"
   7636 		fi
   7637 	fi
   7638 
   7639 
   7640 
   7641 
   7642 
   7643 
   7644 
   7645 
   7646 
   7647 
   7648 
   7649 
   7650 
   7651 
   7652 
   7653 xorg_testset_save_CFLAGS="$CFLAGS"
   7654 
   7655 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7656 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7657 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7658 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7659 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7660 then :
   7661   printf %s "(cached) " >&6
   7662 else case e in #(
   7663   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7664 /* end confdefs.h.  */
   7665 int i;
   7666 _ACEOF
   7667 if ac_fn_c_try_compile "$LINENO"
   7668 then :
   7669   xorg_cv_cc_flag_unknown_warning_option=yes
   7670 else case e in #(
   7671   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7672 esac
   7673 fi
   7674 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7675 esac
   7676 fi
   7677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7678 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7679 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7680 	CFLAGS="$xorg_testset_save_CFLAGS"
   7681 fi
   7682 
   7683 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7684 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7685 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7686 	fi
   7687 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7688 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7689 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7690 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7691 then :
   7692   printf %s "(cached) " >&6
   7693 else case e in #(
   7694   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7695 /* end confdefs.h.  */
   7696 int i;
   7697 _ACEOF
   7698 if ac_fn_c_try_compile "$LINENO"
   7699 then :
   7700   xorg_cv_cc_flag_unused_command_line_argument=yes
   7701 else case e in #(
   7702   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7703 esac
   7704 fi
   7705 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7706 esac
   7707 fi
   7708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7709 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7710 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7711 	CFLAGS="$xorg_testset_save_CFLAGS"
   7712 fi
   7713 
   7714 found="no"
   7715 
   7716 	if test $found = "no" ; then
   7717 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7718 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7719 		fi
   7720 
   7721 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7722 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7723 		fi
   7724 
   7725 		CFLAGS="$CFLAGS -Werror=nonnull"
   7726 
   7727 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7728 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7729 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7730 		if eval test \${$cacheid+y}
   7731 then :
   7732   printf %s "(cached) " >&6
   7733 else case e in #(
   7734   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7735 /* end confdefs.h.  */
   7736 int i;
   7737 int
   7738 main (void)
   7739 {
   7740 
   7741   ;
   7742   return 0;
   7743 }
   7744 _ACEOF
   7745 if ac_fn_c_try_link "$LINENO"
   7746 then :
   7747   eval $cacheid=yes
   7748 else case e in #(
   7749   e) eval $cacheid=no ;;
   7750 esac
   7751 fi
   7752 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7753     conftest$ac_exeext conftest.$ac_ext ;;
   7754 esac
   7755 fi
   7756 
   7757 
   7758 		CFLAGS="$xorg_testset_save_CFLAGS"
   7759 
   7760 		eval supported=\$$cacheid
   7761 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7762 printf "%s\n" "$supported" >&6; }
   7763 		if test "$supported" = "yes" ; then
   7764 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7765 			found="yes"
   7766 		fi
   7767 	fi
   7768 
   7769 
   7770 
   7771 
   7772 
   7773 
   7774 
   7775 
   7776 
   7777 
   7778 
   7779 
   7780 
   7781 
   7782 
   7783 xorg_testset_save_CFLAGS="$CFLAGS"
   7784 
   7785 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7786 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7787 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7788 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7789 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7790 then :
   7791   printf %s "(cached) " >&6
   7792 else case e in #(
   7793   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7794 /* end confdefs.h.  */
   7795 int i;
   7796 _ACEOF
   7797 if ac_fn_c_try_compile "$LINENO"
   7798 then :
   7799   xorg_cv_cc_flag_unknown_warning_option=yes
   7800 else case e in #(
   7801   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7802 esac
   7803 fi
   7804 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7805 esac
   7806 fi
   7807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7808 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7809 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7810 	CFLAGS="$xorg_testset_save_CFLAGS"
   7811 fi
   7812 
   7813 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7814 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7815 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7816 	fi
   7817 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7818 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7819 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7820 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7821 then :
   7822   printf %s "(cached) " >&6
   7823 else case e in #(
   7824   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7825 /* end confdefs.h.  */
   7826 int i;
   7827 _ACEOF
   7828 if ac_fn_c_try_compile "$LINENO"
   7829 then :
   7830   xorg_cv_cc_flag_unused_command_line_argument=yes
   7831 else case e in #(
   7832   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7833 esac
   7834 fi
   7835 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7836 esac
   7837 fi
   7838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7839 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7840 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7841 	CFLAGS="$xorg_testset_save_CFLAGS"
   7842 fi
   7843 
   7844 found="no"
   7845 
   7846 	if test $found = "no" ; then
   7847 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7848 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7849 		fi
   7850 
   7851 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7852 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7853 		fi
   7854 
   7855 		CFLAGS="$CFLAGS -Werror=init-self"
   7856 
   7857 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7858 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7859 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7860 		if eval test \${$cacheid+y}
   7861 then :
   7862   printf %s "(cached) " >&6
   7863 else case e in #(
   7864   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7865 /* end confdefs.h.  */
   7866 int i;
   7867 int
   7868 main (void)
   7869 {
   7870 
   7871   ;
   7872   return 0;
   7873 }
   7874 _ACEOF
   7875 if ac_fn_c_try_link "$LINENO"
   7876 then :
   7877   eval $cacheid=yes
   7878 else case e in #(
   7879   e) eval $cacheid=no ;;
   7880 esac
   7881 fi
   7882 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7883     conftest$ac_exeext conftest.$ac_ext ;;
   7884 esac
   7885 fi
   7886 
   7887 
   7888 		CFLAGS="$xorg_testset_save_CFLAGS"
   7889 
   7890 		eval supported=\$$cacheid
   7891 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7892 printf "%s\n" "$supported" >&6; }
   7893 		if test "$supported" = "yes" ; then
   7894 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7895 			found="yes"
   7896 		fi
   7897 	fi
   7898 
   7899 
   7900 
   7901 
   7902 
   7903 
   7904 
   7905 
   7906 
   7907 
   7908 
   7909 
   7910 
   7911 
   7912 
   7913 xorg_testset_save_CFLAGS="$CFLAGS"
   7914 
   7915 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7916 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7917 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7918 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7919 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7920 then :
   7921   printf %s "(cached) " >&6
   7922 else case e in #(
   7923   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7924 /* end confdefs.h.  */
   7925 int i;
   7926 _ACEOF
   7927 if ac_fn_c_try_compile "$LINENO"
   7928 then :
   7929   xorg_cv_cc_flag_unknown_warning_option=yes
   7930 else case e in #(
   7931   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7932 esac
   7933 fi
   7934 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7935 esac
   7936 fi
   7937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7938 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7939 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7940 	CFLAGS="$xorg_testset_save_CFLAGS"
   7941 fi
   7942 
   7943 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7944 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7945 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7946 	fi
   7947 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7948 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7949 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7950 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7951 then :
   7952   printf %s "(cached) " >&6
   7953 else case e in #(
   7954   e) 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_unused_command_line_argument=yes
   7961 else case e in #(
   7962   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7963 esac
   7964 fi
   7965 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7966 esac
   7967 fi
   7968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7969 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7970 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7971 	CFLAGS="$xorg_testset_save_CFLAGS"
   7972 fi
   7973 
   7974 found="no"
   7975 
   7976 	if test $found = "no" ; then
   7977 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7978 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7979 		fi
   7980 
   7981 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7982 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7983 		fi
   7984 
   7985 		CFLAGS="$CFLAGS -Werror=main"
   7986 
   7987 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7988 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7989 		cacheid=xorg_cv_cc_flag__Werror_main
   7990 		if eval test \${$cacheid+y}
   7991 then :
   7992   printf %s "(cached) " >&6
   7993 else case e in #(
   7994   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7995 /* end confdefs.h.  */
   7996 int i;
   7997 int
   7998 main (void)
   7999 {
   8000 
   8001   ;
   8002   return 0;
   8003 }
   8004 _ACEOF
   8005 if ac_fn_c_try_link "$LINENO"
   8006 then :
   8007   eval $cacheid=yes
   8008 else case e in #(
   8009   e) eval $cacheid=no ;;
   8010 esac
   8011 fi
   8012 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8013     conftest$ac_exeext conftest.$ac_ext ;;
   8014 esac
   8015 fi
   8016 
   8017 
   8018 		CFLAGS="$xorg_testset_save_CFLAGS"
   8019 
   8020 		eval supported=\$$cacheid
   8021 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8022 printf "%s\n" "$supported" >&6; }
   8023 		if test "$supported" = "yes" ; then
   8024 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   8025 			found="yes"
   8026 		fi
   8027 	fi
   8028 
   8029 
   8030 
   8031 
   8032 
   8033 
   8034 
   8035 
   8036 
   8037 
   8038 
   8039 
   8040 
   8041 
   8042 
   8043 xorg_testset_save_CFLAGS="$CFLAGS"
   8044 
   8045 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8046 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8047 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8048 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8049 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8050 then :
   8051   printf %s "(cached) " >&6
   8052 else case e in #(
   8053   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8054 /* end confdefs.h.  */
   8055 int i;
   8056 _ACEOF
   8057 if ac_fn_c_try_compile "$LINENO"
   8058 then :
   8059   xorg_cv_cc_flag_unknown_warning_option=yes
   8060 else case e in #(
   8061   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8062 esac
   8063 fi
   8064 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8065 esac
   8066 fi
   8067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8068 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8069 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8070 	CFLAGS="$xorg_testset_save_CFLAGS"
   8071 fi
   8072 
   8073 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8074 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8075 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8076 	fi
   8077 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8078 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8079 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8080 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8081 then :
   8082   printf %s "(cached) " >&6
   8083 else case e in #(
   8084   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8085 /* end confdefs.h.  */
   8086 int i;
   8087 _ACEOF
   8088 if ac_fn_c_try_compile "$LINENO"
   8089 then :
   8090   xorg_cv_cc_flag_unused_command_line_argument=yes
   8091 else case e in #(
   8092   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8093 esac
   8094 fi
   8095 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8096 esac
   8097 fi
   8098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8099 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8100 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8101 	CFLAGS="$xorg_testset_save_CFLAGS"
   8102 fi
   8103 
   8104 found="no"
   8105 
   8106 	if test $found = "no" ; then
   8107 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8108 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8109 		fi
   8110 
   8111 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8112 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8113 		fi
   8114 
   8115 		CFLAGS="$CFLAGS -Werror=missing-braces"
   8116 
   8117 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   8118 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   8119 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   8120 		if eval test \${$cacheid+y}
   8121 then :
   8122   printf %s "(cached) " >&6
   8123 else case e in #(
   8124   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8125 /* end confdefs.h.  */
   8126 int i;
   8127 int
   8128 main (void)
   8129 {
   8130 
   8131   ;
   8132   return 0;
   8133 }
   8134 _ACEOF
   8135 if ac_fn_c_try_link "$LINENO"
   8136 then :
   8137   eval $cacheid=yes
   8138 else case e in #(
   8139   e) eval $cacheid=no ;;
   8140 esac
   8141 fi
   8142 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8143     conftest$ac_exeext conftest.$ac_ext ;;
   8144 esac
   8145 fi
   8146 
   8147 
   8148 		CFLAGS="$xorg_testset_save_CFLAGS"
   8149 
   8150 		eval supported=\$$cacheid
   8151 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8152 printf "%s\n" "$supported" >&6; }
   8153 		if test "$supported" = "yes" ; then
   8154 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   8155 			found="yes"
   8156 		fi
   8157 	fi
   8158 
   8159 
   8160 
   8161 
   8162 
   8163 
   8164 
   8165 
   8166 
   8167 
   8168 
   8169 
   8170 
   8171 
   8172 
   8173 xorg_testset_save_CFLAGS="$CFLAGS"
   8174 
   8175 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8176 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8177 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8178 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8179 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8180 then :
   8181   printf %s "(cached) " >&6
   8182 else case e in #(
   8183   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8184 /* end confdefs.h.  */
   8185 int i;
   8186 _ACEOF
   8187 if ac_fn_c_try_compile "$LINENO"
   8188 then :
   8189   xorg_cv_cc_flag_unknown_warning_option=yes
   8190 else case e in #(
   8191   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8192 esac
   8193 fi
   8194 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8195 esac
   8196 fi
   8197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8198 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8199 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8200 	CFLAGS="$xorg_testset_save_CFLAGS"
   8201 fi
   8202 
   8203 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8204 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8205 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8206 	fi
   8207 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8208 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8209 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8210 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8211 then :
   8212   printf %s "(cached) " >&6
   8213 else case e in #(
   8214   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8215 /* end confdefs.h.  */
   8216 int i;
   8217 _ACEOF
   8218 if ac_fn_c_try_compile "$LINENO"
   8219 then :
   8220   xorg_cv_cc_flag_unused_command_line_argument=yes
   8221 else case e in #(
   8222   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8223 esac
   8224 fi
   8225 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8226 esac
   8227 fi
   8228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8229 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8230 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8231 	CFLAGS="$xorg_testset_save_CFLAGS"
   8232 fi
   8233 
   8234 found="no"
   8235 
   8236 	if test $found = "no" ; then
   8237 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8238 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8239 		fi
   8240 
   8241 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8242 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8243 		fi
   8244 
   8245 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8246 
   8247 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8248 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   8249 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8250 		if eval test \${$cacheid+y}
   8251 then :
   8252   printf %s "(cached) " >&6
   8253 else case e in #(
   8254   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8255 /* end confdefs.h.  */
   8256 int i;
   8257 int
   8258 main (void)
   8259 {
   8260 
   8261   ;
   8262   return 0;
   8263 }
   8264 _ACEOF
   8265 if ac_fn_c_try_link "$LINENO"
   8266 then :
   8267   eval $cacheid=yes
   8268 else case e in #(
   8269   e) eval $cacheid=no ;;
   8270 esac
   8271 fi
   8272 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8273     conftest$ac_exeext conftest.$ac_ext ;;
   8274 esac
   8275 fi
   8276 
   8277 
   8278 		CFLAGS="$xorg_testset_save_CFLAGS"
   8279 
   8280 		eval supported=\$$cacheid
   8281 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8282 printf "%s\n" "$supported" >&6; }
   8283 		if test "$supported" = "yes" ; then
   8284 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8285 			found="yes"
   8286 		fi
   8287 	fi
   8288 
   8289 
   8290 
   8291 
   8292 
   8293 
   8294 
   8295 
   8296 
   8297 
   8298 
   8299 
   8300 
   8301 
   8302 
   8303 xorg_testset_save_CFLAGS="$CFLAGS"
   8304 
   8305 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8306 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8307 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8308 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8309 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8310 then :
   8311   printf %s "(cached) " >&6
   8312 else case e in #(
   8313   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8314 /* end confdefs.h.  */
   8315 int i;
   8316 _ACEOF
   8317 if ac_fn_c_try_compile "$LINENO"
   8318 then :
   8319   xorg_cv_cc_flag_unknown_warning_option=yes
   8320 else case e in #(
   8321   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8322 esac
   8323 fi
   8324 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8325 esac
   8326 fi
   8327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8328 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8329 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8330 	CFLAGS="$xorg_testset_save_CFLAGS"
   8331 fi
   8332 
   8333 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8334 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8335 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8336 	fi
   8337 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8338 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8339 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8340 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8341 then :
   8342   printf %s "(cached) " >&6
   8343 else case e in #(
   8344   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8345 /* end confdefs.h.  */
   8346 int i;
   8347 _ACEOF
   8348 if ac_fn_c_try_compile "$LINENO"
   8349 then :
   8350   xorg_cv_cc_flag_unused_command_line_argument=yes
   8351 else case e in #(
   8352   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8353 esac
   8354 fi
   8355 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8356 esac
   8357 fi
   8358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8359 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8360 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8361 	CFLAGS="$xorg_testset_save_CFLAGS"
   8362 fi
   8363 
   8364 found="no"
   8365 
   8366 	if test $found = "no" ; then
   8367 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8368 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8369 		fi
   8370 
   8371 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8372 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8373 		fi
   8374 
   8375 		CFLAGS="$CFLAGS -Werror=return-type"
   8376 
   8377 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8378 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8379 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8380 		if eval test \${$cacheid+y}
   8381 then :
   8382   printf %s "(cached) " >&6
   8383 else case e in #(
   8384   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8385 /* end confdefs.h.  */
   8386 int i;
   8387 int
   8388 main (void)
   8389 {
   8390 
   8391   ;
   8392   return 0;
   8393 }
   8394 _ACEOF
   8395 if ac_fn_c_try_link "$LINENO"
   8396 then :
   8397   eval $cacheid=yes
   8398 else case e in #(
   8399   e) eval $cacheid=no ;;
   8400 esac
   8401 fi
   8402 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8403     conftest$ac_exeext conftest.$ac_ext ;;
   8404 esac
   8405 fi
   8406 
   8407 
   8408 		CFLAGS="$xorg_testset_save_CFLAGS"
   8409 
   8410 		eval supported=\$$cacheid
   8411 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8412 printf "%s\n" "$supported" >&6; }
   8413 		if test "$supported" = "yes" ; then
   8414 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8415 			found="yes"
   8416 		fi
   8417 	fi
   8418 
   8419 	if test $found = "no" ; then
   8420 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8421 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8422 		fi
   8423 
   8424 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8425 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8426 		fi
   8427 
   8428 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8429 
   8430 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8431 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8432 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8433 		if eval test \${$cacheid+y}
   8434 then :
   8435   printf %s "(cached) " >&6
   8436 else case e in #(
   8437   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8438 /* end confdefs.h.  */
   8439 int i;
   8440 int
   8441 main (void)
   8442 {
   8443 
   8444   ;
   8445   return 0;
   8446 }
   8447 _ACEOF
   8448 if ac_fn_c_try_link "$LINENO"
   8449 then :
   8450   eval $cacheid=yes
   8451 else case e in #(
   8452   e) eval $cacheid=no ;;
   8453 esac
   8454 fi
   8455 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8456     conftest$ac_exeext conftest.$ac_ext ;;
   8457 esac
   8458 fi
   8459 
   8460 
   8461 		CFLAGS="$xorg_testset_save_CFLAGS"
   8462 
   8463 		eval supported=\$$cacheid
   8464 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8465 printf "%s\n" "$supported" >&6; }
   8466 		if test "$supported" = "yes" ; then
   8467 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8468 			found="yes"
   8469 		fi
   8470 	fi
   8471 
   8472 
   8473 
   8474 
   8475 
   8476 
   8477 
   8478 
   8479 
   8480 
   8481 
   8482 
   8483 
   8484 
   8485 
   8486 xorg_testset_save_CFLAGS="$CFLAGS"
   8487 
   8488 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8489 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8490 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8491 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8492 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8493 then :
   8494   printf %s "(cached) " >&6
   8495 else case e in #(
   8496   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8497 /* end confdefs.h.  */
   8498 int i;
   8499 _ACEOF
   8500 if ac_fn_c_try_compile "$LINENO"
   8501 then :
   8502   xorg_cv_cc_flag_unknown_warning_option=yes
   8503 else case e in #(
   8504   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8505 esac
   8506 fi
   8507 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8508 esac
   8509 fi
   8510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8511 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8512 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8513 	CFLAGS="$xorg_testset_save_CFLAGS"
   8514 fi
   8515 
   8516 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8517 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8518 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8519 	fi
   8520 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8521 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8522 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8523 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8524 then :
   8525   printf %s "(cached) " >&6
   8526 else case e in #(
   8527   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8528 /* end confdefs.h.  */
   8529 int i;
   8530 _ACEOF
   8531 if ac_fn_c_try_compile "$LINENO"
   8532 then :
   8533   xorg_cv_cc_flag_unused_command_line_argument=yes
   8534 else case e in #(
   8535   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8536 esac
   8537 fi
   8538 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8539 esac
   8540 fi
   8541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8542 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8543 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8544 	CFLAGS="$xorg_testset_save_CFLAGS"
   8545 fi
   8546 
   8547 found="no"
   8548 
   8549 	if test $found = "no" ; then
   8550 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8551 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8552 		fi
   8553 
   8554 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8555 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8556 		fi
   8557 
   8558 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8559 
   8560 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8561 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8562 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8563 		if eval test \${$cacheid+y}
   8564 then :
   8565   printf %s "(cached) " >&6
   8566 else case e in #(
   8567   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8568 /* end confdefs.h.  */
   8569 int i;
   8570 int
   8571 main (void)
   8572 {
   8573 
   8574   ;
   8575   return 0;
   8576 }
   8577 _ACEOF
   8578 if ac_fn_c_try_link "$LINENO"
   8579 then :
   8580   eval $cacheid=yes
   8581 else case e in #(
   8582   e) eval $cacheid=no ;;
   8583 esac
   8584 fi
   8585 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8586     conftest$ac_exeext conftest.$ac_ext ;;
   8587 esac
   8588 fi
   8589 
   8590 
   8591 		CFLAGS="$xorg_testset_save_CFLAGS"
   8592 
   8593 		eval supported=\$$cacheid
   8594 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8595 printf "%s\n" "$supported" >&6; }
   8596 		if test "$supported" = "yes" ; then
   8597 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8598 			found="yes"
   8599 		fi
   8600 	fi
   8601 
   8602 
   8603 
   8604 
   8605 
   8606 
   8607 
   8608 
   8609 
   8610 
   8611 
   8612 
   8613 
   8614 
   8615 
   8616 xorg_testset_save_CFLAGS="$CFLAGS"
   8617 
   8618 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8619 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8620 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8621 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8622 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8623 then :
   8624   printf %s "(cached) " >&6
   8625 else case e in #(
   8626   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8627 /* end confdefs.h.  */
   8628 int i;
   8629 _ACEOF
   8630 if ac_fn_c_try_compile "$LINENO"
   8631 then :
   8632   xorg_cv_cc_flag_unknown_warning_option=yes
   8633 else case e in #(
   8634   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8635 esac
   8636 fi
   8637 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8638 esac
   8639 fi
   8640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8641 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8642 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8643 	CFLAGS="$xorg_testset_save_CFLAGS"
   8644 fi
   8645 
   8646 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8647 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8648 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8649 	fi
   8650 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8651 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8652 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8653 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8654 then :
   8655   printf %s "(cached) " >&6
   8656 else case e in #(
   8657   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8658 /* end confdefs.h.  */
   8659 int i;
   8660 _ACEOF
   8661 if ac_fn_c_try_compile "$LINENO"
   8662 then :
   8663   xorg_cv_cc_flag_unused_command_line_argument=yes
   8664 else case e in #(
   8665   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8666 esac
   8667 fi
   8668 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8669 esac
   8670 fi
   8671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8672 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8673 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8674 	CFLAGS="$xorg_testset_save_CFLAGS"
   8675 fi
   8676 
   8677 found="no"
   8678 
   8679 	if test $found = "no" ; then
   8680 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8681 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8682 		fi
   8683 
   8684 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8685 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8686 		fi
   8687 
   8688 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8689 
   8690 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8691 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8692 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8693 		if eval test \${$cacheid+y}
   8694 then :
   8695   printf %s "(cached) " >&6
   8696 else case e in #(
   8697   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8698 /* end confdefs.h.  */
   8699 int i;
   8700 int
   8701 main (void)
   8702 {
   8703 
   8704   ;
   8705   return 0;
   8706 }
   8707 _ACEOF
   8708 if ac_fn_c_try_link "$LINENO"
   8709 then :
   8710   eval $cacheid=yes
   8711 else case e in #(
   8712   e) eval $cacheid=no ;;
   8713 esac
   8714 fi
   8715 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8716     conftest$ac_exeext conftest.$ac_ext ;;
   8717 esac
   8718 fi
   8719 
   8720 
   8721 		CFLAGS="$xorg_testset_save_CFLAGS"
   8722 
   8723 		eval supported=\$$cacheid
   8724 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8725 printf "%s\n" "$supported" >&6; }
   8726 		if test "$supported" = "yes" ; then
   8727 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8728 			found="yes"
   8729 		fi
   8730 	fi
   8731 
   8732 
   8733 
   8734 
   8735 
   8736 
   8737 
   8738 
   8739 
   8740 
   8741 
   8742 
   8743 
   8744 
   8745 
   8746 xorg_testset_save_CFLAGS="$CFLAGS"
   8747 
   8748 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8749 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8750 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8751 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8752 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8753 then :
   8754   printf %s "(cached) " >&6
   8755 else case e in #(
   8756   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8757 /* end confdefs.h.  */
   8758 int i;
   8759 _ACEOF
   8760 if ac_fn_c_try_compile "$LINENO"
   8761 then :
   8762   xorg_cv_cc_flag_unknown_warning_option=yes
   8763 else case e in #(
   8764   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8765 esac
   8766 fi
   8767 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8768 esac
   8769 fi
   8770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8771 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8772 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8773 	CFLAGS="$xorg_testset_save_CFLAGS"
   8774 fi
   8775 
   8776 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8777 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8778 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8779 	fi
   8780 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8781 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8782 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8783 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8784 then :
   8785   printf %s "(cached) " >&6
   8786 else case e in #(
   8787   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8788 /* end confdefs.h.  */
   8789 int i;
   8790 _ACEOF
   8791 if ac_fn_c_try_compile "$LINENO"
   8792 then :
   8793   xorg_cv_cc_flag_unused_command_line_argument=yes
   8794 else case e in #(
   8795   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8796 esac
   8797 fi
   8798 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8799 esac
   8800 fi
   8801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8802 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8803 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8804 	CFLAGS="$xorg_testset_save_CFLAGS"
   8805 fi
   8806 
   8807 found="no"
   8808 
   8809 	if test $found = "no" ; then
   8810 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8811 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8812 		fi
   8813 
   8814 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8815 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8816 		fi
   8817 
   8818 		CFLAGS="$CFLAGS -Werror=write-strings"
   8819 
   8820 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8821 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8822 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8823 		if eval test \${$cacheid+y}
   8824 then :
   8825   printf %s "(cached) " >&6
   8826 else case e in #(
   8827   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8828 /* end confdefs.h.  */
   8829 int i;
   8830 int
   8831 main (void)
   8832 {
   8833 
   8834   ;
   8835   return 0;
   8836 }
   8837 _ACEOF
   8838 if ac_fn_c_try_link "$LINENO"
   8839 then :
   8840   eval $cacheid=yes
   8841 else case e in #(
   8842   e) eval $cacheid=no ;;
   8843 esac
   8844 fi
   8845 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8846     conftest$ac_exeext conftest.$ac_ext ;;
   8847 esac
   8848 fi
   8849 
   8850 
   8851 		CFLAGS="$xorg_testset_save_CFLAGS"
   8852 
   8853 		eval supported=\$$cacheid
   8854 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8855 printf "%s\n" "$supported" >&6; }
   8856 		if test "$supported" = "yes" ; then
   8857 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8858 			found="yes"
   8859 		fi
   8860 	fi
   8861 
   8862 
   8863 
   8864 
   8865 
   8866 
   8867 
   8868 
   8869 
   8870 
   8871 
   8872 
   8873 
   8874 
   8875 
   8876 xorg_testset_save_CFLAGS="$CFLAGS"
   8877 
   8878 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8879 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8880 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8881 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8882 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8883 then :
   8884   printf %s "(cached) " >&6
   8885 else case e in #(
   8886   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8887 /* end confdefs.h.  */
   8888 int i;
   8889 _ACEOF
   8890 if ac_fn_c_try_compile "$LINENO"
   8891 then :
   8892   xorg_cv_cc_flag_unknown_warning_option=yes
   8893 else case e in #(
   8894   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8895 esac
   8896 fi
   8897 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8898 esac
   8899 fi
   8900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8901 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8902 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8903 	CFLAGS="$xorg_testset_save_CFLAGS"
   8904 fi
   8905 
   8906 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8907 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8908 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8909 	fi
   8910 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8911 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8912 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8913 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8914 then :
   8915   printf %s "(cached) " >&6
   8916 else case e in #(
   8917   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8918 /* end confdefs.h.  */
   8919 int i;
   8920 _ACEOF
   8921 if ac_fn_c_try_compile "$LINENO"
   8922 then :
   8923   xorg_cv_cc_flag_unused_command_line_argument=yes
   8924 else case e in #(
   8925   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8926 esac
   8927 fi
   8928 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8929 esac
   8930 fi
   8931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8932 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8933 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8934 	CFLAGS="$xorg_testset_save_CFLAGS"
   8935 fi
   8936 
   8937 found="no"
   8938 
   8939 	if test $found = "no" ; then
   8940 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8941 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8942 		fi
   8943 
   8944 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8945 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8946 		fi
   8947 
   8948 		CFLAGS="$CFLAGS -Werror=address"
   8949 
   8950 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8951 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8952 		cacheid=xorg_cv_cc_flag__Werror_address
   8953 		if eval test \${$cacheid+y}
   8954 then :
   8955   printf %s "(cached) " >&6
   8956 else case e in #(
   8957   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8958 /* end confdefs.h.  */
   8959 int i;
   8960 int
   8961 main (void)
   8962 {
   8963 
   8964   ;
   8965   return 0;
   8966 }
   8967 _ACEOF
   8968 if ac_fn_c_try_link "$LINENO"
   8969 then :
   8970   eval $cacheid=yes
   8971 else case e in #(
   8972   e) eval $cacheid=no ;;
   8973 esac
   8974 fi
   8975 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8976     conftest$ac_exeext conftest.$ac_ext ;;
   8977 esac
   8978 fi
   8979 
   8980 
   8981 		CFLAGS="$xorg_testset_save_CFLAGS"
   8982 
   8983 		eval supported=\$$cacheid
   8984 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8985 printf "%s\n" "$supported" >&6; }
   8986 		if test "$supported" = "yes" ; then
   8987 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8988 			found="yes"
   8989 		fi
   8990 	fi
   8991 
   8992 
   8993 
   8994 
   8995 
   8996 
   8997 
   8998 
   8999 
   9000 
   9001 
   9002 
   9003 
   9004 
   9005 
   9006 xorg_testset_save_CFLAGS="$CFLAGS"
   9007 
   9008 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9009 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9010 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9011 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9012 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9013 then :
   9014   printf %s "(cached) " >&6
   9015 else case e in #(
   9016   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9017 /* end confdefs.h.  */
   9018 int i;
   9019 _ACEOF
   9020 if ac_fn_c_try_compile "$LINENO"
   9021 then :
   9022   xorg_cv_cc_flag_unknown_warning_option=yes
   9023 else case e in #(
   9024   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9025 esac
   9026 fi
   9027 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9028 esac
   9029 fi
   9030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9031 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9032 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9033 	CFLAGS="$xorg_testset_save_CFLAGS"
   9034 fi
   9035 
   9036 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9037 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9038 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9039 	fi
   9040 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9041 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9042 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9043 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9044 then :
   9045   printf %s "(cached) " >&6
   9046 else case e in #(
   9047   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9048 /* end confdefs.h.  */
   9049 int i;
   9050 _ACEOF
   9051 if ac_fn_c_try_compile "$LINENO"
   9052 then :
   9053   xorg_cv_cc_flag_unused_command_line_argument=yes
   9054 else case e in #(
   9055   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9056 esac
   9057 fi
   9058 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9059 esac
   9060 fi
   9061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9062 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9063 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9064 	CFLAGS="$xorg_testset_save_CFLAGS"
   9065 fi
   9066 
   9067 found="no"
   9068 
   9069 	if test $found = "no" ; then
   9070 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9071 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9072 		fi
   9073 
   9074 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9075 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9076 		fi
   9077 
   9078 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   9079 
   9080 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   9081 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   9082 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   9083 		if eval test \${$cacheid+y}
   9084 then :
   9085   printf %s "(cached) " >&6
   9086 else case e in #(
   9087   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9088 /* end confdefs.h.  */
   9089 int i;
   9090 int
   9091 main (void)
   9092 {
   9093 
   9094   ;
   9095   return 0;
   9096 }
   9097 _ACEOF
   9098 if ac_fn_c_try_link "$LINENO"
   9099 then :
   9100   eval $cacheid=yes
   9101 else case e in #(
   9102   e) eval $cacheid=no ;;
   9103 esac
   9104 fi
   9105 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9106     conftest$ac_exeext conftest.$ac_ext ;;
   9107 esac
   9108 fi
   9109 
   9110 
   9111 		CFLAGS="$xorg_testset_save_CFLAGS"
   9112 
   9113 		eval supported=\$$cacheid
   9114 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9115 printf "%s\n" "$supported" >&6; }
   9116 		if test "$supported" = "yes" ; then
   9117 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   9118 			found="yes"
   9119 		fi
   9120 	fi
   9121 
   9122 	if test $found = "no" ; then
   9123 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9124 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9125 		fi
   9126 
   9127 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9128 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9129 		fi
   9130 
   9131 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9132 
   9133 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   9134 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   9135 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   9136 		if eval test \${$cacheid+y}
   9137 then :
   9138   printf %s "(cached) " >&6
   9139 else case e in #(
   9140   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9141 /* end confdefs.h.  */
   9142 int i;
   9143 int
   9144 main (void)
   9145 {
   9146 
   9147   ;
   9148   return 0;
   9149 }
   9150 _ACEOF
   9151 if ac_fn_c_try_link "$LINENO"
   9152 then :
   9153   eval $cacheid=yes
   9154 else case e in #(
   9155   e) eval $cacheid=no ;;
   9156 esac
   9157 fi
   9158 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9159     conftest$ac_exeext conftest.$ac_ext ;;
   9160 esac
   9161 fi
   9162 
   9163 
   9164 		CFLAGS="$xorg_testset_save_CFLAGS"
   9165 
   9166 		eval supported=\$$cacheid
   9167 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9168 printf "%s\n" "$supported" >&6; }
   9169 		if test "$supported" = "yes" ; then
   9170 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9171 			found="yes"
   9172 		fi
   9173 	fi
   9174 
   9175 
   9176 
   9177 
   9178 
   9179 
   9180 
   9181 
   9182 
   9183 
   9184 
   9185 
   9186 
   9187 
   9188 
   9189 xorg_testset_save_CFLAGS="$CFLAGS"
   9190 
   9191 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9192 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9193 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9194 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9195 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9196 then :
   9197   printf %s "(cached) " >&6
   9198 else case e in #(
   9199   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9200 /* end confdefs.h.  */
   9201 int i;
   9202 _ACEOF
   9203 if ac_fn_c_try_compile "$LINENO"
   9204 then :
   9205   xorg_cv_cc_flag_unknown_warning_option=yes
   9206 else case e in #(
   9207   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9208 esac
   9209 fi
   9210 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9211 esac
   9212 fi
   9213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9214 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9215 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9216 	CFLAGS="$xorg_testset_save_CFLAGS"
   9217 fi
   9218 
   9219 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9220 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9221 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9222 	fi
   9223 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9224 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9225 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9226 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9227 then :
   9228   printf %s "(cached) " >&6
   9229 else case e in #(
   9230   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9231 /* end confdefs.h.  */
   9232 int i;
   9233 _ACEOF
   9234 if ac_fn_c_try_compile "$LINENO"
   9235 then :
   9236   xorg_cv_cc_flag_unused_command_line_argument=yes
   9237 else case e in #(
   9238   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9239 esac
   9240 fi
   9241 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9242 esac
   9243 fi
   9244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9245 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9246 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9247 	CFLAGS="$xorg_testset_save_CFLAGS"
   9248 fi
   9249 
   9250 found="no"
   9251 
   9252 	if test $found = "no" ; then
   9253 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9254 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9255 		fi
   9256 
   9257 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9258 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9259 		fi
   9260 
   9261 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   9262 
   9263 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   9264 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   9265 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   9266 		if eval test \${$cacheid+y}
   9267 then :
   9268   printf %s "(cached) " >&6
   9269 else case e in #(
   9270   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9271 /* end confdefs.h.  */
   9272 int i;
   9273 int
   9274 main (void)
   9275 {
   9276 
   9277   ;
   9278   return 0;
   9279 }
   9280 _ACEOF
   9281 if ac_fn_c_try_link "$LINENO"
   9282 then :
   9283   eval $cacheid=yes
   9284 else case e in #(
   9285   e) eval $cacheid=no ;;
   9286 esac
   9287 fi
   9288 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9289     conftest$ac_exeext conftest.$ac_ext ;;
   9290 esac
   9291 fi
   9292 
   9293 
   9294 		CFLAGS="$xorg_testset_save_CFLAGS"
   9295 
   9296 		eval supported=\$$cacheid
   9297 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9298 printf "%s\n" "$supported" >&6; }
   9299 		if test "$supported" = "yes" ; then
   9300 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   9301 			found="yes"
   9302 		fi
   9303 	fi
   9304 
   9305  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   9306 else
   9307 { 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
   9308 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;}
   9309 
   9310 
   9311 
   9312 
   9313 
   9314 
   9315 
   9316 
   9317 
   9318 
   9319 
   9320 
   9321 
   9322 xorg_testset_save_CFLAGS="$CFLAGS"
   9323 
   9324 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9325 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9326 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9327 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9328 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9329 then :
   9330   printf %s "(cached) " >&6
   9331 else case e in #(
   9332   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9333 /* end confdefs.h.  */
   9334 int i;
   9335 _ACEOF
   9336 if ac_fn_c_try_compile "$LINENO"
   9337 then :
   9338   xorg_cv_cc_flag_unknown_warning_option=yes
   9339 else case e in #(
   9340   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9341 esac
   9342 fi
   9343 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9344 esac
   9345 fi
   9346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9347 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9348 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9349 	CFLAGS="$xorg_testset_save_CFLAGS"
   9350 fi
   9351 
   9352 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9353 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9354 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9355 	fi
   9356 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9357 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9358 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9359 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9360 then :
   9361   printf %s "(cached) " >&6
   9362 else case e in #(
   9363   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9364 /* end confdefs.h.  */
   9365 int i;
   9366 _ACEOF
   9367 if ac_fn_c_try_compile "$LINENO"
   9368 then :
   9369   xorg_cv_cc_flag_unused_command_line_argument=yes
   9370 else case e in #(
   9371   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9372 esac
   9373 fi
   9374 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9375 esac
   9376 fi
   9377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9378 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9379 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9380 	CFLAGS="$xorg_testset_save_CFLAGS"
   9381 fi
   9382 
   9383 found="no"
   9384 
   9385 	if test $found = "no" ; then
   9386 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9387 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9388 		fi
   9389 
   9390 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9391 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9392 		fi
   9393 
   9394 		CFLAGS="$CFLAGS -Wimplicit"
   9395 
   9396 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9397 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9398 		cacheid=xorg_cv_cc_flag__Wimplicit
   9399 		if eval test \${$cacheid+y}
   9400 then :
   9401   printf %s "(cached) " >&6
   9402 else case e in #(
   9403   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9404 /* end confdefs.h.  */
   9405 int i;
   9406 int
   9407 main (void)
   9408 {
   9409 
   9410   ;
   9411   return 0;
   9412 }
   9413 _ACEOF
   9414 if ac_fn_c_try_link "$LINENO"
   9415 then :
   9416   eval $cacheid=yes
   9417 else case e in #(
   9418   e) eval $cacheid=no ;;
   9419 esac
   9420 fi
   9421 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9422     conftest$ac_exeext conftest.$ac_ext ;;
   9423 esac
   9424 fi
   9425 
   9426 
   9427 		CFLAGS="$xorg_testset_save_CFLAGS"
   9428 
   9429 		eval supported=\$$cacheid
   9430 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9431 printf "%s\n" "$supported" >&6; }
   9432 		if test "$supported" = "yes" ; then
   9433 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9434 			found="yes"
   9435 		fi
   9436 	fi
   9437 
   9438 
   9439 
   9440 
   9441 
   9442 
   9443 
   9444 
   9445 
   9446 
   9447 
   9448 
   9449 
   9450 
   9451 
   9452 xorg_testset_save_CFLAGS="$CFLAGS"
   9453 
   9454 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9455 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9456 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9457 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9458 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9459 then :
   9460   printf %s "(cached) " >&6
   9461 else case e in #(
   9462   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9463 /* end confdefs.h.  */
   9464 int i;
   9465 _ACEOF
   9466 if ac_fn_c_try_compile "$LINENO"
   9467 then :
   9468   xorg_cv_cc_flag_unknown_warning_option=yes
   9469 else case e in #(
   9470   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9471 esac
   9472 fi
   9473 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9474 esac
   9475 fi
   9476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9477 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9478 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9479 	CFLAGS="$xorg_testset_save_CFLAGS"
   9480 fi
   9481 
   9482 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9483 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9484 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9485 	fi
   9486 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9487 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9488 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9489 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9490 then :
   9491   printf %s "(cached) " >&6
   9492 else case e in #(
   9493   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9494 /* end confdefs.h.  */
   9495 int i;
   9496 _ACEOF
   9497 if ac_fn_c_try_compile "$LINENO"
   9498 then :
   9499   xorg_cv_cc_flag_unused_command_line_argument=yes
   9500 else case e in #(
   9501   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9502 esac
   9503 fi
   9504 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9505 esac
   9506 fi
   9507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9508 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9509 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9510 	CFLAGS="$xorg_testset_save_CFLAGS"
   9511 fi
   9512 
   9513 found="no"
   9514 
   9515 	if test $found = "no" ; then
   9516 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9517 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9518 		fi
   9519 
   9520 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9521 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9522 		fi
   9523 
   9524 		CFLAGS="$CFLAGS -Wnonnull"
   9525 
   9526 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9527 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9528 		cacheid=xorg_cv_cc_flag__Wnonnull
   9529 		if eval test \${$cacheid+y}
   9530 then :
   9531   printf %s "(cached) " >&6
   9532 else case e in #(
   9533   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9534 /* end confdefs.h.  */
   9535 int i;
   9536 int
   9537 main (void)
   9538 {
   9539 
   9540   ;
   9541   return 0;
   9542 }
   9543 _ACEOF
   9544 if ac_fn_c_try_link "$LINENO"
   9545 then :
   9546   eval $cacheid=yes
   9547 else case e in #(
   9548   e) eval $cacheid=no ;;
   9549 esac
   9550 fi
   9551 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9552     conftest$ac_exeext conftest.$ac_ext ;;
   9553 esac
   9554 fi
   9555 
   9556 
   9557 		CFLAGS="$xorg_testset_save_CFLAGS"
   9558 
   9559 		eval supported=\$$cacheid
   9560 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9561 printf "%s\n" "$supported" >&6; }
   9562 		if test "$supported" = "yes" ; then
   9563 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9564 			found="yes"
   9565 		fi
   9566 	fi
   9567 
   9568 
   9569 
   9570 
   9571 
   9572 
   9573 
   9574 
   9575 
   9576 
   9577 
   9578 
   9579 
   9580 
   9581 
   9582 xorg_testset_save_CFLAGS="$CFLAGS"
   9583 
   9584 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9585 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9586 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9587 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9588 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9589 then :
   9590   printf %s "(cached) " >&6
   9591 else case e in #(
   9592   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9593 /* end confdefs.h.  */
   9594 int i;
   9595 _ACEOF
   9596 if ac_fn_c_try_compile "$LINENO"
   9597 then :
   9598   xorg_cv_cc_flag_unknown_warning_option=yes
   9599 else case e in #(
   9600   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9601 esac
   9602 fi
   9603 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9604 esac
   9605 fi
   9606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9607 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9608 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9609 	CFLAGS="$xorg_testset_save_CFLAGS"
   9610 fi
   9611 
   9612 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9613 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9614 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9615 	fi
   9616 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9617 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9618 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9619 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9620 then :
   9621   printf %s "(cached) " >&6
   9622 else case e in #(
   9623   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9624 /* end confdefs.h.  */
   9625 int i;
   9626 _ACEOF
   9627 if ac_fn_c_try_compile "$LINENO"
   9628 then :
   9629   xorg_cv_cc_flag_unused_command_line_argument=yes
   9630 else case e in #(
   9631   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9632 esac
   9633 fi
   9634 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9635 esac
   9636 fi
   9637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9638 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9639 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9640 	CFLAGS="$xorg_testset_save_CFLAGS"
   9641 fi
   9642 
   9643 found="no"
   9644 
   9645 	if test $found = "no" ; then
   9646 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9647 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9648 		fi
   9649 
   9650 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9651 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9652 		fi
   9653 
   9654 		CFLAGS="$CFLAGS -Winit-self"
   9655 
   9656 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9657 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9658 		cacheid=xorg_cv_cc_flag__Winit_self
   9659 		if eval test \${$cacheid+y}
   9660 then :
   9661   printf %s "(cached) " >&6
   9662 else case e in #(
   9663   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9664 /* end confdefs.h.  */
   9665 int i;
   9666 int
   9667 main (void)
   9668 {
   9669 
   9670   ;
   9671   return 0;
   9672 }
   9673 _ACEOF
   9674 if ac_fn_c_try_link "$LINENO"
   9675 then :
   9676   eval $cacheid=yes
   9677 else case e in #(
   9678   e) eval $cacheid=no ;;
   9679 esac
   9680 fi
   9681 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9682     conftest$ac_exeext conftest.$ac_ext ;;
   9683 esac
   9684 fi
   9685 
   9686 
   9687 		CFLAGS="$xorg_testset_save_CFLAGS"
   9688 
   9689 		eval supported=\$$cacheid
   9690 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9691 printf "%s\n" "$supported" >&6; }
   9692 		if test "$supported" = "yes" ; then
   9693 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9694 			found="yes"
   9695 		fi
   9696 	fi
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 
   9703 
   9704 
   9705 
   9706 
   9707 
   9708 
   9709 
   9710 
   9711 
   9712 xorg_testset_save_CFLAGS="$CFLAGS"
   9713 
   9714 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9715 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9716 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9717 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9718 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9719 then :
   9720   printf %s "(cached) " >&6
   9721 else case e in #(
   9722   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9723 /* end confdefs.h.  */
   9724 int i;
   9725 _ACEOF
   9726 if ac_fn_c_try_compile "$LINENO"
   9727 then :
   9728   xorg_cv_cc_flag_unknown_warning_option=yes
   9729 else case e in #(
   9730   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9731 esac
   9732 fi
   9733 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9734 esac
   9735 fi
   9736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9737 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9738 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9739 	CFLAGS="$xorg_testset_save_CFLAGS"
   9740 fi
   9741 
   9742 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9743 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9744 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9745 	fi
   9746 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9747 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9748 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9749 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9750 then :
   9751   printf %s "(cached) " >&6
   9752 else case e in #(
   9753   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9754 /* end confdefs.h.  */
   9755 int i;
   9756 _ACEOF
   9757 if ac_fn_c_try_compile "$LINENO"
   9758 then :
   9759   xorg_cv_cc_flag_unused_command_line_argument=yes
   9760 else case e in #(
   9761   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9762 esac
   9763 fi
   9764 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9765 esac
   9766 fi
   9767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9768 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9769 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9770 	CFLAGS="$xorg_testset_save_CFLAGS"
   9771 fi
   9772 
   9773 found="no"
   9774 
   9775 	if test $found = "no" ; then
   9776 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9777 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9778 		fi
   9779 
   9780 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9781 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9782 		fi
   9783 
   9784 		CFLAGS="$CFLAGS -Wmain"
   9785 
   9786 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9787 printf %s "checking if $CC supports -Wmain... " >&6; }
   9788 		cacheid=xorg_cv_cc_flag__Wmain
   9789 		if eval test \${$cacheid+y}
   9790 then :
   9791   printf %s "(cached) " >&6
   9792 else case e in #(
   9793   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9794 /* end confdefs.h.  */
   9795 int i;
   9796 int
   9797 main (void)
   9798 {
   9799 
   9800   ;
   9801   return 0;
   9802 }
   9803 _ACEOF
   9804 if ac_fn_c_try_link "$LINENO"
   9805 then :
   9806   eval $cacheid=yes
   9807 else case e in #(
   9808   e) eval $cacheid=no ;;
   9809 esac
   9810 fi
   9811 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9812     conftest$ac_exeext conftest.$ac_ext ;;
   9813 esac
   9814 fi
   9815 
   9816 
   9817 		CFLAGS="$xorg_testset_save_CFLAGS"
   9818 
   9819 		eval supported=\$$cacheid
   9820 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9821 printf "%s\n" "$supported" >&6; }
   9822 		if test "$supported" = "yes" ; then
   9823 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9824 			found="yes"
   9825 		fi
   9826 	fi
   9827 
   9828 
   9829 
   9830 
   9831 
   9832 
   9833 
   9834 
   9835 
   9836 
   9837 
   9838 
   9839 
   9840 
   9841 
   9842 xorg_testset_save_CFLAGS="$CFLAGS"
   9843 
   9844 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9845 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9846 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9847 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9848 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9849 then :
   9850   printf %s "(cached) " >&6
   9851 else case e in #(
   9852   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9853 /* end confdefs.h.  */
   9854 int i;
   9855 _ACEOF
   9856 if ac_fn_c_try_compile "$LINENO"
   9857 then :
   9858   xorg_cv_cc_flag_unknown_warning_option=yes
   9859 else case e in #(
   9860   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9861 esac
   9862 fi
   9863 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9864 esac
   9865 fi
   9866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9867 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9868 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9869 	CFLAGS="$xorg_testset_save_CFLAGS"
   9870 fi
   9871 
   9872 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9873 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9874 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9875 	fi
   9876 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9877 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9878 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9879 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9880 then :
   9881   printf %s "(cached) " >&6
   9882 else case e in #(
   9883   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9884 /* end confdefs.h.  */
   9885 int i;
   9886 _ACEOF
   9887 if ac_fn_c_try_compile "$LINENO"
   9888 then :
   9889   xorg_cv_cc_flag_unused_command_line_argument=yes
   9890 else case e in #(
   9891   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9892 esac
   9893 fi
   9894 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9895 esac
   9896 fi
   9897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9898 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9899 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9900 	CFLAGS="$xorg_testset_save_CFLAGS"
   9901 fi
   9902 
   9903 found="no"
   9904 
   9905 	if test $found = "no" ; then
   9906 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9907 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9908 		fi
   9909 
   9910 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9911 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9912 		fi
   9913 
   9914 		CFLAGS="$CFLAGS -Wmissing-braces"
   9915 
   9916 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9917 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9918 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9919 		if eval test \${$cacheid+y}
   9920 then :
   9921   printf %s "(cached) " >&6
   9922 else case e in #(
   9923   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9924 /* end confdefs.h.  */
   9925 int i;
   9926 int
   9927 main (void)
   9928 {
   9929 
   9930   ;
   9931   return 0;
   9932 }
   9933 _ACEOF
   9934 if ac_fn_c_try_link "$LINENO"
   9935 then :
   9936   eval $cacheid=yes
   9937 else case e in #(
   9938   e) eval $cacheid=no ;;
   9939 esac
   9940 fi
   9941 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9942     conftest$ac_exeext conftest.$ac_ext ;;
   9943 esac
   9944 fi
   9945 
   9946 
   9947 		CFLAGS="$xorg_testset_save_CFLAGS"
   9948 
   9949 		eval supported=\$$cacheid
   9950 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9951 printf "%s\n" "$supported" >&6; }
   9952 		if test "$supported" = "yes" ; then
   9953 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9954 			found="yes"
   9955 		fi
   9956 	fi
   9957 
   9958 
   9959 
   9960 
   9961 
   9962 
   9963 
   9964 
   9965 
   9966 
   9967 
   9968 
   9969 
   9970 
   9971 
   9972 xorg_testset_save_CFLAGS="$CFLAGS"
   9973 
   9974 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9975 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9976 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9977 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9978 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9979 then :
   9980   printf %s "(cached) " >&6
   9981 else case e in #(
   9982   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9983 /* end confdefs.h.  */
   9984 int i;
   9985 _ACEOF
   9986 if ac_fn_c_try_compile "$LINENO"
   9987 then :
   9988   xorg_cv_cc_flag_unknown_warning_option=yes
   9989 else case e in #(
   9990   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9991 esac
   9992 fi
   9993 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9994 esac
   9995 fi
   9996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9997 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9998 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9999 	CFLAGS="$xorg_testset_save_CFLAGS"
   10000 fi
   10001 
   10002 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10003 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10004 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10005 	fi
   10006 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10007 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10008 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10009 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10010 then :
   10011   printf %s "(cached) " >&6
   10012 else case e in #(
   10013   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10014 /* end confdefs.h.  */
   10015 int i;
   10016 _ACEOF
   10017 if ac_fn_c_try_compile "$LINENO"
   10018 then :
   10019   xorg_cv_cc_flag_unused_command_line_argument=yes
   10020 else case e in #(
   10021   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10022 esac
   10023 fi
   10024 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10025 esac
   10026 fi
   10027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10028 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10029 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10030 	CFLAGS="$xorg_testset_save_CFLAGS"
   10031 fi
   10032 
   10033 found="no"
   10034 
   10035 	if test $found = "no" ; then
   10036 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10037 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10038 		fi
   10039 
   10040 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10041 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10042 		fi
   10043 
   10044 		CFLAGS="$CFLAGS -Wsequence-point"
   10045 
   10046 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   10047 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   10048 		cacheid=xorg_cv_cc_flag__Wsequence_point
   10049 		if eval test \${$cacheid+y}
   10050 then :
   10051   printf %s "(cached) " >&6
   10052 else case e in #(
   10053   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10054 /* end confdefs.h.  */
   10055 int i;
   10056 int
   10057 main (void)
   10058 {
   10059 
   10060   ;
   10061   return 0;
   10062 }
   10063 _ACEOF
   10064 if ac_fn_c_try_link "$LINENO"
   10065 then :
   10066   eval $cacheid=yes
   10067 else case e in #(
   10068   e) eval $cacheid=no ;;
   10069 esac
   10070 fi
   10071 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10072     conftest$ac_exeext conftest.$ac_ext ;;
   10073 esac
   10074 fi
   10075 
   10076 
   10077 		CFLAGS="$xorg_testset_save_CFLAGS"
   10078 
   10079 		eval supported=\$$cacheid
   10080 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10081 printf "%s\n" "$supported" >&6; }
   10082 		if test "$supported" = "yes" ; then
   10083 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   10084 			found="yes"
   10085 		fi
   10086 	fi
   10087 
   10088 
   10089 
   10090 
   10091 
   10092 
   10093 
   10094 
   10095 
   10096 
   10097 
   10098 
   10099 
   10100 
   10101 
   10102 xorg_testset_save_CFLAGS="$CFLAGS"
   10103 
   10104 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10105 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10106 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10107 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10108 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10109 then :
   10110   printf %s "(cached) " >&6
   10111 else case e in #(
   10112   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10113 /* end confdefs.h.  */
   10114 int i;
   10115 _ACEOF
   10116 if ac_fn_c_try_compile "$LINENO"
   10117 then :
   10118   xorg_cv_cc_flag_unknown_warning_option=yes
   10119 else case e in #(
   10120   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10121 esac
   10122 fi
   10123 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10124 esac
   10125 fi
   10126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10127 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10128 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10129 	CFLAGS="$xorg_testset_save_CFLAGS"
   10130 fi
   10131 
   10132 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10133 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10134 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10135 	fi
   10136 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10137 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10138 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10139 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10140 then :
   10141   printf %s "(cached) " >&6
   10142 else case e in #(
   10143   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10144 /* end confdefs.h.  */
   10145 int i;
   10146 _ACEOF
   10147 if ac_fn_c_try_compile "$LINENO"
   10148 then :
   10149   xorg_cv_cc_flag_unused_command_line_argument=yes
   10150 else case e in #(
   10151   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10152 esac
   10153 fi
   10154 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10155 esac
   10156 fi
   10157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10158 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10159 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10160 	CFLAGS="$xorg_testset_save_CFLAGS"
   10161 fi
   10162 
   10163 found="no"
   10164 
   10165 	if test $found = "no" ; then
   10166 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10167 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10168 		fi
   10169 
   10170 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10171 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10172 		fi
   10173 
   10174 		CFLAGS="$CFLAGS -Wreturn-type"
   10175 
   10176 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   10177 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   10178 		cacheid=xorg_cv_cc_flag__Wreturn_type
   10179 		if eval test \${$cacheid+y}
   10180 then :
   10181   printf %s "(cached) " >&6
   10182 else case e in #(
   10183   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10184 /* end confdefs.h.  */
   10185 int i;
   10186 int
   10187 main (void)
   10188 {
   10189 
   10190   ;
   10191   return 0;
   10192 }
   10193 _ACEOF
   10194 if ac_fn_c_try_link "$LINENO"
   10195 then :
   10196   eval $cacheid=yes
   10197 else case e in #(
   10198   e) eval $cacheid=no ;;
   10199 esac
   10200 fi
   10201 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10202     conftest$ac_exeext conftest.$ac_ext ;;
   10203 esac
   10204 fi
   10205 
   10206 
   10207 		CFLAGS="$xorg_testset_save_CFLAGS"
   10208 
   10209 		eval supported=\$$cacheid
   10210 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10211 printf "%s\n" "$supported" >&6; }
   10212 		if test "$supported" = "yes" ; then
   10213 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   10214 			found="yes"
   10215 		fi
   10216 	fi
   10217 
   10218 
   10219 
   10220 
   10221 
   10222 
   10223 
   10224 
   10225 
   10226 
   10227 
   10228 
   10229 
   10230 
   10231 
   10232 xorg_testset_save_CFLAGS="$CFLAGS"
   10233 
   10234 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10235 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10236 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10237 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10238 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10239 then :
   10240   printf %s "(cached) " >&6
   10241 else case e in #(
   10242   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10243 /* end confdefs.h.  */
   10244 int i;
   10245 _ACEOF
   10246 if ac_fn_c_try_compile "$LINENO"
   10247 then :
   10248   xorg_cv_cc_flag_unknown_warning_option=yes
   10249 else case e in #(
   10250   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10251 esac
   10252 fi
   10253 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10254 esac
   10255 fi
   10256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10257 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10258 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10259 	CFLAGS="$xorg_testset_save_CFLAGS"
   10260 fi
   10261 
   10262 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10263 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10264 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10265 	fi
   10266 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10267 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10268 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10269 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10270 then :
   10271   printf %s "(cached) " >&6
   10272 else case e in #(
   10273   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10274 /* end confdefs.h.  */
   10275 int i;
   10276 _ACEOF
   10277 if ac_fn_c_try_compile "$LINENO"
   10278 then :
   10279   xorg_cv_cc_flag_unused_command_line_argument=yes
   10280 else case e in #(
   10281   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10282 esac
   10283 fi
   10284 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10285 esac
   10286 fi
   10287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10288 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10289 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10290 	CFLAGS="$xorg_testset_save_CFLAGS"
   10291 fi
   10292 
   10293 found="no"
   10294 
   10295 	if test $found = "no" ; then
   10296 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10297 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10298 		fi
   10299 
   10300 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10301 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10302 		fi
   10303 
   10304 		CFLAGS="$CFLAGS -Wtrigraphs"
   10305 
   10306 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   10307 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   10308 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   10309 		if eval test \${$cacheid+y}
   10310 then :
   10311   printf %s "(cached) " >&6
   10312 else case e in #(
   10313   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10314 /* end confdefs.h.  */
   10315 int i;
   10316 int
   10317 main (void)
   10318 {
   10319 
   10320   ;
   10321   return 0;
   10322 }
   10323 _ACEOF
   10324 if ac_fn_c_try_link "$LINENO"
   10325 then :
   10326   eval $cacheid=yes
   10327 else case e in #(
   10328   e) eval $cacheid=no ;;
   10329 esac
   10330 fi
   10331 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10332     conftest$ac_exeext conftest.$ac_ext ;;
   10333 esac
   10334 fi
   10335 
   10336 
   10337 		CFLAGS="$xorg_testset_save_CFLAGS"
   10338 
   10339 		eval supported=\$$cacheid
   10340 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10341 printf "%s\n" "$supported" >&6; }
   10342 		if test "$supported" = "yes" ; then
   10343 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   10344 			found="yes"
   10345 		fi
   10346 	fi
   10347 
   10348 
   10349 
   10350 
   10351 
   10352 
   10353 
   10354 
   10355 
   10356 
   10357 
   10358 
   10359 
   10360 
   10361 
   10362 xorg_testset_save_CFLAGS="$CFLAGS"
   10363 
   10364 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10365 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10366 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10367 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10368 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10369 then :
   10370   printf %s "(cached) " >&6
   10371 else case e in #(
   10372   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10373 /* end confdefs.h.  */
   10374 int i;
   10375 _ACEOF
   10376 if ac_fn_c_try_compile "$LINENO"
   10377 then :
   10378   xorg_cv_cc_flag_unknown_warning_option=yes
   10379 else case e in #(
   10380   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10381 esac
   10382 fi
   10383 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10384 esac
   10385 fi
   10386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10387 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10388 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10389 	CFLAGS="$xorg_testset_save_CFLAGS"
   10390 fi
   10391 
   10392 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10393 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10394 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10395 	fi
   10396 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10397 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10398 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10399 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10400 then :
   10401   printf %s "(cached) " >&6
   10402 else case e in #(
   10403   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10404 /* end confdefs.h.  */
   10405 int i;
   10406 _ACEOF
   10407 if ac_fn_c_try_compile "$LINENO"
   10408 then :
   10409   xorg_cv_cc_flag_unused_command_line_argument=yes
   10410 else case e in #(
   10411   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10412 esac
   10413 fi
   10414 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10415 esac
   10416 fi
   10417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10418 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10419 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10420 	CFLAGS="$xorg_testset_save_CFLAGS"
   10421 fi
   10422 
   10423 found="no"
   10424 
   10425 	if test $found = "no" ; then
   10426 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10427 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10428 		fi
   10429 
   10430 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10431 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10432 		fi
   10433 
   10434 		CFLAGS="$CFLAGS -Warray-bounds"
   10435 
   10436 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10437 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10438 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10439 		if eval test \${$cacheid+y}
   10440 then :
   10441   printf %s "(cached) " >&6
   10442 else case e in #(
   10443   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10444 /* end confdefs.h.  */
   10445 int i;
   10446 int
   10447 main (void)
   10448 {
   10449 
   10450   ;
   10451   return 0;
   10452 }
   10453 _ACEOF
   10454 if ac_fn_c_try_link "$LINENO"
   10455 then :
   10456   eval $cacheid=yes
   10457 else case e in #(
   10458   e) eval $cacheid=no ;;
   10459 esac
   10460 fi
   10461 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10462     conftest$ac_exeext conftest.$ac_ext ;;
   10463 esac
   10464 fi
   10465 
   10466 
   10467 		CFLAGS="$xorg_testset_save_CFLAGS"
   10468 
   10469 		eval supported=\$$cacheid
   10470 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10471 printf "%s\n" "$supported" >&6; }
   10472 		if test "$supported" = "yes" ; then
   10473 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10474 			found="yes"
   10475 		fi
   10476 	fi
   10477 
   10478 
   10479 
   10480 
   10481 
   10482 
   10483 
   10484 
   10485 
   10486 
   10487 
   10488 
   10489 
   10490 
   10491 
   10492 xorg_testset_save_CFLAGS="$CFLAGS"
   10493 
   10494 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10495 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10496 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10497 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10498 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10499 then :
   10500   printf %s "(cached) " >&6
   10501 else case e in #(
   10502   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10503 /* end confdefs.h.  */
   10504 int i;
   10505 _ACEOF
   10506 if ac_fn_c_try_compile "$LINENO"
   10507 then :
   10508   xorg_cv_cc_flag_unknown_warning_option=yes
   10509 else case e in #(
   10510   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10511 esac
   10512 fi
   10513 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10514 esac
   10515 fi
   10516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10517 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10518 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10519 	CFLAGS="$xorg_testset_save_CFLAGS"
   10520 fi
   10521 
   10522 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10523 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10524 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10525 	fi
   10526 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10527 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10528 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10529 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10530 then :
   10531   printf %s "(cached) " >&6
   10532 else case e in #(
   10533   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10534 /* end confdefs.h.  */
   10535 int i;
   10536 _ACEOF
   10537 if ac_fn_c_try_compile "$LINENO"
   10538 then :
   10539   xorg_cv_cc_flag_unused_command_line_argument=yes
   10540 else case e in #(
   10541   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10542 esac
   10543 fi
   10544 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10545 esac
   10546 fi
   10547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10548 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10549 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10550 	CFLAGS="$xorg_testset_save_CFLAGS"
   10551 fi
   10552 
   10553 found="no"
   10554 
   10555 	if test $found = "no" ; then
   10556 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10557 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10558 		fi
   10559 
   10560 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10561 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10562 		fi
   10563 
   10564 		CFLAGS="$CFLAGS -Wwrite-strings"
   10565 
   10566 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10567 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10568 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10569 		if eval test \${$cacheid+y}
   10570 then :
   10571   printf %s "(cached) " >&6
   10572 else case e in #(
   10573   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10574 /* end confdefs.h.  */
   10575 int i;
   10576 int
   10577 main (void)
   10578 {
   10579 
   10580   ;
   10581   return 0;
   10582 }
   10583 _ACEOF
   10584 if ac_fn_c_try_link "$LINENO"
   10585 then :
   10586   eval $cacheid=yes
   10587 else case e in #(
   10588   e) eval $cacheid=no ;;
   10589 esac
   10590 fi
   10591 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10592     conftest$ac_exeext conftest.$ac_ext ;;
   10593 esac
   10594 fi
   10595 
   10596 
   10597 		CFLAGS="$xorg_testset_save_CFLAGS"
   10598 
   10599 		eval supported=\$$cacheid
   10600 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10601 printf "%s\n" "$supported" >&6; }
   10602 		if test "$supported" = "yes" ; then
   10603 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10604 			found="yes"
   10605 		fi
   10606 	fi
   10607 
   10608 
   10609 
   10610 
   10611 
   10612 
   10613 
   10614 
   10615 
   10616 
   10617 
   10618 
   10619 
   10620 
   10621 
   10622 xorg_testset_save_CFLAGS="$CFLAGS"
   10623 
   10624 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10625 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10626 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10627 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10628 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10629 then :
   10630   printf %s "(cached) " >&6
   10631 else case e in #(
   10632   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10633 /* end confdefs.h.  */
   10634 int i;
   10635 _ACEOF
   10636 if ac_fn_c_try_compile "$LINENO"
   10637 then :
   10638   xorg_cv_cc_flag_unknown_warning_option=yes
   10639 else case e in #(
   10640   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10641 esac
   10642 fi
   10643 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10644 esac
   10645 fi
   10646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10647 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10648 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10649 	CFLAGS="$xorg_testset_save_CFLAGS"
   10650 fi
   10651 
   10652 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10653 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10654 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10655 	fi
   10656 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10657 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10658 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10659 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10660 then :
   10661   printf %s "(cached) " >&6
   10662 else case e in #(
   10663   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10664 /* end confdefs.h.  */
   10665 int i;
   10666 _ACEOF
   10667 if ac_fn_c_try_compile "$LINENO"
   10668 then :
   10669   xorg_cv_cc_flag_unused_command_line_argument=yes
   10670 else case e in #(
   10671   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10672 esac
   10673 fi
   10674 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10675 esac
   10676 fi
   10677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10678 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10679 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10680 	CFLAGS="$xorg_testset_save_CFLAGS"
   10681 fi
   10682 
   10683 found="no"
   10684 
   10685 	if test $found = "no" ; then
   10686 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10687 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10688 		fi
   10689 
   10690 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10691 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10692 		fi
   10693 
   10694 		CFLAGS="$CFLAGS -Waddress"
   10695 
   10696 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10697 printf %s "checking if $CC supports -Waddress... " >&6; }
   10698 		cacheid=xorg_cv_cc_flag__Waddress
   10699 		if eval test \${$cacheid+y}
   10700 then :
   10701   printf %s "(cached) " >&6
   10702 else case e in #(
   10703   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10704 /* end confdefs.h.  */
   10705 int i;
   10706 int
   10707 main (void)
   10708 {
   10709 
   10710   ;
   10711   return 0;
   10712 }
   10713 _ACEOF
   10714 if ac_fn_c_try_link "$LINENO"
   10715 then :
   10716   eval $cacheid=yes
   10717 else case e in #(
   10718   e) eval $cacheid=no ;;
   10719 esac
   10720 fi
   10721 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10722     conftest$ac_exeext conftest.$ac_ext ;;
   10723 esac
   10724 fi
   10725 
   10726 
   10727 		CFLAGS="$xorg_testset_save_CFLAGS"
   10728 
   10729 		eval supported=\$$cacheid
   10730 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10731 printf "%s\n" "$supported" >&6; }
   10732 		if test "$supported" = "yes" ; then
   10733 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10734 			found="yes"
   10735 		fi
   10736 	fi
   10737 
   10738 
   10739 
   10740 
   10741 
   10742 
   10743 
   10744 
   10745 
   10746 
   10747 
   10748 
   10749 
   10750 
   10751 
   10752 xorg_testset_save_CFLAGS="$CFLAGS"
   10753 
   10754 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10755 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10756 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10757 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10758 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10759 then :
   10760   printf %s "(cached) " >&6
   10761 else case e in #(
   10762   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10763 /* end confdefs.h.  */
   10764 int i;
   10765 _ACEOF
   10766 if ac_fn_c_try_compile "$LINENO"
   10767 then :
   10768   xorg_cv_cc_flag_unknown_warning_option=yes
   10769 else case e in #(
   10770   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10771 esac
   10772 fi
   10773 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10774 esac
   10775 fi
   10776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10777 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10778 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10779 	CFLAGS="$xorg_testset_save_CFLAGS"
   10780 fi
   10781 
   10782 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10783 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10784 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10785 	fi
   10786 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10787 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10788 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10789 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10790 then :
   10791   printf %s "(cached) " >&6
   10792 else case e in #(
   10793   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10794 /* end confdefs.h.  */
   10795 int i;
   10796 _ACEOF
   10797 if ac_fn_c_try_compile "$LINENO"
   10798 then :
   10799   xorg_cv_cc_flag_unused_command_line_argument=yes
   10800 else case e in #(
   10801   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10802 esac
   10803 fi
   10804 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10805 esac
   10806 fi
   10807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10808 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10809 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10810 	CFLAGS="$xorg_testset_save_CFLAGS"
   10811 fi
   10812 
   10813 found="no"
   10814 
   10815 	if test $found = "no" ; then
   10816 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10817 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10818 		fi
   10819 
   10820 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10821 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10822 		fi
   10823 
   10824 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10825 
   10826 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10827 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10828 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10829 		if eval test \${$cacheid+y}
   10830 then :
   10831   printf %s "(cached) " >&6
   10832 else case e in #(
   10833   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10834 /* end confdefs.h.  */
   10835 int i;
   10836 int
   10837 main (void)
   10838 {
   10839 
   10840   ;
   10841   return 0;
   10842 }
   10843 _ACEOF
   10844 if ac_fn_c_try_link "$LINENO"
   10845 then :
   10846   eval $cacheid=yes
   10847 else case e in #(
   10848   e) eval $cacheid=no ;;
   10849 esac
   10850 fi
   10851 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10852     conftest$ac_exeext conftest.$ac_ext ;;
   10853 esac
   10854 fi
   10855 
   10856 
   10857 		CFLAGS="$xorg_testset_save_CFLAGS"
   10858 
   10859 		eval supported=\$$cacheid
   10860 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10861 printf "%s\n" "$supported" >&6; }
   10862 		if test "$supported" = "yes" ; then
   10863 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10864 			found="yes"
   10865 		fi
   10866 	fi
   10867 
   10868 
   10869 
   10870 
   10871 
   10872 
   10873 
   10874 
   10875 
   10876 
   10877 
   10878 
   10879 
   10880 
   10881 
   10882 xorg_testset_save_CFLAGS="$CFLAGS"
   10883 
   10884 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10885 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10886 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10887 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10888 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10889 then :
   10890   printf %s "(cached) " >&6
   10891 else case e in #(
   10892   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10893 /* end confdefs.h.  */
   10894 int i;
   10895 _ACEOF
   10896 if ac_fn_c_try_compile "$LINENO"
   10897 then :
   10898   xorg_cv_cc_flag_unknown_warning_option=yes
   10899 else case e in #(
   10900   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10901 esac
   10902 fi
   10903 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10904 esac
   10905 fi
   10906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10907 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10908 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10909 	CFLAGS="$xorg_testset_save_CFLAGS"
   10910 fi
   10911 
   10912 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10913 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10914 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10915 	fi
   10916 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10917 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10918 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10919 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10920 then :
   10921   printf %s "(cached) " >&6
   10922 else case e in #(
   10923   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10924 /* end confdefs.h.  */
   10925 int i;
   10926 _ACEOF
   10927 if ac_fn_c_try_compile "$LINENO"
   10928 then :
   10929   xorg_cv_cc_flag_unused_command_line_argument=yes
   10930 else case e in #(
   10931   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10932 esac
   10933 fi
   10934 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10935 esac
   10936 fi
   10937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10938 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10939 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10940 	CFLAGS="$xorg_testset_save_CFLAGS"
   10941 fi
   10942 
   10943 found="no"
   10944 
   10945 	if test $found = "no" ; then
   10946 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10947 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10948 		fi
   10949 
   10950 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10951 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10952 		fi
   10953 
   10954 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10955 
   10956 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10957 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10958 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10959 		if eval test \${$cacheid+y}
   10960 then :
   10961   printf %s "(cached) " >&6
   10962 else case e in #(
   10963   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10964 /* end confdefs.h.  */
   10965 int i;
   10966 int
   10967 main (void)
   10968 {
   10969 
   10970   ;
   10971   return 0;
   10972 }
   10973 _ACEOF
   10974 if ac_fn_c_try_link "$LINENO"
   10975 then :
   10976   eval $cacheid=yes
   10977 else case e in #(
   10978   e) eval $cacheid=no ;;
   10979 esac
   10980 fi
   10981 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10982     conftest$ac_exeext conftest.$ac_ext ;;
   10983 esac
   10984 fi
   10985 
   10986 
   10987 		CFLAGS="$xorg_testset_save_CFLAGS"
   10988 
   10989 		eval supported=\$$cacheid
   10990 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10991 printf "%s\n" "$supported" >&6; }
   10992 		if test "$supported" = "yes" ; then
   10993 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10994 			found="yes"
   10995 		fi
   10996 	fi
   10997 
   10998 
   10999 fi
   11000 
   11001 
   11002 
   11003 
   11004 
   11005 
   11006 
   11007 		CWARNFLAGS="$BASE_CFLAGS"
   11008 		if  test "x$GCC" = xyes ; then
   11009 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   11010 		fi
   11011 
   11012 
   11013 
   11014 
   11015 
   11016 
   11017 
   11018 
   11019 # Check whether --enable-strict-compilation was given.
   11020 if test ${enable_strict_compilation+y}
   11021 then :
   11022   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   11023 else case e in #(
   11024   e) STRICT_COMPILE=no ;;
   11025 esac
   11026 fi
   11027 
   11028 
   11029 
   11030 
   11031 
   11032 
   11033 STRICT_CFLAGS=""
   11034 
   11035 
   11036 
   11037 
   11038 
   11039 
   11040 
   11041 
   11042 
   11043 
   11044 
   11045 
   11046 
   11047 xorg_testset_save_CFLAGS="$CFLAGS"
   11048 
   11049 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11050 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11051 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11052 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11053 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11054 then :
   11055   printf %s "(cached) " >&6
   11056 else case e in #(
   11057   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11058 /* end confdefs.h.  */
   11059 int i;
   11060 _ACEOF
   11061 if ac_fn_c_try_compile "$LINENO"
   11062 then :
   11063   xorg_cv_cc_flag_unknown_warning_option=yes
   11064 else case e in #(
   11065   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11066 esac
   11067 fi
   11068 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11069 esac
   11070 fi
   11071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11072 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11073 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11074 	CFLAGS="$xorg_testset_save_CFLAGS"
   11075 fi
   11076 
   11077 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11078 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11079 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11080 	fi
   11081 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11082 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11083 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11084 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11085 then :
   11086   printf %s "(cached) " >&6
   11087 else case e in #(
   11088   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11089 /* end confdefs.h.  */
   11090 int i;
   11091 _ACEOF
   11092 if ac_fn_c_try_compile "$LINENO"
   11093 then :
   11094   xorg_cv_cc_flag_unused_command_line_argument=yes
   11095 else case e in #(
   11096   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11097 esac
   11098 fi
   11099 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11100 esac
   11101 fi
   11102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11103 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11104 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11105 	CFLAGS="$xorg_testset_save_CFLAGS"
   11106 fi
   11107 
   11108 found="no"
   11109 
   11110 	if test $found = "no" ; then
   11111 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11112 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11113 		fi
   11114 
   11115 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11116 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11117 		fi
   11118 
   11119 		CFLAGS="$CFLAGS -pedantic"
   11120 
   11121 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   11122 printf %s "checking if $CC supports -pedantic... " >&6; }
   11123 		cacheid=xorg_cv_cc_flag__pedantic
   11124 		if eval test \${$cacheid+y}
   11125 then :
   11126   printf %s "(cached) " >&6
   11127 else case e in #(
   11128   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11129 /* end confdefs.h.  */
   11130 int i;
   11131 int
   11132 main (void)
   11133 {
   11134 
   11135   ;
   11136   return 0;
   11137 }
   11138 _ACEOF
   11139 if ac_fn_c_try_link "$LINENO"
   11140 then :
   11141   eval $cacheid=yes
   11142 else case e in #(
   11143   e) eval $cacheid=no ;;
   11144 esac
   11145 fi
   11146 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11147     conftest$ac_exeext conftest.$ac_ext ;;
   11148 esac
   11149 fi
   11150 
   11151 
   11152 		CFLAGS="$xorg_testset_save_CFLAGS"
   11153 
   11154 		eval supported=\$$cacheid
   11155 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11156 printf "%s\n" "$supported" >&6; }
   11157 		if test "$supported" = "yes" ; then
   11158 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   11159 			found="yes"
   11160 		fi
   11161 	fi
   11162 
   11163 
   11164 
   11165 
   11166 
   11167 
   11168 
   11169 
   11170 
   11171 
   11172 
   11173 
   11174 
   11175 
   11176 
   11177 xorg_testset_save_CFLAGS="$CFLAGS"
   11178 
   11179 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11180 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11181 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11182 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11183 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11184 then :
   11185   printf %s "(cached) " >&6
   11186 else case e in #(
   11187   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11188 /* end confdefs.h.  */
   11189 int i;
   11190 _ACEOF
   11191 if ac_fn_c_try_compile "$LINENO"
   11192 then :
   11193   xorg_cv_cc_flag_unknown_warning_option=yes
   11194 else case e in #(
   11195   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11196 esac
   11197 fi
   11198 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11199 esac
   11200 fi
   11201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11202 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11203 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11204 	CFLAGS="$xorg_testset_save_CFLAGS"
   11205 fi
   11206 
   11207 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11208 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11209 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11210 	fi
   11211 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11212 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11213 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11214 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11215 then :
   11216   printf %s "(cached) " >&6
   11217 else case e in #(
   11218   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11219 /* end confdefs.h.  */
   11220 int i;
   11221 _ACEOF
   11222 if ac_fn_c_try_compile "$LINENO"
   11223 then :
   11224   xorg_cv_cc_flag_unused_command_line_argument=yes
   11225 else case e in #(
   11226   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11227 esac
   11228 fi
   11229 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11230 esac
   11231 fi
   11232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11233 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11234 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11235 	CFLAGS="$xorg_testset_save_CFLAGS"
   11236 fi
   11237 
   11238 found="no"
   11239 
   11240 	if test $found = "no" ; then
   11241 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11242 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11243 		fi
   11244 
   11245 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11246 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11247 		fi
   11248 
   11249 		CFLAGS="$CFLAGS -Werror"
   11250 
   11251 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   11252 printf %s "checking if $CC supports -Werror... " >&6; }
   11253 		cacheid=xorg_cv_cc_flag__Werror
   11254 		if eval test \${$cacheid+y}
   11255 then :
   11256   printf %s "(cached) " >&6
   11257 else case e in #(
   11258   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11259 /* end confdefs.h.  */
   11260 int i;
   11261 int
   11262 main (void)
   11263 {
   11264 
   11265   ;
   11266   return 0;
   11267 }
   11268 _ACEOF
   11269 if ac_fn_c_try_link "$LINENO"
   11270 then :
   11271   eval $cacheid=yes
   11272 else case e in #(
   11273   e) eval $cacheid=no ;;
   11274 esac
   11275 fi
   11276 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11277     conftest$ac_exeext conftest.$ac_ext ;;
   11278 esac
   11279 fi
   11280 
   11281 
   11282 		CFLAGS="$xorg_testset_save_CFLAGS"
   11283 
   11284 		eval supported=\$$cacheid
   11285 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11286 printf "%s\n" "$supported" >&6; }
   11287 		if test "$supported" = "yes" ; then
   11288 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   11289 			found="yes"
   11290 		fi
   11291 	fi
   11292 
   11293 	if test $found = "no" ; then
   11294 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11295 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11296 		fi
   11297 
   11298 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11299 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11300 		fi
   11301 
   11302 		CFLAGS="$CFLAGS -errwarn"
   11303 
   11304 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   11305 printf %s "checking if $CC supports -errwarn... " >&6; }
   11306 		cacheid=xorg_cv_cc_flag__errwarn
   11307 		if eval test \${$cacheid+y}
   11308 then :
   11309   printf %s "(cached) " >&6
   11310 else case e in #(
   11311   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11312 /* end confdefs.h.  */
   11313 int i;
   11314 int
   11315 main (void)
   11316 {
   11317 
   11318   ;
   11319   return 0;
   11320 }
   11321 _ACEOF
   11322 if ac_fn_c_try_link "$LINENO"
   11323 then :
   11324   eval $cacheid=yes
   11325 else case e in #(
   11326   e) eval $cacheid=no ;;
   11327 esac
   11328 fi
   11329 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11330     conftest$ac_exeext conftest.$ac_ext ;;
   11331 esac
   11332 fi
   11333 
   11334 
   11335 		CFLAGS="$xorg_testset_save_CFLAGS"
   11336 
   11337 		eval supported=\$$cacheid
   11338 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11339 printf "%s\n" "$supported" >&6; }
   11340 		if test "$supported" = "yes" ; then
   11341 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   11342 			found="yes"
   11343 		fi
   11344 	fi
   11345 
   11346 
   11347 
   11348 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   11349 # activate it with -Werror, so we add it here explicitly.
   11350 
   11351 
   11352 
   11353 
   11354 
   11355 
   11356 
   11357 
   11358 
   11359 
   11360 
   11361 
   11362 
   11363 xorg_testset_save_CFLAGS="$CFLAGS"
   11364 
   11365 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11366 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11367 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11368 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11369 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11370 then :
   11371   printf %s "(cached) " >&6
   11372 else case e in #(
   11373   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11374 /* end confdefs.h.  */
   11375 int i;
   11376 _ACEOF
   11377 if ac_fn_c_try_compile "$LINENO"
   11378 then :
   11379   xorg_cv_cc_flag_unknown_warning_option=yes
   11380 else case e in #(
   11381   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11382 esac
   11383 fi
   11384 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11385 esac
   11386 fi
   11387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11388 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11389 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11390 	CFLAGS="$xorg_testset_save_CFLAGS"
   11391 fi
   11392 
   11393 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11394 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11395 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11396 	fi
   11397 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11398 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11399 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11400 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11401 then :
   11402   printf %s "(cached) " >&6
   11403 else case e in #(
   11404   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11405 /* end confdefs.h.  */
   11406 int i;
   11407 _ACEOF
   11408 if ac_fn_c_try_compile "$LINENO"
   11409 then :
   11410   xorg_cv_cc_flag_unused_command_line_argument=yes
   11411 else case e in #(
   11412   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11413 esac
   11414 fi
   11415 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11416 esac
   11417 fi
   11418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11419 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11420 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11421 	CFLAGS="$xorg_testset_save_CFLAGS"
   11422 fi
   11423 
   11424 found="no"
   11425 
   11426 	if test $found = "no" ; then
   11427 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11428 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11429 		fi
   11430 
   11431 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11432 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11433 		fi
   11434 
   11435 		CFLAGS="$CFLAGS -Werror=attributes"
   11436 
   11437 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11438 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11439 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11440 		if eval test \${$cacheid+y}
   11441 then :
   11442   printf %s "(cached) " >&6
   11443 else case e in #(
   11444   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11445 /* end confdefs.h.  */
   11446 int i;
   11447 int
   11448 main (void)
   11449 {
   11450 
   11451   ;
   11452   return 0;
   11453 }
   11454 _ACEOF
   11455 if ac_fn_c_try_link "$LINENO"
   11456 then :
   11457   eval $cacheid=yes
   11458 else case e in #(
   11459   e) eval $cacheid=no ;;
   11460 esac
   11461 fi
   11462 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11463     conftest$ac_exeext conftest.$ac_ext ;;
   11464 esac
   11465 fi
   11466 
   11467 
   11468 		CFLAGS="$xorg_testset_save_CFLAGS"
   11469 
   11470 		eval supported=\$$cacheid
   11471 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11472 printf "%s\n" "$supported" >&6; }
   11473 		if test "$supported" = "yes" ; then
   11474 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11475 			found="yes"
   11476 		fi
   11477 	fi
   11478 
   11479 
   11480 
   11481 if test "x$STRICT_COMPILE" = "xyes"; then
   11482     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11483     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11484 fi
   11485 
   11486 
   11487 
   11488 
   11489 
   11490 
   11491 
   11492 
   11493 cat >>confdefs.h <<_ACEOF
   11494 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11495 _ACEOF
   11496 
   11497 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11498 	if test "x$PVM" = "x"; then
   11499 		PVM="0"
   11500 	fi
   11501 
   11502 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11503 
   11504 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11505 	if test "x$PVP" = "x"; then
   11506 		PVP="0"
   11507 	fi
   11508 
   11509 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11510 
   11511 
   11512 
   11513 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11514 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11515 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11516 touch \$(top_srcdir)/ChangeLog; \
   11517 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11518 
   11519 
   11520 
   11521 
   11522 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11523 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11524 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11525 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11526 touch \$(top_srcdir)/INSTALL; \
   11527 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11528 
   11529 
   11530 
   11531 
   11532 
   11533 
   11534 case $host_os in
   11535     solaris*)
   11536         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11537         # check for a man page file found in later versions that use
   11538         # traditional section numbers instead
   11539         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11540 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11541 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11542 then :
   11543   printf %s "(cached) " >&6
   11544 else case e in #(
   11545   e) test "$cross_compiling" = yes &&
   11546   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11547 if test -r "/usr/share/man/man7/attributes.7"; then
   11548   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11549 else
   11550   ac_cv_file__usr_share_man_man7_attributes_7=no
   11551 fi ;;
   11552 esac
   11553 fi
   11554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11555 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11556 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11557 then :
   11558   SYSV_MAN_SECTIONS=false
   11559 else case e in #(
   11560   e) SYSV_MAN_SECTIONS=true ;;
   11561 esac
   11562 fi
   11563 
   11564         ;;
   11565     *) SYSV_MAN_SECTIONS=false ;;
   11566 esac
   11567 
   11568 if test x$APP_MAN_SUFFIX = x    ; then
   11569     APP_MAN_SUFFIX=1
   11570 fi
   11571 if test x$APP_MAN_DIR = x    ; then
   11572     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11573 fi
   11574 
   11575 if test x$LIB_MAN_SUFFIX = x    ; then
   11576     LIB_MAN_SUFFIX=3
   11577 fi
   11578 if test x$LIB_MAN_DIR = x    ; then
   11579     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11580 fi
   11581 
   11582 if test x$FILE_MAN_SUFFIX = x    ; then
   11583     case $SYSV_MAN_SECTIONS in
   11584 	true)				FILE_MAN_SUFFIX=4  ;;
   11585 	*)				FILE_MAN_SUFFIX=5  ;;
   11586     esac
   11587 fi
   11588 if test x$FILE_MAN_DIR = x    ; then
   11589     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11590 fi
   11591 
   11592 if test x$MISC_MAN_SUFFIX = x    ; then
   11593     case $SYSV_MAN_SECTIONS in
   11594 	true)				MISC_MAN_SUFFIX=5  ;;
   11595 	*)				MISC_MAN_SUFFIX=7  ;;
   11596     esac
   11597 fi
   11598 if test x$MISC_MAN_DIR = x    ; then
   11599     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11600 fi
   11601 
   11602 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11603     case $SYSV_MAN_SECTIONS in
   11604 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11605 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11606     esac
   11607 fi
   11608 if test x$DRIVER_MAN_DIR = x    ; then
   11609     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11610 fi
   11611 
   11612 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11613     case $SYSV_MAN_SECTIONS in
   11614 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11615 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11616     esac
   11617 fi
   11618 if test x$ADMIN_MAN_DIR = x    ; then
   11619     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11620 fi
   11621 
   11622 
   11623 
   11624 
   11625 
   11626 
   11627 
   11628 
   11629 
   11630 
   11631 
   11632 
   11633 
   11634 
   11635 
   11636 XORG_MAN_PAGE="X Version 11"
   11637 
   11638 MAN_SUBSTS="\
   11639 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11640 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11641 	-e 's|__xservername__|Xorg|g' \
   11642 	-e 's|__xconfigfile__|xorg.conf|g' \
   11643 	-e 's|__projectroot__|\$(prefix)|g' \
   11644 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11645 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11646 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11647 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11648 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11649 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11650 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11651 
   11652 
   11653 
   11654 
   11655 AM_DEFAULT_VERBOSITY=0
   11656 
   11657 
   11658 
   11659 
   11660 
   11661 
   11662 
   11663 # Checks for typedefs, structures, and compiler characteristics.
   11664 # Check whether --enable-largefile was given.
   11665 if test ${enable_largefile+y}
   11666 then :
   11667   enableval=$enable_largefile;
   11668 fi
   11669 if test "$enable_largefile,$enable_year2038" != no,no
   11670 then :
   11671   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable large file support" >&5
   11672 printf %s "checking for $CC option to enable large file support... " >&6; }
   11673 if test ${ac_cv_sys_largefile_opts+y}
   11674 then :
   11675   printf %s "(cached) " >&6
   11676 else case e in #(
   11677   e) ac_save_CC="$CC"
   11678   ac_opt_found=no
   11679   for ac_opt in "none needed" "-D_FILE_OFFSET_BITS=64" "-D_LARGE_FILES=1" "-n32"; do
   11680     if test x"$ac_opt" != x"none needed"
   11681 then :
   11682   CC="$ac_save_CC $ac_opt"
   11683 fi
   11684     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11685 /* end confdefs.h.  */
   11686 #include <sys/types.h>
   11687 #ifndef FTYPE
   11688 # define FTYPE off_t
   11689 #endif
   11690  /* Check that FTYPE can represent 2**63 - 1 correctly.
   11691     We can't simply define LARGE_FTYPE to be 9223372036854775807,
   11692     since some C++ compilers masquerading as C compilers
   11693     incorrectly reject 9223372036854775807.  */
   11694 #define LARGE_FTYPE (((FTYPE) 1 << 31 << 31) - 1 + ((FTYPE) 1 << 31 << 31))
   11695   int FTYPE_is_large[(LARGE_FTYPE % 2147483629 == 721
   11696 		       && LARGE_FTYPE % 2147483647 == 1)
   11697 		      ? 1 : -1];
   11698 int
   11699 main (void)
   11700 {
   11701 
   11702   ;
   11703   return 0;
   11704 }
   11705 _ACEOF
   11706 if ac_fn_c_try_compile "$LINENO"
   11707 then :
   11708   if test x"$ac_opt" = x"none needed"
   11709 then :
   11710   # GNU/Linux s390x and alpha need _FILE_OFFSET_BITS=64 for wide ino_t.
   11711 	 CC="$CC -DFTYPE=ino_t"
   11712 	 if ac_fn_c_try_compile "$LINENO"
   11713 then :
   11714 
   11715 else case e in #(
   11716   e) CC="$CC -D_FILE_OFFSET_BITS=64"
   11717 	    if ac_fn_c_try_compile "$LINENO"
   11718 then :
   11719   ac_opt='-D_FILE_OFFSET_BITS=64'
   11720 fi
   11721 rm -f core conftest.err conftest.$ac_objext conftest.beam ;;
   11722 esac
   11723 fi
   11724 rm -f core conftest.err conftest.$ac_objext conftest.beam
   11725 fi
   11726       ac_cv_sys_largefile_opts=$ac_opt
   11727       ac_opt_found=yes
   11728 fi
   11729 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   11730     test $ac_opt_found = no || break
   11731   done
   11732   CC="$ac_save_CC"
   11733 
   11734   test $ac_opt_found = yes || ac_cv_sys_largefile_opts="support not detected" ;;
   11735 esac
   11736 fi
   11737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_opts" >&5
   11738 printf "%s\n" "$ac_cv_sys_largefile_opts" >&6; }
   11739 
   11740 ac_have_largefile=yes
   11741 case $ac_cv_sys_largefile_opts in #(
   11742   "none needed") :
   11743      ;; #(
   11744   "supported through gnulib") :
   11745      ;; #(
   11746   "support not detected") :
   11747     ac_have_largefile=no ;; #(
   11748   "-D_FILE_OFFSET_BITS=64") :
   11749 
   11750 printf "%s\n" "#define _FILE_OFFSET_BITS 64" >>confdefs.h
   11751  ;; #(
   11752   "-D_LARGE_FILES=1") :
   11753 
   11754 printf "%s\n" "#define _LARGE_FILES 1" >>confdefs.h
   11755  ;; #(
   11756   "-n32") :
   11757     CC="$CC -n32" ;; #(
   11758   *) :
   11759     as_fn_error $? "internal error: bad value for \$ac_cv_sys_largefile_opts" "$LINENO" 5 ;;
   11760 esac
   11761 
   11762 if test "$enable_year2038" != no
   11763 then :
   11764   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option for timestamps after 2038" >&5
   11765 printf %s "checking for $CC option for timestamps after 2038... " >&6; }
   11766 if test ${ac_cv_sys_year2038_opts+y}
   11767 then :
   11768   printf %s "(cached) " >&6
   11769 else case e in #(
   11770   e) ac_save_CPPFLAGS="$CPPFLAGS"
   11771   ac_opt_found=no
   11772   for ac_opt in "none needed" "-D_TIME_BITS=64" "-D__MINGW_USE_VC2005_COMPAT" "-U_USE_32_BIT_TIME_T -D__MINGW_USE_VC2005_COMPAT"; do
   11773     if test x"$ac_opt" != x"none needed"
   11774 then :
   11775   CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
   11776 fi
   11777     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11778 /* end confdefs.h.  */
   11779 
   11780   #include <time.h>
   11781   /* Check that time_t can represent 2**32 - 1 correctly.  */
   11782   #define LARGE_TIME_T \\
   11783     ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30)))
   11784   int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535
   11785                            && LARGE_TIME_T % 65537 == 0)
   11786                           ? 1 : -1];
   11787 
   11788 int
   11789 main (void)
   11790 {
   11791 
   11792   ;
   11793   return 0;
   11794 }
   11795 _ACEOF
   11796 if ac_fn_c_try_compile "$LINENO"
   11797 then :
   11798   ac_cv_sys_year2038_opts="$ac_opt"
   11799       ac_opt_found=yes
   11800 fi
   11801 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   11802     test $ac_opt_found = no || break
   11803   done
   11804   CPPFLAGS="$ac_save_CPPFLAGS"
   11805   test $ac_opt_found = yes || ac_cv_sys_year2038_opts="support not detected" ;;
   11806 esac
   11807 fi
   11808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_year2038_opts" >&5
   11809 printf "%s\n" "$ac_cv_sys_year2038_opts" >&6; }
   11810 
   11811 ac_have_year2038=yes
   11812 case $ac_cv_sys_year2038_opts in #(
   11813   "none needed") :
   11814      ;; #(
   11815   "support not detected") :
   11816     ac_have_year2038=no ;; #(
   11817   "-D_TIME_BITS=64") :
   11818 
   11819 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
   11820  ;; #(
   11821   "-D__MINGW_USE_VC2005_COMPAT") :
   11822 
   11823 printf "%s\n" "#define __MINGW_USE_VC2005_COMPAT 1" >>confdefs.h
   11824  ;; #(
   11825   "-U_USE_32_BIT_TIME_T"*) :
   11826     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   11827 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   11828 as_fn_error $? "the 'time_t' type is currently forced to be 32-bit. It
   11829 will stop working after mid-January 2038. Remove
   11830 _USE_32BIT_TIME_T from the compiler flags.
   11831 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   11832   *) :
   11833     as_fn_error $? "internal error: bad value for \$ac_cv_sys_year2038_opts" "$LINENO" 5 ;;
   11834 esac
   11835 
   11836 fi
   11837 
   11838 fi
   11839 
   11840 # Checks for library functions.
   11841 ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
   11842 if test "x$ac_cv_func_mkstemp" = xyes
   11843 then :
   11844   printf "%s\n" "#define HAVE_MKSTEMP 1" >>confdefs.h
   11845 
   11846 fi
   11847 
   11848 
   11849 # Math libraries & functions
   11850 # - some compilers use builtin inlines for floor when optimizing
   11851 # - lrint() is a C99 addition not found on some older systems
   11852 # - must do the libm check first so that the lrint check will have it in $LIBS
   11853 save_LIBS="$LIBS"
   11854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5
   11855 printf %s "checking for library containing floor... " >&6; }
   11856 if test ${ac_cv_search_floor+y}
   11857 then :
   11858   printf %s "(cached) " >&6
   11859 else case e in #(
   11860   e) ac_func_search_save_LIBS=$LIBS
   11861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11862 /* end confdefs.h.  */
   11863 
   11864 /* Override any GCC internal prototype to avoid an error.
   11865    Use char because int might match the return type of a GCC
   11866    builtin and then its argument prototype would still apply.
   11867    The 'extern "C"' is for builds by C++ compilers;
   11868    although this is not generally supported in C code supporting it here
   11869    has little cost and some practical benefit (sr 110532).  */
   11870 #ifdef __cplusplus
   11871 extern "C"
   11872 #endif
   11873 char floor (void);
   11874 int
   11875 main (void)
   11876 {
   11877 return floor ();
   11878   ;
   11879   return 0;
   11880 }
   11881 _ACEOF
   11882 for ac_lib in '' m
   11883 do
   11884   if test -z "$ac_lib"; then
   11885     ac_res="none required"
   11886   else
   11887     ac_res=-l$ac_lib
   11888     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   11889   fi
   11890   if ac_fn_c_try_link "$LINENO"
   11891 then :
   11892   ac_cv_search_floor=$ac_res
   11893 fi
   11894 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11895     conftest$ac_exeext
   11896   if test ${ac_cv_search_floor+y}
   11897 then :
   11898   break
   11899 fi
   11900 done
   11901 if test ${ac_cv_search_floor+y}
   11902 then :
   11903 
   11904 else case e in #(
   11905   e) ac_cv_search_floor=no ;;
   11906 esac
   11907 fi
   11908 rm conftest.$ac_ext
   11909 LIBS=$ac_func_search_save_LIBS ;;
   11910 esac
   11911 fi
   11912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_floor" >&5
   11913 printf "%s\n" "$ac_cv_search_floor" >&6; }
   11914 ac_res=$ac_cv_search_floor
   11915 if test "$ac_res" != no
   11916 then :
   11917   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   11918 
   11919 fi
   11920 
   11921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing lrint" >&5
   11922 printf %s "checking for library containing lrint... " >&6; }
   11923 if test ${ac_cv_search_lrint+y}
   11924 then :
   11925   printf %s "(cached) " >&6
   11926 else case e in #(
   11927   e) ac_func_search_save_LIBS=$LIBS
   11928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11929 /* end confdefs.h.  */
   11930 
   11931 /* Override any GCC internal prototype to avoid an error.
   11932    Use char because int might match the return type of a GCC
   11933    builtin and then its argument prototype would still apply.
   11934    The 'extern "C"' is for builds by C++ compilers;
   11935    although this is not generally supported in C code supporting it here
   11936    has little cost and some practical benefit (sr 110532).  */
   11937 #ifdef __cplusplus
   11938 extern "C"
   11939 #endif
   11940 char lrint (void);
   11941 int
   11942 main (void)
   11943 {
   11944 return lrint ();
   11945   ;
   11946   return 0;
   11947 }
   11948 _ACEOF
   11949 for ac_lib in '' m
   11950 do
   11951   if test -z "$ac_lib"; then
   11952     ac_res="none required"
   11953   else
   11954     ac_res=-l$ac_lib
   11955     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   11956   fi
   11957   if ac_fn_c_try_link "$LINENO"
   11958 then :
   11959   ac_cv_search_lrint=$ac_res
   11960 fi
   11961 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11962     conftest$ac_exeext
   11963   if test ${ac_cv_search_lrint+y}
   11964 then :
   11965   break
   11966 fi
   11967 done
   11968 if test ${ac_cv_search_lrint+y}
   11969 then :
   11970 
   11971 else case e in #(
   11972   e) ac_cv_search_lrint=no ;;
   11973 esac
   11974 fi
   11975 rm conftest.$ac_ext
   11976 LIBS=$ac_func_search_save_LIBS ;;
   11977 esac
   11978 fi
   11979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_lrint" >&5
   11980 printf "%s\n" "$ac_cv_search_lrint" >&6; }
   11981 ac_res=$ac_cv_search_lrint
   11982 if test "$ac_res" != no
   11983 then :
   11984   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   11985 
   11986 fi
   11987 
   11988 ac_fn_c_check_func "$LINENO" "lrint" "ac_cv_func_lrint"
   11989 if test "x$ac_cv_func_lrint" = xyes
   11990 then :
   11991   printf "%s\n" "#define HAVE_LRINT 1" >>confdefs.h
   11992 
   11993 fi
   11994 
   11995 MATH_LIBS="$LIBS"
   11996 LIBS="$save_LIBS"
   11997 
   11998 
   11999 # Obtain compiler/linker options from dependencies
   12000 
   12001 pkg_failed=no
   12002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BMTOA" >&5
   12003 printf %s "checking for BMTOA... " >&6; }
   12004 
   12005 if test -n "$BMTOA_CFLAGS"; then
   12006     pkg_cv_BMTOA_CFLAGS="$BMTOA_CFLAGS"
   12007  elif test -n "$PKG_CONFIG"; then
   12008     if test -n "$PKG_CONFIG" && \
   12009     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xmu xproto >= 7.0.17\""; } >&5
   12010   ($PKG_CONFIG --exists --print-errors "x11 xmu xproto >= 7.0.17") 2>&5
   12011   ac_status=$?
   12012   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12013   test $ac_status = 0; }; then
   12014   pkg_cv_BMTOA_CFLAGS=`$PKG_CONFIG --cflags "x11 xmu xproto >= 7.0.17" 2>/dev/null`
   12015 		      test "x$?" != "x0" && pkg_failed=yes
   12016 else
   12017   pkg_failed=yes
   12018 fi
   12019  else
   12020     pkg_failed=untried
   12021 fi
   12022 if test -n "$BMTOA_LIBS"; then
   12023     pkg_cv_BMTOA_LIBS="$BMTOA_LIBS"
   12024  elif test -n "$PKG_CONFIG"; then
   12025     if test -n "$PKG_CONFIG" && \
   12026     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xmu xproto >= 7.0.17\""; } >&5
   12027   ($PKG_CONFIG --exists --print-errors "x11 xmu xproto >= 7.0.17") 2>&5
   12028   ac_status=$?
   12029   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12030   test $ac_status = 0; }; then
   12031   pkg_cv_BMTOA_LIBS=`$PKG_CONFIG --libs "x11 xmu xproto >= 7.0.17" 2>/dev/null`
   12032 		      test "x$?" != "x0" && pkg_failed=yes
   12033 else
   12034   pkg_failed=yes
   12035 fi
   12036  else
   12037     pkg_failed=untried
   12038 fi
   12039 
   12040 
   12041 
   12042 if test $pkg_failed = yes; then
   12043    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12044 printf "%s\n" "no" >&6; }
   12045 
   12046 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   12047         _pkg_short_errors_supported=yes
   12048 else
   12049         _pkg_short_errors_supported=no
   12050 fi
   12051         if test $_pkg_short_errors_supported = yes; then
   12052 	        BMTOA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 xmu xproto >= 7.0.17" 2>&1`
   12053         else
   12054 	        BMTOA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 xmu xproto >= 7.0.17" 2>&1`
   12055         fi
   12056 	# Put the nasty error message in config.log where it belongs
   12057 	echo "$BMTOA_PKG_ERRORS" >&5
   12058 
   12059 	as_fn_error $? "Package requirements (x11 xmu xproto >= 7.0.17) were not met:
   12060 
   12061 $BMTOA_PKG_ERRORS
   12062 
   12063 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12064 installed software in a non-standard prefix.
   12065 
   12066 Alternatively, you may set the environment variables BMTOA_CFLAGS
   12067 and BMTOA_LIBS to avoid the need to call pkg-config.
   12068 See the pkg-config man page for more details." "$LINENO" 5
   12069 elif test $pkg_failed = untried; then
   12070      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12071 printf "%s\n" "no" >&6; }
   12072 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   12073 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   12074 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   12075 is in your PATH or set the PKG_CONFIG environment variable to the full
   12076 path to pkg-config.
   12077 
   12078 Alternatively, you may set the environment variables BMTOA_CFLAGS
   12079 and BMTOA_LIBS to avoid the need to call pkg-config.
   12080 See the pkg-config man page for more details.
   12081 
   12082 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12083 See 'config.log' for more details" "$LINENO" 5; }
   12084 else
   12085 	BMTOA_CFLAGS=$pkg_cv_BMTOA_CFLAGS
   12086 	BMTOA_LIBS=$pkg_cv_BMTOA_LIBS
   12087         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12088 printf "%s\n" "yes" >&6; }
   12089 
   12090 fi
   12091 
   12092 pkg_failed=no
   12093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ATOBM" >&5
   12094 printf %s "checking for ATOBM... " >&6; }
   12095 
   12096 if test -n "$ATOBM_CFLAGS"; then
   12097     pkg_cv_ATOBM_CFLAGS="$ATOBM_CFLAGS"
   12098  elif test -n "$PKG_CONFIG"; then
   12099     if test -n "$PKG_CONFIG" && \
   12100     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.25\""; } >&5
   12101   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.25") 2>&5
   12102   ac_status=$?
   12103   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12104   test $ac_status = 0; }; then
   12105   pkg_cv_ATOBM_CFLAGS=`$PKG_CONFIG --cflags "xproto >= 7.0.25" 2>/dev/null`
   12106 		      test "x$?" != "x0" && pkg_failed=yes
   12107 else
   12108   pkg_failed=yes
   12109 fi
   12110  else
   12111     pkg_failed=untried
   12112 fi
   12113 if test -n "$ATOBM_LIBS"; then
   12114     pkg_cv_ATOBM_LIBS="$ATOBM_LIBS"
   12115  elif test -n "$PKG_CONFIG"; then
   12116     if test -n "$PKG_CONFIG" && \
   12117     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.25\""; } >&5
   12118   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.25") 2>&5
   12119   ac_status=$?
   12120   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12121   test $ac_status = 0; }; then
   12122   pkg_cv_ATOBM_LIBS=`$PKG_CONFIG --libs "xproto >= 7.0.25" 2>/dev/null`
   12123 		      test "x$?" != "x0" && pkg_failed=yes
   12124 else
   12125   pkg_failed=yes
   12126 fi
   12127  else
   12128     pkg_failed=untried
   12129 fi
   12130 
   12131 
   12132 
   12133 if test $pkg_failed = yes; then
   12134    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12135 printf "%s\n" "no" >&6; }
   12136 
   12137 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   12138         _pkg_short_errors_supported=yes
   12139 else
   12140         _pkg_short_errors_supported=no
   12141 fi
   12142         if test $_pkg_short_errors_supported = yes; then
   12143 	        ATOBM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto >= 7.0.25" 2>&1`
   12144         else
   12145 	        ATOBM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto >= 7.0.25" 2>&1`
   12146         fi
   12147 	# Put the nasty error message in config.log where it belongs
   12148 	echo "$ATOBM_PKG_ERRORS" >&5
   12149 
   12150 	as_fn_error $? "Package requirements (xproto >= 7.0.25) were not met:
   12151 
   12152 $ATOBM_PKG_ERRORS
   12153 
   12154 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12155 installed software in a non-standard prefix.
   12156 
   12157 Alternatively, you may set the environment variables ATOBM_CFLAGS
   12158 and ATOBM_LIBS to avoid the need to call pkg-config.
   12159 See the pkg-config man page for more details." "$LINENO" 5
   12160 elif test $pkg_failed = untried; then
   12161      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12162 printf "%s\n" "no" >&6; }
   12163 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   12164 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   12165 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   12166 is in your PATH or set the PKG_CONFIG environment variable to the full
   12167 path to pkg-config.
   12168 
   12169 Alternatively, you may set the environment variables ATOBM_CFLAGS
   12170 and ATOBM_LIBS to avoid the need to call pkg-config.
   12171 See the pkg-config man page for more details.
   12172 
   12173 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12174 See 'config.log' for more details" "$LINENO" 5; }
   12175 else
   12176 	ATOBM_CFLAGS=$pkg_cv_ATOBM_CFLAGS
   12177 	ATOBM_LIBS=$pkg_cv_ATOBM_LIBS
   12178         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12179 printf "%s\n" "yes" >&6; }
   12180 
   12181 fi
   12182 
   12183 pkg_failed=no
   12184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BITMAP" >&5
   12185 printf %s "checking for BITMAP... " >&6; }
   12186 
   12187 if test -n "$BITMAP_CFLAGS"; then
   12188     pkg_cv_BITMAP_CFLAGS="$BITMAP_CFLAGS"
   12189  elif test -n "$PKG_CONFIG"; then
   12190     if test -n "$PKG_CONFIG" && \
   12191     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xbitmaps xaw7 xmu\""; } >&5
   12192   ($PKG_CONFIG --exists --print-errors "xbitmaps xaw7 xmu") 2>&5
   12193   ac_status=$?
   12194   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12195   test $ac_status = 0; }; then
   12196   pkg_cv_BITMAP_CFLAGS=`$PKG_CONFIG --cflags "xbitmaps xaw7 xmu" 2>/dev/null`
   12197 		      test "x$?" != "x0" && pkg_failed=yes
   12198 else
   12199   pkg_failed=yes
   12200 fi
   12201  else
   12202     pkg_failed=untried
   12203 fi
   12204 if test -n "$BITMAP_LIBS"; then
   12205     pkg_cv_BITMAP_LIBS="$BITMAP_LIBS"
   12206  elif test -n "$PKG_CONFIG"; then
   12207     if test -n "$PKG_CONFIG" && \
   12208     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xbitmaps xaw7 xmu\""; } >&5
   12209   ($PKG_CONFIG --exists --print-errors "xbitmaps xaw7 xmu") 2>&5
   12210   ac_status=$?
   12211   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12212   test $ac_status = 0; }; then
   12213   pkg_cv_BITMAP_LIBS=`$PKG_CONFIG --libs "xbitmaps xaw7 xmu" 2>/dev/null`
   12214 		      test "x$?" != "x0" && pkg_failed=yes
   12215 else
   12216   pkg_failed=yes
   12217 fi
   12218  else
   12219     pkg_failed=untried
   12220 fi
   12221 
   12222 
   12223 
   12224 if test $pkg_failed = yes; then
   12225    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12226 printf "%s\n" "no" >&6; }
   12227 
   12228 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   12229         _pkg_short_errors_supported=yes
   12230 else
   12231         _pkg_short_errors_supported=no
   12232 fi
   12233         if test $_pkg_short_errors_supported = yes; then
   12234 	        BITMAP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xbitmaps xaw7 xmu" 2>&1`
   12235         else
   12236 	        BITMAP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xbitmaps xaw7 xmu" 2>&1`
   12237         fi
   12238 	# Put the nasty error message in config.log where it belongs
   12239 	echo "$BITMAP_PKG_ERRORS" >&5
   12240 
   12241 	as_fn_error $? "Package requirements (xbitmaps xaw7 xmu) were not met:
   12242 
   12243 $BITMAP_PKG_ERRORS
   12244 
   12245 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12246 installed software in a non-standard prefix.
   12247 
   12248 Alternatively, you may set the environment variables BITMAP_CFLAGS
   12249 and BITMAP_LIBS to avoid the need to call pkg-config.
   12250 See the pkg-config man page for more details." "$LINENO" 5
   12251 elif test $pkg_failed = untried; then
   12252      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12253 printf "%s\n" "no" >&6; }
   12254 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   12255 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   12256 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   12257 is in your PATH or set the PKG_CONFIG environment variable to the full
   12258 path to pkg-config.
   12259 
   12260 Alternatively, you may set the environment variables BITMAP_CFLAGS
   12261 and BITMAP_LIBS to avoid the need to call pkg-config.
   12262 See the pkg-config man page for more details.
   12263 
   12264 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12265 See 'config.log' for more details" "$LINENO" 5; }
   12266 else
   12267 	BITMAP_CFLAGS=$pkg_cv_BITMAP_CFLAGS
   12268 	BITMAP_LIBS=$pkg_cv_BITMAP_LIBS
   12269         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12270 printf "%s\n" "yes" >&6; }
   12271 
   12272 fi
   12273 
   12274 
   12275 pkg_failed=no
   12276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for APPDEFS" >&5
   12277 printf %s "checking for APPDEFS... " >&6; }
   12278 
   12279 if test -n "$APPDEFS_CFLAGS"; then
   12280     pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS"
   12281  elif test -n "$PKG_CONFIG"; then
   12282     if test -n "$PKG_CONFIG" && \
   12283     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   12284   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   12285   ac_status=$?
   12286   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12287   test $ac_status = 0; }; then
   12288   pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
   12289 		      test "x$?" != "x0" && pkg_failed=yes
   12290 else
   12291   pkg_failed=yes
   12292 fi
   12293  else
   12294     pkg_failed=untried
   12295 fi
   12296 if test -n "$APPDEFS_LIBS"; then
   12297     pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS"
   12298  elif test -n "$PKG_CONFIG"; then
   12299     if test -n "$PKG_CONFIG" && \
   12300     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   12301   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   12302   ac_status=$?
   12303   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12304   test $ac_status = 0; }; then
   12305   pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
   12306 		      test "x$?" != "x0" && pkg_failed=yes
   12307 else
   12308   pkg_failed=yes
   12309 fi
   12310  else
   12311     pkg_failed=untried
   12312 fi
   12313 
   12314 
   12315 
   12316 if test $pkg_failed = yes; then
   12317    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12318 printf "%s\n" "no" >&6; }
   12319 
   12320 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   12321         _pkg_short_errors_supported=yes
   12322 else
   12323         _pkg_short_errors_supported=no
   12324 fi
   12325         if test $_pkg_short_errors_supported = yes; then
   12326 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xt" 2>&1`
   12327         else
   12328 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xt" 2>&1`
   12329         fi
   12330 	# Put the nasty error message in config.log where it belongs
   12331 	echo "$APPDEFS_PKG_ERRORS" >&5
   12332 
   12333 	as_fn_error $? "Package requirements (xt) were not met:
   12334 
   12335 $APPDEFS_PKG_ERRORS
   12336 
   12337 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12338 installed software in a non-standard prefix.
   12339 
   12340 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   12341 and APPDEFS_LIBS to avoid the need to call pkg-config.
   12342 See the pkg-config man page for more details." "$LINENO" 5
   12343 elif test $pkg_failed = untried; then
   12344      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12345 printf "%s\n" "no" >&6; }
   12346 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   12347 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   12348 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   12349 is in your PATH or set the PKG_CONFIG environment variable to the full
   12350 path to pkg-config.
   12351 
   12352 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   12353 and APPDEFS_LIBS to avoid the need to call pkg-config.
   12354 See the pkg-config man page for more details.
   12355 
   12356 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12357 See 'config.log' for more details" "$LINENO" 5; }
   12358 else
   12359 	APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS
   12360 	APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS
   12361         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12362 printf "%s\n" "yes" >&6; }
   12363 
   12364 fi
   12365 xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
   12366 
   12367 # Check whether --with-appdefaultdir was given.
   12368 if test ${with_appdefaultdir+y}
   12369 then :
   12370   withval=$with_appdefaultdir; appdefaultdir="$withval"
   12371 else case e in #(
   12372   e) appdefaultdir="${xt_appdefaultdir}" ;;
   12373 esac
   12374 fi
   12375 
   12376 
   12377 
   12378 ac_config_files="$ac_config_files Makefile man/Makefile"
   12379 
   12380 ac_config_files="$ac_config_files test/round-trip-test"
   12381 
   12382 cat >confcache <<\_ACEOF
   12383 # This file is a shell script that caches the results of configure
   12384 # tests run on this system so they can be shared between configure
   12385 # scripts and configure runs, see configure's option --config-cache.
   12386 # It is not useful on other systems.  If it contains results you don't
   12387 # want to keep, you may remove or edit it.
   12388 #
   12389 # config.status only pays attention to the cache file if you give it
   12390 # the --recheck option to rerun configure.
   12391 #
   12392 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   12393 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   12394 # following values.
   12395 
   12396 _ACEOF
   12397 
   12398 # The following way of writing the cache mishandles newlines in values,
   12399 # but we know of no workaround that is simple, portable, and efficient.
   12400 # So, we kill variables containing newlines.
   12401 # Ultrix sh set writes to stderr and can't be redirected directly,
   12402 # and sets the high bit in the cache file unless we assign to the vars.
   12403 (
   12404   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   12405     eval ac_val=\$$ac_var
   12406     case $ac_val in #(
   12407     *${as_nl}*)
   12408       case $ac_var in #(
   12409       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   12410 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   12411       esac
   12412       case $ac_var in #(
   12413       _ | IFS | as_nl) ;; #(
   12414       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   12415       *) { eval $ac_var=; unset $ac_var;} ;;
   12416       esac ;;
   12417     esac
   12418   done
   12419 
   12420   (set) 2>&1 |
   12421     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   12422     *${as_nl}ac_space=\ *)
   12423       # 'set' does not quote correctly, so add quotes: double-quote
   12424       # substitution turns \\\\ into \\, and sed turns \\ into \.
   12425       sed -n \
   12426 	"s/'/'\\\\''/g;
   12427 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   12428       ;; #(
   12429     *)
   12430       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   12431       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   12432       ;;
   12433     esac |
   12434     sort
   12435 ) |
   12436   sed '
   12437      /^ac_cv_env_/b end
   12438      t clear
   12439      :clear
   12440      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   12441      t end
   12442      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   12443      :end' >>confcache
   12444 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   12445   if test -w "$cache_file"; then
   12446     if test "x$cache_file" != "x/dev/null"; then
   12447       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   12448 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   12449       if test ! -f "$cache_file" || test -h "$cache_file"; then
   12450 	cat confcache >"$cache_file"
   12451       else
   12452         case $cache_file in #(
   12453         */* | ?:*)
   12454 	  mv -f confcache "$cache_file"$$ &&
   12455 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   12456         *)
   12457 	  mv -f confcache "$cache_file" ;;
   12458 	esac
   12459       fi
   12460     fi
   12461   else
   12462     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   12463 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   12464   fi
   12465 fi
   12466 rm -f confcache
   12467 
   12468 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   12469 # Let make expand exec_prefix.
   12470 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   12471 
   12472 DEFS=-DHAVE_CONFIG_H
   12473 
   12474 ac_libobjs=
   12475 ac_ltlibobjs=
   12476 U=
   12477 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   12478   # 1. Remove the extension, and $U if already installed.
   12479   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   12480   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   12481   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   12482   #    will be set to the directory where LIBOBJS objects are built.
   12483   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   12484   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   12485 done
   12486 LIBOBJS=$ac_libobjs
   12487 
   12488 LTLIBOBJS=$ac_ltlibobjs
   12489 
   12490 
   12491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   12492 printf %s "checking that generated files are newer than configure... " >&6; }
   12493    if test -n "$am_sleep_pid"; then
   12494      # Hide warnings about reused PIDs.
   12495      wait $am_sleep_pid 2>/dev/null
   12496    fi
   12497    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   12498 printf "%s\n" "done" >&6; }
   12499 case $enable_silent_rules in # (((
   12500   yes) AM_DEFAULT_VERBOSITY=0;;
   12501    no) AM_DEFAULT_VERBOSITY=1;;
   12502 esac
   12503 if test $am_cv_make_support_nested_variables = yes; then
   12504     AM_V='$(V)'
   12505   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   12506 else
   12507   AM_V=$AM_DEFAULT_VERBOSITY
   12508   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   12509 fi
   12510 
   12511  if test -n "$EXEEXT"; then
   12512   am__EXEEXT_TRUE=
   12513   am__EXEEXT_FALSE='#'
   12514 else
   12515   am__EXEEXT_TRUE='#'
   12516   am__EXEEXT_FALSE=
   12517 fi
   12518 
   12519 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   12520   as_fn_error $? "conditional \"AMDEP\" was never defined.
   12521 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12522 fi
   12523 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   12524   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   12525 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12526 fi
   12527 # Check whether --enable-year2038 was given.
   12528 if test ${enable_year2038+y}
   12529 then :
   12530   enableval=$enable_year2038;
   12531 fi
   12532 
   12533 
   12534 : "${CONFIG_STATUS=./config.status}"
   12535 ac_write_fail=0
   12536 ac_clean_files_save=$ac_clean_files
   12537 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   12538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   12539 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   12540 as_write_fail=0
   12541 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   12542 #! $SHELL
   12543 # Generated by $as_me.
   12544 # Run this file to recreate the current configuration.
   12545 # Compiler output produced by configure, useful for debugging
   12546 # configure, is in config.log if it exists.
   12547 
   12548 debug=false
   12549 ac_cs_recheck=false
   12550 ac_cs_silent=false
   12551 
   12552 SHELL=\${CONFIG_SHELL-$SHELL}
   12553 export SHELL
   12554 _ASEOF
   12555 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   12556 ## -------------------- ##
   12557 ## M4sh Initialization. ##
   12558 ## -------------------- ##
   12559 
   12560 # Be more Bourne compatible
   12561 DUALCASE=1; export DUALCASE # for MKS sh
   12562 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   12563 then :
   12564   emulate sh
   12565   NULLCMD=:
   12566   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   12567   # is contrary to our usage.  Disable this feature.
   12568   alias -g '${1+"$@"}'='"$@"'
   12569   setopt NO_GLOB_SUBST
   12570 else case e in #(
   12571   e) case `(set -o) 2>/dev/null` in #(
   12572   *posix*) :
   12573     set -o posix ;; #(
   12574   *) :
   12575      ;;
   12576 esac ;;
   12577 esac
   12578 fi
   12579 
   12580 
   12581 
   12582 # Reset variables that may have inherited troublesome values from
   12583 # the environment.
   12584 
   12585 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   12586 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   12587 # side effect of setting IFS to empty, thus disabling word splitting.)
   12588 # Quoting is to prevent editors from complaining about space-tab.
   12589 as_nl='
   12590 '
   12591 export as_nl
   12592 IFS=" ""	$as_nl"
   12593 
   12594 PS1='$ '
   12595 PS2='> '
   12596 PS4='+ '
   12597 
   12598 # Ensure predictable behavior from utilities with locale-dependent output.
   12599 LC_ALL=C
   12600 export LC_ALL
   12601 LANGUAGE=C
   12602 export LANGUAGE
   12603 
   12604 # We cannot yet rely on "unset" to work, but we need these variables
   12605 # to be unset--not just set to an empty or harmless value--now, to
   12606 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   12607 # also avoids known problems related to "unset" and subshell syntax
   12608 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   12609 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   12610 do eval test \${$as_var+y} \
   12611   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   12612 done
   12613 
   12614 # Ensure that fds 0, 1, and 2 are open.
   12615 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   12616 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   12617 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   12618 
   12619 # The user is always right.
   12620 if ${PATH_SEPARATOR+false} :; then
   12621   PATH_SEPARATOR=:
   12622   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   12623     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   12624       PATH_SEPARATOR=';'
   12625   }
   12626 fi
   12627 
   12628 
   12629 # Find who we are.  Look in the path if we contain no directory separator.
   12630 as_myself=
   12631 case $0 in #((
   12632   *[\\/]* ) as_myself=$0 ;;
   12633   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12634 for as_dir in $PATH
   12635 do
   12636   IFS=$as_save_IFS
   12637   case $as_dir in #(((
   12638     '') as_dir=./ ;;
   12639     */) ;;
   12640     *) as_dir=$as_dir/ ;;
   12641   esac
   12642     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   12643   done
   12644 IFS=$as_save_IFS
   12645 
   12646      ;;
   12647 esac
   12648 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   12649 # in which case we are not to be found in the path.
   12650 if test "x$as_myself" = x; then
   12651   as_myself=$0
   12652 fi
   12653 if test ! -f "$as_myself"; then
   12654   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   12655   exit 1
   12656 fi
   12657 
   12658 
   12659 
   12660 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   12661 # ----------------------------------------
   12662 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   12663 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   12664 # script with STATUS, using 1 if that was 0.
   12665 as_fn_error ()
   12666 {
   12667   as_status=$1; test $as_status -eq 0 && as_status=1
   12668   if test "$4"; then
   12669     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   12670     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   12671   fi
   12672   printf "%s\n" "$as_me: error: $2" >&2
   12673   as_fn_exit $as_status
   12674 } # as_fn_error
   12675 
   12676 
   12677 # as_fn_set_status STATUS
   12678 # -----------------------
   12679 # Set $? to STATUS, without forking.
   12680 as_fn_set_status ()
   12681 {
   12682   return $1
   12683 } # as_fn_set_status
   12684 
   12685 # as_fn_exit STATUS
   12686 # -----------------
   12687 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   12688 as_fn_exit ()
   12689 {
   12690   set +e
   12691   as_fn_set_status $1
   12692   exit $1
   12693 } # as_fn_exit
   12694 
   12695 # as_fn_unset VAR
   12696 # ---------------
   12697 # Portably unset VAR.
   12698 as_fn_unset ()
   12699 {
   12700   { eval $1=; unset $1;}
   12701 }
   12702 as_unset=as_fn_unset
   12703 
   12704 # as_fn_append VAR VALUE
   12705 # ----------------------
   12706 # Append the text in VALUE to the end of the definition contained in VAR. Take
   12707 # advantage of any shell optimizations that allow amortized linear growth over
   12708 # repeated appends, instead of the typical quadratic growth present in naive
   12709 # implementations.
   12710 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   12711 then :
   12712   eval 'as_fn_append ()
   12713   {
   12714     eval $1+=\$2
   12715   }'
   12716 else case e in #(
   12717   e) as_fn_append ()
   12718   {
   12719     eval $1=\$$1\$2
   12720   } ;;
   12721 esac
   12722 fi # as_fn_append
   12723 
   12724 # as_fn_arith ARG...
   12725 # ------------------
   12726 # Perform arithmetic evaluation on the ARGs, and store the result in the
   12727 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   12728 # must be portable across $(()) and expr.
   12729 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   12730 then :
   12731   eval 'as_fn_arith ()
   12732   {
   12733     as_val=$(( $* ))
   12734   }'
   12735 else case e in #(
   12736   e) as_fn_arith ()
   12737   {
   12738     as_val=`expr "$@" || test $? -eq 1`
   12739   } ;;
   12740 esac
   12741 fi # as_fn_arith
   12742 
   12743 
   12744 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12745    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12746   as_expr=expr
   12747 else
   12748   as_expr=false
   12749 fi
   12750 
   12751 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12752   as_basename=basename
   12753 else
   12754   as_basename=false
   12755 fi
   12756 
   12757 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12758   as_dirname=dirname
   12759 else
   12760   as_dirname=false
   12761 fi
   12762 
   12763 as_me=`$as_basename -- "$0" ||
   12764 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12765 	 X"$0" : 'X\(//\)$' \| \
   12766 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12767 printf "%s\n" X/"$0" |
   12768     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12769 	    s//\1/
   12770 	    q
   12771 	  }
   12772 	  /^X\/\(\/\/\)$/{
   12773 	    s//\1/
   12774 	    q
   12775 	  }
   12776 	  /^X\/\(\/\).*/{
   12777 	    s//\1/
   12778 	    q
   12779 	  }
   12780 	  s/.*/./; q'`
   12781 
   12782 # Avoid depending upon Character Ranges.
   12783 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12784 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12785 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12786 as_cr_digits='0123456789'
   12787 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12788 
   12789 
   12790 # Determine whether it's possible to make 'echo' print without a newline.
   12791 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   12792 # for compatibility with existing Makefiles.
   12793 ECHO_C= ECHO_N= ECHO_T=
   12794 case `echo -n x` in #(((((
   12795 -n*)
   12796   case `echo 'xy\c'` in
   12797   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   12798   xy)  ECHO_C='\c';;
   12799   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   12800        ECHO_T='	';;
   12801   esac;;
   12802 *)
   12803   ECHO_N='-n';;
   12804 esac
   12805 
   12806 # For backward compatibility with old third-party macros, we provide
   12807 # the shell variables $as_echo and $as_echo_n.  New code should use
   12808 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   12809 as_echo='printf %s\n'
   12810 as_echo_n='printf %s'
   12811 
   12812 rm -f conf$$ conf$$.exe conf$$.file
   12813 if test -d conf$$.dir; then
   12814   rm -f conf$$.dir/conf$$.file
   12815 else
   12816   rm -f conf$$.dir
   12817   mkdir conf$$.dir 2>/dev/null
   12818 fi
   12819 if (echo >conf$$.file) 2>/dev/null; then
   12820   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12821     as_ln_s='ln -s'
   12822     # ... but there are two gotchas:
   12823     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   12824     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   12825     # In both cases, we have to default to 'cp -pR'.
   12826     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12827       as_ln_s='cp -pR'
   12828   elif ln conf$$.file conf$$ 2>/dev/null; then
   12829     as_ln_s=ln
   12830   else
   12831     as_ln_s='cp -pR'
   12832   fi
   12833 else
   12834   as_ln_s='cp -pR'
   12835 fi
   12836 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12837 rmdir conf$$.dir 2>/dev/null
   12838 
   12839 
   12840 # as_fn_mkdir_p
   12841 # -------------
   12842 # Create "$as_dir" as a directory, including parents if necessary.
   12843 as_fn_mkdir_p ()
   12844 {
   12845 
   12846   case $as_dir in #(
   12847   -*) as_dir=./$as_dir;;
   12848   esac
   12849   test -d "$as_dir" || eval $as_mkdir_p || {
   12850     as_dirs=
   12851     while :; do
   12852       case $as_dir in #(
   12853       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12854       *) as_qdir=$as_dir;;
   12855       esac
   12856       as_dirs="'$as_qdir' $as_dirs"
   12857       as_dir=`$as_dirname -- "$as_dir" ||
   12858 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12859 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12860 	 X"$as_dir" : 'X\(//\)$' \| \
   12861 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12862 printf "%s\n" X"$as_dir" |
   12863     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12864 	    s//\1/
   12865 	    q
   12866 	  }
   12867 	  /^X\(\/\/\)[^/].*/{
   12868 	    s//\1/
   12869 	    q
   12870 	  }
   12871 	  /^X\(\/\/\)$/{
   12872 	    s//\1/
   12873 	    q
   12874 	  }
   12875 	  /^X\(\/\).*/{
   12876 	    s//\1/
   12877 	    q
   12878 	  }
   12879 	  s/.*/./; q'`
   12880       test -d "$as_dir" && break
   12881     done
   12882     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12883   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12884 
   12885 
   12886 } # as_fn_mkdir_p
   12887 if mkdir -p . 2>/dev/null; then
   12888   as_mkdir_p='mkdir -p "$as_dir"'
   12889 else
   12890   test -d ./-p && rmdir ./-p
   12891   as_mkdir_p=false
   12892 fi
   12893 
   12894 
   12895 # as_fn_executable_p FILE
   12896 # -----------------------
   12897 # Test if FILE is an executable regular file.
   12898 as_fn_executable_p ()
   12899 {
   12900   test -f "$1" && test -x "$1"
   12901 } # as_fn_executable_p
   12902 as_test_x='test -x'
   12903 as_executable_p=as_fn_executable_p
   12904 
   12905 # Sed expression to map a string onto a valid CPP name.
   12906 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   12907 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   12908 
   12909 # Sed expression to map a string onto a valid variable name.
   12910 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   12911 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   12912 
   12913 
   12914 exec 6>&1
   12915 ## ----------------------------------- ##
   12916 ## Main body of $CONFIG_STATUS script. ##
   12917 ## ----------------------------------- ##
   12918 _ASEOF
   12919 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   12920 
   12921 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12922 # Save the log message, to keep $0 and so on meaningful, and to
   12923 # report actual input values of CONFIG_FILES etc. instead of their
   12924 # values after options handling.
   12925 ac_log="
   12926 This file was extended by bitmap $as_me 1.1.2, which was
   12927 generated by GNU Autoconf 2.72.  Invocation command line was
   12928 
   12929   CONFIG_FILES    = $CONFIG_FILES
   12930   CONFIG_HEADERS  = $CONFIG_HEADERS
   12931   CONFIG_LINKS    = $CONFIG_LINKS
   12932   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12933   $ $0 $@
   12934 
   12935 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12936 "
   12937 
   12938 _ACEOF
   12939 
   12940 case $ac_config_files in *"
   12941 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12942 esac
   12943 
   12944 case $ac_config_headers in *"
   12945 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12946 esac
   12947 
   12948 
   12949 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12950 # Files that config.status was made for.
   12951 config_files="$ac_config_files"
   12952 config_headers="$ac_config_headers"
   12953 config_commands="$ac_config_commands"
   12954 
   12955 _ACEOF
   12956 
   12957 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12958 ac_cs_usage="\
   12959 '$as_me' instantiates files and other configuration actions
   12960 from templates according to the current configuration.  Unless the files
   12961 and actions are specified as TAGs, all are instantiated by default.
   12962 
   12963 Usage: $0 [OPTION]... [TAG]...
   12964 
   12965   -h, --help       print this help, then exit
   12966   -V, --version    print version number and configuration settings, then exit
   12967       --config     print configuration, then exit
   12968   -q, --quiet, --silent
   12969                    do not print progress messages
   12970   -d, --debug      don't remove temporary files
   12971       --recheck    update $as_me by reconfiguring in the same conditions
   12972       --file=FILE[:TEMPLATE]
   12973                    instantiate the configuration file FILE
   12974       --header=FILE[:TEMPLATE]
   12975                    instantiate the configuration header FILE
   12976 
   12977 Configuration files:
   12978 $config_files
   12979 
   12980 Configuration headers:
   12981 $config_headers
   12982 
   12983 Configuration commands:
   12984 $config_commands
   12985 
   12986 Report bugs to <https://gitlab.freedesktop.org/xorg/app/bitmap/-/issues>."
   12987 
   12988 _ACEOF
   12989 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   12990 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   12991 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12992 ac_cs_config='$ac_cs_config_escaped'
   12993 ac_cs_version="\\
   12994 bitmap config.status 1.1.2
   12995 configured by $0, generated by GNU Autoconf 2.72,
   12996   with options \\"\$ac_cs_config\\"
   12997 
   12998 Copyright (C) 2023 Free Software Foundation, Inc.
   12999 This config.status script is free software; the Free Software Foundation
   13000 gives unlimited permission to copy, distribute and modify it."
   13001 
   13002 ac_pwd='$ac_pwd'
   13003 srcdir='$srcdir'
   13004 INSTALL='$INSTALL'
   13005 MKDIR_P='$MKDIR_P'
   13006 AWK='$AWK'
   13007 test -n "\$AWK" || AWK=awk
   13008 _ACEOF
   13009 
   13010 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13011 # The default lists apply if the user does not specify any file.
   13012 ac_need_defaults=:
   13013 while test $# != 0
   13014 do
   13015   case $1 in
   13016   --*=?*)
   13017     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   13018     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   13019     ac_shift=:
   13020     ;;
   13021   --*=)
   13022     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   13023     ac_optarg=
   13024     ac_shift=:
   13025     ;;
   13026   *)
   13027     ac_option=$1
   13028     ac_optarg=$2
   13029     ac_shift=shift
   13030     ;;
   13031   esac
   13032 
   13033   case $ac_option in
   13034   # Handling of the options.
   13035   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   13036     ac_cs_recheck=: ;;
   13037   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   13038     printf "%s\n" "$ac_cs_version"; exit ;;
   13039   --config | --confi | --conf | --con | --co | --c )
   13040     printf "%s\n" "$ac_cs_config"; exit ;;
   13041   --debug | --debu | --deb | --de | --d | -d )
   13042     debug=: ;;
   13043   --file | --fil | --fi | --f )
   13044     $ac_shift
   13045     case $ac_optarg in
   13046     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   13047     '') as_fn_error $? "missing file argument" ;;
   13048     esac
   13049     as_fn_append CONFIG_FILES " '$ac_optarg'"
   13050     ac_need_defaults=false;;
   13051   --header | --heade | --head | --hea )
   13052     $ac_shift
   13053     case $ac_optarg in
   13054     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   13055     esac
   13056     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   13057     ac_need_defaults=false;;
   13058   --he | --h)
   13059     # Conflict between --help and --header
   13060     as_fn_error $? "ambiguous option: '$1'
   13061 Try '$0 --help' for more information.";;
   13062   --help | --hel | -h )
   13063     printf "%s\n" "$ac_cs_usage"; exit ;;
   13064   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   13065   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   13066     ac_cs_silent=: ;;
   13067 
   13068   # This is an error.
   13069   -*) as_fn_error $? "unrecognized option: '$1'
   13070 Try '$0 --help' for more information." ;;
   13071 
   13072   *) as_fn_append ac_config_targets " $1"
   13073      ac_need_defaults=false ;;
   13074 
   13075   esac
   13076   shift
   13077 done
   13078 
   13079 ac_configure_extra_args=
   13080 
   13081 if $ac_cs_silent; then
   13082   exec 6>/dev/null
   13083   ac_configure_extra_args="$ac_configure_extra_args --silent"
   13084 fi
   13085 
   13086 _ACEOF
   13087 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13088 if \$ac_cs_recheck; then
   13089   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   13090   shift
   13091   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   13092   CONFIG_SHELL='$SHELL'
   13093   export CONFIG_SHELL
   13094   exec "\$@"
   13095 fi
   13096 
   13097 _ACEOF
   13098 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13099 exec 5>>config.log
   13100 {
   13101   echo
   13102   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   13103 ## Running $as_me. ##
   13104 _ASBOX
   13105   printf "%s\n" "$ac_log"
   13106 } >&5
   13107 
   13108 _ACEOF
   13109 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13110 #
   13111 # INIT-COMMANDS
   13112 #
   13113 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   13114 
   13115 _ACEOF
   13116 
   13117 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13118 
   13119 # Handling of arguments.
   13120 for ac_config_target in $ac_config_targets
   13121 do
   13122   case $ac_config_target in
   13123     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   13124     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   13125     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   13126     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   13127     "test/round-trip-test") CONFIG_FILES="$CONFIG_FILES test/round-trip-test" ;;
   13128 
   13129   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   13130   esac
   13131 done
   13132 
   13133 
   13134 # If the user did not use the arguments to specify the items to instantiate,
   13135 # then the envvar interface is used.  Set only those that are not.
   13136 # We use the long form for the default assignment because of an extremely
   13137 # bizarre bug on SunOS 4.1.3.
   13138 if $ac_need_defaults; then
   13139   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   13140   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   13141   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   13142 fi
   13143 
   13144 # Have a temporary directory for convenience.  Make it in the build tree
   13145 # simply because there is no reason against having it here, and in addition,
   13146 # creating and moving files from /tmp can sometimes cause problems.
   13147 # Hook for its removal unless debugging.
   13148 # Note that there is a small window in which the directory will not be cleaned:
   13149 # after its creation but before its name has been assigned to '$tmp'.
   13150 $debug ||
   13151 {
   13152   tmp= ac_tmp=
   13153   trap 'exit_status=$?
   13154   : "${ac_tmp:=$tmp}"
   13155   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   13156 ' 0
   13157   trap 'as_fn_exit 1' 1 2 13 15
   13158 }
   13159 # Create a (secure) tmp directory for tmp files.
   13160 
   13161 {
   13162   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   13163   test -d "$tmp"
   13164 }  ||
   13165 {
   13166   tmp=./conf$$-$RANDOM
   13167   (umask 077 && mkdir "$tmp")
   13168 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   13169 ac_tmp=$tmp
   13170 
   13171 # Set up the scripts for CONFIG_FILES section.
   13172 # No need to generate them if there are no CONFIG_FILES.
   13173 # This happens for instance with './config.status config.h'.
   13174 if test -n "$CONFIG_FILES"; then
   13175 
   13176 
   13177 ac_cr=`echo X | tr X '\015'`
   13178 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   13179 # But we know of no other shell where ac_cr would be empty at this
   13180 # point, so we can use a bashism as a fallback.
   13181 if test "x$ac_cr" = x; then
   13182   eval ac_cr=\$\'\\r\'
   13183 fi
   13184 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   13185 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   13186   ac_cs_awk_cr='\\r'
   13187 else
   13188   ac_cs_awk_cr=$ac_cr
   13189 fi
   13190 
   13191 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   13192 _ACEOF
   13193 
   13194 
   13195 {
   13196   echo "cat >conf$$subs.awk <<_ACEOF" &&
   13197   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   13198   echo "_ACEOF"
   13199 } >conf$$subs.sh ||
   13200   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13201 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   13202 ac_delim='%!_!# '
   13203 for ac_last_try in false false false false false :; do
   13204   . ./conf$$subs.sh ||
   13205     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13206 
   13207   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   13208   if test $ac_delim_n = $ac_delim_num; then
   13209     break
   13210   elif $ac_last_try; then
   13211     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13212   else
   13213     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13214   fi
   13215 done
   13216 rm -f conf$$subs.sh
   13217 
   13218 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13219 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   13220 _ACEOF
   13221 sed -n '
   13222 h
   13223 s/^/S["/; s/!.*/"]=/
   13224 p
   13225 g
   13226 s/^[^!]*!//
   13227 :repl
   13228 t repl
   13229 s/'"$ac_delim"'$//
   13230 t delim
   13231 :nl
   13232 h
   13233 s/\(.\{148\}\)..*/\1/
   13234 t more1
   13235 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   13236 p
   13237 n
   13238 b repl
   13239 :more1
   13240 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13241 p
   13242 g
   13243 s/.\{148\}//
   13244 t nl
   13245 :delim
   13246 h
   13247 s/\(.\{148\}\)..*/\1/
   13248 t more2
   13249 s/["\\]/\\&/g; s/^/"/; s/$/"/
   13250 p
   13251 b
   13252 :more2
   13253 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13254 p
   13255 g
   13256 s/.\{148\}//
   13257 t delim
   13258 ' <conf$$subs.awk | sed '
   13259 /^[^""]/{
   13260   N
   13261   s/\n//
   13262 }
   13263 ' >>$CONFIG_STATUS || ac_write_fail=1
   13264 rm -f conf$$subs.awk
   13265 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13266 _ACAWK
   13267 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   13268   for (key in S) S_is_set[key] = 1
   13269   FS = ""
   13270 
   13271 }
   13272 {
   13273   line = $ 0
   13274   nfields = split(line, field, "@")
   13275   substed = 0
   13276   len = length(field[1])
   13277   for (i = 2; i < nfields; i++) {
   13278     key = field[i]
   13279     keylen = length(key)
   13280     if (S_is_set[key]) {
   13281       value = S[key]
   13282       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   13283       len += length(value) + length(field[++i])
   13284       substed = 1
   13285     } else
   13286       len += 1 + keylen
   13287   }
   13288 
   13289   print line
   13290 }
   13291 
   13292 _ACAWK
   13293 _ACEOF
   13294 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13295 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   13296   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   13297 else
   13298   cat
   13299 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   13300   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   13301 _ACEOF
   13302 
   13303 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   13304 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   13305 # trailing colons and then remove the whole line if VPATH becomes empty
   13306 # (actually we leave an empty line to preserve line numbers).
   13307 if test "x$srcdir" = x.; then
   13308   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   13309 h
   13310 s///
   13311 s/^/:/
   13312 s/[	 ]*$/:/
   13313 s/:\$(srcdir):/:/g
   13314 s/:\${srcdir}:/:/g
   13315 s/:@srcdir@:/:/g
   13316 s/^:*//
   13317 s/:*$//
   13318 x
   13319 s/\(=[	 ]*\).*/\1/
   13320 G
   13321 s/\n//
   13322 s/^[^=]*=[	 ]*$//
   13323 }'
   13324 fi
   13325 
   13326 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13327 fi # test -n "$CONFIG_FILES"
   13328 
   13329 # Set up the scripts for CONFIG_HEADERS section.
   13330 # No need to generate them if there are no CONFIG_HEADERS.
   13331 # This happens for instance with './config.status Makefile'.
   13332 if test -n "$CONFIG_HEADERS"; then
   13333 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   13334 BEGIN {
   13335 _ACEOF
   13336 
   13337 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   13338 # here-document in config.status, that substitutes the proper values into
   13339 # config.h.in to produce config.h.
   13340 
   13341 # Create a delimiter string that does not exist in confdefs.h, to ease
   13342 # handling of long lines.
   13343 ac_delim='%!_!# '
   13344 for ac_last_try in false false :; do
   13345   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   13346   if test -z "$ac_tt"; then
   13347     break
   13348   elif $ac_last_try; then
   13349     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   13350   else
   13351     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13352   fi
   13353 done
   13354 
   13355 # For the awk script, D is an array of macro values keyed by name,
   13356 # likewise P contains macro parameters if any.  Preserve backslash
   13357 # newline sequences.
   13358 
   13359 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   13360 sed -n '
   13361 s/.\{148\}/&'"$ac_delim"'/g
   13362 t rset
   13363 :rset
   13364 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   13365 t def
   13366 d
   13367 :def
   13368 s/\\$//
   13369 t bsnl
   13370 s/["\\]/\\&/g
   13371 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13372 D["\1"]=" \3"/p
   13373 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   13374 d
   13375 :bsnl
   13376 s/["\\]/\\&/g
   13377 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13378 D["\1"]=" \3\\\\\\n"\\/p
   13379 t cont
   13380 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   13381 t cont
   13382 d
   13383 :cont
   13384 n
   13385 s/.\{148\}/&'"$ac_delim"'/g
   13386 t clear
   13387 :clear
   13388 s/\\$//
   13389 t bsnlc
   13390 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   13391 d
   13392 :bsnlc
   13393 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   13394 b cont
   13395 ' <confdefs.h | sed '
   13396 s/'"$ac_delim"'/"\\\
   13397 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   13398 
   13399 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13400   for (key in D) D_is_set[key] = 1
   13401   FS = ""
   13402 }
   13403 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   13404   line = \$ 0
   13405   split(line, arg, " ")
   13406   if (arg[1] == "#") {
   13407     defundef = arg[2]
   13408     mac1 = arg[3]
   13409   } else {
   13410     defundef = substr(arg[1], 2)
   13411     mac1 = arg[2]
   13412   }
   13413   split(mac1, mac2, "(") #)
   13414   macro = mac2[1]
   13415   prefix = substr(line, 1, index(line, defundef) - 1)
   13416   if (D_is_set[macro]) {
   13417     # Preserve the white space surrounding the "#".
   13418     print prefix "define", macro P[macro] D[macro]
   13419     next
   13420   } else {
   13421     # Replace #undef with comments.  This is necessary, for example,
   13422     # in the case of _POSIX_SOURCE, which is predefined and required
   13423     # on some systems where configure will not decide to define it.
   13424     if (defundef == "undef") {
   13425       print "/*", prefix defundef, macro, "*/"
   13426       next
   13427     }
   13428   }
   13429 }
   13430 { print }
   13431 _ACAWK
   13432 _ACEOF
   13433 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13434   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   13435 fi # test -n "$CONFIG_HEADERS"
   13436 
   13437 
   13438 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   13439 shift
   13440 for ac_tag
   13441 do
   13442   case $ac_tag in
   13443   :[FHLC]) ac_mode=$ac_tag; continue;;
   13444   esac
   13445   case $ac_mode$ac_tag in
   13446   :[FHL]*:*);;
   13447   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   13448   :[FH]-) ac_tag=-:-;;
   13449   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   13450   esac
   13451   ac_save_IFS=$IFS
   13452   IFS=:
   13453   set x $ac_tag
   13454   IFS=$ac_save_IFS
   13455   shift
   13456   ac_file=$1
   13457   shift
   13458 
   13459   case $ac_mode in
   13460   :L) ac_source=$1;;
   13461   :[FH])
   13462     ac_file_inputs=
   13463     for ac_f
   13464     do
   13465       case $ac_f in
   13466       -) ac_f="$ac_tmp/stdin";;
   13467       *) # Look for the file first in the build tree, then in the source tree
   13468 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   13469 	 # because $ac_f cannot contain ':'.
   13470 	 test -f "$ac_f" ||
   13471 	   case $ac_f in
   13472 	   [\\/$]*) false;;
   13473 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   13474 	   esac ||
   13475 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   13476       esac
   13477       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   13478       as_fn_append ac_file_inputs " '$ac_f'"
   13479     done
   13480 
   13481     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   13482     # use $as_me), people would be surprised to read:
   13483     #    /* config.h.  Generated by config.status.  */
   13484     configure_input='Generated from '`
   13485 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   13486 	`' by configure.'
   13487     if test x"$ac_file" != x-; then
   13488       configure_input="$ac_file.  $configure_input"
   13489       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   13490 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   13491     fi
   13492     # Neutralize special characters interpreted by sed in replacement strings.
   13493     case $configure_input in #(
   13494     *\&* | *\|* | *\\* )
   13495        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   13496        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   13497     *) ac_sed_conf_input=$configure_input;;
   13498     esac
   13499 
   13500     case $ac_tag in
   13501     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   13502       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   13503     esac
   13504     ;;
   13505   esac
   13506 
   13507   ac_dir=`$as_dirname -- "$ac_file" ||
   13508 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13509 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   13510 	 X"$ac_file" : 'X\(//\)$' \| \
   13511 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   13512 printf "%s\n" X"$ac_file" |
   13513     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13514 	    s//\1/
   13515 	    q
   13516 	  }
   13517 	  /^X\(\/\/\)[^/].*/{
   13518 	    s//\1/
   13519 	    q
   13520 	  }
   13521 	  /^X\(\/\/\)$/{
   13522 	    s//\1/
   13523 	    q
   13524 	  }
   13525 	  /^X\(\/\).*/{
   13526 	    s//\1/
   13527 	    q
   13528 	  }
   13529 	  s/.*/./; q'`
   13530   as_dir="$ac_dir"; as_fn_mkdir_p
   13531   ac_builddir=.
   13532 
   13533 case "$ac_dir" in
   13534 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13535 *)
   13536   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   13537   # A ".." for each directory in $ac_dir_suffix.
   13538   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   13539   case $ac_top_builddir_sub in
   13540   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13541   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   13542   esac ;;
   13543 esac
   13544 ac_abs_top_builddir=$ac_pwd
   13545 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   13546 # for backward compatibility:
   13547 ac_top_builddir=$ac_top_build_prefix
   13548 
   13549 case $srcdir in
   13550   .)  # We are building in place.
   13551     ac_srcdir=.
   13552     ac_top_srcdir=$ac_top_builddir_sub
   13553     ac_abs_top_srcdir=$ac_pwd ;;
   13554   [\\/]* | ?:[\\/]* )  # Absolute name.
   13555     ac_srcdir=$srcdir$ac_dir_suffix;
   13556     ac_top_srcdir=$srcdir
   13557     ac_abs_top_srcdir=$srcdir ;;
   13558   *) # Relative name.
   13559     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   13560     ac_top_srcdir=$ac_top_build_prefix$srcdir
   13561     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   13562 esac
   13563 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   13564 
   13565 
   13566   case $ac_mode in
   13567   :F)
   13568   #
   13569   # CONFIG_FILE
   13570   #
   13571 
   13572   case $INSTALL in
   13573   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   13574   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   13575   esac
   13576   ac_MKDIR_P=$MKDIR_P
   13577   case $MKDIR_P in
   13578   [\\/$]* | ?:[\\/]* ) ;;
   13579   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   13580   esac
   13581 _ACEOF
   13582 
   13583 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13584 # If the template does not know about datarootdir, expand it.
   13585 # FIXME: This hack should be removed a few years after 2.60.
   13586 ac_datarootdir_hack=; ac_datarootdir_seen=
   13587 ac_sed_dataroot='
   13588 /datarootdir/ {
   13589   p
   13590   q
   13591 }
   13592 /@datadir@/p
   13593 /@docdir@/p
   13594 /@infodir@/p
   13595 /@localedir@/p
   13596 /@mandir@/p'
   13597 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   13598 *datarootdir*) ac_datarootdir_seen=yes;;
   13599 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   13600   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   13601 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   13602 _ACEOF
   13603 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13604   ac_datarootdir_hack='
   13605   s&@datadir@&$datadir&g
   13606   s&@docdir@&$docdir&g
   13607   s&@infodir@&$infodir&g
   13608   s&@localedir@&$localedir&g
   13609   s&@mandir@&$mandir&g
   13610   s&\\\${datarootdir}&$datarootdir&g' ;;
   13611 esac
   13612 _ACEOF
   13613 
   13614 # Neutralize VPATH when '$srcdir' = '.'.
   13615 # Shell code in configure.ac might set extrasub.
   13616 # FIXME: do we really want to maintain this feature?
   13617 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13618 ac_sed_extra="$ac_vpsub
   13619 $extrasub
   13620 _ACEOF
   13621 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13622 :t
   13623 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   13624 s|@configure_input@|$ac_sed_conf_input|;t t
   13625 s&@top_builddir@&$ac_top_builddir_sub&;t t
   13626 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   13627 s&@srcdir@&$ac_srcdir&;t t
   13628 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   13629 s&@top_srcdir@&$ac_top_srcdir&;t t
   13630 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   13631 s&@builddir@&$ac_builddir&;t t
   13632 s&@abs_builddir@&$ac_abs_builddir&;t t
   13633 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   13634 s&@INSTALL@&$ac_INSTALL&;t t
   13635 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   13636 $ac_datarootdir_hack
   13637 "
   13638 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   13639   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13640 
   13641 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   13642   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   13643   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   13644       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   13645   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13646 which seems to be undefined.  Please make sure it is defined" >&5
   13647 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13648 which seems to be undefined.  Please make sure it is defined" >&2;}
   13649 
   13650   rm -f "$ac_tmp/stdin"
   13651   case $ac_file in
   13652   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   13653   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   13654   esac \
   13655   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13656  ;;
   13657   :H)
   13658   #
   13659   # CONFIG_HEADER
   13660   #
   13661   if test x"$ac_file" != x-; then
   13662     {
   13663       printf "%s\n" "/* $configure_input  */" >&1 \
   13664       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   13665     } >"$ac_tmp/config.h" \
   13666       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13667     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   13668       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   13669 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   13670     else
   13671       rm -f "$ac_file"
   13672       mv "$ac_tmp/config.h" "$ac_file" \
   13673 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13674     fi
   13675   else
   13676     printf "%s\n" "/* $configure_input  */" >&1 \
   13677       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   13678       || as_fn_error $? "could not create -" "$LINENO" 5
   13679   fi
   13680 # Compute "$ac_file"'s index in $config_headers.
   13681 _am_arg="$ac_file"
   13682 _am_stamp_count=1
   13683 for _am_header in $config_headers :; do
   13684   case $_am_header in
   13685     $_am_arg | $_am_arg:* )
   13686       break ;;
   13687     * )
   13688       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   13689   esac
   13690 done
   13691 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   13692 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13693 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   13694 	 X"$_am_arg" : 'X\(//\)$' \| \
   13695 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   13696 printf "%s\n" X"$_am_arg" |
   13697     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13698 	    s//\1/
   13699 	    q
   13700 	  }
   13701 	  /^X\(\/\/\)[^/].*/{
   13702 	    s//\1/
   13703 	    q
   13704 	  }
   13705 	  /^X\(\/\/\)$/{
   13706 	    s//\1/
   13707 	    q
   13708 	  }
   13709 	  /^X\(\/\).*/{
   13710 	    s//\1/
   13711 	    q
   13712 	  }
   13713 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   13714  ;;
   13715 
   13716   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   13717 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   13718  ;;
   13719   esac
   13720 
   13721 
   13722   case $ac_file$ac_mode in
   13723     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   13724   # Older Autoconf quotes --file arguments for eval, but not when files
   13725   # are listed without --file.  Let's play safe and only enable the eval
   13726   # if we detect the quoting.
   13727   # TODO: see whether this extra hack can be removed once we start
   13728   # requiring Autoconf 2.70 or later.
   13729   case $CONFIG_FILES in #(
   13730   *\'*) :
   13731     eval set x "$CONFIG_FILES" ;; #(
   13732   *) :
   13733     set x $CONFIG_FILES ;; #(
   13734   *) :
   13735      ;;
   13736 esac
   13737   shift
   13738   # Used to flag and report bootstrapping failures.
   13739   am_rc=0
   13740   for am_mf
   13741   do
   13742     # Strip MF so we end up with the name of the file.
   13743     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   13744     # Check whether this is an Automake generated Makefile which includes
   13745     # dependency-tracking related rules and includes.
   13746     # Grep'ing the whole file directly is not great: AIX grep has a line
   13747     # limit of 2048, but all sed's we know have understand at least 4000.
   13748     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   13749       || continue
   13750     am_dirpart=`$as_dirname -- "$am_mf" ||
   13751 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13752 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   13753 	 X"$am_mf" : 'X\(//\)$' \| \
   13754 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13755 printf "%s\n" X"$am_mf" |
   13756     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13757 	    s//\1/
   13758 	    q
   13759 	  }
   13760 	  /^X\(\/\/\)[^/].*/{
   13761 	    s//\1/
   13762 	    q
   13763 	  }
   13764 	  /^X\(\/\/\)$/{
   13765 	    s//\1/
   13766 	    q
   13767 	  }
   13768 	  /^X\(\/\).*/{
   13769 	    s//\1/
   13770 	    q
   13771 	  }
   13772 	  s/.*/./; q'`
   13773     am_filepart=`$as_basename -- "$am_mf" ||
   13774 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   13775 	 X"$am_mf" : 'X\(//\)$' \| \
   13776 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13777 printf "%s\n" X/"$am_mf" |
   13778     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13779 	    s//\1/
   13780 	    q
   13781 	  }
   13782 	  /^X\/\(\/\/\)$/{
   13783 	    s//\1/
   13784 	    q
   13785 	  }
   13786 	  /^X\/\(\/\).*/{
   13787 	    s//\1/
   13788 	    q
   13789 	  }
   13790 	  s/.*/./; q'`
   13791     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   13792       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13793         | $MAKE -f - am--depfiles" >&5
   13794    (cd "$am_dirpart" \
   13795       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13796         | $MAKE -f - am--depfiles) >&5 2>&5
   13797    ac_status=$?
   13798    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13799    (exit $ac_status); } || am_rc=$?
   13800   done
   13801   if test $am_rc -ne 0; then
   13802     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   13803 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   13804 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   13805     for automatic dependency tracking.  If GNU make was not used, consider
   13806     re-running the configure script with MAKE=\"gmake\" (or whatever is
   13807     necessary).  You can also try re-running configure with the
   13808     '--disable-dependency-tracking' option to at least be able to build
   13809     the package (albeit without support for automatic dependency tracking).
   13810 See 'config.log' for more details" "$LINENO" 5; }
   13811   fi
   13812   { am_dirpart=; unset am_dirpart;}
   13813   { am_filepart=; unset am_filepart;}
   13814   { am_mf=; unset am_mf;}
   13815   { am_rc=; unset am_rc;}
   13816   rm -f conftest-deps.mk
   13817 }
   13818  ;;
   13819     "test/round-trip-test":F) chmod +x test/round-trip-test ;;
   13820 
   13821   esac
   13822 done # for ac_tag
   13823 
   13824 
   13825 as_fn_exit 0
   13826 _ACEOF
   13827 ac_clean_files=$ac_clean_files_save
   13828 
   13829 test $ac_write_fail = 0 ||
   13830   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   13831 
   13832 
   13833 # configure is writing to config.log, and then calls config.status.
   13834 # config.status does its own redirection, appending to config.log.
   13835 # Unfortunately, on DOS this fails, as config.log is still kept open
   13836 # by configure, so config.status won't be able to write to it; its
   13837 # output is simply discarded.  So we exec the FD to /dev/null,
   13838 # effectively closing config.log, so it can be properly (re)opened and
   13839 # appended to by config.status.  When coming back to configure, we
   13840 # need to make the FD available again.
   13841 if test "$no_create" != yes; then
   13842   ac_cs_success=:
   13843   ac_config_status_args=
   13844   test "$silent" = yes &&
   13845     ac_config_status_args="$ac_config_status_args --quiet"
   13846   exec 5>/dev/null
   13847   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   13848   exec 5>>config.log
   13849   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   13850   # would make configure fail if this is the last instruction.
   13851   $ac_cs_success || as_fn_exit 1
   13852 fi
   13853 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   13854   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   13855 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   13856 fi
   13857 
   13858 
   13859