Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.8
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.72 for bitmap 1.1.1.
      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.1'
    609 PACKAGE_STRING='bitmap 1.1.1'
    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_BACKSLASH
    709 AM_DEFAULT_VERBOSITY
    710 AM_DEFAULT_V
    711 AM_V
    712 CSCOPE
    713 ETAGS
    714 CTAGS
    715 am__untar
    716 am__tar
    717 AMTAR
    718 am__leading_dot
    719 SET_MAKE
    720 AWK
    721 mkdir_p
    722 MKDIR_P
    723 INSTALL_STRIP_PROGRAM
    724 STRIP
    725 install_sh
    726 MAKEINFO
    727 AUTOHEADER
    728 AUTOMAKE
    729 AUTOCONF
    730 ACLOCAL
    731 VERSION
    732 PACKAGE
    733 CYGPATH_W
    734 am__isrc
    735 INSTALL_DATA
    736 INSTALL_SCRIPT
    737 INSTALL_PROGRAM
    738 target_alias
    739 host_alias
    740 build_alias
    741 LIBS
    742 ECHO_T
    743 ECHO_N
    744 ECHO_C
    745 DEFS
    746 mandir
    747 localedir
    748 libdir
    749 psdir
    750 pdfdir
    751 dvidir
    752 htmldir
    753 infodir
    754 docdir
    755 oldincludedir
    756 includedir
    757 runstatedir
    758 localstatedir
    759 sharedstatedir
    760 sysconfdir
    761 datadir
    762 datarootdir
    763 libexecdir
    764 sbindir
    765 bindir
    766 program_transform_name
    767 prefix
    768 exec_prefix
    769 PACKAGE_URL
    770 PACKAGE_BUGREPORT
    771 PACKAGE_STRING
    772 PACKAGE_VERSION
    773 PACKAGE_TARNAME
    774 PACKAGE_NAME
    775 PATH_SEPARATOR
    776 SHELL
    777 am__quote'
    778 ac_subst_files=''
    779 ac_user_opts='
    780 enable_option_checking
    781 enable_silent_rules
    782 enable_dependency_tracking
    783 enable_selective_werror
    784 enable_strict_compilation
    785 enable_largefile
    786 with_appdefaultdir
    787 enable_year2038
    788 '
    789       ac_precious_vars='build_alias
    790 host_alias
    791 target_alias
    792 CC
    793 CFLAGS
    794 LDFLAGS
    795 LIBS
    796 CPPFLAGS
    797 PKG_CONFIG
    798 PKG_CONFIG_PATH
    799 PKG_CONFIG_LIBDIR
    800 BMTOA_CFLAGS
    801 BMTOA_LIBS
    802 ATOBM_CFLAGS
    803 ATOBM_LIBS
    804 BITMAP_CFLAGS
    805 BITMAP_LIBS
    806 APPDEFS_CFLAGS
    807 APPDEFS_LIBS'
    808 
    809 
    810 # Initialize some variables set by options.
    811 ac_init_help=
    812 ac_init_version=false
    813 ac_unrecognized_opts=
    814 ac_unrecognized_sep=
    815 # The variables have the same names as the options, with
    816 # dashes changed to underlines.
    817 cache_file=/dev/null
    818 exec_prefix=NONE
    819 no_create=
    820 no_recursion=
    821 prefix=NONE
    822 program_prefix=NONE
    823 program_suffix=NONE
    824 program_transform_name=s,x,x,
    825 silent=
    826 site=
    827 srcdir=
    828 verbose=
    829 x_includes=NONE
    830 x_libraries=NONE
    831 
    832 # Installation directory options.
    833 # These are left unexpanded so users can "make install exec_prefix=/foo"
    834 # and all the variables that are supposed to be based on exec_prefix
    835 # by default will actually change.
    836 # Use braces instead of parens because sh, perl, etc. also accept them.
    837 # (The list follows the same order as the GNU Coding Standards.)
    838 bindir='${exec_prefix}/bin'
    839 sbindir='${exec_prefix}/sbin'
    840 libexecdir='${exec_prefix}/libexec'
    841 datarootdir='${prefix}/share'
    842 datadir='${datarootdir}'
    843 sysconfdir='${prefix}/etc'
    844 sharedstatedir='${prefix}/com'
    845 localstatedir='${prefix}/var'
    846 runstatedir='${localstatedir}/run'
    847 includedir='${prefix}/include'
    848 oldincludedir='/usr/include'
    849 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    850 infodir='${datarootdir}/info'
    851 htmldir='${docdir}'
    852 dvidir='${docdir}'
    853 pdfdir='${docdir}'
    854 psdir='${docdir}'
    855 libdir='${exec_prefix}/lib'
    856 localedir='${datarootdir}/locale'
    857 mandir='${datarootdir}/man'
    858 
    859 ac_prev=
    860 ac_dashdash=
    861 for ac_option
    862 do
    863   # If the previous option needs an argument, assign it.
    864   if test -n "$ac_prev"; then
    865     eval $ac_prev=\$ac_option
    866     ac_prev=
    867     continue
    868   fi
    869 
    870   case $ac_option in
    871   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    872   *=)   ac_optarg= ;;
    873   *)    ac_optarg=yes ;;
    874   esac
    875 
    876   case $ac_dashdash$ac_option in
    877   --)
    878     ac_dashdash=yes ;;
    879 
    880   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    881     ac_prev=bindir ;;
    882   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    883     bindir=$ac_optarg ;;
    884 
    885   -build | --build | --buil | --bui | --bu)
    886     ac_prev=build_alias ;;
    887   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    888     build_alias=$ac_optarg ;;
    889 
    890   -cache-file | --cache-file | --cache-fil | --cache-fi \
    891   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    892     ac_prev=cache_file ;;
    893   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    894   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    895     cache_file=$ac_optarg ;;
    896 
    897   --config-cache | -C)
    898     cache_file=config.cache ;;
    899 
    900   -datadir | --datadir | --datadi | --datad)
    901     ac_prev=datadir ;;
    902   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    903     datadir=$ac_optarg ;;
    904 
    905   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    906   | --dataroo | --dataro | --datar)
    907     ac_prev=datarootdir ;;
    908   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    909   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    910     datarootdir=$ac_optarg ;;
    911 
    912   -disable-* | --disable-*)
    913     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    914     # Reject names that are not valid shell variable names.
    915     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    916       as_fn_error $? "invalid feature name: '$ac_useropt'"
    917     ac_useropt_orig=$ac_useropt
    918     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    919     case $ac_user_opts in
    920       *"
    921 "enable_$ac_useropt"
    922 "*) ;;
    923       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    924 	 ac_unrecognized_sep=', ';;
    925     esac
    926     eval enable_$ac_useropt=no ;;
    927 
    928   -docdir | --docdir | --docdi | --doc | --do)
    929     ac_prev=docdir ;;
    930   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    931     docdir=$ac_optarg ;;
    932 
    933   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    934     ac_prev=dvidir ;;
    935   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    936     dvidir=$ac_optarg ;;
    937 
    938   -enable-* | --enable-*)
    939     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    940     # Reject names that are not valid shell variable names.
    941     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    942       as_fn_error $? "invalid feature name: '$ac_useropt'"
    943     ac_useropt_orig=$ac_useropt
    944     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    945     case $ac_user_opts in
    946       *"
    947 "enable_$ac_useropt"
    948 "*) ;;
    949       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    950 	 ac_unrecognized_sep=', ';;
    951     esac
    952     eval enable_$ac_useropt=\$ac_optarg ;;
    953 
    954   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    955   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    956   | --exec | --exe | --ex)
    957     ac_prev=exec_prefix ;;
    958   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    959   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    960   | --exec=* | --exe=* | --ex=*)
    961     exec_prefix=$ac_optarg ;;
    962 
    963   -gas | --gas | --ga | --g)
    964     # Obsolete; use --with-gas.
    965     with_gas=yes ;;
    966 
    967   -help | --help | --hel | --he | -h)
    968     ac_init_help=long ;;
    969   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    970     ac_init_help=recursive ;;
    971   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    972     ac_init_help=short ;;
    973 
    974   -host | --host | --hos | --ho)
    975     ac_prev=host_alias ;;
    976   -host=* | --host=* | --hos=* | --ho=*)
    977     host_alias=$ac_optarg ;;
    978 
    979   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    980     ac_prev=htmldir ;;
    981   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    982   | --ht=*)
    983     htmldir=$ac_optarg ;;
    984 
    985   -includedir | --includedir | --includedi | --included | --include \
    986   | --includ | --inclu | --incl | --inc)
    987     ac_prev=includedir ;;
    988   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    989   | --includ=* | --inclu=* | --incl=* | --inc=*)
    990     includedir=$ac_optarg ;;
    991 
    992   -infodir | --infodir | --infodi | --infod | --info | --inf)
    993     ac_prev=infodir ;;
    994   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    995     infodir=$ac_optarg ;;
    996 
    997   -libdir | --libdir | --libdi | --libd)
    998     ac_prev=libdir ;;
    999   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1000     libdir=$ac_optarg ;;
   1001 
   1002   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1003   | --libexe | --libex | --libe)
   1004     ac_prev=libexecdir ;;
   1005   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1006   | --libexe=* | --libex=* | --libe=*)
   1007     libexecdir=$ac_optarg ;;
   1008 
   1009   -localedir | --localedir | --localedi | --localed | --locale)
   1010     ac_prev=localedir ;;
   1011   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1012     localedir=$ac_optarg ;;
   1013 
   1014   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1015   | --localstate | --localstat | --localsta | --localst | --locals)
   1016     ac_prev=localstatedir ;;
   1017   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1018   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1019     localstatedir=$ac_optarg ;;
   1020 
   1021   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1022     ac_prev=mandir ;;
   1023   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1024     mandir=$ac_optarg ;;
   1025 
   1026   -nfp | --nfp | --nf)
   1027     # Obsolete; use --without-fp.
   1028     with_fp=no ;;
   1029 
   1030   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1031   | --no-cr | --no-c | -n)
   1032     no_create=yes ;;
   1033 
   1034   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1035   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1036     no_recursion=yes ;;
   1037 
   1038   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1039   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1040   | --oldin | --oldi | --old | --ol | --o)
   1041     ac_prev=oldincludedir ;;
   1042   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1043   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1044   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1045     oldincludedir=$ac_optarg ;;
   1046 
   1047   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1048     ac_prev=prefix ;;
   1049   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1050     prefix=$ac_optarg ;;
   1051 
   1052   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1053   | --program-pre | --program-pr | --program-p)
   1054     ac_prev=program_prefix ;;
   1055   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1056   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1057     program_prefix=$ac_optarg ;;
   1058 
   1059   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1060   | --program-suf | --program-su | --program-s)
   1061     ac_prev=program_suffix ;;
   1062   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1063   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1064     program_suffix=$ac_optarg ;;
   1065 
   1066   -program-transform-name | --program-transform-name \
   1067   | --program-transform-nam | --program-transform-na \
   1068   | --program-transform-n | --program-transform- \
   1069   | --program-transform | --program-transfor \
   1070   | --program-transfo | --program-transf \
   1071   | --program-trans | --program-tran \
   1072   | --progr-tra | --program-tr | --program-t)
   1073     ac_prev=program_transform_name ;;
   1074   -program-transform-name=* | --program-transform-name=* \
   1075   | --program-transform-nam=* | --program-transform-na=* \
   1076   | --program-transform-n=* | --program-transform-=* \
   1077   | --program-transform=* | --program-transfor=* \
   1078   | --program-transfo=* | --program-transf=* \
   1079   | --program-trans=* | --program-tran=* \
   1080   | --progr-tra=* | --program-tr=* | --program-t=*)
   1081     program_transform_name=$ac_optarg ;;
   1082 
   1083   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1084     ac_prev=pdfdir ;;
   1085   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1086     pdfdir=$ac_optarg ;;
   1087 
   1088   -psdir | --psdir | --psdi | --psd | --ps)
   1089     ac_prev=psdir ;;
   1090   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1091     psdir=$ac_optarg ;;
   1092 
   1093   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1094   | -silent | --silent | --silen | --sile | --sil)
   1095     silent=yes ;;
   1096 
   1097   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1098   | --runstate | --runstat | --runsta | --runst | --runs \
   1099   | --run | --ru | --r)
   1100     ac_prev=runstatedir ;;
   1101   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1102   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1103   | --run=* | --ru=* | --r=*)
   1104     runstatedir=$ac_optarg ;;
   1105 
   1106   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1107     ac_prev=sbindir ;;
   1108   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1109   | --sbi=* | --sb=*)
   1110     sbindir=$ac_optarg ;;
   1111 
   1112   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1113   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1114   | --sharedst | --shareds | --shared | --share | --shar \
   1115   | --sha | --sh)
   1116     ac_prev=sharedstatedir ;;
   1117   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1118   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1119   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1120   | --sha=* | --sh=*)
   1121     sharedstatedir=$ac_optarg ;;
   1122 
   1123   -site | --site | --sit)
   1124     ac_prev=site ;;
   1125   -site=* | --site=* | --sit=*)
   1126     site=$ac_optarg ;;
   1127 
   1128   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1129     ac_prev=srcdir ;;
   1130   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1131     srcdir=$ac_optarg ;;
   1132 
   1133   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1134   | --syscon | --sysco | --sysc | --sys | --sy)
   1135     ac_prev=sysconfdir ;;
   1136   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1137   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1138     sysconfdir=$ac_optarg ;;
   1139 
   1140   -target | --target | --targe | --targ | --tar | --ta | --t)
   1141     ac_prev=target_alias ;;
   1142   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1143     target_alias=$ac_optarg ;;
   1144 
   1145   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1146     verbose=yes ;;
   1147 
   1148   -version | --version | --versio | --versi | --vers | -V)
   1149     ac_init_version=: ;;
   1150 
   1151   -with-* | --with-*)
   1152     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1153     # Reject names that are not valid shell variable names.
   1154     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1155       as_fn_error $? "invalid package name: '$ac_useropt'"
   1156     ac_useropt_orig=$ac_useropt
   1157     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1158     case $ac_user_opts in
   1159       *"
   1160 "with_$ac_useropt"
   1161 "*) ;;
   1162       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1163 	 ac_unrecognized_sep=', ';;
   1164     esac
   1165     eval with_$ac_useropt=\$ac_optarg ;;
   1166 
   1167   -without-* | --without-*)
   1168     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1169     # Reject names that are not valid shell variable names.
   1170     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1171       as_fn_error $? "invalid package name: '$ac_useropt'"
   1172     ac_useropt_orig=$ac_useropt
   1173     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1174     case $ac_user_opts in
   1175       *"
   1176 "with_$ac_useropt"
   1177 "*) ;;
   1178       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1179 	 ac_unrecognized_sep=', ';;
   1180     esac
   1181     eval with_$ac_useropt=no ;;
   1182 
   1183   --x)
   1184     # Obsolete; use --with-x.
   1185     with_x=yes ;;
   1186 
   1187   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1188   | --x-incl | --x-inc | --x-in | --x-i)
   1189     ac_prev=x_includes ;;
   1190   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1191   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1192     x_includes=$ac_optarg ;;
   1193 
   1194   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1195   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1196     ac_prev=x_libraries ;;
   1197   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1198   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1199     x_libraries=$ac_optarg ;;
   1200 
   1201   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1202 Try '$0 --help' for more information"
   1203     ;;
   1204 
   1205   *=*)
   1206     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1207     # Reject names that are not valid shell variable names.
   1208     case $ac_envvar in #(
   1209       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1210       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1211     esac
   1212     eval $ac_envvar=\$ac_optarg
   1213     export $ac_envvar ;;
   1214 
   1215   *)
   1216     # FIXME: should be removed in autoconf 3.0.
   1217     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1218     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1219       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1220     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1221     ;;
   1222 
   1223   esac
   1224 done
   1225 
   1226 if test -n "$ac_prev"; then
   1227   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1228   as_fn_error $? "missing argument to $ac_option"
   1229 fi
   1230 
   1231 if test -n "$ac_unrecognized_opts"; then
   1232   case $enable_option_checking in
   1233     no) ;;
   1234     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1235     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1236   esac
   1237 fi
   1238 
   1239 # Check all directory arguments for consistency.
   1240 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1241 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1242 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1243 		libdir localedir mandir runstatedir
   1244 do
   1245   eval ac_val=\$$ac_var
   1246   # Remove trailing slashes.
   1247   case $ac_val in
   1248     */ )
   1249       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1250       eval $ac_var=\$ac_val;;
   1251   esac
   1252   # Be sure to have absolute directory names.
   1253   case $ac_val in
   1254     [\\/$]* | ?:[\\/]* )  continue;;
   1255     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1256   esac
   1257   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1258 done
   1259 
   1260 # There might be people who depend on the old broken behavior: '$host'
   1261 # used to hold the argument of --host etc.
   1262 # FIXME: To remove some day.
   1263 build=$build_alias
   1264 host=$host_alias
   1265 target=$target_alias
   1266 
   1267 # FIXME: To remove some day.
   1268 if test "x$host_alias" != x; then
   1269   if test "x$build_alias" = x; then
   1270     cross_compiling=maybe
   1271   elif test "x$build_alias" != "x$host_alias"; then
   1272     cross_compiling=yes
   1273   fi
   1274 fi
   1275 
   1276 ac_tool_prefix=
   1277 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1278 
   1279 test "$silent" = yes && exec 6>/dev/null
   1280 
   1281 
   1282 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1283 ac_ls_di=`ls -di .` &&
   1284 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1285   as_fn_error $? "working directory cannot be determined"
   1286 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1287   as_fn_error $? "pwd does not report name of working directory"
   1288 
   1289 
   1290 # Find the source files, if location was not specified.
   1291 if test -z "$srcdir"; then
   1292   ac_srcdir_defaulted=yes
   1293   # Try the directory containing this script, then the parent directory.
   1294   ac_confdir=`$as_dirname -- "$as_myself" ||
   1295 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1296 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1297 	 X"$as_myself" : 'X\(//\)$' \| \
   1298 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1299 printf "%s\n" X"$as_myself" |
   1300     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1301 	    s//\1/
   1302 	    q
   1303 	  }
   1304 	  /^X\(\/\/\)[^/].*/{
   1305 	    s//\1/
   1306 	    q
   1307 	  }
   1308 	  /^X\(\/\/\)$/{
   1309 	    s//\1/
   1310 	    q
   1311 	  }
   1312 	  /^X\(\/\).*/{
   1313 	    s//\1/
   1314 	    q
   1315 	  }
   1316 	  s/.*/./; q'`
   1317   srcdir=$ac_confdir
   1318   if test ! -r "$srcdir/$ac_unique_file"; then
   1319     srcdir=..
   1320   fi
   1321 else
   1322   ac_srcdir_defaulted=no
   1323 fi
   1324 if test ! -r "$srcdir/$ac_unique_file"; then
   1325   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1326   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1327 fi
   1328 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1329 ac_abs_confdir=`(
   1330 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1331 	pwd)`
   1332 # When building in place, set srcdir=.
   1333 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1334   srcdir=.
   1335 fi
   1336 # Remove unnecessary trailing slashes from srcdir.
   1337 # Double slashes in file names in object file debugging info
   1338 # mess up M-x gdb in Emacs.
   1339 case $srcdir in
   1340 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1341 esac
   1342 for ac_var in $ac_precious_vars; do
   1343   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1344   eval ac_env_${ac_var}_value=\$${ac_var}
   1345   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1346   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1347 done
   1348 
   1349 #
   1350 # Report the --help message.
   1351 #
   1352 if test "$ac_init_help" = "long"; then
   1353   # Omit some internal or obsolete options to make the list less imposing.
   1354   # This message is too long to be a string in the A/UX 3.1 sh.
   1355   cat <<_ACEOF
   1356 'configure' configures bitmap 1.1.1 to adapt to many kinds of systems.
   1357 
   1358 Usage: $0 [OPTION]... [VAR=VALUE]...
   1359 
   1360 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1361 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1362 
   1363 Defaults for the options are specified in brackets.
   1364 
   1365 Configuration:
   1366   -h, --help              display this help and exit
   1367       --help=short        display options specific to this package
   1368       --help=recursive    display the short help of all the included packages
   1369   -V, --version           display version information and exit
   1370   -q, --quiet, --silent   do not print 'checking ...' messages
   1371       --cache-file=FILE   cache test results in FILE [disabled]
   1372   -C, --config-cache      alias for '--cache-file=config.cache'
   1373   -n, --no-create         do not create output files
   1374       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1375 
   1376 Installation directories:
   1377   --prefix=PREFIX         install architecture-independent files in PREFIX
   1378                           [$ac_default_prefix]
   1379   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1380                           [PREFIX]
   1381 
   1382 By default, 'make install' will install all the files in
   1383 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1384 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1385 for instance '--prefix=\$HOME'.
   1386 
   1387 For better control, use the options below.
   1388 
   1389 Fine tuning of the installation directories:
   1390   --bindir=DIR            user executables [EPREFIX/bin]
   1391   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1392   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1393   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1394   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1395   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1396   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1397   --libdir=DIR            object code libraries [EPREFIX/lib]
   1398   --includedir=DIR        C header files [PREFIX/include]
   1399   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1400   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1401   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1402   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1403   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1404   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1405   --docdir=DIR            documentation root [DATAROOTDIR/doc/bitmap]
   1406   --htmldir=DIR           html documentation [DOCDIR]
   1407   --dvidir=DIR            dvi documentation [DOCDIR]
   1408   --pdfdir=DIR            pdf documentation [DOCDIR]
   1409   --psdir=DIR             ps documentation [DOCDIR]
   1410 _ACEOF
   1411 
   1412   cat <<\_ACEOF
   1413 
   1414 Program names:
   1415   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1416   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1417   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1418 
   1419 System types:
   1420   --build=BUILD     configure for building on BUILD [guessed]
   1421   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1422 _ACEOF
   1423 fi
   1424 
   1425 if test -n "$ac_init_help"; then
   1426   case $ac_init_help in
   1427      short | recursive ) echo "Configuration of bitmap 1.1.1:";;
   1428    esac
   1429   cat <<\_ACEOF
   1430 
   1431 Optional Features:
   1432   --disable-option-checking  ignore unrecognized --enable/--with options
   1433   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1434   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1435   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1436   --disable-silent-rules  verbose build output (undo: "make V=0")
   1437   --enable-dependency-tracking
   1438                           do not reject slow dependency extractors
   1439   --disable-dependency-tracking
   1440                           speeds up one-time build
   1441   --disable-selective-werror
   1442                           Turn off selective compiler errors. (default:
   1443                           enabled)
   1444   --enable-strict-compilation
   1445                           Enable all warnings from compiler and make them
   1446                           errors (default: disabled)
   1447   --disable-largefile     omit support for large files
   1448   --enable-year2038       support timestamps after 2038
   1449 
   1450 Optional Packages:
   1451   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1452   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1453   --with-appdefaultdir=<pathname>
   1454                           specify directory for app-defaults files (default is
   1455                           autodetected)
   1456 
   1457 Some influential environment variables:
   1458   CC          C compiler command
   1459   CFLAGS      C compiler flags
   1460   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1461               nonstandard directory <lib dir>
   1462   LIBS        libraries to pass to the linker, e.g. -l<library>
   1463   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1464               you have headers in a nonstandard directory <include dir>
   1465   PKG_CONFIG  path to pkg-config utility
   1466   PKG_CONFIG_PATH
   1467               directories to add to pkg-config's search path
   1468   PKG_CONFIG_LIBDIR
   1469               path overriding pkg-config's built-in search path
   1470   BMTOA_CFLAGS
   1471               C compiler flags for BMTOA, overriding pkg-config
   1472   BMTOA_LIBS  linker flags for BMTOA, overriding pkg-config
   1473   ATOBM_CFLAGS
   1474               C compiler flags for ATOBM, overriding pkg-config
   1475   ATOBM_LIBS  linker flags for ATOBM, overriding pkg-config
   1476   BITMAP_CFLAGS
   1477               C compiler flags for BITMAP, overriding pkg-config
   1478   BITMAP_LIBS linker flags for BITMAP, overriding pkg-config
   1479   APPDEFS_CFLAGS
   1480               C compiler flags for APPDEFS, overriding pkg-config
   1481   APPDEFS_LIBS
   1482               linker flags for APPDEFS, overriding pkg-config
   1483 
   1484 Use these variables to override the choices made by 'configure' or to help
   1485 it to find libraries and programs with nonstandard names/locations.
   1486 
   1487 Report bugs to <https://gitlab.freedesktop.org/xorg/app/bitmap/issues>.
   1488 _ACEOF
   1489 ac_status=$?
   1490 fi
   1491 
   1492 if test "$ac_init_help" = "recursive"; then
   1493   # If there are subdirs, report their specific --help.
   1494   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1495     test -d "$ac_dir" ||
   1496       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1497       continue
   1498     ac_builddir=.
   1499 
   1500 case "$ac_dir" in
   1501 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1502 *)
   1503   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1504   # A ".." for each directory in $ac_dir_suffix.
   1505   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1506   case $ac_top_builddir_sub in
   1507   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1508   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1509   esac ;;
   1510 esac
   1511 ac_abs_top_builddir=$ac_pwd
   1512 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1513 # for backward compatibility:
   1514 ac_top_builddir=$ac_top_build_prefix
   1515 
   1516 case $srcdir in
   1517   .)  # We are building in place.
   1518     ac_srcdir=.
   1519     ac_top_srcdir=$ac_top_builddir_sub
   1520     ac_abs_top_srcdir=$ac_pwd ;;
   1521   [\\/]* | ?:[\\/]* )  # Absolute name.
   1522     ac_srcdir=$srcdir$ac_dir_suffix;
   1523     ac_top_srcdir=$srcdir
   1524     ac_abs_top_srcdir=$srcdir ;;
   1525   *) # Relative name.
   1526     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1527     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1528     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1529 esac
   1530 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1531 
   1532     cd "$ac_dir" || { ac_status=$?; continue; }
   1533     # Check for configure.gnu first; this name is used for a wrapper for
   1534     # Metaconfig's "Configure" on case-insensitive file systems.
   1535     if test -f "$ac_srcdir/configure.gnu"; then
   1536       echo &&
   1537       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1538     elif test -f "$ac_srcdir/configure"; then
   1539       echo &&
   1540       $SHELL "$ac_srcdir/configure" --help=recursive
   1541     else
   1542       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1543     fi || ac_status=$?
   1544     cd "$ac_pwd" || { ac_status=$?; break; }
   1545   done
   1546 fi
   1547 
   1548 test -n "$ac_init_help" && exit $ac_status
   1549 if $ac_init_version; then
   1550   cat <<\_ACEOF
   1551 bitmap configure 1.1.1
   1552 generated by GNU Autoconf 2.72
   1553 
   1554 Copyright (C) 2023 Free Software Foundation, Inc.
   1555 This configure script is free software; the Free Software Foundation
   1556 gives unlimited permission to copy, distribute and modify it.
   1557 _ACEOF
   1558   exit
   1559 fi
   1560 
   1561 ## ------------------------ ##
   1562 ## Autoconf initialization. ##
   1563 ## ------------------------ ##
   1564 
   1565 # ac_fn_c_try_compile LINENO
   1566 # --------------------------
   1567 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1568 ac_fn_c_try_compile ()
   1569 {
   1570   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1571   rm -f conftest.$ac_objext conftest.beam
   1572   if { { ac_try="$ac_compile"
   1573 case "(($ac_try" in
   1574   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1575   *) ac_try_echo=$ac_try;;
   1576 esac
   1577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1578 printf "%s\n" "$ac_try_echo"; } >&5
   1579   (eval "$ac_compile") 2>conftest.err
   1580   ac_status=$?
   1581   if test -s conftest.err; then
   1582     grep -v '^ *+' conftest.err >conftest.er1
   1583     cat conftest.er1 >&5
   1584     mv -f conftest.er1 conftest.err
   1585   fi
   1586   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1587   test $ac_status = 0; } && {
   1588 	 test -z "$ac_c_werror_flag" ||
   1589 	 test ! -s conftest.err
   1590        } && test -s conftest.$ac_objext
   1591 then :
   1592   ac_retval=0
   1593 else case e in #(
   1594   e) printf "%s\n" "$as_me: failed program was:" >&5
   1595 sed 's/^/| /' conftest.$ac_ext >&5
   1596 
   1597 	ac_retval=1 ;;
   1598 esac
   1599 fi
   1600   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1601   as_fn_set_status $ac_retval
   1602 
   1603 } # ac_fn_c_try_compile
   1604 
   1605 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1606 # ------------------------------------------------------------------
   1607 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1608 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1609 ac_fn_check_decl ()
   1610 {
   1611   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1612   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1613   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1614 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1615 if eval test \${$3+y}
   1616 then :
   1617   printf %s "(cached) " >&6
   1618 else case e in #(
   1619   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1620   eval ac_save_FLAGS=\$$6
   1621   as_fn_append $6 " $5"
   1622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1623 /* end confdefs.h.  */
   1624 $4
   1625 int
   1626 main (void)
   1627 {
   1628 #ifndef $as_decl_name
   1629 #ifdef __cplusplus
   1630   (void) $as_decl_use;
   1631 #else
   1632   (void) $as_decl_name;
   1633 #endif
   1634 #endif
   1635 
   1636   ;
   1637   return 0;
   1638 }
   1639 _ACEOF
   1640 if ac_fn_c_try_compile "$LINENO"
   1641 then :
   1642   eval "$3=yes"
   1643 else case e in #(
   1644   e) eval "$3=no" ;;
   1645 esac
   1646 fi
   1647 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1648   eval $6=\$ac_save_FLAGS
   1649  ;;
   1650 esac
   1651 fi
   1652 eval ac_res=\$$3
   1653 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1654 printf "%s\n" "$ac_res" >&6; }
   1655   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1656 
   1657 } # ac_fn_check_decl
   1658 
   1659 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1660 # -------------------------------------------------------
   1661 # Tests whether HEADER exists and can be compiled using the include files in
   1662 # INCLUDES, setting the cache variable VAR accordingly.
   1663 ac_fn_c_check_header_compile ()
   1664 {
   1665   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1666   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1667 printf %s "checking for $2... " >&6; }
   1668 if eval test \${$3+y}
   1669 then :
   1670   printf %s "(cached) " >&6
   1671 else case e in #(
   1672   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1673 /* end confdefs.h.  */
   1674 $4
   1675 #include <$2>
   1676 _ACEOF
   1677 if ac_fn_c_try_compile "$LINENO"
   1678 then :
   1679   eval "$3=yes"
   1680 else case e in #(
   1681   e) eval "$3=no" ;;
   1682 esac
   1683 fi
   1684 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1685 esac
   1686 fi
   1687 eval ac_res=\$$3
   1688 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1689 printf "%s\n" "$ac_res" >&6; }
   1690   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1691 
   1692 } # ac_fn_c_check_header_compile
   1693 
   1694 # ac_fn_c_try_link LINENO
   1695 # -----------------------
   1696 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1697 ac_fn_c_try_link ()
   1698 {
   1699   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1700   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1701   if { { ac_try="$ac_link"
   1702 case "(($ac_try" in
   1703   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1704   *) ac_try_echo=$ac_try;;
   1705 esac
   1706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1707 printf "%s\n" "$ac_try_echo"; } >&5
   1708   (eval "$ac_link") 2>conftest.err
   1709   ac_status=$?
   1710   if test -s conftest.err; then
   1711     grep -v '^ *+' conftest.err >conftest.er1
   1712     cat conftest.er1 >&5
   1713     mv -f conftest.er1 conftest.err
   1714   fi
   1715   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1716   test $ac_status = 0; } && {
   1717 	 test -z "$ac_c_werror_flag" ||
   1718 	 test ! -s conftest.err
   1719        } && test -s conftest$ac_exeext && {
   1720 	 test "$cross_compiling" = yes ||
   1721 	 test -x conftest$ac_exeext
   1722        }
   1723 then :
   1724   ac_retval=0
   1725 else case e in #(
   1726   e) printf "%s\n" "$as_me: failed program was:" >&5
   1727 sed 's/^/| /' conftest.$ac_ext >&5
   1728 
   1729 	ac_retval=1 ;;
   1730 esac
   1731 fi
   1732   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1733   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1734   # interfere with the next link command; also delete a directory that is
   1735   # left behind by Apple's compiler.  We do this before executing the actions.
   1736   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1737   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1738   as_fn_set_status $ac_retval
   1739 
   1740 } # ac_fn_c_try_link
   1741 
   1742 # ac_fn_c_check_func LINENO FUNC VAR
   1743 # ----------------------------------
   1744 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1745 ac_fn_c_check_func ()
   1746 {
   1747   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1748   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1749 printf %s "checking for $2... " >&6; }
   1750 if eval test \${$3+y}
   1751 then :
   1752   printf %s "(cached) " >&6
   1753 else case e in #(
   1754   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1755 /* end confdefs.h.  */
   1756 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1757    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1758 #define $2 innocuous_$2
   1759 
   1760 /* System header to define __stub macros and hopefully few prototypes,
   1761    which can conflict with char $2 (void); below.  */
   1762 
   1763 #include <limits.h>
   1764 #undef $2
   1765 
   1766 /* Override any GCC internal prototype to avoid an error.
   1767    Use char because int might match the return type of a GCC
   1768    builtin and then its argument prototype would still apply.  */
   1769 #ifdef __cplusplus
   1770 extern "C"
   1771 #endif
   1772 char $2 (void);
   1773 /* The GNU C library defines this for functions which it implements
   1774     to always fail with ENOSYS.  Some functions are actually named
   1775     something starting with __ and the normal name is an alias.  */
   1776 #if defined __stub_$2 || defined __stub___$2
   1777 choke me
   1778 #endif
   1779 
   1780 int
   1781 main (void)
   1782 {
   1783 return $2 ();
   1784   ;
   1785   return 0;
   1786 }
   1787 _ACEOF
   1788 if ac_fn_c_try_link "$LINENO"
   1789 then :
   1790   eval "$3=yes"
   1791 else case e in #(
   1792   e) eval "$3=no" ;;
   1793 esac
   1794 fi
   1795 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1796     conftest$ac_exeext conftest.$ac_ext ;;
   1797 esac
   1798 fi
   1799 eval ac_res=\$$3
   1800 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1801 printf "%s\n" "$ac_res" >&6; }
   1802   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1803 
   1804 } # ac_fn_c_check_func
   1805 ac_configure_args_raw=
   1806 for ac_arg
   1807 do
   1808   case $ac_arg in
   1809   *\'*)
   1810     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1811   esac
   1812   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1813 done
   1814 
   1815 case $ac_configure_args_raw in
   1816   *$as_nl*)
   1817     ac_safe_unquote= ;;
   1818   *)
   1819     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1820     ac_unsafe_a="$ac_unsafe_z#~"
   1821     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1822     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1823 esac
   1824 
   1825 cat >config.log <<_ACEOF
   1826 This file contains any messages produced by compilers while
   1827 running configure, to aid debugging if configure makes a mistake.
   1828 
   1829 It was created by bitmap $as_me 1.1.1, which was
   1830 generated by GNU Autoconf 2.72.  Invocation command line was
   1831 
   1832   $ $0$ac_configure_args_raw
   1833 
   1834 _ACEOF
   1835 exec 5>>config.log
   1836 {
   1837 cat <<_ASUNAME
   1838 ## --------- ##
   1839 ## Platform. ##
   1840 ## --------- ##
   1841 
   1842 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1843 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1844 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1845 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1846 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1847 
   1848 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1849 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1850 
   1851 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1852 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1853 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1854 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1855 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1856 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1857 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1858 
   1859 _ASUNAME
   1860 
   1861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1862 for as_dir in $PATH
   1863 do
   1864   IFS=$as_save_IFS
   1865   case $as_dir in #(((
   1866     '') as_dir=./ ;;
   1867     */) ;;
   1868     *) as_dir=$as_dir/ ;;
   1869   esac
   1870     printf "%s\n" "PATH: $as_dir"
   1871   done
   1872 IFS=$as_save_IFS
   1873 
   1874 } >&5
   1875 
   1876 cat >&5 <<_ACEOF
   1877 
   1878 
   1879 ## ----------- ##
   1880 ## Core tests. ##
   1881 ## ----------- ##
   1882 
   1883 _ACEOF
   1884 
   1885 
   1886 # Keep a trace of the command line.
   1887 # Strip out --no-create and --no-recursion so they do not pile up.
   1888 # Strip out --silent because we don't want to record it for future runs.
   1889 # Also quote any args containing shell meta-characters.
   1890 # Make two passes to allow for proper duplicate-argument suppression.
   1891 ac_configure_args=
   1892 ac_configure_args0=
   1893 ac_configure_args1=
   1894 ac_must_keep_next=false
   1895 for ac_pass in 1 2
   1896 do
   1897   for ac_arg
   1898   do
   1899     case $ac_arg in
   1900     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1901     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1902     | -silent | --silent | --silen | --sile | --sil)
   1903       continue ;;
   1904     *\'*)
   1905       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1906     esac
   1907     case $ac_pass in
   1908     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1909     2)
   1910       as_fn_append ac_configure_args1 " '$ac_arg'"
   1911       if test $ac_must_keep_next = true; then
   1912 	ac_must_keep_next=false # Got value, back to normal.
   1913       else
   1914 	case $ac_arg in
   1915 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1916 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1917 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1918 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1919 	    case "$ac_configure_args0 " in
   1920 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1921 	    esac
   1922 	    ;;
   1923 	  -* ) ac_must_keep_next=true ;;
   1924 	esac
   1925       fi
   1926       as_fn_append ac_configure_args " '$ac_arg'"
   1927       ;;
   1928     esac
   1929   done
   1930 done
   1931 { ac_configure_args0=; unset ac_configure_args0;}
   1932 { ac_configure_args1=; unset ac_configure_args1;}
   1933 
   1934 # When interrupted or exit'd, cleanup temporary files, and complete
   1935 # config.log.  We remove comments because anyway the quotes in there
   1936 # would cause problems or look ugly.
   1937 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1938 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1939 trap 'exit_status=$?
   1940   # Sanitize IFS.
   1941   IFS=" ""	$as_nl"
   1942   # Save into config.log some information that might help in debugging.
   1943   {
   1944     echo
   1945 
   1946     printf "%s\n" "## ---------------- ##
   1947 ## Cache variables. ##
   1948 ## ---------------- ##"
   1949     echo
   1950     # The following way of writing the cache mishandles newlines in values,
   1951 (
   1952   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1953     eval ac_val=\$$ac_var
   1954     case $ac_val in #(
   1955     *${as_nl}*)
   1956       case $ac_var in #(
   1957       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1958 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1959       esac
   1960       case $ac_var in #(
   1961       _ | IFS | as_nl) ;; #(
   1962       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1963       *) { eval $ac_var=; unset $ac_var;} ;;
   1964       esac ;;
   1965     esac
   1966   done
   1967   (set) 2>&1 |
   1968     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1969     *${as_nl}ac_space=\ *)
   1970       sed -n \
   1971 	"s/'\''/'\''\\\\'\'''\''/g;
   1972 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1973       ;; #(
   1974     *)
   1975       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1976       ;;
   1977     esac |
   1978     sort
   1979 )
   1980     echo
   1981 
   1982     printf "%s\n" "## ----------------- ##
   1983 ## Output variables. ##
   1984 ## ----------------- ##"
   1985     echo
   1986     for ac_var in $ac_subst_vars
   1987     do
   1988       eval ac_val=\$$ac_var
   1989       case $ac_val in
   1990       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1991       esac
   1992       printf "%s\n" "$ac_var='\''$ac_val'\''"
   1993     done | sort
   1994     echo
   1995 
   1996     if test -n "$ac_subst_files"; then
   1997       printf "%s\n" "## ------------------- ##
   1998 ## File substitutions. ##
   1999 ## ------------------- ##"
   2000       echo
   2001       for ac_var in $ac_subst_files
   2002       do
   2003 	eval ac_val=\$$ac_var
   2004 	case $ac_val in
   2005 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2006 	esac
   2007 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2008       done | sort
   2009       echo
   2010     fi
   2011 
   2012     if test -s confdefs.h; then
   2013       printf "%s\n" "## ----------- ##
   2014 ## confdefs.h. ##
   2015 ## ----------- ##"
   2016       echo
   2017       cat confdefs.h
   2018       echo
   2019     fi
   2020     test "$ac_signal" != 0 &&
   2021       printf "%s\n" "$as_me: caught signal $ac_signal"
   2022     printf "%s\n" "$as_me: exit $exit_status"
   2023   } >&5
   2024   rm -f core *.core core.conftest.* &&
   2025     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2026     exit $exit_status
   2027 ' 0
   2028 for ac_signal in 1 2 13 15; do
   2029   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2030 done
   2031 ac_signal=0
   2032 
   2033 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2034 rm -f -r conftest* confdefs.h
   2035 
   2036 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2037 
   2038 # Predefined preprocessor variables.
   2039 
   2040 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2041 
   2042 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2043 
   2044 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2045 
   2046 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2047 
   2048 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2049 
   2050 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2051 
   2052 
   2053 # Let the site file select an alternate cache file if it wants to.
   2054 # Prefer an explicitly selected file to automatically selected ones.
   2055 if test -n "$CONFIG_SITE"; then
   2056   ac_site_files="$CONFIG_SITE"
   2057 elif test "x$prefix" != xNONE; then
   2058   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2059 else
   2060   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2061 fi
   2062 
   2063 for ac_site_file in $ac_site_files
   2064 do
   2065   case $ac_site_file in #(
   2066   */*) :
   2067      ;; #(
   2068   *) :
   2069     ac_site_file=./$ac_site_file ;;
   2070 esac
   2071   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2072     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2073 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2074     sed 's/^/| /' "$ac_site_file" >&5
   2075     . "$ac_site_file" \
   2076       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2077 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2078 as_fn_error $? "failed to load site script $ac_site_file
   2079 See 'config.log' for more details" "$LINENO" 5; }
   2080   fi
   2081 done
   2082 
   2083 if test -r "$cache_file"; then
   2084   # Some versions of bash will fail to source /dev/null (special files
   2085   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2086   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2087     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2088 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2089     case $cache_file in
   2090       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2091       *)                      . "./$cache_file";;
   2092     esac
   2093   fi
   2094 else
   2095   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2096 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2097   >$cache_file
   2098 fi
   2099 
   2100 # Test code for whether the C compiler supports C89 (global declarations)
   2101 ac_c_conftest_c89_globals='
   2102 /* Does the compiler advertise C89 conformance?
   2103    Do not test the value of __STDC__, because some compilers set it to 0
   2104    while being otherwise adequately conformant. */
   2105 #if !defined __STDC__
   2106 # error "Compiler does not advertise C89 conformance"
   2107 #endif
   2108 
   2109 #include <stddef.h>
   2110 #include <stdarg.h>
   2111 struct stat;
   2112 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2113 struct buf { int x; };
   2114 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2115 static char *e (char **p, int i)
   2116 {
   2117   return p[i];
   2118 }
   2119 static char *f (char * (*g) (char **, int), char **p, ...)
   2120 {
   2121   char *s;
   2122   va_list v;
   2123   va_start (v,p);
   2124   s = g (p, va_arg (v,int));
   2125   va_end (v);
   2126   return s;
   2127 }
   2128 
   2129 /* C89 style stringification. */
   2130 #define noexpand_stringify(a) #a
   2131 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2132 
   2133 /* C89 style token pasting.  Exercises some of the corner cases that
   2134    e.g. old MSVC gets wrong, but not very hard. */
   2135 #define noexpand_concat(a,b) a##b
   2136 #define expand_concat(a,b) noexpand_concat(a,b)
   2137 extern int vA;
   2138 extern int vbee;
   2139 #define aye A
   2140 #define bee B
   2141 int *pvA = &expand_concat(v,aye);
   2142 int *pvbee = &noexpand_concat(v,bee);
   2143 
   2144 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2145    function prototypes and stuff, but not \xHH hex character constants.
   2146    These do not provoke an error unfortunately, instead are silently treated
   2147    as an "x".  The following induces an error, until -std is added to get
   2148    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2149    array size at least.  It is necessary to write \x00 == 0 to get something
   2150    that is true only with -std.  */
   2151 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2152 
   2153 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2154    inside strings and character constants.  */
   2155 #define FOO(x) '\''x'\''
   2156 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2157 
   2158 int test (int i, double x);
   2159 struct s1 {int (*f) (int a);};
   2160 struct s2 {int (*f) (double a);};
   2161 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2162                int, int);'
   2163 
   2164 # Test code for whether the C compiler supports C89 (body of main).
   2165 ac_c_conftest_c89_main='
   2166 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2167 '
   2168 
   2169 # Test code for whether the C compiler supports C99 (global declarations)
   2170 ac_c_conftest_c99_globals='
   2171 /* Does the compiler advertise C99 conformance? */
   2172 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2173 # error "Compiler does not advertise C99 conformance"
   2174 #endif
   2175 
   2176 // See if C++-style comments work.
   2177 
   2178 #include <stdbool.h>
   2179 extern int puts (const char *);
   2180 extern int printf (const char *, ...);
   2181 extern int dprintf (int, const char *, ...);
   2182 extern void *malloc (size_t);
   2183 extern void free (void *);
   2184 
   2185 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2186 // dprintf is used instead of fprintf to avoid needing to declare
   2187 // FILE and stderr.
   2188 #define debug(...) dprintf (2, __VA_ARGS__)
   2189 #define showlist(...) puts (#__VA_ARGS__)
   2190 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2191 static void
   2192 test_varargs_macros (void)
   2193 {
   2194   int x = 1234;
   2195   int y = 5678;
   2196   debug ("Flag");
   2197   debug ("X = %d\n", x);
   2198   showlist (The first, second, and third items.);
   2199   report (x>y, "x is %d but y is %d", x, y);
   2200 }
   2201 
   2202 // Check long long types.
   2203 #define BIG64 18446744073709551615ull
   2204 #define BIG32 4294967295ul
   2205 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2206 #if !BIG_OK
   2207   #error "your preprocessor is broken"
   2208 #endif
   2209 #if BIG_OK
   2210 #else
   2211   #error "your preprocessor is broken"
   2212 #endif
   2213 static long long int bignum = -9223372036854775807LL;
   2214 static unsigned long long int ubignum = BIG64;
   2215 
   2216 struct incomplete_array
   2217 {
   2218   int datasize;
   2219   double data[];
   2220 };
   2221 
   2222 struct named_init {
   2223   int number;
   2224   const wchar_t *name;
   2225   double average;
   2226 };
   2227 
   2228 typedef const char *ccp;
   2229 
   2230 static inline int
   2231 test_restrict (ccp restrict text)
   2232 {
   2233   // Iterate through items via the restricted pointer.
   2234   // Also check for declarations in for loops.
   2235   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2236     continue;
   2237   return 0;
   2238 }
   2239 
   2240 // Check varargs and va_copy.
   2241 static bool
   2242 test_varargs (const char *format, ...)
   2243 {
   2244   va_list args;
   2245   va_start (args, format);
   2246   va_list args_copy;
   2247   va_copy (args_copy, args);
   2248 
   2249   const char *str = "";
   2250   int number = 0;
   2251   float fnumber = 0;
   2252 
   2253   while (*format)
   2254     {
   2255       switch (*format++)
   2256 	{
   2257 	case '\''s'\'': // string
   2258 	  str = va_arg (args_copy, const char *);
   2259 	  break;
   2260 	case '\''d'\'': // int
   2261 	  number = va_arg (args_copy, int);
   2262 	  break;
   2263 	case '\''f'\'': // float
   2264 	  fnumber = va_arg (args_copy, double);
   2265 	  break;
   2266 	default:
   2267 	  break;
   2268 	}
   2269     }
   2270   va_end (args_copy);
   2271   va_end (args);
   2272 
   2273   return *str && number && fnumber;
   2274 }
   2275 '
   2276 
   2277 # Test code for whether the C compiler supports C99 (body of main).
   2278 ac_c_conftest_c99_main='
   2279   // Check bool.
   2280   _Bool success = false;
   2281   success |= (argc != 0);
   2282 
   2283   // Check restrict.
   2284   if (test_restrict ("String literal") == 0)
   2285     success = true;
   2286   char *restrict newvar = "Another string";
   2287 
   2288   // Check varargs.
   2289   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2290   test_varargs_macros ();
   2291 
   2292   // Check flexible array members.
   2293   struct incomplete_array *ia =
   2294     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2295   ia->datasize = 10;
   2296   for (int i = 0; i < ia->datasize; ++i)
   2297     ia->data[i] = i * 1.234;
   2298   // Work around memory leak warnings.
   2299   free (ia);
   2300 
   2301   // Check named initializers.
   2302   struct named_init ni = {
   2303     .number = 34,
   2304     .name = L"Test wide string",
   2305     .average = 543.34343,
   2306   };
   2307 
   2308   ni.number = 58;
   2309 
   2310   int dynamic_array[ni.number];
   2311   dynamic_array[0] = argv[0][0];
   2312   dynamic_array[ni.number - 1] = 543;
   2313 
   2314   // work around unused variable warnings
   2315   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2316 	 || dynamic_array[ni.number - 1] != 543);
   2317 '
   2318 
   2319 # Test code for whether the C compiler supports C11 (global declarations)
   2320 ac_c_conftest_c11_globals='
   2321 /* Does the compiler advertise C11 conformance? */
   2322 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2323 # error "Compiler does not advertise C11 conformance"
   2324 #endif
   2325 
   2326 // Check _Alignas.
   2327 char _Alignas (double) aligned_as_double;
   2328 char _Alignas (0) no_special_alignment;
   2329 extern char aligned_as_int;
   2330 char _Alignas (0) _Alignas (int) aligned_as_int;
   2331 
   2332 // Check _Alignof.
   2333 enum
   2334 {
   2335   int_alignment = _Alignof (int),
   2336   int_array_alignment = _Alignof (int[100]),
   2337   char_alignment = _Alignof (char)
   2338 };
   2339 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2340 
   2341 // Check _Noreturn.
   2342 int _Noreturn does_not_return (void) { for (;;) continue; }
   2343 
   2344 // Check _Static_assert.
   2345 struct test_static_assert
   2346 {
   2347   int x;
   2348   _Static_assert (sizeof (int) <= sizeof (long int),
   2349                   "_Static_assert does not work in struct");
   2350   long int y;
   2351 };
   2352 
   2353 // Check UTF-8 literals.
   2354 #define u8 syntax error!
   2355 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2356 
   2357 // Check duplicate typedefs.
   2358 typedef long *long_ptr;
   2359 typedef long int *long_ptr;
   2360 typedef long_ptr long_ptr;
   2361 
   2362 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2363 struct anonymous
   2364 {
   2365   union {
   2366     struct { int i; int j; };
   2367     struct { int k; long int l; } w;
   2368   };
   2369   int m;
   2370 } v1;
   2371 '
   2372 
   2373 # Test code for whether the C compiler supports C11 (body of main).
   2374 ac_c_conftest_c11_main='
   2375   _Static_assert ((offsetof (struct anonymous, i)
   2376 		   == offsetof (struct anonymous, w.k)),
   2377 		  "Anonymous union alignment botch");
   2378   v1.i = 2;
   2379   v1.w.k = 5;
   2380   ok |= v1.i != 5;
   2381 '
   2382 
   2383 # Test code for whether the C compiler supports C11 (complete).
   2384 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2385 ${ac_c_conftest_c99_globals}
   2386 ${ac_c_conftest_c11_globals}
   2387 
   2388 int
   2389 main (int argc, char **argv)
   2390 {
   2391   int ok = 0;
   2392   ${ac_c_conftest_c89_main}
   2393   ${ac_c_conftest_c99_main}
   2394   ${ac_c_conftest_c11_main}
   2395   return ok;
   2396 }
   2397 "
   2398 
   2399 # Test code for whether the C compiler supports C99 (complete).
   2400 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2401 ${ac_c_conftest_c99_globals}
   2402 
   2403 int
   2404 main (int argc, char **argv)
   2405 {
   2406   int ok = 0;
   2407   ${ac_c_conftest_c89_main}
   2408   ${ac_c_conftest_c99_main}
   2409   return ok;
   2410 }
   2411 "
   2412 
   2413 # Test code for whether the C compiler supports C89 (complete).
   2414 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2415 
   2416 int
   2417 main (int argc, char **argv)
   2418 {
   2419   int ok = 0;
   2420   ${ac_c_conftest_c89_main}
   2421   return ok;
   2422 }
   2423 "
   2424 
   2425 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2426 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2427 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2428 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2429 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2430 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2431 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2432 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2433 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2434 
   2435 # Auxiliary files required by this configure script.
   2436 ac_aux_files="config.guess config.sub compile missing install-sh"
   2437 
   2438 # Locations in which to look for auxiliary files.
   2439 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2440 
   2441 # Search for a directory containing all of the required auxiliary files,
   2442 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2443 # If we don't find one directory that contains all the files we need,
   2444 # we report the set of missing files from the *first* directory in
   2445 # $ac_aux_dir_candidates and give up.
   2446 ac_missing_aux_files=""
   2447 ac_first_candidate=:
   2448 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2450 as_found=false
   2451 for as_dir in $ac_aux_dir_candidates
   2452 do
   2453   IFS=$as_save_IFS
   2454   case $as_dir in #(((
   2455     '') as_dir=./ ;;
   2456     */) ;;
   2457     *) as_dir=$as_dir/ ;;
   2458   esac
   2459   as_found=:
   2460 
   2461   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2462   ac_aux_dir_found=yes
   2463   ac_install_sh=
   2464   for ac_aux in $ac_aux_files
   2465   do
   2466     # As a special case, if "install-sh" is required, that requirement
   2467     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2468     # and $ac_install_sh is set appropriately for whichever one is found.
   2469     if test x"$ac_aux" = x"install-sh"
   2470     then
   2471       if test -f "${as_dir}install-sh"; then
   2472         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2473         ac_install_sh="${as_dir}install-sh -c"
   2474       elif test -f "${as_dir}install.sh"; then
   2475         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2476         ac_install_sh="${as_dir}install.sh -c"
   2477       elif test -f "${as_dir}shtool"; then
   2478         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2479         ac_install_sh="${as_dir}shtool install -c"
   2480       else
   2481         ac_aux_dir_found=no
   2482         if $ac_first_candidate; then
   2483           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2484         else
   2485           break
   2486         fi
   2487       fi
   2488     else
   2489       if test -f "${as_dir}${ac_aux}"; then
   2490         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2491       else
   2492         ac_aux_dir_found=no
   2493         if $ac_first_candidate; then
   2494           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2495         else
   2496           break
   2497         fi
   2498       fi
   2499     fi
   2500   done
   2501   if test "$ac_aux_dir_found" = yes; then
   2502     ac_aux_dir="$as_dir"
   2503     break
   2504   fi
   2505   ac_first_candidate=false
   2506 
   2507   as_found=false
   2508 done
   2509 IFS=$as_save_IFS
   2510 if $as_found
   2511 then :
   2512 
   2513 else case e in #(
   2514   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2515 esac
   2516 fi
   2517 
   2518 
   2519 # These three variables are undocumented and unsupported,
   2520 # and are intended to be withdrawn in a future Autoconf release.
   2521 # They can cause serious problems if a builder's source tree is in a directory
   2522 # whose full name contains unusual characters.
   2523 if test -f "${ac_aux_dir}config.guess"; then
   2524   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2525 fi
   2526 if test -f "${ac_aux_dir}config.sub"; then
   2527   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2528 fi
   2529 if test -f "$ac_aux_dir/configure"; then
   2530   ac_configure="$SHELL ${ac_aux_dir}configure"
   2531 fi
   2532 
   2533 # Check that the precious variables saved in the cache have kept the same
   2534 # value.
   2535 ac_cache_corrupted=false
   2536 for ac_var in $ac_precious_vars; do
   2537   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2538   eval ac_new_set=\$ac_env_${ac_var}_set
   2539   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2540   eval ac_new_val=\$ac_env_${ac_var}_value
   2541   case $ac_old_set,$ac_new_set in
   2542     set,)
   2543       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2544 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2545       ac_cache_corrupted=: ;;
   2546     ,set)
   2547       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2548 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2549       ac_cache_corrupted=: ;;
   2550     ,);;
   2551     *)
   2552       if test "x$ac_old_val" != "x$ac_new_val"; then
   2553 	# differences in whitespace do not lead to failure.
   2554 	ac_old_val_w=`echo x $ac_old_val`
   2555 	ac_new_val_w=`echo x $ac_new_val`
   2556 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2557 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2558 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2559 	  ac_cache_corrupted=:
   2560 	else
   2561 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2562 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2563 	  eval $ac_var=\$ac_old_val
   2564 	fi
   2565 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2566 printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
   2567 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2568 printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
   2569       fi;;
   2570   esac
   2571   # Pass precious variables to config.status.
   2572   if test "$ac_new_set" = set; then
   2573     case $ac_new_val in
   2574     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2575     *) ac_arg=$ac_var=$ac_new_val ;;
   2576     esac
   2577     case " $ac_configure_args " in
   2578       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2579       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2580     esac
   2581   fi
   2582 done
   2583 if $ac_cache_corrupted; then
   2584   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2585 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2586   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2587 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2588   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2589 	    and start over" "$LINENO" 5
   2590 fi
   2591 ## -------------------- ##
   2592 ## Main body of script. ##
   2593 ## -------------------- ##
   2594 
   2595 ac_ext=c
   2596 ac_cpp='$CPP $CPPFLAGS'
   2597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2600 
   2601 
   2602 
   2603 ac_config_headers="$ac_config_headers config.h"
   2604 
   2605 
   2606 # Initialize Automake
   2607 am__api_version='1.16'
   2608 
   2609 
   2610 
   2611   # Find a good install program.  We prefer a C program (faster),
   2612 # so one script is as good as another.  But avoid the broken or
   2613 # incompatible versions:
   2614 # SysV /etc/install, /usr/sbin/install
   2615 # SunOS /usr/etc/install
   2616 # IRIX /sbin/install
   2617 # AIX /bin/install
   2618 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2619 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2620 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2621 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2622 # OS/2's system install, which has a completely different semantic
   2623 # ./install, which can be erroneously created by make from ./install.sh.
   2624 # Reject install programs that cannot install multiple files.
   2625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2626 printf %s "checking for a BSD-compatible install... " >&6; }
   2627 if test -z "$INSTALL"; then
   2628 if test ${ac_cv_path_install+y}
   2629 then :
   2630   printf %s "(cached) " >&6
   2631 else case e in #(
   2632   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2633 for as_dir in $PATH
   2634 do
   2635   IFS=$as_save_IFS
   2636   case $as_dir in #(((
   2637     '') as_dir=./ ;;
   2638     */) ;;
   2639     *) as_dir=$as_dir/ ;;
   2640   esac
   2641     # Account for fact that we put trailing slashes in our PATH walk.
   2642 case $as_dir in #((
   2643   ./ | /[cC]/* | \
   2644   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2645   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2646   /usr/ucb/* ) ;;
   2647   *)
   2648     # OSF1 and SCO ODT 3.0 have their own names for install.
   2649     # Don't use installbsd from OSF since it installs stuff as root
   2650     # by default.
   2651     for ac_prog in ginstall scoinst install; do
   2652       for ac_exec_ext in '' $ac_executable_extensions; do
   2653 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2654 	  if test $ac_prog = install &&
   2655 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2656 	    # AIX install.  It has an incompatible calling convention.
   2657 	    :
   2658 	  elif test $ac_prog = install &&
   2659 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2660 	    # program-specific install script used by HP pwplus--don't use.
   2661 	    :
   2662 	  else
   2663 	    rm -rf conftest.one conftest.two conftest.dir
   2664 	    echo one > conftest.one
   2665 	    echo two > conftest.two
   2666 	    mkdir conftest.dir
   2667 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2668 	      test -s conftest.one && test -s conftest.two &&
   2669 	      test -s conftest.dir/conftest.one &&
   2670 	      test -s conftest.dir/conftest.two
   2671 	    then
   2672 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2673 	      break 3
   2674 	    fi
   2675 	  fi
   2676 	fi
   2677       done
   2678     done
   2679     ;;
   2680 esac
   2681 
   2682   done
   2683 IFS=$as_save_IFS
   2684 
   2685 rm -rf conftest.one conftest.two conftest.dir
   2686  ;;
   2687 esac
   2688 fi
   2689   if test ${ac_cv_path_install+y}; then
   2690     INSTALL=$ac_cv_path_install
   2691   else
   2692     # As a last resort, use the slow shell script.  Don't cache a
   2693     # value for INSTALL within a source directory, because that will
   2694     # break other packages using the cache if that directory is
   2695     # removed, or if the value is a relative name.
   2696     INSTALL=$ac_install_sh
   2697   fi
   2698 fi
   2699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2700 printf "%s\n" "$INSTALL" >&6; }
   2701 
   2702 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2703 # It thinks the first close brace ends the variable substitution.
   2704 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2705 
   2706 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2707 
   2708 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2709 
   2710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2711 printf %s "checking whether build environment is sane... " >&6; }
   2712 # Reject unsafe characters in $srcdir or the absolute working directory
   2713 # name.  Accept space and tab only in the latter.
   2714 am_lf='
   2715 '
   2716 case `pwd` in
   2717   *[\\\"\#\$\&\'\`$am_lf]*)
   2718     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2719 esac
   2720 case $srcdir in
   2721   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2722     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2723 esac
   2724 
   2725 # Do 'set' in a subshell so we don't clobber the current shell's
   2726 # arguments.  Must try -L first in case configure is actually a
   2727 # symlink; some systems play weird games with the mod time of symlinks
   2728 # (eg FreeBSD returns the mod time of the symlink's containing
   2729 # directory).
   2730 if (
   2731    am_has_slept=no
   2732    for am_try in 1 2; do
   2733      echo "timestamp, slept: $am_has_slept" > conftest.file
   2734      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2735      if test "$*" = "X"; then
   2736 	# -L didn't work.
   2737 	set X `ls -t "$srcdir/configure" conftest.file`
   2738      fi
   2739      if test "$*" != "X $srcdir/configure conftest.file" \
   2740 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2741 
   2742 	# If neither matched, then we have a broken ls.  This can happen
   2743 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2744 	# broken ls alias from the environment.  This has actually
   2745 	# happened.  Such a system could not be considered "sane".
   2746 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2747   alias in your environment" "$LINENO" 5
   2748      fi
   2749      if test "$2" = conftest.file || test $am_try -eq 2; then
   2750        break
   2751      fi
   2752      # Just in case.
   2753      sleep 1
   2754      am_has_slept=yes
   2755    done
   2756    test "$2" = conftest.file
   2757    )
   2758 then
   2759    # Ok.
   2760    :
   2761 else
   2762    as_fn_error $? "newly created file is older than distributed files!
   2763 Check your system clock" "$LINENO" 5
   2764 fi
   2765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2766 printf "%s\n" "yes" >&6; }
   2767 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2768 # generated files are strictly newer.
   2769 am_sleep_pid=
   2770 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2771   ( sleep 1 ) &
   2772   am_sleep_pid=$!
   2773 fi
   2774 
   2775 rm -f conftest.file
   2776 
   2777 test "$program_prefix" != NONE &&
   2778   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2779 # Use a double $ so make ignores it.
   2780 test "$program_suffix" != NONE &&
   2781   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2782 # Double any \ or $.
   2783 # By default was 's,x,x', remove it if useless.
   2784 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2785 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2786 
   2787 
   2788 # Expand $ac_aux_dir to an absolute path.
   2789 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2790 
   2791 
   2792   if test x"${MISSING+set}" != xset; then
   2793   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2794 fi
   2795 # Use eval to expand $SHELL
   2796 if eval "$MISSING --is-lightweight"; then
   2797   am_missing_run="$MISSING "
   2798 else
   2799   am_missing_run=
   2800   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2801 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2802 fi
   2803 
   2804 if test x"${install_sh+set}" != xset; then
   2805   case $am_aux_dir in
   2806   *\ * | *\	*)
   2807     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2808   *)
   2809     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2810   esac
   2811 fi
   2812 
   2813 # Installed binaries are usually stripped using 'strip' when the user
   2814 # run "make install-strip".  However 'strip' might not be the right
   2815 # tool to use in cross-compilation environments, therefore Automake
   2816 # will honor the 'STRIP' environment variable to overrule this program.
   2817 if test "$cross_compiling" != no; then
   2818   if test -n "$ac_tool_prefix"; then
   2819   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2820 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2822 printf %s "checking for $ac_word... " >&6; }
   2823 if test ${ac_cv_prog_STRIP+y}
   2824 then :
   2825   printf %s "(cached) " >&6
   2826 else case e in #(
   2827   e) if test -n "$STRIP"; then
   2828   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2829 else
   2830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2831 for as_dir in $PATH
   2832 do
   2833   IFS=$as_save_IFS
   2834   case $as_dir in #(((
   2835     '') as_dir=./ ;;
   2836     */) ;;
   2837     *) as_dir=$as_dir/ ;;
   2838   esac
   2839     for ac_exec_ext in '' $ac_executable_extensions; do
   2840   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2841     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2842     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2843     break 2
   2844   fi
   2845 done
   2846   done
   2847 IFS=$as_save_IFS
   2848 
   2849 fi ;;
   2850 esac
   2851 fi
   2852 STRIP=$ac_cv_prog_STRIP
   2853 if test -n "$STRIP"; then
   2854   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2855 printf "%s\n" "$STRIP" >&6; }
   2856 else
   2857   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2858 printf "%s\n" "no" >&6; }
   2859 fi
   2860 
   2861 
   2862 fi
   2863 if test -z "$ac_cv_prog_STRIP"; then
   2864   ac_ct_STRIP=$STRIP
   2865   # Extract the first word of "strip", so it can be a program name with args.
   2866 set dummy strip; ac_word=$2
   2867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2868 printf %s "checking for $ac_word... " >&6; }
   2869 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2870 then :
   2871   printf %s "(cached) " >&6
   2872 else case e in #(
   2873   e) if test -n "$ac_ct_STRIP"; then
   2874   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2875 else
   2876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2877 for as_dir in $PATH
   2878 do
   2879   IFS=$as_save_IFS
   2880   case $as_dir in #(((
   2881     '') as_dir=./ ;;
   2882     */) ;;
   2883     *) as_dir=$as_dir/ ;;
   2884   esac
   2885     for ac_exec_ext in '' $ac_executable_extensions; do
   2886   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2887     ac_cv_prog_ac_ct_STRIP="strip"
   2888     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2889     break 2
   2890   fi
   2891 done
   2892   done
   2893 IFS=$as_save_IFS
   2894 
   2895 fi ;;
   2896 esac
   2897 fi
   2898 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2899 if test -n "$ac_ct_STRIP"; then
   2900   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2901 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2902 else
   2903   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2904 printf "%s\n" "no" >&6; }
   2905 fi
   2906 
   2907   if test "x$ac_ct_STRIP" = x; then
   2908     STRIP=":"
   2909   else
   2910     case $cross_compiling:$ac_tool_warned in
   2911 yes:)
   2912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2913 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2914 ac_tool_warned=yes ;;
   2915 esac
   2916     STRIP=$ac_ct_STRIP
   2917   fi
   2918 else
   2919   STRIP="$ac_cv_prog_STRIP"
   2920 fi
   2921 
   2922 fi
   2923 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2924 
   2925 
   2926   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   2927 printf %s "checking for a race-free mkdir -p... " >&6; }
   2928 if test -z "$MKDIR_P"; then
   2929   if test ${ac_cv_path_mkdir+y}
   2930 then :
   2931   printf %s "(cached) " >&6
   2932 else case e in #(
   2933   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2934 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2935 do
   2936   IFS=$as_save_IFS
   2937   case $as_dir in #(((
   2938     '') as_dir=./ ;;
   2939     */) ;;
   2940     *) as_dir=$as_dir/ ;;
   2941   esac
   2942     for ac_prog in mkdir gmkdir; do
   2943 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2944 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   2945 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2946 	     'mkdir ('*'coreutils) '* | \
   2947 	     *'BusyBox '* | \
   2948 	     'mkdir (fileutils) '4.1*)
   2949 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   2950 	       break 3;;
   2951 	   esac
   2952 	 done
   2953        done
   2954   done
   2955 IFS=$as_save_IFS
   2956  ;;
   2957 esac
   2958 fi
   2959 
   2960   test -d ./--version && rmdir ./--version
   2961   if test ${ac_cv_path_mkdir+y}; then
   2962     MKDIR_P="$ac_cv_path_mkdir -p"
   2963   else
   2964     # As a last resort, use plain mkdir -p,
   2965     # in the hope it doesn't have the bugs of ancient mkdir.
   2966     MKDIR_P='mkdir -p'
   2967   fi
   2968 fi
   2969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2970 printf "%s\n" "$MKDIR_P" >&6; }
   2971 
   2972 for ac_prog in gawk mawk nawk awk
   2973 do
   2974   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2975 set dummy $ac_prog; ac_word=$2
   2976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2977 printf %s "checking for $ac_word... " >&6; }
   2978 if test ${ac_cv_prog_AWK+y}
   2979 then :
   2980   printf %s "(cached) " >&6
   2981 else case e in #(
   2982   e) if test -n "$AWK"; then
   2983   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2984 else
   2985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2986 for as_dir in $PATH
   2987 do
   2988   IFS=$as_save_IFS
   2989   case $as_dir in #(((
   2990     '') as_dir=./ ;;
   2991     */) ;;
   2992     *) as_dir=$as_dir/ ;;
   2993   esac
   2994     for ac_exec_ext in '' $ac_executable_extensions; do
   2995   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2996     ac_cv_prog_AWK="$ac_prog"
   2997     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2998     break 2
   2999   fi
   3000 done
   3001   done
   3002 IFS=$as_save_IFS
   3003 
   3004 fi ;;
   3005 esac
   3006 fi
   3007 AWK=$ac_cv_prog_AWK
   3008 if test -n "$AWK"; then
   3009   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3010 printf "%s\n" "$AWK" >&6; }
   3011 else
   3012   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3013 printf "%s\n" "no" >&6; }
   3014 fi
   3015 
   3016 
   3017   test -n "$AWK" && break
   3018 done
   3019 
   3020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3021 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3022 set x ${MAKE-make}
   3023 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3024 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3025 then :
   3026   printf %s "(cached) " >&6
   3027 else case e in #(
   3028   e) cat >conftest.make <<\_ACEOF
   3029 SHELL = /bin/sh
   3030 all:
   3031 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3032 _ACEOF
   3033 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3034 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3035   *@@@%%%=?*=@@@%%%*)
   3036     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3037   *)
   3038     eval ac_cv_prog_make_${ac_make}_set=no;;
   3039 esac
   3040 rm -f conftest.make ;;
   3041 esac
   3042 fi
   3043 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3044   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3045 printf "%s\n" "yes" >&6; }
   3046   SET_MAKE=
   3047 else
   3048   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3049 printf "%s\n" "no" >&6; }
   3050   SET_MAKE="MAKE=${MAKE-make}"
   3051 fi
   3052 
   3053 rm -rf .tst 2>/dev/null
   3054 mkdir .tst 2>/dev/null
   3055 if test -d .tst; then
   3056   am__leading_dot=.
   3057 else
   3058   am__leading_dot=_
   3059 fi
   3060 rmdir .tst 2>/dev/null
   3061 
   3062 # Check whether --enable-silent-rules was given.
   3063 if test ${enable_silent_rules+y}
   3064 then :
   3065   enableval=$enable_silent_rules;
   3066 fi
   3067 
   3068 case $enable_silent_rules in # (((
   3069   yes) AM_DEFAULT_VERBOSITY=0;;
   3070    no) AM_DEFAULT_VERBOSITY=1;;
   3071     *) AM_DEFAULT_VERBOSITY=1;;
   3072 esac
   3073 am_make=${MAKE-make}
   3074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3075 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3076 if test ${am_cv_make_support_nested_variables+y}
   3077 then :
   3078   printf %s "(cached) " >&6
   3079 else case e in #(
   3080   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   3081 BAR0=false
   3082 BAR1=true
   3083 V=1
   3084 am__doit:
   3085 	@$(TRUE)
   3086 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3087   am_cv_make_support_nested_variables=yes
   3088 else
   3089   am_cv_make_support_nested_variables=no
   3090 fi ;;
   3091 esac
   3092 fi
   3093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3094 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3095 if test $am_cv_make_support_nested_variables = yes; then
   3096     AM_V='$(V)'
   3097   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3098 else
   3099   AM_V=$AM_DEFAULT_VERBOSITY
   3100   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3101 fi
   3102 AM_BACKSLASH='\'
   3103 
   3104 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3105   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3106   # is not polluted with repeated "-I."
   3107   am__isrc=' -I$(srcdir)'
   3108   # test to see if srcdir already configured
   3109   if test -f $srcdir/config.status; then
   3110     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3111   fi
   3112 fi
   3113 
   3114 # test whether we have cygpath
   3115 if test -z "$CYGPATH_W"; then
   3116   if (cygpath --version) >/dev/null 2>/dev/null; then
   3117     CYGPATH_W='cygpath -w'
   3118   else
   3119     CYGPATH_W=echo
   3120   fi
   3121 fi
   3122 
   3123 
   3124 # Define the identity of the package.
   3125  PACKAGE='bitmap'
   3126  VERSION='1.1.1'
   3127 
   3128 
   3129 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3130 
   3131 
   3132 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3133 
   3134 # Some tools Automake needs.
   3135 
   3136 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3137 
   3138 
   3139 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3140 
   3141 
   3142 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3143 
   3144 
   3145 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3146 
   3147 
   3148 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3149 
   3150 # For better backward compatibility.  To be removed once Automake 1.9.x
   3151 # dies out for good.  For more background, see:
   3152 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3153 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3154 mkdir_p='$(MKDIR_P)'
   3155 
   3156 # We need awk for the "check" target (and possibly the TAP driver).  The
   3157 # system "awk" is bad on some platforms.
   3158 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3159 # in the wild :-(  We should find a proper way to deprecate it ...
   3160 AMTAR='$${TAR-tar}'
   3161 
   3162 
   3163 # We'll loop over all known methods to create a tar archive until one works.
   3164 _am_tools='gnutar  pax cpio none'
   3165 
   3166 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3167 
   3168 
   3169 
   3170 
   3171 
   3172 # Variables for tags utilities; see am/tags.am
   3173 if test -z "$CTAGS"; then
   3174   CTAGS=ctags
   3175 fi
   3176 
   3177 if test -z "$ETAGS"; then
   3178   ETAGS=etags
   3179 fi
   3180 
   3181 if test -z "$CSCOPE"; then
   3182   CSCOPE=cscope
   3183 fi
   3184 
   3185 
   3186 
   3187 # POSIX will say in a future version that running "rm -f" with no argument
   3188 # is OK; and we want to be able to make that assumption in our Makefile
   3189 # recipes.  So use an aggressive probe to check that the usage we want is
   3190 # actually supported "in the wild" to an acceptable degree.
   3191 # See automake bug#10828.
   3192 # To make any issue more visible, cause the running configure to be aborted
   3193 # by default if the 'rm' program in use doesn't match our expectations; the
   3194 # user can still override this though.
   3195 if rm -f && rm -fr && rm -rf; then : OK; else
   3196   cat >&2 <<'END'
   3197 Oops!
   3198 
   3199 Your 'rm' program seems unable to run without file operands specified
   3200 on the command line, even when the '-f' option is present.  This is contrary
   3201 to the behaviour of most rm programs out there, and not conforming with
   3202 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3203 
   3204 Please tell bug-automake@gnu.org about your system, including the value
   3205 of your $PATH and any error possibly output before this message.  This
   3206 can help us improve future automake versions.
   3207 
   3208 END
   3209   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3210     echo 'Configuration will proceed anyway, since you have set the' >&2
   3211     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3212     echo >&2
   3213   else
   3214     cat >&2 <<'END'
   3215 Aborting the configuration process, to ensure you take notice of the issue.
   3216 
   3217 You can download and install GNU coreutils to get an 'rm' implementation
   3218 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3219 
   3220 If you want to complete the configuration process using your problematic
   3221 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3222 to "yes", and re-run configure.
   3223 
   3224 END
   3225     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3226   fi
   3227 fi
   3228 
   3229 
   3230 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   3231 
   3232 
   3233 
   3234 
   3235 
   3236 
   3237 
   3238 
   3239 
   3240 
   3241 
   3242 
   3243 
   3244 
   3245 
   3246 
   3247 
   3248 
   3249 
   3250 
   3251 DEPDIR="${am__leading_dot}deps"
   3252 
   3253 ac_config_commands="$ac_config_commands depfiles"
   3254 
   3255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3256 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3257 cat > confinc.mk << 'END'
   3258 am__doit:
   3259 	@echo this is the am__doit target >confinc.out
   3260 .PHONY: am__doit
   3261 END
   3262 am__include="#"
   3263 am__quote=
   3264 # BSD make does it like this.
   3265 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3266 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3267 echo 'include confinc.mk # ignored' > confmf.GNU
   3268 _am_result=no
   3269 for s in GNU BSD; do
   3270   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3271    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3272    ac_status=$?
   3273    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3274    (exit $ac_status); }
   3275   case $?:`cat confinc.out 2>/dev/null` in #(
   3276   '0:this is the am__doit target') :
   3277     case $s in #(
   3278   BSD) :
   3279     am__include='.include' am__quote='"' ;; #(
   3280   *) :
   3281     am__include='include' am__quote='' ;;
   3282 esac ;; #(
   3283   *) :
   3284      ;;
   3285 esac
   3286   if test "$am__include" != "#"; then
   3287     _am_result="yes ($s style)"
   3288     break
   3289   fi
   3290 done
   3291 rm -f confinc.* confmf.*
   3292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3293 printf "%s\n" "${_am_result}" >&6; }
   3294 
   3295 # Check whether --enable-dependency-tracking was given.
   3296 if test ${enable_dependency_tracking+y}
   3297 then :
   3298   enableval=$enable_dependency_tracking;
   3299 fi
   3300 
   3301 if test "x$enable_dependency_tracking" != xno; then
   3302   am_depcomp="$ac_aux_dir/depcomp"
   3303   AMDEPBACKSLASH='\'
   3304   am__nodep='_no'
   3305 fi
   3306  if test "x$enable_dependency_tracking" != xno; then
   3307   AMDEP_TRUE=
   3308   AMDEP_FALSE='#'
   3309 else
   3310   AMDEP_TRUE='#'
   3311   AMDEP_FALSE=
   3312 fi
   3313 
   3314 
   3315 ac_ext=c
   3316 ac_cpp='$CPP $CPPFLAGS'
   3317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3320 if test -n "$ac_tool_prefix"; then
   3321   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3322 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3324 printf %s "checking for $ac_word... " >&6; }
   3325 if test ${ac_cv_prog_CC+y}
   3326 then :
   3327   printf %s "(cached) " >&6
   3328 else case e in #(
   3329   e) if test -n "$CC"; then
   3330   ac_cv_prog_CC="$CC" # Let the user override the test.
   3331 else
   3332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3333 for as_dir in $PATH
   3334 do
   3335   IFS=$as_save_IFS
   3336   case $as_dir in #(((
   3337     '') as_dir=./ ;;
   3338     */) ;;
   3339     *) as_dir=$as_dir/ ;;
   3340   esac
   3341     for ac_exec_ext in '' $ac_executable_extensions; do
   3342   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3343     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3344     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3345     break 2
   3346   fi
   3347 done
   3348   done
   3349 IFS=$as_save_IFS
   3350 
   3351 fi ;;
   3352 esac
   3353 fi
   3354 CC=$ac_cv_prog_CC
   3355 if test -n "$CC"; then
   3356   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3357 printf "%s\n" "$CC" >&6; }
   3358 else
   3359   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3360 printf "%s\n" "no" >&6; }
   3361 fi
   3362 
   3363 
   3364 fi
   3365 if test -z "$ac_cv_prog_CC"; then
   3366   ac_ct_CC=$CC
   3367   # Extract the first word of "gcc", so it can be a program name with args.
   3368 set dummy gcc; ac_word=$2
   3369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3370 printf %s "checking for $ac_word... " >&6; }
   3371 if test ${ac_cv_prog_ac_ct_CC+y}
   3372 then :
   3373   printf %s "(cached) " >&6
   3374 else case e in #(
   3375   e) if test -n "$ac_ct_CC"; then
   3376   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3377 else
   3378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3379 for as_dir in $PATH
   3380 do
   3381   IFS=$as_save_IFS
   3382   case $as_dir in #(((
   3383     '') as_dir=./ ;;
   3384     */) ;;
   3385     *) as_dir=$as_dir/ ;;
   3386   esac
   3387     for ac_exec_ext in '' $ac_executable_extensions; do
   3388   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3389     ac_cv_prog_ac_ct_CC="gcc"
   3390     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3391     break 2
   3392   fi
   3393 done
   3394   done
   3395 IFS=$as_save_IFS
   3396 
   3397 fi ;;
   3398 esac
   3399 fi
   3400 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3401 if test -n "$ac_ct_CC"; then
   3402   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3403 printf "%s\n" "$ac_ct_CC" >&6; }
   3404 else
   3405   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3406 printf "%s\n" "no" >&6; }
   3407 fi
   3408 
   3409   if test "x$ac_ct_CC" = x; then
   3410     CC=""
   3411   else
   3412     case $cross_compiling:$ac_tool_warned in
   3413 yes:)
   3414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3415 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3416 ac_tool_warned=yes ;;
   3417 esac
   3418     CC=$ac_ct_CC
   3419   fi
   3420 else
   3421   CC="$ac_cv_prog_CC"
   3422 fi
   3423 
   3424 if test -z "$CC"; then
   3425           if test -n "$ac_tool_prefix"; then
   3426     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3427 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3429 printf %s "checking for $ac_word... " >&6; }
   3430 if test ${ac_cv_prog_CC+y}
   3431 then :
   3432   printf %s "(cached) " >&6
   3433 else case e in #(
   3434   e) if test -n "$CC"; then
   3435   ac_cv_prog_CC="$CC" # Let the user override the test.
   3436 else
   3437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3438 for as_dir in $PATH
   3439 do
   3440   IFS=$as_save_IFS
   3441   case $as_dir in #(((
   3442     '') as_dir=./ ;;
   3443     */) ;;
   3444     *) as_dir=$as_dir/ ;;
   3445   esac
   3446     for ac_exec_ext in '' $ac_executable_extensions; do
   3447   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3448     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3449     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3450     break 2
   3451   fi
   3452 done
   3453   done
   3454 IFS=$as_save_IFS
   3455 
   3456 fi ;;
   3457 esac
   3458 fi
   3459 CC=$ac_cv_prog_CC
   3460 if test -n "$CC"; then
   3461   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3462 printf "%s\n" "$CC" >&6; }
   3463 else
   3464   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3465 printf "%s\n" "no" >&6; }
   3466 fi
   3467 
   3468 
   3469   fi
   3470 fi
   3471 if test -z "$CC"; then
   3472   # Extract the first word of "cc", so it can be a program name with args.
   3473 set dummy cc; ac_word=$2
   3474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3475 printf %s "checking for $ac_word... " >&6; }
   3476 if test ${ac_cv_prog_CC+y}
   3477 then :
   3478   printf %s "(cached) " >&6
   3479 else case e in #(
   3480   e) if test -n "$CC"; then
   3481   ac_cv_prog_CC="$CC" # Let the user override the test.
   3482 else
   3483   ac_prog_rejected=no
   3484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3485 for as_dir in $PATH
   3486 do
   3487   IFS=$as_save_IFS
   3488   case $as_dir in #(((
   3489     '') as_dir=./ ;;
   3490     */) ;;
   3491     *) as_dir=$as_dir/ ;;
   3492   esac
   3493     for ac_exec_ext in '' $ac_executable_extensions; do
   3494   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3495     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3496        ac_prog_rejected=yes
   3497        continue
   3498      fi
   3499     ac_cv_prog_CC="cc"
   3500     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3501     break 2
   3502   fi
   3503 done
   3504   done
   3505 IFS=$as_save_IFS
   3506 
   3507 if test $ac_prog_rejected = yes; then
   3508   # We found a bogon in the path, so make sure we never use it.
   3509   set dummy $ac_cv_prog_CC
   3510   shift
   3511   if test $# != 0; then
   3512     # We chose a different compiler from the bogus one.
   3513     # However, it has the same basename, so the bogon will be chosen
   3514     # first if we set CC to just the basename; use the full file name.
   3515     shift
   3516     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3517   fi
   3518 fi
   3519 fi ;;
   3520 esac
   3521 fi
   3522 CC=$ac_cv_prog_CC
   3523 if test -n "$CC"; then
   3524   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3525 printf "%s\n" "$CC" >&6; }
   3526 else
   3527   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3528 printf "%s\n" "no" >&6; }
   3529 fi
   3530 
   3531 
   3532 fi
   3533 if test -z "$CC"; then
   3534   if test -n "$ac_tool_prefix"; then
   3535   for ac_prog in cl.exe
   3536   do
   3537     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3538 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3540 printf %s "checking for $ac_word... " >&6; }
   3541 if test ${ac_cv_prog_CC+y}
   3542 then :
   3543   printf %s "(cached) " >&6
   3544 else case e in #(
   3545   e) if test -n "$CC"; then
   3546   ac_cv_prog_CC="$CC" # Let the user override the test.
   3547 else
   3548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3549 for as_dir in $PATH
   3550 do
   3551   IFS=$as_save_IFS
   3552   case $as_dir in #(((
   3553     '') as_dir=./ ;;
   3554     */) ;;
   3555     *) as_dir=$as_dir/ ;;
   3556   esac
   3557     for ac_exec_ext in '' $ac_executable_extensions; do
   3558   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3559     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3560     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3561     break 2
   3562   fi
   3563 done
   3564   done
   3565 IFS=$as_save_IFS
   3566 
   3567 fi ;;
   3568 esac
   3569 fi
   3570 CC=$ac_cv_prog_CC
   3571 if test -n "$CC"; then
   3572   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3573 printf "%s\n" "$CC" >&6; }
   3574 else
   3575   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3576 printf "%s\n" "no" >&6; }
   3577 fi
   3578 
   3579 
   3580     test -n "$CC" && break
   3581   done
   3582 fi
   3583 if test -z "$CC"; then
   3584   ac_ct_CC=$CC
   3585   for ac_prog in cl.exe
   3586 do
   3587   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3588 set dummy $ac_prog; ac_word=$2
   3589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3590 printf %s "checking for $ac_word... " >&6; }
   3591 if test ${ac_cv_prog_ac_ct_CC+y}
   3592 then :
   3593   printf %s "(cached) " >&6
   3594 else case e in #(
   3595   e) if test -n "$ac_ct_CC"; then
   3596   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3597 else
   3598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3599 for as_dir in $PATH
   3600 do
   3601   IFS=$as_save_IFS
   3602   case $as_dir in #(((
   3603     '') as_dir=./ ;;
   3604     */) ;;
   3605     *) as_dir=$as_dir/ ;;
   3606   esac
   3607     for ac_exec_ext in '' $ac_executable_extensions; do
   3608   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3609     ac_cv_prog_ac_ct_CC="$ac_prog"
   3610     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3611     break 2
   3612   fi
   3613 done
   3614   done
   3615 IFS=$as_save_IFS
   3616 
   3617 fi ;;
   3618 esac
   3619 fi
   3620 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3621 if test -n "$ac_ct_CC"; then
   3622   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3623 printf "%s\n" "$ac_ct_CC" >&6; }
   3624 else
   3625   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3626 printf "%s\n" "no" >&6; }
   3627 fi
   3628 
   3629 
   3630   test -n "$ac_ct_CC" && break
   3631 done
   3632 
   3633   if test "x$ac_ct_CC" = x; then
   3634     CC=""
   3635   else
   3636     case $cross_compiling:$ac_tool_warned in
   3637 yes:)
   3638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3639 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3640 ac_tool_warned=yes ;;
   3641 esac
   3642     CC=$ac_ct_CC
   3643   fi
   3644 fi
   3645 
   3646 fi
   3647 if test -z "$CC"; then
   3648   if test -n "$ac_tool_prefix"; then
   3649   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3650 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3652 printf %s "checking for $ac_word... " >&6; }
   3653 if test ${ac_cv_prog_CC+y}
   3654 then :
   3655   printf %s "(cached) " >&6
   3656 else case e in #(
   3657   e) if test -n "$CC"; then
   3658   ac_cv_prog_CC="$CC" # Let the user override the test.
   3659 else
   3660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3661 for as_dir in $PATH
   3662 do
   3663   IFS=$as_save_IFS
   3664   case $as_dir in #(((
   3665     '') as_dir=./ ;;
   3666     */) ;;
   3667     *) as_dir=$as_dir/ ;;
   3668   esac
   3669     for ac_exec_ext in '' $ac_executable_extensions; do
   3670   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3671     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3672     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3673     break 2
   3674   fi
   3675 done
   3676   done
   3677 IFS=$as_save_IFS
   3678 
   3679 fi ;;
   3680 esac
   3681 fi
   3682 CC=$ac_cv_prog_CC
   3683 if test -n "$CC"; then
   3684   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3685 printf "%s\n" "$CC" >&6; }
   3686 else
   3687   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3688 printf "%s\n" "no" >&6; }
   3689 fi
   3690 
   3691 
   3692 fi
   3693 if test -z "$ac_cv_prog_CC"; then
   3694   ac_ct_CC=$CC
   3695   # Extract the first word of "clang", so it can be a program name with args.
   3696 set dummy clang; ac_word=$2
   3697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3698 printf %s "checking for $ac_word... " >&6; }
   3699 if test ${ac_cv_prog_ac_ct_CC+y}
   3700 then :
   3701   printf %s "(cached) " >&6
   3702 else case e in #(
   3703   e) if test -n "$ac_ct_CC"; then
   3704   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3705 else
   3706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3707 for as_dir in $PATH
   3708 do
   3709   IFS=$as_save_IFS
   3710   case $as_dir in #(((
   3711     '') as_dir=./ ;;
   3712     */) ;;
   3713     *) as_dir=$as_dir/ ;;
   3714   esac
   3715     for ac_exec_ext in '' $ac_executable_extensions; do
   3716   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3717     ac_cv_prog_ac_ct_CC="clang"
   3718     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3719     break 2
   3720   fi
   3721 done
   3722   done
   3723 IFS=$as_save_IFS
   3724 
   3725 fi ;;
   3726 esac
   3727 fi
   3728 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3729 if test -n "$ac_ct_CC"; then
   3730   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3731 printf "%s\n" "$ac_ct_CC" >&6; }
   3732 else
   3733   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3734 printf "%s\n" "no" >&6; }
   3735 fi
   3736 
   3737   if test "x$ac_ct_CC" = x; then
   3738     CC=""
   3739   else
   3740     case $cross_compiling:$ac_tool_warned in
   3741 yes:)
   3742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3743 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3744 ac_tool_warned=yes ;;
   3745 esac
   3746     CC=$ac_ct_CC
   3747   fi
   3748 else
   3749   CC="$ac_cv_prog_CC"
   3750 fi
   3751 
   3752 fi
   3753 
   3754 
   3755 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3756 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3757 as_fn_error $? "no acceptable C compiler found in \$PATH
   3758 See 'config.log' for more details" "$LINENO" 5; }
   3759 
   3760 # Provide some information about the compiler.
   3761 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3762 set X $ac_compile
   3763 ac_compiler=$2
   3764 for ac_option in --version -v -V -qversion -version; do
   3765   { { ac_try="$ac_compiler $ac_option >&5"
   3766 case "(($ac_try" in
   3767   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3768   *) ac_try_echo=$ac_try;;
   3769 esac
   3770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3771 printf "%s\n" "$ac_try_echo"; } >&5
   3772   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3773   ac_status=$?
   3774   if test -s conftest.err; then
   3775     sed '10a\
   3776 ... rest of stderr output deleted ...
   3777          10q' conftest.err >conftest.er1
   3778     cat conftest.er1 >&5
   3779   fi
   3780   rm -f conftest.er1 conftest.err
   3781   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3782   test $ac_status = 0; }
   3783 done
   3784 
   3785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3786 /* end confdefs.h.  */
   3787 
   3788 int
   3789 main (void)
   3790 {
   3791 
   3792   ;
   3793   return 0;
   3794 }
   3795 _ACEOF
   3796 ac_clean_files_save=$ac_clean_files
   3797 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3798 # Try to create an executable without -o first, disregard a.out.
   3799 # It will help us diagnose broken compilers, and finding out an intuition
   3800 # of exeext.
   3801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3802 printf %s "checking whether the C compiler works... " >&6; }
   3803 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3804 
   3805 # The possible output files:
   3806 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3807 
   3808 ac_rmfiles=
   3809 for ac_file in $ac_files
   3810 do
   3811   case $ac_file in
   3812     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3813     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3814   esac
   3815 done
   3816 rm -f $ac_rmfiles
   3817 
   3818 if { { ac_try="$ac_link_default"
   3819 case "(($ac_try" in
   3820   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3821   *) ac_try_echo=$ac_try;;
   3822 esac
   3823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3824 printf "%s\n" "$ac_try_echo"; } >&5
   3825   (eval "$ac_link_default") 2>&5
   3826   ac_status=$?
   3827   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3828   test $ac_status = 0; }
   3829 then :
   3830   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   3831 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   3832 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3833 # so that the user can short-circuit this test for compilers unknown to
   3834 # Autoconf.
   3835 for ac_file in $ac_files ''
   3836 do
   3837   test -f "$ac_file" || continue
   3838   case $ac_file in
   3839     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3840 	;;
   3841     [ab].out )
   3842 	# We found the default executable, but exeext='' is most
   3843 	# certainly right.
   3844 	break;;
   3845     *.* )
   3846 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3847 	then :; else
   3848 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3849 	fi
   3850 	# We set ac_cv_exeext here because the later test for it is not
   3851 	# safe: cross compilers may not add the suffix if given an '-o'
   3852 	# argument, so we may need to know it at that point already.
   3853 	# Even if this section looks crufty: it has the advantage of
   3854 	# actually working.
   3855 	break;;
   3856     * )
   3857 	break;;
   3858   esac
   3859 done
   3860 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3861 
   3862 else case e in #(
   3863   e) ac_file='' ;;
   3864 esac
   3865 fi
   3866 if test -z "$ac_file"
   3867 then :
   3868   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3869 printf "%s\n" "no" >&6; }
   3870 printf "%s\n" "$as_me: failed program was:" >&5
   3871 sed 's/^/| /' conftest.$ac_ext >&5
   3872 
   3873 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3874 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3875 as_fn_error 77 "C compiler cannot create executables
   3876 See 'config.log' for more details" "$LINENO" 5; }
   3877 else case e in #(
   3878   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3879 printf "%s\n" "yes" >&6; } ;;
   3880 esac
   3881 fi
   3882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3883 printf %s "checking for C compiler default output file name... " >&6; }
   3884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3885 printf "%s\n" "$ac_file" >&6; }
   3886 ac_exeext=$ac_cv_exeext
   3887 
   3888 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3889 ac_clean_files=$ac_clean_files_save
   3890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3891 printf %s "checking for suffix of executables... " >&6; }
   3892 if { { ac_try="$ac_link"
   3893 case "(($ac_try" in
   3894   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3895   *) ac_try_echo=$ac_try;;
   3896 esac
   3897 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3898 printf "%s\n" "$ac_try_echo"; } >&5
   3899   (eval "$ac_link") 2>&5
   3900   ac_status=$?
   3901   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3902   test $ac_status = 0; }
   3903 then :
   3904   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   3905 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   3906 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   3907 # 'rm'.
   3908 for ac_file in conftest.exe conftest conftest.*; do
   3909   test -f "$ac_file" || continue
   3910   case $ac_file in
   3911     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3912     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3913 	  break;;
   3914     * ) break;;
   3915   esac
   3916 done
   3917 else case e in #(
   3918   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3919 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3920 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3921 See 'config.log' for more details" "$LINENO" 5; } ;;
   3922 esac
   3923 fi
   3924 rm -f conftest conftest$ac_cv_exeext
   3925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3926 printf "%s\n" "$ac_cv_exeext" >&6; }
   3927 
   3928 rm -f conftest.$ac_ext
   3929 EXEEXT=$ac_cv_exeext
   3930 ac_exeext=$EXEEXT
   3931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3932 /* end confdefs.h.  */
   3933 #include <stdio.h>
   3934 int
   3935 main (void)
   3936 {
   3937 FILE *f = fopen ("conftest.out", "w");
   3938  if (!f)
   3939   return 1;
   3940  return ferror (f) || fclose (f) != 0;
   3941 
   3942   ;
   3943   return 0;
   3944 }
   3945 _ACEOF
   3946 ac_clean_files="$ac_clean_files conftest.out"
   3947 # Check that the compiler produces executables we can run.  If not, either
   3948 # the compiler is broken, or we cross compile.
   3949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3950 printf %s "checking whether we are cross compiling... " >&6; }
   3951 if test "$cross_compiling" != yes; then
   3952   { { ac_try="$ac_link"
   3953 case "(($ac_try" in
   3954   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3955   *) ac_try_echo=$ac_try;;
   3956 esac
   3957 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3958 printf "%s\n" "$ac_try_echo"; } >&5
   3959   (eval "$ac_link") 2>&5
   3960   ac_status=$?
   3961   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3962   test $ac_status = 0; }
   3963   if { ac_try='./conftest$ac_cv_exeext'
   3964   { { case "(($ac_try" in
   3965   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3966   *) ac_try_echo=$ac_try;;
   3967 esac
   3968 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3969 printf "%s\n" "$ac_try_echo"; } >&5
   3970   (eval "$ac_try") 2>&5
   3971   ac_status=$?
   3972   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3973   test $ac_status = 0; }; }; then
   3974     cross_compiling=no
   3975   else
   3976     if test "$cross_compiling" = maybe; then
   3977 	cross_compiling=yes
   3978     else
   3979 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3980 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3981 as_fn_error 77 "cannot run C compiled programs.
   3982 If you meant to cross compile, use '--host'.
   3983 See 'config.log' for more details" "$LINENO" 5; }
   3984     fi
   3985   fi
   3986 fi
   3987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3988 printf "%s\n" "$cross_compiling" >&6; }
   3989 
   3990 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   3991   conftest.o conftest.obj conftest.out
   3992 ac_clean_files=$ac_clean_files_save
   3993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3994 printf %s "checking for suffix of object files... " >&6; }
   3995 if test ${ac_cv_objext+y}
   3996 then :
   3997   printf %s "(cached) " >&6
   3998 else case e in #(
   3999   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4000 /* end confdefs.h.  */
   4001 
   4002 int
   4003 main (void)
   4004 {
   4005 
   4006   ;
   4007   return 0;
   4008 }
   4009 _ACEOF
   4010 rm -f conftest.o conftest.obj
   4011 if { { ac_try="$ac_compile"
   4012 case "(($ac_try" in
   4013   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4014   *) ac_try_echo=$ac_try;;
   4015 esac
   4016 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4017 printf "%s\n" "$ac_try_echo"; } >&5
   4018   (eval "$ac_compile") 2>&5
   4019   ac_status=$?
   4020   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4021   test $ac_status = 0; }
   4022 then :
   4023   for ac_file in conftest.o conftest.obj conftest.*; do
   4024   test -f "$ac_file" || continue;
   4025   case $ac_file in
   4026     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4027     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4028        break;;
   4029   esac
   4030 done
   4031 else case e in #(
   4032   e) printf "%s\n" "$as_me: failed program was:" >&5
   4033 sed 's/^/| /' conftest.$ac_ext >&5
   4034 
   4035 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4036 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4037 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4038 See 'config.log' for more details" "$LINENO" 5; } ;;
   4039 esac
   4040 fi
   4041 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   4042 esac
   4043 fi
   4044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4045 printf "%s\n" "$ac_cv_objext" >&6; }
   4046 OBJEXT=$ac_cv_objext
   4047 ac_objext=$OBJEXT
   4048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4049 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4050 if test ${ac_cv_c_compiler_gnu+y}
   4051 then :
   4052   printf %s "(cached) " >&6
   4053 else case e in #(
   4054   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4055 /* end confdefs.h.  */
   4056 
   4057 int
   4058 main (void)
   4059 {
   4060 #ifndef __GNUC__
   4061        choke me
   4062 #endif
   4063 
   4064   ;
   4065   return 0;
   4066 }
   4067 _ACEOF
   4068 if ac_fn_c_try_compile "$LINENO"
   4069 then :
   4070   ac_compiler_gnu=yes
   4071 else case e in #(
   4072   e) ac_compiler_gnu=no ;;
   4073 esac
   4074 fi
   4075 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4076 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4077  ;;
   4078 esac
   4079 fi
   4080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4081 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4083 
   4084 if test $ac_compiler_gnu = yes; then
   4085   GCC=yes
   4086 else
   4087   GCC=
   4088 fi
   4089 ac_test_CFLAGS=${CFLAGS+y}
   4090 ac_save_CFLAGS=$CFLAGS
   4091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4092 printf %s "checking whether $CC accepts -g... " >&6; }
   4093 if test ${ac_cv_prog_cc_g+y}
   4094 then :
   4095   printf %s "(cached) " >&6
   4096 else case e in #(
   4097   e) ac_save_c_werror_flag=$ac_c_werror_flag
   4098    ac_c_werror_flag=yes
   4099    ac_cv_prog_cc_g=no
   4100    CFLAGS="-g"
   4101    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4102 /* end confdefs.h.  */
   4103 
   4104 int
   4105 main (void)
   4106 {
   4107 
   4108   ;
   4109   return 0;
   4110 }
   4111 _ACEOF
   4112 if ac_fn_c_try_compile "$LINENO"
   4113 then :
   4114   ac_cv_prog_cc_g=yes
   4115 else case e in #(
   4116   e) CFLAGS=""
   4117       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4118 /* end confdefs.h.  */
   4119 
   4120 int
   4121 main (void)
   4122 {
   4123 
   4124   ;
   4125   return 0;
   4126 }
   4127 _ACEOF
   4128 if ac_fn_c_try_compile "$LINENO"
   4129 then :
   4130 
   4131 else case e in #(
   4132   e) ac_c_werror_flag=$ac_save_c_werror_flag
   4133 	 CFLAGS="-g"
   4134 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4135 /* end confdefs.h.  */
   4136 
   4137 int
   4138 main (void)
   4139 {
   4140 
   4141   ;
   4142   return 0;
   4143 }
   4144 _ACEOF
   4145 if ac_fn_c_try_compile "$LINENO"
   4146 then :
   4147   ac_cv_prog_cc_g=yes
   4148 fi
   4149 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4150 esac
   4151 fi
   4152 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4153 esac
   4154 fi
   4155 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4156    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   4157 esac
   4158 fi
   4159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4160 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4161 if test $ac_test_CFLAGS; then
   4162   CFLAGS=$ac_save_CFLAGS
   4163 elif test $ac_cv_prog_cc_g = yes; then
   4164   if test "$GCC" = yes; then
   4165     CFLAGS="-g -O2"
   4166   else
   4167     CFLAGS="-g"
   4168   fi
   4169 else
   4170   if test "$GCC" = yes; then
   4171     CFLAGS="-O2"
   4172   else
   4173     CFLAGS=
   4174   fi
   4175 fi
   4176 ac_prog_cc_stdc=no
   4177 if test x$ac_prog_cc_stdc = xno
   4178 then :
   4179   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4180 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4181 if test ${ac_cv_prog_cc_c11+y}
   4182 then :
   4183   printf %s "(cached) " >&6
   4184 else case e in #(
   4185   e) ac_cv_prog_cc_c11=no
   4186 ac_save_CC=$CC
   4187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4188 /* end confdefs.h.  */
   4189 $ac_c_conftest_c11_program
   4190 _ACEOF
   4191 for ac_arg in '' -std=gnu11
   4192 do
   4193   CC="$ac_save_CC $ac_arg"
   4194   if ac_fn_c_try_compile "$LINENO"
   4195 then :
   4196   ac_cv_prog_cc_c11=$ac_arg
   4197 fi
   4198 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4199   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4200 done
   4201 rm -f conftest.$ac_ext
   4202 CC=$ac_save_CC ;;
   4203 esac
   4204 fi
   4205 
   4206 if test "x$ac_cv_prog_cc_c11" = xno
   4207 then :
   4208   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4209 printf "%s\n" "unsupported" >&6; }
   4210 else case e in #(
   4211   e) if test "x$ac_cv_prog_cc_c11" = x
   4212 then :
   4213   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4214 printf "%s\n" "none needed" >&6; }
   4215 else case e in #(
   4216   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4217 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4218      CC="$CC $ac_cv_prog_cc_c11" ;;
   4219 esac
   4220 fi
   4221   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4222   ac_prog_cc_stdc=c11 ;;
   4223 esac
   4224 fi
   4225 fi
   4226 if test x$ac_prog_cc_stdc = xno
   4227 then :
   4228   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4229 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4230 if test ${ac_cv_prog_cc_c99+y}
   4231 then :
   4232   printf %s "(cached) " >&6
   4233 else case e in #(
   4234   e) ac_cv_prog_cc_c99=no
   4235 ac_save_CC=$CC
   4236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4237 /* end confdefs.h.  */
   4238 $ac_c_conftest_c99_program
   4239 _ACEOF
   4240 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4241 do
   4242   CC="$ac_save_CC $ac_arg"
   4243   if ac_fn_c_try_compile "$LINENO"
   4244 then :
   4245   ac_cv_prog_cc_c99=$ac_arg
   4246 fi
   4247 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4248   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4249 done
   4250 rm -f conftest.$ac_ext
   4251 CC=$ac_save_CC ;;
   4252 esac
   4253 fi
   4254 
   4255 if test "x$ac_cv_prog_cc_c99" = xno
   4256 then :
   4257   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4258 printf "%s\n" "unsupported" >&6; }
   4259 else case e in #(
   4260   e) if test "x$ac_cv_prog_cc_c99" = x
   4261 then :
   4262   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4263 printf "%s\n" "none needed" >&6; }
   4264 else case e in #(
   4265   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4266 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4267      CC="$CC $ac_cv_prog_cc_c99" ;;
   4268 esac
   4269 fi
   4270   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4271   ac_prog_cc_stdc=c99 ;;
   4272 esac
   4273 fi
   4274 fi
   4275 if test x$ac_prog_cc_stdc = xno
   4276 then :
   4277   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4278 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4279 if test ${ac_cv_prog_cc_c89+y}
   4280 then :
   4281   printf %s "(cached) " >&6
   4282 else case e in #(
   4283   e) ac_cv_prog_cc_c89=no
   4284 ac_save_CC=$CC
   4285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4286 /* end confdefs.h.  */
   4287 $ac_c_conftest_c89_program
   4288 _ACEOF
   4289 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4290 do
   4291   CC="$ac_save_CC $ac_arg"
   4292   if ac_fn_c_try_compile "$LINENO"
   4293 then :
   4294   ac_cv_prog_cc_c89=$ac_arg
   4295 fi
   4296 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4297   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4298 done
   4299 rm -f conftest.$ac_ext
   4300 CC=$ac_save_CC ;;
   4301 esac
   4302 fi
   4303 
   4304 if test "x$ac_cv_prog_cc_c89" = xno
   4305 then :
   4306   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4307 printf "%s\n" "unsupported" >&6; }
   4308 else case e in #(
   4309   e) if test "x$ac_cv_prog_cc_c89" = x
   4310 then :
   4311   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4312 printf "%s\n" "none needed" >&6; }
   4313 else case e in #(
   4314   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4315 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4316      CC="$CC $ac_cv_prog_cc_c89" ;;
   4317 esac
   4318 fi
   4319   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4320   ac_prog_cc_stdc=c89 ;;
   4321 esac
   4322 fi
   4323 fi
   4324 
   4325 ac_ext=c
   4326 ac_cpp='$CPP $CPPFLAGS'
   4327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4330 
   4331 
   4332   ac_ext=c
   4333 ac_cpp='$CPP $CPPFLAGS'
   4334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4338 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4339 if test ${am_cv_prog_cc_c_o+y}
   4340 then :
   4341   printf %s "(cached) " >&6
   4342 else case e in #(
   4343   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4344 /* end confdefs.h.  */
   4345 
   4346 int
   4347 main (void)
   4348 {
   4349 
   4350   ;
   4351   return 0;
   4352 }
   4353 _ACEOF
   4354   # Make sure it works both with $CC and with simple cc.
   4355   # Following AC_PROG_CC_C_O, we do the test twice because some
   4356   # compilers refuse to overwrite an existing .o file with -o,
   4357   # though they will create one.
   4358   am_cv_prog_cc_c_o=yes
   4359   for am_i in 1 2; do
   4360     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4361    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4362    ac_status=$?
   4363    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4364    (exit $ac_status); } \
   4365          && test -f conftest2.$ac_objext; then
   4366       : OK
   4367     else
   4368       am_cv_prog_cc_c_o=no
   4369       break
   4370     fi
   4371   done
   4372   rm -f core conftest*
   4373   unset am_i ;;
   4374 esac
   4375 fi
   4376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4377 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4378 if test "$am_cv_prog_cc_c_o" != yes; then
   4379    # Losing compiler, so override with the script.
   4380    # FIXME: It is wrong to rewrite CC.
   4381    # But if we don't then we get into trouble of one sort or another.
   4382    # A longer-term fix would be to have automake use am__CC in this case,
   4383    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4384    CC="$am_aux_dir/compile $CC"
   4385 fi
   4386 ac_ext=c
   4387 ac_cpp='$CPP $CPPFLAGS'
   4388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4391 
   4392 
   4393 depcc="$CC"   am_compiler_list=
   4394 
   4395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4396 printf %s "checking dependency style of $depcc... " >&6; }
   4397 if test ${am_cv_CC_dependencies_compiler_type+y}
   4398 then :
   4399   printf %s "(cached) " >&6
   4400 else case e in #(
   4401   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4402   # We make a subdir and do the tests there.  Otherwise we can end up
   4403   # making bogus files that we don't know about and never remove.  For
   4404   # instance it was reported that on HP-UX the gcc test will end up
   4405   # making a dummy file named 'D' -- because '-MD' means "put the output
   4406   # in D".
   4407   rm -rf conftest.dir
   4408   mkdir conftest.dir
   4409   # Copy depcomp to subdir because otherwise we won't find it if we're
   4410   # using a relative directory.
   4411   cp "$am_depcomp" conftest.dir
   4412   cd conftest.dir
   4413   # We will build objects and dependencies in a subdirectory because
   4414   # it helps to detect inapplicable dependency modes.  For instance
   4415   # both Tru64's cc and ICC support -MD to output dependencies as a
   4416   # side effect of compilation, but ICC will put the dependencies in
   4417   # the current directory while Tru64 will put them in the object
   4418   # directory.
   4419   mkdir sub
   4420 
   4421   am_cv_CC_dependencies_compiler_type=none
   4422   if test "$am_compiler_list" = ""; then
   4423      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4424   fi
   4425   am__universal=false
   4426   case " $depcc " in #(
   4427      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4428      esac
   4429 
   4430   for depmode in $am_compiler_list; do
   4431     # Setup a source with many dependencies, because some compilers
   4432     # like to wrap large dependency lists on column 80 (with \), and
   4433     # we should not choose a depcomp mode which is confused by this.
   4434     #
   4435     # We need to recreate these files for each test, as the compiler may
   4436     # overwrite some of them when testing with obscure command lines.
   4437     # This happens at least with the AIX C compiler.
   4438     : > sub/conftest.c
   4439     for i in 1 2 3 4 5 6; do
   4440       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4441       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4442       # Solaris 10 /bin/sh.
   4443       echo '/* dummy */' > sub/conftst$i.h
   4444     done
   4445     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4446 
   4447     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4448     # mode.  It turns out that the SunPro C++ compiler does not properly
   4449     # handle '-M -o', and we need to detect this.  Also, some Intel
   4450     # versions had trouble with output in subdirs.
   4451     am__obj=sub/conftest.${OBJEXT-o}
   4452     am__minus_obj="-o $am__obj"
   4453     case $depmode in
   4454     gcc)
   4455       # This depmode causes a compiler race in universal mode.
   4456       test "$am__universal" = false || continue
   4457       ;;
   4458     nosideeffect)
   4459       # After this tag, mechanisms are not by side-effect, so they'll
   4460       # only be used when explicitly requested.
   4461       if test "x$enable_dependency_tracking" = xyes; then
   4462 	continue
   4463       else
   4464 	break
   4465       fi
   4466       ;;
   4467     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4468       # This compiler won't grok '-c -o', but also, the minuso test has
   4469       # not run yet.  These depmodes are late enough in the game, and
   4470       # so weak that their functioning should not be impacted.
   4471       am__obj=conftest.${OBJEXT-o}
   4472       am__minus_obj=
   4473       ;;
   4474     none) break ;;
   4475     esac
   4476     if depmode=$depmode \
   4477        source=sub/conftest.c object=$am__obj \
   4478        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4479        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4480          >/dev/null 2>conftest.err &&
   4481        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4482        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4483        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4484        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4485       # icc doesn't choke on unknown options, it will just issue warnings
   4486       # or remarks (even with -Werror).  So we grep stderr for any message
   4487       # that says an option was ignored or not supported.
   4488       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4489       #   icc: Command line warning: ignoring option '-M'; no argument required
   4490       # The diagnosis changed in icc 8.0:
   4491       #   icc: Command line remark: option '-MP' not supported
   4492       if (grep 'ignoring option' conftest.err ||
   4493           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4494         am_cv_CC_dependencies_compiler_type=$depmode
   4495         break
   4496       fi
   4497     fi
   4498   done
   4499 
   4500   cd ..
   4501   rm -rf conftest.dir
   4502 else
   4503   am_cv_CC_dependencies_compiler_type=none
   4504 fi
   4505  ;;
   4506 esac
   4507 fi
   4508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4509 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4510 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4511 
   4512  if
   4513   test "x$enable_dependency_tracking" != xno \
   4514   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4515   am__fastdepCC_TRUE=
   4516   am__fastdepCC_FALSE='#'
   4517 else
   4518   am__fastdepCC_TRUE='#'
   4519   am__fastdepCC_FALSE=
   4520 fi
   4521 
   4522 
   4523 
   4524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4525 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4526 if test ${ac_cv_c_undeclared_builtin_options+y}
   4527 then :
   4528   printf %s "(cached) " >&6
   4529 else case e in #(
   4530   e) ac_save_CFLAGS=$CFLAGS
   4531    ac_cv_c_undeclared_builtin_options='cannot detect'
   4532    for ac_arg in '' -fno-builtin; do
   4533      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4534      # This test program should *not* compile successfully.
   4535      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4536 /* end confdefs.h.  */
   4537 
   4538 int
   4539 main (void)
   4540 {
   4541 (void) strchr;
   4542   ;
   4543   return 0;
   4544 }
   4545 _ACEOF
   4546 if ac_fn_c_try_compile "$LINENO"
   4547 then :
   4548 
   4549 else case e in #(
   4550   e) # This test program should compile successfully.
   4551         # No library function is consistently available on
   4552         # freestanding implementations, so test against a dummy
   4553         # declaration.  Include always-available headers on the
   4554         # off chance that they somehow elicit warnings.
   4555         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4556 /* end confdefs.h.  */
   4557 #include <float.h>
   4558 #include <limits.h>
   4559 #include <stdarg.h>
   4560 #include <stddef.h>
   4561 extern void ac_decl (int, char *);
   4562 
   4563 int
   4564 main (void)
   4565 {
   4566 (void) ac_decl (0, (char *) 0);
   4567   (void) ac_decl;
   4568 
   4569   ;
   4570   return 0;
   4571 }
   4572 _ACEOF
   4573 if ac_fn_c_try_compile "$LINENO"
   4574 then :
   4575   if test x"$ac_arg" = x
   4576 then :
   4577   ac_cv_c_undeclared_builtin_options='none needed'
   4578 else case e in #(
   4579   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   4580 esac
   4581 fi
   4582           break
   4583 fi
   4584 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4585 esac
   4586 fi
   4587 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4588     done
   4589     CFLAGS=$ac_save_CFLAGS
   4590    ;;
   4591 esac
   4592 fi
   4593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4594 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4595   case $ac_cv_c_undeclared_builtin_options in #(
   4596   'cannot detect') :
   4597     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4598 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4599 as_fn_error $? "cannot make $CC report undeclared builtins
   4600 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   4601   'none needed') :
   4602     ac_c_undeclared_builtin_options='' ;; #(
   4603   *) :
   4604     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4605 esac
   4606 
   4607 ac_header= ac_cache=
   4608 for ac_item in $ac_header_c_list
   4609 do
   4610   if test $ac_cache; then
   4611     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4612     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4613       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4614     fi
   4615     ac_header= ac_cache=
   4616   elif test $ac_header; then
   4617     ac_cache=$ac_item
   4618   else
   4619     ac_header=$ac_item
   4620   fi
   4621 done
   4622 
   4623 
   4624 
   4625 
   4626 
   4627 
   4628 
   4629 
   4630 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4631 then :
   4632 
   4633 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4634 
   4635 fi
   4636 
   4637 
   4638 
   4639 
   4640 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4641 if test "x$ac_cv_have_decl___clang__" = xyes
   4642 then :
   4643   CLANGCC="yes"
   4644 else case e in #(
   4645   e) CLANGCC="no" ;;
   4646 esac
   4647 fi
   4648 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4649 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4650 then :
   4651   INTELCC="yes"
   4652 else case e in #(
   4653   e) INTELCC="no" ;;
   4654 esac
   4655 fi
   4656 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4657 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4658 then :
   4659   SUNCC="yes"
   4660 else case e in #(
   4661   e) SUNCC="no" ;;
   4662 esac
   4663 fi
   4664 
   4665 
   4666 
   4667 
   4668 
   4669 
   4670 
   4671 
   4672 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4673 	if test -n "$ac_tool_prefix"; then
   4674   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4675 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4677 printf %s "checking for $ac_word... " >&6; }
   4678 if test ${ac_cv_path_PKG_CONFIG+y}
   4679 then :
   4680   printf %s "(cached) " >&6
   4681 else case e in #(
   4682   e) case $PKG_CONFIG in
   4683   [\\/]* | ?:[\\/]*)
   4684   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4685   ;;
   4686   *)
   4687   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4688 for as_dir in $PATH
   4689 do
   4690   IFS=$as_save_IFS
   4691   case $as_dir in #(((
   4692     '') as_dir=./ ;;
   4693     */) ;;
   4694     *) as_dir=$as_dir/ ;;
   4695   esac
   4696     for ac_exec_ext in '' $ac_executable_extensions; do
   4697   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4698     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4699     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4700     break 2
   4701   fi
   4702 done
   4703   done
   4704 IFS=$as_save_IFS
   4705 
   4706   ;;
   4707 esac ;;
   4708 esac
   4709 fi
   4710 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4711 if test -n "$PKG_CONFIG"; then
   4712   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4713 printf "%s\n" "$PKG_CONFIG" >&6; }
   4714 else
   4715   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4716 printf "%s\n" "no" >&6; }
   4717 fi
   4718 
   4719 
   4720 fi
   4721 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4722   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4723   # Extract the first word of "pkg-config", so it can be a program name with args.
   4724 set dummy pkg-config; ac_word=$2
   4725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4726 printf %s "checking for $ac_word... " >&6; }
   4727 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4728 then :
   4729   printf %s "(cached) " >&6
   4730 else case e in #(
   4731   e) case $ac_pt_PKG_CONFIG in
   4732   [\\/]* | ?:[\\/]*)
   4733   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4734   ;;
   4735   *)
   4736   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4737 for as_dir in $PATH
   4738 do
   4739   IFS=$as_save_IFS
   4740   case $as_dir in #(((
   4741     '') as_dir=./ ;;
   4742     */) ;;
   4743     *) as_dir=$as_dir/ ;;
   4744   esac
   4745     for ac_exec_ext in '' $ac_executable_extensions; do
   4746   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4747     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4748     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4749     break 2
   4750   fi
   4751 done
   4752   done
   4753 IFS=$as_save_IFS
   4754 
   4755   ;;
   4756 esac ;;
   4757 esac
   4758 fi
   4759 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4760 if test -n "$ac_pt_PKG_CONFIG"; then
   4761   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4762 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4763 else
   4764   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4765 printf "%s\n" "no" >&6; }
   4766 fi
   4767 
   4768   if test "x$ac_pt_PKG_CONFIG" = x; then
   4769     PKG_CONFIG=""
   4770   else
   4771     case $cross_compiling:$ac_tool_warned in
   4772 yes:)
   4773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4774 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4775 ac_tool_warned=yes ;;
   4776 esac
   4777     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4778   fi
   4779 else
   4780   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4781 fi
   4782 
   4783 fi
   4784 if test -n "$PKG_CONFIG"; then
   4785 	_pkg_min_version=0.9.0
   4786 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4787 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4788 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4789 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4790 printf "%s\n" "yes" >&6; }
   4791 	else
   4792 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4793 printf "%s\n" "no" >&6; }
   4794 		PKG_CONFIG=""
   4795 	fi
   4796 fi
   4797 
   4798 
   4799   # Make sure we can run config.sub.
   4800 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4801   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4802 
   4803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4804 printf %s "checking build system type... " >&6; }
   4805 if test ${ac_cv_build+y}
   4806 then :
   4807   printf %s "(cached) " >&6
   4808 else case e in #(
   4809   e) ac_build_alias=$build_alias
   4810 test "x$ac_build_alias" = x &&
   4811   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4812 test "x$ac_build_alias" = x &&
   4813   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4814 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4815   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4816  ;;
   4817 esac
   4818 fi
   4819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4820 printf "%s\n" "$ac_cv_build" >&6; }
   4821 case $ac_cv_build in
   4822 *-*-*) ;;
   4823 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4824 esac
   4825 build=$ac_cv_build
   4826 ac_save_IFS=$IFS; IFS='-'
   4827 set x $ac_cv_build
   4828 shift
   4829 build_cpu=$1
   4830 build_vendor=$2
   4831 shift; shift
   4832 # Remember, the first character of IFS is used to create $*,
   4833 # except with old shells:
   4834 build_os=$*
   4835 IFS=$ac_save_IFS
   4836 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4837 
   4838 
   4839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4840 printf %s "checking host system type... " >&6; }
   4841 if test ${ac_cv_host+y}
   4842 then :
   4843   printf %s "(cached) " >&6
   4844 else case e in #(
   4845   e) if test "x$host_alias" = x; then
   4846   ac_cv_host=$ac_cv_build
   4847 else
   4848   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4849     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4850 fi
   4851  ;;
   4852 esac
   4853 fi
   4854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4855 printf "%s\n" "$ac_cv_host" >&6; }
   4856 case $ac_cv_host in
   4857 *-*-*) ;;
   4858 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4859 esac
   4860 host=$ac_cv_host
   4861 ac_save_IFS=$IFS; IFS='-'
   4862 set x $ac_cv_host
   4863 shift
   4864 host_cpu=$1
   4865 host_vendor=$2
   4866 shift; shift
   4867 # Remember, the first character of IFS is used to create $*,
   4868 # except with old shells:
   4869 host_os=$*
   4870 IFS=$ac_save_IFS
   4871 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4872 
   4873 
   4874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4875 printf %s "checking for a sed that does not truncate output... " >&6; }
   4876 if test ${ac_cv_path_SED+y}
   4877 then :
   4878   printf %s "(cached) " >&6
   4879 else case e in #(
   4880   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4881      for ac_i in 1 2 3 4 5 6 7; do
   4882        ac_script="$ac_script$as_nl$ac_script"
   4883      done
   4884      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4885      { ac_script=; unset ac_script;}
   4886      if test -z "$SED"; then
   4887   ac_path_SED_found=false
   4888   # Loop through the user's path and test for each of PROGNAME-LIST
   4889   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4890 for as_dir in $PATH
   4891 do
   4892   IFS=$as_save_IFS
   4893   case $as_dir in #(((
   4894     '') as_dir=./ ;;
   4895     */) ;;
   4896     *) as_dir=$as_dir/ ;;
   4897   esac
   4898     for ac_prog in sed gsed
   4899    do
   4900     for ac_exec_ext in '' $ac_executable_extensions; do
   4901       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4902       as_fn_executable_p "$ac_path_SED" || continue
   4903 # Check for GNU ac_path_SED and select it if it is found.
   4904   # Check for GNU $ac_path_SED
   4905 case `"$ac_path_SED" --version 2>&1` in #(
   4906 *GNU*)
   4907   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4908 #(
   4909 *)
   4910   ac_count=0
   4911   printf %s 0123456789 >"conftest.in"
   4912   while :
   4913   do
   4914     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4915     mv "conftest.tmp" "conftest.in"
   4916     cp "conftest.in" "conftest.nl"
   4917     printf "%s\n" '' >> "conftest.nl"
   4918     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4919     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4920     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4921     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4922       # Best one so far, save it but keep looking for a better one
   4923       ac_cv_path_SED="$ac_path_SED"
   4924       ac_path_SED_max=$ac_count
   4925     fi
   4926     # 10*(2^10) chars as input seems more than enough
   4927     test $ac_count -gt 10 && break
   4928   done
   4929   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4930 esac
   4931 
   4932       $ac_path_SED_found && break 3
   4933     done
   4934   done
   4935   done
   4936 IFS=$as_save_IFS
   4937   if test -z "$ac_cv_path_SED"; then
   4938     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4939   fi
   4940 else
   4941   ac_cv_path_SED=$SED
   4942 fi
   4943  ;;
   4944 esac
   4945 fi
   4946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4947 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4948  SED="$ac_cv_path_SED"
   4949   rm -f conftest.sed
   4950 
   4951 
   4952 
   4953 
   4954 
   4955 
   4956 # Check whether --enable-selective-werror was given.
   4957 if test ${enable_selective_werror+y}
   4958 then :
   4959   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4960 else case e in #(
   4961   e) SELECTIVE_WERROR=yes ;;
   4962 esac
   4963 fi
   4964 
   4965 
   4966 
   4967 
   4968 
   4969 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4970 if test "x$SUNCC" = "xyes"; then
   4971     BASE_CFLAGS="-v"
   4972 else
   4973     BASE_CFLAGS=""
   4974 fi
   4975 
   4976 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4977 
   4978 
   4979 
   4980 
   4981 
   4982 
   4983 
   4984 
   4985 
   4986 
   4987 
   4988 
   4989 
   4990 xorg_testset_save_CFLAGS="$CFLAGS"
   4991 
   4992 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4993 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4994 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4995 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4996 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   4997 then :
   4998   printf %s "(cached) " >&6
   4999 else case e in #(
   5000   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5001 /* end confdefs.h.  */
   5002 int i;
   5003 _ACEOF
   5004 if ac_fn_c_try_compile "$LINENO"
   5005 then :
   5006   xorg_cv_cc_flag_unknown_warning_option=yes
   5007 else case e in #(
   5008   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5009 esac
   5010 fi
   5011 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5012 esac
   5013 fi
   5014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5015 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5016 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5017 	CFLAGS="$xorg_testset_save_CFLAGS"
   5018 fi
   5019 
   5020 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5021 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5022 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5023 	fi
   5024 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5025 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5026 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5027 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5028 then :
   5029   printf %s "(cached) " >&6
   5030 else case e in #(
   5031   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5032 /* end confdefs.h.  */
   5033 int i;
   5034 _ACEOF
   5035 if ac_fn_c_try_compile "$LINENO"
   5036 then :
   5037   xorg_cv_cc_flag_unused_command_line_argument=yes
   5038 else case e in #(
   5039   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5040 esac
   5041 fi
   5042 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5043 esac
   5044 fi
   5045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5046 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5047 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5048 	CFLAGS="$xorg_testset_save_CFLAGS"
   5049 fi
   5050 
   5051 found="no"
   5052 
   5053 	if test $found = "no" ; then
   5054 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5055 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5056 		fi
   5057 
   5058 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5059 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5060 		fi
   5061 
   5062 		CFLAGS="$CFLAGS -Wall"
   5063 
   5064 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5065 printf %s "checking if $CC supports -Wall... " >&6; }
   5066 		cacheid=xorg_cv_cc_flag__Wall
   5067 		if eval test \${$cacheid+y}
   5068 then :
   5069   printf %s "(cached) " >&6
   5070 else case e in #(
   5071   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5072 /* end confdefs.h.  */
   5073 int i;
   5074 int
   5075 main (void)
   5076 {
   5077 
   5078   ;
   5079   return 0;
   5080 }
   5081 _ACEOF
   5082 if ac_fn_c_try_link "$LINENO"
   5083 then :
   5084   eval $cacheid=yes
   5085 else case e in #(
   5086   e) eval $cacheid=no ;;
   5087 esac
   5088 fi
   5089 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5090     conftest$ac_exeext conftest.$ac_ext ;;
   5091 esac
   5092 fi
   5093 
   5094 
   5095 		CFLAGS="$xorg_testset_save_CFLAGS"
   5096 
   5097 		eval supported=\$$cacheid
   5098 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5099 printf "%s\n" "$supported" >&6; }
   5100 		if test "$supported" = "yes" ; then
   5101 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5102 			found="yes"
   5103 		fi
   5104 	fi
   5105 
   5106 
   5107 
   5108 
   5109 
   5110 
   5111 
   5112 
   5113 
   5114 
   5115 
   5116 
   5117 
   5118 
   5119 
   5120 xorg_testset_save_CFLAGS="$CFLAGS"
   5121 
   5122 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5123 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5124 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5125 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5126 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5127 then :
   5128   printf %s "(cached) " >&6
   5129 else case e in #(
   5130   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5131 /* end confdefs.h.  */
   5132 int i;
   5133 _ACEOF
   5134 if ac_fn_c_try_compile "$LINENO"
   5135 then :
   5136   xorg_cv_cc_flag_unknown_warning_option=yes
   5137 else case e in #(
   5138   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5139 esac
   5140 fi
   5141 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5142 esac
   5143 fi
   5144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5145 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5146 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5147 	CFLAGS="$xorg_testset_save_CFLAGS"
   5148 fi
   5149 
   5150 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5151 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5152 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5153 	fi
   5154 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5155 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5156 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5157 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5158 then :
   5159   printf %s "(cached) " >&6
   5160 else case e in #(
   5161   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5162 /* end confdefs.h.  */
   5163 int i;
   5164 _ACEOF
   5165 if ac_fn_c_try_compile "$LINENO"
   5166 then :
   5167   xorg_cv_cc_flag_unused_command_line_argument=yes
   5168 else case e in #(
   5169   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5170 esac
   5171 fi
   5172 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5173 esac
   5174 fi
   5175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5176 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5177 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5178 	CFLAGS="$xorg_testset_save_CFLAGS"
   5179 fi
   5180 
   5181 found="no"
   5182 
   5183 	if test $found = "no" ; then
   5184 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5185 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5186 		fi
   5187 
   5188 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5189 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5190 		fi
   5191 
   5192 		CFLAGS="$CFLAGS -Wpointer-arith"
   5193 
   5194 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5195 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5196 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5197 		if eval test \${$cacheid+y}
   5198 then :
   5199   printf %s "(cached) " >&6
   5200 else case e in #(
   5201   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5202 /* end confdefs.h.  */
   5203 int i;
   5204 int
   5205 main (void)
   5206 {
   5207 
   5208   ;
   5209   return 0;
   5210 }
   5211 _ACEOF
   5212 if ac_fn_c_try_link "$LINENO"
   5213 then :
   5214   eval $cacheid=yes
   5215 else case e in #(
   5216   e) eval $cacheid=no ;;
   5217 esac
   5218 fi
   5219 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5220     conftest$ac_exeext conftest.$ac_ext ;;
   5221 esac
   5222 fi
   5223 
   5224 
   5225 		CFLAGS="$xorg_testset_save_CFLAGS"
   5226 
   5227 		eval supported=\$$cacheid
   5228 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5229 printf "%s\n" "$supported" >&6; }
   5230 		if test "$supported" = "yes" ; then
   5231 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5232 			found="yes"
   5233 		fi
   5234 	fi
   5235 
   5236 
   5237 
   5238 
   5239 
   5240 
   5241 
   5242 
   5243 
   5244 
   5245 
   5246 
   5247 
   5248 
   5249 
   5250 xorg_testset_save_CFLAGS="$CFLAGS"
   5251 
   5252 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5253 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5254 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5255 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5256 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5257 then :
   5258   printf %s "(cached) " >&6
   5259 else case e in #(
   5260   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5261 /* end confdefs.h.  */
   5262 int i;
   5263 _ACEOF
   5264 if ac_fn_c_try_compile "$LINENO"
   5265 then :
   5266   xorg_cv_cc_flag_unknown_warning_option=yes
   5267 else case e in #(
   5268   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5269 esac
   5270 fi
   5271 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5272 esac
   5273 fi
   5274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5275 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5276 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5277 	CFLAGS="$xorg_testset_save_CFLAGS"
   5278 fi
   5279 
   5280 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5281 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5282 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5283 	fi
   5284 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5285 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5286 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5287 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5288 then :
   5289   printf %s "(cached) " >&6
   5290 else case e in #(
   5291   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5292 /* end confdefs.h.  */
   5293 int i;
   5294 _ACEOF
   5295 if ac_fn_c_try_compile "$LINENO"
   5296 then :
   5297   xorg_cv_cc_flag_unused_command_line_argument=yes
   5298 else case e in #(
   5299   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5300 esac
   5301 fi
   5302 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5303 esac
   5304 fi
   5305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5306 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5307 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5308 	CFLAGS="$xorg_testset_save_CFLAGS"
   5309 fi
   5310 
   5311 found="no"
   5312 
   5313 	if test $found = "no" ; then
   5314 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5315 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5316 		fi
   5317 
   5318 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5319 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5320 		fi
   5321 
   5322 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5323 
   5324 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5325 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5326 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5327 		if eval test \${$cacheid+y}
   5328 then :
   5329   printf %s "(cached) " >&6
   5330 else case e in #(
   5331   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5332 /* end confdefs.h.  */
   5333 int i;
   5334 int
   5335 main (void)
   5336 {
   5337 
   5338   ;
   5339   return 0;
   5340 }
   5341 _ACEOF
   5342 if ac_fn_c_try_link "$LINENO"
   5343 then :
   5344   eval $cacheid=yes
   5345 else case e in #(
   5346   e) eval $cacheid=no ;;
   5347 esac
   5348 fi
   5349 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5350     conftest$ac_exeext conftest.$ac_ext ;;
   5351 esac
   5352 fi
   5353 
   5354 
   5355 		CFLAGS="$xorg_testset_save_CFLAGS"
   5356 
   5357 		eval supported=\$$cacheid
   5358 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5359 printf "%s\n" "$supported" >&6; }
   5360 		if test "$supported" = "yes" ; then
   5361 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5362 			found="yes"
   5363 		fi
   5364 	fi
   5365 
   5366 
   5367 
   5368 
   5369 
   5370 
   5371 
   5372 
   5373 
   5374 
   5375 
   5376 
   5377 
   5378 
   5379 
   5380 xorg_testset_save_CFLAGS="$CFLAGS"
   5381 
   5382 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5383 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5384 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5385 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5386 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5387 then :
   5388   printf %s "(cached) " >&6
   5389 else case e in #(
   5390   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5391 /* end confdefs.h.  */
   5392 int i;
   5393 _ACEOF
   5394 if ac_fn_c_try_compile "$LINENO"
   5395 then :
   5396   xorg_cv_cc_flag_unknown_warning_option=yes
   5397 else case e in #(
   5398   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5399 esac
   5400 fi
   5401 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5402 esac
   5403 fi
   5404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5405 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5406 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5407 	CFLAGS="$xorg_testset_save_CFLAGS"
   5408 fi
   5409 
   5410 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5411 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5412 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5413 	fi
   5414 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5415 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5416 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5417 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5418 then :
   5419   printf %s "(cached) " >&6
   5420 else case e in #(
   5421   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5422 /* end confdefs.h.  */
   5423 int i;
   5424 _ACEOF
   5425 if ac_fn_c_try_compile "$LINENO"
   5426 then :
   5427   xorg_cv_cc_flag_unused_command_line_argument=yes
   5428 else case e in #(
   5429   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5430 esac
   5431 fi
   5432 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5433 esac
   5434 fi
   5435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5436 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5437 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5438 	CFLAGS="$xorg_testset_save_CFLAGS"
   5439 fi
   5440 
   5441 found="no"
   5442 
   5443 	if test $found = "no" ; then
   5444 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5445 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5446 		fi
   5447 
   5448 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5449 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5450 		fi
   5451 
   5452 		CFLAGS="$CFLAGS -Wformat=2"
   5453 
   5454 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5455 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5456 		cacheid=xorg_cv_cc_flag__Wformat_2
   5457 		if eval test \${$cacheid+y}
   5458 then :
   5459   printf %s "(cached) " >&6
   5460 else case e in #(
   5461   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5462 /* end confdefs.h.  */
   5463 int i;
   5464 int
   5465 main (void)
   5466 {
   5467 
   5468   ;
   5469   return 0;
   5470 }
   5471 _ACEOF
   5472 if ac_fn_c_try_link "$LINENO"
   5473 then :
   5474   eval $cacheid=yes
   5475 else case e in #(
   5476   e) eval $cacheid=no ;;
   5477 esac
   5478 fi
   5479 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5480     conftest$ac_exeext conftest.$ac_ext ;;
   5481 esac
   5482 fi
   5483 
   5484 
   5485 		CFLAGS="$xorg_testset_save_CFLAGS"
   5486 
   5487 		eval supported=\$$cacheid
   5488 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5489 printf "%s\n" "$supported" >&6; }
   5490 		if test "$supported" = "yes" ; then
   5491 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5492 			found="yes"
   5493 		fi
   5494 	fi
   5495 
   5496 	if test $found = "no" ; then
   5497 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5498 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5499 		fi
   5500 
   5501 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5502 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5503 		fi
   5504 
   5505 		CFLAGS="$CFLAGS -Wformat"
   5506 
   5507 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5508 printf %s "checking if $CC supports -Wformat... " >&6; }
   5509 		cacheid=xorg_cv_cc_flag__Wformat
   5510 		if eval test \${$cacheid+y}
   5511 then :
   5512   printf %s "(cached) " >&6
   5513 else case e in #(
   5514   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5515 /* end confdefs.h.  */
   5516 int i;
   5517 int
   5518 main (void)
   5519 {
   5520 
   5521   ;
   5522   return 0;
   5523 }
   5524 _ACEOF
   5525 if ac_fn_c_try_link "$LINENO"
   5526 then :
   5527   eval $cacheid=yes
   5528 else case e in #(
   5529   e) eval $cacheid=no ;;
   5530 esac
   5531 fi
   5532 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5533     conftest$ac_exeext conftest.$ac_ext ;;
   5534 esac
   5535 fi
   5536 
   5537 
   5538 		CFLAGS="$xorg_testset_save_CFLAGS"
   5539 
   5540 		eval supported=\$$cacheid
   5541 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5542 printf "%s\n" "$supported" >&6; }
   5543 		if test "$supported" = "yes" ; then
   5544 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5545 			found="yes"
   5546 		fi
   5547 	fi
   5548 
   5549 
   5550 
   5551 
   5552 
   5553 
   5554 
   5555 
   5556 
   5557 
   5558 
   5559 
   5560 
   5561 
   5562 
   5563 
   5564 
   5565 xorg_testset_save_CFLAGS="$CFLAGS"
   5566 
   5567 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5568 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5569 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5570 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5571 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5572 then :
   5573   printf %s "(cached) " >&6
   5574 else case e in #(
   5575   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5576 /* end confdefs.h.  */
   5577 int i;
   5578 _ACEOF
   5579 if ac_fn_c_try_compile "$LINENO"
   5580 then :
   5581   xorg_cv_cc_flag_unknown_warning_option=yes
   5582 else case e in #(
   5583   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5584 esac
   5585 fi
   5586 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5587 esac
   5588 fi
   5589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5590 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5591 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5592 	CFLAGS="$xorg_testset_save_CFLAGS"
   5593 fi
   5594 
   5595 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5596 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5597 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5598 	fi
   5599 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5600 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5601 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5602 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5603 then :
   5604   printf %s "(cached) " >&6
   5605 else case e in #(
   5606   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5607 /* end confdefs.h.  */
   5608 int i;
   5609 _ACEOF
   5610 if ac_fn_c_try_compile "$LINENO"
   5611 then :
   5612   xorg_cv_cc_flag_unused_command_line_argument=yes
   5613 else case e in #(
   5614   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5615 esac
   5616 fi
   5617 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5618 esac
   5619 fi
   5620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5621 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5622 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5623 	CFLAGS="$xorg_testset_save_CFLAGS"
   5624 fi
   5625 
   5626 found="no"
   5627 
   5628 	if test $found = "no" ; then
   5629 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5630 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5631 		fi
   5632 
   5633 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5634 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5635 		fi
   5636 
   5637 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5638 
   5639 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5640 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5641 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5642 		if eval test \${$cacheid+y}
   5643 then :
   5644   printf %s "(cached) " >&6
   5645 else case e in #(
   5646   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5647 /* end confdefs.h.  */
   5648 int i;
   5649 int
   5650 main (void)
   5651 {
   5652 
   5653   ;
   5654   return 0;
   5655 }
   5656 _ACEOF
   5657 if ac_fn_c_try_link "$LINENO"
   5658 then :
   5659   eval $cacheid=yes
   5660 else case e in #(
   5661   e) eval $cacheid=no ;;
   5662 esac
   5663 fi
   5664 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5665     conftest$ac_exeext conftest.$ac_ext ;;
   5666 esac
   5667 fi
   5668 
   5669 
   5670 		CFLAGS="$xorg_testset_save_CFLAGS"
   5671 
   5672 		eval supported=\$$cacheid
   5673 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5674 printf "%s\n" "$supported" >&6; }
   5675 		if test "$supported" = "yes" ; then
   5676 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5677 			found="yes"
   5678 		fi
   5679 	fi
   5680 
   5681 
   5682 
   5683 
   5684 
   5685 
   5686 
   5687 
   5688 
   5689 
   5690 
   5691 
   5692 
   5693 
   5694 
   5695 xorg_testset_save_CFLAGS="$CFLAGS"
   5696 
   5697 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5698 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5699 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5700 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5701 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5702 then :
   5703   printf %s "(cached) " >&6
   5704 else case e in #(
   5705   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5706 /* end confdefs.h.  */
   5707 int i;
   5708 _ACEOF
   5709 if ac_fn_c_try_compile "$LINENO"
   5710 then :
   5711   xorg_cv_cc_flag_unknown_warning_option=yes
   5712 else case e in #(
   5713   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5714 esac
   5715 fi
   5716 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5717 esac
   5718 fi
   5719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5720 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5721 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5722 	CFLAGS="$xorg_testset_save_CFLAGS"
   5723 fi
   5724 
   5725 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5726 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5727 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5728 	fi
   5729 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5730 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5731 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5732 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5733 then :
   5734   printf %s "(cached) " >&6
   5735 else case e in #(
   5736   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5737 /* end confdefs.h.  */
   5738 int i;
   5739 _ACEOF
   5740 if ac_fn_c_try_compile "$LINENO"
   5741 then :
   5742   xorg_cv_cc_flag_unused_command_line_argument=yes
   5743 else case e in #(
   5744   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5745 esac
   5746 fi
   5747 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5748 esac
   5749 fi
   5750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5751 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5752 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5753 	CFLAGS="$xorg_testset_save_CFLAGS"
   5754 fi
   5755 
   5756 found="no"
   5757 
   5758 	if test $found = "no" ; then
   5759 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5760 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5761 		fi
   5762 
   5763 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5764 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5765 		fi
   5766 
   5767 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5768 
   5769 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5770 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5771 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5772 		if eval test \${$cacheid+y}
   5773 then :
   5774   printf %s "(cached) " >&6
   5775 else case e in #(
   5776   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5777 /* end confdefs.h.  */
   5778 int i;
   5779 int
   5780 main (void)
   5781 {
   5782 
   5783   ;
   5784   return 0;
   5785 }
   5786 _ACEOF
   5787 if ac_fn_c_try_link "$LINENO"
   5788 then :
   5789   eval $cacheid=yes
   5790 else case e in #(
   5791   e) eval $cacheid=no ;;
   5792 esac
   5793 fi
   5794 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5795     conftest$ac_exeext conftest.$ac_ext ;;
   5796 esac
   5797 fi
   5798 
   5799 
   5800 		CFLAGS="$xorg_testset_save_CFLAGS"
   5801 
   5802 		eval supported=\$$cacheid
   5803 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5804 printf "%s\n" "$supported" >&6; }
   5805 		if test "$supported" = "yes" ; then
   5806 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5807 			found="yes"
   5808 		fi
   5809 	fi
   5810 
   5811 
   5812 
   5813 
   5814 
   5815 
   5816 
   5817 
   5818 
   5819 
   5820 
   5821 
   5822 
   5823 
   5824 
   5825 xorg_testset_save_CFLAGS="$CFLAGS"
   5826 
   5827 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5828 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5829 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5830 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5831 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5832 then :
   5833   printf %s "(cached) " >&6
   5834 else case e in #(
   5835   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5836 /* end confdefs.h.  */
   5837 int i;
   5838 _ACEOF
   5839 if ac_fn_c_try_compile "$LINENO"
   5840 then :
   5841   xorg_cv_cc_flag_unknown_warning_option=yes
   5842 else case e in #(
   5843   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5844 esac
   5845 fi
   5846 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5847 esac
   5848 fi
   5849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5850 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5851 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5852 	CFLAGS="$xorg_testset_save_CFLAGS"
   5853 fi
   5854 
   5855 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5856 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5857 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5858 	fi
   5859 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5860 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5861 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5862 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5863 then :
   5864   printf %s "(cached) " >&6
   5865 else case e in #(
   5866   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5867 /* end confdefs.h.  */
   5868 int i;
   5869 _ACEOF
   5870 if ac_fn_c_try_compile "$LINENO"
   5871 then :
   5872   xorg_cv_cc_flag_unused_command_line_argument=yes
   5873 else case e in #(
   5874   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5875 esac
   5876 fi
   5877 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5878 esac
   5879 fi
   5880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5881 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5882 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5883 	CFLAGS="$xorg_testset_save_CFLAGS"
   5884 fi
   5885 
   5886 found="no"
   5887 
   5888 	if test $found = "no" ; then
   5889 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5890 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5891 		fi
   5892 
   5893 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5894 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5895 		fi
   5896 
   5897 		CFLAGS="$CFLAGS -Wnested-externs"
   5898 
   5899 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5900 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   5901 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5902 		if eval test \${$cacheid+y}
   5903 then :
   5904   printf %s "(cached) " >&6
   5905 else case e in #(
   5906   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5907 /* end confdefs.h.  */
   5908 int i;
   5909 int
   5910 main (void)
   5911 {
   5912 
   5913   ;
   5914   return 0;
   5915 }
   5916 _ACEOF
   5917 if ac_fn_c_try_link "$LINENO"
   5918 then :
   5919   eval $cacheid=yes
   5920 else case e in #(
   5921   e) eval $cacheid=no ;;
   5922 esac
   5923 fi
   5924 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5925     conftest$ac_exeext conftest.$ac_ext ;;
   5926 esac
   5927 fi
   5928 
   5929 
   5930 		CFLAGS="$xorg_testset_save_CFLAGS"
   5931 
   5932 		eval supported=\$$cacheid
   5933 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5934 printf "%s\n" "$supported" >&6; }
   5935 		if test "$supported" = "yes" ; then
   5936 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5937 			found="yes"
   5938 		fi
   5939 	fi
   5940 
   5941 
   5942 
   5943 
   5944 
   5945 
   5946 
   5947 
   5948 
   5949 
   5950 
   5951 
   5952 
   5953 
   5954 
   5955 xorg_testset_save_CFLAGS="$CFLAGS"
   5956 
   5957 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5958 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5959 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5960 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5961 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5962 then :
   5963   printf %s "(cached) " >&6
   5964 else case e in #(
   5965   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5966 /* end confdefs.h.  */
   5967 int i;
   5968 _ACEOF
   5969 if ac_fn_c_try_compile "$LINENO"
   5970 then :
   5971   xorg_cv_cc_flag_unknown_warning_option=yes
   5972 else case e in #(
   5973   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5974 esac
   5975 fi
   5976 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5977 esac
   5978 fi
   5979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5980 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5981 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5982 	CFLAGS="$xorg_testset_save_CFLAGS"
   5983 fi
   5984 
   5985 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5986 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5987 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5988 	fi
   5989 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5990 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5991 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5992 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5993 then :
   5994   printf %s "(cached) " >&6
   5995 else case e in #(
   5996   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5997 /* end confdefs.h.  */
   5998 int i;
   5999 _ACEOF
   6000 if ac_fn_c_try_compile "$LINENO"
   6001 then :
   6002   xorg_cv_cc_flag_unused_command_line_argument=yes
   6003 else case e in #(
   6004   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6005 esac
   6006 fi
   6007 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6008 esac
   6009 fi
   6010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6011 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6012 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6013 	CFLAGS="$xorg_testset_save_CFLAGS"
   6014 fi
   6015 
   6016 found="no"
   6017 
   6018 	if test $found = "no" ; then
   6019 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6020 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6021 		fi
   6022 
   6023 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6024 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6025 		fi
   6026 
   6027 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6028 
   6029 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6030 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   6031 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6032 		if eval test \${$cacheid+y}
   6033 then :
   6034   printf %s "(cached) " >&6
   6035 else case e in #(
   6036   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6037 /* end confdefs.h.  */
   6038 int i;
   6039 int
   6040 main (void)
   6041 {
   6042 
   6043   ;
   6044   return 0;
   6045 }
   6046 _ACEOF
   6047 if ac_fn_c_try_link "$LINENO"
   6048 then :
   6049   eval $cacheid=yes
   6050 else case e in #(
   6051   e) eval $cacheid=no ;;
   6052 esac
   6053 fi
   6054 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6055     conftest$ac_exeext conftest.$ac_ext ;;
   6056 esac
   6057 fi
   6058 
   6059 
   6060 		CFLAGS="$xorg_testset_save_CFLAGS"
   6061 
   6062 		eval supported=\$$cacheid
   6063 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6064 printf "%s\n" "$supported" >&6; }
   6065 		if test "$supported" = "yes" ; then
   6066 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6067 			found="yes"
   6068 		fi
   6069 	fi
   6070 
   6071 
   6072 
   6073 
   6074 
   6075 
   6076 
   6077 
   6078 
   6079 
   6080 
   6081 
   6082 
   6083 
   6084 
   6085 xorg_testset_save_CFLAGS="$CFLAGS"
   6086 
   6087 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6088 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6089 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6090 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6091 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6092 then :
   6093   printf %s "(cached) " >&6
   6094 else case e in #(
   6095   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6096 /* end confdefs.h.  */
   6097 int i;
   6098 _ACEOF
   6099 if ac_fn_c_try_compile "$LINENO"
   6100 then :
   6101   xorg_cv_cc_flag_unknown_warning_option=yes
   6102 else case e in #(
   6103   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6104 esac
   6105 fi
   6106 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6107 esac
   6108 fi
   6109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6110 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6111 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6112 	CFLAGS="$xorg_testset_save_CFLAGS"
   6113 fi
   6114 
   6115 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6116 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6117 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6118 	fi
   6119 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6120 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6121 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6122 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6123 then :
   6124   printf %s "(cached) " >&6
   6125 else case e in #(
   6126   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6127 /* end confdefs.h.  */
   6128 int i;
   6129 _ACEOF
   6130 if ac_fn_c_try_compile "$LINENO"
   6131 then :
   6132   xorg_cv_cc_flag_unused_command_line_argument=yes
   6133 else case e in #(
   6134   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6135 esac
   6136 fi
   6137 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6138 esac
   6139 fi
   6140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6141 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6142 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6143 	CFLAGS="$xorg_testset_save_CFLAGS"
   6144 fi
   6145 
   6146 found="no"
   6147 
   6148 	if test $found = "no" ; then
   6149 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6150 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6151 		fi
   6152 
   6153 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6154 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6155 		fi
   6156 
   6157 		CFLAGS="$CFLAGS -Wold-style-definition"
   6158 
   6159 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6160 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6161 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6162 		if eval test \${$cacheid+y}
   6163 then :
   6164   printf %s "(cached) " >&6
   6165 else case e in #(
   6166   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6167 /* end confdefs.h.  */
   6168 int i;
   6169 int
   6170 main (void)
   6171 {
   6172 
   6173   ;
   6174   return 0;
   6175 }
   6176 _ACEOF
   6177 if ac_fn_c_try_link "$LINENO"
   6178 then :
   6179   eval $cacheid=yes
   6180 else case e in #(
   6181   e) eval $cacheid=no ;;
   6182 esac
   6183 fi
   6184 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6185     conftest$ac_exeext conftest.$ac_ext ;;
   6186 esac
   6187 fi
   6188 
   6189 
   6190 		CFLAGS="$xorg_testset_save_CFLAGS"
   6191 
   6192 		eval supported=\$$cacheid
   6193 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6194 printf "%s\n" "$supported" >&6; }
   6195 		if test "$supported" = "yes" ; then
   6196 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6197 			found="yes"
   6198 		fi
   6199 	fi
   6200 
   6201 	if test $found = "no" ; then
   6202 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6203 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6204 		fi
   6205 
   6206 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6207 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6208 		fi
   6209 
   6210 		CFLAGS="$CFLAGS -fd"
   6211 
   6212 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6213 printf %s "checking if $CC supports -fd... " >&6; }
   6214 		cacheid=xorg_cv_cc_flag__fd
   6215 		if eval test \${$cacheid+y}
   6216 then :
   6217   printf %s "(cached) " >&6
   6218 else case e in #(
   6219   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6220 /* end confdefs.h.  */
   6221 int i;
   6222 int
   6223 main (void)
   6224 {
   6225 
   6226   ;
   6227   return 0;
   6228 }
   6229 _ACEOF
   6230 if ac_fn_c_try_link "$LINENO"
   6231 then :
   6232   eval $cacheid=yes
   6233 else case e in #(
   6234   e) eval $cacheid=no ;;
   6235 esac
   6236 fi
   6237 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6238     conftest$ac_exeext conftest.$ac_ext ;;
   6239 esac
   6240 fi
   6241 
   6242 
   6243 		CFLAGS="$xorg_testset_save_CFLAGS"
   6244 
   6245 		eval supported=\$$cacheid
   6246 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6247 printf "%s\n" "$supported" >&6; }
   6248 		if test "$supported" = "yes" ; then
   6249 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6250 			found="yes"
   6251 		fi
   6252 	fi
   6253 
   6254 
   6255 
   6256 
   6257 
   6258 
   6259 
   6260 
   6261 
   6262 
   6263 
   6264 
   6265 
   6266 
   6267 
   6268 xorg_testset_save_CFLAGS="$CFLAGS"
   6269 
   6270 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6271 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6272 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6273 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6274 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6275 then :
   6276   printf %s "(cached) " >&6
   6277 else case e in #(
   6278   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6279 /* end confdefs.h.  */
   6280 int i;
   6281 _ACEOF
   6282 if ac_fn_c_try_compile "$LINENO"
   6283 then :
   6284   xorg_cv_cc_flag_unknown_warning_option=yes
   6285 else case e in #(
   6286   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6287 esac
   6288 fi
   6289 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6290 esac
   6291 fi
   6292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6293 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6294 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6295 	CFLAGS="$xorg_testset_save_CFLAGS"
   6296 fi
   6297 
   6298 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6299 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6300 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6301 	fi
   6302 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6303 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6304 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6305 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6306 then :
   6307   printf %s "(cached) " >&6
   6308 else case e in #(
   6309   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6310 /* end confdefs.h.  */
   6311 int i;
   6312 _ACEOF
   6313 if ac_fn_c_try_compile "$LINENO"
   6314 then :
   6315   xorg_cv_cc_flag_unused_command_line_argument=yes
   6316 else case e in #(
   6317   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6318 esac
   6319 fi
   6320 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6321 esac
   6322 fi
   6323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6324 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6325 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6326 	CFLAGS="$xorg_testset_save_CFLAGS"
   6327 fi
   6328 
   6329 found="no"
   6330 
   6331 	if test $found = "no" ; then
   6332 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6333 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6334 		fi
   6335 
   6336 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6337 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6338 		fi
   6339 
   6340 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6341 
   6342 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6343 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6344 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6345 		if eval test \${$cacheid+y}
   6346 then :
   6347   printf %s "(cached) " >&6
   6348 else case e in #(
   6349   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6350 /* end confdefs.h.  */
   6351 int i;
   6352 int
   6353 main (void)
   6354 {
   6355 
   6356   ;
   6357   return 0;
   6358 }
   6359 _ACEOF
   6360 if ac_fn_c_try_link "$LINENO"
   6361 then :
   6362   eval $cacheid=yes
   6363 else case e in #(
   6364   e) eval $cacheid=no ;;
   6365 esac
   6366 fi
   6367 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6368     conftest$ac_exeext conftest.$ac_ext ;;
   6369 esac
   6370 fi
   6371 
   6372 
   6373 		CFLAGS="$xorg_testset_save_CFLAGS"
   6374 
   6375 		eval supported=\$$cacheid
   6376 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6377 printf "%s\n" "$supported" >&6; }
   6378 		if test "$supported" = "yes" ; then
   6379 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6380 			found="yes"
   6381 		fi
   6382 	fi
   6383 
   6384 
   6385 
   6386 
   6387 
   6388 # This chunk adds additional warnings that could catch undesired effects.
   6389 
   6390 
   6391 
   6392 
   6393 
   6394 
   6395 
   6396 
   6397 
   6398 
   6399 
   6400 
   6401 
   6402 xorg_testset_save_CFLAGS="$CFLAGS"
   6403 
   6404 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6405 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6406 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6407 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6408 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6409 then :
   6410   printf %s "(cached) " >&6
   6411 else case e in #(
   6412   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6413 /* end confdefs.h.  */
   6414 int i;
   6415 _ACEOF
   6416 if ac_fn_c_try_compile "$LINENO"
   6417 then :
   6418   xorg_cv_cc_flag_unknown_warning_option=yes
   6419 else case e in #(
   6420   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6421 esac
   6422 fi
   6423 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6424 esac
   6425 fi
   6426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6427 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6428 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6429 	CFLAGS="$xorg_testset_save_CFLAGS"
   6430 fi
   6431 
   6432 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6433 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6434 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6435 	fi
   6436 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6437 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6438 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6439 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6440 then :
   6441   printf %s "(cached) " >&6
   6442 else case e in #(
   6443   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6444 /* end confdefs.h.  */
   6445 int i;
   6446 _ACEOF
   6447 if ac_fn_c_try_compile "$LINENO"
   6448 then :
   6449   xorg_cv_cc_flag_unused_command_line_argument=yes
   6450 else case e in #(
   6451   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6452 esac
   6453 fi
   6454 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6455 esac
   6456 fi
   6457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6458 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6459 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6460 	CFLAGS="$xorg_testset_save_CFLAGS"
   6461 fi
   6462 
   6463 found="no"
   6464 
   6465 	if test $found = "no" ; then
   6466 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6467 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6468 		fi
   6469 
   6470 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6471 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6472 		fi
   6473 
   6474 		CFLAGS="$CFLAGS -Wunused"
   6475 
   6476 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6477 printf %s "checking if $CC supports -Wunused... " >&6; }
   6478 		cacheid=xorg_cv_cc_flag__Wunused
   6479 		if eval test \${$cacheid+y}
   6480 then :
   6481   printf %s "(cached) " >&6
   6482 else case e in #(
   6483   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6484 /* end confdefs.h.  */
   6485 int i;
   6486 int
   6487 main (void)
   6488 {
   6489 
   6490   ;
   6491   return 0;
   6492 }
   6493 _ACEOF
   6494 if ac_fn_c_try_link "$LINENO"
   6495 then :
   6496   eval $cacheid=yes
   6497 else case e in #(
   6498   e) eval $cacheid=no ;;
   6499 esac
   6500 fi
   6501 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6502     conftest$ac_exeext conftest.$ac_ext ;;
   6503 esac
   6504 fi
   6505 
   6506 
   6507 		CFLAGS="$xorg_testset_save_CFLAGS"
   6508 
   6509 		eval supported=\$$cacheid
   6510 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6511 printf "%s\n" "$supported" >&6; }
   6512 		if test "$supported" = "yes" ; then
   6513 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6514 			found="yes"
   6515 		fi
   6516 	fi
   6517 
   6518 
   6519 
   6520 
   6521 
   6522 
   6523 
   6524 
   6525 
   6526 
   6527 
   6528 
   6529 
   6530 
   6531 
   6532 xorg_testset_save_CFLAGS="$CFLAGS"
   6533 
   6534 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6535 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6536 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6537 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6538 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6539 then :
   6540   printf %s "(cached) " >&6
   6541 else case e in #(
   6542   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6543 /* end confdefs.h.  */
   6544 int i;
   6545 _ACEOF
   6546 if ac_fn_c_try_compile "$LINENO"
   6547 then :
   6548   xorg_cv_cc_flag_unknown_warning_option=yes
   6549 else case e in #(
   6550   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6551 esac
   6552 fi
   6553 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6554 esac
   6555 fi
   6556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6557 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6558 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6559 	CFLAGS="$xorg_testset_save_CFLAGS"
   6560 fi
   6561 
   6562 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6563 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6564 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6565 	fi
   6566 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6567 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6568 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6569 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6570 then :
   6571   printf %s "(cached) " >&6
   6572 else case e in #(
   6573   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6574 /* end confdefs.h.  */
   6575 int i;
   6576 _ACEOF
   6577 if ac_fn_c_try_compile "$LINENO"
   6578 then :
   6579   xorg_cv_cc_flag_unused_command_line_argument=yes
   6580 else case e in #(
   6581   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6582 esac
   6583 fi
   6584 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6585 esac
   6586 fi
   6587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6588 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6589 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6590 	CFLAGS="$xorg_testset_save_CFLAGS"
   6591 fi
   6592 
   6593 found="no"
   6594 
   6595 	if test $found = "no" ; then
   6596 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6597 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6598 		fi
   6599 
   6600 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6601 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6602 		fi
   6603 
   6604 		CFLAGS="$CFLAGS -Wuninitialized"
   6605 
   6606 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6607 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6608 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6609 		if eval test \${$cacheid+y}
   6610 then :
   6611   printf %s "(cached) " >&6
   6612 else case e in #(
   6613   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6614 /* end confdefs.h.  */
   6615 int i;
   6616 int
   6617 main (void)
   6618 {
   6619 
   6620   ;
   6621   return 0;
   6622 }
   6623 _ACEOF
   6624 if ac_fn_c_try_link "$LINENO"
   6625 then :
   6626   eval $cacheid=yes
   6627 else case e in #(
   6628   e) eval $cacheid=no ;;
   6629 esac
   6630 fi
   6631 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6632     conftest$ac_exeext conftest.$ac_ext ;;
   6633 esac
   6634 fi
   6635 
   6636 
   6637 		CFLAGS="$xorg_testset_save_CFLAGS"
   6638 
   6639 		eval supported=\$$cacheid
   6640 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6641 printf "%s\n" "$supported" >&6; }
   6642 		if test "$supported" = "yes" ; then
   6643 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6644 			found="yes"
   6645 		fi
   6646 	fi
   6647 
   6648 
   6649 
   6650 
   6651 
   6652 
   6653 
   6654 
   6655 
   6656 
   6657 
   6658 
   6659 
   6660 
   6661 
   6662 xorg_testset_save_CFLAGS="$CFLAGS"
   6663 
   6664 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6665 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6666 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6667 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6668 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6669 then :
   6670   printf %s "(cached) " >&6
   6671 else case e in #(
   6672   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6673 /* end confdefs.h.  */
   6674 int i;
   6675 _ACEOF
   6676 if ac_fn_c_try_compile "$LINENO"
   6677 then :
   6678   xorg_cv_cc_flag_unknown_warning_option=yes
   6679 else case e in #(
   6680   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6681 esac
   6682 fi
   6683 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6684 esac
   6685 fi
   6686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6687 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6688 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6689 	CFLAGS="$xorg_testset_save_CFLAGS"
   6690 fi
   6691 
   6692 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6693 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6694 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6695 	fi
   6696 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6697 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6698 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6699 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6700 then :
   6701   printf %s "(cached) " >&6
   6702 else case e in #(
   6703   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6704 /* end confdefs.h.  */
   6705 int i;
   6706 _ACEOF
   6707 if ac_fn_c_try_compile "$LINENO"
   6708 then :
   6709   xorg_cv_cc_flag_unused_command_line_argument=yes
   6710 else case e in #(
   6711   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6712 esac
   6713 fi
   6714 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6715 esac
   6716 fi
   6717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6718 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6719 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6720 	CFLAGS="$xorg_testset_save_CFLAGS"
   6721 fi
   6722 
   6723 found="no"
   6724 
   6725 	if test $found = "no" ; then
   6726 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6727 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6728 		fi
   6729 
   6730 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6731 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6732 		fi
   6733 
   6734 		CFLAGS="$CFLAGS -Wshadow"
   6735 
   6736 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6737 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6738 		cacheid=xorg_cv_cc_flag__Wshadow
   6739 		if eval test \${$cacheid+y}
   6740 then :
   6741   printf %s "(cached) " >&6
   6742 else case e in #(
   6743   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6744 /* end confdefs.h.  */
   6745 int i;
   6746 int
   6747 main (void)
   6748 {
   6749 
   6750   ;
   6751   return 0;
   6752 }
   6753 _ACEOF
   6754 if ac_fn_c_try_link "$LINENO"
   6755 then :
   6756   eval $cacheid=yes
   6757 else case e in #(
   6758   e) eval $cacheid=no ;;
   6759 esac
   6760 fi
   6761 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6762     conftest$ac_exeext conftest.$ac_ext ;;
   6763 esac
   6764 fi
   6765 
   6766 
   6767 		CFLAGS="$xorg_testset_save_CFLAGS"
   6768 
   6769 		eval supported=\$$cacheid
   6770 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6771 printf "%s\n" "$supported" >&6; }
   6772 		if test "$supported" = "yes" ; then
   6773 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6774 			found="yes"
   6775 		fi
   6776 	fi
   6777 
   6778 
   6779 
   6780 
   6781 
   6782 
   6783 
   6784 
   6785 
   6786 
   6787 
   6788 
   6789 
   6790 
   6791 
   6792 xorg_testset_save_CFLAGS="$CFLAGS"
   6793 
   6794 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6795 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6796 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6797 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6798 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6799 then :
   6800   printf %s "(cached) " >&6
   6801 else case e in #(
   6802   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6803 /* end confdefs.h.  */
   6804 int i;
   6805 _ACEOF
   6806 if ac_fn_c_try_compile "$LINENO"
   6807 then :
   6808   xorg_cv_cc_flag_unknown_warning_option=yes
   6809 else case e in #(
   6810   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6811 esac
   6812 fi
   6813 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6814 esac
   6815 fi
   6816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6817 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6818 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6819 	CFLAGS="$xorg_testset_save_CFLAGS"
   6820 fi
   6821 
   6822 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6823 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6824 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6825 	fi
   6826 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6827 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6828 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6829 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6830 then :
   6831   printf %s "(cached) " >&6
   6832 else case e in #(
   6833   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6834 /* end confdefs.h.  */
   6835 int i;
   6836 _ACEOF
   6837 if ac_fn_c_try_compile "$LINENO"
   6838 then :
   6839   xorg_cv_cc_flag_unused_command_line_argument=yes
   6840 else case e in #(
   6841   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6842 esac
   6843 fi
   6844 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6845 esac
   6846 fi
   6847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6848 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6849 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6850 	CFLAGS="$xorg_testset_save_CFLAGS"
   6851 fi
   6852 
   6853 found="no"
   6854 
   6855 	if test $found = "no" ; then
   6856 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6857 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6858 		fi
   6859 
   6860 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6861 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6862 		fi
   6863 
   6864 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6865 
   6866 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6867 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6868 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6869 		if eval test \${$cacheid+y}
   6870 then :
   6871   printf %s "(cached) " >&6
   6872 else case e in #(
   6873   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6874 /* end confdefs.h.  */
   6875 int i;
   6876 int
   6877 main (void)
   6878 {
   6879 
   6880   ;
   6881   return 0;
   6882 }
   6883 _ACEOF
   6884 if ac_fn_c_try_link "$LINENO"
   6885 then :
   6886   eval $cacheid=yes
   6887 else case e in #(
   6888   e) eval $cacheid=no ;;
   6889 esac
   6890 fi
   6891 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6892     conftest$ac_exeext conftest.$ac_ext ;;
   6893 esac
   6894 fi
   6895 
   6896 
   6897 		CFLAGS="$xorg_testset_save_CFLAGS"
   6898 
   6899 		eval supported=\$$cacheid
   6900 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6901 printf "%s\n" "$supported" >&6; }
   6902 		if test "$supported" = "yes" ; then
   6903 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6904 			found="yes"
   6905 		fi
   6906 	fi
   6907 
   6908 
   6909 
   6910 
   6911 
   6912 
   6913 
   6914 
   6915 
   6916 
   6917 
   6918 
   6919 
   6920 
   6921 
   6922 xorg_testset_save_CFLAGS="$CFLAGS"
   6923 
   6924 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6925 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6926 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6927 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6928 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6929 then :
   6930   printf %s "(cached) " >&6
   6931 else case e in #(
   6932   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6933 /* end confdefs.h.  */
   6934 int i;
   6935 _ACEOF
   6936 if ac_fn_c_try_compile "$LINENO"
   6937 then :
   6938   xorg_cv_cc_flag_unknown_warning_option=yes
   6939 else case e in #(
   6940   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6941 esac
   6942 fi
   6943 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6944 esac
   6945 fi
   6946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6947 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6948 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6949 	CFLAGS="$xorg_testset_save_CFLAGS"
   6950 fi
   6951 
   6952 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6953 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6954 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6955 	fi
   6956 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6957 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6958 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6959 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6960 then :
   6961   printf %s "(cached) " >&6
   6962 else case e in #(
   6963   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6964 /* end confdefs.h.  */
   6965 int i;
   6966 _ACEOF
   6967 if ac_fn_c_try_compile "$LINENO"
   6968 then :
   6969   xorg_cv_cc_flag_unused_command_line_argument=yes
   6970 else case e in #(
   6971   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6972 esac
   6973 fi
   6974 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6975 esac
   6976 fi
   6977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6978 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6979 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6980 	CFLAGS="$xorg_testset_save_CFLAGS"
   6981 fi
   6982 
   6983 found="no"
   6984 
   6985 	if test $found = "no" ; then
   6986 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6987 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6988 		fi
   6989 
   6990 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6991 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6992 		fi
   6993 
   6994 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6995 
   6996 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6997 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6998 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6999 		if eval test \${$cacheid+y}
   7000 then :
   7001   printf %s "(cached) " >&6
   7002 else case e in #(
   7003   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7004 /* end confdefs.h.  */
   7005 int i;
   7006 int
   7007 main (void)
   7008 {
   7009 
   7010   ;
   7011   return 0;
   7012 }
   7013 _ACEOF
   7014 if ac_fn_c_try_link "$LINENO"
   7015 then :
   7016   eval $cacheid=yes
   7017 else case e in #(
   7018   e) eval $cacheid=no ;;
   7019 esac
   7020 fi
   7021 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7022     conftest$ac_exeext conftest.$ac_ext ;;
   7023 esac
   7024 fi
   7025 
   7026 
   7027 		CFLAGS="$xorg_testset_save_CFLAGS"
   7028 
   7029 		eval supported=\$$cacheid
   7030 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7031 printf "%s\n" "$supported" >&6; }
   7032 		if test "$supported" = "yes" ; then
   7033 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   7034 			found="yes"
   7035 		fi
   7036 	fi
   7037 
   7038 
   7039 
   7040 
   7041 
   7042 
   7043 
   7044 
   7045 
   7046 
   7047 
   7048 
   7049 
   7050 
   7051 
   7052 xorg_testset_save_CFLAGS="$CFLAGS"
   7053 
   7054 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7055 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7056 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7057 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7058 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7059 then :
   7060   printf %s "(cached) " >&6
   7061 else case e in #(
   7062   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7063 /* end confdefs.h.  */
   7064 int i;
   7065 _ACEOF
   7066 if ac_fn_c_try_compile "$LINENO"
   7067 then :
   7068   xorg_cv_cc_flag_unknown_warning_option=yes
   7069 else case e in #(
   7070   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7071 esac
   7072 fi
   7073 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7074 esac
   7075 fi
   7076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7077 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7078 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7079 	CFLAGS="$xorg_testset_save_CFLAGS"
   7080 fi
   7081 
   7082 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7083 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7084 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7085 	fi
   7086 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7087 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7088 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7089 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7090 then :
   7091   printf %s "(cached) " >&6
   7092 else case e in #(
   7093   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7094 /* end confdefs.h.  */
   7095 int i;
   7096 _ACEOF
   7097 if ac_fn_c_try_compile "$LINENO"
   7098 then :
   7099   xorg_cv_cc_flag_unused_command_line_argument=yes
   7100 else case e in #(
   7101   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7102 esac
   7103 fi
   7104 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7105 esac
   7106 fi
   7107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7108 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7109 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7110 	CFLAGS="$xorg_testset_save_CFLAGS"
   7111 fi
   7112 
   7113 found="no"
   7114 
   7115 	if test $found = "no" ; then
   7116 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7117 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7118 		fi
   7119 
   7120 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7121 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7122 		fi
   7123 
   7124 		CFLAGS="$CFLAGS -Wredundant-decls"
   7125 
   7126 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7127 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7128 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7129 		if eval test \${$cacheid+y}
   7130 then :
   7131   printf %s "(cached) " >&6
   7132 else case e in #(
   7133   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7134 /* end confdefs.h.  */
   7135 int i;
   7136 int
   7137 main (void)
   7138 {
   7139 
   7140   ;
   7141   return 0;
   7142 }
   7143 _ACEOF
   7144 if ac_fn_c_try_link "$LINENO"
   7145 then :
   7146   eval $cacheid=yes
   7147 else case e in #(
   7148   e) eval $cacheid=no ;;
   7149 esac
   7150 fi
   7151 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7152     conftest$ac_exeext conftest.$ac_ext ;;
   7153 esac
   7154 fi
   7155 
   7156 
   7157 		CFLAGS="$xorg_testset_save_CFLAGS"
   7158 
   7159 		eval supported=\$$cacheid
   7160 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7161 printf "%s\n" "$supported" >&6; }
   7162 		if test "$supported" = "yes" ; then
   7163 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7164 			found="yes"
   7165 		fi
   7166 	fi
   7167 
   7168 
   7169 
   7170 
   7171 
   7172 
   7173 
   7174 
   7175 
   7176 
   7177 
   7178 
   7179 
   7180 
   7181 
   7182 xorg_testset_save_CFLAGS="$CFLAGS"
   7183 
   7184 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7185 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7186 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7187 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7188 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7189 then :
   7190   printf %s "(cached) " >&6
   7191 else case e in #(
   7192   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7193 /* end confdefs.h.  */
   7194 int i;
   7195 _ACEOF
   7196 if ac_fn_c_try_compile "$LINENO"
   7197 then :
   7198   xorg_cv_cc_flag_unknown_warning_option=yes
   7199 else case e in #(
   7200   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7201 esac
   7202 fi
   7203 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7204 esac
   7205 fi
   7206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7207 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7208 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7209 	CFLAGS="$xorg_testset_save_CFLAGS"
   7210 fi
   7211 
   7212 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7213 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7214 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7215 	fi
   7216 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7217 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7218 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7219 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7220 then :
   7221   printf %s "(cached) " >&6
   7222 else case e in #(
   7223   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7224 /* end confdefs.h.  */
   7225 int i;
   7226 _ACEOF
   7227 if ac_fn_c_try_compile "$LINENO"
   7228 then :
   7229   xorg_cv_cc_flag_unused_command_line_argument=yes
   7230 else case e in #(
   7231   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7232 esac
   7233 fi
   7234 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7235 esac
   7236 fi
   7237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7238 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7239 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7240 	CFLAGS="$xorg_testset_save_CFLAGS"
   7241 fi
   7242 
   7243 found="no"
   7244 
   7245 	if test $found = "no" ; then
   7246 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7247 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7248 		fi
   7249 
   7250 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7251 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7252 		fi
   7253 
   7254 		CFLAGS="$CFLAGS -Wlogical-op"
   7255 
   7256 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7257 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7258 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7259 		if eval test \${$cacheid+y}
   7260 then :
   7261   printf %s "(cached) " >&6
   7262 else case e in #(
   7263   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7264 /* end confdefs.h.  */
   7265 int i;
   7266 int
   7267 main (void)
   7268 {
   7269 
   7270   ;
   7271   return 0;
   7272 }
   7273 _ACEOF
   7274 if ac_fn_c_try_link "$LINENO"
   7275 then :
   7276   eval $cacheid=yes
   7277 else case e in #(
   7278   e) eval $cacheid=no ;;
   7279 esac
   7280 fi
   7281 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7282     conftest$ac_exeext conftest.$ac_ext ;;
   7283 esac
   7284 fi
   7285 
   7286 
   7287 		CFLAGS="$xorg_testset_save_CFLAGS"
   7288 
   7289 		eval supported=\$$cacheid
   7290 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7291 printf "%s\n" "$supported" >&6; }
   7292 		if test "$supported" = "yes" ; then
   7293 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7294 			found="yes"
   7295 		fi
   7296 	fi
   7297 
   7298 
   7299 
   7300 # These are currently disabled because they are noisy.  They will be enabled
   7301 # in the future once the codebase is sufficiently modernized to silence
   7302 # them.  For now, I don't want them to drown out the other warnings.
   7303 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7304 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7305 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7306 
   7307 # Turn some warnings into errors, so we don't accidentally get successful builds
   7308 # when there are problems that should be fixed.
   7309 
   7310 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7311 
   7312 
   7313 
   7314 
   7315 
   7316 
   7317 
   7318 
   7319 
   7320 
   7321 
   7322 
   7323 
   7324 xorg_testset_save_CFLAGS="$CFLAGS"
   7325 
   7326 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7327 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7328 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7329 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7330 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7331 then :
   7332   printf %s "(cached) " >&6
   7333 else case e in #(
   7334   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7335 /* end confdefs.h.  */
   7336 int i;
   7337 _ACEOF
   7338 if ac_fn_c_try_compile "$LINENO"
   7339 then :
   7340   xorg_cv_cc_flag_unknown_warning_option=yes
   7341 else case e in #(
   7342   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7343 esac
   7344 fi
   7345 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7346 esac
   7347 fi
   7348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7349 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7350 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7351 	CFLAGS="$xorg_testset_save_CFLAGS"
   7352 fi
   7353 
   7354 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7355 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7356 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7357 	fi
   7358 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7359 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7360 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7361 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7362 then :
   7363   printf %s "(cached) " >&6
   7364 else case e in #(
   7365   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7366 /* end confdefs.h.  */
   7367 int i;
   7368 _ACEOF
   7369 if ac_fn_c_try_compile "$LINENO"
   7370 then :
   7371   xorg_cv_cc_flag_unused_command_line_argument=yes
   7372 else case e in #(
   7373   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7374 esac
   7375 fi
   7376 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7377 esac
   7378 fi
   7379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7380 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7381 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7382 	CFLAGS="$xorg_testset_save_CFLAGS"
   7383 fi
   7384 
   7385 found="no"
   7386 
   7387 	if test $found = "no" ; then
   7388 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7389 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7390 		fi
   7391 
   7392 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7393 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7394 		fi
   7395 
   7396 		CFLAGS="$CFLAGS -Werror=implicit"
   7397 
   7398 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7399 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7400 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7401 		if eval test \${$cacheid+y}
   7402 then :
   7403   printf %s "(cached) " >&6
   7404 else case e in #(
   7405   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7406 /* end confdefs.h.  */
   7407 int i;
   7408 int
   7409 main (void)
   7410 {
   7411 
   7412   ;
   7413   return 0;
   7414 }
   7415 _ACEOF
   7416 if ac_fn_c_try_link "$LINENO"
   7417 then :
   7418   eval $cacheid=yes
   7419 else case e in #(
   7420   e) eval $cacheid=no ;;
   7421 esac
   7422 fi
   7423 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7424     conftest$ac_exeext conftest.$ac_ext ;;
   7425 esac
   7426 fi
   7427 
   7428 
   7429 		CFLAGS="$xorg_testset_save_CFLAGS"
   7430 
   7431 		eval supported=\$$cacheid
   7432 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7433 printf "%s\n" "$supported" >&6; }
   7434 		if test "$supported" = "yes" ; then
   7435 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7436 			found="yes"
   7437 		fi
   7438 	fi
   7439 
   7440 	if test $found = "no" ; then
   7441 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7442 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7443 		fi
   7444 
   7445 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7446 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7447 		fi
   7448 
   7449 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7450 
   7451 		{ 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
   7452 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7453 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7454 		if eval test \${$cacheid+y}
   7455 then :
   7456   printf %s "(cached) " >&6
   7457 else case e in #(
   7458   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7459 /* end confdefs.h.  */
   7460 int i;
   7461 int
   7462 main (void)
   7463 {
   7464 
   7465   ;
   7466   return 0;
   7467 }
   7468 _ACEOF
   7469 if ac_fn_c_try_link "$LINENO"
   7470 then :
   7471   eval $cacheid=yes
   7472 else case e in #(
   7473   e) eval $cacheid=no ;;
   7474 esac
   7475 fi
   7476 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7477     conftest$ac_exeext conftest.$ac_ext ;;
   7478 esac
   7479 fi
   7480 
   7481 
   7482 		CFLAGS="$xorg_testset_save_CFLAGS"
   7483 
   7484 		eval supported=\$$cacheid
   7485 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7486 printf "%s\n" "$supported" >&6; }
   7487 		if test "$supported" = "yes" ; then
   7488 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7489 			found="yes"
   7490 		fi
   7491 	fi
   7492 
   7493 
   7494 
   7495 
   7496 
   7497 
   7498 
   7499 
   7500 
   7501 
   7502 
   7503 
   7504 
   7505 
   7506 
   7507 xorg_testset_save_CFLAGS="$CFLAGS"
   7508 
   7509 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7510 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7511 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7512 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7513 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7514 then :
   7515   printf %s "(cached) " >&6
   7516 else case e in #(
   7517   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7518 /* end confdefs.h.  */
   7519 int i;
   7520 _ACEOF
   7521 if ac_fn_c_try_compile "$LINENO"
   7522 then :
   7523   xorg_cv_cc_flag_unknown_warning_option=yes
   7524 else case e in #(
   7525   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7526 esac
   7527 fi
   7528 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7529 esac
   7530 fi
   7531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7532 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7533 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7534 	CFLAGS="$xorg_testset_save_CFLAGS"
   7535 fi
   7536 
   7537 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7538 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7539 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7540 	fi
   7541 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7542 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7543 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7544 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7545 then :
   7546   printf %s "(cached) " >&6
   7547 else case e in #(
   7548   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7549 /* end confdefs.h.  */
   7550 int i;
   7551 _ACEOF
   7552 if ac_fn_c_try_compile "$LINENO"
   7553 then :
   7554   xorg_cv_cc_flag_unused_command_line_argument=yes
   7555 else case e in #(
   7556   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7557 esac
   7558 fi
   7559 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7560 esac
   7561 fi
   7562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7563 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7564 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7565 	CFLAGS="$xorg_testset_save_CFLAGS"
   7566 fi
   7567 
   7568 found="no"
   7569 
   7570 	if test $found = "no" ; then
   7571 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7572 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7573 		fi
   7574 
   7575 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7576 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7577 		fi
   7578 
   7579 		CFLAGS="$CFLAGS -Werror=nonnull"
   7580 
   7581 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7582 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7583 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7584 		if eval test \${$cacheid+y}
   7585 then :
   7586   printf %s "(cached) " >&6
   7587 else case e in #(
   7588   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7589 /* end confdefs.h.  */
   7590 int i;
   7591 int
   7592 main (void)
   7593 {
   7594 
   7595   ;
   7596   return 0;
   7597 }
   7598 _ACEOF
   7599 if ac_fn_c_try_link "$LINENO"
   7600 then :
   7601   eval $cacheid=yes
   7602 else case e in #(
   7603   e) eval $cacheid=no ;;
   7604 esac
   7605 fi
   7606 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7607     conftest$ac_exeext conftest.$ac_ext ;;
   7608 esac
   7609 fi
   7610 
   7611 
   7612 		CFLAGS="$xorg_testset_save_CFLAGS"
   7613 
   7614 		eval supported=\$$cacheid
   7615 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7616 printf "%s\n" "$supported" >&6; }
   7617 		if test "$supported" = "yes" ; then
   7618 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7619 			found="yes"
   7620 		fi
   7621 	fi
   7622 
   7623 
   7624 
   7625 
   7626 
   7627 
   7628 
   7629 
   7630 
   7631 
   7632 
   7633 
   7634 
   7635 
   7636 
   7637 xorg_testset_save_CFLAGS="$CFLAGS"
   7638 
   7639 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7640 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7641 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7642 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7643 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7644 then :
   7645   printf %s "(cached) " >&6
   7646 else case e in #(
   7647   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7648 /* end confdefs.h.  */
   7649 int i;
   7650 _ACEOF
   7651 if ac_fn_c_try_compile "$LINENO"
   7652 then :
   7653   xorg_cv_cc_flag_unknown_warning_option=yes
   7654 else case e in #(
   7655   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7656 esac
   7657 fi
   7658 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7659 esac
   7660 fi
   7661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7662 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7663 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7664 	CFLAGS="$xorg_testset_save_CFLAGS"
   7665 fi
   7666 
   7667 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7668 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7669 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7670 	fi
   7671 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7672 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7673 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7674 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7675 then :
   7676   printf %s "(cached) " >&6
   7677 else case e in #(
   7678   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7679 /* end confdefs.h.  */
   7680 int i;
   7681 _ACEOF
   7682 if ac_fn_c_try_compile "$LINENO"
   7683 then :
   7684   xorg_cv_cc_flag_unused_command_line_argument=yes
   7685 else case e in #(
   7686   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7687 esac
   7688 fi
   7689 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7690 esac
   7691 fi
   7692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7693 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7694 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7695 	CFLAGS="$xorg_testset_save_CFLAGS"
   7696 fi
   7697 
   7698 found="no"
   7699 
   7700 	if test $found = "no" ; then
   7701 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7702 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7703 		fi
   7704 
   7705 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7706 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7707 		fi
   7708 
   7709 		CFLAGS="$CFLAGS -Werror=init-self"
   7710 
   7711 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7712 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7713 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7714 		if eval test \${$cacheid+y}
   7715 then :
   7716   printf %s "(cached) " >&6
   7717 else case e in #(
   7718   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7719 /* end confdefs.h.  */
   7720 int i;
   7721 int
   7722 main (void)
   7723 {
   7724 
   7725   ;
   7726   return 0;
   7727 }
   7728 _ACEOF
   7729 if ac_fn_c_try_link "$LINENO"
   7730 then :
   7731   eval $cacheid=yes
   7732 else case e in #(
   7733   e) eval $cacheid=no ;;
   7734 esac
   7735 fi
   7736 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7737     conftest$ac_exeext conftest.$ac_ext ;;
   7738 esac
   7739 fi
   7740 
   7741 
   7742 		CFLAGS="$xorg_testset_save_CFLAGS"
   7743 
   7744 		eval supported=\$$cacheid
   7745 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7746 printf "%s\n" "$supported" >&6; }
   7747 		if test "$supported" = "yes" ; then
   7748 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7749 			found="yes"
   7750 		fi
   7751 	fi
   7752 
   7753 
   7754 
   7755 
   7756 
   7757 
   7758 
   7759 
   7760 
   7761 
   7762 
   7763 
   7764 
   7765 
   7766 
   7767 xorg_testset_save_CFLAGS="$CFLAGS"
   7768 
   7769 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7770 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7771 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7772 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7773 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7774 then :
   7775   printf %s "(cached) " >&6
   7776 else case e in #(
   7777   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7778 /* end confdefs.h.  */
   7779 int i;
   7780 _ACEOF
   7781 if ac_fn_c_try_compile "$LINENO"
   7782 then :
   7783   xorg_cv_cc_flag_unknown_warning_option=yes
   7784 else case e in #(
   7785   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7786 esac
   7787 fi
   7788 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7789 esac
   7790 fi
   7791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7792 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7793 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7794 	CFLAGS="$xorg_testset_save_CFLAGS"
   7795 fi
   7796 
   7797 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7798 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7799 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7800 	fi
   7801 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7802 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7803 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7804 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7805 then :
   7806   printf %s "(cached) " >&6
   7807 else case e in #(
   7808   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7809 /* end confdefs.h.  */
   7810 int i;
   7811 _ACEOF
   7812 if ac_fn_c_try_compile "$LINENO"
   7813 then :
   7814   xorg_cv_cc_flag_unused_command_line_argument=yes
   7815 else case e in #(
   7816   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7817 esac
   7818 fi
   7819 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7820 esac
   7821 fi
   7822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7823 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7824 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7825 	CFLAGS="$xorg_testset_save_CFLAGS"
   7826 fi
   7827 
   7828 found="no"
   7829 
   7830 	if test $found = "no" ; then
   7831 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7832 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7833 		fi
   7834 
   7835 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7836 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7837 		fi
   7838 
   7839 		CFLAGS="$CFLAGS -Werror=main"
   7840 
   7841 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7842 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7843 		cacheid=xorg_cv_cc_flag__Werror_main
   7844 		if eval test \${$cacheid+y}
   7845 then :
   7846   printf %s "(cached) " >&6
   7847 else case e in #(
   7848   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7849 /* end confdefs.h.  */
   7850 int i;
   7851 int
   7852 main (void)
   7853 {
   7854 
   7855   ;
   7856   return 0;
   7857 }
   7858 _ACEOF
   7859 if ac_fn_c_try_link "$LINENO"
   7860 then :
   7861   eval $cacheid=yes
   7862 else case e in #(
   7863   e) eval $cacheid=no ;;
   7864 esac
   7865 fi
   7866 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7867     conftest$ac_exeext conftest.$ac_ext ;;
   7868 esac
   7869 fi
   7870 
   7871 
   7872 		CFLAGS="$xorg_testset_save_CFLAGS"
   7873 
   7874 		eval supported=\$$cacheid
   7875 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7876 printf "%s\n" "$supported" >&6; }
   7877 		if test "$supported" = "yes" ; then
   7878 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7879 			found="yes"
   7880 		fi
   7881 	fi
   7882 
   7883 
   7884 
   7885 
   7886 
   7887 
   7888 
   7889 
   7890 
   7891 
   7892 
   7893 
   7894 
   7895 
   7896 
   7897 xorg_testset_save_CFLAGS="$CFLAGS"
   7898 
   7899 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7900 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7901 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7902 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7903 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7904 then :
   7905   printf %s "(cached) " >&6
   7906 else case e in #(
   7907   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7908 /* end confdefs.h.  */
   7909 int i;
   7910 _ACEOF
   7911 if ac_fn_c_try_compile "$LINENO"
   7912 then :
   7913   xorg_cv_cc_flag_unknown_warning_option=yes
   7914 else case e in #(
   7915   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7916 esac
   7917 fi
   7918 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7919 esac
   7920 fi
   7921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7922 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7923 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7924 	CFLAGS="$xorg_testset_save_CFLAGS"
   7925 fi
   7926 
   7927 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7928 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7929 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7930 	fi
   7931 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7932 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7933 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7934 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7935 then :
   7936   printf %s "(cached) " >&6
   7937 else case e in #(
   7938   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7939 /* end confdefs.h.  */
   7940 int i;
   7941 _ACEOF
   7942 if ac_fn_c_try_compile "$LINENO"
   7943 then :
   7944   xorg_cv_cc_flag_unused_command_line_argument=yes
   7945 else case e in #(
   7946   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7947 esac
   7948 fi
   7949 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7950 esac
   7951 fi
   7952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7953 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7954 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7955 	CFLAGS="$xorg_testset_save_CFLAGS"
   7956 fi
   7957 
   7958 found="no"
   7959 
   7960 	if test $found = "no" ; then
   7961 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7962 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7963 		fi
   7964 
   7965 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7966 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7967 		fi
   7968 
   7969 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7970 
   7971 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7972 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   7973 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7974 		if eval test \${$cacheid+y}
   7975 then :
   7976   printf %s "(cached) " >&6
   7977 else case e in #(
   7978   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7979 /* end confdefs.h.  */
   7980 int i;
   7981 int
   7982 main (void)
   7983 {
   7984 
   7985   ;
   7986   return 0;
   7987 }
   7988 _ACEOF
   7989 if ac_fn_c_try_link "$LINENO"
   7990 then :
   7991   eval $cacheid=yes
   7992 else case e in #(
   7993   e) eval $cacheid=no ;;
   7994 esac
   7995 fi
   7996 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7997     conftest$ac_exeext conftest.$ac_ext ;;
   7998 esac
   7999 fi
   8000 
   8001 
   8002 		CFLAGS="$xorg_testset_save_CFLAGS"
   8003 
   8004 		eval supported=\$$cacheid
   8005 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8006 printf "%s\n" "$supported" >&6; }
   8007 		if test "$supported" = "yes" ; then
   8008 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   8009 			found="yes"
   8010 		fi
   8011 	fi
   8012 
   8013 
   8014 
   8015 
   8016 
   8017 
   8018 
   8019 
   8020 
   8021 
   8022 
   8023 
   8024 
   8025 
   8026 
   8027 xorg_testset_save_CFLAGS="$CFLAGS"
   8028 
   8029 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8030 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8031 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8032 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8033 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8034 then :
   8035   printf %s "(cached) " >&6
   8036 else case e in #(
   8037   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8038 /* end confdefs.h.  */
   8039 int i;
   8040 _ACEOF
   8041 if ac_fn_c_try_compile "$LINENO"
   8042 then :
   8043   xorg_cv_cc_flag_unknown_warning_option=yes
   8044 else case e in #(
   8045   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8046 esac
   8047 fi
   8048 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8049 esac
   8050 fi
   8051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8052 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8053 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8054 	CFLAGS="$xorg_testset_save_CFLAGS"
   8055 fi
   8056 
   8057 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8058 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8059 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8060 	fi
   8061 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8062 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8063 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8064 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8065 then :
   8066   printf %s "(cached) " >&6
   8067 else case e in #(
   8068   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8069 /* end confdefs.h.  */
   8070 int i;
   8071 _ACEOF
   8072 if ac_fn_c_try_compile "$LINENO"
   8073 then :
   8074   xorg_cv_cc_flag_unused_command_line_argument=yes
   8075 else case e in #(
   8076   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8077 esac
   8078 fi
   8079 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8080 esac
   8081 fi
   8082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8083 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8084 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8085 	CFLAGS="$xorg_testset_save_CFLAGS"
   8086 fi
   8087 
   8088 found="no"
   8089 
   8090 	if test $found = "no" ; then
   8091 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8092 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8093 		fi
   8094 
   8095 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8096 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8097 		fi
   8098 
   8099 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8100 
   8101 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8102 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   8103 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8104 		if eval test \${$cacheid+y}
   8105 then :
   8106   printf %s "(cached) " >&6
   8107 else case e in #(
   8108   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8109 /* end confdefs.h.  */
   8110 int i;
   8111 int
   8112 main (void)
   8113 {
   8114 
   8115   ;
   8116   return 0;
   8117 }
   8118 _ACEOF
   8119 if ac_fn_c_try_link "$LINENO"
   8120 then :
   8121   eval $cacheid=yes
   8122 else case e in #(
   8123   e) eval $cacheid=no ;;
   8124 esac
   8125 fi
   8126 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8127     conftest$ac_exeext conftest.$ac_ext ;;
   8128 esac
   8129 fi
   8130 
   8131 
   8132 		CFLAGS="$xorg_testset_save_CFLAGS"
   8133 
   8134 		eval supported=\$$cacheid
   8135 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8136 printf "%s\n" "$supported" >&6; }
   8137 		if test "$supported" = "yes" ; then
   8138 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8139 			found="yes"
   8140 		fi
   8141 	fi
   8142 
   8143 
   8144 
   8145 
   8146 
   8147 
   8148 
   8149 
   8150 
   8151 
   8152 
   8153 
   8154 
   8155 
   8156 
   8157 xorg_testset_save_CFLAGS="$CFLAGS"
   8158 
   8159 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8160 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8161 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8162 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8163 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8164 then :
   8165   printf %s "(cached) " >&6
   8166 else case e in #(
   8167   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8168 /* end confdefs.h.  */
   8169 int i;
   8170 _ACEOF
   8171 if ac_fn_c_try_compile "$LINENO"
   8172 then :
   8173   xorg_cv_cc_flag_unknown_warning_option=yes
   8174 else case e in #(
   8175   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8176 esac
   8177 fi
   8178 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8179 esac
   8180 fi
   8181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8182 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8183 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8184 	CFLAGS="$xorg_testset_save_CFLAGS"
   8185 fi
   8186 
   8187 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8188 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8189 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8190 	fi
   8191 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8192 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8193 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8194 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8195 then :
   8196   printf %s "(cached) " >&6
   8197 else case e in #(
   8198   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8199 /* end confdefs.h.  */
   8200 int i;
   8201 _ACEOF
   8202 if ac_fn_c_try_compile "$LINENO"
   8203 then :
   8204   xorg_cv_cc_flag_unused_command_line_argument=yes
   8205 else case e in #(
   8206   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8207 esac
   8208 fi
   8209 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8210 esac
   8211 fi
   8212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8213 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8214 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8215 	CFLAGS="$xorg_testset_save_CFLAGS"
   8216 fi
   8217 
   8218 found="no"
   8219 
   8220 	if test $found = "no" ; then
   8221 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8222 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8223 		fi
   8224 
   8225 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8226 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8227 		fi
   8228 
   8229 		CFLAGS="$CFLAGS -Werror=return-type"
   8230 
   8231 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8232 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8233 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8234 		if eval test \${$cacheid+y}
   8235 then :
   8236   printf %s "(cached) " >&6
   8237 else case e in #(
   8238   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8239 /* end confdefs.h.  */
   8240 int i;
   8241 int
   8242 main (void)
   8243 {
   8244 
   8245   ;
   8246   return 0;
   8247 }
   8248 _ACEOF
   8249 if ac_fn_c_try_link "$LINENO"
   8250 then :
   8251   eval $cacheid=yes
   8252 else case e in #(
   8253   e) eval $cacheid=no ;;
   8254 esac
   8255 fi
   8256 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8257     conftest$ac_exeext conftest.$ac_ext ;;
   8258 esac
   8259 fi
   8260 
   8261 
   8262 		CFLAGS="$xorg_testset_save_CFLAGS"
   8263 
   8264 		eval supported=\$$cacheid
   8265 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8266 printf "%s\n" "$supported" >&6; }
   8267 		if test "$supported" = "yes" ; then
   8268 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8269 			found="yes"
   8270 		fi
   8271 	fi
   8272 
   8273 	if test $found = "no" ; then
   8274 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8275 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8276 		fi
   8277 
   8278 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8279 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8280 		fi
   8281 
   8282 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8283 
   8284 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8285 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8286 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8287 		if eval test \${$cacheid+y}
   8288 then :
   8289   printf %s "(cached) " >&6
   8290 else case e in #(
   8291   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8292 /* end confdefs.h.  */
   8293 int i;
   8294 int
   8295 main (void)
   8296 {
   8297 
   8298   ;
   8299   return 0;
   8300 }
   8301 _ACEOF
   8302 if ac_fn_c_try_link "$LINENO"
   8303 then :
   8304   eval $cacheid=yes
   8305 else case e in #(
   8306   e) eval $cacheid=no ;;
   8307 esac
   8308 fi
   8309 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8310     conftest$ac_exeext conftest.$ac_ext ;;
   8311 esac
   8312 fi
   8313 
   8314 
   8315 		CFLAGS="$xorg_testset_save_CFLAGS"
   8316 
   8317 		eval supported=\$$cacheid
   8318 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8319 printf "%s\n" "$supported" >&6; }
   8320 		if test "$supported" = "yes" ; then
   8321 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8322 			found="yes"
   8323 		fi
   8324 	fi
   8325 
   8326 
   8327 
   8328 
   8329 
   8330 
   8331 
   8332 
   8333 
   8334 
   8335 
   8336 
   8337 
   8338 
   8339 
   8340 xorg_testset_save_CFLAGS="$CFLAGS"
   8341 
   8342 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8343 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8344 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8345 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8346 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8347 then :
   8348   printf %s "(cached) " >&6
   8349 else case e in #(
   8350   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8351 /* end confdefs.h.  */
   8352 int i;
   8353 _ACEOF
   8354 if ac_fn_c_try_compile "$LINENO"
   8355 then :
   8356   xorg_cv_cc_flag_unknown_warning_option=yes
   8357 else case e in #(
   8358   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8359 esac
   8360 fi
   8361 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8362 esac
   8363 fi
   8364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8365 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8366 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8367 	CFLAGS="$xorg_testset_save_CFLAGS"
   8368 fi
   8369 
   8370 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8371 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8372 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8373 	fi
   8374 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8375 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8376 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8377 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8378 then :
   8379   printf %s "(cached) " >&6
   8380 else case e in #(
   8381   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8382 /* end confdefs.h.  */
   8383 int i;
   8384 _ACEOF
   8385 if ac_fn_c_try_compile "$LINENO"
   8386 then :
   8387   xorg_cv_cc_flag_unused_command_line_argument=yes
   8388 else case e in #(
   8389   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8390 esac
   8391 fi
   8392 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8393 esac
   8394 fi
   8395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8396 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8397 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8398 	CFLAGS="$xorg_testset_save_CFLAGS"
   8399 fi
   8400 
   8401 found="no"
   8402 
   8403 	if test $found = "no" ; then
   8404 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8405 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8406 		fi
   8407 
   8408 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8409 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8410 		fi
   8411 
   8412 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8413 
   8414 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8415 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8416 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8417 		if eval test \${$cacheid+y}
   8418 then :
   8419   printf %s "(cached) " >&6
   8420 else case e in #(
   8421   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8422 /* end confdefs.h.  */
   8423 int i;
   8424 int
   8425 main (void)
   8426 {
   8427 
   8428   ;
   8429   return 0;
   8430 }
   8431 _ACEOF
   8432 if ac_fn_c_try_link "$LINENO"
   8433 then :
   8434   eval $cacheid=yes
   8435 else case e in #(
   8436   e) eval $cacheid=no ;;
   8437 esac
   8438 fi
   8439 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8440     conftest$ac_exeext conftest.$ac_ext ;;
   8441 esac
   8442 fi
   8443 
   8444 
   8445 		CFLAGS="$xorg_testset_save_CFLAGS"
   8446 
   8447 		eval supported=\$$cacheid
   8448 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8449 printf "%s\n" "$supported" >&6; }
   8450 		if test "$supported" = "yes" ; then
   8451 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8452 			found="yes"
   8453 		fi
   8454 	fi
   8455 
   8456 
   8457 
   8458 
   8459 
   8460 
   8461 
   8462 
   8463 
   8464 
   8465 
   8466 
   8467 
   8468 
   8469 
   8470 xorg_testset_save_CFLAGS="$CFLAGS"
   8471 
   8472 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8473 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8474 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8475 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8476 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8477 then :
   8478   printf %s "(cached) " >&6
   8479 else case e in #(
   8480   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8481 /* end confdefs.h.  */
   8482 int i;
   8483 _ACEOF
   8484 if ac_fn_c_try_compile "$LINENO"
   8485 then :
   8486   xorg_cv_cc_flag_unknown_warning_option=yes
   8487 else case e in #(
   8488   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8489 esac
   8490 fi
   8491 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8492 esac
   8493 fi
   8494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8495 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8496 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8497 	CFLAGS="$xorg_testset_save_CFLAGS"
   8498 fi
   8499 
   8500 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8501 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8502 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8503 	fi
   8504 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8505 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8506 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8507 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8508 then :
   8509   printf %s "(cached) " >&6
   8510 else case e in #(
   8511   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8512 /* end confdefs.h.  */
   8513 int i;
   8514 _ACEOF
   8515 if ac_fn_c_try_compile "$LINENO"
   8516 then :
   8517   xorg_cv_cc_flag_unused_command_line_argument=yes
   8518 else case e in #(
   8519   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8520 esac
   8521 fi
   8522 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8523 esac
   8524 fi
   8525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8526 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8527 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8528 	CFLAGS="$xorg_testset_save_CFLAGS"
   8529 fi
   8530 
   8531 found="no"
   8532 
   8533 	if test $found = "no" ; then
   8534 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8535 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8536 		fi
   8537 
   8538 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8539 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8540 		fi
   8541 
   8542 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8543 
   8544 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8545 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8546 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8547 		if eval test \${$cacheid+y}
   8548 then :
   8549   printf %s "(cached) " >&6
   8550 else case e in #(
   8551   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8552 /* end confdefs.h.  */
   8553 int i;
   8554 int
   8555 main (void)
   8556 {
   8557 
   8558   ;
   8559   return 0;
   8560 }
   8561 _ACEOF
   8562 if ac_fn_c_try_link "$LINENO"
   8563 then :
   8564   eval $cacheid=yes
   8565 else case e in #(
   8566   e) eval $cacheid=no ;;
   8567 esac
   8568 fi
   8569 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8570     conftest$ac_exeext conftest.$ac_ext ;;
   8571 esac
   8572 fi
   8573 
   8574 
   8575 		CFLAGS="$xorg_testset_save_CFLAGS"
   8576 
   8577 		eval supported=\$$cacheid
   8578 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8579 printf "%s\n" "$supported" >&6; }
   8580 		if test "$supported" = "yes" ; then
   8581 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8582 			found="yes"
   8583 		fi
   8584 	fi
   8585 
   8586 
   8587 
   8588 
   8589 
   8590 
   8591 
   8592 
   8593 
   8594 
   8595 
   8596 
   8597 
   8598 
   8599 
   8600 xorg_testset_save_CFLAGS="$CFLAGS"
   8601 
   8602 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8603 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8604 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8605 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8606 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8607 then :
   8608   printf %s "(cached) " >&6
   8609 else case e in #(
   8610   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8611 /* end confdefs.h.  */
   8612 int i;
   8613 _ACEOF
   8614 if ac_fn_c_try_compile "$LINENO"
   8615 then :
   8616   xorg_cv_cc_flag_unknown_warning_option=yes
   8617 else case e in #(
   8618   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8619 esac
   8620 fi
   8621 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8622 esac
   8623 fi
   8624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8625 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8626 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8627 	CFLAGS="$xorg_testset_save_CFLAGS"
   8628 fi
   8629 
   8630 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8631 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8632 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8633 	fi
   8634 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8635 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8636 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8637 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8638 then :
   8639   printf %s "(cached) " >&6
   8640 else case e in #(
   8641   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8642 /* end confdefs.h.  */
   8643 int i;
   8644 _ACEOF
   8645 if ac_fn_c_try_compile "$LINENO"
   8646 then :
   8647   xorg_cv_cc_flag_unused_command_line_argument=yes
   8648 else case e in #(
   8649   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8650 esac
   8651 fi
   8652 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8653 esac
   8654 fi
   8655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8656 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8657 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8658 	CFLAGS="$xorg_testset_save_CFLAGS"
   8659 fi
   8660 
   8661 found="no"
   8662 
   8663 	if test $found = "no" ; then
   8664 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8665 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8666 		fi
   8667 
   8668 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8669 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8670 		fi
   8671 
   8672 		CFLAGS="$CFLAGS -Werror=write-strings"
   8673 
   8674 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8675 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8676 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8677 		if eval test \${$cacheid+y}
   8678 then :
   8679   printf %s "(cached) " >&6
   8680 else case e in #(
   8681   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8682 /* end confdefs.h.  */
   8683 int i;
   8684 int
   8685 main (void)
   8686 {
   8687 
   8688   ;
   8689   return 0;
   8690 }
   8691 _ACEOF
   8692 if ac_fn_c_try_link "$LINENO"
   8693 then :
   8694   eval $cacheid=yes
   8695 else case e in #(
   8696   e) eval $cacheid=no ;;
   8697 esac
   8698 fi
   8699 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8700     conftest$ac_exeext conftest.$ac_ext ;;
   8701 esac
   8702 fi
   8703 
   8704 
   8705 		CFLAGS="$xorg_testset_save_CFLAGS"
   8706 
   8707 		eval supported=\$$cacheid
   8708 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8709 printf "%s\n" "$supported" >&6; }
   8710 		if test "$supported" = "yes" ; then
   8711 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8712 			found="yes"
   8713 		fi
   8714 	fi
   8715 
   8716 
   8717 
   8718 
   8719 
   8720 
   8721 
   8722 
   8723 
   8724 
   8725 
   8726 
   8727 
   8728 
   8729 
   8730 xorg_testset_save_CFLAGS="$CFLAGS"
   8731 
   8732 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8733 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8734 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8735 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8736 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8737 then :
   8738   printf %s "(cached) " >&6
   8739 else case e in #(
   8740   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8741 /* end confdefs.h.  */
   8742 int i;
   8743 _ACEOF
   8744 if ac_fn_c_try_compile "$LINENO"
   8745 then :
   8746   xorg_cv_cc_flag_unknown_warning_option=yes
   8747 else case e in #(
   8748   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8749 esac
   8750 fi
   8751 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8752 esac
   8753 fi
   8754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8755 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8756 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8757 	CFLAGS="$xorg_testset_save_CFLAGS"
   8758 fi
   8759 
   8760 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8761 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8762 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8763 	fi
   8764 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8765 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8766 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8767 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8768 then :
   8769   printf %s "(cached) " >&6
   8770 else case e in #(
   8771   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8772 /* end confdefs.h.  */
   8773 int i;
   8774 _ACEOF
   8775 if ac_fn_c_try_compile "$LINENO"
   8776 then :
   8777   xorg_cv_cc_flag_unused_command_line_argument=yes
   8778 else case e in #(
   8779   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8780 esac
   8781 fi
   8782 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8783 esac
   8784 fi
   8785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8786 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8787 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8788 	CFLAGS="$xorg_testset_save_CFLAGS"
   8789 fi
   8790 
   8791 found="no"
   8792 
   8793 	if test $found = "no" ; then
   8794 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8795 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8796 		fi
   8797 
   8798 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8799 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8800 		fi
   8801 
   8802 		CFLAGS="$CFLAGS -Werror=address"
   8803 
   8804 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8805 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8806 		cacheid=xorg_cv_cc_flag__Werror_address
   8807 		if eval test \${$cacheid+y}
   8808 then :
   8809   printf %s "(cached) " >&6
   8810 else case e in #(
   8811   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8812 /* end confdefs.h.  */
   8813 int i;
   8814 int
   8815 main (void)
   8816 {
   8817 
   8818   ;
   8819   return 0;
   8820 }
   8821 _ACEOF
   8822 if ac_fn_c_try_link "$LINENO"
   8823 then :
   8824   eval $cacheid=yes
   8825 else case e in #(
   8826   e) eval $cacheid=no ;;
   8827 esac
   8828 fi
   8829 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8830     conftest$ac_exeext conftest.$ac_ext ;;
   8831 esac
   8832 fi
   8833 
   8834 
   8835 		CFLAGS="$xorg_testset_save_CFLAGS"
   8836 
   8837 		eval supported=\$$cacheid
   8838 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8839 printf "%s\n" "$supported" >&6; }
   8840 		if test "$supported" = "yes" ; then
   8841 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8842 			found="yes"
   8843 		fi
   8844 	fi
   8845 
   8846 
   8847 
   8848 
   8849 
   8850 
   8851 
   8852 
   8853 
   8854 
   8855 
   8856 
   8857 
   8858 
   8859 
   8860 xorg_testset_save_CFLAGS="$CFLAGS"
   8861 
   8862 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8863 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8864 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8865 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8866 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8867 then :
   8868   printf %s "(cached) " >&6
   8869 else case e in #(
   8870   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8871 /* end confdefs.h.  */
   8872 int i;
   8873 _ACEOF
   8874 if ac_fn_c_try_compile "$LINENO"
   8875 then :
   8876   xorg_cv_cc_flag_unknown_warning_option=yes
   8877 else case e in #(
   8878   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8879 esac
   8880 fi
   8881 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8882 esac
   8883 fi
   8884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8885 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8886 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8887 	CFLAGS="$xorg_testset_save_CFLAGS"
   8888 fi
   8889 
   8890 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8891 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8892 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8893 	fi
   8894 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8895 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8896 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8897 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8898 then :
   8899   printf %s "(cached) " >&6
   8900 else case e in #(
   8901   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8902 /* end confdefs.h.  */
   8903 int i;
   8904 _ACEOF
   8905 if ac_fn_c_try_compile "$LINENO"
   8906 then :
   8907   xorg_cv_cc_flag_unused_command_line_argument=yes
   8908 else case e in #(
   8909   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8910 esac
   8911 fi
   8912 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8913 esac
   8914 fi
   8915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8916 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8917 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8918 	CFLAGS="$xorg_testset_save_CFLAGS"
   8919 fi
   8920 
   8921 found="no"
   8922 
   8923 	if test $found = "no" ; then
   8924 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8925 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8926 		fi
   8927 
   8928 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8929 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8930 		fi
   8931 
   8932 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8933 
   8934 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8935 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8936 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8937 		if eval test \${$cacheid+y}
   8938 then :
   8939   printf %s "(cached) " >&6
   8940 else case e in #(
   8941   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8942 /* end confdefs.h.  */
   8943 int i;
   8944 int
   8945 main (void)
   8946 {
   8947 
   8948   ;
   8949   return 0;
   8950 }
   8951 _ACEOF
   8952 if ac_fn_c_try_link "$LINENO"
   8953 then :
   8954   eval $cacheid=yes
   8955 else case e in #(
   8956   e) eval $cacheid=no ;;
   8957 esac
   8958 fi
   8959 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8960     conftest$ac_exeext conftest.$ac_ext ;;
   8961 esac
   8962 fi
   8963 
   8964 
   8965 		CFLAGS="$xorg_testset_save_CFLAGS"
   8966 
   8967 		eval supported=\$$cacheid
   8968 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8969 printf "%s\n" "$supported" >&6; }
   8970 		if test "$supported" = "yes" ; then
   8971 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8972 			found="yes"
   8973 		fi
   8974 	fi
   8975 
   8976 	if test $found = "no" ; then
   8977 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8978 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8979 		fi
   8980 
   8981 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8982 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8983 		fi
   8984 
   8985 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8986 
   8987 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8988 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8989 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8990 		if eval test \${$cacheid+y}
   8991 then :
   8992   printf %s "(cached) " >&6
   8993 else case e in #(
   8994   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8995 /* end confdefs.h.  */
   8996 int i;
   8997 int
   8998 main (void)
   8999 {
   9000 
   9001   ;
   9002   return 0;
   9003 }
   9004 _ACEOF
   9005 if ac_fn_c_try_link "$LINENO"
   9006 then :
   9007   eval $cacheid=yes
   9008 else case e in #(
   9009   e) eval $cacheid=no ;;
   9010 esac
   9011 fi
   9012 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9013     conftest$ac_exeext conftest.$ac_ext ;;
   9014 esac
   9015 fi
   9016 
   9017 
   9018 		CFLAGS="$xorg_testset_save_CFLAGS"
   9019 
   9020 		eval supported=\$$cacheid
   9021 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9022 printf "%s\n" "$supported" >&6; }
   9023 		if test "$supported" = "yes" ; then
   9024 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9025 			found="yes"
   9026 		fi
   9027 	fi
   9028 
   9029 
   9030 
   9031 
   9032 
   9033 
   9034 
   9035 
   9036 
   9037 
   9038 
   9039 
   9040 
   9041 
   9042 
   9043 xorg_testset_save_CFLAGS="$CFLAGS"
   9044 
   9045 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9046 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9047 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9048 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9049 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9050 then :
   9051   printf %s "(cached) " >&6
   9052 else case e in #(
   9053   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9054 /* end confdefs.h.  */
   9055 int i;
   9056 _ACEOF
   9057 if ac_fn_c_try_compile "$LINENO"
   9058 then :
   9059   xorg_cv_cc_flag_unknown_warning_option=yes
   9060 else case e in #(
   9061   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9062 esac
   9063 fi
   9064 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9065 esac
   9066 fi
   9067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9068 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9069 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9070 	CFLAGS="$xorg_testset_save_CFLAGS"
   9071 fi
   9072 
   9073 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9074 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9075 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9076 	fi
   9077 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9078 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9079 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9080 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9081 then :
   9082   printf %s "(cached) " >&6
   9083 else case e in #(
   9084   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9085 /* end confdefs.h.  */
   9086 int i;
   9087 _ACEOF
   9088 if ac_fn_c_try_compile "$LINENO"
   9089 then :
   9090   xorg_cv_cc_flag_unused_command_line_argument=yes
   9091 else case e in #(
   9092   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9093 esac
   9094 fi
   9095 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9096 esac
   9097 fi
   9098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9099 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9100 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9101 	CFLAGS="$xorg_testset_save_CFLAGS"
   9102 fi
   9103 
   9104 found="no"
   9105 
   9106 	if test $found = "no" ; then
   9107 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9108 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9109 		fi
   9110 
   9111 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9112 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9113 		fi
   9114 
   9115 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   9116 
   9117 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   9118 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   9119 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   9120 		if eval test \${$cacheid+y}
   9121 then :
   9122   printf %s "(cached) " >&6
   9123 else case e in #(
   9124   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9125 /* end confdefs.h.  */
   9126 int i;
   9127 int
   9128 main (void)
   9129 {
   9130 
   9131   ;
   9132   return 0;
   9133 }
   9134 _ACEOF
   9135 if ac_fn_c_try_link "$LINENO"
   9136 then :
   9137   eval $cacheid=yes
   9138 else case e in #(
   9139   e) eval $cacheid=no ;;
   9140 esac
   9141 fi
   9142 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9143     conftest$ac_exeext conftest.$ac_ext ;;
   9144 esac
   9145 fi
   9146 
   9147 
   9148 		CFLAGS="$xorg_testset_save_CFLAGS"
   9149 
   9150 		eval supported=\$$cacheid
   9151 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9152 printf "%s\n" "$supported" >&6; }
   9153 		if test "$supported" = "yes" ; then
   9154 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   9155 			found="yes"
   9156 		fi
   9157 	fi
   9158 
   9159  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   9160 else
   9161 { 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
   9162 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;}
   9163 
   9164 
   9165 
   9166 
   9167 
   9168 
   9169 
   9170 
   9171 
   9172 
   9173 
   9174 
   9175 
   9176 xorg_testset_save_CFLAGS="$CFLAGS"
   9177 
   9178 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9179 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9180 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9181 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9182 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9183 then :
   9184   printf %s "(cached) " >&6
   9185 else case e in #(
   9186   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9187 /* end confdefs.h.  */
   9188 int i;
   9189 _ACEOF
   9190 if ac_fn_c_try_compile "$LINENO"
   9191 then :
   9192   xorg_cv_cc_flag_unknown_warning_option=yes
   9193 else case e in #(
   9194   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9195 esac
   9196 fi
   9197 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9198 esac
   9199 fi
   9200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9201 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9202 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9203 	CFLAGS="$xorg_testset_save_CFLAGS"
   9204 fi
   9205 
   9206 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9207 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9208 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9209 	fi
   9210 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9211 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9212 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9213 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9214 then :
   9215   printf %s "(cached) " >&6
   9216 else case e in #(
   9217   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9218 /* end confdefs.h.  */
   9219 int i;
   9220 _ACEOF
   9221 if ac_fn_c_try_compile "$LINENO"
   9222 then :
   9223   xorg_cv_cc_flag_unused_command_line_argument=yes
   9224 else case e in #(
   9225   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9226 esac
   9227 fi
   9228 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9229 esac
   9230 fi
   9231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9232 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9233 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9234 	CFLAGS="$xorg_testset_save_CFLAGS"
   9235 fi
   9236 
   9237 found="no"
   9238 
   9239 	if test $found = "no" ; then
   9240 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9241 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9242 		fi
   9243 
   9244 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9245 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9246 		fi
   9247 
   9248 		CFLAGS="$CFLAGS -Wimplicit"
   9249 
   9250 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9251 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9252 		cacheid=xorg_cv_cc_flag__Wimplicit
   9253 		if eval test \${$cacheid+y}
   9254 then :
   9255   printf %s "(cached) " >&6
   9256 else case e in #(
   9257   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9258 /* end confdefs.h.  */
   9259 int i;
   9260 int
   9261 main (void)
   9262 {
   9263 
   9264   ;
   9265   return 0;
   9266 }
   9267 _ACEOF
   9268 if ac_fn_c_try_link "$LINENO"
   9269 then :
   9270   eval $cacheid=yes
   9271 else case e in #(
   9272   e) eval $cacheid=no ;;
   9273 esac
   9274 fi
   9275 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9276     conftest$ac_exeext conftest.$ac_ext ;;
   9277 esac
   9278 fi
   9279 
   9280 
   9281 		CFLAGS="$xorg_testset_save_CFLAGS"
   9282 
   9283 		eval supported=\$$cacheid
   9284 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9285 printf "%s\n" "$supported" >&6; }
   9286 		if test "$supported" = "yes" ; then
   9287 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9288 			found="yes"
   9289 		fi
   9290 	fi
   9291 
   9292 
   9293 
   9294 
   9295 
   9296 
   9297 
   9298 
   9299 
   9300 
   9301 
   9302 
   9303 
   9304 
   9305 
   9306 xorg_testset_save_CFLAGS="$CFLAGS"
   9307 
   9308 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9309 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9310 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9311 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9312 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9313 then :
   9314   printf %s "(cached) " >&6
   9315 else case e in #(
   9316   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9317 /* end confdefs.h.  */
   9318 int i;
   9319 _ACEOF
   9320 if ac_fn_c_try_compile "$LINENO"
   9321 then :
   9322   xorg_cv_cc_flag_unknown_warning_option=yes
   9323 else case e in #(
   9324   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9325 esac
   9326 fi
   9327 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9328 esac
   9329 fi
   9330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9331 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9332 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9333 	CFLAGS="$xorg_testset_save_CFLAGS"
   9334 fi
   9335 
   9336 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9337 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9338 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9339 	fi
   9340 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9341 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9342 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9343 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9344 then :
   9345   printf %s "(cached) " >&6
   9346 else case e in #(
   9347   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9348 /* end confdefs.h.  */
   9349 int i;
   9350 _ACEOF
   9351 if ac_fn_c_try_compile "$LINENO"
   9352 then :
   9353   xorg_cv_cc_flag_unused_command_line_argument=yes
   9354 else case e in #(
   9355   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9356 esac
   9357 fi
   9358 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9359 esac
   9360 fi
   9361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9362 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9363 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9364 	CFLAGS="$xorg_testset_save_CFLAGS"
   9365 fi
   9366 
   9367 found="no"
   9368 
   9369 	if test $found = "no" ; then
   9370 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9371 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9372 		fi
   9373 
   9374 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9375 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9376 		fi
   9377 
   9378 		CFLAGS="$CFLAGS -Wnonnull"
   9379 
   9380 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9381 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9382 		cacheid=xorg_cv_cc_flag__Wnonnull
   9383 		if eval test \${$cacheid+y}
   9384 then :
   9385   printf %s "(cached) " >&6
   9386 else case e in #(
   9387   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9388 /* end confdefs.h.  */
   9389 int i;
   9390 int
   9391 main (void)
   9392 {
   9393 
   9394   ;
   9395   return 0;
   9396 }
   9397 _ACEOF
   9398 if ac_fn_c_try_link "$LINENO"
   9399 then :
   9400   eval $cacheid=yes
   9401 else case e in #(
   9402   e) eval $cacheid=no ;;
   9403 esac
   9404 fi
   9405 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9406     conftest$ac_exeext conftest.$ac_ext ;;
   9407 esac
   9408 fi
   9409 
   9410 
   9411 		CFLAGS="$xorg_testset_save_CFLAGS"
   9412 
   9413 		eval supported=\$$cacheid
   9414 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9415 printf "%s\n" "$supported" >&6; }
   9416 		if test "$supported" = "yes" ; then
   9417 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9418 			found="yes"
   9419 		fi
   9420 	fi
   9421 
   9422 
   9423 
   9424 
   9425 
   9426 
   9427 
   9428 
   9429 
   9430 
   9431 
   9432 
   9433 
   9434 
   9435 
   9436 xorg_testset_save_CFLAGS="$CFLAGS"
   9437 
   9438 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9439 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9440 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9441 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9442 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9443 then :
   9444   printf %s "(cached) " >&6
   9445 else case e in #(
   9446   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9447 /* end confdefs.h.  */
   9448 int i;
   9449 _ACEOF
   9450 if ac_fn_c_try_compile "$LINENO"
   9451 then :
   9452   xorg_cv_cc_flag_unknown_warning_option=yes
   9453 else case e in #(
   9454   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9455 esac
   9456 fi
   9457 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9458 esac
   9459 fi
   9460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9461 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9462 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9463 	CFLAGS="$xorg_testset_save_CFLAGS"
   9464 fi
   9465 
   9466 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9467 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9468 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9469 	fi
   9470 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9471 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9472 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9473 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9474 then :
   9475   printf %s "(cached) " >&6
   9476 else case e in #(
   9477   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9478 /* end confdefs.h.  */
   9479 int i;
   9480 _ACEOF
   9481 if ac_fn_c_try_compile "$LINENO"
   9482 then :
   9483   xorg_cv_cc_flag_unused_command_line_argument=yes
   9484 else case e in #(
   9485   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9486 esac
   9487 fi
   9488 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9489 esac
   9490 fi
   9491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9492 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9493 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9494 	CFLAGS="$xorg_testset_save_CFLAGS"
   9495 fi
   9496 
   9497 found="no"
   9498 
   9499 	if test $found = "no" ; then
   9500 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9501 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9502 		fi
   9503 
   9504 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9505 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9506 		fi
   9507 
   9508 		CFLAGS="$CFLAGS -Winit-self"
   9509 
   9510 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9511 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9512 		cacheid=xorg_cv_cc_flag__Winit_self
   9513 		if eval test \${$cacheid+y}
   9514 then :
   9515   printf %s "(cached) " >&6
   9516 else case e in #(
   9517   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9518 /* end confdefs.h.  */
   9519 int i;
   9520 int
   9521 main (void)
   9522 {
   9523 
   9524   ;
   9525   return 0;
   9526 }
   9527 _ACEOF
   9528 if ac_fn_c_try_link "$LINENO"
   9529 then :
   9530   eval $cacheid=yes
   9531 else case e in #(
   9532   e) eval $cacheid=no ;;
   9533 esac
   9534 fi
   9535 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9536     conftest$ac_exeext conftest.$ac_ext ;;
   9537 esac
   9538 fi
   9539 
   9540 
   9541 		CFLAGS="$xorg_testset_save_CFLAGS"
   9542 
   9543 		eval supported=\$$cacheid
   9544 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9545 printf "%s\n" "$supported" >&6; }
   9546 		if test "$supported" = "yes" ; then
   9547 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9548 			found="yes"
   9549 		fi
   9550 	fi
   9551 
   9552 
   9553 
   9554 
   9555 
   9556 
   9557 
   9558 
   9559 
   9560 
   9561 
   9562 
   9563 
   9564 
   9565 
   9566 xorg_testset_save_CFLAGS="$CFLAGS"
   9567 
   9568 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9569 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9570 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9571 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9572 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9573 then :
   9574   printf %s "(cached) " >&6
   9575 else case e in #(
   9576   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9577 /* end confdefs.h.  */
   9578 int i;
   9579 _ACEOF
   9580 if ac_fn_c_try_compile "$LINENO"
   9581 then :
   9582   xorg_cv_cc_flag_unknown_warning_option=yes
   9583 else case e in #(
   9584   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9585 esac
   9586 fi
   9587 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9588 esac
   9589 fi
   9590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9591 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9592 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9593 	CFLAGS="$xorg_testset_save_CFLAGS"
   9594 fi
   9595 
   9596 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9597 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9598 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9599 	fi
   9600 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9601 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9602 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9603 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9604 then :
   9605   printf %s "(cached) " >&6
   9606 else case e in #(
   9607   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9608 /* end confdefs.h.  */
   9609 int i;
   9610 _ACEOF
   9611 if ac_fn_c_try_compile "$LINENO"
   9612 then :
   9613   xorg_cv_cc_flag_unused_command_line_argument=yes
   9614 else case e in #(
   9615   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9616 esac
   9617 fi
   9618 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9619 esac
   9620 fi
   9621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9622 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9623 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9624 	CFLAGS="$xorg_testset_save_CFLAGS"
   9625 fi
   9626 
   9627 found="no"
   9628 
   9629 	if test $found = "no" ; then
   9630 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9631 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9632 		fi
   9633 
   9634 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9635 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9636 		fi
   9637 
   9638 		CFLAGS="$CFLAGS -Wmain"
   9639 
   9640 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9641 printf %s "checking if $CC supports -Wmain... " >&6; }
   9642 		cacheid=xorg_cv_cc_flag__Wmain
   9643 		if eval test \${$cacheid+y}
   9644 then :
   9645   printf %s "(cached) " >&6
   9646 else case e in #(
   9647   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9648 /* end confdefs.h.  */
   9649 int i;
   9650 int
   9651 main (void)
   9652 {
   9653 
   9654   ;
   9655   return 0;
   9656 }
   9657 _ACEOF
   9658 if ac_fn_c_try_link "$LINENO"
   9659 then :
   9660   eval $cacheid=yes
   9661 else case e in #(
   9662   e) eval $cacheid=no ;;
   9663 esac
   9664 fi
   9665 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9666     conftest$ac_exeext conftest.$ac_ext ;;
   9667 esac
   9668 fi
   9669 
   9670 
   9671 		CFLAGS="$xorg_testset_save_CFLAGS"
   9672 
   9673 		eval supported=\$$cacheid
   9674 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9675 printf "%s\n" "$supported" >&6; }
   9676 		if test "$supported" = "yes" ; then
   9677 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9678 			found="yes"
   9679 		fi
   9680 	fi
   9681 
   9682 
   9683 
   9684 
   9685 
   9686 
   9687 
   9688 
   9689 
   9690 
   9691 
   9692 
   9693 
   9694 
   9695 
   9696 xorg_testset_save_CFLAGS="$CFLAGS"
   9697 
   9698 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9699 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9700 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9701 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9702 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9703 then :
   9704   printf %s "(cached) " >&6
   9705 else case e in #(
   9706   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9707 /* end confdefs.h.  */
   9708 int i;
   9709 _ACEOF
   9710 if ac_fn_c_try_compile "$LINENO"
   9711 then :
   9712   xorg_cv_cc_flag_unknown_warning_option=yes
   9713 else case e in #(
   9714   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9715 esac
   9716 fi
   9717 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9718 esac
   9719 fi
   9720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9721 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9722 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9723 	CFLAGS="$xorg_testset_save_CFLAGS"
   9724 fi
   9725 
   9726 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9727 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9728 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9729 	fi
   9730 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9731 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9732 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9733 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9734 then :
   9735   printf %s "(cached) " >&6
   9736 else case e in #(
   9737   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9738 /* end confdefs.h.  */
   9739 int i;
   9740 _ACEOF
   9741 if ac_fn_c_try_compile "$LINENO"
   9742 then :
   9743   xorg_cv_cc_flag_unused_command_line_argument=yes
   9744 else case e in #(
   9745   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9746 esac
   9747 fi
   9748 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9749 esac
   9750 fi
   9751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9752 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9753 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9754 	CFLAGS="$xorg_testset_save_CFLAGS"
   9755 fi
   9756 
   9757 found="no"
   9758 
   9759 	if test $found = "no" ; then
   9760 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9761 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9762 		fi
   9763 
   9764 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9765 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9766 		fi
   9767 
   9768 		CFLAGS="$CFLAGS -Wmissing-braces"
   9769 
   9770 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9771 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9772 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9773 		if eval test \${$cacheid+y}
   9774 then :
   9775   printf %s "(cached) " >&6
   9776 else case e in #(
   9777   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9778 /* end confdefs.h.  */
   9779 int i;
   9780 int
   9781 main (void)
   9782 {
   9783 
   9784   ;
   9785   return 0;
   9786 }
   9787 _ACEOF
   9788 if ac_fn_c_try_link "$LINENO"
   9789 then :
   9790   eval $cacheid=yes
   9791 else case e in #(
   9792   e) eval $cacheid=no ;;
   9793 esac
   9794 fi
   9795 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9796     conftest$ac_exeext conftest.$ac_ext ;;
   9797 esac
   9798 fi
   9799 
   9800 
   9801 		CFLAGS="$xorg_testset_save_CFLAGS"
   9802 
   9803 		eval supported=\$$cacheid
   9804 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9805 printf "%s\n" "$supported" >&6; }
   9806 		if test "$supported" = "yes" ; then
   9807 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9808 			found="yes"
   9809 		fi
   9810 	fi
   9811 
   9812 
   9813 
   9814 
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 
   9826 xorg_testset_save_CFLAGS="$CFLAGS"
   9827 
   9828 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9829 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9830 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9831 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9832 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9833 then :
   9834   printf %s "(cached) " >&6
   9835 else case e in #(
   9836   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9837 /* end confdefs.h.  */
   9838 int i;
   9839 _ACEOF
   9840 if ac_fn_c_try_compile "$LINENO"
   9841 then :
   9842   xorg_cv_cc_flag_unknown_warning_option=yes
   9843 else case e in #(
   9844   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9845 esac
   9846 fi
   9847 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9848 esac
   9849 fi
   9850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9851 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9852 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9853 	CFLAGS="$xorg_testset_save_CFLAGS"
   9854 fi
   9855 
   9856 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9857 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9858 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9859 	fi
   9860 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9861 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9862 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9863 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9864 then :
   9865   printf %s "(cached) " >&6
   9866 else case e in #(
   9867   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9868 /* end confdefs.h.  */
   9869 int i;
   9870 _ACEOF
   9871 if ac_fn_c_try_compile "$LINENO"
   9872 then :
   9873   xorg_cv_cc_flag_unused_command_line_argument=yes
   9874 else case e in #(
   9875   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9876 esac
   9877 fi
   9878 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9879 esac
   9880 fi
   9881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9882 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9883 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9884 	CFLAGS="$xorg_testset_save_CFLAGS"
   9885 fi
   9886 
   9887 found="no"
   9888 
   9889 	if test $found = "no" ; then
   9890 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9891 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9892 		fi
   9893 
   9894 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9895 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9896 		fi
   9897 
   9898 		CFLAGS="$CFLAGS -Wsequence-point"
   9899 
   9900 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9901 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9902 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9903 		if eval test \${$cacheid+y}
   9904 then :
   9905   printf %s "(cached) " >&6
   9906 else case e in #(
   9907   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9908 /* end confdefs.h.  */
   9909 int i;
   9910 int
   9911 main (void)
   9912 {
   9913 
   9914   ;
   9915   return 0;
   9916 }
   9917 _ACEOF
   9918 if ac_fn_c_try_link "$LINENO"
   9919 then :
   9920   eval $cacheid=yes
   9921 else case e in #(
   9922   e) eval $cacheid=no ;;
   9923 esac
   9924 fi
   9925 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9926     conftest$ac_exeext conftest.$ac_ext ;;
   9927 esac
   9928 fi
   9929 
   9930 
   9931 		CFLAGS="$xorg_testset_save_CFLAGS"
   9932 
   9933 		eval supported=\$$cacheid
   9934 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9935 printf "%s\n" "$supported" >&6; }
   9936 		if test "$supported" = "yes" ; then
   9937 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9938 			found="yes"
   9939 		fi
   9940 	fi
   9941 
   9942 
   9943 
   9944 
   9945 
   9946 
   9947 
   9948 
   9949 
   9950 
   9951 
   9952 
   9953 
   9954 
   9955 
   9956 xorg_testset_save_CFLAGS="$CFLAGS"
   9957 
   9958 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9959 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9960 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9961 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9962 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9963 then :
   9964   printf %s "(cached) " >&6
   9965 else case e in #(
   9966   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9967 /* end confdefs.h.  */
   9968 int i;
   9969 _ACEOF
   9970 if ac_fn_c_try_compile "$LINENO"
   9971 then :
   9972   xorg_cv_cc_flag_unknown_warning_option=yes
   9973 else case e in #(
   9974   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9975 esac
   9976 fi
   9977 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9978 esac
   9979 fi
   9980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9981 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9982 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9983 	CFLAGS="$xorg_testset_save_CFLAGS"
   9984 fi
   9985 
   9986 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9987 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9988 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9989 	fi
   9990 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9991 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9992 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9993 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9994 then :
   9995   printf %s "(cached) " >&6
   9996 else case e in #(
   9997   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9998 /* end confdefs.h.  */
   9999 int i;
   10000 _ACEOF
   10001 if ac_fn_c_try_compile "$LINENO"
   10002 then :
   10003   xorg_cv_cc_flag_unused_command_line_argument=yes
   10004 else case e in #(
   10005   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10006 esac
   10007 fi
   10008 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10009 esac
   10010 fi
   10011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10012 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10013 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10014 	CFLAGS="$xorg_testset_save_CFLAGS"
   10015 fi
   10016 
   10017 found="no"
   10018 
   10019 	if test $found = "no" ; then
   10020 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10021 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10022 		fi
   10023 
   10024 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10025 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10026 		fi
   10027 
   10028 		CFLAGS="$CFLAGS -Wreturn-type"
   10029 
   10030 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   10031 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   10032 		cacheid=xorg_cv_cc_flag__Wreturn_type
   10033 		if eval test \${$cacheid+y}
   10034 then :
   10035   printf %s "(cached) " >&6
   10036 else case e in #(
   10037   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10038 /* end confdefs.h.  */
   10039 int i;
   10040 int
   10041 main (void)
   10042 {
   10043 
   10044   ;
   10045   return 0;
   10046 }
   10047 _ACEOF
   10048 if ac_fn_c_try_link "$LINENO"
   10049 then :
   10050   eval $cacheid=yes
   10051 else case e in #(
   10052   e) eval $cacheid=no ;;
   10053 esac
   10054 fi
   10055 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10056     conftest$ac_exeext conftest.$ac_ext ;;
   10057 esac
   10058 fi
   10059 
   10060 
   10061 		CFLAGS="$xorg_testset_save_CFLAGS"
   10062 
   10063 		eval supported=\$$cacheid
   10064 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10065 printf "%s\n" "$supported" >&6; }
   10066 		if test "$supported" = "yes" ; then
   10067 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   10068 			found="yes"
   10069 		fi
   10070 	fi
   10071 
   10072 
   10073 
   10074 
   10075 
   10076 
   10077 
   10078 
   10079 
   10080 
   10081 
   10082 
   10083 
   10084 
   10085 
   10086 xorg_testset_save_CFLAGS="$CFLAGS"
   10087 
   10088 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10089 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10090 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10091 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10092 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10093 then :
   10094   printf %s "(cached) " >&6
   10095 else case e in #(
   10096   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10097 /* end confdefs.h.  */
   10098 int i;
   10099 _ACEOF
   10100 if ac_fn_c_try_compile "$LINENO"
   10101 then :
   10102   xorg_cv_cc_flag_unknown_warning_option=yes
   10103 else case e in #(
   10104   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10105 esac
   10106 fi
   10107 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10108 esac
   10109 fi
   10110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10111 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10112 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10113 	CFLAGS="$xorg_testset_save_CFLAGS"
   10114 fi
   10115 
   10116 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10117 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10118 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10119 	fi
   10120 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10121 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10122 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10123 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10124 then :
   10125   printf %s "(cached) " >&6
   10126 else case e in #(
   10127   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10128 /* end confdefs.h.  */
   10129 int i;
   10130 _ACEOF
   10131 if ac_fn_c_try_compile "$LINENO"
   10132 then :
   10133   xorg_cv_cc_flag_unused_command_line_argument=yes
   10134 else case e in #(
   10135   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10136 esac
   10137 fi
   10138 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10139 esac
   10140 fi
   10141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10142 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10143 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10144 	CFLAGS="$xorg_testset_save_CFLAGS"
   10145 fi
   10146 
   10147 found="no"
   10148 
   10149 	if test $found = "no" ; then
   10150 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10151 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10152 		fi
   10153 
   10154 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10155 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10156 		fi
   10157 
   10158 		CFLAGS="$CFLAGS -Wtrigraphs"
   10159 
   10160 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   10161 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   10162 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   10163 		if eval test \${$cacheid+y}
   10164 then :
   10165   printf %s "(cached) " >&6
   10166 else case e in #(
   10167   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10168 /* end confdefs.h.  */
   10169 int i;
   10170 int
   10171 main (void)
   10172 {
   10173 
   10174   ;
   10175   return 0;
   10176 }
   10177 _ACEOF
   10178 if ac_fn_c_try_link "$LINENO"
   10179 then :
   10180   eval $cacheid=yes
   10181 else case e in #(
   10182   e) eval $cacheid=no ;;
   10183 esac
   10184 fi
   10185 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10186     conftest$ac_exeext conftest.$ac_ext ;;
   10187 esac
   10188 fi
   10189 
   10190 
   10191 		CFLAGS="$xorg_testset_save_CFLAGS"
   10192 
   10193 		eval supported=\$$cacheid
   10194 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10195 printf "%s\n" "$supported" >&6; }
   10196 		if test "$supported" = "yes" ; then
   10197 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   10198 			found="yes"
   10199 		fi
   10200 	fi
   10201 
   10202 
   10203 
   10204 
   10205 
   10206 
   10207 
   10208 
   10209 
   10210 
   10211 
   10212 
   10213 
   10214 
   10215 
   10216 xorg_testset_save_CFLAGS="$CFLAGS"
   10217 
   10218 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10219 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10220 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10221 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10222 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10223 then :
   10224   printf %s "(cached) " >&6
   10225 else case e in #(
   10226   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10227 /* end confdefs.h.  */
   10228 int i;
   10229 _ACEOF
   10230 if ac_fn_c_try_compile "$LINENO"
   10231 then :
   10232   xorg_cv_cc_flag_unknown_warning_option=yes
   10233 else case e in #(
   10234   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10235 esac
   10236 fi
   10237 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10238 esac
   10239 fi
   10240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10241 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10242 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10243 	CFLAGS="$xorg_testset_save_CFLAGS"
   10244 fi
   10245 
   10246 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10247 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10248 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10249 	fi
   10250 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10251 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10252 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10253 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10254 then :
   10255   printf %s "(cached) " >&6
   10256 else case e in #(
   10257   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10258 /* end confdefs.h.  */
   10259 int i;
   10260 _ACEOF
   10261 if ac_fn_c_try_compile "$LINENO"
   10262 then :
   10263   xorg_cv_cc_flag_unused_command_line_argument=yes
   10264 else case e in #(
   10265   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10266 esac
   10267 fi
   10268 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10269 esac
   10270 fi
   10271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10272 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10273 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10274 	CFLAGS="$xorg_testset_save_CFLAGS"
   10275 fi
   10276 
   10277 found="no"
   10278 
   10279 	if test $found = "no" ; then
   10280 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10281 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10282 		fi
   10283 
   10284 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10285 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10286 		fi
   10287 
   10288 		CFLAGS="$CFLAGS -Warray-bounds"
   10289 
   10290 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10291 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10292 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10293 		if eval test \${$cacheid+y}
   10294 then :
   10295   printf %s "(cached) " >&6
   10296 else case e in #(
   10297   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10298 /* end confdefs.h.  */
   10299 int i;
   10300 int
   10301 main (void)
   10302 {
   10303 
   10304   ;
   10305   return 0;
   10306 }
   10307 _ACEOF
   10308 if ac_fn_c_try_link "$LINENO"
   10309 then :
   10310   eval $cacheid=yes
   10311 else case e in #(
   10312   e) eval $cacheid=no ;;
   10313 esac
   10314 fi
   10315 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10316     conftest$ac_exeext conftest.$ac_ext ;;
   10317 esac
   10318 fi
   10319 
   10320 
   10321 		CFLAGS="$xorg_testset_save_CFLAGS"
   10322 
   10323 		eval supported=\$$cacheid
   10324 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10325 printf "%s\n" "$supported" >&6; }
   10326 		if test "$supported" = "yes" ; then
   10327 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10328 			found="yes"
   10329 		fi
   10330 	fi
   10331 
   10332 
   10333 
   10334 
   10335 
   10336 
   10337 
   10338 
   10339 
   10340 
   10341 
   10342 
   10343 
   10344 
   10345 
   10346 xorg_testset_save_CFLAGS="$CFLAGS"
   10347 
   10348 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10349 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10350 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10351 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10352 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10353 then :
   10354   printf %s "(cached) " >&6
   10355 else case e in #(
   10356   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10357 /* end confdefs.h.  */
   10358 int i;
   10359 _ACEOF
   10360 if ac_fn_c_try_compile "$LINENO"
   10361 then :
   10362   xorg_cv_cc_flag_unknown_warning_option=yes
   10363 else case e in #(
   10364   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10365 esac
   10366 fi
   10367 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10368 esac
   10369 fi
   10370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10371 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10372 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10373 	CFLAGS="$xorg_testset_save_CFLAGS"
   10374 fi
   10375 
   10376 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10377 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10378 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10379 	fi
   10380 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10381 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10382 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10383 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10384 then :
   10385   printf %s "(cached) " >&6
   10386 else case e in #(
   10387   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10388 /* end confdefs.h.  */
   10389 int i;
   10390 _ACEOF
   10391 if ac_fn_c_try_compile "$LINENO"
   10392 then :
   10393   xorg_cv_cc_flag_unused_command_line_argument=yes
   10394 else case e in #(
   10395   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10396 esac
   10397 fi
   10398 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10399 esac
   10400 fi
   10401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10402 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10403 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10404 	CFLAGS="$xorg_testset_save_CFLAGS"
   10405 fi
   10406 
   10407 found="no"
   10408 
   10409 	if test $found = "no" ; then
   10410 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10411 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10412 		fi
   10413 
   10414 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10415 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10416 		fi
   10417 
   10418 		CFLAGS="$CFLAGS -Wwrite-strings"
   10419 
   10420 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10421 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10422 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10423 		if eval test \${$cacheid+y}
   10424 then :
   10425   printf %s "(cached) " >&6
   10426 else case e in #(
   10427   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10428 /* end confdefs.h.  */
   10429 int i;
   10430 int
   10431 main (void)
   10432 {
   10433 
   10434   ;
   10435   return 0;
   10436 }
   10437 _ACEOF
   10438 if ac_fn_c_try_link "$LINENO"
   10439 then :
   10440   eval $cacheid=yes
   10441 else case e in #(
   10442   e) eval $cacheid=no ;;
   10443 esac
   10444 fi
   10445 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10446     conftest$ac_exeext conftest.$ac_ext ;;
   10447 esac
   10448 fi
   10449 
   10450 
   10451 		CFLAGS="$xorg_testset_save_CFLAGS"
   10452 
   10453 		eval supported=\$$cacheid
   10454 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10455 printf "%s\n" "$supported" >&6; }
   10456 		if test "$supported" = "yes" ; then
   10457 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10458 			found="yes"
   10459 		fi
   10460 	fi
   10461 
   10462 
   10463 
   10464 
   10465 
   10466 
   10467 
   10468 
   10469 
   10470 
   10471 
   10472 
   10473 
   10474 
   10475 
   10476 xorg_testset_save_CFLAGS="$CFLAGS"
   10477 
   10478 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10479 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10480 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10481 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10482 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10483 then :
   10484   printf %s "(cached) " >&6
   10485 else case e in #(
   10486   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10487 /* end confdefs.h.  */
   10488 int i;
   10489 _ACEOF
   10490 if ac_fn_c_try_compile "$LINENO"
   10491 then :
   10492   xorg_cv_cc_flag_unknown_warning_option=yes
   10493 else case e in #(
   10494   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10495 esac
   10496 fi
   10497 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10498 esac
   10499 fi
   10500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10501 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10502 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10503 	CFLAGS="$xorg_testset_save_CFLAGS"
   10504 fi
   10505 
   10506 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10507 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10508 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10509 	fi
   10510 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10511 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10512 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10513 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10514 then :
   10515   printf %s "(cached) " >&6
   10516 else case e in #(
   10517   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10518 /* end confdefs.h.  */
   10519 int i;
   10520 _ACEOF
   10521 if ac_fn_c_try_compile "$LINENO"
   10522 then :
   10523   xorg_cv_cc_flag_unused_command_line_argument=yes
   10524 else case e in #(
   10525   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10526 esac
   10527 fi
   10528 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10529 esac
   10530 fi
   10531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10532 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10533 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10534 	CFLAGS="$xorg_testset_save_CFLAGS"
   10535 fi
   10536 
   10537 found="no"
   10538 
   10539 	if test $found = "no" ; then
   10540 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10541 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10542 		fi
   10543 
   10544 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10545 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10546 		fi
   10547 
   10548 		CFLAGS="$CFLAGS -Waddress"
   10549 
   10550 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10551 printf %s "checking if $CC supports -Waddress... " >&6; }
   10552 		cacheid=xorg_cv_cc_flag__Waddress
   10553 		if eval test \${$cacheid+y}
   10554 then :
   10555   printf %s "(cached) " >&6
   10556 else case e in #(
   10557   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10558 /* end confdefs.h.  */
   10559 int i;
   10560 int
   10561 main (void)
   10562 {
   10563 
   10564   ;
   10565   return 0;
   10566 }
   10567 _ACEOF
   10568 if ac_fn_c_try_link "$LINENO"
   10569 then :
   10570   eval $cacheid=yes
   10571 else case e in #(
   10572   e) eval $cacheid=no ;;
   10573 esac
   10574 fi
   10575 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10576     conftest$ac_exeext conftest.$ac_ext ;;
   10577 esac
   10578 fi
   10579 
   10580 
   10581 		CFLAGS="$xorg_testset_save_CFLAGS"
   10582 
   10583 		eval supported=\$$cacheid
   10584 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10585 printf "%s\n" "$supported" >&6; }
   10586 		if test "$supported" = "yes" ; then
   10587 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10588 			found="yes"
   10589 		fi
   10590 	fi
   10591 
   10592 
   10593 
   10594 
   10595 
   10596 
   10597 
   10598 
   10599 
   10600 
   10601 
   10602 
   10603 
   10604 
   10605 
   10606 xorg_testset_save_CFLAGS="$CFLAGS"
   10607 
   10608 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10609 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10610 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10611 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10612 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10613 then :
   10614   printf %s "(cached) " >&6
   10615 else case e in #(
   10616   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10617 /* end confdefs.h.  */
   10618 int i;
   10619 _ACEOF
   10620 if ac_fn_c_try_compile "$LINENO"
   10621 then :
   10622   xorg_cv_cc_flag_unknown_warning_option=yes
   10623 else case e in #(
   10624   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10625 esac
   10626 fi
   10627 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10628 esac
   10629 fi
   10630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10631 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10632 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10633 	CFLAGS="$xorg_testset_save_CFLAGS"
   10634 fi
   10635 
   10636 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10637 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10638 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10639 	fi
   10640 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10641 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10642 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10643 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10644 then :
   10645   printf %s "(cached) " >&6
   10646 else case e in #(
   10647   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10648 /* end confdefs.h.  */
   10649 int i;
   10650 _ACEOF
   10651 if ac_fn_c_try_compile "$LINENO"
   10652 then :
   10653   xorg_cv_cc_flag_unused_command_line_argument=yes
   10654 else case e in #(
   10655   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10656 esac
   10657 fi
   10658 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10659 esac
   10660 fi
   10661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10662 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10663 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10664 	CFLAGS="$xorg_testset_save_CFLAGS"
   10665 fi
   10666 
   10667 found="no"
   10668 
   10669 	if test $found = "no" ; then
   10670 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10671 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10672 		fi
   10673 
   10674 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10675 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10676 		fi
   10677 
   10678 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10679 
   10680 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10681 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10682 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10683 		if eval test \${$cacheid+y}
   10684 then :
   10685   printf %s "(cached) " >&6
   10686 else case e in #(
   10687   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10688 /* end confdefs.h.  */
   10689 int i;
   10690 int
   10691 main (void)
   10692 {
   10693 
   10694   ;
   10695   return 0;
   10696 }
   10697 _ACEOF
   10698 if ac_fn_c_try_link "$LINENO"
   10699 then :
   10700   eval $cacheid=yes
   10701 else case e in #(
   10702   e) eval $cacheid=no ;;
   10703 esac
   10704 fi
   10705 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10706     conftest$ac_exeext conftest.$ac_ext ;;
   10707 esac
   10708 fi
   10709 
   10710 
   10711 		CFLAGS="$xorg_testset_save_CFLAGS"
   10712 
   10713 		eval supported=\$$cacheid
   10714 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10715 printf "%s\n" "$supported" >&6; }
   10716 		if test "$supported" = "yes" ; then
   10717 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10718 			found="yes"
   10719 		fi
   10720 	fi
   10721 
   10722 
   10723 
   10724 
   10725 
   10726 
   10727 
   10728 
   10729 
   10730 
   10731 
   10732 
   10733 
   10734 
   10735 
   10736 xorg_testset_save_CFLAGS="$CFLAGS"
   10737 
   10738 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10739 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10740 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10741 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10742 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10743 then :
   10744   printf %s "(cached) " >&6
   10745 else case e in #(
   10746   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10747 /* end confdefs.h.  */
   10748 int i;
   10749 _ACEOF
   10750 if ac_fn_c_try_compile "$LINENO"
   10751 then :
   10752   xorg_cv_cc_flag_unknown_warning_option=yes
   10753 else case e in #(
   10754   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10755 esac
   10756 fi
   10757 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10758 esac
   10759 fi
   10760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10761 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10762 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10763 	CFLAGS="$xorg_testset_save_CFLAGS"
   10764 fi
   10765 
   10766 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10767 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10768 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10769 	fi
   10770 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10771 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10772 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10773 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10774 then :
   10775   printf %s "(cached) " >&6
   10776 else case e in #(
   10777   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10778 /* end confdefs.h.  */
   10779 int i;
   10780 _ACEOF
   10781 if ac_fn_c_try_compile "$LINENO"
   10782 then :
   10783   xorg_cv_cc_flag_unused_command_line_argument=yes
   10784 else case e in #(
   10785   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10786 esac
   10787 fi
   10788 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10789 esac
   10790 fi
   10791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10792 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10793 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10794 	CFLAGS="$xorg_testset_save_CFLAGS"
   10795 fi
   10796 
   10797 found="no"
   10798 
   10799 	if test $found = "no" ; then
   10800 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10801 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10802 		fi
   10803 
   10804 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10805 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10806 		fi
   10807 
   10808 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10809 
   10810 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10811 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10812 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10813 		if eval test \${$cacheid+y}
   10814 then :
   10815   printf %s "(cached) " >&6
   10816 else case e in #(
   10817   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10818 /* end confdefs.h.  */
   10819 int i;
   10820 int
   10821 main (void)
   10822 {
   10823 
   10824   ;
   10825   return 0;
   10826 }
   10827 _ACEOF
   10828 if ac_fn_c_try_link "$LINENO"
   10829 then :
   10830   eval $cacheid=yes
   10831 else case e in #(
   10832   e) eval $cacheid=no ;;
   10833 esac
   10834 fi
   10835 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10836     conftest$ac_exeext conftest.$ac_ext ;;
   10837 esac
   10838 fi
   10839 
   10840 
   10841 		CFLAGS="$xorg_testset_save_CFLAGS"
   10842 
   10843 		eval supported=\$$cacheid
   10844 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10845 printf "%s\n" "$supported" >&6; }
   10846 		if test "$supported" = "yes" ; then
   10847 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10848 			found="yes"
   10849 		fi
   10850 	fi
   10851 
   10852 
   10853 fi
   10854 
   10855 
   10856 
   10857 
   10858 
   10859 
   10860 
   10861 		CWARNFLAGS="$BASE_CFLAGS"
   10862 		if  test "x$GCC" = xyes ; then
   10863 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10864 		fi
   10865 
   10866 
   10867 
   10868 
   10869 
   10870 
   10871 
   10872 
   10873 # Check whether --enable-strict-compilation was given.
   10874 if test ${enable_strict_compilation+y}
   10875 then :
   10876   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10877 else case e in #(
   10878   e) STRICT_COMPILE=no ;;
   10879 esac
   10880 fi
   10881 
   10882 
   10883 
   10884 
   10885 
   10886 
   10887 STRICT_CFLAGS=""
   10888 
   10889 
   10890 
   10891 
   10892 
   10893 
   10894 
   10895 
   10896 
   10897 
   10898 
   10899 
   10900 
   10901 xorg_testset_save_CFLAGS="$CFLAGS"
   10902 
   10903 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10904 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10905 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10906 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10907 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10908 then :
   10909   printf %s "(cached) " >&6
   10910 else case e in #(
   10911   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10912 /* end confdefs.h.  */
   10913 int i;
   10914 _ACEOF
   10915 if ac_fn_c_try_compile "$LINENO"
   10916 then :
   10917   xorg_cv_cc_flag_unknown_warning_option=yes
   10918 else case e in #(
   10919   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10920 esac
   10921 fi
   10922 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10923 esac
   10924 fi
   10925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10926 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10927 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10928 	CFLAGS="$xorg_testset_save_CFLAGS"
   10929 fi
   10930 
   10931 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10932 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10933 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10934 	fi
   10935 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10936 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10937 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10938 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10939 then :
   10940   printf %s "(cached) " >&6
   10941 else case e in #(
   10942   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10943 /* end confdefs.h.  */
   10944 int i;
   10945 _ACEOF
   10946 if ac_fn_c_try_compile "$LINENO"
   10947 then :
   10948   xorg_cv_cc_flag_unused_command_line_argument=yes
   10949 else case e in #(
   10950   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10951 esac
   10952 fi
   10953 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10954 esac
   10955 fi
   10956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10957 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10958 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10959 	CFLAGS="$xorg_testset_save_CFLAGS"
   10960 fi
   10961 
   10962 found="no"
   10963 
   10964 	if test $found = "no" ; then
   10965 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10966 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10967 		fi
   10968 
   10969 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10970 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10971 		fi
   10972 
   10973 		CFLAGS="$CFLAGS -pedantic"
   10974 
   10975 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10976 printf %s "checking if $CC supports -pedantic... " >&6; }
   10977 		cacheid=xorg_cv_cc_flag__pedantic
   10978 		if eval test \${$cacheid+y}
   10979 then :
   10980   printf %s "(cached) " >&6
   10981 else case e in #(
   10982   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10983 /* end confdefs.h.  */
   10984 int i;
   10985 int
   10986 main (void)
   10987 {
   10988 
   10989   ;
   10990   return 0;
   10991 }
   10992 _ACEOF
   10993 if ac_fn_c_try_link "$LINENO"
   10994 then :
   10995   eval $cacheid=yes
   10996 else case e in #(
   10997   e) eval $cacheid=no ;;
   10998 esac
   10999 fi
   11000 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11001     conftest$ac_exeext conftest.$ac_ext ;;
   11002 esac
   11003 fi
   11004 
   11005 
   11006 		CFLAGS="$xorg_testset_save_CFLAGS"
   11007 
   11008 		eval supported=\$$cacheid
   11009 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11010 printf "%s\n" "$supported" >&6; }
   11011 		if test "$supported" = "yes" ; then
   11012 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   11013 			found="yes"
   11014 		fi
   11015 	fi
   11016 
   11017 
   11018 
   11019 
   11020 
   11021 
   11022 
   11023 
   11024 
   11025 
   11026 
   11027 
   11028 
   11029 
   11030 
   11031 xorg_testset_save_CFLAGS="$CFLAGS"
   11032 
   11033 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11034 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11035 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11036 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11037 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11038 then :
   11039   printf %s "(cached) " >&6
   11040 else case e in #(
   11041   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11042 /* end confdefs.h.  */
   11043 int i;
   11044 _ACEOF
   11045 if ac_fn_c_try_compile "$LINENO"
   11046 then :
   11047   xorg_cv_cc_flag_unknown_warning_option=yes
   11048 else case e in #(
   11049   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11050 esac
   11051 fi
   11052 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11053 esac
   11054 fi
   11055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11056 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11057 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11058 	CFLAGS="$xorg_testset_save_CFLAGS"
   11059 fi
   11060 
   11061 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11062 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11063 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11064 	fi
   11065 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11066 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11067 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11068 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11069 then :
   11070   printf %s "(cached) " >&6
   11071 else case e in #(
   11072   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11073 /* end confdefs.h.  */
   11074 int i;
   11075 _ACEOF
   11076 if ac_fn_c_try_compile "$LINENO"
   11077 then :
   11078   xorg_cv_cc_flag_unused_command_line_argument=yes
   11079 else case e in #(
   11080   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11081 esac
   11082 fi
   11083 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11084 esac
   11085 fi
   11086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11087 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11088 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11089 	CFLAGS="$xorg_testset_save_CFLAGS"
   11090 fi
   11091 
   11092 found="no"
   11093 
   11094 	if test $found = "no" ; then
   11095 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11096 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11097 		fi
   11098 
   11099 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11100 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11101 		fi
   11102 
   11103 		CFLAGS="$CFLAGS -Werror"
   11104 
   11105 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   11106 printf %s "checking if $CC supports -Werror... " >&6; }
   11107 		cacheid=xorg_cv_cc_flag__Werror
   11108 		if eval test \${$cacheid+y}
   11109 then :
   11110   printf %s "(cached) " >&6
   11111 else case e in #(
   11112   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11113 /* end confdefs.h.  */
   11114 int i;
   11115 int
   11116 main (void)
   11117 {
   11118 
   11119   ;
   11120   return 0;
   11121 }
   11122 _ACEOF
   11123 if ac_fn_c_try_link "$LINENO"
   11124 then :
   11125   eval $cacheid=yes
   11126 else case e in #(
   11127   e) eval $cacheid=no ;;
   11128 esac
   11129 fi
   11130 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11131     conftest$ac_exeext conftest.$ac_ext ;;
   11132 esac
   11133 fi
   11134 
   11135 
   11136 		CFLAGS="$xorg_testset_save_CFLAGS"
   11137 
   11138 		eval supported=\$$cacheid
   11139 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11140 printf "%s\n" "$supported" >&6; }
   11141 		if test "$supported" = "yes" ; then
   11142 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   11143 			found="yes"
   11144 		fi
   11145 	fi
   11146 
   11147 	if test $found = "no" ; then
   11148 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11149 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11150 		fi
   11151 
   11152 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11153 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11154 		fi
   11155 
   11156 		CFLAGS="$CFLAGS -errwarn"
   11157 
   11158 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   11159 printf %s "checking if $CC supports -errwarn... " >&6; }
   11160 		cacheid=xorg_cv_cc_flag__errwarn
   11161 		if eval test \${$cacheid+y}
   11162 then :
   11163   printf %s "(cached) " >&6
   11164 else case e in #(
   11165   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11166 /* end confdefs.h.  */
   11167 int i;
   11168 int
   11169 main (void)
   11170 {
   11171 
   11172   ;
   11173   return 0;
   11174 }
   11175 _ACEOF
   11176 if ac_fn_c_try_link "$LINENO"
   11177 then :
   11178   eval $cacheid=yes
   11179 else case e in #(
   11180   e) eval $cacheid=no ;;
   11181 esac
   11182 fi
   11183 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11184     conftest$ac_exeext conftest.$ac_ext ;;
   11185 esac
   11186 fi
   11187 
   11188 
   11189 		CFLAGS="$xorg_testset_save_CFLAGS"
   11190 
   11191 		eval supported=\$$cacheid
   11192 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11193 printf "%s\n" "$supported" >&6; }
   11194 		if test "$supported" = "yes" ; then
   11195 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   11196 			found="yes"
   11197 		fi
   11198 	fi
   11199 
   11200 
   11201 
   11202 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   11203 # activate it with -Werror, so we add it here explicitly.
   11204 
   11205 
   11206 
   11207 
   11208 
   11209 
   11210 
   11211 
   11212 
   11213 
   11214 
   11215 
   11216 
   11217 xorg_testset_save_CFLAGS="$CFLAGS"
   11218 
   11219 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11220 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11221 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11222 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11223 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11224 then :
   11225   printf %s "(cached) " >&6
   11226 else case e in #(
   11227   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11228 /* end confdefs.h.  */
   11229 int i;
   11230 _ACEOF
   11231 if ac_fn_c_try_compile "$LINENO"
   11232 then :
   11233   xorg_cv_cc_flag_unknown_warning_option=yes
   11234 else case e in #(
   11235   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11236 esac
   11237 fi
   11238 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11239 esac
   11240 fi
   11241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11242 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11243 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11244 	CFLAGS="$xorg_testset_save_CFLAGS"
   11245 fi
   11246 
   11247 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11248 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11249 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11250 	fi
   11251 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11252 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11253 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11254 if test ${xorg_cv_cc_flag_unused_command_line_argument+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 _ACEOF
   11262 if ac_fn_c_try_compile "$LINENO"
   11263 then :
   11264   xorg_cv_cc_flag_unused_command_line_argument=yes
   11265 else case e in #(
   11266   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11267 esac
   11268 fi
   11269 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11270 esac
   11271 fi
   11272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11273 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11274 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11275 	CFLAGS="$xorg_testset_save_CFLAGS"
   11276 fi
   11277 
   11278 found="no"
   11279 
   11280 	if test $found = "no" ; then
   11281 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11282 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11283 		fi
   11284 
   11285 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11286 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11287 		fi
   11288 
   11289 		CFLAGS="$CFLAGS -Werror=attributes"
   11290 
   11291 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11292 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11293 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11294 		if eval test \${$cacheid+y}
   11295 then :
   11296   printf %s "(cached) " >&6
   11297 else case e in #(
   11298   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11299 /* end confdefs.h.  */
   11300 int i;
   11301 int
   11302 main (void)
   11303 {
   11304 
   11305   ;
   11306   return 0;
   11307 }
   11308 _ACEOF
   11309 if ac_fn_c_try_link "$LINENO"
   11310 then :
   11311   eval $cacheid=yes
   11312 else case e in #(
   11313   e) eval $cacheid=no ;;
   11314 esac
   11315 fi
   11316 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11317     conftest$ac_exeext conftest.$ac_ext ;;
   11318 esac
   11319 fi
   11320 
   11321 
   11322 		CFLAGS="$xorg_testset_save_CFLAGS"
   11323 
   11324 		eval supported=\$$cacheid
   11325 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11326 printf "%s\n" "$supported" >&6; }
   11327 		if test "$supported" = "yes" ; then
   11328 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11329 			found="yes"
   11330 		fi
   11331 	fi
   11332 
   11333 
   11334 
   11335 if test "x$STRICT_COMPILE" = "xyes"; then
   11336     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11337     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11338 fi
   11339 
   11340 
   11341 
   11342 
   11343 
   11344 
   11345 
   11346 
   11347 cat >>confdefs.h <<_ACEOF
   11348 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11349 _ACEOF
   11350 
   11351 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11352 	if test "x$PVM" = "x"; then
   11353 		PVM="0"
   11354 	fi
   11355 
   11356 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11357 
   11358 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11359 	if test "x$PVP" = "x"; then
   11360 		PVP="0"
   11361 	fi
   11362 
   11363 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11364 
   11365 
   11366 
   11367 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11368 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11369 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11370 touch \$(top_srcdir)/ChangeLog; \
   11371 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11372 
   11373 
   11374 
   11375 
   11376 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11377 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11378 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11379 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11380 touch \$(top_srcdir)/INSTALL; \
   11381 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11382 
   11383 
   11384 
   11385 
   11386 
   11387 
   11388 case $host_os in
   11389     solaris*)
   11390         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11391         # check for a man page file found in later versions that use
   11392         # traditional section numbers instead
   11393         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11394 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11395 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11396 then :
   11397   printf %s "(cached) " >&6
   11398 else case e in #(
   11399   e) test "$cross_compiling" = yes &&
   11400   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11401 if test -r "/usr/share/man/man7/attributes.7"; then
   11402   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11403 else
   11404   ac_cv_file__usr_share_man_man7_attributes_7=no
   11405 fi ;;
   11406 esac
   11407 fi
   11408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11409 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11410 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11411 then :
   11412   SYSV_MAN_SECTIONS=false
   11413 else case e in #(
   11414   e) SYSV_MAN_SECTIONS=true ;;
   11415 esac
   11416 fi
   11417 
   11418         ;;
   11419     *) SYSV_MAN_SECTIONS=false ;;
   11420 esac
   11421 
   11422 if test x$APP_MAN_SUFFIX = x    ; then
   11423     APP_MAN_SUFFIX=1
   11424 fi
   11425 if test x$APP_MAN_DIR = x    ; then
   11426     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11427 fi
   11428 
   11429 if test x$LIB_MAN_SUFFIX = x    ; then
   11430     LIB_MAN_SUFFIX=3
   11431 fi
   11432 if test x$LIB_MAN_DIR = x    ; then
   11433     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11434 fi
   11435 
   11436 if test x$FILE_MAN_SUFFIX = x    ; then
   11437     case $SYSV_MAN_SECTIONS in
   11438 	true)				FILE_MAN_SUFFIX=4  ;;
   11439 	*)				FILE_MAN_SUFFIX=5  ;;
   11440     esac
   11441 fi
   11442 if test x$FILE_MAN_DIR = x    ; then
   11443     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11444 fi
   11445 
   11446 if test x$MISC_MAN_SUFFIX = x    ; then
   11447     case $SYSV_MAN_SECTIONS in
   11448 	true)				MISC_MAN_SUFFIX=5  ;;
   11449 	*)				MISC_MAN_SUFFIX=7  ;;
   11450     esac
   11451 fi
   11452 if test x$MISC_MAN_DIR = x    ; then
   11453     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11454 fi
   11455 
   11456 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11457     case $SYSV_MAN_SECTIONS in
   11458 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11459 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11460     esac
   11461 fi
   11462 if test x$DRIVER_MAN_DIR = x    ; then
   11463     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11464 fi
   11465 
   11466 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11467     case $SYSV_MAN_SECTIONS in
   11468 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11469 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11470     esac
   11471 fi
   11472 if test x$ADMIN_MAN_DIR = x    ; then
   11473     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11474 fi
   11475 
   11476 
   11477 
   11478 
   11479 
   11480 
   11481 
   11482 
   11483 
   11484 
   11485 
   11486 
   11487 
   11488 
   11489 
   11490 XORG_MAN_PAGE="X Version 11"
   11491 
   11492 MAN_SUBSTS="\
   11493 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11494 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11495 	-e 's|__xservername__|Xorg|g' \
   11496 	-e 's|__xconfigfile__|xorg.conf|g' \
   11497 	-e 's|__projectroot__|\$(prefix)|g' \
   11498 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11499 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11500 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11501 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11502 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11503 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11504 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11505 
   11506 
   11507 
   11508 # Check whether --enable-silent-rules was given.
   11509 if test ${enable_silent_rules+y}
   11510 then :
   11511   enableval=$enable_silent_rules;
   11512 fi
   11513 
   11514 case $enable_silent_rules in # (((
   11515   yes) AM_DEFAULT_VERBOSITY=0;;
   11516    no) AM_DEFAULT_VERBOSITY=1;;
   11517     *) AM_DEFAULT_VERBOSITY=0;;
   11518 esac
   11519 am_make=${MAKE-make}
   11520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11521 printf %s "checking whether $am_make supports nested variables... " >&6; }
   11522 if test ${am_cv_make_support_nested_variables+y}
   11523 then :
   11524   printf %s "(cached) " >&6
   11525 else case e in #(
   11526   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   11527 BAR0=false
   11528 BAR1=true
   11529 V=1
   11530 am__doit:
   11531 	@$(TRUE)
   11532 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11533   am_cv_make_support_nested_variables=yes
   11534 else
   11535   am_cv_make_support_nested_variables=no
   11536 fi ;;
   11537 esac
   11538 fi
   11539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11540 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   11541 if test $am_cv_make_support_nested_variables = yes; then
   11542     AM_V='$(V)'
   11543   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11544 else
   11545   AM_V=$AM_DEFAULT_VERBOSITY
   11546   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11547 fi
   11548 AM_BACKSLASH='\'
   11549 
   11550 
   11551 
   11552 
   11553 
   11554 
   11555 # Checks for typedefs, structures, and compiler characteristics.
   11556 # Check whether --enable-largefile was given.
   11557 if test ${enable_largefile+y}
   11558 then :
   11559   enableval=$enable_largefile;
   11560 fi
   11561 if test "$enable_largefile,$enable_year2038" != no,no
   11562 then :
   11563   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable large file support" >&5
   11564 printf %s "checking for $CC option to enable large file support... " >&6; }
   11565 if test ${ac_cv_sys_largefile_opts+y}
   11566 then :
   11567   printf %s "(cached) " >&6
   11568 else case e in #(
   11569   e) ac_save_CC="$CC"
   11570   ac_opt_found=no
   11571   for ac_opt in "none needed" "-D_FILE_OFFSET_BITS=64" "-D_LARGE_FILES=1" "-n32"; do
   11572     if test x"$ac_opt" != x"none needed"
   11573 then :
   11574   CC="$ac_save_CC $ac_opt"
   11575 fi
   11576     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11577 /* end confdefs.h.  */
   11578 #include <sys/types.h>
   11579 #ifndef FTYPE
   11580 # define FTYPE off_t
   11581 #endif
   11582  /* Check that FTYPE can represent 2**63 - 1 correctly.
   11583     We can't simply define LARGE_FTYPE to be 9223372036854775807,
   11584     since some C++ compilers masquerading as C compilers
   11585     incorrectly reject 9223372036854775807.  */
   11586 #define LARGE_FTYPE (((FTYPE) 1 << 31 << 31) - 1 + ((FTYPE) 1 << 31 << 31))
   11587   int FTYPE_is_large[(LARGE_FTYPE % 2147483629 == 721
   11588 		       && LARGE_FTYPE % 2147483647 == 1)
   11589 		      ? 1 : -1];
   11590 int
   11591 main (void)
   11592 {
   11593 
   11594   ;
   11595   return 0;
   11596 }
   11597 _ACEOF
   11598 if ac_fn_c_try_compile "$LINENO"
   11599 then :
   11600   if test x"$ac_opt" = x"none needed"
   11601 then :
   11602   # GNU/Linux s390x and alpha need _FILE_OFFSET_BITS=64 for wide ino_t.
   11603 	 CC="$CC -DFTYPE=ino_t"
   11604 	 if ac_fn_c_try_compile "$LINENO"
   11605 then :
   11606 
   11607 else case e in #(
   11608   e) CC="$CC -D_FILE_OFFSET_BITS=64"
   11609 	    if ac_fn_c_try_compile "$LINENO"
   11610 then :
   11611   ac_opt='-D_FILE_OFFSET_BITS=64'
   11612 fi
   11613 rm -f core conftest.err conftest.$ac_objext conftest.beam ;;
   11614 esac
   11615 fi
   11616 rm -f core conftest.err conftest.$ac_objext conftest.beam
   11617 fi
   11618       ac_cv_sys_largefile_opts=$ac_opt
   11619       ac_opt_found=yes
   11620 fi
   11621 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   11622     test $ac_opt_found = no || break
   11623   done
   11624   CC="$ac_save_CC"
   11625 
   11626   test $ac_opt_found = yes || ac_cv_sys_largefile_opts="support not detected" ;;
   11627 esac
   11628 fi
   11629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_opts" >&5
   11630 printf "%s\n" "$ac_cv_sys_largefile_opts" >&6; }
   11631 
   11632 ac_have_largefile=yes
   11633 case $ac_cv_sys_largefile_opts in #(
   11634   "none needed") :
   11635      ;; #(
   11636   "supported through gnulib") :
   11637      ;; #(
   11638   "support not detected") :
   11639     ac_have_largefile=no ;; #(
   11640   "-D_FILE_OFFSET_BITS=64") :
   11641 
   11642 printf "%s\n" "#define _FILE_OFFSET_BITS 64" >>confdefs.h
   11643  ;; #(
   11644   "-D_LARGE_FILES=1") :
   11645 
   11646 printf "%s\n" "#define _LARGE_FILES 1" >>confdefs.h
   11647  ;; #(
   11648   "-n32") :
   11649     CC="$CC -n32" ;; #(
   11650   *) :
   11651     as_fn_error $? "internal error: bad value for \$ac_cv_sys_largefile_opts" "$LINENO" 5 ;;
   11652 esac
   11653 
   11654 if test "$enable_year2038" != no
   11655 then :
   11656   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option for timestamps after 2038" >&5
   11657 printf %s "checking for $CC option for timestamps after 2038... " >&6; }
   11658 if test ${ac_cv_sys_year2038_opts+y}
   11659 then :
   11660   printf %s "(cached) " >&6
   11661 else case e in #(
   11662   e) ac_save_CPPFLAGS="$CPPFLAGS"
   11663   ac_opt_found=no
   11664   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
   11665     if test x"$ac_opt" != x"none needed"
   11666 then :
   11667   CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
   11668 fi
   11669     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11670 /* end confdefs.h.  */
   11671 
   11672   #include <time.h>
   11673   /* Check that time_t can represent 2**32 - 1 correctly.  */
   11674   #define LARGE_TIME_T \\
   11675     ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30)))
   11676   int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535
   11677                            && LARGE_TIME_T % 65537 == 0)
   11678                           ? 1 : -1];
   11679 
   11680 int
   11681 main (void)
   11682 {
   11683 
   11684   ;
   11685   return 0;
   11686 }
   11687 _ACEOF
   11688 if ac_fn_c_try_compile "$LINENO"
   11689 then :
   11690   ac_cv_sys_year2038_opts="$ac_opt"
   11691       ac_opt_found=yes
   11692 fi
   11693 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   11694     test $ac_opt_found = no || break
   11695   done
   11696   CPPFLAGS="$ac_save_CPPFLAGS"
   11697   test $ac_opt_found = yes || ac_cv_sys_year2038_opts="support not detected" ;;
   11698 esac
   11699 fi
   11700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_year2038_opts" >&5
   11701 printf "%s\n" "$ac_cv_sys_year2038_opts" >&6; }
   11702 
   11703 ac_have_year2038=yes
   11704 case $ac_cv_sys_year2038_opts in #(
   11705   "none needed") :
   11706      ;; #(
   11707   "support not detected") :
   11708     ac_have_year2038=no ;; #(
   11709   "-D_TIME_BITS=64") :
   11710 
   11711 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
   11712  ;; #(
   11713   "-D__MINGW_USE_VC2005_COMPAT") :
   11714 
   11715 printf "%s\n" "#define __MINGW_USE_VC2005_COMPAT 1" >>confdefs.h
   11716  ;; #(
   11717   "-U_USE_32_BIT_TIME_T"*) :
   11718     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   11719 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   11720 as_fn_error $? "the 'time_t' type is currently forced to be 32-bit. It
   11721 will stop working after mid-January 2038. Remove
   11722 _USE_32BIT_TIME_T from the compiler flags.
   11723 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   11724   *) :
   11725     as_fn_error $? "internal error: bad value for \$ac_cv_sys_year2038_opts" "$LINENO" 5 ;;
   11726 esac
   11727 
   11728 fi
   11729 
   11730 fi
   11731 
   11732 # Checks for library functions.
   11733 ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
   11734 if test "x$ac_cv_func_mkstemp" = xyes
   11735 then :
   11736   printf "%s\n" "#define HAVE_MKSTEMP 1" >>confdefs.h
   11737 
   11738 fi
   11739 
   11740 
   11741 # Math libraries & functions
   11742 # - some compilers use builtin inlines for floor when optimizing
   11743 # - lrint() is a C99 addition not found on some older systems
   11744 # - must do the libm check first so that the lrint check will have it in $LIBS
   11745 save_LIBS="$LIBS"
   11746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5
   11747 printf %s "checking for library containing floor... " >&6; }
   11748 if test ${ac_cv_search_floor+y}
   11749 then :
   11750   printf %s "(cached) " >&6
   11751 else case e in #(
   11752   e) ac_func_search_save_LIBS=$LIBS
   11753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11754 /* end confdefs.h.  */
   11755 
   11756 /* Override any GCC internal prototype to avoid an error.
   11757    Use char because int might match the return type of a GCC
   11758    builtin and then its argument prototype would still apply.
   11759    The 'extern "C"' is for builds by C++ compilers;
   11760    although this is not generally supported in C code supporting it here
   11761    has little cost and some practical benefit (sr 110532).  */
   11762 #ifdef __cplusplus
   11763 extern "C"
   11764 #endif
   11765 char floor (void);
   11766 int
   11767 main (void)
   11768 {
   11769 return floor ();
   11770   ;
   11771   return 0;
   11772 }
   11773 _ACEOF
   11774 for ac_lib in '' m
   11775 do
   11776   if test -z "$ac_lib"; then
   11777     ac_res="none required"
   11778   else
   11779     ac_res=-l$ac_lib
   11780     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   11781   fi
   11782   if ac_fn_c_try_link "$LINENO"
   11783 then :
   11784   ac_cv_search_floor=$ac_res
   11785 fi
   11786 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11787     conftest$ac_exeext
   11788   if test ${ac_cv_search_floor+y}
   11789 then :
   11790   break
   11791 fi
   11792 done
   11793 if test ${ac_cv_search_floor+y}
   11794 then :
   11795 
   11796 else case e in #(
   11797   e) ac_cv_search_floor=no ;;
   11798 esac
   11799 fi
   11800 rm conftest.$ac_ext
   11801 LIBS=$ac_func_search_save_LIBS ;;
   11802 esac
   11803 fi
   11804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_floor" >&5
   11805 printf "%s\n" "$ac_cv_search_floor" >&6; }
   11806 ac_res=$ac_cv_search_floor
   11807 if test "$ac_res" != no
   11808 then :
   11809   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   11810 
   11811 fi
   11812 
   11813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing lrint" >&5
   11814 printf %s "checking for library containing lrint... " >&6; }
   11815 if test ${ac_cv_search_lrint+y}
   11816 then :
   11817   printf %s "(cached) " >&6
   11818 else case e in #(
   11819   e) ac_func_search_save_LIBS=$LIBS
   11820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11821 /* end confdefs.h.  */
   11822 
   11823 /* Override any GCC internal prototype to avoid an error.
   11824    Use char because int might match the return type of a GCC
   11825    builtin and then its argument prototype would still apply.
   11826    The 'extern "C"' is for builds by C++ compilers;
   11827    although this is not generally supported in C code supporting it here
   11828    has little cost and some practical benefit (sr 110532).  */
   11829 #ifdef __cplusplus
   11830 extern "C"
   11831 #endif
   11832 char lrint (void);
   11833 int
   11834 main (void)
   11835 {
   11836 return lrint ();
   11837   ;
   11838   return 0;
   11839 }
   11840 _ACEOF
   11841 for ac_lib in '' m
   11842 do
   11843   if test -z "$ac_lib"; then
   11844     ac_res="none required"
   11845   else
   11846     ac_res=-l$ac_lib
   11847     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   11848   fi
   11849   if ac_fn_c_try_link "$LINENO"
   11850 then :
   11851   ac_cv_search_lrint=$ac_res
   11852 fi
   11853 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11854     conftest$ac_exeext
   11855   if test ${ac_cv_search_lrint+y}
   11856 then :
   11857   break
   11858 fi
   11859 done
   11860 if test ${ac_cv_search_lrint+y}
   11861 then :
   11862 
   11863 else case e in #(
   11864   e) ac_cv_search_lrint=no ;;
   11865 esac
   11866 fi
   11867 rm conftest.$ac_ext
   11868 LIBS=$ac_func_search_save_LIBS ;;
   11869 esac
   11870 fi
   11871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_lrint" >&5
   11872 printf "%s\n" "$ac_cv_search_lrint" >&6; }
   11873 ac_res=$ac_cv_search_lrint
   11874 if test "$ac_res" != no
   11875 then :
   11876   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   11877 
   11878 fi
   11879 
   11880 ac_fn_c_check_func "$LINENO" "lrint" "ac_cv_func_lrint"
   11881 if test "x$ac_cv_func_lrint" = xyes
   11882 then :
   11883   printf "%s\n" "#define HAVE_LRINT 1" >>confdefs.h
   11884 
   11885 fi
   11886 
   11887 MATH_LIBS="$LIBS"
   11888 LIBS="$save_LIBS"
   11889 
   11890 
   11891 # Obtain compiler/linker options from dependencies
   11892 
   11893 pkg_failed=no
   11894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BMTOA" >&5
   11895 printf %s "checking for BMTOA... " >&6; }
   11896 
   11897 if test -n "$BMTOA_CFLAGS"; then
   11898     pkg_cv_BMTOA_CFLAGS="$BMTOA_CFLAGS"
   11899  elif test -n "$PKG_CONFIG"; then
   11900     if test -n "$PKG_CONFIG" && \
   11901     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xmu xproto >= 7.0.17\""; } >&5
   11902   ($PKG_CONFIG --exists --print-errors "x11 xmu xproto >= 7.0.17") 2>&5
   11903   ac_status=$?
   11904   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11905   test $ac_status = 0; }; then
   11906   pkg_cv_BMTOA_CFLAGS=`$PKG_CONFIG --cflags "x11 xmu xproto >= 7.0.17" 2>/dev/null`
   11907 		      test "x$?" != "x0" && pkg_failed=yes
   11908 else
   11909   pkg_failed=yes
   11910 fi
   11911  else
   11912     pkg_failed=untried
   11913 fi
   11914 if test -n "$BMTOA_LIBS"; then
   11915     pkg_cv_BMTOA_LIBS="$BMTOA_LIBS"
   11916  elif test -n "$PKG_CONFIG"; then
   11917     if test -n "$PKG_CONFIG" && \
   11918     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xmu xproto >= 7.0.17\""; } >&5
   11919   ($PKG_CONFIG --exists --print-errors "x11 xmu xproto >= 7.0.17") 2>&5
   11920   ac_status=$?
   11921   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11922   test $ac_status = 0; }; then
   11923   pkg_cv_BMTOA_LIBS=`$PKG_CONFIG --libs "x11 xmu xproto >= 7.0.17" 2>/dev/null`
   11924 		      test "x$?" != "x0" && pkg_failed=yes
   11925 else
   11926   pkg_failed=yes
   11927 fi
   11928  else
   11929     pkg_failed=untried
   11930 fi
   11931 
   11932 
   11933 
   11934 if test $pkg_failed = yes; then
   11935    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11936 printf "%s\n" "no" >&6; }
   11937 
   11938 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11939         _pkg_short_errors_supported=yes
   11940 else
   11941         _pkg_short_errors_supported=no
   11942 fi
   11943         if test $_pkg_short_errors_supported = yes; then
   11944 	        BMTOA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 xmu xproto >= 7.0.17" 2>&1`
   11945         else
   11946 	        BMTOA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 xmu xproto >= 7.0.17" 2>&1`
   11947         fi
   11948 	# Put the nasty error message in config.log where it belongs
   11949 	echo "$BMTOA_PKG_ERRORS" >&5
   11950 
   11951 	as_fn_error $? "Package requirements (x11 xmu xproto >= 7.0.17) were not met:
   11952 
   11953 $BMTOA_PKG_ERRORS
   11954 
   11955 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11956 installed software in a non-standard prefix.
   11957 
   11958 Alternatively, you may set the environment variables BMTOA_CFLAGS
   11959 and BMTOA_LIBS to avoid the need to call pkg-config.
   11960 See the pkg-config man page for more details." "$LINENO" 5
   11961 elif test $pkg_failed = untried; then
   11962      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11963 printf "%s\n" "no" >&6; }
   11964 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   11965 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   11966 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11967 is in your PATH or set the PKG_CONFIG environment variable to the full
   11968 path to pkg-config.
   11969 
   11970 Alternatively, you may set the environment variables BMTOA_CFLAGS
   11971 and BMTOA_LIBS to avoid the need to call pkg-config.
   11972 See the pkg-config man page for more details.
   11973 
   11974 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11975 See 'config.log' for more details" "$LINENO" 5; }
   11976 else
   11977 	BMTOA_CFLAGS=$pkg_cv_BMTOA_CFLAGS
   11978 	BMTOA_LIBS=$pkg_cv_BMTOA_LIBS
   11979         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11980 printf "%s\n" "yes" >&6; }
   11981 
   11982 fi
   11983 
   11984 pkg_failed=no
   11985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ATOBM" >&5
   11986 printf %s "checking for ATOBM... " >&6; }
   11987 
   11988 if test -n "$ATOBM_CFLAGS"; then
   11989     pkg_cv_ATOBM_CFLAGS="$ATOBM_CFLAGS"
   11990  elif test -n "$PKG_CONFIG"; then
   11991     if test -n "$PKG_CONFIG" && \
   11992     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.25\""; } >&5
   11993   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.25") 2>&5
   11994   ac_status=$?
   11995   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11996   test $ac_status = 0; }; then
   11997   pkg_cv_ATOBM_CFLAGS=`$PKG_CONFIG --cflags "xproto >= 7.0.25" 2>/dev/null`
   11998 		      test "x$?" != "x0" && pkg_failed=yes
   11999 else
   12000   pkg_failed=yes
   12001 fi
   12002  else
   12003     pkg_failed=untried
   12004 fi
   12005 if test -n "$ATOBM_LIBS"; then
   12006     pkg_cv_ATOBM_LIBS="$ATOBM_LIBS"
   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 \"xproto >= 7.0.25\""; } >&5
   12010   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.25") 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_ATOBM_LIBS=`$PKG_CONFIG --libs "xproto >= 7.0.25" 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 
   12023 
   12024 
   12025 if test $pkg_failed = yes; then
   12026    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12027 printf "%s\n" "no" >&6; }
   12028 
   12029 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   12030         _pkg_short_errors_supported=yes
   12031 else
   12032         _pkg_short_errors_supported=no
   12033 fi
   12034         if test $_pkg_short_errors_supported = yes; then
   12035 	        ATOBM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto >= 7.0.25" 2>&1`
   12036         else
   12037 	        ATOBM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto >= 7.0.25" 2>&1`
   12038         fi
   12039 	# Put the nasty error message in config.log where it belongs
   12040 	echo "$ATOBM_PKG_ERRORS" >&5
   12041 
   12042 	as_fn_error $? "Package requirements (xproto >= 7.0.25) were not met:
   12043 
   12044 $ATOBM_PKG_ERRORS
   12045 
   12046 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12047 installed software in a non-standard prefix.
   12048 
   12049 Alternatively, you may set the environment variables ATOBM_CFLAGS
   12050 and ATOBM_LIBS to avoid the need to call pkg-config.
   12051 See the pkg-config man page for more details." "$LINENO" 5
   12052 elif test $pkg_failed = untried; then
   12053      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12054 printf "%s\n" "no" >&6; }
   12055 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   12056 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   12057 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   12058 is in your PATH or set the PKG_CONFIG environment variable to the full
   12059 path to pkg-config.
   12060 
   12061 Alternatively, you may set the environment variables ATOBM_CFLAGS
   12062 and ATOBM_LIBS to avoid the need to call pkg-config.
   12063 See the pkg-config man page for more details.
   12064 
   12065 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12066 See 'config.log' for more details" "$LINENO" 5; }
   12067 else
   12068 	ATOBM_CFLAGS=$pkg_cv_ATOBM_CFLAGS
   12069 	ATOBM_LIBS=$pkg_cv_ATOBM_LIBS
   12070         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12071 printf "%s\n" "yes" >&6; }
   12072 
   12073 fi
   12074 
   12075 pkg_failed=no
   12076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BITMAP" >&5
   12077 printf %s "checking for BITMAP... " >&6; }
   12078 
   12079 if test -n "$BITMAP_CFLAGS"; then
   12080     pkg_cv_BITMAP_CFLAGS="$BITMAP_CFLAGS"
   12081  elif test -n "$PKG_CONFIG"; then
   12082     if test -n "$PKG_CONFIG" && \
   12083     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xbitmaps xaw7 xmu\""; } >&5
   12084   ($PKG_CONFIG --exists --print-errors "xbitmaps xaw7 xmu") 2>&5
   12085   ac_status=$?
   12086   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12087   test $ac_status = 0; }; then
   12088   pkg_cv_BITMAP_CFLAGS=`$PKG_CONFIG --cflags "xbitmaps xaw7 xmu" 2>/dev/null`
   12089 		      test "x$?" != "x0" && pkg_failed=yes
   12090 else
   12091   pkg_failed=yes
   12092 fi
   12093  else
   12094     pkg_failed=untried
   12095 fi
   12096 if test -n "$BITMAP_LIBS"; then
   12097     pkg_cv_BITMAP_LIBS="$BITMAP_LIBS"
   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 \"xbitmaps xaw7 xmu\""; } >&5
   12101   ($PKG_CONFIG --exists --print-errors "xbitmaps xaw7 xmu") 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_BITMAP_LIBS=`$PKG_CONFIG --libs "xbitmaps xaw7 xmu" 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 
   12114 
   12115 
   12116 if test $pkg_failed = yes; then
   12117    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12118 printf "%s\n" "no" >&6; }
   12119 
   12120 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   12121         _pkg_short_errors_supported=yes
   12122 else
   12123         _pkg_short_errors_supported=no
   12124 fi
   12125         if test $_pkg_short_errors_supported = yes; then
   12126 	        BITMAP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xbitmaps xaw7 xmu" 2>&1`
   12127         else
   12128 	        BITMAP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xbitmaps xaw7 xmu" 2>&1`
   12129         fi
   12130 	# Put the nasty error message in config.log where it belongs
   12131 	echo "$BITMAP_PKG_ERRORS" >&5
   12132 
   12133 	as_fn_error $? "Package requirements (xbitmaps xaw7 xmu) were not met:
   12134 
   12135 $BITMAP_PKG_ERRORS
   12136 
   12137 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12138 installed software in a non-standard prefix.
   12139 
   12140 Alternatively, you may set the environment variables BITMAP_CFLAGS
   12141 and BITMAP_LIBS to avoid the need to call pkg-config.
   12142 See the pkg-config man page for more details." "$LINENO" 5
   12143 elif test $pkg_failed = untried; then
   12144      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12145 printf "%s\n" "no" >&6; }
   12146 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   12147 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   12148 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   12149 is in your PATH or set the PKG_CONFIG environment variable to the full
   12150 path to pkg-config.
   12151 
   12152 Alternatively, you may set the environment variables BITMAP_CFLAGS
   12153 and BITMAP_LIBS to avoid the need to call pkg-config.
   12154 See the pkg-config man page for more details.
   12155 
   12156 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12157 See 'config.log' for more details" "$LINENO" 5; }
   12158 else
   12159 	BITMAP_CFLAGS=$pkg_cv_BITMAP_CFLAGS
   12160 	BITMAP_LIBS=$pkg_cv_BITMAP_LIBS
   12161         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12162 printf "%s\n" "yes" >&6; }
   12163 
   12164 fi
   12165 
   12166 
   12167 pkg_failed=no
   12168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for APPDEFS" >&5
   12169 printf %s "checking for APPDEFS... " >&6; }
   12170 
   12171 if test -n "$APPDEFS_CFLAGS"; then
   12172     pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS"
   12173  elif test -n "$PKG_CONFIG"; then
   12174     if test -n "$PKG_CONFIG" && \
   12175     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   12176   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   12177   ac_status=$?
   12178   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12179   test $ac_status = 0; }; then
   12180   pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
   12181 		      test "x$?" != "x0" && pkg_failed=yes
   12182 else
   12183   pkg_failed=yes
   12184 fi
   12185  else
   12186     pkg_failed=untried
   12187 fi
   12188 if test -n "$APPDEFS_LIBS"; then
   12189     pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS"
   12190  elif test -n "$PKG_CONFIG"; then
   12191     if test -n "$PKG_CONFIG" && \
   12192     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   12193   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   12194   ac_status=$?
   12195   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12196   test $ac_status = 0; }; then
   12197   pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
   12198 		      test "x$?" != "x0" && pkg_failed=yes
   12199 else
   12200   pkg_failed=yes
   12201 fi
   12202  else
   12203     pkg_failed=untried
   12204 fi
   12205 
   12206 
   12207 
   12208 if test $pkg_failed = yes; then
   12209    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12210 printf "%s\n" "no" >&6; }
   12211 
   12212 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   12213         _pkg_short_errors_supported=yes
   12214 else
   12215         _pkg_short_errors_supported=no
   12216 fi
   12217         if test $_pkg_short_errors_supported = yes; then
   12218 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xt" 2>&1`
   12219         else
   12220 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xt" 2>&1`
   12221         fi
   12222 	# Put the nasty error message in config.log where it belongs
   12223 	echo "$APPDEFS_PKG_ERRORS" >&5
   12224 
   12225 	as_fn_error $? "Package requirements (xt) were not met:
   12226 
   12227 $APPDEFS_PKG_ERRORS
   12228 
   12229 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12230 installed software in a non-standard prefix.
   12231 
   12232 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   12233 and APPDEFS_LIBS to avoid the need to call pkg-config.
   12234 See the pkg-config man page for more details." "$LINENO" 5
   12235 elif test $pkg_failed = untried; then
   12236      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12237 printf "%s\n" "no" >&6; }
   12238 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   12239 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   12240 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   12241 is in your PATH or set the PKG_CONFIG environment variable to the full
   12242 path to pkg-config.
   12243 
   12244 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   12245 and APPDEFS_LIBS to avoid the need to call pkg-config.
   12246 See the pkg-config man page for more details.
   12247 
   12248 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12249 See 'config.log' for more details" "$LINENO" 5; }
   12250 else
   12251 	APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS
   12252 	APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS
   12253         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12254 printf "%s\n" "yes" >&6; }
   12255 
   12256 fi
   12257 xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
   12258 
   12259 # Check whether --with-appdefaultdir was given.
   12260 if test ${with_appdefaultdir+y}
   12261 then :
   12262   withval=$with_appdefaultdir; appdefaultdir="$withval"
   12263 else case e in #(
   12264   e) appdefaultdir="${xt_appdefaultdir}" ;;
   12265 esac
   12266 fi
   12267 
   12268 
   12269 
   12270 ac_config_files="$ac_config_files Makefile man/Makefile"
   12271 
   12272 ac_config_files="$ac_config_files test/round-trip-test"
   12273 
   12274 cat >confcache <<\_ACEOF
   12275 # This file is a shell script that caches the results of configure
   12276 # tests run on this system so they can be shared between configure
   12277 # scripts and configure runs, see configure's option --config-cache.
   12278 # It is not useful on other systems.  If it contains results you don't
   12279 # want to keep, you may remove or edit it.
   12280 #
   12281 # config.status only pays attention to the cache file if you give it
   12282 # the --recheck option to rerun configure.
   12283 #
   12284 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   12285 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   12286 # following values.
   12287 
   12288 _ACEOF
   12289 
   12290 # The following way of writing the cache mishandles newlines in values,
   12291 # but we know of no workaround that is simple, portable, and efficient.
   12292 # So, we kill variables containing newlines.
   12293 # Ultrix sh set writes to stderr and can't be redirected directly,
   12294 # and sets the high bit in the cache file unless we assign to the vars.
   12295 (
   12296   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   12297     eval ac_val=\$$ac_var
   12298     case $ac_val in #(
   12299     *${as_nl}*)
   12300       case $ac_var in #(
   12301       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   12302 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   12303       esac
   12304       case $ac_var in #(
   12305       _ | IFS | as_nl) ;; #(
   12306       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   12307       *) { eval $ac_var=; unset $ac_var;} ;;
   12308       esac ;;
   12309     esac
   12310   done
   12311 
   12312   (set) 2>&1 |
   12313     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   12314     *${as_nl}ac_space=\ *)
   12315       # 'set' does not quote correctly, so add quotes: double-quote
   12316       # substitution turns \\\\ into \\, and sed turns \\ into \.
   12317       sed -n \
   12318 	"s/'/'\\\\''/g;
   12319 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   12320       ;; #(
   12321     *)
   12322       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   12323       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   12324       ;;
   12325     esac |
   12326     sort
   12327 ) |
   12328   sed '
   12329      /^ac_cv_env_/b end
   12330      t clear
   12331      :clear
   12332      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   12333      t end
   12334      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   12335      :end' >>confcache
   12336 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   12337   if test -w "$cache_file"; then
   12338     if test "x$cache_file" != "x/dev/null"; then
   12339       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   12340 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   12341       if test ! -f "$cache_file" || test -h "$cache_file"; then
   12342 	cat confcache >"$cache_file"
   12343       else
   12344         case $cache_file in #(
   12345         */* | ?:*)
   12346 	  mv -f confcache "$cache_file"$$ &&
   12347 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   12348         *)
   12349 	  mv -f confcache "$cache_file" ;;
   12350 	esac
   12351       fi
   12352     fi
   12353   else
   12354     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   12355 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   12356   fi
   12357 fi
   12358 rm -f confcache
   12359 
   12360 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   12361 # Let make expand exec_prefix.
   12362 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   12363 
   12364 DEFS=-DHAVE_CONFIG_H
   12365 
   12366 ac_libobjs=
   12367 ac_ltlibobjs=
   12368 U=
   12369 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   12370   # 1. Remove the extension, and $U if already installed.
   12371   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   12372   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   12373   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   12374   #    will be set to the directory where LIBOBJS objects are built.
   12375   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   12376   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   12377 done
   12378 LIBOBJS=$ac_libobjs
   12379 
   12380 LTLIBOBJS=$ac_ltlibobjs
   12381 
   12382 
   12383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   12384 printf %s "checking that generated files are newer than configure... " >&6; }
   12385    if test -n "$am_sleep_pid"; then
   12386      # Hide warnings about reused PIDs.
   12387      wait $am_sleep_pid 2>/dev/null
   12388    fi
   12389    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   12390 printf "%s\n" "done" >&6; }
   12391  if test -n "$EXEEXT"; then
   12392   am__EXEEXT_TRUE=
   12393   am__EXEEXT_FALSE='#'
   12394 else
   12395   am__EXEEXT_TRUE='#'
   12396   am__EXEEXT_FALSE=
   12397 fi
   12398 
   12399 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   12400   as_fn_error $? "conditional \"AMDEP\" was never defined.
   12401 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12402 fi
   12403 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   12404   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   12405 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12406 fi
   12407 # Check whether --enable-year2038 was given.
   12408 if test ${enable_year2038+y}
   12409 then :
   12410   enableval=$enable_year2038;
   12411 fi
   12412 
   12413 
   12414 : "${CONFIG_STATUS=./config.status}"
   12415 ac_write_fail=0
   12416 ac_clean_files_save=$ac_clean_files
   12417 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   12418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   12419 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   12420 as_write_fail=0
   12421 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   12422 #! $SHELL
   12423 # Generated by $as_me.
   12424 # Run this file to recreate the current configuration.
   12425 # Compiler output produced by configure, useful for debugging
   12426 # configure, is in config.log if it exists.
   12427 
   12428 debug=false
   12429 ac_cs_recheck=false
   12430 ac_cs_silent=false
   12431 
   12432 SHELL=\${CONFIG_SHELL-$SHELL}
   12433 export SHELL
   12434 _ASEOF
   12435 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   12436 ## -------------------- ##
   12437 ## M4sh Initialization. ##
   12438 ## -------------------- ##
   12439 
   12440 # Be more Bourne compatible
   12441 DUALCASE=1; export DUALCASE # for MKS sh
   12442 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   12443 then :
   12444   emulate sh
   12445   NULLCMD=:
   12446   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   12447   # is contrary to our usage.  Disable this feature.
   12448   alias -g '${1+"$@"}'='"$@"'
   12449   setopt NO_GLOB_SUBST
   12450 else case e in #(
   12451   e) case `(set -o) 2>/dev/null` in #(
   12452   *posix*) :
   12453     set -o posix ;; #(
   12454   *) :
   12455      ;;
   12456 esac ;;
   12457 esac
   12458 fi
   12459 
   12460 
   12461 
   12462 # Reset variables that may have inherited troublesome values from
   12463 # the environment.
   12464 
   12465 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   12466 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   12467 # side effect of setting IFS to empty, thus disabling word splitting.)
   12468 # Quoting is to prevent editors from complaining about space-tab.
   12469 as_nl='
   12470 '
   12471 export as_nl
   12472 IFS=" ""	$as_nl"
   12473 
   12474 PS1='$ '
   12475 PS2='> '
   12476 PS4='+ '
   12477 
   12478 # Ensure predictable behavior from utilities with locale-dependent output.
   12479 LC_ALL=C
   12480 export LC_ALL
   12481 LANGUAGE=C
   12482 export LANGUAGE
   12483 
   12484 # We cannot yet rely on "unset" to work, but we need these variables
   12485 # to be unset--not just set to an empty or harmless value--now, to
   12486 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   12487 # also avoids known problems related to "unset" and subshell syntax
   12488 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   12489 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   12490 do eval test \${$as_var+y} \
   12491   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   12492 done
   12493 
   12494 # Ensure that fds 0, 1, and 2 are open.
   12495 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   12496 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   12497 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   12498 
   12499 # The user is always right.
   12500 if ${PATH_SEPARATOR+false} :; then
   12501   PATH_SEPARATOR=:
   12502   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   12503     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   12504       PATH_SEPARATOR=';'
   12505   }
   12506 fi
   12507 
   12508 
   12509 # Find who we are.  Look in the path if we contain no directory separator.
   12510 as_myself=
   12511 case $0 in #((
   12512   *[\\/]* ) as_myself=$0 ;;
   12513   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12514 for as_dir in $PATH
   12515 do
   12516   IFS=$as_save_IFS
   12517   case $as_dir in #(((
   12518     '') as_dir=./ ;;
   12519     */) ;;
   12520     *) as_dir=$as_dir/ ;;
   12521   esac
   12522     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   12523   done
   12524 IFS=$as_save_IFS
   12525 
   12526      ;;
   12527 esac
   12528 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   12529 # in which case we are not to be found in the path.
   12530 if test "x$as_myself" = x; then
   12531   as_myself=$0
   12532 fi
   12533 if test ! -f "$as_myself"; then
   12534   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   12535   exit 1
   12536 fi
   12537 
   12538 
   12539 
   12540 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   12541 # ----------------------------------------
   12542 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   12543 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   12544 # script with STATUS, using 1 if that was 0.
   12545 as_fn_error ()
   12546 {
   12547   as_status=$1; test $as_status -eq 0 && as_status=1
   12548   if test "$4"; then
   12549     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   12550     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   12551   fi
   12552   printf "%s\n" "$as_me: error: $2" >&2
   12553   as_fn_exit $as_status
   12554 } # as_fn_error
   12555 
   12556 
   12557 # as_fn_set_status STATUS
   12558 # -----------------------
   12559 # Set $? to STATUS, without forking.
   12560 as_fn_set_status ()
   12561 {
   12562   return $1
   12563 } # as_fn_set_status
   12564 
   12565 # as_fn_exit STATUS
   12566 # -----------------
   12567 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   12568 as_fn_exit ()
   12569 {
   12570   set +e
   12571   as_fn_set_status $1
   12572   exit $1
   12573 } # as_fn_exit
   12574 
   12575 # as_fn_unset VAR
   12576 # ---------------
   12577 # Portably unset VAR.
   12578 as_fn_unset ()
   12579 {
   12580   { eval $1=; unset $1;}
   12581 }
   12582 as_unset=as_fn_unset
   12583 
   12584 # as_fn_append VAR VALUE
   12585 # ----------------------
   12586 # Append the text in VALUE to the end of the definition contained in VAR. Take
   12587 # advantage of any shell optimizations that allow amortized linear growth over
   12588 # repeated appends, instead of the typical quadratic growth present in naive
   12589 # implementations.
   12590 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   12591 then :
   12592   eval 'as_fn_append ()
   12593   {
   12594     eval $1+=\$2
   12595   }'
   12596 else case e in #(
   12597   e) as_fn_append ()
   12598   {
   12599     eval $1=\$$1\$2
   12600   } ;;
   12601 esac
   12602 fi # as_fn_append
   12603 
   12604 # as_fn_arith ARG...
   12605 # ------------------
   12606 # Perform arithmetic evaluation on the ARGs, and store the result in the
   12607 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   12608 # must be portable across $(()) and expr.
   12609 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   12610 then :
   12611   eval 'as_fn_arith ()
   12612   {
   12613     as_val=$(( $* ))
   12614   }'
   12615 else case e in #(
   12616   e) as_fn_arith ()
   12617   {
   12618     as_val=`expr "$@" || test $? -eq 1`
   12619   } ;;
   12620 esac
   12621 fi # as_fn_arith
   12622 
   12623 
   12624 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12625    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12626   as_expr=expr
   12627 else
   12628   as_expr=false
   12629 fi
   12630 
   12631 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12632   as_basename=basename
   12633 else
   12634   as_basename=false
   12635 fi
   12636 
   12637 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12638   as_dirname=dirname
   12639 else
   12640   as_dirname=false
   12641 fi
   12642 
   12643 as_me=`$as_basename -- "$0" ||
   12644 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12645 	 X"$0" : 'X\(//\)$' \| \
   12646 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12647 printf "%s\n" X/"$0" |
   12648     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12649 	    s//\1/
   12650 	    q
   12651 	  }
   12652 	  /^X\/\(\/\/\)$/{
   12653 	    s//\1/
   12654 	    q
   12655 	  }
   12656 	  /^X\/\(\/\).*/{
   12657 	    s//\1/
   12658 	    q
   12659 	  }
   12660 	  s/.*/./; q'`
   12661 
   12662 # Avoid depending upon Character Ranges.
   12663 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12664 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12665 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12666 as_cr_digits='0123456789'
   12667 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12668 
   12669 
   12670 # Determine whether it's possible to make 'echo' print without a newline.
   12671 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   12672 # for compatibility with existing Makefiles.
   12673 ECHO_C= ECHO_N= ECHO_T=
   12674 case `echo -n x` in #(((((
   12675 -n*)
   12676   case `echo 'xy\c'` in
   12677   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   12678   xy)  ECHO_C='\c';;
   12679   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   12680        ECHO_T='	';;
   12681   esac;;
   12682 *)
   12683   ECHO_N='-n';;
   12684 esac
   12685 
   12686 # For backward compatibility with old third-party macros, we provide
   12687 # the shell variables $as_echo and $as_echo_n.  New code should use
   12688 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   12689 as_echo='printf %s\n'
   12690 as_echo_n='printf %s'
   12691 
   12692 rm -f conf$$ conf$$.exe conf$$.file
   12693 if test -d conf$$.dir; then
   12694   rm -f conf$$.dir/conf$$.file
   12695 else
   12696   rm -f conf$$.dir
   12697   mkdir conf$$.dir 2>/dev/null
   12698 fi
   12699 if (echo >conf$$.file) 2>/dev/null; then
   12700   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12701     as_ln_s='ln -s'
   12702     # ... but there are two gotchas:
   12703     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   12704     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   12705     # In both cases, we have to default to 'cp -pR'.
   12706     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12707       as_ln_s='cp -pR'
   12708   elif ln conf$$.file conf$$ 2>/dev/null; then
   12709     as_ln_s=ln
   12710   else
   12711     as_ln_s='cp -pR'
   12712   fi
   12713 else
   12714   as_ln_s='cp -pR'
   12715 fi
   12716 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12717 rmdir conf$$.dir 2>/dev/null
   12718 
   12719 
   12720 # as_fn_mkdir_p
   12721 # -------------
   12722 # Create "$as_dir" as a directory, including parents if necessary.
   12723 as_fn_mkdir_p ()
   12724 {
   12725 
   12726   case $as_dir in #(
   12727   -*) as_dir=./$as_dir;;
   12728   esac
   12729   test -d "$as_dir" || eval $as_mkdir_p || {
   12730     as_dirs=
   12731     while :; do
   12732       case $as_dir in #(
   12733       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12734       *) as_qdir=$as_dir;;
   12735       esac
   12736       as_dirs="'$as_qdir' $as_dirs"
   12737       as_dir=`$as_dirname -- "$as_dir" ||
   12738 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12739 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12740 	 X"$as_dir" : 'X\(//\)$' \| \
   12741 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12742 printf "%s\n" X"$as_dir" |
   12743     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12744 	    s//\1/
   12745 	    q
   12746 	  }
   12747 	  /^X\(\/\/\)[^/].*/{
   12748 	    s//\1/
   12749 	    q
   12750 	  }
   12751 	  /^X\(\/\/\)$/{
   12752 	    s//\1/
   12753 	    q
   12754 	  }
   12755 	  /^X\(\/\).*/{
   12756 	    s//\1/
   12757 	    q
   12758 	  }
   12759 	  s/.*/./; q'`
   12760       test -d "$as_dir" && break
   12761     done
   12762     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12763   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12764 
   12765 
   12766 } # as_fn_mkdir_p
   12767 if mkdir -p . 2>/dev/null; then
   12768   as_mkdir_p='mkdir -p "$as_dir"'
   12769 else
   12770   test -d ./-p && rmdir ./-p
   12771   as_mkdir_p=false
   12772 fi
   12773 
   12774 
   12775 # as_fn_executable_p FILE
   12776 # -----------------------
   12777 # Test if FILE is an executable regular file.
   12778 as_fn_executable_p ()
   12779 {
   12780   test -f "$1" && test -x "$1"
   12781 } # as_fn_executable_p
   12782 as_test_x='test -x'
   12783 as_executable_p=as_fn_executable_p
   12784 
   12785 # Sed expression to map a string onto a valid CPP name.
   12786 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   12787 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   12788 
   12789 # Sed expression to map a string onto a valid variable name.
   12790 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   12791 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   12792 
   12793 
   12794 exec 6>&1
   12795 ## ----------------------------------- ##
   12796 ## Main body of $CONFIG_STATUS script. ##
   12797 ## ----------------------------------- ##
   12798 _ASEOF
   12799 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   12800 
   12801 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12802 # Save the log message, to keep $0 and so on meaningful, and to
   12803 # report actual input values of CONFIG_FILES etc. instead of their
   12804 # values after options handling.
   12805 ac_log="
   12806 This file was extended by bitmap $as_me 1.1.1, which was
   12807 generated by GNU Autoconf 2.72.  Invocation command line was
   12808 
   12809   CONFIG_FILES    = $CONFIG_FILES
   12810   CONFIG_HEADERS  = $CONFIG_HEADERS
   12811   CONFIG_LINKS    = $CONFIG_LINKS
   12812   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12813   $ $0 $@
   12814 
   12815 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12816 "
   12817 
   12818 _ACEOF
   12819 
   12820 case $ac_config_files in *"
   12821 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12822 esac
   12823 
   12824 case $ac_config_headers in *"
   12825 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12826 esac
   12827 
   12828 
   12829 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12830 # Files that config.status was made for.
   12831 config_files="$ac_config_files"
   12832 config_headers="$ac_config_headers"
   12833 config_commands="$ac_config_commands"
   12834 
   12835 _ACEOF
   12836 
   12837 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12838 ac_cs_usage="\
   12839 '$as_me' instantiates files and other configuration actions
   12840 from templates according to the current configuration.  Unless the files
   12841 and actions are specified as TAGs, all are instantiated by default.
   12842 
   12843 Usage: $0 [OPTION]... [TAG]...
   12844 
   12845   -h, --help       print this help, then exit
   12846   -V, --version    print version number and configuration settings, then exit
   12847       --config     print configuration, then exit
   12848   -q, --quiet, --silent
   12849                    do not print progress messages
   12850   -d, --debug      don't remove temporary files
   12851       --recheck    update $as_me by reconfiguring in the same conditions
   12852       --file=FILE[:TEMPLATE]
   12853                    instantiate the configuration file FILE
   12854       --header=FILE[:TEMPLATE]
   12855                    instantiate the configuration header FILE
   12856 
   12857 Configuration files:
   12858 $config_files
   12859 
   12860 Configuration headers:
   12861 $config_headers
   12862 
   12863 Configuration commands:
   12864 $config_commands
   12865 
   12866 Report bugs to <https://gitlab.freedesktop.org/xorg/app/bitmap/issues>."
   12867 
   12868 _ACEOF
   12869 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   12870 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   12871 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12872 ac_cs_config='$ac_cs_config_escaped'
   12873 ac_cs_version="\\
   12874 bitmap config.status 1.1.1
   12875 configured by $0, generated by GNU Autoconf 2.72,
   12876   with options \\"\$ac_cs_config\\"
   12877 
   12878 Copyright (C) 2023 Free Software Foundation, Inc.
   12879 This config.status script is free software; the Free Software Foundation
   12880 gives unlimited permission to copy, distribute and modify it."
   12881 
   12882 ac_pwd='$ac_pwd'
   12883 srcdir='$srcdir'
   12884 INSTALL='$INSTALL'
   12885 MKDIR_P='$MKDIR_P'
   12886 AWK='$AWK'
   12887 test -n "\$AWK" || AWK=awk
   12888 _ACEOF
   12889 
   12890 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12891 # The default lists apply if the user does not specify any file.
   12892 ac_need_defaults=:
   12893 while test $# != 0
   12894 do
   12895   case $1 in
   12896   --*=?*)
   12897     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12898     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12899     ac_shift=:
   12900     ;;
   12901   --*=)
   12902     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12903     ac_optarg=
   12904     ac_shift=:
   12905     ;;
   12906   *)
   12907     ac_option=$1
   12908     ac_optarg=$2
   12909     ac_shift=shift
   12910     ;;
   12911   esac
   12912 
   12913   case $ac_option in
   12914   # Handling of the options.
   12915   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12916     ac_cs_recheck=: ;;
   12917   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12918     printf "%s\n" "$ac_cs_version"; exit ;;
   12919   --config | --confi | --conf | --con | --co | --c )
   12920     printf "%s\n" "$ac_cs_config"; exit ;;
   12921   --debug | --debu | --deb | --de | --d | -d )
   12922     debug=: ;;
   12923   --file | --fil | --fi | --f )
   12924     $ac_shift
   12925     case $ac_optarg in
   12926     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12927     '') as_fn_error $? "missing file argument" ;;
   12928     esac
   12929     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12930     ac_need_defaults=false;;
   12931   --header | --heade | --head | --hea )
   12932     $ac_shift
   12933     case $ac_optarg in
   12934     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12935     esac
   12936     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12937     ac_need_defaults=false;;
   12938   --he | --h)
   12939     # Conflict between --help and --header
   12940     as_fn_error $? "ambiguous option: '$1'
   12941 Try '$0 --help' for more information.";;
   12942   --help | --hel | -h )
   12943     printf "%s\n" "$ac_cs_usage"; exit ;;
   12944   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12945   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12946     ac_cs_silent=: ;;
   12947 
   12948   # This is an error.
   12949   -*) as_fn_error $? "unrecognized option: '$1'
   12950 Try '$0 --help' for more information." ;;
   12951 
   12952   *) as_fn_append ac_config_targets " $1"
   12953      ac_need_defaults=false ;;
   12954 
   12955   esac
   12956   shift
   12957 done
   12958 
   12959 ac_configure_extra_args=
   12960 
   12961 if $ac_cs_silent; then
   12962   exec 6>/dev/null
   12963   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12964 fi
   12965 
   12966 _ACEOF
   12967 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12968 if \$ac_cs_recheck; then
   12969   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12970   shift
   12971   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   12972   CONFIG_SHELL='$SHELL'
   12973   export CONFIG_SHELL
   12974   exec "\$@"
   12975 fi
   12976 
   12977 _ACEOF
   12978 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12979 exec 5>>config.log
   12980 {
   12981   echo
   12982   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12983 ## Running $as_me. ##
   12984 _ASBOX
   12985   printf "%s\n" "$ac_log"
   12986 } >&5
   12987 
   12988 _ACEOF
   12989 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12990 #
   12991 # INIT-COMMANDS
   12992 #
   12993 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   12994 
   12995 _ACEOF
   12996 
   12997 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12998 
   12999 # Handling of arguments.
   13000 for ac_config_target in $ac_config_targets
   13001 do
   13002   case $ac_config_target in
   13003     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   13004     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   13005     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   13006     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   13007     "test/round-trip-test") CONFIG_FILES="$CONFIG_FILES test/round-trip-test" ;;
   13008 
   13009   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   13010   esac
   13011 done
   13012 
   13013 
   13014 # If the user did not use the arguments to specify the items to instantiate,
   13015 # then the envvar interface is used.  Set only those that are not.
   13016 # We use the long form for the default assignment because of an extremely
   13017 # bizarre bug on SunOS 4.1.3.
   13018 if $ac_need_defaults; then
   13019   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   13020   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   13021   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   13022 fi
   13023 
   13024 # Have a temporary directory for convenience.  Make it in the build tree
   13025 # simply because there is no reason against having it here, and in addition,
   13026 # creating and moving files from /tmp can sometimes cause problems.
   13027 # Hook for its removal unless debugging.
   13028 # Note that there is a small window in which the directory will not be cleaned:
   13029 # after its creation but before its name has been assigned to '$tmp'.
   13030 $debug ||
   13031 {
   13032   tmp= ac_tmp=
   13033   trap 'exit_status=$?
   13034   : "${ac_tmp:=$tmp}"
   13035   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   13036 ' 0
   13037   trap 'as_fn_exit 1' 1 2 13 15
   13038 }
   13039 # Create a (secure) tmp directory for tmp files.
   13040 
   13041 {
   13042   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   13043   test -d "$tmp"
   13044 }  ||
   13045 {
   13046   tmp=./conf$$-$RANDOM
   13047   (umask 077 && mkdir "$tmp")
   13048 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   13049 ac_tmp=$tmp
   13050 
   13051 # Set up the scripts for CONFIG_FILES section.
   13052 # No need to generate them if there are no CONFIG_FILES.
   13053 # This happens for instance with './config.status config.h'.
   13054 if test -n "$CONFIG_FILES"; then
   13055 
   13056 
   13057 ac_cr=`echo X | tr X '\015'`
   13058 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   13059 # But we know of no other shell where ac_cr would be empty at this
   13060 # point, so we can use a bashism as a fallback.
   13061 if test "x$ac_cr" = x; then
   13062   eval ac_cr=\$\'\\r\'
   13063 fi
   13064 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   13065 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   13066   ac_cs_awk_cr='\\r'
   13067 else
   13068   ac_cs_awk_cr=$ac_cr
   13069 fi
   13070 
   13071 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   13072 _ACEOF
   13073 
   13074 
   13075 {
   13076   echo "cat >conf$$subs.awk <<_ACEOF" &&
   13077   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   13078   echo "_ACEOF"
   13079 } >conf$$subs.sh ||
   13080   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13081 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   13082 ac_delim='%!_!# '
   13083 for ac_last_try in false false false false false :; do
   13084   . ./conf$$subs.sh ||
   13085     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13086 
   13087   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   13088   if test $ac_delim_n = $ac_delim_num; then
   13089     break
   13090   elif $ac_last_try; then
   13091     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13092   else
   13093     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13094   fi
   13095 done
   13096 rm -f conf$$subs.sh
   13097 
   13098 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13099 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   13100 _ACEOF
   13101 sed -n '
   13102 h
   13103 s/^/S["/; s/!.*/"]=/
   13104 p
   13105 g
   13106 s/^[^!]*!//
   13107 :repl
   13108 t repl
   13109 s/'"$ac_delim"'$//
   13110 t delim
   13111 :nl
   13112 h
   13113 s/\(.\{148\}\)..*/\1/
   13114 t more1
   13115 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   13116 p
   13117 n
   13118 b repl
   13119 :more1
   13120 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13121 p
   13122 g
   13123 s/.\{148\}//
   13124 t nl
   13125 :delim
   13126 h
   13127 s/\(.\{148\}\)..*/\1/
   13128 t more2
   13129 s/["\\]/\\&/g; s/^/"/; s/$/"/
   13130 p
   13131 b
   13132 :more2
   13133 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13134 p
   13135 g
   13136 s/.\{148\}//
   13137 t delim
   13138 ' <conf$$subs.awk | sed '
   13139 /^[^""]/{
   13140   N
   13141   s/\n//
   13142 }
   13143 ' >>$CONFIG_STATUS || ac_write_fail=1
   13144 rm -f conf$$subs.awk
   13145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13146 _ACAWK
   13147 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   13148   for (key in S) S_is_set[key] = 1
   13149   FS = ""
   13150 
   13151 }
   13152 {
   13153   line = $ 0
   13154   nfields = split(line, field, "@")
   13155   substed = 0
   13156   len = length(field[1])
   13157   for (i = 2; i < nfields; i++) {
   13158     key = field[i]
   13159     keylen = length(key)
   13160     if (S_is_set[key]) {
   13161       value = S[key]
   13162       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   13163       len += length(value) + length(field[++i])
   13164       substed = 1
   13165     } else
   13166       len += 1 + keylen
   13167   }
   13168 
   13169   print line
   13170 }
   13171 
   13172 _ACAWK
   13173 _ACEOF
   13174 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13175 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   13176   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   13177 else
   13178   cat
   13179 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   13180   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   13181 _ACEOF
   13182 
   13183 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   13184 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   13185 # trailing colons and then remove the whole line if VPATH becomes empty
   13186 # (actually we leave an empty line to preserve line numbers).
   13187 if test "x$srcdir" = x.; then
   13188   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   13189 h
   13190 s///
   13191 s/^/:/
   13192 s/[	 ]*$/:/
   13193 s/:\$(srcdir):/:/g
   13194 s/:\${srcdir}:/:/g
   13195 s/:@srcdir@:/:/g
   13196 s/^:*//
   13197 s/:*$//
   13198 x
   13199 s/\(=[	 ]*\).*/\1/
   13200 G
   13201 s/\n//
   13202 s/^[^=]*=[	 ]*$//
   13203 }'
   13204 fi
   13205 
   13206 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13207 fi # test -n "$CONFIG_FILES"
   13208 
   13209 # Set up the scripts for CONFIG_HEADERS section.
   13210 # No need to generate them if there are no CONFIG_HEADERS.
   13211 # This happens for instance with './config.status Makefile'.
   13212 if test -n "$CONFIG_HEADERS"; then
   13213 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   13214 BEGIN {
   13215 _ACEOF
   13216 
   13217 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   13218 # here-document in config.status, that substitutes the proper values into
   13219 # config.h.in to produce config.h.
   13220 
   13221 # Create a delimiter string that does not exist in confdefs.h, to ease
   13222 # handling of long lines.
   13223 ac_delim='%!_!# '
   13224 for ac_last_try in false false :; do
   13225   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   13226   if test -z "$ac_tt"; then
   13227     break
   13228   elif $ac_last_try; then
   13229     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   13230   else
   13231     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13232   fi
   13233 done
   13234 
   13235 # For the awk script, D is an array of macro values keyed by name,
   13236 # likewise P contains macro parameters if any.  Preserve backslash
   13237 # newline sequences.
   13238 
   13239 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   13240 sed -n '
   13241 s/.\{148\}/&'"$ac_delim"'/g
   13242 t rset
   13243 :rset
   13244 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   13245 t def
   13246 d
   13247 :def
   13248 s/\\$//
   13249 t bsnl
   13250 s/["\\]/\\&/g
   13251 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13252 D["\1"]=" \3"/p
   13253 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   13254 d
   13255 :bsnl
   13256 s/["\\]/\\&/g
   13257 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13258 D["\1"]=" \3\\\\\\n"\\/p
   13259 t cont
   13260 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   13261 t cont
   13262 d
   13263 :cont
   13264 n
   13265 s/.\{148\}/&'"$ac_delim"'/g
   13266 t clear
   13267 :clear
   13268 s/\\$//
   13269 t bsnlc
   13270 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   13271 d
   13272 :bsnlc
   13273 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   13274 b cont
   13275 ' <confdefs.h | sed '
   13276 s/'"$ac_delim"'/"\\\
   13277 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   13278 
   13279 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13280   for (key in D) D_is_set[key] = 1
   13281   FS = ""
   13282 }
   13283 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   13284   line = \$ 0
   13285   split(line, arg, " ")
   13286   if (arg[1] == "#") {
   13287     defundef = arg[2]
   13288     mac1 = arg[3]
   13289   } else {
   13290     defundef = substr(arg[1], 2)
   13291     mac1 = arg[2]
   13292   }
   13293   split(mac1, mac2, "(") #)
   13294   macro = mac2[1]
   13295   prefix = substr(line, 1, index(line, defundef) - 1)
   13296   if (D_is_set[macro]) {
   13297     # Preserve the white space surrounding the "#".
   13298     print prefix "define", macro P[macro] D[macro]
   13299     next
   13300   } else {
   13301     # Replace #undef with comments.  This is necessary, for example,
   13302     # in the case of _POSIX_SOURCE, which is predefined and required
   13303     # on some systems where configure will not decide to define it.
   13304     if (defundef == "undef") {
   13305       print "/*", prefix defundef, macro, "*/"
   13306       next
   13307     }
   13308   }
   13309 }
   13310 { print }
   13311 _ACAWK
   13312 _ACEOF
   13313 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13314   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   13315 fi # test -n "$CONFIG_HEADERS"
   13316 
   13317 
   13318 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   13319 shift
   13320 for ac_tag
   13321 do
   13322   case $ac_tag in
   13323   :[FHLC]) ac_mode=$ac_tag; continue;;
   13324   esac
   13325   case $ac_mode$ac_tag in
   13326   :[FHL]*:*);;
   13327   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   13328   :[FH]-) ac_tag=-:-;;
   13329   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   13330   esac
   13331   ac_save_IFS=$IFS
   13332   IFS=:
   13333   set x $ac_tag
   13334   IFS=$ac_save_IFS
   13335   shift
   13336   ac_file=$1
   13337   shift
   13338 
   13339   case $ac_mode in
   13340   :L) ac_source=$1;;
   13341   :[FH])
   13342     ac_file_inputs=
   13343     for ac_f
   13344     do
   13345       case $ac_f in
   13346       -) ac_f="$ac_tmp/stdin";;
   13347       *) # Look for the file first in the build tree, then in the source tree
   13348 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   13349 	 # because $ac_f cannot contain ':'.
   13350 	 test -f "$ac_f" ||
   13351 	   case $ac_f in
   13352 	   [\\/$]*) false;;
   13353 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   13354 	   esac ||
   13355 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   13356       esac
   13357       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   13358       as_fn_append ac_file_inputs " '$ac_f'"
   13359     done
   13360 
   13361     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   13362     # use $as_me), people would be surprised to read:
   13363     #    /* config.h.  Generated by config.status.  */
   13364     configure_input='Generated from '`
   13365 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   13366 	`' by configure.'
   13367     if test x"$ac_file" != x-; then
   13368       configure_input="$ac_file.  $configure_input"
   13369       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   13370 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   13371     fi
   13372     # Neutralize special characters interpreted by sed in replacement strings.
   13373     case $configure_input in #(
   13374     *\&* | *\|* | *\\* )
   13375        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   13376        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   13377     *) ac_sed_conf_input=$configure_input;;
   13378     esac
   13379 
   13380     case $ac_tag in
   13381     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   13382       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   13383     esac
   13384     ;;
   13385   esac
   13386 
   13387   ac_dir=`$as_dirname -- "$ac_file" ||
   13388 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13389 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   13390 	 X"$ac_file" : 'X\(//\)$' \| \
   13391 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   13392 printf "%s\n" X"$ac_file" |
   13393     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13394 	    s//\1/
   13395 	    q
   13396 	  }
   13397 	  /^X\(\/\/\)[^/].*/{
   13398 	    s//\1/
   13399 	    q
   13400 	  }
   13401 	  /^X\(\/\/\)$/{
   13402 	    s//\1/
   13403 	    q
   13404 	  }
   13405 	  /^X\(\/\).*/{
   13406 	    s//\1/
   13407 	    q
   13408 	  }
   13409 	  s/.*/./; q'`
   13410   as_dir="$ac_dir"; as_fn_mkdir_p
   13411   ac_builddir=.
   13412 
   13413 case "$ac_dir" in
   13414 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13415 *)
   13416   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   13417   # A ".." for each directory in $ac_dir_suffix.
   13418   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   13419   case $ac_top_builddir_sub in
   13420   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13421   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   13422   esac ;;
   13423 esac
   13424 ac_abs_top_builddir=$ac_pwd
   13425 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   13426 # for backward compatibility:
   13427 ac_top_builddir=$ac_top_build_prefix
   13428 
   13429 case $srcdir in
   13430   .)  # We are building in place.
   13431     ac_srcdir=.
   13432     ac_top_srcdir=$ac_top_builddir_sub
   13433     ac_abs_top_srcdir=$ac_pwd ;;
   13434   [\\/]* | ?:[\\/]* )  # Absolute name.
   13435     ac_srcdir=$srcdir$ac_dir_suffix;
   13436     ac_top_srcdir=$srcdir
   13437     ac_abs_top_srcdir=$srcdir ;;
   13438   *) # Relative name.
   13439     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   13440     ac_top_srcdir=$ac_top_build_prefix$srcdir
   13441     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   13442 esac
   13443 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   13444 
   13445 
   13446   case $ac_mode in
   13447   :F)
   13448   #
   13449   # CONFIG_FILE
   13450   #
   13451 
   13452   case $INSTALL in
   13453   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   13454   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   13455   esac
   13456   ac_MKDIR_P=$MKDIR_P
   13457   case $MKDIR_P in
   13458   [\\/$]* | ?:[\\/]* ) ;;
   13459   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   13460   esac
   13461 _ACEOF
   13462 
   13463 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13464 # If the template does not know about datarootdir, expand it.
   13465 # FIXME: This hack should be removed a few years after 2.60.
   13466 ac_datarootdir_hack=; ac_datarootdir_seen=
   13467 ac_sed_dataroot='
   13468 /datarootdir/ {
   13469   p
   13470   q
   13471 }
   13472 /@datadir@/p
   13473 /@docdir@/p
   13474 /@infodir@/p
   13475 /@localedir@/p
   13476 /@mandir@/p'
   13477 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   13478 *datarootdir*) ac_datarootdir_seen=yes;;
   13479 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   13480   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   13481 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   13482 _ACEOF
   13483 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13484   ac_datarootdir_hack='
   13485   s&@datadir@&$datadir&g
   13486   s&@docdir@&$docdir&g
   13487   s&@infodir@&$infodir&g
   13488   s&@localedir@&$localedir&g
   13489   s&@mandir@&$mandir&g
   13490   s&\\\${datarootdir}&$datarootdir&g' ;;
   13491 esac
   13492 _ACEOF
   13493 
   13494 # Neutralize VPATH when '$srcdir' = '.'.
   13495 # Shell code in configure.ac might set extrasub.
   13496 # FIXME: do we really want to maintain this feature?
   13497 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13498 ac_sed_extra="$ac_vpsub
   13499 $extrasub
   13500 _ACEOF
   13501 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13502 :t
   13503 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   13504 s|@configure_input@|$ac_sed_conf_input|;t t
   13505 s&@top_builddir@&$ac_top_builddir_sub&;t t
   13506 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   13507 s&@srcdir@&$ac_srcdir&;t t
   13508 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   13509 s&@top_srcdir@&$ac_top_srcdir&;t t
   13510 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   13511 s&@builddir@&$ac_builddir&;t t
   13512 s&@abs_builddir@&$ac_abs_builddir&;t t
   13513 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   13514 s&@INSTALL@&$ac_INSTALL&;t t
   13515 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   13516 $ac_datarootdir_hack
   13517 "
   13518 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   13519   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13520 
   13521 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   13522   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   13523   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   13524       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   13525   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13526 which seems to be undefined.  Please make sure it is defined" >&5
   13527 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13528 which seems to be undefined.  Please make sure it is defined" >&2;}
   13529 
   13530   rm -f "$ac_tmp/stdin"
   13531   case $ac_file in
   13532   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   13533   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   13534   esac \
   13535   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13536  ;;
   13537   :H)
   13538   #
   13539   # CONFIG_HEADER
   13540   #
   13541   if test x"$ac_file" != x-; then
   13542     {
   13543       printf "%s\n" "/* $configure_input  */" >&1 \
   13544       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   13545     } >"$ac_tmp/config.h" \
   13546       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13547     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   13548       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   13549 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   13550     else
   13551       rm -f "$ac_file"
   13552       mv "$ac_tmp/config.h" "$ac_file" \
   13553 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13554     fi
   13555   else
   13556     printf "%s\n" "/* $configure_input  */" >&1 \
   13557       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   13558       || as_fn_error $? "could not create -" "$LINENO" 5
   13559   fi
   13560 # Compute "$ac_file"'s index in $config_headers.
   13561 _am_arg="$ac_file"
   13562 _am_stamp_count=1
   13563 for _am_header in $config_headers :; do
   13564   case $_am_header in
   13565     $_am_arg | $_am_arg:* )
   13566       break ;;
   13567     * )
   13568       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   13569   esac
   13570 done
   13571 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   13572 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13573 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   13574 	 X"$_am_arg" : 'X\(//\)$' \| \
   13575 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   13576 printf "%s\n" X"$_am_arg" |
   13577     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13578 	    s//\1/
   13579 	    q
   13580 	  }
   13581 	  /^X\(\/\/\)[^/].*/{
   13582 	    s//\1/
   13583 	    q
   13584 	  }
   13585 	  /^X\(\/\/\)$/{
   13586 	    s//\1/
   13587 	    q
   13588 	  }
   13589 	  /^X\(\/\).*/{
   13590 	    s//\1/
   13591 	    q
   13592 	  }
   13593 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   13594  ;;
   13595 
   13596   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   13597 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   13598  ;;
   13599   esac
   13600 
   13601 
   13602   case $ac_file$ac_mode in
   13603     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   13604   # Older Autoconf quotes --file arguments for eval, but not when files
   13605   # are listed without --file.  Let's play safe and only enable the eval
   13606   # if we detect the quoting.
   13607   # TODO: see whether this extra hack can be removed once we start
   13608   # requiring Autoconf 2.70 or later.
   13609   case $CONFIG_FILES in #(
   13610   *\'*) :
   13611     eval set x "$CONFIG_FILES" ;; #(
   13612   *) :
   13613     set x $CONFIG_FILES ;; #(
   13614   *) :
   13615      ;;
   13616 esac
   13617   shift
   13618   # Used to flag and report bootstrapping failures.
   13619   am_rc=0
   13620   for am_mf
   13621   do
   13622     # Strip MF so we end up with the name of the file.
   13623     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   13624     # Check whether this is an Automake generated Makefile which includes
   13625     # dependency-tracking related rules and includes.
   13626     # Grep'ing the whole file directly is not great: AIX grep has a line
   13627     # limit of 2048, but all sed's we know have understand at least 4000.
   13628     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   13629       || continue
   13630     am_dirpart=`$as_dirname -- "$am_mf" ||
   13631 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13632 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   13633 	 X"$am_mf" : 'X\(//\)$' \| \
   13634 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13635 printf "%s\n" X"$am_mf" |
   13636     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13637 	    s//\1/
   13638 	    q
   13639 	  }
   13640 	  /^X\(\/\/\)[^/].*/{
   13641 	    s//\1/
   13642 	    q
   13643 	  }
   13644 	  /^X\(\/\/\)$/{
   13645 	    s//\1/
   13646 	    q
   13647 	  }
   13648 	  /^X\(\/\).*/{
   13649 	    s//\1/
   13650 	    q
   13651 	  }
   13652 	  s/.*/./; q'`
   13653     am_filepart=`$as_basename -- "$am_mf" ||
   13654 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   13655 	 X"$am_mf" : 'X\(//\)$' \| \
   13656 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13657 printf "%s\n" X/"$am_mf" |
   13658     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13659 	    s//\1/
   13660 	    q
   13661 	  }
   13662 	  /^X\/\(\/\/\)$/{
   13663 	    s//\1/
   13664 	    q
   13665 	  }
   13666 	  /^X\/\(\/\).*/{
   13667 	    s//\1/
   13668 	    q
   13669 	  }
   13670 	  s/.*/./; q'`
   13671     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   13672       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13673         | $MAKE -f - am--depfiles" >&5
   13674    (cd "$am_dirpart" \
   13675       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13676         | $MAKE -f - am--depfiles) >&5 2>&5
   13677    ac_status=$?
   13678    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13679    (exit $ac_status); } || am_rc=$?
   13680   done
   13681   if test $am_rc -ne 0; then
   13682     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   13683 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   13684 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   13685     for automatic dependency tracking.  If GNU make was not used, consider
   13686     re-running the configure script with MAKE=\"gmake\" (or whatever is
   13687     necessary).  You can also try re-running configure with the
   13688     '--disable-dependency-tracking' option to at least be able to build
   13689     the package (albeit without support for automatic dependency tracking).
   13690 See 'config.log' for more details" "$LINENO" 5; }
   13691   fi
   13692   { am_dirpart=; unset am_dirpart;}
   13693   { am_filepart=; unset am_filepart;}
   13694   { am_mf=; unset am_mf;}
   13695   { am_rc=; unset am_rc;}
   13696   rm -f conftest-deps.mk
   13697 }
   13698  ;;
   13699     "test/round-trip-test":F) chmod +x test/round-trip-test ;;
   13700 
   13701   esac
   13702 done # for ac_tag
   13703 
   13704 
   13705 as_fn_exit 0
   13706 _ACEOF
   13707 ac_clean_files=$ac_clean_files_save
   13708 
   13709 test $ac_write_fail = 0 ||
   13710   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   13711 
   13712 
   13713 # configure is writing to config.log, and then calls config.status.
   13714 # config.status does its own redirection, appending to config.log.
   13715 # Unfortunately, on DOS this fails, as config.log is still kept open
   13716 # by configure, so config.status won't be able to write to it; its
   13717 # output is simply discarded.  So we exec the FD to /dev/null,
   13718 # effectively closing config.log, so it can be properly (re)opened and
   13719 # appended to by config.status.  When coming back to configure, we
   13720 # need to make the FD available again.
   13721 if test "$no_create" != yes; then
   13722   ac_cs_success=:
   13723   ac_config_status_args=
   13724   test "$silent" = yes &&
   13725     ac_config_status_args="$ac_config_status_args --quiet"
   13726   exec 5>/dev/null
   13727   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   13728   exec 5>>config.log
   13729   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   13730   # would make configure fail if this is the last instruction.
   13731   $ac_cs_success || as_fn_exit 1
   13732 fi
   13733 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   13734   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   13735 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   13736 fi
   13737 
   13738 
   13739