Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.6
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.72 for xcmsdb 1.0.7.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xcmsdb/-/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/xcmsdb/-/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='xcmsdb'
    607 PACKAGE_TARNAME='xcmsdb'
    608 PACKAGE_VERSION='1.0.7'
    609 PACKAGE_STRING='xcmsdb 1.0.7'
    610 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xcmsdb/-/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 XCMSDB_LIBS
    652 XCMSDB_CFLAGS
    653 MAN_SUBSTS
    654 XORG_MAN_PAGE
    655 ADMIN_MAN_DIR
    656 DRIVER_MAN_DIR
    657 MISC_MAN_DIR
    658 FILE_MAN_DIR
    659 LIB_MAN_DIR
    660 APP_MAN_DIR
    661 ADMIN_MAN_SUFFIX
    662 DRIVER_MAN_SUFFIX
    663 MISC_MAN_SUFFIX
    664 FILE_MAN_SUFFIX
    665 LIB_MAN_SUFFIX
    666 APP_MAN_SUFFIX
    667 SED
    668 host_os
    669 host_vendor
    670 host_cpu
    671 host
    672 build_os
    673 build_vendor
    674 build_cpu
    675 build
    676 INSTALL_CMD
    677 PKG_CONFIG_LIBDIR
    678 PKG_CONFIG_PATH
    679 PKG_CONFIG
    680 CHANGELOG_CMD
    681 STRICT_CFLAGS
    682 CWARNFLAGS
    683 BASE_CFLAGS
    684 am__fastdepCC_FALSE
    685 am__fastdepCC_TRUE
    686 CCDEPMODE
    687 am__nodep
    688 AMDEPBACKSLASH
    689 AMDEP_FALSE
    690 AMDEP_TRUE
    691 am__include
    692 DEPDIR
    693 OBJEXT
    694 EXEEXT
    695 ac_ct_CC
    696 CPPFLAGS
    697 LDFLAGS
    698 CFLAGS
    699 CC
    700 am__xargs_n
    701 am__rm_f_notfound
    702 AM_BACKSLASH
    703 AM_DEFAULT_VERBOSITY
    704 AM_DEFAULT_V
    705 AM_V
    706 CSCOPE
    707 ETAGS
    708 CTAGS
    709 am__untar
    710 am__tar
    711 AMTAR
    712 am__leading_dot
    713 SET_MAKE
    714 AWK
    715 mkdir_p
    716 MKDIR_P
    717 INSTALL_STRIP_PROGRAM
    718 STRIP
    719 install_sh
    720 MAKEINFO
    721 AUTOHEADER
    722 AUTOMAKE
    723 AUTOCONF
    724 ACLOCAL
    725 VERSION
    726 PACKAGE
    727 CYGPATH_W
    728 am__isrc
    729 INSTALL_DATA
    730 INSTALL_SCRIPT
    731 INSTALL_PROGRAM
    732 target_alias
    733 host_alias
    734 build_alias
    735 LIBS
    736 ECHO_T
    737 ECHO_N
    738 ECHO_C
    739 DEFS
    740 mandir
    741 localedir
    742 libdir
    743 psdir
    744 pdfdir
    745 dvidir
    746 htmldir
    747 infodir
    748 docdir
    749 oldincludedir
    750 includedir
    751 runstatedir
    752 localstatedir
    753 sharedstatedir
    754 sysconfdir
    755 datadir
    756 datarootdir
    757 libexecdir
    758 sbindir
    759 bindir
    760 program_transform_name
    761 prefix
    762 exec_prefix
    763 PACKAGE_URL
    764 PACKAGE_BUGREPORT
    765 PACKAGE_STRING
    766 PACKAGE_VERSION
    767 PACKAGE_TARNAME
    768 PACKAGE_NAME
    769 PATH_SEPARATOR
    770 SHELL
    771 am__quote'
    772 ac_subst_files=''
    773 ac_user_opts='
    774 enable_option_checking
    775 enable_silent_rules
    776 enable_dependency_tracking
    777 enable_selective_werror
    778 enable_strict_compilation
    779 enable_largefile
    780 enable_year2038
    781 '
    782       ac_precious_vars='build_alias
    783 host_alias
    784 target_alias
    785 CC
    786 CFLAGS
    787 LDFLAGS
    788 LIBS
    789 CPPFLAGS
    790 PKG_CONFIG
    791 PKG_CONFIG_PATH
    792 PKG_CONFIG_LIBDIR
    793 XCMSDB_CFLAGS
    794 XCMSDB_LIBS'
    795 
    796 
    797 # Initialize some variables set by options.
    798 ac_init_help=
    799 ac_init_version=false
    800 ac_unrecognized_opts=
    801 ac_unrecognized_sep=
    802 # The variables have the same names as the options, with
    803 # dashes changed to underlines.
    804 cache_file=/dev/null
    805 exec_prefix=NONE
    806 no_create=
    807 no_recursion=
    808 prefix=NONE
    809 program_prefix=NONE
    810 program_suffix=NONE
    811 program_transform_name=s,x,x,
    812 silent=
    813 site=
    814 srcdir=
    815 verbose=
    816 x_includes=NONE
    817 x_libraries=NONE
    818 
    819 # Installation directory options.
    820 # These are left unexpanded so users can "make install exec_prefix=/foo"
    821 # and all the variables that are supposed to be based on exec_prefix
    822 # by default will actually change.
    823 # Use braces instead of parens because sh, perl, etc. also accept them.
    824 # (The list follows the same order as the GNU Coding Standards.)
    825 bindir='${exec_prefix}/bin'
    826 sbindir='${exec_prefix}/sbin'
    827 libexecdir='${exec_prefix}/libexec'
    828 datarootdir='${prefix}/share'
    829 datadir='${datarootdir}'
    830 sysconfdir='${prefix}/etc'
    831 sharedstatedir='${prefix}/com'
    832 localstatedir='${prefix}/var'
    833 runstatedir='${localstatedir}/run'
    834 includedir='${prefix}/include'
    835 oldincludedir='/usr/include'
    836 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    837 infodir='${datarootdir}/info'
    838 htmldir='${docdir}'
    839 dvidir='${docdir}'
    840 pdfdir='${docdir}'
    841 psdir='${docdir}'
    842 libdir='${exec_prefix}/lib'
    843 localedir='${datarootdir}/locale'
    844 mandir='${datarootdir}/man'
    845 
    846 ac_prev=
    847 ac_dashdash=
    848 for ac_option
    849 do
    850   # If the previous option needs an argument, assign it.
    851   if test -n "$ac_prev"; then
    852     eval $ac_prev=\$ac_option
    853     ac_prev=
    854     continue
    855   fi
    856 
    857   case $ac_option in
    858   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    859   *=)   ac_optarg= ;;
    860   *)    ac_optarg=yes ;;
    861   esac
    862 
    863   case $ac_dashdash$ac_option in
    864   --)
    865     ac_dashdash=yes ;;
    866 
    867   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    868     ac_prev=bindir ;;
    869   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    870     bindir=$ac_optarg ;;
    871 
    872   -build | --build | --buil | --bui | --bu)
    873     ac_prev=build_alias ;;
    874   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    875     build_alias=$ac_optarg ;;
    876 
    877   -cache-file | --cache-file | --cache-fil | --cache-fi \
    878   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    879     ac_prev=cache_file ;;
    880   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    881   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    882     cache_file=$ac_optarg ;;
    883 
    884   --config-cache | -C)
    885     cache_file=config.cache ;;
    886 
    887   -datadir | --datadir | --datadi | --datad)
    888     ac_prev=datadir ;;
    889   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    890     datadir=$ac_optarg ;;
    891 
    892   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    893   | --dataroo | --dataro | --datar)
    894     ac_prev=datarootdir ;;
    895   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    896   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    897     datarootdir=$ac_optarg ;;
    898 
    899   -disable-* | --disable-*)
    900     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    901     # Reject names that are not valid shell variable names.
    902     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    903       as_fn_error $? "invalid feature name: '$ac_useropt'"
    904     ac_useropt_orig=$ac_useropt
    905     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    906     case $ac_user_opts in
    907       *"
    908 "enable_$ac_useropt"
    909 "*) ;;
    910       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    911 	 ac_unrecognized_sep=', ';;
    912     esac
    913     eval enable_$ac_useropt=no ;;
    914 
    915   -docdir | --docdir | --docdi | --doc | --do)
    916     ac_prev=docdir ;;
    917   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    918     docdir=$ac_optarg ;;
    919 
    920   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    921     ac_prev=dvidir ;;
    922   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    923     dvidir=$ac_optarg ;;
    924 
    925   -enable-* | --enable-*)
    926     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    927     # Reject names that are not valid shell variable names.
    928     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    929       as_fn_error $? "invalid feature name: '$ac_useropt'"
    930     ac_useropt_orig=$ac_useropt
    931     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    932     case $ac_user_opts in
    933       *"
    934 "enable_$ac_useropt"
    935 "*) ;;
    936       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    937 	 ac_unrecognized_sep=', ';;
    938     esac
    939     eval enable_$ac_useropt=\$ac_optarg ;;
    940 
    941   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    942   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    943   | --exec | --exe | --ex)
    944     ac_prev=exec_prefix ;;
    945   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    946   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    947   | --exec=* | --exe=* | --ex=*)
    948     exec_prefix=$ac_optarg ;;
    949 
    950   -gas | --gas | --ga | --g)
    951     # Obsolete; use --with-gas.
    952     with_gas=yes ;;
    953 
    954   -help | --help | --hel | --he | -h)
    955     ac_init_help=long ;;
    956   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    957     ac_init_help=recursive ;;
    958   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    959     ac_init_help=short ;;
    960 
    961   -host | --host | --hos | --ho)
    962     ac_prev=host_alias ;;
    963   -host=* | --host=* | --hos=* | --ho=*)
    964     host_alias=$ac_optarg ;;
    965 
    966   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    967     ac_prev=htmldir ;;
    968   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    969   | --ht=*)
    970     htmldir=$ac_optarg ;;
    971 
    972   -includedir | --includedir | --includedi | --included | --include \
    973   | --includ | --inclu | --incl | --inc)
    974     ac_prev=includedir ;;
    975   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    976   | --includ=* | --inclu=* | --incl=* | --inc=*)
    977     includedir=$ac_optarg ;;
    978 
    979   -infodir | --infodir | --infodi | --infod | --info | --inf)
    980     ac_prev=infodir ;;
    981   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    982     infodir=$ac_optarg ;;
    983 
    984   -libdir | --libdir | --libdi | --libd)
    985     ac_prev=libdir ;;
    986   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    987     libdir=$ac_optarg ;;
    988 
    989   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    990   | --libexe | --libex | --libe)
    991     ac_prev=libexecdir ;;
    992   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    993   | --libexe=* | --libex=* | --libe=*)
    994     libexecdir=$ac_optarg ;;
    995 
    996   -localedir | --localedir | --localedi | --localed | --locale)
    997     ac_prev=localedir ;;
    998   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    999     localedir=$ac_optarg ;;
   1000 
   1001   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1002   | --localstate | --localstat | --localsta | --localst | --locals)
   1003     ac_prev=localstatedir ;;
   1004   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1005   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1006     localstatedir=$ac_optarg ;;
   1007 
   1008   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1009     ac_prev=mandir ;;
   1010   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1011     mandir=$ac_optarg ;;
   1012 
   1013   -nfp | --nfp | --nf)
   1014     # Obsolete; use --without-fp.
   1015     with_fp=no ;;
   1016 
   1017   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1018   | --no-cr | --no-c | -n)
   1019     no_create=yes ;;
   1020 
   1021   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1022   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1023     no_recursion=yes ;;
   1024 
   1025   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1026   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1027   | --oldin | --oldi | --old | --ol | --o)
   1028     ac_prev=oldincludedir ;;
   1029   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1030   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1031   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1032     oldincludedir=$ac_optarg ;;
   1033 
   1034   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1035     ac_prev=prefix ;;
   1036   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1037     prefix=$ac_optarg ;;
   1038 
   1039   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1040   | --program-pre | --program-pr | --program-p)
   1041     ac_prev=program_prefix ;;
   1042   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1043   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1044     program_prefix=$ac_optarg ;;
   1045 
   1046   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1047   | --program-suf | --program-su | --program-s)
   1048     ac_prev=program_suffix ;;
   1049   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1050   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1051     program_suffix=$ac_optarg ;;
   1052 
   1053   -program-transform-name | --program-transform-name \
   1054   | --program-transform-nam | --program-transform-na \
   1055   | --program-transform-n | --program-transform- \
   1056   | --program-transform | --program-transfor \
   1057   | --program-transfo | --program-transf \
   1058   | --program-trans | --program-tran \
   1059   | --progr-tra | --program-tr | --program-t)
   1060     ac_prev=program_transform_name ;;
   1061   -program-transform-name=* | --program-transform-name=* \
   1062   | --program-transform-nam=* | --program-transform-na=* \
   1063   | --program-transform-n=* | --program-transform-=* \
   1064   | --program-transform=* | --program-transfor=* \
   1065   | --program-transfo=* | --program-transf=* \
   1066   | --program-trans=* | --program-tran=* \
   1067   | --progr-tra=* | --program-tr=* | --program-t=*)
   1068     program_transform_name=$ac_optarg ;;
   1069 
   1070   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1071     ac_prev=pdfdir ;;
   1072   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1073     pdfdir=$ac_optarg ;;
   1074 
   1075   -psdir | --psdir | --psdi | --psd | --ps)
   1076     ac_prev=psdir ;;
   1077   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1078     psdir=$ac_optarg ;;
   1079 
   1080   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1081   | -silent | --silent | --silen | --sile | --sil)
   1082     silent=yes ;;
   1083 
   1084   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1085   | --runstate | --runstat | --runsta | --runst | --runs \
   1086   | --run | --ru | --r)
   1087     ac_prev=runstatedir ;;
   1088   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1089   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1090   | --run=* | --ru=* | --r=*)
   1091     runstatedir=$ac_optarg ;;
   1092 
   1093   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1094     ac_prev=sbindir ;;
   1095   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1096   | --sbi=* | --sb=*)
   1097     sbindir=$ac_optarg ;;
   1098 
   1099   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1100   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1101   | --sharedst | --shareds | --shared | --share | --shar \
   1102   | --sha | --sh)
   1103     ac_prev=sharedstatedir ;;
   1104   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1105   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1106   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1107   | --sha=* | --sh=*)
   1108     sharedstatedir=$ac_optarg ;;
   1109 
   1110   -site | --site | --sit)
   1111     ac_prev=site ;;
   1112   -site=* | --site=* | --sit=*)
   1113     site=$ac_optarg ;;
   1114 
   1115   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1116     ac_prev=srcdir ;;
   1117   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1118     srcdir=$ac_optarg ;;
   1119 
   1120   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1121   | --syscon | --sysco | --sysc | --sys | --sy)
   1122     ac_prev=sysconfdir ;;
   1123   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1124   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1125     sysconfdir=$ac_optarg ;;
   1126 
   1127   -target | --target | --targe | --targ | --tar | --ta | --t)
   1128     ac_prev=target_alias ;;
   1129   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1130     target_alias=$ac_optarg ;;
   1131 
   1132   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1133     verbose=yes ;;
   1134 
   1135   -version | --version | --versio | --versi | --vers | -V)
   1136     ac_init_version=: ;;
   1137 
   1138   -with-* | --with-*)
   1139     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1140     # Reject names that are not valid shell variable names.
   1141     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1142       as_fn_error $? "invalid package name: '$ac_useropt'"
   1143     ac_useropt_orig=$ac_useropt
   1144     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1145     case $ac_user_opts in
   1146       *"
   1147 "with_$ac_useropt"
   1148 "*) ;;
   1149       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1150 	 ac_unrecognized_sep=', ';;
   1151     esac
   1152     eval with_$ac_useropt=\$ac_optarg ;;
   1153 
   1154   -without-* | --without-*)
   1155     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1156     # Reject names that are not valid shell variable names.
   1157     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1158       as_fn_error $? "invalid package name: '$ac_useropt'"
   1159     ac_useropt_orig=$ac_useropt
   1160     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1161     case $ac_user_opts in
   1162       *"
   1163 "with_$ac_useropt"
   1164 "*) ;;
   1165       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1166 	 ac_unrecognized_sep=', ';;
   1167     esac
   1168     eval with_$ac_useropt=no ;;
   1169 
   1170   --x)
   1171     # Obsolete; use --with-x.
   1172     with_x=yes ;;
   1173 
   1174   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1175   | --x-incl | --x-inc | --x-in | --x-i)
   1176     ac_prev=x_includes ;;
   1177   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1178   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1179     x_includes=$ac_optarg ;;
   1180 
   1181   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1182   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1183     ac_prev=x_libraries ;;
   1184   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1185   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1186     x_libraries=$ac_optarg ;;
   1187 
   1188   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1189 Try '$0 --help' for more information"
   1190     ;;
   1191 
   1192   *=*)
   1193     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1194     # Reject names that are not valid shell variable names.
   1195     case $ac_envvar in #(
   1196       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1197       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1198     esac
   1199     eval $ac_envvar=\$ac_optarg
   1200     export $ac_envvar ;;
   1201 
   1202   *)
   1203     # FIXME: should be removed in autoconf 3.0.
   1204     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1205     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1206       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1207     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1208     ;;
   1209 
   1210   esac
   1211 done
   1212 
   1213 if test -n "$ac_prev"; then
   1214   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1215   as_fn_error $? "missing argument to $ac_option"
   1216 fi
   1217 
   1218 if test -n "$ac_unrecognized_opts"; then
   1219   case $enable_option_checking in
   1220     no) ;;
   1221     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1222     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1223   esac
   1224 fi
   1225 
   1226 # Check all directory arguments for consistency.
   1227 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1228 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1229 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1230 		libdir localedir mandir runstatedir
   1231 do
   1232   eval ac_val=\$$ac_var
   1233   # Remove trailing slashes.
   1234   case $ac_val in
   1235     */ )
   1236       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1237       eval $ac_var=\$ac_val;;
   1238   esac
   1239   # Be sure to have absolute directory names.
   1240   case $ac_val in
   1241     [\\/$]* | ?:[\\/]* )  continue;;
   1242     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1243   esac
   1244   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1245 done
   1246 
   1247 # There might be people who depend on the old broken behavior: '$host'
   1248 # used to hold the argument of --host etc.
   1249 # FIXME: To remove some day.
   1250 build=$build_alias
   1251 host=$host_alias
   1252 target=$target_alias
   1253 
   1254 # FIXME: To remove some day.
   1255 if test "x$host_alias" != x; then
   1256   if test "x$build_alias" = x; then
   1257     cross_compiling=maybe
   1258   elif test "x$build_alias" != "x$host_alias"; then
   1259     cross_compiling=yes
   1260   fi
   1261 fi
   1262 
   1263 ac_tool_prefix=
   1264 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1265 
   1266 test "$silent" = yes && exec 6>/dev/null
   1267 
   1268 
   1269 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1270 ac_ls_di=`ls -di .` &&
   1271 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1272   as_fn_error $? "working directory cannot be determined"
   1273 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1274   as_fn_error $? "pwd does not report name of working directory"
   1275 
   1276 
   1277 # Find the source files, if location was not specified.
   1278 if test -z "$srcdir"; then
   1279   ac_srcdir_defaulted=yes
   1280   # Try the directory containing this script, then the parent directory.
   1281   ac_confdir=`$as_dirname -- "$as_myself" ||
   1282 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1283 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1284 	 X"$as_myself" : 'X\(//\)$' \| \
   1285 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1286 printf "%s\n" X"$as_myself" |
   1287     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1288 	    s//\1/
   1289 	    q
   1290 	  }
   1291 	  /^X\(\/\/\)[^/].*/{
   1292 	    s//\1/
   1293 	    q
   1294 	  }
   1295 	  /^X\(\/\/\)$/{
   1296 	    s//\1/
   1297 	    q
   1298 	  }
   1299 	  /^X\(\/\).*/{
   1300 	    s//\1/
   1301 	    q
   1302 	  }
   1303 	  s/.*/./; q'`
   1304   srcdir=$ac_confdir
   1305   if test ! -r "$srcdir/$ac_unique_file"; then
   1306     srcdir=..
   1307   fi
   1308 else
   1309   ac_srcdir_defaulted=no
   1310 fi
   1311 if test ! -r "$srcdir/$ac_unique_file"; then
   1312   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1313   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1314 fi
   1315 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1316 ac_abs_confdir=`(
   1317 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1318 	pwd)`
   1319 # When building in place, set srcdir=.
   1320 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1321   srcdir=.
   1322 fi
   1323 # Remove unnecessary trailing slashes from srcdir.
   1324 # Double slashes in file names in object file debugging info
   1325 # mess up M-x gdb in Emacs.
   1326 case $srcdir in
   1327 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1328 esac
   1329 for ac_var in $ac_precious_vars; do
   1330   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1331   eval ac_env_${ac_var}_value=\$${ac_var}
   1332   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1333   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1334 done
   1335 
   1336 #
   1337 # Report the --help message.
   1338 #
   1339 if test "$ac_init_help" = "long"; then
   1340   # Omit some internal or obsolete options to make the list less imposing.
   1341   # This message is too long to be a string in the A/UX 3.1 sh.
   1342   cat <<_ACEOF
   1343 'configure' configures xcmsdb 1.0.7 to adapt to many kinds of systems.
   1344 
   1345 Usage: $0 [OPTION]... [VAR=VALUE]...
   1346 
   1347 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1348 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1349 
   1350 Defaults for the options are specified in brackets.
   1351 
   1352 Configuration:
   1353   -h, --help              display this help and exit
   1354       --help=short        display options specific to this package
   1355       --help=recursive    display the short help of all the included packages
   1356   -V, --version           display version information and exit
   1357   -q, --quiet, --silent   do not print 'checking ...' messages
   1358       --cache-file=FILE   cache test results in FILE [disabled]
   1359   -C, --config-cache      alias for '--cache-file=config.cache'
   1360   -n, --no-create         do not create output files
   1361       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1362 
   1363 Installation directories:
   1364   --prefix=PREFIX         install architecture-independent files in PREFIX
   1365                           [$ac_default_prefix]
   1366   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1367                           [PREFIX]
   1368 
   1369 By default, 'make install' will install all the files in
   1370 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1371 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1372 for instance '--prefix=\$HOME'.
   1373 
   1374 For better control, use the options below.
   1375 
   1376 Fine tuning of the installation directories:
   1377   --bindir=DIR            user executables [EPREFIX/bin]
   1378   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1379   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1380   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1381   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1382   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1383   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1384   --libdir=DIR            object code libraries [EPREFIX/lib]
   1385   --includedir=DIR        C header files [PREFIX/include]
   1386   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1387   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1388   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1389   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1390   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1391   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1392   --docdir=DIR            documentation root [DATAROOTDIR/doc/xcmsdb]
   1393   --htmldir=DIR           html documentation [DOCDIR]
   1394   --dvidir=DIR            dvi documentation [DOCDIR]
   1395   --pdfdir=DIR            pdf documentation [DOCDIR]
   1396   --psdir=DIR             ps documentation [DOCDIR]
   1397 _ACEOF
   1398 
   1399   cat <<\_ACEOF
   1400 
   1401 Program names:
   1402   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1403   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1404   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1405 
   1406 System types:
   1407   --build=BUILD     configure for building on BUILD [guessed]
   1408   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1409 _ACEOF
   1410 fi
   1411 
   1412 if test -n "$ac_init_help"; then
   1413   case $ac_init_help in
   1414      short | recursive ) echo "Configuration of xcmsdb 1.0.7:";;
   1415    esac
   1416   cat <<\_ACEOF
   1417 
   1418 Optional Features:
   1419   --disable-option-checking  ignore unrecognized --enable/--with options
   1420   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1421   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1422   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1423   --disable-silent-rules  verbose build output (undo: "make V=0")
   1424   --enable-dependency-tracking
   1425                           do not reject slow dependency extractors
   1426   --disable-dependency-tracking
   1427                           speeds up one-time build
   1428   --disable-selective-werror
   1429                           Turn off selective compiler errors. (default:
   1430                           enabled)
   1431   --enable-strict-compilation
   1432                           Enable all warnings from compiler and make them
   1433                           errors (default: disabled)
   1434   --disable-largefile     omit support for large files
   1435   --enable-year2038       support timestamps after 2038
   1436 
   1437 Some influential environment variables:
   1438   CC          C compiler command
   1439   CFLAGS      C compiler flags
   1440   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1441               nonstandard directory <lib dir>
   1442   LIBS        libraries to pass to the linker, e.g. -l<library>
   1443   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1444               you have headers in a nonstandard directory <include dir>
   1445   PKG_CONFIG  path to pkg-config utility
   1446   PKG_CONFIG_PATH
   1447               directories to add to pkg-config's search path
   1448   PKG_CONFIG_LIBDIR
   1449               path overriding pkg-config's built-in search path
   1450   XCMSDB_CFLAGS
   1451               C compiler flags for XCMSDB, overriding pkg-config
   1452   XCMSDB_LIBS linker flags for XCMSDB, overriding pkg-config
   1453 
   1454 Use these variables to override the choices made by 'configure' or to help
   1455 it to find libraries and programs with nonstandard names/locations.
   1456 
   1457 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xcmsdb/-/issues>.
   1458 _ACEOF
   1459 ac_status=$?
   1460 fi
   1461 
   1462 if test "$ac_init_help" = "recursive"; then
   1463   # If there are subdirs, report their specific --help.
   1464   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1465     test -d "$ac_dir" ||
   1466       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1467       continue
   1468     ac_builddir=.
   1469 
   1470 case "$ac_dir" in
   1471 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1472 *)
   1473   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1474   # A ".." for each directory in $ac_dir_suffix.
   1475   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1476   case $ac_top_builddir_sub in
   1477   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1478   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1479   esac ;;
   1480 esac
   1481 ac_abs_top_builddir=$ac_pwd
   1482 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1483 # for backward compatibility:
   1484 ac_top_builddir=$ac_top_build_prefix
   1485 
   1486 case $srcdir in
   1487   .)  # We are building in place.
   1488     ac_srcdir=.
   1489     ac_top_srcdir=$ac_top_builddir_sub
   1490     ac_abs_top_srcdir=$ac_pwd ;;
   1491   [\\/]* | ?:[\\/]* )  # Absolute name.
   1492     ac_srcdir=$srcdir$ac_dir_suffix;
   1493     ac_top_srcdir=$srcdir
   1494     ac_abs_top_srcdir=$srcdir ;;
   1495   *) # Relative name.
   1496     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1497     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1498     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1499 esac
   1500 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1501 
   1502     cd "$ac_dir" || { ac_status=$?; continue; }
   1503     # Check for configure.gnu first; this name is used for a wrapper for
   1504     # Metaconfig's "Configure" on case-insensitive file systems.
   1505     if test -f "$ac_srcdir/configure.gnu"; then
   1506       echo &&
   1507       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1508     elif test -f "$ac_srcdir/configure"; then
   1509       echo &&
   1510       $SHELL "$ac_srcdir/configure" --help=recursive
   1511     else
   1512       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1513     fi || ac_status=$?
   1514     cd "$ac_pwd" || { ac_status=$?; break; }
   1515   done
   1516 fi
   1517 
   1518 test -n "$ac_init_help" && exit $ac_status
   1519 if $ac_init_version; then
   1520   cat <<\_ACEOF
   1521 xcmsdb configure 1.0.7
   1522 generated by GNU Autoconf 2.72
   1523 
   1524 Copyright (C) 2023 Free Software Foundation, Inc.
   1525 This configure script is free software; the Free Software Foundation
   1526 gives unlimited permission to copy, distribute and modify it.
   1527 _ACEOF
   1528   exit
   1529 fi
   1530 
   1531 ## ------------------------ ##
   1532 ## Autoconf initialization. ##
   1533 ## ------------------------ ##
   1534 
   1535 # ac_fn_c_try_compile LINENO
   1536 # --------------------------
   1537 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1538 ac_fn_c_try_compile ()
   1539 {
   1540   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1541   rm -f conftest.$ac_objext conftest.beam
   1542   if { { ac_try="$ac_compile"
   1543 case "(($ac_try" in
   1544   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1545   *) ac_try_echo=$ac_try;;
   1546 esac
   1547 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1548 printf "%s\n" "$ac_try_echo"; } >&5
   1549   (eval "$ac_compile") 2>conftest.err
   1550   ac_status=$?
   1551   if test -s conftest.err; then
   1552     grep -v '^ *+' conftest.err >conftest.er1
   1553     cat conftest.er1 >&5
   1554     mv -f conftest.er1 conftest.err
   1555   fi
   1556   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1557   test $ac_status = 0; } && {
   1558 	 test -z "$ac_c_werror_flag" ||
   1559 	 test ! -s conftest.err
   1560        } && test -s conftest.$ac_objext
   1561 then :
   1562   ac_retval=0
   1563 else case e in #(
   1564   e) printf "%s\n" "$as_me: failed program was:" >&5
   1565 sed 's/^/| /' conftest.$ac_ext >&5
   1566 
   1567 	ac_retval=1 ;;
   1568 esac
   1569 fi
   1570   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1571   as_fn_set_status $ac_retval
   1572 
   1573 } # ac_fn_c_try_compile
   1574 
   1575 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1576 # ------------------------------------------------------------------
   1577 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1578 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1579 ac_fn_check_decl ()
   1580 {
   1581   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1582   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1583   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1584 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1585 if eval test \${$3+y}
   1586 then :
   1587   printf %s "(cached) " >&6
   1588 else case e in #(
   1589   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1590   eval ac_save_FLAGS=\$$6
   1591   as_fn_append $6 " $5"
   1592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1593 /* end confdefs.h.  */
   1594 $4
   1595 int
   1596 main (void)
   1597 {
   1598 #ifndef $as_decl_name
   1599 #ifdef __cplusplus
   1600   (void) $as_decl_use;
   1601 #else
   1602   (void) $as_decl_name;
   1603 #endif
   1604 #endif
   1605 
   1606   ;
   1607   return 0;
   1608 }
   1609 _ACEOF
   1610 if ac_fn_c_try_compile "$LINENO"
   1611 then :
   1612   eval "$3=yes"
   1613 else case e in #(
   1614   e) eval "$3=no" ;;
   1615 esac
   1616 fi
   1617 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1618   eval $6=\$ac_save_FLAGS
   1619  ;;
   1620 esac
   1621 fi
   1622 eval ac_res=\$$3
   1623 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1624 printf "%s\n" "$ac_res" >&6; }
   1625   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1626 
   1627 } # ac_fn_check_decl
   1628 
   1629 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1630 # -------------------------------------------------------
   1631 # Tests whether HEADER exists and can be compiled using the include files in
   1632 # INCLUDES, setting the cache variable VAR accordingly.
   1633 ac_fn_c_check_header_compile ()
   1634 {
   1635   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1636   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1637 printf %s "checking for $2... " >&6; }
   1638 if eval test \${$3+y}
   1639 then :
   1640   printf %s "(cached) " >&6
   1641 else case e in #(
   1642   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1643 /* end confdefs.h.  */
   1644 $4
   1645 #include <$2>
   1646 _ACEOF
   1647 if ac_fn_c_try_compile "$LINENO"
   1648 then :
   1649   eval "$3=yes"
   1650 else case e in #(
   1651   e) eval "$3=no" ;;
   1652 esac
   1653 fi
   1654 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1655 esac
   1656 fi
   1657 eval ac_res=\$$3
   1658 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1659 printf "%s\n" "$ac_res" >&6; }
   1660   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1661 
   1662 } # ac_fn_c_check_header_compile
   1663 
   1664 # ac_fn_c_try_link LINENO
   1665 # -----------------------
   1666 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1667 ac_fn_c_try_link ()
   1668 {
   1669   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1670   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1671   if { { ac_try="$ac_link"
   1672 case "(($ac_try" in
   1673   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1674   *) ac_try_echo=$ac_try;;
   1675 esac
   1676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1677 printf "%s\n" "$ac_try_echo"; } >&5
   1678   (eval "$ac_link") 2>conftest.err
   1679   ac_status=$?
   1680   if test -s conftest.err; then
   1681     grep -v '^ *+' conftest.err >conftest.er1
   1682     cat conftest.er1 >&5
   1683     mv -f conftest.er1 conftest.err
   1684   fi
   1685   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1686   test $ac_status = 0; } && {
   1687 	 test -z "$ac_c_werror_flag" ||
   1688 	 test ! -s conftest.err
   1689        } && test -s conftest$ac_exeext && {
   1690 	 test "$cross_compiling" = yes ||
   1691 	 test -x conftest$ac_exeext
   1692        }
   1693 then :
   1694   ac_retval=0
   1695 else case e in #(
   1696   e) printf "%s\n" "$as_me: failed program was:" >&5
   1697 sed 's/^/| /' conftest.$ac_ext >&5
   1698 
   1699 	ac_retval=1 ;;
   1700 esac
   1701 fi
   1702   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1703   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1704   # interfere with the next link command; also delete a directory that is
   1705   # left behind by Apple's compiler.  We do this before executing the actions.
   1706   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1707   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1708   as_fn_set_status $ac_retval
   1709 
   1710 } # ac_fn_c_try_link
   1711 ac_configure_args_raw=
   1712 for ac_arg
   1713 do
   1714   case $ac_arg in
   1715   *\'*)
   1716     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1717   esac
   1718   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1719 done
   1720 
   1721 case $ac_configure_args_raw in
   1722   *$as_nl*)
   1723     ac_safe_unquote= ;;
   1724   *)
   1725     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1726     ac_unsafe_a="$ac_unsafe_z#~"
   1727     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1728     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1729 esac
   1730 
   1731 cat >config.log <<_ACEOF
   1732 This file contains any messages produced by compilers while
   1733 running configure, to aid debugging if configure makes a mistake.
   1734 
   1735 It was created by xcmsdb $as_me 1.0.7, which was
   1736 generated by GNU Autoconf 2.72.  Invocation command line was
   1737 
   1738   $ $0$ac_configure_args_raw
   1739 
   1740 _ACEOF
   1741 exec 5>>config.log
   1742 {
   1743 cat <<_ASUNAME
   1744 ## --------- ##
   1745 ## Platform. ##
   1746 ## --------- ##
   1747 
   1748 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1749 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1750 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1751 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1752 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1753 
   1754 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1755 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1756 
   1757 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1758 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1759 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1760 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1761 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1762 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1763 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1764 
   1765 _ASUNAME
   1766 
   1767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1768 for as_dir in $PATH
   1769 do
   1770   IFS=$as_save_IFS
   1771   case $as_dir in #(((
   1772     '') as_dir=./ ;;
   1773     */) ;;
   1774     *) as_dir=$as_dir/ ;;
   1775   esac
   1776     printf "%s\n" "PATH: $as_dir"
   1777   done
   1778 IFS=$as_save_IFS
   1779 
   1780 } >&5
   1781 
   1782 cat >&5 <<_ACEOF
   1783 
   1784 
   1785 ## ----------- ##
   1786 ## Core tests. ##
   1787 ## ----------- ##
   1788 
   1789 _ACEOF
   1790 
   1791 
   1792 # Keep a trace of the command line.
   1793 # Strip out --no-create and --no-recursion so they do not pile up.
   1794 # Strip out --silent because we don't want to record it for future runs.
   1795 # Also quote any args containing shell meta-characters.
   1796 # Make two passes to allow for proper duplicate-argument suppression.
   1797 ac_configure_args=
   1798 ac_configure_args0=
   1799 ac_configure_args1=
   1800 ac_must_keep_next=false
   1801 for ac_pass in 1 2
   1802 do
   1803   for ac_arg
   1804   do
   1805     case $ac_arg in
   1806     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1807     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1808     | -silent | --silent | --silen | --sile | --sil)
   1809       continue ;;
   1810     *\'*)
   1811       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1812     esac
   1813     case $ac_pass in
   1814     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1815     2)
   1816       as_fn_append ac_configure_args1 " '$ac_arg'"
   1817       if test $ac_must_keep_next = true; then
   1818 	ac_must_keep_next=false # Got value, back to normal.
   1819       else
   1820 	case $ac_arg in
   1821 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1822 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1823 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1824 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1825 	    case "$ac_configure_args0 " in
   1826 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1827 	    esac
   1828 	    ;;
   1829 	  -* ) ac_must_keep_next=true ;;
   1830 	esac
   1831       fi
   1832       as_fn_append ac_configure_args " '$ac_arg'"
   1833       ;;
   1834     esac
   1835   done
   1836 done
   1837 { ac_configure_args0=; unset ac_configure_args0;}
   1838 { ac_configure_args1=; unset ac_configure_args1;}
   1839 
   1840 # When interrupted or exit'd, cleanup temporary files, and complete
   1841 # config.log.  We remove comments because anyway the quotes in there
   1842 # would cause problems or look ugly.
   1843 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1844 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1845 trap 'exit_status=$?
   1846   # Sanitize IFS.
   1847   IFS=" ""	$as_nl"
   1848   # Save into config.log some information that might help in debugging.
   1849   {
   1850     echo
   1851 
   1852     printf "%s\n" "## ---------------- ##
   1853 ## Cache variables. ##
   1854 ## ---------------- ##"
   1855     echo
   1856     # The following way of writing the cache mishandles newlines in values,
   1857 (
   1858   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1859     eval ac_val=\$$ac_var
   1860     case $ac_val in #(
   1861     *${as_nl}*)
   1862       case $ac_var in #(
   1863       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1864 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1865       esac
   1866       case $ac_var in #(
   1867       _ | IFS | as_nl) ;; #(
   1868       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1869       *) { eval $ac_var=; unset $ac_var;} ;;
   1870       esac ;;
   1871     esac
   1872   done
   1873   (set) 2>&1 |
   1874     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1875     *${as_nl}ac_space=\ *)
   1876       sed -n \
   1877 	"s/'\''/'\''\\\\'\'''\''/g;
   1878 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1879       ;; #(
   1880     *)
   1881       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1882       ;;
   1883     esac |
   1884     sort
   1885 )
   1886     echo
   1887 
   1888     printf "%s\n" "## ----------------- ##
   1889 ## Output variables. ##
   1890 ## ----------------- ##"
   1891     echo
   1892     for ac_var in $ac_subst_vars
   1893     do
   1894       eval ac_val=\$$ac_var
   1895       case $ac_val in
   1896       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1897       esac
   1898       printf "%s\n" "$ac_var='\''$ac_val'\''"
   1899     done | sort
   1900     echo
   1901 
   1902     if test -n "$ac_subst_files"; then
   1903       printf "%s\n" "## ------------------- ##
   1904 ## File substitutions. ##
   1905 ## ------------------- ##"
   1906       echo
   1907       for ac_var in $ac_subst_files
   1908       do
   1909 	eval ac_val=\$$ac_var
   1910 	case $ac_val in
   1911 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1912 	esac
   1913 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   1914       done | sort
   1915       echo
   1916     fi
   1917 
   1918     if test -s confdefs.h; then
   1919       printf "%s\n" "## ----------- ##
   1920 ## confdefs.h. ##
   1921 ## ----------- ##"
   1922       echo
   1923       cat confdefs.h
   1924       echo
   1925     fi
   1926     test "$ac_signal" != 0 &&
   1927       printf "%s\n" "$as_me: caught signal $ac_signal"
   1928     printf "%s\n" "$as_me: exit $exit_status"
   1929   } >&5
   1930   rm -f core *.core core.conftest.* &&
   1931     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1932     exit $exit_status
   1933 ' 0
   1934 for ac_signal in 1 2 13 15; do
   1935   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1936 done
   1937 ac_signal=0
   1938 
   1939 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1940 rm -f -r conftest* confdefs.h
   1941 
   1942 printf "%s\n" "/* confdefs.h */" > confdefs.h
   1943 
   1944 # Predefined preprocessor variables.
   1945 
   1946 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   1947 
   1948 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   1949 
   1950 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   1951 
   1952 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   1953 
   1954 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   1955 
   1956 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   1957 
   1958 
   1959 # Let the site file select an alternate cache file if it wants to.
   1960 # Prefer an explicitly selected file to automatically selected ones.
   1961 if test -n "$CONFIG_SITE"; then
   1962   ac_site_files="$CONFIG_SITE"
   1963 elif test "x$prefix" != xNONE; then
   1964   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   1965 else
   1966   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   1967 fi
   1968 
   1969 for ac_site_file in $ac_site_files
   1970 do
   1971   case $ac_site_file in #(
   1972   */*) :
   1973      ;; #(
   1974   *) :
   1975     ac_site_file=./$ac_site_file ;;
   1976 esac
   1977   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   1978     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   1979 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   1980     sed 's/^/| /' "$ac_site_file" >&5
   1981     . "$ac_site_file" \
   1982       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   1983 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   1984 as_fn_error $? "failed to load site script $ac_site_file
   1985 See 'config.log' for more details" "$LINENO" 5; }
   1986   fi
   1987 done
   1988 
   1989 if test -r "$cache_file"; then
   1990   # Some versions of bash will fail to source /dev/null (special files
   1991   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   1992   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   1993     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   1994 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   1995     case $cache_file in
   1996       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1997       *)                      . "./$cache_file";;
   1998     esac
   1999   fi
   2000 else
   2001   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2002 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2003   >$cache_file
   2004 fi
   2005 
   2006 # Test code for whether the C compiler supports C89 (global declarations)
   2007 ac_c_conftest_c89_globals='
   2008 /* Does the compiler advertise C89 conformance?
   2009    Do not test the value of __STDC__, because some compilers set it to 0
   2010    while being otherwise adequately conformant. */
   2011 #if !defined __STDC__
   2012 # error "Compiler does not advertise C89 conformance"
   2013 #endif
   2014 
   2015 #include <stddef.h>
   2016 #include <stdarg.h>
   2017 struct stat;
   2018 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2019 struct buf { int x; };
   2020 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2021 static char *e (char **p, int i)
   2022 {
   2023   return p[i];
   2024 }
   2025 static char *f (char * (*g) (char **, int), char **p, ...)
   2026 {
   2027   char *s;
   2028   va_list v;
   2029   va_start (v,p);
   2030   s = g (p, va_arg (v,int));
   2031   va_end (v);
   2032   return s;
   2033 }
   2034 
   2035 /* C89 style stringification. */
   2036 #define noexpand_stringify(a) #a
   2037 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2038 
   2039 /* C89 style token pasting.  Exercises some of the corner cases that
   2040    e.g. old MSVC gets wrong, but not very hard. */
   2041 #define noexpand_concat(a,b) a##b
   2042 #define expand_concat(a,b) noexpand_concat(a,b)
   2043 extern int vA;
   2044 extern int vbee;
   2045 #define aye A
   2046 #define bee B
   2047 int *pvA = &expand_concat(v,aye);
   2048 int *pvbee = &noexpand_concat(v,bee);
   2049 
   2050 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2051    function prototypes and stuff, but not \xHH hex character constants.
   2052    These do not provoke an error unfortunately, instead are silently treated
   2053    as an "x".  The following induces an error, until -std is added to get
   2054    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2055    array size at least.  It is necessary to write \x00 == 0 to get something
   2056    that is true only with -std.  */
   2057 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2058 
   2059 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2060    inside strings and character constants.  */
   2061 #define FOO(x) '\''x'\''
   2062 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2063 
   2064 int test (int i, double x);
   2065 struct s1 {int (*f) (int a);};
   2066 struct s2 {int (*f) (double a);};
   2067 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2068                int, int);'
   2069 
   2070 # Test code for whether the C compiler supports C89 (body of main).
   2071 ac_c_conftest_c89_main='
   2072 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2073 '
   2074 
   2075 # Test code for whether the C compiler supports C99 (global declarations)
   2076 ac_c_conftest_c99_globals='
   2077 /* Does the compiler advertise C99 conformance? */
   2078 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2079 # error "Compiler does not advertise C99 conformance"
   2080 #endif
   2081 
   2082 // See if C++-style comments work.
   2083 
   2084 #include <stdbool.h>
   2085 extern int puts (const char *);
   2086 extern int printf (const char *, ...);
   2087 extern int dprintf (int, const char *, ...);
   2088 extern void *malloc (size_t);
   2089 extern void free (void *);
   2090 
   2091 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2092 // dprintf is used instead of fprintf to avoid needing to declare
   2093 // FILE and stderr.
   2094 #define debug(...) dprintf (2, __VA_ARGS__)
   2095 #define showlist(...) puts (#__VA_ARGS__)
   2096 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2097 static void
   2098 test_varargs_macros (void)
   2099 {
   2100   int x = 1234;
   2101   int y = 5678;
   2102   debug ("Flag");
   2103   debug ("X = %d\n", x);
   2104   showlist (The first, second, and third items.);
   2105   report (x>y, "x is %d but y is %d", x, y);
   2106 }
   2107 
   2108 // Check long long types.
   2109 #define BIG64 18446744073709551615ull
   2110 #define BIG32 4294967295ul
   2111 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2112 #if !BIG_OK
   2113   #error "your preprocessor is broken"
   2114 #endif
   2115 #if BIG_OK
   2116 #else
   2117   #error "your preprocessor is broken"
   2118 #endif
   2119 static long long int bignum = -9223372036854775807LL;
   2120 static unsigned long long int ubignum = BIG64;
   2121 
   2122 struct incomplete_array
   2123 {
   2124   int datasize;
   2125   double data[];
   2126 };
   2127 
   2128 struct named_init {
   2129   int number;
   2130   const wchar_t *name;
   2131   double average;
   2132 };
   2133 
   2134 typedef const char *ccp;
   2135 
   2136 static inline int
   2137 test_restrict (ccp restrict text)
   2138 {
   2139   // Iterate through items via the restricted pointer.
   2140   // Also check for declarations in for loops.
   2141   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2142     continue;
   2143   return 0;
   2144 }
   2145 
   2146 // Check varargs and va_copy.
   2147 static bool
   2148 test_varargs (const char *format, ...)
   2149 {
   2150   va_list args;
   2151   va_start (args, format);
   2152   va_list args_copy;
   2153   va_copy (args_copy, args);
   2154 
   2155   const char *str = "";
   2156   int number = 0;
   2157   float fnumber = 0;
   2158 
   2159   while (*format)
   2160     {
   2161       switch (*format++)
   2162 	{
   2163 	case '\''s'\'': // string
   2164 	  str = va_arg (args_copy, const char *);
   2165 	  break;
   2166 	case '\''d'\'': // int
   2167 	  number = va_arg (args_copy, int);
   2168 	  break;
   2169 	case '\''f'\'': // float
   2170 	  fnumber = va_arg (args_copy, double);
   2171 	  break;
   2172 	default:
   2173 	  break;
   2174 	}
   2175     }
   2176   va_end (args_copy);
   2177   va_end (args);
   2178 
   2179   return *str && number && fnumber;
   2180 }
   2181 '
   2182 
   2183 # Test code for whether the C compiler supports C99 (body of main).
   2184 ac_c_conftest_c99_main='
   2185   // Check bool.
   2186   _Bool success = false;
   2187   success |= (argc != 0);
   2188 
   2189   // Check restrict.
   2190   if (test_restrict ("String literal") == 0)
   2191     success = true;
   2192   char *restrict newvar = "Another string";
   2193 
   2194   // Check varargs.
   2195   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2196   test_varargs_macros ();
   2197 
   2198   // Check flexible array members.
   2199   struct incomplete_array *ia =
   2200     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2201   ia->datasize = 10;
   2202   for (int i = 0; i < ia->datasize; ++i)
   2203     ia->data[i] = i * 1.234;
   2204   // Work around memory leak warnings.
   2205   free (ia);
   2206 
   2207   // Check named initializers.
   2208   struct named_init ni = {
   2209     .number = 34,
   2210     .name = L"Test wide string",
   2211     .average = 543.34343,
   2212   };
   2213 
   2214   ni.number = 58;
   2215 
   2216   int dynamic_array[ni.number];
   2217   dynamic_array[0] = argv[0][0];
   2218   dynamic_array[ni.number - 1] = 543;
   2219 
   2220   // work around unused variable warnings
   2221   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2222 	 || dynamic_array[ni.number - 1] != 543);
   2223 '
   2224 
   2225 # Test code for whether the C compiler supports C11 (global declarations)
   2226 ac_c_conftest_c11_globals='
   2227 /* Does the compiler advertise C11 conformance? */
   2228 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2229 # error "Compiler does not advertise C11 conformance"
   2230 #endif
   2231 
   2232 // Check _Alignas.
   2233 char _Alignas (double) aligned_as_double;
   2234 char _Alignas (0) no_special_alignment;
   2235 extern char aligned_as_int;
   2236 char _Alignas (0) _Alignas (int) aligned_as_int;
   2237 
   2238 // Check _Alignof.
   2239 enum
   2240 {
   2241   int_alignment = _Alignof (int),
   2242   int_array_alignment = _Alignof (int[100]),
   2243   char_alignment = _Alignof (char)
   2244 };
   2245 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2246 
   2247 // Check _Noreturn.
   2248 int _Noreturn does_not_return (void) { for (;;) continue; }
   2249 
   2250 // Check _Static_assert.
   2251 struct test_static_assert
   2252 {
   2253   int x;
   2254   _Static_assert (sizeof (int) <= sizeof (long int),
   2255                   "_Static_assert does not work in struct");
   2256   long int y;
   2257 };
   2258 
   2259 // Check UTF-8 literals.
   2260 #define u8 syntax error!
   2261 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2262 
   2263 // Check duplicate typedefs.
   2264 typedef long *long_ptr;
   2265 typedef long int *long_ptr;
   2266 typedef long_ptr long_ptr;
   2267 
   2268 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2269 struct anonymous
   2270 {
   2271   union {
   2272     struct { int i; int j; };
   2273     struct { int k; long int l; } w;
   2274   };
   2275   int m;
   2276 } v1;
   2277 '
   2278 
   2279 # Test code for whether the C compiler supports C11 (body of main).
   2280 ac_c_conftest_c11_main='
   2281   _Static_assert ((offsetof (struct anonymous, i)
   2282 		   == offsetof (struct anonymous, w.k)),
   2283 		  "Anonymous union alignment botch");
   2284   v1.i = 2;
   2285   v1.w.k = 5;
   2286   ok |= v1.i != 5;
   2287 '
   2288 
   2289 # Test code for whether the C compiler supports C11 (complete).
   2290 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2291 ${ac_c_conftest_c99_globals}
   2292 ${ac_c_conftest_c11_globals}
   2293 
   2294 int
   2295 main (int argc, char **argv)
   2296 {
   2297   int ok = 0;
   2298   ${ac_c_conftest_c89_main}
   2299   ${ac_c_conftest_c99_main}
   2300   ${ac_c_conftest_c11_main}
   2301   return ok;
   2302 }
   2303 "
   2304 
   2305 # Test code for whether the C compiler supports C99 (complete).
   2306 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2307 ${ac_c_conftest_c99_globals}
   2308 
   2309 int
   2310 main (int argc, char **argv)
   2311 {
   2312   int ok = 0;
   2313   ${ac_c_conftest_c89_main}
   2314   ${ac_c_conftest_c99_main}
   2315   return ok;
   2316 }
   2317 "
   2318 
   2319 # Test code for whether the C compiler supports C89 (complete).
   2320 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2321 
   2322 int
   2323 main (int argc, char **argv)
   2324 {
   2325   int ok = 0;
   2326   ${ac_c_conftest_c89_main}
   2327   return ok;
   2328 }
   2329 "
   2330 
   2331 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2332 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2333 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2334 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2335 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2336 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2337 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2338 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2339 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2340 
   2341 # Auxiliary files required by this configure script.
   2342 ac_aux_files="config.guess config.sub compile missing install-sh"
   2343 
   2344 # Locations in which to look for auxiliary files.
   2345 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2346 
   2347 # Search for a directory containing all of the required auxiliary files,
   2348 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2349 # If we don't find one directory that contains all the files we need,
   2350 # we report the set of missing files from the *first* directory in
   2351 # $ac_aux_dir_candidates and give up.
   2352 ac_missing_aux_files=""
   2353 ac_first_candidate=:
   2354 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2356 as_found=false
   2357 for as_dir in $ac_aux_dir_candidates
   2358 do
   2359   IFS=$as_save_IFS
   2360   case $as_dir in #(((
   2361     '') as_dir=./ ;;
   2362     */) ;;
   2363     *) as_dir=$as_dir/ ;;
   2364   esac
   2365   as_found=:
   2366 
   2367   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2368   ac_aux_dir_found=yes
   2369   ac_install_sh=
   2370   for ac_aux in $ac_aux_files
   2371   do
   2372     # As a special case, if "install-sh" is required, that requirement
   2373     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2374     # and $ac_install_sh is set appropriately for whichever one is found.
   2375     if test x"$ac_aux" = x"install-sh"
   2376     then
   2377       if test -f "${as_dir}install-sh"; then
   2378         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2379         ac_install_sh="${as_dir}install-sh -c"
   2380       elif test -f "${as_dir}install.sh"; then
   2381         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2382         ac_install_sh="${as_dir}install.sh -c"
   2383       elif test -f "${as_dir}shtool"; then
   2384         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2385         ac_install_sh="${as_dir}shtool install -c"
   2386       else
   2387         ac_aux_dir_found=no
   2388         if $ac_first_candidate; then
   2389           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2390         else
   2391           break
   2392         fi
   2393       fi
   2394     else
   2395       if test -f "${as_dir}${ac_aux}"; then
   2396         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2397       else
   2398         ac_aux_dir_found=no
   2399         if $ac_first_candidate; then
   2400           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2401         else
   2402           break
   2403         fi
   2404       fi
   2405     fi
   2406   done
   2407   if test "$ac_aux_dir_found" = yes; then
   2408     ac_aux_dir="$as_dir"
   2409     break
   2410   fi
   2411   ac_first_candidate=false
   2412 
   2413   as_found=false
   2414 done
   2415 IFS=$as_save_IFS
   2416 if $as_found
   2417 then :
   2418 
   2419 else case e in #(
   2420   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2421 esac
   2422 fi
   2423 
   2424 
   2425 # These three variables are undocumented and unsupported,
   2426 # and are intended to be withdrawn in a future Autoconf release.
   2427 # They can cause serious problems if a builder's source tree is in a directory
   2428 # whose full name contains unusual characters.
   2429 if test -f "${ac_aux_dir}config.guess"; then
   2430   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2431 fi
   2432 if test -f "${ac_aux_dir}config.sub"; then
   2433   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2434 fi
   2435 if test -f "$ac_aux_dir/configure"; then
   2436   ac_configure="$SHELL ${ac_aux_dir}configure"
   2437 fi
   2438 
   2439 # Check that the precious variables saved in the cache have kept the same
   2440 # value.
   2441 ac_cache_corrupted=false
   2442 for ac_var in $ac_precious_vars; do
   2443   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2444   eval ac_new_set=\$ac_env_${ac_var}_set
   2445   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2446   eval ac_new_val=\$ac_env_${ac_var}_value
   2447   case $ac_old_set,$ac_new_set in
   2448     set,)
   2449       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2450 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2451       ac_cache_corrupted=: ;;
   2452     ,set)
   2453       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2454 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2455       ac_cache_corrupted=: ;;
   2456     ,);;
   2457     *)
   2458       if test "x$ac_old_val" != "x$ac_new_val"; then
   2459 	# differences in whitespace do not lead to failure.
   2460 	ac_old_val_w=`echo x $ac_old_val`
   2461 	ac_new_val_w=`echo x $ac_new_val`
   2462 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2463 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2464 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2465 	  ac_cache_corrupted=:
   2466 	else
   2467 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2468 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2469 	  eval $ac_var=\$ac_old_val
   2470 	fi
   2471 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2472 printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
   2473 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2474 printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
   2475       fi;;
   2476   esac
   2477   # Pass precious variables to config.status.
   2478   if test "$ac_new_set" = set; then
   2479     case $ac_new_val in
   2480     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2481     *) ac_arg=$ac_var=$ac_new_val ;;
   2482     esac
   2483     case " $ac_configure_args " in
   2484       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2485       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2486     esac
   2487   fi
   2488 done
   2489 if $ac_cache_corrupted; then
   2490   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2491 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2492   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2493 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2494   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2495 	    and start over" "$LINENO" 5
   2496 fi
   2497 ## -------------------- ##
   2498 ## Main body of script. ##
   2499 ## -------------------- ##
   2500 
   2501 ac_ext=c
   2502 ac_cpp='$CPP $CPPFLAGS'
   2503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2506 
   2507 
   2508 ac_config_headers="$ac_config_headers config.h"
   2509 
   2510 
   2511 
   2512 # Initialize Automake
   2513 am__api_version='1.17'
   2514 
   2515 
   2516 
   2517   # Find a good install program.  We prefer a C program (faster),
   2518 # so one script is as good as another.  But avoid the broken or
   2519 # incompatible versions:
   2520 # SysV /etc/install, /usr/sbin/install
   2521 # SunOS /usr/etc/install
   2522 # IRIX /sbin/install
   2523 # AIX /bin/install
   2524 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2525 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2526 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2527 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2528 # OS/2's system install, which has a completely different semantic
   2529 # ./install, which can be erroneously created by make from ./install.sh.
   2530 # Reject install programs that cannot install multiple files.
   2531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2532 printf %s "checking for a BSD-compatible install... " >&6; }
   2533 if test -z "$INSTALL"; then
   2534 if test ${ac_cv_path_install+y}
   2535 then :
   2536   printf %s "(cached) " >&6
   2537 else case e in #(
   2538   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2539 for as_dir in $PATH
   2540 do
   2541   IFS=$as_save_IFS
   2542   case $as_dir in #(((
   2543     '') as_dir=./ ;;
   2544     */) ;;
   2545     *) as_dir=$as_dir/ ;;
   2546   esac
   2547     # Account for fact that we put trailing slashes in our PATH walk.
   2548 case $as_dir in #((
   2549   ./ | /[cC]/* | \
   2550   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2551   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2552   /usr/ucb/* ) ;;
   2553   *)
   2554     # OSF1 and SCO ODT 3.0 have their own names for install.
   2555     # Don't use installbsd from OSF since it installs stuff as root
   2556     # by default.
   2557     for ac_prog in ginstall scoinst install; do
   2558       for ac_exec_ext in '' $ac_executable_extensions; do
   2559 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2560 	  if test $ac_prog = install &&
   2561 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2562 	    # AIX install.  It has an incompatible calling convention.
   2563 	    :
   2564 	  elif test $ac_prog = install &&
   2565 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2566 	    # program-specific install script used by HP pwplus--don't use.
   2567 	    :
   2568 	  else
   2569 	    rm -rf conftest.one conftest.two conftest.dir
   2570 	    echo one > conftest.one
   2571 	    echo two > conftest.two
   2572 	    mkdir conftest.dir
   2573 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2574 	      test -s conftest.one && test -s conftest.two &&
   2575 	      test -s conftest.dir/conftest.one &&
   2576 	      test -s conftest.dir/conftest.two
   2577 	    then
   2578 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2579 	      break 3
   2580 	    fi
   2581 	  fi
   2582 	fi
   2583       done
   2584     done
   2585     ;;
   2586 esac
   2587 
   2588   done
   2589 IFS=$as_save_IFS
   2590 
   2591 rm -rf conftest.one conftest.two conftest.dir
   2592  ;;
   2593 esac
   2594 fi
   2595   if test ${ac_cv_path_install+y}; then
   2596     INSTALL=$ac_cv_path_install
   2597   else
   2598     # As a last resort, use the slow shell script.  Don't cache a
   2599     # value for INSTALL within a source directory, because that will
   2600     # break other packages using the cache if that directory is
   2601     # removed, or if the value is a relative name.
   2602     INSTALL=$ac_install_sh
   2603   fi
   2604 fi
   2605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2606 printf "%s\n" "$INSTALL" >&6; }
   2607 
   2608 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2609 # It thinks the first close brace ends the variable substitution.
   2610 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2611 
   2612 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2613 
   2614 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2615 
   2616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   2617 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   2618 if test ${am_cv_sleep_fractional_seconds+y}
   2619 then :
   2620   printf %s "(cached) " >&6
   2621 else case e in #(
   2622   e) if sleep 0.001 2>/dev/null
   2623 then :
   2624   am_cv_sleep_fractional_seconds=yes
   2625 else case e in #(
   2626   e) am_cv_sleep_fractional_seconds=no ;;
   2627 esac
   2628 fi
   2629  ;;
   2630 esac
   2631 fi
   2632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   2633 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
   2634 
   2635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   2636 printf %s "checking filesystem timestamp resolution... " >&6; }
   2637 if test ${am_cv_filesystem_timestamp_resolution+y}
   2638 then :
   2639   printf %s "(cached) " >&6
   2640 else case e in #(
   2641   e) # Default to the worst case.
   2642 am_cv_filesystem_timestamp_resolution=2
   2643 
   2644 # Only try to go finer than 1 sec if sleep can do it.
   2645 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   2646 # - 1 sec is not much of a win compared to 2 sec, and
   2647 # - it takes 2 seconds to perform the test whether 1 sec works.
   2648 #
   2649 # Instead, just use the default 2s on platforms that have 1s resolution,
   2650 # accept the extra 1s delay when using $sleep in the Automake tests, in
   2651 # exchange for not incurring the 2s delay for running the test for all
   2652 # packages.
   2653 #
   2654 am_try_resolutions=
   2655 if test "$am_cv_sleep_fractional_seconds" = yes; then
   2656   # Even a millisecond often causes a bunch of false positives,
   2657   # so just try a hundredth of a second. The time saved between .001 and
   2658   # .01 is not terribly consequential.
   2659   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   2660 fi
   2661 
   2662 # In order to catch current-generation FAT out, we must *modify* files
   2663 # that already exist; the *creation* timestamp is finer.  Use names
   2664 # that make ls -t sort them differently when they have equal
   2665 # timestamps than when they have distinct timestamps, keeping
   2666 # in mind that ls -t prints the *newest* file first.
   2667 rm -f conftest.ts?
   2668 : > conftest.ts1
   2669 : > conftest.ts2
   2670 : > conftest.ts3
   2671 
   2672 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   2673 # clobber the current shell's arguments. (Outer-level square brackets
   2674 # are removed by m4; they're present so that m4 does not expand
   2675 # <dollar><star>; be careful, easy to get confused.)
   2676 if (
   2677      set X `ls -t conftest.ts[12]` &&
   2678      {
   2679        test "$*" != "X conftest.ts1 conftest.ts2" ||
   2680        test "$*" != "X conftest.ts2 conftest.ts1";
   2681      }
   2682 ); then :; else
   2683   # If neither matched, then we have a broken ls.  This can happen
   2684   # if, for instance, CONFIG_SHELL is bash and it inherits a
   2685   # broken ls alias from the environment.  This has actually
   2686   # happened.  Such a system could not be considered "sane".
   2687   printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   2688   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2689 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2690 as_fn_error $? "ls -t produces unexpected output.
   2691 Make sure there is not a broken ls alias in your environment.
   2692 See 'config.log' for more details" "$LINENO" 5; }
   2693 fi
   2694 
   2695 for am_try_res in $am_try_resolutions; do
   2696   # Any one fine-grained sleep might happen to cross the boundary
   2697   # between two values of a coarser actual resolution, but if we do
   2698   # two fine-grained sleeps in a row, at least one of them will fall
   2699   # entirely within a coarse interval.
   2700   echo alpha > conftest.ts1
   2701   sleep $am_try_res
   2702   echo beta > conftest.ts2
   2703   sleep $am_try_res
   2704   echo gamma > conftest.ts3
   2705 
   2706   # We assume that 'ls -t' will make use of high-resolution
   2707   # timestamps if the operating system supports them at all.
   2708   if (set X `ls -t conftest.ts?` &&
   2709       test "$2" = conftest.ts3 &&
   2710       test "$3" = conftest.ts2 &&
   2711       test "$4" = conftest.ts1); then
   2712     #
   2713     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   2714     # because we don't need to test make.
   2715     make_ok=true
   2716     if test $am_try_res != 1; then
   2717       # But if we've succeeded so far with a subsecond resolution, we
   2718       # have one more thing to check: make. It can happen that
   2719       # everything else supports the subsecond mtimes, but make doesn't;
   2720       # notably on macOS, which ships make 3.81 from 2006 (the last one
   2721       # released under GPLv2). https://bugs.gnu.org/68808
   2722       #
   2723       # We test $MAKE if it is defined in the environment, else "make".
   2724       # It might get overridden later, but our hope is that in practice
   2725       # it does not matter: it is the system "make" which is (by far)
   2726       # the most likely to be broken, whereas if the user overrides it,
   2727       # probably they did so with a better, or at least not worse, make.
   2728       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   2729       #
   2730       # Create a Makefile (real tab character here):
   2731       rm -f conftest.mk
   2732       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   2733       echo '	touch conftest.ts2' >>conftest.mk
   2734       #
   2735       # Now, running
   2736       #   touch conftest.ts1; touch conftest.ts2; make
   2737       # should touch ts1 because ts2 is newer. This could happen by luck,
   2738       # but most often, it will fail if make's support is insufficient. So
   2739       # test for several consecutive successes.
   2740       #
   2741       # (We reuse conftest.ts[12] because we still want to modify existing
   2742       # files, not create new ones, per above.)
   2743       n=0
   2744       make=${MAKE-make}
   2745       until test $n -eq 3; do
   2746         echo one > conftest.ts1
   2747         sleep $am_try_res
   2748         echo two > conftest.ts2 # ts2 should now be newer than ts1
   2749         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   2750           make_ok=false
   2751           break # out of $n loop
   2752         fi
   2753         n=`expr $n + 1`
   2754       done
   2755     fi
   2756     #
   2757     if $make_ok; then
   2758       # Everything we know to check worked out, so call this resolution good.
   2759       am_cv_filesystem_timestamp_resolution=$am_try_res
   2760       break # out of $am_try_res loop
   2761     fi
   2762     # Otherwise, we'll go on to check the next resolution.
   2763   fi
   2764 done
   2765 rm -f conftest.ts?
   2766 # (end _am_filesystem_timestamp_resolution)
   2767  ;;
   2768 esac
   2769 fi
   2770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   2771 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
   2772 
   2773 # This check should not be cached, as it may vary across builds of
   2774 # different projects.
   2775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2776 printf %s "checking whether build environment is sane... " >&6; }
   2777 # Reject unsafe characters in $srcdir or the absolute working directory
   2778 # name.  Accept space and tab only in the latter.
   2779 am_lf='
   2780 '
   2781 case `pwd` in
   2782   *[\\\"\#\$\&\'\`$am_lf]*)
   2783     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2784 esac
   2785 case $srcdir in
   2786   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2787     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2788 esac
   2789 
   2790 # Do 'set' in a subshell so we don't clobber the current shell's
   2791 # arguments.  Must try -L first in case configure is actually a
   2792 # symlink; some systems play weird games with the mod time of symlinks
   2793 # (eg FreeBSD returns the mod time of the symlink's containing
   2794 # directory).
   2795 am_build_env_is_sane=no
   2796 am_has_slept=no
   2797 rm -f conftest.file
   2798 for am_try in 1 2; do
   2799   echo "timestamp, slept: $am_has_slept" > conftest.file
   2800   if (
   2801     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2802     if test "$*" = "X"; then
   2803       # -L didn't work.
   2804       set X `ls -t "$srcdir/configure" conftest.file`
   2805     fi
   2806     test "$2" = conftest.file
   2807   ); then
   2808     am_build_env_is_sane=yes
   2809     break
   2810   fi
   2811   # Just in case.
   2812   sleep "$am_cv_filesystem_timestamp_resolution"
   2813   am_has_slept=yes
   2814 done
   2815 
   2816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   2817 printf "%s\n" "$am_build_env_is_sane" >&6; }
   2818 if test "$am_build_env_is_sane" = no; then
   2819   as_fn_error $? "newly created file is older than distributed files!
   2820 Check your system clock" "$LINENO" 5
   2821 fi
   2822 
   2823 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2824 # generated files are strictly newer.
   2825 am_sleep_pid=
   2826 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   2827 then :
   2828 
   2829 else case e in #(
   2830   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   2831   am_sleep_pid=$!
   2832  ;;
   2833 esac
   2834 fi
   2835 
   2836 rm -f conftest.file
   2837 
   2838 test "$program_prefix" != NONE &&
   2839   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2840 # Use a double $ so make ignores it.
   2841 test "$program_suffix" != NONE &&
   2842   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2843 # Double any \ or $.
   2844 # By default was 's,x,x', remove it if useless.
   2845 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2846 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2847 
   2848 
   2849 # Expand $ac_aux_dir to an absolute path.
   2850 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2851 
   2852 
   2853   if test x"${MISSING+set}" != xset; then
   2854   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2855 fi
   2856 # Use eval to expand $SHELL
   2857 if eval "$MISSING --is-lightweight"; then
   2858   am_missing_run="$MISSING "
   2859 else
   2860   am_missing_run=
   2861   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2862 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2863 fi
   2864 
   2865 if test x"${install_sh+set}" != xset; then
   2866   case $am_aux_dir in
   2867   *\ * | *\	*)
   2868     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2869   *)
   2870     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2871   esac
   2872 fi
   2873 
   2874 # Installed binaries are usually stripped using 'strip' when the user
   2875 # run "make install-strip".  However 'strip' might not be the right
   2876 # tool to use in cross-compilation environments, therefore Automake
   2877 # will honor the 'STRIP' environment variable to overrule this program.
   2878 if test "$cross_compiling" != no; then
   2879   if test -n "$ac_tool_prefix"; then
   2880   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2881 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2883 printf %s "checking for $ac_word... " >&6; }
   2884 if test ${ac_cv_prog_STRIP+y}
   2885 then :
   2886   printf %s "(cached) " >&6
   2887 else case e in #(
   2888   e) if test -n "$STRIP"; then
   2889   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2890 else
   2891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2892 for as_dir in $PATH
   2893 do
   2894   IFS=$as_save_IFS
   2895   case $as_dir in #(((
   2896     '') as_dir=./ ;;
   2897     */) ;;
   2898     *) as_dir=$as_dir/ ;;
   2899   esac
   2900     for ac_exec_ext in '' $ac_executable_extensions; do
   2901   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2902     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2903     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2904     break 2
   2905   fi
   2906 done
   2907   done
   2908 IFS=$as_save_IFS
   2909 
   2910 fi ;;
   2911 esac
   2912 fi
   2913 STRIP=$ac_cv_prog_STRIP
   2914 if test -n "$STRIP"; then
   2915   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2916 printf "%s\n" "$STRIP" >&6; }
   2917 else
   2918   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2919 printf "%s\n" "no" >&6; }
   2920 fi
   2921 
   2922 
   2923 fi
   2924 if test -z "$ac_cv_prog_STRIP"; then
   2925   ac_ct_STRIP=$STRIP
   2926   # Extract the first word of "strip", so it can be a program name with args.
   2927 set dummy strip; ac_word=$2
   2928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2929 printf %s "checking for $ac_word... " >&6; }
   2930 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2931 then :
   2932   printf %s "(cached) " >&6
   2933 else case e in #(
   2934   e) if test -n "$ac_ct_STRIP"; then
   2935   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2936 else
   2937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2938 for as_dir in $PATH
   2939 do
   2940   IFS=$as_save_IFS
   2941   case $as_dir in #(((
   2942     '') as_dir=./ ;;
   2943     */) ;;
   2944     *) as_dir=$as_dir/ ;;
   2945   esac
   2946     for ac_exec_ext in '' $ac_executable_extensions; do
   2947   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2948     ac_cv_prog_ac_ct_STRIP="strip"
   2949     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2950     break 2
   2951   fi
   2952 done
   2953   done
   2954 IFS=$as_save_IFS
   2955 
   2956 fi ;;
   2957 esac
   2958 fi
   2959 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2960 if test -n "$ac_ct_STRIP"; then
   2961   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2962 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2963 else
   2964   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2965 printf "%s\n" "no" >&6; }
   2966 fi
   2967 
   2968   if test "x$ac_ct_STRIP" = x; then
   2969     STRIP=":"
   2970   else
   2971     case $cross_compiling:$ac_tool_warned in
   2972 yes:)
   2973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2974 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2975 ac_tool_warned=yes ;;
   2976 esac
   2977     STRIP=$ac_ct_STRIP
   2978   fi
   2979 else
   2980   STRIP="$ac_cv_prog_STRIP"
   2981 fi
   2982 
   2983 fi
   2984 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2985 
   2986 
   2987   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   2988 printf %s "checking for a race-free mkdir -p... " >&6; }
   2989 if test -z "$MKDIR_P"; then
   2990   if test ${ac_cv_path_mkdir+y}
   2991 then :
   2992   printf %s "(cached) " >&6
   2993 else case e in #(
   2994   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2995 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2996 do
   2997   IFS=$as_save_IFS
   2998   case $as_dir in #(((
   2999     '') as_dir=./ ;;
   3000     */) ;;
   3001     *) as_dir=$as_dir/ ;;
   3002   esac
   3003     for ac_prog in mkdir gmkdir; do
   3004 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3005 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3006 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3007 	     'mkdir ('*'coreutils) '* | \
   3008 	     *'BusyBox '* | \
   3009 	     'mkdir (fileutils) '4.1*)
   3010 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3011 	       break 3;;
   3012 	   esac
   3013 	 done
   3014        done
   3015   done
   3016 IFS=$as_save_IFS
   3017  ;;
   3018 esac
   3019 fi
   3020 
   3021   test -d ./--version && rmdir ./--version
   3022   if test ${ac_cv_path_mkdir+y}; then
   3023     MKDIR_P="$ac_cv_path_mkdir -p"
   3024   else
   3025     # As a last resort, use plain mkdir -p,
   3026     # in the hope it doesn't have the bugs of ancient mkdir.
   3027     MKDIR_P='mkdir -p'
   3028   fi
   3029 fi
   3030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3031 printf "%s\n" "$MKDIR_P" >&6; }
   3032 
   3033 for ac_prog in gawk mawk nawk awk
   3034 do
   3035   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3036 set dummy $ac_prog; ac_word=$2
   3037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3038 printf %s "checking for $ac_word... " >&6; }
   3039 if test ${ac_cv_prog_AWK+y}
   3040 then :
   3041   printf %s "(cached) " >&6
   3042 else case e in #(
   3043   e) if test -n "$AWK"; then
   3044   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3045 else
   3046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3047 for as_dir in $PATH
   3048 do
   3049   IFS=$as_save_IFS
   3050   case $as_dir in #(((
   3051     '') as_dir=./ ;;
   3052     */) ;;
   3053     *) as_dir=$as_dir/ ;;
   3054   esac
   3055     for ac_exec_ext in '' $ac_executable_extensions; do
   3056   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3057     ac_cv_prog_AWK="$ac_prog"
   3058     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3059     break 2
   3060   fi
   3061 done
   3062   done
   3063 IFS=$as_save_IFS
   3064 
   3065 fi ;;
   3066 esac
   3067 fi
   3068 AWK=$ac_cv_prog_AWK
   3069 if test -n "$AWK"; then
   3070   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3071 printf "%s\n" "$AWK" >&6; }
   3072 else
   3073   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3074 printf "%s\n" "no" >&6; }
   3075 fi
   3076 
   3077 
   3078   test -n "$AWK" && break
   3079 done
   3080 
   3081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3082 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3083 set x ${MAKE-make}
   3084 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3085 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3086 then :
   3087   printf %s "(cached) " >&6
   3088 else case e in #(
   3089   e) cat >conftest.make <<\_ACEOF
   3090 SHELL = /bin/sh
   3091 all:
   3092 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3093 _ACEOF
   3094 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3095 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3096   *@@@%%%=?*=@@@%%%*)
   3097     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3098   *)
   3099     eval ac_cv_prog_make_${ac_make}_set=no;;
   3100 esac
   3101 rm -f conftest.make ;;
   3102 esac
   3103 fi
   3104 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3105   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3106 printf "%s\n" "yes" >&6; }
   3107   SET_MAKE=
   3108 else
   3109   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3110 printf "%s\n" "no" >&6; }
   3111   SET_MAKE="MAKE=${MAKE-make}"
   3112 fi
   3113 
   3114 rm -rf .tst 2>/dev/null
   3115 mkdir .tst 2>/dev/null
   3116 if test -d .tst; then
   3117   am__leading_dot=.
   3118 else
   3119   am__leading_dot=_
   3120 fi
   3121 rmdir .tst 2>/dev/null
   3122 
   3123 AM_DEFAULT_VERBOSITY=1
   3124 # Check whether --enable-silent-rules was given.
   3125 if test ${enable_silent_rules+y}
   3126 then :
   3127   enableval=$enable_silent_rules;
   3128 fi
   3129 
   3130 am_make=${MAKE-make}
   3131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3132 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3133 if test ${am_cv_make_support_nested_variables+y}
   3134 then :
   3135   printf %s "(cached) " >&6
   3136 else case e in #(
   3137   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   3138 BAR0=false
   3139 BAR1=true
   3140 V=1
   3141 am__doit:
   3142 	@$(TRUE)
   3143 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3144   am_cv_make_support_nested_variables=yes
   3145 else
   3146   am_cv_make_support_nested_variables=no
   3147 fi ;;
   3148 esac
   3149 fi
   3150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3151 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3152 AM_BACKSLASH='\'
   3153 
   3154 am__rm_f_notfound=
   3155 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   3156 then :
   3157 
   3158 else case e in #(
   3159   e) am__rm_f_notfound='""' ;;
   3160 esac
   3161 fi
   3162 
   3163 
   3164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   3165 printf %s "checking xargs -n works... " >&6; }
   3166 if test ${am_cv_xargs_n_works+y}
   3167 then :
   3168   printf %s "(cached) " >&6
   3169 else case e in #(
   3170   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   3171 3"
   3172 then :
   3173   am_cv_xargs_n_works=yes
   3174 else case e in #(
   3175   e) am_cv_xargs_n_works=no ;;
   3176 esac
   3177 fi ;;
   3178 esac
   3179 fi
   3180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   3181 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
   3182 if test "$am_cv_xargs_n_works" = yes
   3183 then :
   3184   am__xargs_n='xargs -n'
   3185 else case e in #(
   3186   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   3187  ;;
   3188 esac
   3189 fi
   3190 
   3191 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3192   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3193   # is not polluted with repeated "-I."
   3194   am__isrc=' -I$(srcdir)'
   3195   # test to see if srcdir already configured
   3196   if test -f $srcdir/config.status; then
   3197     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3198   fi
   3199 fi
   3200 
   3201 # test whether we have cygpath
   3202 if test -z "$CYGPATH_W"; then
   3203   if (cygpath --version) >/dev/null 2>/dev/null; then
   3204     CYGPATH_W='cygpath -w'
   3205   else
   3206     CYGPATH_W=echo
   3207   fi
   3208 fi
   3209 
   3210 
   3211 # Define the identity of the package.
   3212  PACKAGE='xcmsdb'
   3213  VERSION='1.0.7'
   3214 
   3215 
   3216 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3217 
   3218 
   3219 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3220 
   3221 # Some tools Automake needs.
   3222 
   3223 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3224 
   3225 
   3226 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3227 
   3228 
   3229 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3230 
   3231 
   3232 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3233 
   3234 
   3235 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3236 
   3237 # For better backward compatibility.  To be removed once Automake 1.9.x
   3238 # dies out for good.  For more background, see:
   3239 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3240 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3241 mkdir_p='$(MKDIR_P)'
   3242 
   3243 # We need awk for the "check" target (and possibly the TAP driver).  The
   3244 # system "awk" is bad on some platforms.
   3245 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3246 # in the wild :-(  We should find a proper way to deprecate it ...
   3247 AMTAR='$${TAR-tar}'
   3248 
   3249 
   3250 # We'll loop over all known methods to create a tar archive until one works.
   3251 _am_tools='gnutar  pax cpio none'
   3252 
   3253 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3254 
   3255 
   3256 
   3257 
   3258 
   3259 # Variables for tags utilities; see am/tags.am
   3260 if test -z "$CTAGS"; then
   3261   CTAGS=ctags
   3262 fi
   3263 
   3264 if test -z "$ETAGS"; then
   3265   ETAGS=etags
   3266 fi
   3267 
   3268 if test -z "$CSCOPE"; then
   3269   CSCOPE=cscope
   3270 fi
   3271 
   3272 
   3273 
   3274 
   3275 
   3276 
   3277 
   3278 
   3279 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   3280 
   3281 
   3282 
   3283 
   3284 
   3285 
   3286 
   3287 
   3288 
   3289 
   3290 
   3291 
   3292 
   3293 
   3294 
   3295 
   3296 
   3297 
   3298 
   3299 
   3300 DEPDIR="${am__leading_dot}deps"
   3301 
   3302 ac_config_commands="$ac_config_commands depfiles"
   3303 
   3304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3305 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3306 cat > confinc.mk << 'END'
   3307 am__doit:
   3308 	@echo this is the am__doit target >confinc.out
   3309 .PHONY: am__doit
   3310 END
   3311 am__include="#"
   3312 am__quote=
   3313 # BSD make does it like this.
   3314 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3315 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3316 echo 'include confinc.mk # ignored' > confmf.GNU
   3317 _am_result=no
   3318 for s in GNU BSD; do
   3319   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3320    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3321    ac_status=$?
   3322    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3323    (exit $ac_status); }
   3324   case $?:`cat confinc.out 2>/dev/null` in #(
   3325   '0:this is the am__doit target') :
   3326     case $s in #(
   3327   BSD) :
   3328     am__include='.include' am__quote='"' ;; #(
   3329   *) :
   3330     am__include='include' am__quote='' ;;
   3331 esac ;; #(
   3332   *) :
   3333      ;;
   3334 esac
   3335   if test "$am__include" != "#"; then
   3336     _am_result="yes ($s style)"
   3337     break
   3338   fi
   3339 done
   3340 rm -f confinc.* confmf.*
   3341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3342 printf "%s\n" "${_am_result}" >&6; }
   3343 
   3344 # Check whether --enable-dependency-tracking was given.
   3345 if test ${enable_dependency_tracking+y}
   3346 then :
   3347   enableval=$enable_dependency_tracking;
   3348 fi
   3349 
   3350 if test "x$enable_dependency_tracking" != xno; then
   3351   am_depcomp="$ac_aux_dir/depcomp"
   3352   AMDEPBACKSLASH='\'
   3353   am__nodep='_no'
   3354 fi
   3355  if test "x$enable_dependency_tracking" != xno; then
   3356   AMDEP_TRUE=
   3357   AMDEP_FALSE='#'
   3358 else
   3359   AMDEP_TRUE='#'
   3360   AMDEP_FALSE=
   3361 fi
   3362 
   3363 
   3364 ac_ext=c
   3365 ac_cpp='$CPP $CPPFLAGS'
   3366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3369 if test -n "$ac_tool_prefix"; then
   3370   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3371 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3373 printf %s "checking for $ac_word... " >&6; }
   3374 if test ${ac_cv_prog_CC+y}
   3375 then :
   3376   printf %s "(cached) " >&6
   3377 else case e in #(
   3378   e) if test -n "$CC"; then
   3379   ac_cv_prog_CC="$CC" # Let the user override the test.
   3380 else
   3381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3382 for as_dir in $PATH
   3383 do
   3384   IFS=$as_save_IFS
   3385   case $as_dir in #(((
   3386     '') as_dir=./ ;;
   3387     */) ;;
   3388     *) as_dir=$as_dir/ ;;
   3389   esac
   3390     for ac_exec_ext in '' $ac_executable_extensions; do
   3391   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3392     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3393     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3394     break 2
   3395   fi
   3396 done
   3397   done
   3398 IFS=$as_save_IFS
   3399 
   3400 fi ;;
   3401 esac
   3402 fi
   3403 CC=$ac_cv_prog_CC
   3404 if test -n "$CC"; then
   3405   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3406 printf "%s\n" "$CC" >&6; }
   3407 else
   3408   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3409 printf "%s\n" "no" >&6; }
   3410 fi
   3411 
   3412 
   3413 fi
   3414 if test -z "$ac_cv_prog_CC"; then
   3415   ac_ct_CC=$CC
   3416   # Extract the first word of "gcc", so it can be a program name with args.
   3417 set dummy gcc; ac_word=$2
   3418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3419 printf %s "checking for $ac_word... " >&6; }
   3420 if test ${ac_cv_prog_ac_ct_CC+y}
   3421 then :
   3422   printf %s "(cached) " >&6
   3423 else case e in #(
   3424   e) if test -n "$ac_ct_CC"; then
   3425   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3426 else
   3427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3428 for as_dir in $PATH
   3429 do
   3430   IFS=$as_save_IFS
   3431   case $as_dir in #(((
   3432     '') as_dir=./ ;;
   3433     */) ;;
   3434     *) as_dir=$as_dir/ ;;
   3435   esac
   3436     for ac_exec_ext in '' $ac_executable_extensions; do
   3437   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3438     ac_cv_prog_ac_ct_CC="gcc"
   3439     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3440     break 2
   3441   fi
   3442 done
   3443   done
   3444 IFS=$as_save_IFS
   3445 
   3446 fi ;;
   3447 esac
   3448 fi
   3449 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3450 if test -n "$ac_ct_CC"; then
   3451   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3452 printf "%s\n" "$ac_ct_CC" >&6; }
   3453 else
   3454   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3455 printf "%s\n" "no" >&6; }
   3456 fi
   3457 
   3458   if test "x$ac_ct_CC" = x; then
   3459     CC=""
   3460   else
   3461     case $cross_compiling:$ac_tool_warned in
   3462 yes:)
   3463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3464 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3465 ac_tool_warned=yes ;;
   3466 esac
   3467     CC=$ac_ct_CC
   3468   fi
   3469 else
   3470   CC="$ac_cv_prog_CC"
   3471 fi
   3472 
   3473 if test -z "$CC"; then
   3474           if test -n "$ac_tool_prefix"; then
   3475     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3476 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3478 printf %s "checking for $ac_word... " >&6; }
   3479 if test ${ac_cv_prog_CC+y}
   3480 then :
   3481   printf %s "(cached) " >&6
   3482 else case e in #(
   3483   e) if test -n "$CC"; then
   3484   ac_cv_prog_CC="$CC" # Let the user override the test.
   3485 else
   3486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3487 for as_dir in $PATH
   3488 do
   3489   IFS=$as_save_IFS
   3490   case $as_dir in #(((
   3491     '') as_dir=./ ;;
   3492     */) ;;
   3493     *) as_dir=$as_dir/ ;;
   3494   esac
   3495     for ac_exec_ext in '' $ac_executable_extensions; do
   3496   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3497     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3498     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3499     break 2
   3500   fi
   3501 done
   3502   done
   3503 IFS=$as_save_IFS
   3504 
   3505 fi ;;
   3506 esac
   3507 fi
   3508 CC=$ac_cv_prog_CC
   3509 if test -n "$CC"; then
   3510   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3511 printf "%s\n" "$CC" >&6; }
   3512 else
   3513   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3514 printf "%s\n" "no" >&6; }
   3515 fi
   3516 
   3517 
   3518   fi
   3519 fi
   3520 if test -z "$CC"; then
   3521   # Extract the first word of "cc", so it can be a program name with args.
   3522 set dummy cc; ac_word=$2
   3523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3524 printf %s "checking for $ac_word... " >&6; }
   3525 if test ${ac_cv_prog_CC+y}
   3526 then :
   3527   printf %s "(cached) " >&6
   3528 else case e in #(
   3529   e) if test -n "$CC"; then
   3530   ac_cv_prog_CC="$CC" # Let the user override the test.
   3531 else
   3532   ac_prog_rejected=no
   3533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3534 for as_dir in $PATH
   3535 do
   3536   IFS=$as_save_IFS
   3537   case $as_dir in #(((
   3538     '') as_dir=./ ;;
   3539     */) ;;
   3540     *) as_dir=$as_dir/ ;;
   3541   esac
   3542     for ac_exec_ext in '' $ac_executable_extensions; do
   3543   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3544     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3545        ac_prog_rejected=yes
   3546        continue
   3547      fi
   3548     ac_cv_prog_CC="cc"
   3549     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3550     break 2
   3551   fi
   3552 done
   3553   done
   3554 IFS=$as_save_IFS
   3555 
   3556 if test $ac_prog_rejected = yes; then
   3557   # We found a bogon in the path, so make sure we never use it.
   3558   set dummy $ac_cv_prog_CC
   3559   shift
   3560   if test $# != 0; then
   3561     # We chose a different compiler from the bogus one.
   3562     # However, it has the same basename, so the bogon will be chosen
   3563     # first if we set CC to just the basename; use the full file name.
   3564     shift
   3565     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3566   fi
   3567 fi
   3568 fi ;;
   3569 esac
   3570 fi
   3571 CC=$ac_cv_prog_CC
   3572 if test -n "$CC"; then
   3573   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3574 printf "%s\n" "$CC" >&6; }
   3575 else
   3576   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3577 printf "%s\n" "no" >&6; }
   3578 fi
   3579 
   3580 
   3581 fi
   3582 if test -z "$CC"; then
   3583   if test -n "$ac_tool_prefix"; then
   3584   for ac_prog in cl.exe
   3585   do
   3586     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3587 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3589 printf %s "checking for $ac_word... " >&6; }
   3590 if test ${ac_cv_prog_CC+y}
   3591 then :
   3592   printf %s "(cached) " >&6
   3593 else case e in #(
   3594   e) if test -n "$CC"; then
   3595   ac_cv_prog_CC="$CC" # Let the user override the test.
   3596 else
   3597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3598 for as_dir in $PATH
   3599 do
   3600   IFS=$as_save_IFS
   3601   case $as_dir in #(((
   3602     '') as_dir=./ ;;
   3603     */) ;;
   3604     *) as_dir=$as_dir/ ;;
   3605   esac
   3606     for ac_exec_ext in '' $ac_executable_extensions; do
   3607   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3608     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3609     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3610     break 2
   3611   fi
   3612 done
   3613   done
   3614 IFS=$as_save_IFS
   3615 
   3616 fi ;;
   3617 esac
   3618 fi
   3619 CC=$ac_cv_prog_CC
   3620 if test -n "$CC"; then
   3621   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3622 printf "%s\n" "$CC" >&6; }
   3623 else
   3624   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3625 printf "%s\n" "no" >&6; }
   3626 fi
   3627 
   3628 
   3629     test -n "$CC" && break
   3630   done
   3631 fi
   3632 if test -z "$CC"; then
   3633   ac_ct_CC=$CC
   3634   for ac_prog in cl.exe
   3635 do
   3636   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3637 set dummy $ac_prog; ac_word=$2
   3638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3639 printf %s "checking for $ac_word... " >&6; }
   3640 if test ${ac_cv_prog_ac_ct_CC+y}
   3641 then :
   3642   printf %s "(cached) " >&6
   3643 else case e in #(
   3644   e) if test -n "$ac_ct_CC"; then
   3645   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3646 else
   3647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3648 for as_dir in $PATH
   3649 do
   3650   IFS=$as_save_IFS
   3651   case $as_dir in #(((
   3652     '') as_dir=./ ;;
   3653     */) ;;
   3654     *) as_dir=$as_dir/ ;;
   3655   esac
   3656     for ac_exec_ext in '' $ac_executable_extensions; do
   3657   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3658     ac_cv_prog_ac_ct_CC="$ac_prog"
   3659     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3660     break 2
   3661   fi
   3662 done
   3663   done
   3664 IFS=$as_save_IFS
   3665 
   3666 fi ;;
   3667 esac
   3668 fi
   3669 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3670 if test -n "$ac_ct_CC"; then
   3671   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3672 printf "%s\n" "$ac_ct_CC" >&6; }
   3673 else
   3674   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3675 printf "%s\n" "no" >&6; }
   3676 fi
   3677 
   3678 
   3679   test -n "$ac_ct_CC" && break
   3680 done
   3681 
   3682   if test "x$ac_ct_CC" = x; then
   3683     CC=""
   3684   else
   3685     case $cross_compiling:$ac_tool_warned in
   3686 yes:)
   3687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3688 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3689 ac_tool_warned=yes ;;
   3690 esac
   3691     CC=$ac_ct_CC
   3692   fi
   3693 fi
   3694 
   3695 fi
   3696 if test -z "$CC"; then
   3697   if test -n "$ac_tool_prefix"; then
   3698   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3699 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3701 printf %s "checking for $ac_word... " >&6; }
   3702 if test ${ac_cv_prog_CC+y}
   3703 then :
   3704   printf %s "(cached) " >&6
   3705 else case e in #(
   3706   e) if test -n "$CC"; then
   3707   ac_cv_prog_CC="$CC" # Let the user override the test.
   3708 else
   3709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3710 for as_dir in $PATH
   3711 do
   3712   IFS=$as_save_IFS
   3713   case $as_dir in #(((
   3714     '') as_dir=./ ;;
   3715     */) ;;
   3716     *) as_dir=$as_dir/ ;;
   3717   esac
   3718     for ac_exec_ext in '' $ac_executable_extensions; do
   3719   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3720     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3721     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3722     break 2
   3723   fi
   3724 done
   3725   done
   3726 IFS=$as_save_IFS
   3727 
   3728 fi ;;
   3729 esac
   3730 fi
   3731 CC=$ac_cv_prog_CC
   3732 if test -n "$CC"; then
   3733   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3734 printf "%s\n" "$CC" >&6; }
   3735 else
   3736   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3737 printf "%s\n" "no" >&6; }
   3738 fi
   3739 
   3740 
   3741 fi
   3742 if test -z "$ac_cv_prog_CC"; then
   3743   ac_ct_CC=$CC
   3744   # Extract the first word of "clang", so it can be a program name with args.
   3745 set dummy clang; ac_word=$2
   3746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3747 printf %s "checking for $ac_word... " >&6; }
   3748 if test ${ac_cv_prog_ac_ct_CC+y}
   3749 then :
   3750   printf %s "(cached) " >&6
   3751 else case e in #(
   3752   e) if test -n "$ac_ct_CC"; then
   3753   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3754 else
   3755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3756 for as_dir in $PATH
   3757 do
   3758   IFS=$as_save_IFS
   3759   case $as_dir in #(((
   3760     '') as_dir=./ ;;
   3761     */) ;;
   3762     *) as_dir=$as_dir/ ;;
   3763   esac
   3764     for ac_exec_ext in '' $ac_executable_extensions; do
   3765   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3766     ac_cv_prog_ac_ct_CC="clang"
   3767     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3768     break 2
   3769   fi
   3770 done
   3771   done
   3772 IFS=$as_save_IFS
   3773 
   3774 fi ;;
   3775 esac
   3776 fi
   3777 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3778 if test -n "$ac_ct_CC"; then
   3779   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3780 printf "%s\n" "$ac_ct_CC" >&6; }
   3781 else
   3782   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3783 printf "%s\n" "no" >&6; }
   3784 fi
   3785 
   3786   if test "x$ac_ct_CC" = x; then
   3787     CC=""
   3788   else
   3789     case $cross_compiling:$ac_tool_warned in
   3790 yes:)
   3791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3792 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3793 ac_tool_warned=yes ;;
   3794 esac
   3795     CC=$ac_ct_CC
   3796   fi
   3797 else
   3798   CC="$ac_cv_prog_CC"
   3799 fi
   3800 
   3801 fi
   3802 
   3803 
   3804 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3805 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3806 as_fn_error $? "no acceptable C compiler found in \$PATH
   3807 See 'config.log' for more details" "$LINENO" 5; }
   3808 
   3809 # Provide some information about the compiler.
   3810 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3811 set X $ac_compile
   3812 ac_compiler=$2
   3813 for ac_option in --version -v -V -qversion -version; do
   3814   { { ac_try="$ac_compiler $ac_option >&5"
   3815 case "(($ac_try" in
   3816   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3817   *) ac_try_echo=$ac_try;;
   3818 esac
   3819 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3820 printf "%s\n" "$ac_try_echo"; } >&5
   3821   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3822   ac_status=$?
   3823   if test -s conftest.err; then
   3824     sed '10a\
   3825 ... rest of stderr output deleted ...
   3826          10q' conftest.err >conftest.er1
   3827     cat conftest.er1 >&5
   3828   fi
   3829   rm -f conftest.er1 conftest.err
   3830   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3831   test $ac_status = 0; }
   3832 done
   3833 
   3834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3835 /* end confdefs.h.  */
   3836 
   3837 int
   3838 main (void)
   3839 {
   3840 
   3841   ;
   3842   return 0;
   3843 }
   3844 _ACEOF
   3845 ac_clean_files_save=$ac_clean_files
   3846 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3847 # Try to create an executable without -o first, disregard a.out.
   3848 # It will help us diagnose broken compilers, and finding out an intuition
   3849 # of exeext.
   3850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3851 printf %s "checking whether the C compiler works... " >&6; }
   3852 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3853 
   3854 # The possible output files:
   3855 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3856 
   3857 ac_rmfiles=
   3858 for ac_file in $ac_files
   3859 do
   3860   case $ac_file in
   3861     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3862     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3863   esac
   3864 done
   3865 rm -f $ac_rmfiles
   3866 
   3867 if { { ac_try="$ac_link_default"
   3868 case "(($ac_try" in
   3869   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3870   *) ac_try_echo=$ac_try;;
   3871 esac
   3872 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3873 printf "%s\n" "$ac_try_echo"; } >&5
   3874   (eval "$ac_link_default") 2>&5
   3875   ac_status=$?
   3876   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3877   test $ac_status = 0; }
   3878 then :
   3879   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   3880 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   3881 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3882 # so that the user can short-circuit this test for compilers unknown to
   3883 # Autoconf.
   3884 for ac_file in $ac_files ''
   3885 do
   3886   test -f "$ac_file" || continue
   3887   case $ac_file in
   3888     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3889 	;;
   3890     [ab].out )
   3891 	# We found the default executable, but exeext='' is most
   3892 	# certainly right.
   3893 	break;;
   3894     *.* )
   3895 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3896 	then :; else
   3897 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3898 	fi
   3899 	# We set ac_cv_exeext here because the later test for it is not
   3900 	# safe: cross compilers may not add the suffix if given an '-o'
   3901 	# argument, so we may need to know it at that point already.
   3902 	# Even if this section looks crufty: it has the advantage of
   3903 	# actually working.
   3904 	break;;
   3905     * )
   3906 	break;;
   3907   esac
   3908 done
   3909 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3910 
   3911 else case e in #(
   3912   e) ac_file='' ;;
   3913 esac
   3914 fi
   3915 if test -z "$ac_file"
   3916 then :
   3917   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3918 printf "%s\n" "no" >&6; }
   3919 printf "%s\n" "$as_me: failed program was:" >&5
   3920 sed 's/^/| /' conftest.$ac_ext >&5
   3921 
   3922 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3923 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3924 as_fn_error 77 "C compiler cannot create executables
   3925 See 'config.log' for more details" "$LINENO" 5; }
   3926 else case e in #(
   3927   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3928 printf "%s\n" "yes" >&6; } ;;
   3929 esac
   3930 fi
   3931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3932 printf %s "checking for C compiler default output file name... " >&6; }
   3933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3934 printf "%s\n" "$ac_file" >&6; }
   3935 ac_exeext=$ac_cv_exeext
   3936 
   3937 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3938 ac_clean_files=$ac_clean_files_save
   3939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3940 printf %s "checking for suffix of executables... " >&6; }
   3941 if { { ac_try="$ac_link"
   3942 case "(($ac_try" in
   3943   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3944   *) ac_try_echo=$ac_try;;
   3945 esac
   3946 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3947 printf "%s\n" "$ac_try_echo"; } >&5
   3948   (eval "$ac_link") 2>&5
   3949   ac_status=$?
   3950   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3951   test $ac_status = 0; }
   3952 then :
   3953   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   3954 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   3955 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   3956 # 'rm'.
   3957 for ac_file in conftest.exe conftest conftest.*; do
   3958   test -f "$ac_file" || continue
   3959   case $ac_file in
   3960     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3961     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3962 	  break;;
   3963     * ) break;;
   3964   esac
   3965 done
   3966 else case e in #(
   3967   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3968 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3969 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3970 See 'config.log' for more details" "$LINENO" 5; } ;;
   3971 esac
   3972 fi
   3973 rm -f conftest conftest$ac_cv_exeext
   3974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3975 printf "%s\n" "$ac_cv_exeext" >&6; }
   3976 
   3977 rm -f conftest.$ac_ext
   3978 EXEEXT=$ac_cv_exeext
   3979 ac_exeext=$EXEEXT
   3980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3981 /* end confdefs.h.  */
   3982 #include <stdio.h>
   3983 int
   3984 main (void)
   3985 {
   3986 FILE *f = fopen ("conftest.out", "w");
   3987  if (!f)
   3988   return 1;
   3989  return ferror (f) || fclose (f) != 0;
   3990 
   3991   ;
   3992   return 0;
   3993 }
   3994 _ACEOF
   3995 ac_clean_files="$ac_clean_files conftest.out"
   3996 # Check that the compiler produces executables we can run.  If not, either
   3997 # the compiler is broken, or we cross compile.
   3998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3999 printf %s "checking whether we are cross compiling... " >&6; }
   4000 if test "$cross_compiling" != yes; then
   4001   { { ac_try="$ac_link"
   4002 case "(($ac_try" in
   4003   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4004   *) ac_try_echo=$ac_try;;
   4005 esac
   4006 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4007 printf "%s\n" "$ac_try_echo"; } >&5
   4008   (eval "$ac_link") 2>&5
   4009   ac_status=$?
   4010   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4011   test $ac_status = 0; }
   4012   if { ac_try='./conftest$ac_cv_exeext'
   4013   { { case "(($ac_try" in
   4014   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4015   *) ac_try_echo=$ac_try;;
   4016 esac
   4017 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4018 printf "%s\n" "$ac_try_echo"; } >&5
   4019   (eval "$ac_try") 2>&5
   4020   ac_status=$?
   4021   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4022   test $ac_status = 0; }; }; then
   4023     cross_compiling=no
   4024   else
   4025     if test "$cross_compiling" = maybe; then
   4026 	cross_compiling=yes
   4027     else
   4028 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4029 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4030 as_fn_error 77 "cannot run C compiled programs.
   4031 If you meant to cross compile, use '--host'.
   4032 See 'config.log' for more details" "$LINENO" 5; }
   4033     fi
   4034   fi
   4035 fi
   4036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4037 printf "%s\n" "$cross_compiling" >&6; }
   4038 
   4039 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   4040   conftest.o conftest.obj conftest.out
   4041 ac_clean_files=$ac_clean_files_save
   4042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4043 printf %s "checking for suffix of object files... " >&6; }
   4044 if test ${ac_cv_objext+y}
   4045 then :
   4046   printf %s "(cached) " >&6
   4047 else case e in #(
   4048   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4049 /* end confdefs.h.  */
   4050 
   4051 int
   4052 main (void)
   4053 {
   4054 
   4055   ;
   4056   return 0;
   4057 }
   4058 _ACEOF
   4059 rm -f conftest.o conftest.obj
   4060 if { { ac_try="$ac_compile"
   4061 case "(($ac_try" in
   4062   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4063   *) ac_try_echo=$ac_try;;
   4064 esac
   4065 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4066 printf "%s\n" "$ac_try_echo"; } >&5
   4067   (eval "$ac_compile") 2>&5
   4068   ac_status=$?
   4069   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4070   test $ac_status = 0; }
   4071 then :
   4072   for ac_file in conftest.o conftest.obj conftest.*; do
   4073   test -f "$ac_file" || continue;
   4074   case $ac_file in
   4075     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4076     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4077        break;;
   4078   esac
   4079 done
   4080 else case e in #(
   4081   e) printf "%s\n" "$as_me: failed program was:" >&5
   4082 sed 's/^/| /' conftest.$ac_ext >&5
   4083 
   4084 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4085 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4086 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4087 See 'config.log' for more details" "$LINENO" 5; } ;;
   4088 esac
   4089 fi
   4090 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   4091 esac
   4092 fi
   4093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4094 printf "%s\n" "$ac_cv_objext" >&6; }
   4095 OBJEXT=$ac_cv_objext
   4096 ac_objext=$OBJEXT
   4097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4098 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4099 if test ${ac_cv_c_compiler_gnu+y}
   4100 then :
   4101   printf %s "(cached) " >&6
   4102 else case e in #(
   4103   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4104 /* end confdefs.h.  */
   4105 
   4106 int
   4107 main (void)
   4108 {
   4109 #ifndef __GNUC__
   4110        choke me
   4111 #endif
   4112 
   4113   ;
   4114   return 0;
   4115 }
   4116 _ACEOF
   4117 if ac_fn_c_try_compile "$LINENO"
   4118 then :
   4119   ac_compiler_gnu=yes
   4120 else case e in #(
   4121   e) ac_compiler_gnu=no ;;
   4122 esac
   4123 fi
   4124 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4125 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4126  ;;
   4127 esac
   4128 fi
   4129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4130 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4132 
   4133 if test $ac_compiler_gnu = yes; then
   4134   GCC=yes
   4135 else
   4136   GCC=
   4137 fi
   4138 ac_test_CFLAGS=${CFLAGS+y}
   4139 ac_save_CFLAGS=$CFLAGS
   4140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4141 printf %s "checking whether $CC accepts -g... " >&6; }
   4142 if test ${ac_cv_prog_cc_g+y}
   4143 then :
   4144   printf %s "(cached) " >&6
   4145 else case e in #(
   4146   e) ac_save_c_werror_flag=$ac_c_werror_flag
   4147    ac_c_werror_flag=yes
   4148    ac_cv_prog_cc_g=no
   4149    CFLAGS="-g"
   4150    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4151 /* end confdefs.h.  */
   4152 
   4153 int
   4154 main (void)
   4155 {
   4156 
   4157   ;
   4158   return 0;
   4159 }
   4160 _ACEOF
   4161 if ac_fn_c_try_compile "$LINENO"
   4162 then :
   4163   ac_cv_prog_cc_g=yes
   4164 else case e in #(
   4165   e) CFLAGS=""
   4166       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4167 /* end confdefs.h.  */
   4168 
   4169 int
   4170 main (void)
   4171 {
   4172 
   4173   ;
   4174   return 0;
   4175 }
   4176 _ACEOF
   4177 if ac_fn_c_try_compile "$LINENO"
   4178 then :
   4179 
   4180 else case e in #(
   4181   e) ac_c_werror_flag=$ac_save_c_werror_flag
   4182 	 CFLAGS="-g"
   4183 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4184 /* end confdefs.h.  */
   4185 
   4186 int
   4187 main (void)
   4188 {
   4189 
   4190   ;
   4191   return 0;
   4192 }
   4193 _ACEOF
   4194 if ac_fn_c_try_compile "$LINENO"
   4195 then :
   4196   ac_cv_prog_cc_g=yes
   4197 fi
   4198 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4199 esac
   4200 fi
   4201 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4202 esac
   4203 fi
   4204 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4205    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   4206 esac
   4207 fi
   4208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4209 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4210 if test $ac_test_CFLAGS; then
   4211   CFLAGS=$ac_save_CFLAGS
   4212 elif test $ac_cv_prog_cc_g = yes; then
   4213   if test "$GCC" = yes; then
   4214     CFLAGS="-g -O2"
   4215   else
   4216     CFLAGS="-g"
   4217   fi
   4218 else
   4219   if test "$GCC" = yes; then
   4220     CFLAGS="-O2"
   4221   else
   4222     CFLAGS=
   4223   fi
   4224 fi
   4225 ac_prog_cc_stdc=no
   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 C11 features" >&5
   4229 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4230 if test ${ac_cv_prog_cc_c11+y}
   4231 then :
   4232   printf %s "(cached) " >&6
   4233 else case e in #(
   4234   e) ac_cv_prog_cc_c11=no
   4235 ac_save_CC=$CC
   4236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4237 /* end confdefs.h.  */
   4238 $ac_c_conftest_c11_program
   4239 _ACEOF
   4240 for ac_arg in '' -std=gnu11
   4241 do
   4242   CC="$ac_save_CC $ac_arg"
   4243   if ac_fn_c_try_compile "$LINENO"
   4244 then :
   4245   ac_cv_prog_cc_c11=$ac_arg
   4246 fi
   4247 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4248   test "x$ac_cv_prog_cc_c11" != "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_c11" = 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_c11" = 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_c11" >&5
   4266 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4267      CC="$CC $ac_cv_prog_cc_c11" ;;
   4268 esac
   4269 fi
   4270   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4271   ac_prog_cc_stdc=c11 ;;
   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 C99 features" >&5
   4278 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4279 if test ${ac_cv_prog_cc_c99+y}
   4280 then :
   4281   printf %s "(cached) " >&6
   4282 else case e in #(
   4283   e) ac_cv_prog_cc_c99=no
   4284 ac_save_CC=$CC
   4285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4286 /* end confdefs.h.  */
   4287 $ac_c_conftest_c99_program
   4288 _ACEOF
   4289 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4290 do
   4291   CC="$ac_save_CC $ac_arg"
   4292   if ac_fn_c_try_compile "$LINENO"
   4293 then :
   4294   ac_cv_prog_cc_c99=$ac_arg
   4295 fi
   4296 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4297   test "x$ac_cv_prog_cc_c99" != "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_c99" = 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_c99" = 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_c99" >&5
   4315 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4316      CC="$CC $ac_cv_prog_cc_c99" ;;
   4317 esac
   4318 fi
   4319   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4320   ac_prog_cc_stdc=c99 ;;
   4321 esac
   4322 fi
   4323 fi
   4324 if test x$ac_prog_cc_stdc = xno
   4325 then :
   4326   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4327 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4328 if test ${ac_cv_prog_cc_c89+y}
   4329 then :
   4330   printf %s "(cached) " >&6
   4331 else case e in #(
   4332   e) ac_cv_prog_cc_c89=no
   4333 ac_save_CC=$CC
   4334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4335 /* end confdefs.h.  */
   4336 $ac_c_conftest_c89_program
   4337 _ACEOF
   4338 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4339 do
   4340   CC="$ac_save_CC $ac_arg"
   4341   if ac_fn_c_try_compile "$LINENO"
   4342 then :
   4343   ac_cv_prog_cc_c89=$ac_arg
   4344 fi
   4345 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4346   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4347 done
   4348 rm -f conftest.$ac_ext
   4349 CC=$ac_save_CC ;;
   4350 esac
   4351 fi
   4352 
   4353 if test "x$ac_cv_prog_cc_c89" = xno
   4354 then :
   4355   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4356 printf "%s\n" "unsupported" >&6; }
   4357 else case e in #(
   4358   e) if test "x$ac_cv_prog_cc_c89" = x
   4359 then :
   4360   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4361 printf "%s\n" "none needed" >&6; }
   4362 else case e in #(
   4363   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4364 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4365      CC="$CC $ac_cv_prog_cc_c89" ;;
   4366 esac
   4367 fi
   4368   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4369   ac_prog_cc_stdc=c89 ;;
   4370 esac
   4371 fi
   4372 fi
   4373 
   4374 ac_ext=c
   4375 ac_cpp='$CPP $CPPFLAGS'
   4376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4379 
   4380 
   4381   ac_ext=c
   4382 ac_cpp='$CPP $CPPFLAGS'
   4383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4387 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4388 if test ${am_cv_prog_cc_c_o+y}
   4389 then :
   4390   printf %s "(cached) " >&6
   4391 else case e in #(
   4392   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4393 /* end confdefs.h.  */
   4394 
   4395 int
   4396 main (void)
   4397 {
   4398 
   4399   ;
   4400   return 0;
   4401 }
   4402 _ACEOF
   4403   # Make sure it works both with $CC and with simple cc.
   4404   # Following AC_PROG_CC_C_O, we do the test twice because some
   4405   # compilers refuse to overwrite an existing .o file with -o,
   4406   # though they will create one.
   4407   am_cv_prog_cc_c_o=yes
   4408   for am_i in 1 2; do
   4409     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4410    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4411    ac_status=$?
   4412    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4413    (exit $ac_status); } \
   4414          && test -f conftest2.$ac_objext; then
   4415       : OK
   4416     else
   4417       am_cv_prog_cc_c_o=no
   4418       break
   4419     fi
   4420   done
   4421   rm -f core conftest*
   4422   unset am_i ;;
   4423 esac
   4424 fi
   4425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4426 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4427 if test "$am_cv_prog_cc_c_o" != yes; then
   4428    # Losing compiler, so override with the script.
   4429    # FIXME: It is wrong to rewrite CC.
   4430    # But if we don't then we get into trouble of one sort or another.
   4431    # A longer-term fix would be to have automake use am__CC in this case,
   4432    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4433    CC="$am_aux_dir/compile $CC"
   4434 fi
   4435 ac_ext=c
   4436 ac_cpp='$CPP $CPPFLAGS'
   4437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4440 
   4441 
   4442 depcc="$CC"   am_compiler_list=
   4443 
   4444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4445 printf %s "checking dependency style of $depcc... " >&6; }
   4446 if test ${am_cv_CC_dependencies_compiler_type+y}
   4447 then :
   4448   printf %s "(cached) " >&6
   4449 else case e in #(
   4450   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4451   # We make a subdir and do the tests there.  Otherwise we can end up
   4452   # making bogus files that we don't know about and never remove.  For
   4453   # instance it was reported that on HP-UX the gcc test will end up
   4454   # making a dummy file named 'D' -- because '-MD' means "put the output
   4455   # in D".
   4456   rm -rf conftest.dir
   4457   mkdir conftest.dir
   4458   # Copy depcomp to subdir because otherwise we won't find it if we're
   4459   # using a relative directory.
   4460   cp "$am_depcomp" conftest.dir
   4461   cd conftest.dir
   4462   # We will build objects and dependencies in a subdirectory because
   4463   # it helps to detect inapplicable dependency modes.  For instance
   4464   # both Tru64's cc and ICC support -MD to output dependencies as a
   4465   # side effect of compilation, but ICC will put the dependencies in
   4466   # the current directory while Tru64 will put them in the object
   4467   # directory.
   4468   mkdir sub
   4469 
   4470   am_cv_CC_dependencies_compiler_type=none
   4471   if test "$am_compiler_list" = ""; then
   4472      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4473   fi
   4474   am__universal=false
   4475   case " $depcc " in #(
   4476      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4477      esac
   4478 
   4479   for depmode in $am_compiler_list; do
   4480     # Setup a source with many dependencies, because some compilers
   4481     # like to wrap large dependency lists on column 80 (with \), and
   4482     # we should not choose a depcomp mode which is confused by this.
   4483     #
   4484     # We need to recreate these files for each test, as the compiler may
   4485     # overwrite some of them when testing with obscure command lines.
   4486     # This happens at least with the AIX C compiler.
   4487     : > sub/conftest.c
   4488     for i in 1 2 3 4 5 6; do
   4489       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4490       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4491       # Solaris 10 /bin/sh.
   4492       echo '/* dummy */' > sub/conftst$i.h
   4493     done
   4494     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4495 
   4496     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4497     # mode.  It turns out that the SunPro C++ compiler does not properly
   4498     # handle '-M -o', and we need to detect this.  Also, some Intel
   4499     # versions had trouble with output in subdirs.
   4500     am__obj=sub/conftest.${OBJEXT-o}
   4501     am__minus_obj="-o $am__obj"
   4502     case $depmode in
   4503     gcc)
   4504       # This depmode causes a compiler race in universal mode.
   4505       test "$am__universal" = false || continue
   4506       ;;
   4507     nosideeffect)
   4508       # After this tag, mechanisms are not by side-effect, so they'll
   4509       # only be used when explicitly requested.
   4510       if test "x$enable_dependency_tracking" = xyes; then
   4511 	continue
   4512       else
   4513 	break
   4514       fi
   4515       ;;
   4516     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4517       # This compiler won't grok '-c -o', but also, the minuso test has
   4518       # not run yet.  These depmodes are late enough in the game, and
   4519       # so weak that their functioning should not be impacted.
   4520       am__obj=conftest.${OBJEXT-o}
   4521       am__minus_obj=
   4522       ;;
   4523     none) break ;;
   4524     esac
   4525     if depmode=$depmode \
   4526        source=sub/conftest.c object=$am__obj \
   4527        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4528        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4529          >/dev/null 2>conftest.err &&
   4530        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4531        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4532        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4533        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4534       # icc doesn't choke on unknown options, it will just issue warnings
   4535       # or remarks (even with -Werror).  So we grep stderr for any message
   4536       # that says an option was ignored or not supported.
   4537       # When given -MP, icc 7.0 and 7.1 complain thus:
   4538       #   icc: Command line warning: ignoring option '-M'; no argument required
   4539       # The diagnosis changed in icc 8.0:
   4540       #   icc: Command line remark: option '-MP' not supported
   4541       if (grep 'ignoring option' conftest.err ||
   4542           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4543         am_cv_CC_dependencies_compiler_type=$depmode
   4544         break
   4545       fi
   4546     fi
   4547   done
   4548 
   4549   cd ..
   4550   rm -rf conftest.dir
   4551 else
   4552   am_cv_CC_dependencies_compiler_type=none
   4553 fi
   4554  ;;
   4555 esac
   4556 fi
   4557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4558 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4559 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4560 
   4561  if
   4562   test "x$enable_dependency_tracking" != xno \
   4563   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4564   am__fastdepCC_TRUE=
   4565   am__fastdepCC_FALSE='#'
   4566 else
   4567   am__fastdepCC_TRUE='#'
   4568   am__fastdepCC_FALSE=
   4569 fi
   4570 
   4571 
   4572 
   4573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4574 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4575 if test ${ac_cv_c_undeclared_builtin_options+y}
   4576 then :
   4577   printf %s "(cached) " >&6
   4578 else case e in #(
   4579   e) ac_save_CFLAGS=$CFLAGS
   4580    ac_cv_c_undeclared_builtin_options='cannot detect'
   4581    for ac_arg in '' -fno-builtin; do
   4582      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4583      # This test program should *not* compile successfully.
   4584      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4585 /* end confdefs.h.  */
   4586 
   4587 int
   4588 main (void)
   4589 {
   4590 (void) strchr;
   4591   ;
   4592   return 0;
   4593 }
   4594 _ACEOF
   4595 if ac_fn_c_try_compile "$LINENO"
   4596 then :
   4597 
   4598 else case e in #(
   4599   e) # This test program should compile successfully.
   4600         # No library function is consistently available on
   4601         # freestanding implementations, so test against a dummy
   4602         # declaration.  Include always-available headers on the
   4603         # off chance that they somehow elicit warnings.
   4604         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4605 /* end confdefs.h.  */
   4606 #include <float.h>
   4607 #include <limits.h>
   4608 #include <stdarg.h>
   4609 #include <stddef.h>
   4610 extern void ac_decl (int, char *);
   4611 
   4612 int
   4613 main (void)
   4614 {
   4615 (void) ac_decl (0, (char *) 0);
   4616   (void) ac_decl;
   4617 
   4618   ;
   4619   return 0;
   4620 }
   4621 _ACEOF
   4622 if ac_fn_c_try_compile "$LINENO"
   4623 then :
   4624   if test x"$ac_arg" = x
   4625 then :
   4626   ac_cv_c_undeclared_builtin_options='none needed'
   4627 else case e in #(
   4628   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   4629 esac
   4630 fi
   4631           break
   4632 fi
   4633 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4634 esac
   4635 fi
   4636 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4637     done
   4638     CFLAGS=$ac_save_CFLAGS
   4639    ;;
   4640 esac
   4641 fi
   4642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4643 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4644   case $ac_cv_c_undeclared_builtin_options in #(
   4645   'cannot detect') :
   4646     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4647 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4648 as_fn_error $? "cannot make $CC report undeclared builtins
   4649 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   4650   'none needed') :
   4651     ac_c_undeclared_builtin_options='' ;; #(
   4652   *) :
   4653     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4654 esac
   4655 
   4656 ac_header= ac_cache=
   4657 for ac_item in $ac_header_c_list
   4658 do
   4659   if test $ac_cache; then
   4660     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4661     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4662       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4663     fi
   4664     ac_header= ac_cache=
   4665   elif test $ac_header; then
   4666     ac_cache=$ac_item
   4667   else
   4668     ac_header=$ac_item
   4669   fi
   4670 done
   4671 
   4672 
   4673 
   4674 
   4675 
   4676 
   4677 
   4678 
   4679 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4680 then :
   4681 
   4682 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4683 
   4684 fi
   4685 
   4686 
   4687 
   4688 
   4689 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4690 if test "x$ac_cv_have_decl___clang__" = xyes
   4691 then :
   4692   CLANGCC="yes"
   4693 else case e in #(
   4694   e) CLANGCC="no" ;;
   4695 esac
   4696 fi
   4697 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4698 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4699 then :
   4700   INTELCC="yes"
   4701 else case e in #(
   4702   e) INTELCC="no" ;;
   4703 esac
   4704 fi
   4705 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4706 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4707 then :
   4708   SUNCC="yes"
   4709 else case e in #(
   4710   e) SUNCC="no" ;;
   4711 esac
   4712 fi
   4713 
   4714 
   4715 
   4716 
   4717 
   4718 
   4719 
   4720 
   4721 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4722 	if test -n "$ac_tool_prefix"; then
   4723   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4724 set dummy ${ac_tool_prefix}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_PKG_CONFIG+y}
   4728 then :
   4729   printf %s "(cached) " >&6
   4730 else case e in #(
   4731   e) case $PKG_CONFIG in
   4732   [\\/]* | ?:[\\/]*)
   4733   ac_cv_path_PKG_CONFIG="$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_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 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4760 if test -n "$PKG_CONFIG"; then
   4761   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4762 printf "%s\n" "$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 
   4769 fi
   4770 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4771   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4772   # Extract the first word of "pkg-config", so it can be a program name with args.
   4773 set dummy pkg-config; ac_word=$2
   4774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4775 printf %s "checking for $ac_word... " >&6; }
   4776 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4777 then :
   4778   printf %s "(cached) " >&6
   4779 else case e in #(
   4780   e) case $ac_pt_PKG_CONFIG in
   4781   [\\/]* | ?:[\\/]*)
   4782   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4783   ;;
   4784   *)
   4785   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4786 for as_dir in $PATH
   4787 do
   4788   IFS=$as_save_IFS
   4789   case $as_dir in #(((
   4790     '') as_dir=./ ;;
   4791     */) ;;
   4792     *) as_dir=$as_dir/ ;;
   4793   esac
   4794     for ac_exec_ext in '' $ac_executable_extensions; do
   4795   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4796     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4797     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4798     break 2
   4799   fi
   4800 done
   4801   done
   4802 IFS=$as_save_IFS
   4803 
   4804   ;;
   4805 esac ;;
   4806 esac
   4807 fi
   4808 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4809 if test -n "$ac_pt_PKG_CONFIG"; then
   4810   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4811 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4812 else
   4813   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4814 printf "%s\n" "no" >&6; }
   4815 fi
   4816 
   4817   if test "x$ac_pt_PKG_CONFIG" = x; then
   4818     PKG_CONFIG=""
   4819   else
   4820     case $cross_compiling:$ac_tool_warned in
   4821 yes:)
   4822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4823 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4824 ac_tool_warned=yes ;;
   4825 esac
   4826     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4827   fi
   4828 else
   4829   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4830 fi
   4831 
   4832 fi
   4833 if test -n "$PKG_CONFIG"; then
   4834 	_pkg_min_version=0.9.0
   4835 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4836 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4837 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4838 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4839 printf "%s\n" "yes" >&6; }
   4840 	else
   4841 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4842 printf "%s\n" "no" >&6; }
   4843 		PKG_CONFIG=""
   4844 	fi
   4845 fi
   4846 
   4847 
   4848   # Make sure we can run config.sub.
   4849 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4850   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4851 
   4852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4853 printf %s "checking build system type... " >&6; }
   4854 if test ${ac_cv_build+y}
   4855 then :
   4856   printf %s "(cached) " >&6
   4857 else case e in #(
   4858   e) ac_build_alias=$build_alias
   4859 test "x$ac_build_alias" = x &&
   4860   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4861 test "x$ac_build_alias" = x &&
   4862   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4863 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4864   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4865  ;;
   4866 esac
   4867 fi
   4868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4869 printf "%s\n" "$ac_cv_build" >&6; }
   4870 case $ac_cv_build in
   4871 *-*-*) ;;
   4872 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4873 esac
   4874 build=$ac_cv_build
   4875 ac_save_IFS=$IFS; IFS='-'
   4876 set x $ac_cv_build
   4877 shift
   4878 build_cpu=$1
   4879 build_vendor=$2
   4880 shift; shift
   4881 # Remember, the first character of IFS is used to create $*,
   4882 # except with old shells:
   4883 build_os=$*
   4884 IFS=$ac_save_IFS
   4885 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4886 
   4887 
   4888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4889 printf %s "checking host system type... " >&6; }
   4890 if test ${ac_cv_host+y}
   4891 then :
   4892   printf %s "(cached) " >&6
   4893 else case e in #(
   4894   e) if test "x$host_alias" = x; then
   4895   ac_cv_host=$ac_cv_build
   4896 else
   4897   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4898     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4899 fi
   4900  ;;
   4901 esac
   4902 fi
   4903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4904 printf "%s\n" "$ac_cv_host" >&6; }
   4905 case $ac_cv_host in
   4906 *-*-*) ;;
   4907 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4908 esac
   4909 host=$ac_cv_host
   4910 ac_save_IFS=$IFS; IFS='-'
   4911 set x $ac_cv_host
   4912 shift
   4913 host_cpu=$1
   4914 host_vendor=$2
   4915 shift; shift
   4916 # Remember, the first character of IFS is used to create $*,
   4917 # except with old shells:
   4918 host_os=$*
   4919 IFS=$ac_save_IFS
   4920 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4921 
   4922 
   4923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4924 printf %s "checking for a sed that does not truncate output... " >&6; }
   4925 if test ${ac_cv_path_SED+y}
   4926 then :
   4927   printf %s "(cached) " >&6
   4928 else case e in #(
   4929   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4930      for ac_i in 1 2 3 4 5 6 7; do
   4931        ac_script="$ac_script$as_nl$ac_script"
   4932      done
   4933      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4934      { ac_script=; unset ac_script;}
   4935      if test -z "$SED"; then
   4936   ac_path_SED_found=false
   4937   # Loop through the user's path and test for each of PROGNAME-LIST
   4938   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4939 for as_dir in $PATH
   4940 do
   4941   IFS=$as_save_IFS
   4942   case $as_dir in #(((
   4943     '') as_dir=./ ;;
   4944     */) ;;
   4945     *) as_dir=$as_dir/ ;;
   4946   esac
   4947     for ac_prog in sed gsed
   4948    do
   4949     for ac_exec_ext in '' $ac_executable_extensions; do
   4950       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4951       as_fn_executable_p "$ac_path_SED" || continue
   4952 # Check for GNU ac_path_SED and select it if it is found.
   4953   # Check for GNU $ac_path_SED
   4954 case `"$ac_path_SED" --version 2>&1` in #(
   4955 *GNU*)
   4956   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4957 #(
   4958 *)
   4959   ac_count=0
   4960   printf %s 0123456789 >"conftest.in"
   4961   while :
   4962   do
   4963     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4964     mv "conftest.tmp" "conftest.in"
   4965     cp "conftest.in" "conftest.nl"
   4966     printf "%s\n" '' >> "conftest.nl"
   4967     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4968     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4969     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4970     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4971       # Best one so far, save it but keep looking for a better one
   4972       ac_cv_path_SED="$ac_path_SED"
   4973       ac_path_SED_max=$ac_count
   4974     fi
   4975     # 10*(2^10) chars as input seems more than enough
   4976     test $ac_count -gt 10 && break
   4977   done
   4978   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4979 esac
   4980 
   4981       $ac_path_SED_found && break 3
   4982     done
   4983   done
   4984   done
   4985 IFS=$as_save_IFS
   4986   if test -z "$ac_cv_path_SED"; then
   4987     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4988   fi
   4989 else
   4990   ac_cv_path_SED=$SED
   4991 fi
   4992  ;;
   4993 esac
   4994 fi
   4995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4996 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4997  SED="$ac_cv_path_SED"
   4998   rm -f conftest.sed
   4999 
   5000 
   5001 
   5002 
   5003 
   5004 
   5005 # Check whether --enable-selective-werror was given.
   5006 if test ${enable_selective_werror+y}
   5007 then :
   5008   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   5009 else case e in #(
   5010   e) SELECTIVE_WERROR=yes ;;
   5011 esac
   5012 fi
   5013 
   5014 
   5015 
   5016 
   5017 
   5018 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5019 if test "x$SUNCC" = "xyes"; then
   5020     BASE_CFLAGS="-v"
   5021 else
   5022     BASE_CFLAGS=""
   5023 fi
   5024 
   5025 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5026 
   5027 
   5028 
   5029 
   5030 
   5031 
   5032 
   5033 
   5034 
   5035 
   5036 
   5037 
   5038 
   5039 xorg_testset_save_CFLAGS="$CFLAGS"
   5040 
   5041 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5042 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5043 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5044 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5045 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5046 then :
   5047   printf %s "(cached) " >&6
   5048 else case e in #(
   5049   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5050 /* end confdefs.h.  */
   5051 int i;
   5052 _ACEOF
   5053 if ac_fn_c_try_compile "$LINENO"
   5054 then :
   5055   xorg_cv_cc_flag_unknown_warning_option=yes
   5056 else case e in #(
   5057   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5058 esac
   5059 fi
   5060 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5061 esac
   5062 fi
   5063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5064 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5065 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5066 	CFLAGS="$xorg_testset_save_CFLAGS"
   5067 fi
   5068 
   5069 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5070 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5071 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5072 	fi
   5073 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5074 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5075 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5076 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5077 then :
   5078   printf %s "(cached) " >&6
   5079 else case e in #(
   5080   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5081 /* end confdefs.h.  */
   5082 int i;
   5083 _ACEOF
   5084 if ac_fn_c_try_compile "$LINENO"
   5085 then :
   5086   xorg_cv_cc_flag_unused_command_line_argument=yes
   5087 else case e in #(
   5088   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5089 esac
   5090 fi
   5091 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5092 esac
   5093 fi
   5094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5095 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5096 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5097 	CFLAGS="$xorg_testset_save_CFLAGS"
   5098 fi
   5099 
   5100 found="no"
   5101 
   5102 	if test $found = "no" ; then
   5103 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5104 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5105 		fi
   5106 
   5107 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5108 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5109 		fi
   5110 
   5111 		CFLAGS="$CFLAGS -Wall"
   5112 
   5113 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5114 printf %s "checking if $CC supports -Wall... " >&6; }
   5115 		cacheid=xorg_cv_cc_flag__Wall
   5116 		if eval test \${$cacheid+y}
   5117 then :
   5118   printf %s "(cached) " >&6
   5119 else case e in #(
   5120   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5121 /* end confdefs.h.  */
   5122 int i;
   5123 int
   5124 main (void)
   5125 {
   5126 
   5127   ;
   5128   return 0;
   5129 }
   5130 _ACEOF
   5131 if ac_fn_c_try_link "$LINENO"
   5132 then :
   5133   eval $cacheid=yes
   5134 else case e in #(
   5135   e) eval $cacheid=no ;;
   5136 esac
   5137 fi
   5138 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5139     conftest$ac_exeext conftest.$ac_ext ;;
   5140 esac
   5141 fi
   5142 
   5143 
   5144 		CFLAGS="$xorg_testset_save_CFLAGS"
   5145 
   5146 		eval supported=\$$cacheid
   5147 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5148 printf "%s\n" "$supported" >&6; }
   5149 		if test "$supported" = "yes" ; then
   5150 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5151 			found="yes"
   5152 		fi
   5153 	fi
   5154 
   5155 
   5156 
   5157 
   5158 
   5159 
   5160 
   5161 
   5162 
   5163 
   5164 
   5165 
   5166 
   5167 
   5168 
   5169 xorg_testset_save_CFLAGS="$CFLAGS"
   5170 
   5171 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5172 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5173 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5174 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5175 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5176 then :
   5177   printf %s "(cached) " >&6
   5178 else case e in #(
   5179   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5180 /* end confdefs.h.  */
   5181 int i;
   5182 _ACEOF
   5183 if ac_fn_c_try_compile "$LINENO"
   5184 then :
   5185   xorg_cv_cc_flag_unknown_warning_option=yes
   5186 else case e in #(
   5187   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5188 esac
   5189 fi
   5190 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5191 esac
   5192 fi
   5193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5194 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5195 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5196 	CFLAGS="$xorg_testset_save_CFLAGS"
   5197 fi
   5198 
   5199 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5200 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5201 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5202 	fi
   5203 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5204 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5205 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5206 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5207 then :
   5208   printf %s "(cached) " >&6
   5209 else case e in #(
   5210   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5211 /* end confdefs.h.  */
   5212 int i;
   5213 _ACEOF
   5214 if ac_fn_c_try_compile "$LINENO"
   5215 then :
   5216   xorg_cv_cc_flag_unused_command_line_argument=yes
   5217 else case e in #(
   5218   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5219 esac
   5220 fi
   5221 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5222 esac
   5223 fi
   5224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5225 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5226 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5227 	CFLAGS="$xorg_testset_save_CFLAGS"
   5228 fi
   5229 
   5230 found="no"
   5231 
   5232 	if test $found = "no" ; then
   5233 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5234 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5235 		fi
   5236 
   5237 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5238 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5239 		fi
   5240 
   5241 		CFLAGS="$CFLAGS -Wpointer-arith"
   5242 
   5243 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5244 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5245 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5246 		if eval test \${$cacheid+y}
   5247 then :
   5248   printf %s "(cached) " >&6
   5249 else case e in #(
   5250   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5251 /* end confdefs.h.  */
   5252 int i;
   5253 int
   5254 main (void)
   5255 {
   5256 
   5257   ;
   5258   return 0;
   5259 }
   5260 _ACEOF
   5261 if ac_fn_c_try_link "$LINENO"
   5262 then :
   5263   eval $cacheid=yes
   5264 else case e in #(
   5265   e) eval $cacheid=no ;;
   5266 esac
   5267 fi
   5268 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5269     conftest$ac_exeext conftest.$ac_ext ;;
   5270 esac
   5271 fi
   5272 
   5273 
   5274 		CFLAGS="$xorg_testset_save_CFLAGS"
   5275 
   5276 		eval supported=\$$cacheid
   5277 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5278 printf "%s\n" "$supported" >&6; }
   5279 		if test "$supported" = "yes" ; then
   5280 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5281 			found="yes"
   5282 		fi
   5283 	fi
   5284 
   5285 
   5286 
   5287 
   5288 
   5289 
   5290 
   5291 
   5292 
   5293 
   5294 
   5295 
   5296 
   5297 
   5298 
   5299 xorg_testset_save_CFLAGS="$CFLAGS"
   5300 
   5301 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5302 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5303 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5304 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5305 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5306 then :
   5307   printf %s "(cached) " >&6
   5308 else case e in #(
   5309   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5310 /* end confdefs.h.  */
   5311 int i;
   5312 _ACEOF
   5313 if ac_fn_c_try_compile "$LINENO"
   5314 then :
   5315   xorg_cv_cc_flag_unknown_warning_option=yes
   5316 else case e in #(
   5317   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5318 esac
   5319 fi
   5320 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5321 esac
   5322 fi
   5323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5324 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5325 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5326 	CFLAGS="$xorg_testset_save_CFLAGS"
   5327 fi
   5328 
   5329 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5330 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5331 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5332 	fi
   5333 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5334 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5335 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5336 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5337 then :
   5338   printf %s "(cached) " >&6
   5339 else case e in #(
   5340   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5341 /* end confdefs.h.  */
   5342 int i;
   5343 _ACEOF
   5344 if ac_fn_c_try_compile "$LINENO"
   5345 then :
   5346   xorg_cv_cc_flag_unused_command_line_argument=yes
   5347 else case e in #(
   5348   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5349 esac
   5350 fi
   5351 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5352 esac
   5353 fi
   5354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5355 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5356 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5357 	CFLAGS="$xorg_testset_save_CFLAGS"
   5358 fi
   5359 
   5360 found="no"
   5361 
   5362 	if test $found = "no" ; then
   5363 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5364 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5365 		fi
   5366 
   5367 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5368 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5369 		fi
   5370 
   5371 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5372 
   5373 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5374 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5375 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5376 		if eval test \${$cacheid+y}
   5377 then :
   5378   printf %s "(cached) " >&6
   5379 else case e in #(
   5380   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5381 /* end confdefs.h.  */
   5382 int i;
   5383 int
   5384 main (void)
   5385 {
   5386 
   5387   ;
   5388   return 0;
   5389 }
   5390 _ACEOF
   5391 if ac_fn_c_try_link "$LINENO"
   5392 then :
   5393   eval $cacheid=yes
   5394 else case e in #(
   5395   e) eval $cacheid=no ;;
   5396 esac
   5397 fi
   5398 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5399     conftest$ac_exeext conftest.$ac_ext ;;
   5400 esac
   5401 fi
   5402 
   5403 
   5404 		CFLAGS="$xorg_testset_save_CFLAGS"
   5405 
   5406 		eval supported=\$$cacheid
   5407 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5408 printf "%s\n" "$supported" >&6; }
   5409 		if test "$supported" = "yes" ; then
   5410 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5411 			found="yes"
   5412 		fi
   5413 	fi
   5414 
   5415 
   5416 
   5417 
   5418 
   5419 
   5420 
   5421 
   5422 
   5423 
   5424 
   5425 
   5426 
   5427 
   5428 
   5429 xorg_testset_save_CFLAGS="$CFLAGS"
   5430 
   5431 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5432 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5433 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5434 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5435 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5436 then :
   5437   printf %s "(cached) " >&6
   5438 else case e in #(
   5439   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5440 /* end confdefs.h.  */
   5441 int i;
   5442 _ACEOF
   5443 if ac_fn_c_try_compile "$LINENO"
   5444 then :
   5445   xorg_cv_cc_flag_unknown_warning_option=yes
   5446 else case e in #(
   5447   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5448 esac
   5449 fi
   5450 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5451 esac
   5452 fi
   5453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5454 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5455 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5456 	CFLAGS="$xorg_testset_save_CFLAGS"
   5457 fi
   5458 
   5459 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5460 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5461 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5462 	fi
   5463 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5464 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5465 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5466 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5467 then :
   5468   printf %s "(cached) " >&6
   5469 else case e in #(
   5470   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5471 /* end confdefs.h.  */
   5472 int i;
   5473 _ACEOF
   5474 if ac_fn_c_try_compile "$LINENO"
   5475 then :
   5476   xorg_cv_cc_flag_unused_command_line_argument=yes
   5477 else case e in #(
   5478   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5479 esac
   5480 fi
   5481 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5482 esac
   5483 fi
   5484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5485 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5486 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5487 	CFLAGS="$xorg_testset_save_CFLAGS"
   5488 fi
   5489 
   5490 found="no"
   5491 
   5492 	if test $found = "no" ; then
   5493 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5494 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5495 		fi
   5496 
   5497 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5498 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5499 		fi
   5500 
   5501 		CFLAGS="$CFLAGS -Wformat=2"
   5502 
   5503 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5504 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5505 		cacheid=xorg_cv_cc_flag__Wformat_2
   5506 		if eval test \${$cacheid+y}
   5507 then :
   5508   printf %s "(cached) " >&6
   5509 else case e in #(
   5510   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5511 /* end confdefs.h.  */
   5512 int i;
   5513 int
   5514 main (void)
   5515 {
   5516 
   5517   ;
   5518   return 0;
   5519 }
   5520 _ACEOF
   5521 if ac_fn_c_try_link "$LINENO"
   5522 then :
   5523   eval $cacheid=yes
   5524 else case e in #(
   5525   e) eval $cacheid=no ;;
   5526 esac
   5527 fi
   5528 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5529     conftest$ac_exeext conftest.$ac_ext ;;
   5530 esac
   5531 fi
   5532 
   5533 
   5534 		CFLAGS="$xorg_testset_save_CFLAGS"
   5535 
   5536 		eval supported=\$$cacheid
   5537 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5538 printf "%s\n" "$supported" >&6; }
   5539 		if test "$supported" = "yes" ; then
   5540 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5541 			found="yes"
   5542 		fi
   5543 	fi
   5544 
   5545 	if test $found = "no" ; then
   5546 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5547 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5548 		fi
   5549 
   5550 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5551 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5552 		fi
   5553 
   5554 		CFLAGS="$CFLAGS -Wformat"
   5555 
   5556 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5557 printf %s "checking if $CC supports -Wformat... " >&6; }
   5558 		cacheid=xorg_cv_cc_flag__Wformat
   5559 		if eval test \${$cacheid+y}
   5560 then :
   5561   printf %s "(cached) " >&6
   5562 else case e in #(
   5563   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5564 /* end confdefs.h.  */
   5565 int i;
   5566 int
   5567 main (void)
   5568 {
   5569 
   5570   ;
   5571   return 0;
   5572 }
   5573 _ACEOF
   5574 if ac_fn_c_try_link "$LINENO"
   5575 then :
   5576   eval $cacheid=yes
   5577 else case e in #(
   5578   e) eval $cacheid=no ;;
   5579 esac
   5580 fi
   5581 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5582     conftest$ac_exeext conftest.$ac_ext ;;
   5583 esac
   5584 fi
   5585 
   5586 
   5587 		CFLAGS="$xorg_testset_save_CFLAGS"
   5588 
   5589 		eval supported=\$$cacheid
   5590 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5591 printf "%s\n" "$supported" >&6; }
   5592 		if test "$supported" = "yes" ; then
   5593 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5594 			found="yes"
   5595 		fi
   5596 	fi
   5597 
   5598 
   5599 
   5600 
   5601 
   5602 
   5603 
   5604 
   5605 
   5606 
   5607 
   5608 
   5609 
   5610 
   5611 
   5612 
   5613 
   5614 xorg_testset_save_CFLAGS="$CFLAGS"
   5615 
   5616 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5617 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5618 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5619 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5620 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5621 then :
   5622   printf %s "(cached) " >&6
   5623 else case e in #(
   5624   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5625 /* end confdefs.h.  */
   5626 int i;
   5627 _ACEOF
   5628 if ac_fn_c_try_compile "$LINENO"
   5629 then :
   5630   xorg_cv_cc_flag_unknown_warning_option=yes
   5631 else case e in #(
   5632   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5633 esac
   5634 fi
   5635 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5636 esac
   5637 fi
   5638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5639 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5640 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5641 	CFLAGS="$xorg_testset_save_CFLAGS"
   5642 fi
   5643 
   5644 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5645 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5646 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5647 	fi
   5648 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5649 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5650 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5651 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5652 then :
   5653   printf %s "(cached) " >&6
   5654 else case e in #(
   5655   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5656 /* end confdefs.h.  */
   5657 int i;
   5658 _ACEOF
   5659 if ac_fn_c_try_compile "$LINENO"
   5660 then :
   5661   xorg_cv_cc_flag_unused_command_line_argument=yes
   5662 else case e in #(
   5663   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5664 esac
   5665 fi
   5666 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5667 esac
   5668 fi
   5669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5670 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5671 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5672 	CFLAGS="$xorg_testset_save_CFLAGS"
   5673 fi
   5674 
   5675 found="no"
   5676 
   5677 	if test $found = "no" ; then
   5678 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5679 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5680 		fi
   5681 
   5682 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5683 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5684 		fi
   5685 
   5686 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5687 
   5688 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5689 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5690 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5691 		if eval test \${$cacheid+y}
   5692 then :
   5693   printf %s "(cached) " >&6
   5694 else case e in #(
   5695   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5696 /* end confdefs.h.  */
   5697 int i;
   5698 int
   5699 main (void)
   5700 {
   5701 
   5702   ;
   5703   return 0;
   5704 }
   5705 _ACEOF
   5706 if ac_fn_c_try_link "$LINENO"
   5707 then :
   5708   eval $cacheid=yes
   5709 else case e in #(
   5710   e) eval $cacheid=no ;;
   5711 esac
   5712 fi
   5713 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5714     conftest$ac_exeext conftest.$ac_ext ;;
   5715 esac
   5716 fi
   5717 
   5718 
   5719 		CFLAGS="$xorg_testset_save_CFLAGS"
   5720 
   5721 		eval supported=\$$cacheid
   5722 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5723 printf "%s\n" "$supported" >&6; }
   5724 		if test "$supported" = "yes" ; then
   5725 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5726 			found="yes"
   5727 		fi
   5728 	fi
   5729 
   5730 
   5731 
   5732 
   5733 
   5734 
   5735 
   5736 
   5737 
   5738 
   5739 
   5740 
   5741 
   5742 
   5743 
   5744 xorg_testset_save_CFLAGS="$CFLAGS"
   5745 
   5746 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5747 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5748 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5749 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5750 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5751 then :
   5752   printf %s "(cached) " >&6
   5753 else case e in #(
   5754   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5755 /* end confdefs.h.  */
   5756 int i;
   5757 _ACEOF
   5758 if ac_fn_c_try_compile "$LINENO"
   5759 then :
   5760   xorg_cv_cc_flag_unknown_warning_option=yes
   5761 else case e in #(
   5762   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5763 esac
   5764 fi
   5765 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5766 esac
   5767 fi
   5768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5769 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5770 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5771 	CFLAGS="$xorg_testset_save_CFLAGS"
   5772 fi
   5773 
   5774 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5775 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5776 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5777 	fi
   5778 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5779 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5780 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5781 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5782 then :
   5783   printf %s "(cached) " >&6
   5784 else case e in #(
   5785   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5786 /* end confdefs.h.  */
   5787 int i;
   5788 _ACEOF
   5789 if ac_fn_c_try_compile "$LINENO"
   5790 then :
   5791   xorg_cv_cc_flag_unused_command_line_argument=yes
   5792 else case e in #(
   5793   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5794 esac
   5795 fi
   5796 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5797 esac
   5798 fi
   5799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5800 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5801 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5802 	CFLAGS="$xorg_testset_save_CFLAGS"
   5803 fi
   5804 
   5805 found="no"
   5806 
   5807 	if test $found = "no" ; then
   5808 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5809 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5810 		fi
   5811 
   5812 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5813 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5814 		fi
   5815 
   5816 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5817 
   5818 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5819 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5820 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5821 		if eval test \${$cacheid+y}
   5822 then :
   5823   printf %s "(cached) " >&6
   5824 else case e in #(
   5825   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5826 /* end confdefs.h.  */
   5827 int i;
   5828 int
   5829 main (void)
   5830 {
   5831 
   5832   ;
   5833   return 0;
   5834 }
   5835 _ACEOF
   5836 if ac_fn_c_try_link "$LINENO"
   5837 then :
   5838   eval $cacheid=yes
   5839 else case e in #(
   5840   e) eval $cacheid=no ;;
   5841 esac
   5842 fi
   5843 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5844     conftest$ac_exeext conftest.$ac_ext ;;
   5845 esac
   5846 fi
   5847 
   5848 
   5849 		CFLAGS="$xorg_testset_save_CFLAGS"
   5850 
   5851 		eval supported=\$$cacheid
   5852 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5853 printf "%s\n" "$supported" >&6; }
   5854 		if test "$supported" = "yes" ; then
   5855 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5856 			found="yes"
   5857 		fi
   5858 	fi
   5859 
   5860 
   5861 
   5862 
   5863 
   5864 
   5865 
   5866 
   5867 
   5868 
   5869 
   5870 
   5871 
   5872 
   5873 
   5874 xorg_testset_save_CFLAGS="$CFLAGS"
   5875 
   5876 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5877 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5878 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5879 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5880 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5881 then :
   5882   printf %s "(cached) " >&6
   5883 else case e in #(
   5884   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5885 /* end confdefs.h.  */
   5886 int i;
   5887 _ACEOF
   5888 if ac_fn_c_try_compile "$LINENO"
   5889 then :
   5890   xorg_cv_cc_flag_unknown_warning_option=yes
   5891 else case e in #(
   5892   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5893 esac
   5894 fi
   5895 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5896 esac
   5897 fi
   5898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5899 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5900 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5901 	CFLAGS="$xorg_testset_save_CFLAGS"
   5902 fi
   5903 
   5904 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5905 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5906 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5907 	fi
   5908 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5909 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5910 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5911 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5912 then :
   5913   printf %s "(cached) " >&6
   5914 else case e in #(
   5915   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5916 /* end confdefs.h.  */
   5917 int i;
   5918 _ACEOF
   5919 if ac_fn_c_try_compile "$LINENO"
   5920 then :
   5921   xorg_cv_cc_flag_unused_command_line_argument=yes
   5922 else case e in #(
   5923   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5924 esac
   5925 fi
   5926 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5927 esac
   5928 fi
   5929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5930 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5931 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5932 	CFLAGS="$xorg_testset_save_CFLAGS"
   5933 fi
   5934 
   5935 found="no"
   5936 
   5937 	if test $found = "no" ; then
   5938 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5939 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5940 		fi
   5941 
   5942 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5943 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5944 		fi
   5945 
   5946 		CFLAGS="$CFLAGS -Wnested-externs"
   5947 
   5948 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5949 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   5950 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5951 		if eval test \${$cacheid+y}
   5952 then :
   5953   printf %s "(cached) " >&6
   5954 else case e in #(
   5955   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5956 /* end confdefs.h.  */
   5957 int i;
   5958 int
   5959 main (void)
   5960 {
   5961 
   5962   ;
   5963   return 0;
   5964 }
   5965 _ACEOF
   5966 if ac_fn_c_try_link "$LINENO"
   5967 then :
   5968   eval $cacheid=yes
   5969 else case e in #(
   5970   e) eval $cacheid=no ;;
   5971 esac
   5972 fi
   5973 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5974     conftest$ac_exeext conftest.$ac_ext ;;
   5975 esac
   5976 fi
   5977 
   5978 
   5979 		CFLAGS="$xorg_testset_save_CFLAGS"
   5980 
   5981 		eval supported=\$$cacheid
   5982 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5983 printf "%s\n" "$supported" >&6; }
   5984 		if test "$supported" = "yes" ; then
   5985 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5986 			found="yes"
   5987 		fi
   5988 	fi
   5989 
   5990 
   5991 
   5992 
   5993 
   5994 
   5995 
   5996 
   5997 
   5998 
   5999 
   6000 
   6001 
   6002 
   6003 
   6004 xorg_testset_save_CFLAGS="$CFLAGS"
   6005 
   6006 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6007 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6008 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6009 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6010 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6011 then :
   6012   printf %s "(cached) " >&6
   6013 else case e in #(
   6014   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6015 /* end confdefs.h.  */
   6016 int i;
   6017 _ACEOF
   6018 if ac_fn_c_try_compile "$LINENO"
   6019 then :
   6020   xorg_cv_cc_flag_unknown_warning_option=yes
   6021 else case e in #(
   6022   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6023 esac
   6024 fi
   6025 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6026 esac
   6027 fi
   6028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6029 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6030 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6031 	CFLAGS="$xorg_testset_save_CFLAGS"
   6032 fi
   6033 
   6034 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6035 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6036 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6037 	fi
   6038 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6039 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6040 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6041 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6042 then :
   6043   printf %s "(cached) " >&6
   6044 else case e in #(
   6045   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6046 /* end confdefs.h.  */
   6047 int i;
   6048 _ACEOF
   6049 if ac_fn_c_try_compile "$LINENO"
   6050 then :
   6051   xorg_cv_cc_flag_unused_command_line_argument=yes
   6052 else case e in #(
   6053   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6054 esac
   6055 fi
   6056 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6057 esac
   6058 fi
   6059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6060 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6061 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6062 	CFLAGS="$xorg_testset_save_CFLAGS"
   6063 fi
   6064 
   6065 found="no"
   6066 
   6067 	if test $found = "no" ; then
   6068 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6069 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6070 		fi
   6071 
   6072 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6073 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6074 		fi
   6075 
   6076 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6077 
   6078 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6079 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   6080 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6081 		if eval test \${$cacheid+y}
   6082 then :
   6083   printf %s "(cached) " >&6
   6084 else case e in #(
   6085   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6086 /* end confdefs.h.  */
   6087 int i;
   6088 int
   6089 main (void)
   6090 {
   6091 
   6092   ;
   6093   return 0;
   6094 }
   6095 _ACEOF
   6096 if ac_fn_c_try_link "$LINENO"
   6097 then :
   6098   eval $cacheid=yes
   6099 else case e in #(
   6100   e) eval $cacheid=no ;;
   6101 esac
   6102 fi
   6103 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6104     conftest$ac_exeext conftest.$ac_ext ;;
   6105 esac
   6106 fi
   6107 
   6108 
   6109 		CFLAGS="$xorg_testset_save_CFLAGS"
   6110 
   6111 		eval supported=\$$cacheid
   6112 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6113 printf "%s\n" "$supported" >&6; }
   6114 		if test "$supported" = "yes" ; then
   6115 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6116 			found="yes"
   6117 		fi
   6118 	fi
   6119 
   6120 
   6121 
   6122 
   6123 
   6124 
   6125 
   6126 
   6127 
   6128 
   6129 
   6130 
   6131 
   6132 
   6133 
   6134 xorg_testset_save_CFLAGS="$CFLAGS"
   6135 
   6136 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6137 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6138 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6139 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6140 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6141 then :
   6142   printf %s "(cached) " >&6
   6143 else case e in #(
   6144   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6145 /* end confdefs.h.  */
   6146 int i;
   6147 _ACEOF
   6148 if ac_fn_c_try_compile "$LINENO"
   6149 then :
   6150   xorg_cv_cc_flag_unknown_warning_option=yes
   6151 else case e in #(
   6152   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6153 esac
   6154 fi
   6155 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6156 esac
   6157 fi
   6158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6159 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6160 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6161 	CFLAGS="$xorg_testset_save_CFLAGS"
   6162 fi
   6163 
   6164 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6165 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6166 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6167 	fi
   6168 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6169 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6170 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6171 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6172 then :
   6173   printf %s "(cached) " >&6
   6174 else case e in #(
   6175   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6176 /* end confdefs.h.  */
   6177 int i;
   6178 _ACEOF
   6179 if ac_fn_c_try_compile "$LINENO"
   6180 then :
   6181   xorg_cv_cc_flag_unused_command_line_argument=yes
   6182 else case e in #(
   6183   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6184 esac
   6185 fi
   6186 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6187 esac
   6188 fi
   6189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6190 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6191 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6192 	CFLAGS="$xorg_testset_save_CFLAGS"
   6193 fi
   6194 
   6195 found="no"
   6196 
   6197 	if test $found = "no" ; then
   6198 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6199 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6200 		fi
   6201 
   6202 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6203 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6204 		fi
   6205 
   6206 		CFLAGS="$CFLAGS -Wold-style-definition"
   6207 
   6208 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6209 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6210 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6211 		if eval test \${$cacheid+y}
   6212 then :
   6213   printf %s "(cached) " >&6
   6214 else case e in #(
   6215   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6216 /* end confdefs.h.  */
   6217 int i;
   6218 int
   6219 main (void)
   6220 {
   6221 
   6222   ;
   6223   return 0;
   6224 }
   6225 _ACEOF
   6226 if ac_fn_c_try_link "$LINENO"
   6227 then :
   6228   eval $cacheid=yes
   6229 else case e in #(
   6230   e) eval $cacheid=no ;;
   6231 esac
   6232 fi
   6233 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6234     conftest$ac_exeext conftest.$ac_ext ;;
   6235 esac
   6236 fi
   6237 
   6238 
   6239 		CFLAGS="$xorg_testset_save_CFLAGS"
   6240 
   6241 		eval supported=\$$cacheid
   6242 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6243 printf "%s\n" "$supported" >&6; }
   6244 		if test "$supported" = "yes" ; then
   6245 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6246 			found="yes"
   6247 		fi
   6248 	fi
   6249 
   6250 	if test $found = "no" ; then
   6251 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6252 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6253 		fi
   6254 
   6255 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6256 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6257 		fi
   6258 
   6259 		CFLAGS="$CFLAGS -fd"
   6260 
   6261 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6262 printf %s "checking if $CC supports -fd... " >&6; }
   6263 		cacheid=xorg_cv_cc_flag__fd
   6264 		if eval test \${$cacheid+y}
   6265 then :
   6266   printf %s "(cached) " >&6
   6267 else case e in #(
   6268   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6269 /* end confdefs.h.  */
   6270 int i;
   6271 int
   6272 main (void)
   6273 {
   6274 
   6275   ;
   6276   return 0;
   6277 }
   6278 _ACEOF
   6279 if ac_fn_c_try_link "$LINENO"
   6280 then :
   6281   eval $cacheid=yes
   6282 else case e in #(
   6283   e) eval $cacheid=no ;;
   6284 esac
   6285 fi
   6286 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6287     conftest$ac_exeext conftest.$ac_ext ;;
   6288 esac
   6289 fi
   6290 
   6291 
   6292 		CFLAGS="$xorg_testset_save_CFLAGS"
   6293 
   6294 		eval supported=\$$cacheid
   6295 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6296 printf "%s\n" "$supported" >&6; }
   6297 		if test "$supported" = "yes" ; then
   6298 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6299 			found="yes"
   6300 		fi
   6301 	fi
   6302 
   6303 
   6304 
   6305 
   6306 
   6307 # This chunk adds additional warnings that could catch undesired effects.
   6308 
   6309 
   6310 
   6311 
   6312 
   6313 
   6314 
   6315 
   6316 
   6317 
   6318 
   6319 
   6320 
   6321 xorg_testset_save_CFLAGS="$CFLAGS"
   6322 
   6323 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6324 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6325 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6326 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6327 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6328 then :
   6329   printf %s "(cached) " >&6
   6330 else case e in #(
   6331   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6332 /* end confdefs.h.  */
   6333 int i;
   6334 _ACEOF
   6335 if ac_fn_c_try_compile "$LINENO"
   6336 then :
   6337   xorg_cv_cc_flag_unknown_warning_option=yes
   6338 else case e in #(
   6339   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6340 esac
   6341 fi
   6342 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6343 esac
   6344 fi
   6345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6346 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6347 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6348 	CFLAGS="$xorg_testset_save_CFLAGS"
   6349 fi
   6350 
   6351 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6352 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6353 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6354 	fi
   6355 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6356 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6357 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6358 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6359 then :
   6360   printf %s "(cached) " >&6
   6361 else case e in #(
   6362   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6363 /* end confdefs.h.  */
   6364 int i;
   6365 _ACEOF
   6366 if ac_fn_c_try_compile "$LINENO"
   6367 then :
   6368   xorg_cv_cc_flag_unused_command_line_argument=yes
   6369 else case e in #(
   6370   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6371 esac
   6372 fi
   6373 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6374 esac
   6375 fi
   6376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6377 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6378 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6379 	CFLAGS="$xorg_testset_save_CFLAGS"
   6380 fi
   6381 
   6382 found="no"
   6383 
   6384 	if test $found = "no" ; then
   6385 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6386 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6387 		fi
   6388 
   6389 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6390 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6391 		fi
   6392 
   6393 		CFLAGS="$CFLAGS -Wunused"
   6394 
   6395 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6396 printf %s "checking if $CC supports -Wunused... " >&6; }
   6397 		cacheid=xorg_cv_cc_flag__Wunused
   6398 		if eval test \${$cacheid+y}
   6399 then :
   6400   printf %s "(cached) " >&6
   6401 else case e in #(
   6402   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6403 /* end confdefs.h.  */
   6404 int i;
   6405 int
   6406 main (void)
   6407 {
   6408 
   6409   ;
   6410   return 0;
   6411 }
   6412 _ACEOF
   6413 if ac_fn_c_try_link "$LINENO"
   6414 then :
   6415   eval $cacheid=yes
   6416 else case e in #(
   6417   e) eval $cacheid=no ;;
   6418 esac
   6419 fi
   6420 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6421     conftest$ac_exeext conftest.$ac_ext ;;
   6422 esac
   6423 fi
   6424 
   6425 
   6426 		CFLAGS="$xorg_testset_save_CFLAGS"
   6427 
   6428 		eval supported=\$$cacheid
   6429 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6430 printf "%s\n" "$supported" >&6; }
   6431 		if test "$supported" = "yes" ; then
   6432 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6433 			found="yes"
   6434 		fi
   6435 	fi
   6436 
   6437 
   6438 
   6439 
   6440 
   6441 
   6442 
   6443 
   6444 
   6445 
   6446 
   6447 
   6448 
   6449 
   6450 
   6451 xorg_testset_save_CFLAGS="$CFLAGS"
   6452 
   6453 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6454 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6455 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6456 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6457 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6458 then :
   6459   printf %s "(cached) " >&6
   6460 else case e in #(
   6461   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6462 /* end confdefs.h.  */
   6463 int i;
   6464 _ACEOF
   6465 if ac_fn_c_try_compile "$LINENO"
   6466 then :
   6467   xorg_cv_cc_flag_unknown_warning_option=yes
   6468 else case e in #(
   6469   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6470 esac
   6471 fi
   6472 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6473 esac
   6474 fi
   6475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6476 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6477 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6478 	CFLAGS="$xorg_testset_save_CFLAGS"
   6479 fi
   6480 
   6481 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6482 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6483 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6484 	fi
   6485 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6486 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6487 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6488 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6489 then :
   6490   printf %s "(cached) " >&6
   6491 else case e in #(
   6492   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6493 /* end confdefs.h.  */
   6494 int i;
   6495 _ACEOF
   6496 if ac_fn_c_try_compile "$LINENO"
   6497 then :
   6498   xorg_cv_cc_flag_unused_command_line_argument=yes
   6499 else case e in #(
   6500   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6501 esac
   6502 fi
   6503 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6504 esac
   6505 fi
   6506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6507 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6508 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6509 	CFLAGS="$xorg_testset_save_CFLAGS"
   6510 fi
   6511 
   6512 found="no"
   6513 
   6514 	if test $found = "no" ; then
   6515 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6516 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6517 		fi
   6518 
   6519 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6520 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6521 		fi
   6522 
   6523 		CFLAGS="$CFLAGS -Wuninitialized"
   6524 
   6525 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6526 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6527 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6528 		if eval test \${$cacheid+y}
   6529 then :
   6530   printf %s "(cached) " >&6
   6531 else case e in #(
   6532   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6533 /* end confdefs.h.  */
   6534 int i;
   6535 int
   6536 main (void)
   6537 {
   6538 
   6539   ;
   6540   return 0;
   6541 }
   6542 _ACEOF
   6543 if ac_fn_c_try_link "$LINENO"
   6544 then :
   6545   eval $cacheid=yes
   6546 else case e in #(
   6547   e) eval $cacheid=no ;;
   6548 esac
   6549 fi
   6550 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6551     conftest$ac_exeext conftest.$ac_ext ;;
   6552 esac
   6553 fi
   6554 
   6555 
   6556 		CFLAGS="$xorg_testset_save_CFLAGS"
   6557 
   6558 		eval supported=\$$cacheid
   6559 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6560 printf "%s\n" "$supported" >&6; }
   6561 		if test "$supported" = "yes" ; then
   6562 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6563 			found="yes"
   6564 		fi
   6565 	fi
   6566 
   6567 
   6568 
   6569 
   6570 
   6571 
   6572 
   6573 
   6574 
   6575 
   6576 
   6577 
   6578 
   6579 
   6580 
   6581 xorg_testset_save_CFLAGS="$CFLAGS"
   6582 
   6583 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6584 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6585 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6586 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6587 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6588 then :
   6589   printf %s "(cached) " >&6
   6590 else case e in #(
   6591   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6592 /* end confdefs.h.  */
   6593 int i;
   6594 _ACEOF
   6595 if ac_fn_c_try_compile "$LINENO"
   6596 then :
   6597   xorg_cv_cc_flag_unknown_warning_option=yes
   6598 else case e in #(
   6599   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6600 esac
   6601 fi
   6602 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6603 esac
   6604 fi
   6605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6606 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6607 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6608 	CFLAGS="$xorg_testset_save_CFLAGS"
   6609 fi
   6610 
   6611 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6612 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6613 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6614 	fi
   6615 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6616 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6617 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6618 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6619 then :
   6620   printf %s "(cached) " >&6
   6621 else case e in #(
   6622   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6623 /* end confdefs.h.  */
   6624 int i;
   6625 _ACEOF
   6626 if ac_fn_c_try_compile "$LINENO"
   6627 then :
   6628   xorg_cv_cc_flag_unused_command_line_argument=yes
   6629 else case e in #(
   6630   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6631 esac
   6632 fi
   6633 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6634 esac
   6635 fi
   6636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6637 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6638 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6639 	CFLAGS="$xorg_testset_save_CFLAGS"
   6640 fi
   6641 
   6642 found="no"
   6643 
   6644 	if test $found = "no" ; then
   6645 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6646 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6647 		fi
   6648 
   6649 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6650 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6651 		fi
   6652 
   6653 		CFLAGS="$CFLAGS -Wshadow"
   6654 
   6655 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6656 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6657 		cacheid=xorg_cv_cc_flag__Wshadow
   6658 		if eval test \${$cacheid+y}
   6659 then :
   6660   printf %s "(cached) " >&6
   6661 else case e in #(
   6662   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6663 /* end confdefs.h.  */
   6664 int i;
   6665 int
   6666 main (void)
   6667 {
   6668 
   6669   ;
   6670   return 0;
   6671 }
   6672 _ACEOF
   6673 if ac_fn_c_try_link "$LINENO"
   6674 then :
   6675   eval $cacheid=yes
   6676 else case e in #(
   6677   e) eval $cacheid=no ;;
   6678 esac
   6679 fi
   6680 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6681     conftest$ac_exeext conftest.$ac_ext ;;
   6682 esac
   6683 fi
   6684 
   6685 
   6686 		CFLAGS="$xorg_testset_save_CFLAGS"
   6687 
   6688 		eval supported=\$$cacheid
   6689 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6690 printf "%s\n" "$supported" >&6; }
   6691 		if test "$supported" = "yes" ; then
   6692 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6693 			found="yes"
   6694 		fi
   6695 	fi
   6696 
   6697 
   6698 
   6699 
   6700 
   6701 
   6702 
   6703 
   6704 
   6705 
   6706 
   6707 
   6708 
   6709 
   6710 
   6711 xorg_testset_save_CFLAGS="$CFLAGS"
   6712 
   6713 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6714 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6715 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6716 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6717 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6718 then :
   6719   printf %s "(cached) " >&6
   6720 else case e in #(
   6721   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6722 /* end confdefs.h.  */
   6723 int i;
   6724 _ACEOF
   6725 if ac_fn_c_try_compile "$LINENO"
   6726 then :
   6727   xorg_cv_cc_flag_unknown_warning_option=yes
   6728 else case e in #(
   6729   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6730 esac
   6731 fi
   6732 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6733 esac
   6734 fi
   6735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6736 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6737 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6738 	CFLAGS="$xorg_testset_save_CFLAGS"
   6739 fi
   6740 
   6741 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6742 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6743 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6744 	fi
   6745 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6746 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6747 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6748 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6749 then :
   6750   printf %s "(cached) " >&6
   6751 else case e in #(
   6752   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6753 /* end confdefs.h.  */
   6754 int i;
   6755 _ACEOF
   6756 if ac_fn_c_try_compile "$LINENO"
   6757 then :
   6758   xorg_cv_cc_flag_unused_command_line_argument=yes
   6759 else case e in #(
   6760   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6761 esac
   6762 fi
   6763 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6764 esac
   6765 fi
   6766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6767 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6768 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6769 	CFLAGS="$xorg_testset_save_CFLAGS"
   6770 fi
   6771 
   6772 found="no"
   6773 
   6774 	if test $found = "no" ; then
   6775 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6776 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6777 		fi
   6778 
   6779 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6780 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6781 		fi
   6782 
   6783 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6784 
   6785 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6786 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6787 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6788 		if eval test \${$cacheid+y}
   6789 then :
   6790   printf %s "(cached) " >&6
   6791 else case e in #(
   6792   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6793 /* end confdefs.h.  */
   6794 int i;
   6795 int
   6796 main (void)
   6797 {
   6798 
   6799   ;
   6800   return 0;
   6801 }
   6802 _ACEOF
   6803 if ac_fn_c_try_link "$LINENO"
   6804 then :
   6805   eval $cacheid=yes
   6806 else case e in #(
   6807   e) eval $cacheid=no ;;
   6808 esac
   6809 fi
   6810 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6811     conftest$ac_exeext conftest.$ac_ext ;;
   6812 esac
   6813 fi
   6814 
   6815 
   6816 		CFLAGS="$xorg_testset_save_CFLAGS"
   6817 
   6818 		eval supported=\$$cacheid
   6819 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6820 printf "%s\n" "$supported" >&6; }
   6821 		if test "$supported" = "yes" ; then
   6822 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6823 			found="yes"
   6824 		fi
   6825 	fi
   6826 
   6827 
   6828 
   6829 
   6830 
   6831 
   6832 
   6833 
   6834 
   6835 
   6836 
   6837 
   6838 
   6839 
   6840 
   6841 xorg_testset_save_CFLAGS="$CFLAGS"
   6842 
   6843 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6844 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6845 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6846 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6847 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6848 then :
   6849   printf %s "(cached) " >&6
   6850 else case e in #(
   6851   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6852 /* end confdefs.h.  */
   6853 int i;
   6854 _ACEOF
   6855 if ac_fn_c_try_compile "$LINENO"
   6856 then :
   6857   xorg_cv_cc_flag_unknown_warning_option=yes
   6858 else case e in #(
   6859   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6860 esac
   6861 fi
   6862 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6863 esac
   6864 fi
   6865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6866 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6867 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6868 	CFLAGS="$xorg_testset_save_CFLAGS"
   6869 fi
   6870 
   6871 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6872 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6873 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6874 	fi
   6875 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6876 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6877 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6878 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6879 then :
   6880   printf %s "(cached) " >&6
   6881 else case e in #(
   6882   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6883 /* end confdefs.h.  */
   6884 int i;
   6885 _ACEOF
   6886 if ac_fn_c_try_compile "$LINENO"
   6887 then :
   6888   xorg_cv_cc_flag_unused_command_line_argument=yes
   6889 else case e in #(
   6890   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6891 esac
   6892 fi
   6893 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6894 esac
   6895 fi
   6896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6897 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6898 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6899 	CFLAGS="$xorg_testset_save_CFLAGS"
   6900 fi
   6901 
   6902 found="no"
   6903 
   6904 	if test $found = "no" ; then
   6905 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6906 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6907 		fi
   6908 
   6909 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6910 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6911 		fi
   6912 
   6913 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6914 
   6915 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6916 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6917 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6918 		if eval test \${$cacheid+y}
   6919 then :
   6920   printf %s "(cached) " >&6
   6921 else case e in #(
   6922   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6923 /* end confdefs.h.  */
   6924 int i;
   6925 int
   6926 main (void)
   6927 {
   6928 
   6929   ;
   6930   return 0;
   6931 }
   6932 _ACEOF
   6933 if ac_fn_c_try_link "$LINENO"
   6934 then :
   6935   eval $cacheid=yes
   6936 else case e in #(
   6937   e) eval $cacheid=no ;;
   6938 esac
   6939 fi
   6940 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6941     conftest$ac_exeext conftest.$ac_ext ;;
   6942 esac
   6943 fi
   6944 
   6945 
   6946 		CFLAGS="$xorg_testset_save_CFLAGS"
   6947 
   6948 		eval supported=\$$cacheid
   6949 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6950 printf "%s\n" "$supported" >&6; }
   6951 		if test "$supported" = "yes" ; then
   6952 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6953 			found="yes"
   6954 		fi
   6955 	fi
   6956 
   6957 
   6958 
   6959 
   6960 
   6961 
   6962 
   6963 
   6964 
   6965 
   6966 
   6967 
   6968 
   6969 
   6970 
   6971 xorg_testset_save_CFLAGS="$CFLAGS"
   6972 
   6973 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6974 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6975 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6976 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6977 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6978 then :
   6979   printf %s "(cached) " >&6
   6980 else case e in #(
   6981   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6982 /* end confdefs.h.  */
   6983 int i;
   6984 _ACEOF
   6985 if ac_fn_c_try_compile "$LINENO"
   6986 then :
   6987   xorg_cv_cc_flag_unknown_warning_option=yes
   6988 else case e in #(
   6989   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6990 esac
   6991 fi
   6992 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6993 esac
   6994 fi
   6995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6996 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6997 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6998 	CFLAGS="$xorg_testset_save_CFLAGS"
   6999 fi
   7000 
   7001 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7002 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7003 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7004 	fi
   7005 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7006 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7007 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7008 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7009 then :
   7010   printf %s "(cached) " >&6
   7011 else case e in #(
   7012   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7013 /* end confdefs.h.  */
   7014 int i;
   7015 _ACEOF
   7016 if ac_fn_c_try_compile "$LINENO"
   7017 then :
   7018   xorg_cv_cc_flag_unused_command_line_argument=yes
   7019 else case e in #(
   7020   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7021 esac
   7022 fi
   7023 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7024 esac
   7025 fi
   7026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7027 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7028 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7029 	CFLAGS="$xorg_testset_save_CFLAGS"
   7030 fi
   7031 
   7032 found="no"
   7033 
   7034 	if test $found = "no" ; then
   7035 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7036 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7037 		fi
   7038 
   7039 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7040 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7041 		fi
   7042 
   7043 		CFLAGS="$CFLAGS -Wredundant-decls"
   7044 
   7045 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7046 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7047 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7048 		if eval test \${$cacheid+y}
   7049 then :
   7050   printf %s "(cached) " >&6
   7051 else case e in #(
   7052   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7053 /* end confdefs.h.  */
   7054 int i;
   7055 int
   7056 main (void)
   7057 {
   7058 
   7059   ;
   7060   return 0;
   7061 }
   7062 _ACEOF
   7063 if ac_fn_c_try_link "$LINENO"
   7064 then :
   7065   eval $cacheid=yes
   7066 else case e in #(
   7067   e) eval $cacheid=no ;;
   7068 esac
   7069 fi
   7070 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7071     conftest$ac_exeext conftest.$ac_ext ;;
   7072 esac
   7073 fi
   7074 
   7075 
   7076 		CFLAGS="$xorg_testset_save_CFLAGS"
   7077 
   7078 		eval supported=\$$cacheid
   7079 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7080 printf "%s\n" "$supported" >&6; }
   7081 		if test "$supported" = "yes" ; then
   7082 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7083 			found="yes"
   7084 		fi
   7085 	fi
   7086 
   7087 
   7088 
   7089 
   7090 
   7091 
   7092 
   7093 
   7094 
   7095 
   7096 
   7097 
   7098 
   7099 
   7100 
   7101 xorg_testset_save_CFLAGS="$CFLAGS"
   7102 
   7103 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7104 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7105 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7106 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7107 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7108 then :
   7109   printf %s "(cached) " >&6
   7110 else case e in #(
   7111   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7112 /* end confdefs.h.  */
   7113 int i;
   7114 _ACEOF
   7115 if ac_fn_c_try_compile "$LINENO"
   7116 then :
   7117   xorg_cv_cc_flag_unknown_warning_option=yes
   7118 else case e in #(
   7119   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7120 esac
   7121 fi
   7122 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7123 esac
   7124 fi
   7125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7126 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7127 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7128 	CFLAGS="$xorg_testset_save_CFLAGS"
   7129 fi
   7130 
   7131 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7132 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7133 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7134 	fi
   7135 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7136 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7137 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7138 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7139 then :
   7140   printf %s "(cached) " >&6
   7141 else case e in #(
   7142   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7143 /* end confdefs.h.  */
   7144 int i;
   7145 _ACEOF
   7146 if ac_fn_c_try_compile "$LINENO"
   7147 then :
   7148   xorg_cv_cc_flag_unused_command_line_argument=yes
   7149 else case e in #(
   7150   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7151 esac
   7152 fi
   7153 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7154 esac
   7155 fi
   7156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7157 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7158 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7159 	CFLAGS="$xorg_testset_save_CFLAGS"
   7160 fi
   7161 
   7162 found="no"
   7163 
   7164 	if test $found = "no" ; then
   7165 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7166 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7167 		fi
   7168 
   7169 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7170 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7171 		fi
   7172 
   7173 		CFLAGS="$CFLAGS -Wlogical-op"
   7174 
   7175 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7176 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7177 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7178 		if eval test \${$cacheid+y}
   7179 then :
   7180   printf %s "(cached) " >&6
   7181 else case e in #(
   7182   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7183 /* end confdefs.h.  */
   7184 int i;
   7185 int
   7186 main (void)
   7187 {
   7188 
   7189   ;
   7190   return 0;
   7191 }
   7192 _ACEOF
   7193 if ac_fn_c_try_link "$LINENO"
   7194 then :
   7195   eval $cacheid=yes
   7196 else case e in #(
   7197   e) eval $cacheid=no ;;
   7198 esac
   7199 fi
   7200 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7201     conftest$ac_exeext conftest.$ac_ext ;;
   7202 esac
   7203 fi
   7204 
   7205 
   7206 		CFLAGS="$xorg_testset_save_CFLAGS"
   7207 
   7208 		eval supported=\$$cacheid
   7209 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7210 printf "%s\n" "$supported" >&6; }
   7211 		if test "$supported" = "yes" ; then
   7212 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7213 			found="yes"
   7214 		fi
   7215 	fi
   7216 
   7217 
   7218 
   7219 # These are currently disabled because they are noisy.  They will be enabled
   7220 # in the future once the codebase is sufficiently modernized to silence
   7221 # them.  For now, I don't want them to drown out the other warnings.
   7222 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7223 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7224 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7225 
   7226 # Turn some warnings into errors, so we don't accidentally get successful builds
   7227 # when there are problems that should be fixed.
   7228 
   7229 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7230 
   7231 
   7232 
   7233 
   7234 
   7235 
   7236 
   7237 
   7238 
   7239 
   7240 
   7241 
   7242 
   7243 xorg_testset_save_CFLAGS="$CFLAGS"
   7244 
   7245 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7246 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7247 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7248 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7249 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7250 then :
   7251   printf %s "(cached) " >&6
   7252 else case e in #(
   7253   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7254 /* end confdefs.h.  */
   7255 int i;
   7256 _ACEOF
   7257 if ac_fn_c_try_compile "$LINENO"
   7258 then :
   7259   xorg_cv_cc_flag_unknown_warning_option=yes
   7260 else case e in #(
   7261   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7262 esac
   7263 fi
   7264 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7265 esac
   7266 fi
   7267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7268 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7269 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7270 	CFLAGS="$xorg_testset_save_CFLAGS"
   7271 fi
   7272 
   7273 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7274 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7275 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7276 	fi
   7277 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7278 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7279 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7280 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7281 then :
   7282   printf %s "(cached) " >&6
   7283 else case e in #(
   7284   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7285 /* end confdefs.h.  */
   7286 int i;
   7287 _ACEOF
   7288 if ac_fn_c_try_compile "$LINENO"
   7289 then :
   7290   xorg_cv_cc_flag_unused_command_line_argument=yes
   7291 else case e in #(
   7292   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7293 esac
   7294 fi
   7295 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7296 esac
   7297 fi
   7298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7299 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7300 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7301 	CFLAGS="$xorg_testset_save_CFLAGS"
   7302 fi
   7303 
   7304 found="no"
   7305 
   7306 	if test $found = "no" ; then
   7307 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7308 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7309 		fi
   7310 
   7311 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7312 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7313 		fi
   7314 
   7315 		CFLAGS="$CFLAGS -Werror=implicit"
   7316 
   7317 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7318 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7319 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7320 		if eval test \${$cacheid+y}
   7321 then :
   7322   printf %s "(cached) " >&6
   7323 else case e in #(
   7324   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7325 /* end confdefs.h.  */
   7326 int i;
   7327 int
   7328 main (void)
   7329 {
   7330 
   7331   ;
   7332   return 0;
   7333 }
   7334 _ACEOF
   7335 if ac_fn_c_try_link "$LINENO"
   7336 then :
   7337   eval $cacheid=yes
   7338 else case e in #(
   7339   e) eval $cacheid=no ;;
   7340 esac
   7341 fi
   7342 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7343     conftest$ac_exeext conftest.$ac_ext ;;
   7344 esac
   7345 fi
   7346 
   7347 
   7348 		CFLAGS="$xorg_testset_save_CFLAGS"
   7349 
   7350 		eval supported=\$$cacheid
   7351 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7352 printf "%s\n" "$supported" >&6; }
   7353 		if test "$supported" = "yes" ; then
   7354 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7355 			found="yes"
   7356 		fi
   7357 	fi
   7358 
   7359 	if test $found = "no" ; then
   7360 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7361 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7362 		fi
   7363 
   7364 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7365 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7366 		fi
   7367 
   7368 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7369 
   7370 		{ 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
   7371 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7372 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7373 		if eval test \${$cacheid+y}
   7374 then :
   7375   printf %s "(cached) " >&6
   7376 else case e in #(
   7377   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7378 /* end confdefs.h.  */
   7379 int i;
   7380 int
   7381 main (void)
   7382 {
   7383 
   7384   ;
   7385   return 0;
   7386 }
   7387 _ACEOF
   7388 if ac_fn_c_try_link "$LINENO"
   7389 then :
   7390   eval $cacheid=yes
   7391 else case e in #(
   7392   e) eval $cacheid=no ;;
   7393 esac
   7394 fi
   7395 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7396     conftest$ac_exeext conftest.$ac_ext ;;
   7397 esac
   7398 fi
   7399 
   7400 
   7401 		CFLAGS="$xorg_testset_save_CFLAGS"
   7402 
   7403 		eval supported=\$$cacheid
   7404 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7405 printf "%s\n" "$supported" >&6; }
   7406 		if test "$supported" = "yes" ; then
   7407 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7408 			found="yes"
   7409 		fi
   7410 	fi
   7411 
   7412 
   7413 
   7414 
   7415 
   7416 
   7417 
   7418 
   7419 
   7420 
   7421 
   7422 
   7423 
   7424 
   7425 
   7426 xorg_testset_save_CFLAGS="$CFLAGS"
   7427 
   7428 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7429 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7430 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7431 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7432 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7433 then :
   7434   printf %s "(cached) " >&6
   7435 else case e in #(
   7436   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7437 /* end confdefs.h.  */
   7438 int i;
   7439 _ACEOF
   7440 if ac_fn_c_try_compile "$LINENO"
   7441 then :
   7442   xorg_cv_cc_flag_unknown_warning_option=yes
   7443 else case e in #(
   7444   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7445 esac
   7446 fi
   7447 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7448 esac
   7449 fi
   7450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7451 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7452 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7453 	CFLAGS="$xorg_testset_save_CFLAGS"
   7454 fi
   7455 
   7456 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7457 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7458 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7459 	fi
   7460 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7461 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7462 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7463 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7464 then :
   7465   printf %s "(cached) " >&6
   7466 else case e in #(
   7467   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7468 /* end confdefs.h.  */
   7469 int i;
   7470 _ACEOF
   7471 if ac_fn_c_try_compile "$LINENO"
   7472 then :
   7473   xorg_cv_cc_flag_unused_command_line_argument=yes
   7474 else case e in #(
   7475   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7476 esac
   7477 fi
   7478 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7479 esac
   7480 fi
   7481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7482 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7483 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7484 	CFLAGS="$xorg_testset_save_CFLAGS"
   7485 fi
   7486 
   7487 found="no"
   7488 
   7489 	if test $found = "no" ; then
   7490 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7491 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7492 		fi
   7493 
   7494 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7495 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7496 		fi
   7497 
   7498 		CFLAGS="$CFLAGS -Werror=nonnull"
   7499 
   7500 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7501 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7502 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7503 		if eval test \${$cacheid+y}
   7504 then :
   7505   printf %s "(cached) " >&6
   7506 else case e in #(
   7507   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7508 /* end confdefs.h.  */
   7509 int i;
   7510 int
   7511 main (void)
   7512 {
   7513 
   7514   ;
   7515   return 0;
   7516 }
   7517 _ACEOF
   7518 if ac_fn_c_try_link "$LINENO"
   7519 then :
   7520   eval $cacheid=yes
   7521 else case e in #(
   7522   e) eval $cacheid=no ;;
   7523 esac
   7524 fi
   7525 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7526     conftest$ac_exeext conftest.$ac_ext ;;
   7527 esac
   7528 fi
   7529 
   7530 
   7531 		CFLAGS="$xorg_testset_save_CFLAGS"
   7532 
   7533 		eval supported=\$$cacheid
   7534 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7535 printf "%s\n" "$supported" >&6; }
   7536 		if test "$supported" = "yes" ; then
   7537 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7538 			found="yes"
   7539 		fi
   7540 	fi
   7541 
   7542 
   7543 
   7544 
   7545 
   7546 
   7547 
   7548 
   7549 
   7550 
   7551 
   7552 
   7553 
   7554 
   7555 
   7556 xorg_testset_save_CFLAGS="$CFLAGS"
   7557 
   7558 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7559 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7560 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7561 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7562 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7563 then :
   7564   printf %s "(cached) " >&6
   7565 else case e in #(
   7566   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7567 /* end confdefs.h.  */
   7568 int i;
   7569 _ACEOF
   7570 if ac_fn_c_try_compile "$LINENO"
   7571 then :
   7572   xorg_cv_cc_flag_unknown_warning_option=yes
   7573 else case e in #(
   7574   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7575 esac
   7576 fi
   7577 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7578 esac
   7579 fi
   7580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7581 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7582 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7583 	CFLAGS="$xorg_testset_save_CFLAGS"
   7584 fi
   7585 
   7586 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7587 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7588 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7589 	fi
   7590 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7591 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7592 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7593 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7594 then :
   7595   printf %s "(cached) " >&6
   7596 else case e in #(
   7597   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7598 /* end confdefs.h.  */
   7599 int i;
   7600 _ACEOF
   7601 if ac_fn_c_try_compile "$LINENO"
   7602 then :
   7603   xorg_cv_cc_flag_unused_command_line_argument=yes
   7604 else case e in #(
   7605   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7606 esac
   7607 fi
   7608 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7609 esac
   7610 fi
   7611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7612 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7613 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7614 	CFLAGS="$xorg_testset_save_CFLAGS"
   7615 fi
   7616 
   7617 found="no"
   7618 
   7619 	if test $found = "no" ; then
   7620 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7621 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7622 		fi
   7623 
   7624 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7625 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7626 		fi
   7627 
   7628 		CFLAGS="$CFLAGS -Werror=init-self"
   7629 
   7630 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7631 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7632 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7633 		if eval test \${$cacheid+y}
   7634 then :
   7635   printf %s "(cached) " >&6
   7636 else case e in #(
   7637   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7638 /* end confdefs.h.  */
   7639 int i;
   7640 int
   7641 main (void)
   7642 {
   7643 
   7644   ;
   7645   return 0;
   7646 }
   7647 _ACEOF
   7648 if ac_fn_c_try_link "$LINENO"
   7649 then :
   7650   eval $cacheid=yes
   7651 else case e in #(
   7652   e) eval $cacheid=no ;;
   7653 esac
   7654 fi
   7655 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7656     conftest$ac_exeext conftest.$ac_ext ;;
   7657 esac
   7658 fi
   7659 
   7660 
   7661 		CFLAGS="$xorg_testset_save_CFLAGS"
   7662 
   7663 		eval supported=\$$cacheid
   7664 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7665 printf "%s\n" "$supported" >&6; }
   7666 		if test "$supported" = "yes" ; then
   7667 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7668 			found="yes"
   7669 		fi
   7670 	fi
   7671 
   7672 
   7673 
   7674 
   7675 
   7676 
   7677 
   7678 
   7679 
   7680 
   7681 
   7682 
   7683 
   7684 
   7685 
   7686 xorg_testset_save_CFLAGS="$CFLAGS"
   7687 
   7688 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7689 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7690 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7691 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7692 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7693 then :
   7694   printf %s "(cached) " >&6
   7695 else case e in #(
   7696   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7697 /* end confdefs.h.  */
   7698 int i;
   7699 _ACEOF
   7700 if ac_fn_c_try_compile "$LINENO"
   7701 then :
   7702   xorg_cv_cc_flag_unknown_warning_option=yes
   7703 else case e in #(
   7704   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7705 esac
   7706 fi
   7707 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7708 esac
   7709 fi
   7710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7711 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7712 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7713 	CFLAGS="$xorg_testset_save_CFLAGS"
   7714 fi
   7715 
   7716 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7717 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7718 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7719 	fi
   7720 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7721 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7722 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7723 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7724 then :
   7725   printf %s "(cached) " >&6
   7726 else case e in #(
   7727   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7728 /* end confdefs.h.  */
   7729 int i;
   7730 _ACEOF
   7731 if ac_fn_c_try_compile "$LINENO"
   7732 then :
   7733   xorg_cv_cc_flag_unused_command_line_argument=yes
   7734 else case e in #(
   7735   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7736 esac
   7737 fi
   7738 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7739 esac
   7740 fi
   7741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7742 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7743 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7744 	CFLAGS="$xorg_testset_save_CFLAGS"
   7745 fi
   7746 
   7747 found="no"
   7748 
   7749 	if test $found = "no" ; then
   7750 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7751 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7752 		fi
   7753 
   7754 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7755 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7756 		fi
   7757 
   7758 		CFLAGS="$CFLAGS -Werror=main"
   7759 
   7760 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7761 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7762 		cacheid=xorg_cv_cc_flag__Werror_main
   7763 		if eval test \${$cacheid+y}
   7764 then :
   7765   printf %s "(cached) " >&6
   7766 else case e in #(
   7767   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7768 /* end confdefs.h.  */
   7769 int i;
   7770 int
   7771 main (void)
   7772 {
   7773 
   7774   ;
   7775   return 0;
   7776 }
   7777 _ACEOF
   7778 if ac_fn_c_try_link "$LINENO"
   7779 then :
   7780   eval $cacheid=yes
   7781 else case e in #(
   7782   e) eval $cacheid=no ;;
   7783 esac
   7784 fi
   7785 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7786     conftest$ac_exeext conftest.$ac_ext ;;
   7787 esac
   7788 fi
   7789 
   7790 
   7791 		CFLAGS="$xorg_testset_save_CFLAGS"
   7792 
   7793 		eval supported=\$$cacheid
   7794 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7795 printf "%s\n" "$supported" >&6; }
   7796 		if test "$supported" = "yes" ; then
   7797 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7798 			found="yes"
   7799 		fi
   7800 	fi
   7801 
   7802 
   7803 
   7804 
   7805 
   7806 
   7807 
   7808 
   7809 
   7810 
   7811 
   7812 
   7813 
   7814 
   7815 
   7816 xorg_testset_save_CFLAGS="$CFLAGS"
   7817 
   7818 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7819 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7820 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7821 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7822 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7823 then :
   7824   printf %s "(cached) " >&6
   7825 else case e in #(
   7826   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7827 /* end confdefs.h.  */
   7828 int i;
   7829 _ACEOF
   7830 if ac_fn_c_try_compile "$LINENO"
   7831 then :
   7832   xorg_cv_cc_flag_unknown_warning_option=yes
   7833 else case e in #(
   7834   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7835 esac
   7836 fi
   7837 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7838 esac
   7839 fi
   7840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7841 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7842 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7843 	CFLAGS="$xorg_testset_save_CFLAGS"
   7844 fi
   7845 
   7846 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7847 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7848 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7849 	fi
   7850 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7851 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7852 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7853 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7854 then :
   7855   printf %s "(cached) " >&6
   7856 else case e in #(
   7857   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7858 /* end confdefs.h.  */
   7859 int i;
   7860 _ACEOF
   7861 if ac_fn_c_try_compile "$LINENO"
   7862 then :
   7863   xorg_cv_cc_flag_unused_command_line_argument=yes
   7864 else case e in #(
   7865   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7866 esac
   7867 fi
   7868 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7869 esac
   7870 fi
   7871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7872 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7873 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7874 	CFLAGS="$xorg_testset_save_CFLAGS"
   7875 fi
   7876 
   7877 found="no"
   7878 
   7879 	if test $found = "no" ; then
   7880 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7881 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7882 		fi
   7883 
   7884 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7885 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7886 		fi
   7887 
   7888 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7889 
   7890 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7891 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   7892 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7893 		if eval test \${$cacheid+y}
   7894 then :
   7895   printf %s "(cached) " >&6
   7896 else case e in #(
   7897   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7898 /* end confdefs.h.  */
   7899 int i;
   7900 int
   7901 main (void)
   7902 {
   7903 
   7904   ;
   7905   return 0;
   7906 }
   7907 _ACEOF
   7908 if ac_fn_c_try_link "$LINENO"
   7909 then :
   7910   eval $cacheid=yes
   7911 else case e in #(
   7912   e) eval $cacheid=no ;;
   7913 esac
   7914 fi
   7915 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7916     conftest$ac_exeext conftest.$ac_ext ;;
   7917 esac
   7918 fi
   7919 
   7920 
   7921 		CFLAGS="$xorg_testset_save_CFLAGS"
   7922 
   7923 		eval supported=\$$cacheid
   7924 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7925 printf "%s\n" "$supported" >&6; }
   7926 		if test "$supported" = "yes" ; then
   7927 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7928 			found="yes"
   7929 		fi
   7930 	fi
   7931 
   7932 
   7933 
   7934 
   7935 
   7936 
   7937 
   7938 
   7939 
   7940 
   7941 
   7942 
   7943 
   7944 
   7945 
   7946 xorg_testset_save_CFLAGS="$CFLAGS"
   7947 
   7948 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7949 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7950 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7951 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7952 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7953 then :
   7954   printf %s "(cached) " >&6
   7955 else case e in #(
   7956   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7957 /* end confdefs.h.  */
   7958 int i;
   7959 _ACEOF
   7960 if ac_fn_c_try_compile "$LINENO"
   7961 then :
   7962   xorg_cv_cc_flag_unknown_warning_option=yes
   7963 else case e in #(
   7964   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7965 esac
   7966 fi
   7967 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7968 esac
   7969 fi
   7970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7971 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7972 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7973 	CFLAGS="$xorg_testset_save_CFLAGS"
   7974 fi
   7975 
   7976 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7977 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7978 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7979 	fi
   7980 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7981 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7982 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7983 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7984 then :
   7985   printf %s "(cached) " >&6
   7986 else case e in #(
   7987   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7988 /* end confdefs.h.  */
   7989 int i;
   7990 _ACEOF
   7991 if ac_fn_c_try_compile "$LINENO"
   7992 then :
   7993   xorg_cv_cc_flag_unused_command_line_argument=yes
   7994 else case e in #(
   7995   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7996 esac
   7997 fi
   7998 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7999 esac
   8000 fi
   8001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8002 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8003 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8004 	CFLAGS="$xorg_testset_save_CFLAGS"
   8005 fi
   8006 
   8007 found="no"
   8008 
   8009 	if test $found = "no" ; then
   8010 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8011 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8012 		fi
   8013 
   8014 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8015 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8016 		fi
   8017 
   8018 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8019 
   8020 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8021 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   8022 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8023 		if eval test \${$cacheid+y}
   8024 then :
   8025   printf %s "(cached) " >&6
   8026 else case e in #(
   8027   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8028 /* end confdefs.h.  */
   8029 int i;
   8030 int
   8031 main (void)
   8032 {
   8033 
   8034   ;
   8035   return 0;
   8036 }
   8037 _ACEOF
   8038 if ac_fn_c_try_link "$LINENO"
   8039 then :
   8040   eval $cacheid=yes
   8041 else case e in #(
   8042   e) eval $cacheid=no ;;
   8043 esac
   8044 fi
   8045 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8046     conftest$ac_exeext conftest.$ac_ext ;;
   8047 esac
   8048 fi
   8049 
   8050 
   8051 		CFLAGS="$xorg_testset_save_CFLAGS"
   8052 
   8053 		eval supported=\$$cacheid
   8054 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8055 printf "%s\n" "$supported" >&6; }
   8056 		if test "$supported" = "yes" ; then
   8057 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8058 			found="yes"
   8059 		fi
   8060 	fi
   8061 
   8062 
   8063 
   8064 
   8065 
   8066 
   8067 
   8068 
   8069 
   8070 
   8071 
   8072 
   8073 
   8074 
   8075 
   8076 xorg_testset_save_CFLAGS="$CFLAGS"
   8077 
   8078 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8079 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8080 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8081 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8082 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8083 then :
   8084   printf %s "(cached) " >&6
   8085 else case e in #(
   8086   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8087 /* end confdefs.h.  */
   8088 int i;
   8089 _ACEOF
   8090 if ac_fn_c_try_compile "$LINENO"
   8091 then :
   8092   xorg_cv_cc_flag_unknown_warning_option=yes
   8093 else case e in #(
   8094   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8095 esac
   8096 fi
   8097 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8098 esac
   8099 fi
   8100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8101 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8102 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8103 	CFLAGS="$xorg_testset_save_CFLAGS"
   8104 fi
   8105 
   8106 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8107 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8108 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8109 	fi
   8110 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8111 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8112 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8113 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8114 then :
   8115   printf %s "(cached) " >&6
   8116 else case e in #(
   8117   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8118 /* end confdefs.h.  */
   8119 int i;
   8120 _ACEOF
   8121 if ac_fn_c_try_compile "$LINENO"
   8122 then :
   8123   xorg_cv_cc_flag_unused_command_line_argument=yes
   8124 else case e in #(
   8125   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8126 esac
   8127 fi
   8128 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8129 esac
   8130 fi
   8131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8132 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8133 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8134 	CFLAGS="$xorg_testset_save_CFLAGS"
   8135 fi
   8136 
   8137 found="no"
   8138 
   8139 	if test $found = "no" ; then
   8140 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8141 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8142 		fi
   8143 
   8144 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8145 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8146 		fi
   8147 
   8148 		CFLAGS="$CFLAGS -Werror=return-type"
   8149 
   8150 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8151 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8152 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8153 		if eval test \${$cacheid+y}
   8154 then :
   8155   printf %s "(cached) " >&6
   8156 else case e in #(
   8157   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8158 /* end confdefs.h.  */
   8159 int i;
   8160 int
   8161 main (void)
   8162 {
   8163 
   8164   ;
   8165   return 0;
   8166 }
   8167 _ACEOF
   8168 if ac_fn_c_try_link "$LINENO"
   8169 then :
   8170   eval $cacheid=yes
   8171 else case e in #(
   8172   e) eval $cacheid=no ;;
   8173 esac
   8174 fi
   8175 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8176     conftest$ac_exeext conftest.$ac_ext ;;
   8177 esac
   8178 fi
   8179 
   8180 
   8181 		CFLAGS="$xorg_testset_save_CFLAGS"
   8182 
   8183 		eval supported=\$$cacheid
   8184 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8185 printf "%s\n" "$supported" >&6; }
   8186 		if test "$supported" = "yes" ; then
   8187 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8188 			found="yes"
   8189 		fi
   8190 	fi
   8191 
   8192 	if test $found = "no" ; then
   8193 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8194 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8195 		fi
   8196 
   8197 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8198 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8199 		fi
   8200 
   8201 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8202 
   8203 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8204 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8205 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8206 		if eval test \${$cacheid+y}
   8207 then :
   8208   printf %s "(cached) " >&6
   8209 else case e in #(
   8210   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8211 /* end confdefs.h.  */
   8212 int i;
   8213 int
   8214 main (void)
   8215 {
   8216 
   8217   ;
   8218   return 0;
   8219 }
   8220 _ACEOF
   8221 if ac_fn_c_try_link "$LINENO"
   8222 then :
   8223   eval $cacheid=yes
   8224 else case e in #(
   8225   e) eval $cacheid=no ;;
   8226 esac
   8227 fi
   8228 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8229     conftest$ac_exeext conftest.$ac_ext ;;
   8230 esac
   8231 fi
   8232 
   8233 
   8234 		CFLAGS="$xorg_testset_save_CFLAGS"
   8235 
   8236 		eval supported=\$$cacheid
   8237 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8238 printf "%s\n" "$supported" >&6; }
   8239 		if test "$supported" = "yes" ; then
   8240 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8241 			found="yes"
   8242 		fi
   8243 	fi
   8244 
   8245 
   8246 
   8247 
   8248 
   8249 
   8250 
   8251 
   8252 
   8253 
   8254 
   8255 
   8256 
   8257 
   8258 
   8259 xorg_testset_save_CFLAGS="$CFLAGS"
   8260 
   8261 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8262 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8263 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8264 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8265 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8266 then :
   8267   printf %s "(cached) " >&6
   8268 else case e in #(
   8269   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8270 /* end confdefs.h.  */
   8271 int i;
   8272 _ACEOF
   8273 if ac_fn_c_try_compile "$LINENO"
   8274 then :
   8275   xorg_cv_cc_flag_unknown_warning_option=yes
   8276 else case e in #(
   8277   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8278 esac
   8279 fi
   8280 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8281 esac
   8282 fi
   8283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8284 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8285 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8286 	CFLAGS="$xorg_testset_save_CFLAGS"
   8287 fi
   8288 
   8289 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8290 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8291 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8292 	fi
   8293 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8294 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8295 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8296 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8297 then :
   8298   printf %s "(cached) " >&6
   8299 else case e in #(
   8300   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8301 /* end confdefs.h.  */
   8302 int i;
   8303 _ACEOF
   8304 if ac_fn_c_try_compile "$LINENO"
   8305 then :
   8306   xorg_cv_cc_flag_unused_command_line_argument=yes
   8307 else case e in #(
   8308   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8309 esac
   8310 fi
   8311 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8312 esac
   8313 fi
   8314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8315 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8316 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8317 	CFLAGS="$xorg_testset_save_CFLAGS"
   8318 fi
   8319 
   8320 found="no"
   8321 
   8322 	if test $found = "no" ; then
   8323 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8324 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8325 		fi
   8326 
   8327 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8328 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8329 		fi
   8330 
   8331 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8332 
   8333 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8334 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8335 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8336 		if eval test \${$cacheid+y}
   8337 then :
   8338   printf %s "(cached) " >&6
   8339 else case e in #(
   8340   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8341 /* end confdefs.h.  */
   8342 int i;
   8343 int
   8344 main (void)
   8345 {
   8346 
   8347   ;
   8348   return 0;
   8349 }
   8350 _ACEOF
   8351 if ac_fn_c_try_link "$LINENO"
   8352 then :
   8353   eval $cacheid=yes
   8354 else case e in #(
   8355   e) eval $cacheid=no ;;
   8356 esac
   8357 fi
   8358 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8359     conftest$ac_exeext conftest.$ac_ext ;;
   8360 esac
   8361 fi
   8362 
   8363 
   8364 		CFLAGS="$xorg_testset_save_CFLAGS"
   8365 
   8366 		eval supported=\$$cacheid
   8367 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8368 printf "%s\n" "$supported" >&6; }
   8369 		if test "$supported" = "yes" ; then
   8370 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8371 			found="yes"
   8372 		fi
   8373 	fi
   8374 
   8375 
   8376 
   8377 
   8378 
   8379 
   8380 
   8381 
   8382 
   8383 
   8384 
   8385 
   8386 
   8387 
   8388 
   8389 xorg_testset_save_CFLAGS="$CFLAGS"
   8390 
   8391 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8392 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8393 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8394 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8395 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8396 then :
   8397   printf %s "(cached) " >&6
   8398 else case e in #(
   8399   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8400 /* end confdefs.h.  */
   8401 int i;
   8402 _ACEOF
   8403 if ac_fn_c_try_compile "$LINENO"
   8404 then :
   8405   xorg_cv_cc_flag_unknown_warning_option=yes
   8406 else case e in #(
   8407   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8408 esac
   8409 fi
   8410 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8411 esac
   8412 fi
   8413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8414 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8415 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8416 	CFLAGS="$xorg_testset_save_CFLAGS"
   8417 fi
   8418 
   8419 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8420 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8421 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8422 	fi
   8423 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8424 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8425 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8426 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8427 then :
   8428   printf %s "(cached) " >&6
   8429 else case e in #(
   8430   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8431 /* end confdefs.h.  */
   8432 int i;
   8433 _ACEOF
   8434 if ac_fn_c_try_compile "$LINENO"
   8435 then :
   8436   xorg_cv_cc_flag_unused_command_line_argument=yes
   8437 else case e in #(
   8438   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8439 esac
   8440 fi
   8441 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8442 esac
   8443 fi
   8444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8445 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8446 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8447 	CFLAGS="$xorg_testset_save_CFLAGS"
   8448 fi
   8449 
   8450 found="no"
   8451 
   8452 	if test $found = "no" ; then
   8453 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8454 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8455 		fi
   8456 
   8457 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8458 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8459 		fi
   8460 
   8461 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8462 
   8463 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8464 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8465 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8466 		if eval test \${$cacheid+y}
   8467 then :
   8468   printf %s "(cached) " >&6
   8469 else case e in #(
   8470   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8471 /* end confdefs.h.  */
   8472 int i;
   8473 int
   8474 main (void)
   8475 {
   8476 
   8477   ;
   8478   return 0;
   8479 }
   8480 _ACEOF
   8481 if ac_fn_c_try_link "$LINENO"
   8482 then :
   8483   eval $cacheid=yes
   8484 else case e in #(
   8485   e) eval $cacheid=no ;;
   8486 esac
   8487 fi
   8488 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8489     conftest$ac_exeext conftest.$ac_ext ;;
   8490 esac
   8491 fi
   8492 
   8493 
   8494 		CFLAGS="$xorg_testset_save_CFLAGS"
   8495 
   8496 		eval supported=\$$cacheid
   8497 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8498 printf "%s\n" "$supported" >&6; }
   8499 		if test "$supported" = "yes" ; then
   8500 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8501 			found="yes"
   8502 		fi
   8503 	fi
   8504 
   8505 
   8506 
   8507 
   8508 
   8509 
   8510 
   8511 
   8512 
   8513 
   8514 
   8515 
   8516 
   8517 
   8518 
   8519 xorg_testset_save_CFLAGS="$CFLAGS"
   8520 
   8521 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8522 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8523 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8524 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8525 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8526 then :
   8527   printf %s "(cached) " >&6
   8528 else case e in #(
   8529   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8530 /* end confdefs.h.  */
   8531 int i;
   8532 _ACEOF
   8533 if ac_fn_c_try_compile "$LINENO"
   8534 then :
   8535   xorg_cv_cc_flag_unknown_warning_option=yes
   8536 else case e in #(
   8537   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8538 esac
   8539 fi
   8540 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8541 esac
   8542 fi
   8543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8544 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8545 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8546 	CFLAGS="$xorg_testset_save_CFLAGS"
   8547 fi
   8548 
   8549 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8550 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8551 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8552 	fi
   8553 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8554 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8555 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8556 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8557 then :
   8558   printf %s "(cached) " >&6
   8559 else case e in #(
   8560   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8561 /* end confdefs.h.  */
   8562 int i;
   8563 _ACEOF
   8564 if ac_fn_c_try_compile "$LINENO"
   8565 then :
   8566   xorg_cv_cc_flag_unused_command_line_argument=yes
   8567 else case e in #(
   8568   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8569 esac
   8570 fi
   8571 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8572 esac
   8573 fi
   8574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8575 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8576 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8577 	CFLAGS="$xorg_testset_save_CFLAGS"
   8578 fi
   8579 
   8580 found="no"
   8581 
   8582 	if test $found = "no" ; then
   8583 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8584 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8585 		fi
   8586 
   8587 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8588 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8589 		fi
   8590 
   8591 		CFLAGS="$CFLAGS -Werror=write-strings"
   8592 
   8593 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8594 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8595 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8596 		if eval test \${$cacheid+y}
   8597 then :
   8598   printf %s "(cached) " >&6
   8599 else case e in #(
   8600   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8601 /* end confdefs.h.  */
   8602 int i;
   8603 int
   8604 main (void)
   8605 {
   8606 
   8607   ;
   8608   return 0;
   8609 }
   8610 _ACEOF
   8611 if ac_fn_c_try_link "$LINENO"
   8612 then :
   8613   eval $cacheid=yes
   8614 else case e in #(
   8615   e) eval $cacheid=no ;;
   8616 esac
   8617 fi
   8618 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8619     conftest$ac_exeext conftest.$ac_ext ;;
   8620 esac
   8621 fi
   8622 
   8623 
   8624 		CFLAGS="$xorg_testset_save_CFLAGS"
   8625 
   8626 		eval supported=\$$cacheid
   8627 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8628 printf "%s\n" "$supported" >&6; }
   8629 		if test "$supported" = "yes" ; then
   8630 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8631 			found="yes"
   8632 		fi
   8633 	fi
   8634 
   8635 
   8636 
   8637 
   8638 
   8639 
   8640 
   8641 
   8642 
   8643 
   8644 
   8645 
   8646 
   8647 
   8648 
   8649 xorg_testset_save_CFLAGS="$CFLAGS"
   8650 
   8651 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8652 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8653 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8654 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8655 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8656 then :
   8657   printf %s "(cached) " >&6
   8658 else case e in #(
   8659   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8660 /* end confdefs.h.  */
   8661 int i;
   8662 _ACEOF
   8663 if ac_fn_c_try_compile "$LINENO"
   8664 then :
   8665   xorg_cv_cc_flag_unknown_warning_option=yes
   8666 else case e in #(
   8667   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8668 esac
   8669 fi
   8670 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8671 esac
   8672 fi
   8673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8674 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8675 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8676 	CFLAGS="$xorg_testset_save_CFLAGS"
   8677 fi
   8678 
   8679 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8680 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8681 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8682 	fi
   8683 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8684 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8685 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8686 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8687 then :
   8688   printf %s "(cached) " >&6
   8689 else case e in #(
   8690   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8691 /* end confdefs.h.  */
   8692 int i;
   8693 _ACEOF
   8694 if ac_fn_c_try_compile "$LINENO"
   8695 then :
   8696   xorg_cv_cc_flag_unused_command_line_argument=yes
   8697 else case e in #(
   8698   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8699 esac
   8700 fi
   8701 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8702 esac
   8703 fi
   8704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8705 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8706 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8707 	CFLAGS="$xorg_testset_save_CFLAGS"
   8708 fi
   8709 
   8710 found="no"
   8711 
   8712 	if test $found = "no" ; then
   8713 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8714 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8715 		fi
   8716 
   8717 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8718 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8719 		fi
   8720 
   8721 		CFLAGS="$CFLAGS -Werror=address"
   8722 
   8723 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8724 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8725 		cacheid=xorg_cv_cc_flag__Werror_address
   8726 		if eval test \${$cacheid+y}
   8727 then :
   8728   printf %s "(cached) " >&6
   8729 else case e in #(
   8730   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8731 /* end confdefs.h.  */
   8732 int i;
   8733 int
   8734 main (void)
   8735 {
   8736 
   8737   ;
   8738   return 0;
   8739 }
   8740 _ACEOF
   8741 if ac_fn_c_try_link "$LINENO"
   8742 then :
   8743   eval $cacheid=yes
   8744 else case e in #(
   8745   e) eval $cacheid=no ;;
   8746 esac
   8747 fi
   8748 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8749     conftest$ac_exeext conftest.$ac_ext ;;
   8750 esac
   8751 fi
   8752 
   8753 
   8754 		CFLAGS="$xorg_testset_save_CFLAGS"
   8755 
   8756 		eval supported=\$$cacheid
   8757 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8758 printf "%s\n" "$supported" >&6; }
   8759 		if test "$supported" = "yes" ; then
   8760 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8761 			found="yes"
   8762 		fi
   8763 	fi
   8764 
   8765 
   8766 
   8767 
   8768 
   8769 
   8770 
   8771 
   8772 
   8773 
   8774 
   8775 
   8776 
   8777 
   8778 
   8779 xorg_testset_save_CFLAGS="$CFLAGS"
   8780 
   8781 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8782 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8783 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8784 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8785 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8786 then :
   8787   printf %s "(cached) " >&6
   8788 else case e in #(
   8789   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8790 /* end confdefs.h.  */
   8791 int i;
   8792 _ACEOF
   8793 if ac_fn_c_try_compile "$LINENO"
   8794 then :
   8795   xorg_cv_cc_flag_unknown_warning_option=yes
   8796 else case e in #(
   8797   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8798 esac
   8799 fi
   8800 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8801 esac
   8802 fi
   8803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8804 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8805 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8806 	CFLAGS="$xorg_testset_save_CFLAGS"
   8807 fi
   8808 
   8809 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8810 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8811 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8812 	fi
   8813 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8814 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8815 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8816 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8817 then :
   8818   printf %s "(cached) " >&6
   8819 else case e in #(
   8820   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8821 /* end confdefs.h.  */
   8822 int i;
   8823 _ACEOF
   8824 if ac_fn_c_try_compile "$LINENO"
   8825 then :
   8826   xorg_cv_cc_flag_unused_command_line_argument=yes
   8827 else case e in #(
   8828   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8829 esac
   8830 fi
   8831 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8832 esac
   8833 fi
   8834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8835 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8836 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8837 	CFLAGS="$xorg_testset_save_CFLAGS"
   8838 fi
   8839 
   8840 found="no"
   8841 
   8842 	if test $found = "no" ; then
   8843 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8844 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8845 		fi
   8846 
   8847 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8848 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8849 		fi
   8850 
   8851 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8852 
   8853 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8854 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8855 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8856 		if eval test \${$cacheid+y}
   8857 then :
   8858   printf %s "(cached) " >&6
   8859 else case e in #(
   8860   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8861 /* end confdefs.h.  */
   8862 int i;
   8863 int
   8864 main (void)
   8865 {
   8866 
   8867   ;
   8868   return 0;
   8869 }
   8870 _ACEOF
   8871 if ac_fn_c_try_link "$LINENO"
   8872 then :
   8873   eval $cacheid=yes
   8874 else case e in #(
   8875   e) eval $cacheid=no ;;
   8876 esac
   8877 fi
   8878 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8879     conftest$ac_exeext conftest.$ac_ext ;;
   8880 esac
   8881 fi
   8882 
   8883 
   8884 		CFLAGS="$xorg_testset_save_CFLAGS"
   8885 
   8886 		eval supported=\$$cacheid
   8887 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8888 printf "%s\n" "$supported" >&6; }
   8889 		if test "$supported" = "yes" ; then
   8890 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8891 			found="yes"
   8892 		fi
   8893 	fi
   8894 
   8895 	if test $found = "no" ; then
   8896 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8897 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8898 		fi
   8899 
   8900 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8901 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8902 		fi
   8903 
   8904 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8905 
   8906 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8907 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8908 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8909 		if eval test \${$cacheid+y}
   8910 then :
   8911   printf %s "(cached) " >&6
   8912 else case e in #(
   8913   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8914 /* end confdefs.h.  */
   8915 int i;
   8916 int
   8917 main (void)
   8918 {
   8919 
   8920   ;
   8921   return 0;
   8922 }
   8923 _ACEOF
   8924 if ac_fn_c_try_link "$LINENO"
   8925 then :
   8926   eval $cacheid=yes
   8927 else case e in #(
   8928   e) eval $cacheid=no ;;
   8929 esac
   8930 fi
   8931 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8932     conftest$ac_exeext conftest.$ac_ext ;;
   8933 esac
   8934 fi
   8935 
   8936 
   8937 		CFLAGS="$xorg_testset_save_CFLAGS"
   8938 
   8939 		eval supported=\$$cacheid
   8940 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8941 printf "%s\n" "$supported" >&6; }
   8942 		if test "$supported" = "yes" ; then
   8943 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8944 			found="yes"
   8945 		fi
   8946 	fi
   8947 
   8948 
   8949 
   8950 
   8951 
   8952 
   8953 
   8954 
   8955 
   8956 
   8957 
   8958 
   8959 
   8960 
   8961 
   8962 xorg_testset_save_CFLAGS="$CFLAGS"
   8963 
   8964 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8965 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8966 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8967 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8968 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8969 then :
   8970   printf %s "(cached) " >&6
   8971 else case e in #(
   8972   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8973 /* end confdefs.h.  */
   8974 int i;
   8975 _ACEOF
   8976 if ac_fn_c_try_compile "$LINENO"
   8977 then :
   8978   xorg_cv_cc_flag_unknown_warning_option=yes
   8979 else case e in #(
   8980   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8981 esac
   8982 fi
   8983 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8984 esac
   8985 fi
   8986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8987 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8988 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8989 	CFLAGS="$xorg_testset_save_CFLAGS"
   8990 fi
   8991 
   8992 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8993 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8994 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8995 	fi
   8996 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8997 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8998 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8999 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9000 then :
   9001   printf %s "(cached) " >&6
   9002 else case e in #(
   9003   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9004 /* end confdefs.h.  */
   9005 int i;
   9006 _ACEOF
   9007 if ac_fn_c_try_compile "$LINENO"
   9008 then :
   9009   xorg_cv_cc_flag_unused_command_line_argument=yes
   9010 else case e in #(
   9011   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9012 esac
   9013 fi
   9014 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9015 esac
   9016 fi
   9017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9018 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9019 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9020 	CFLAGS="$xorg_testset_save_CFLAGS"
   9021 fi
   9022 
   9023 found="no"
   9024 
   9025 	if test $found = "no" ; then
   9026 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9027 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9028 		fi
   9029 
   9030 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9031 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9032 		fi
   9033 
   9034 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   9035 
   9036 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   9037 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   9038 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   9039 		if eval test \${$cacheid+y}
   9040 then :
   9041   printf %s "(cached) " >&6
   9042 else case e in #(
   9043   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9044 /* end confdefs.h.  */
   9045 int i;
   9046 int
   9047 main (void)
   9048 {
   9049 
   9050   ;
   9051   return 0;
   9052 }
   9053 _ACEOF
   9054 if ac_fn_c_try_link "$LINENO"
   9055 then :
   9056   eval $cacheid=yes
   9057 else case e in #(
   9058   e) eval $cacheid=no ;;
   9059 esac
   9060 fi
   9061 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9062     conftest$ac_exeext conftest.$ac_ext ;;
   9063 esac
   9064 fi
   9065 
   9066 
   9067 		CFLAGS="$xorg_testset_save_CFLAGS"
   9068 
   9069 		eval supported=\$$cacheid
   9070 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9071 printf "%s\n" "$supported" >&6; }
   9072 		if test "$supported" = "yes" ; then
   9073 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   9074 			found="yes"
   9075 		fi
   9076 	fi
   9077 
   9078  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   9079 else
   9080 { 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
   9081 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;}
   9082 
   9083 
   9084 
   9085 
   9086 
   9087 
   9088 
   9089 
   9090 
   9091 
   9092 
   9093 
   9094 
   9095 xorg_testset_save_CFLAGS="$CFLAGS"
   9096 
   9097 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9098 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9099 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9100 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9101 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9102 then :
   9103   printf %s "(cached) " >&6
   9104 else case e in #(
   9105   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9106 /* end confdefs.h.  */
   9107 int i;
   9108 _ACEOF
   9109 if ac_fn_c_try_compile "$LINENO"
   9110 then :
   9111   xorg_cv_cc_flag_unknown_warning_option=yes
   9112 else case e in #(
   9113   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9114 esac
   9115 fi
   9116 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9117 esac
   9118 fi
   9119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9120 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9121 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9122 	CFLAGS="$xorg_testset_save_CFLAGS"
   9123 fi
   9124 
   9125 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9126 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9127 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9128 	fi
   9129 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9130 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9131 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9132 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9133 then :
   9134   printf %s "(cached) " >&6
   9135 else case e in #(
   9136   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9137 /* end confdefs.h.  */
   9138 int i;
   9139 _ACEOF
   9140 if ac_fn_c_try_compile "$LINENO"
   9141 then :
   9142   xorg_cv_cc_flag_unused_command_line_argument=yes
   9143 else case e in #(
   9144   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9145 esac
   9146 fi
   9147 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9148 esac
   9149 fi
   9150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9151 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9152 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9153 	CFLAGS="$xorg_testset_save_CFLAGS"
   9154 fi
   9155 
   9156 found="no"
   9157 
   9158 	if test $found = "no" ; then
   9159 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9160 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9161 		fi
   9162 
   9163 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9164 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9165 		fi
   9166 
   9167 		CFLAGS="$CFLAGS -Wimplicit"
   9168 
   9169 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9170 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9171 		cacheid=xorg_cv_cc_flag__Wimplicit
   9172 		if eval test \${$cacheid+y}
   9173 then :
   9174   printf %s "(cached) " >&6
   9175 else case e in #(
   9176   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9177 /* end confdefs.h.  */
   9178 int i;
   9179 int
   9180 main (void)
   9181 {
   9182 
   9183   ;
   9184   return 0;
   9185 }
   9186 _ACEOF
   9187 if ac_fn_c_try_link "$LINENO"
   9188 then :
   9189   eval $cacheid=yes
   9190 else case e in #(
   9191   e) eval $cacheid=no ;;
   9192 esac
   9193 fi
   9194 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9195     conftest$ac_exeext conftest.$ac_ext ;;
   9196 esac
   9197 fi
   9198 
   9199 
   9200 		CFLAGS="$xorg_testset_save_CFLAGS"
   9201 
   9202 		eval supported=\$$cacheid
   9203 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9204 printf "%s\n" "$supported" >&6; }
   9205 		if test "$supported" = "yes" ; then
   9206 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9207 			found="yes"
   9208 		fi
   9209 	fi
   9210 
   9211 
   9212 
   9213 
   9214 
   9215 
   9216 
   9217 
   9218 
   9219 
   9220 
   9221 
   9222 
   9223 
   9224 
   9225 xorg_testset_save_CFLAGS="$CFLAGS"
   9226 
   9227 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9228 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9229 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9230 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9231 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9232 then :
   9233   printf %s "(cached) " >&6
   9234 else case e in #(
   9235   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9236 /* end confdefs.h.  */
   9237 int i;
   9238 _ACEOF
   9239 if ac_fn_c_try_compile "$LINENO"
   9240 then :
   9241   xorg_cv_cc_flag_unknown_warning_option=yes
   9242 else case e in #(
   9243   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9244 esac
   9245 fi
   9246 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9247 esac
   9248 fi
   9249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9250 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9251 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9252 	CFLAGS="$xorg_testset_save_CFLAGS"
   9253 fi
   9254 
   9255 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9256 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9257 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9258 	fi
   9259 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9260 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9261 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9262 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9263 then :
   9264   printf %s "(cached) " >&6
   9265 else case e in #(
   9266   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9267 /* end confdefs.h.  */
   9268 int i;
   9269 _ACEOF
   9270 if ac_fn_c_try_compile "$LINENO"
   9271 then :
   9272   xorg_cv_cc_flag_unused_command_line_argument=yes
   9273 else case e in #(
   9274   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9275 esac
   9276 fi
   9277 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9278 esac
   9279 fi
   9280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9281 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9282 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9283 	CFLAGS="$xorg_testset_save_CFLAGS"
   9284 fi
   9285 
   9286 found="no"
   9287 
   9288 	if test $found = "no" ; then
   9289 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9290 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9291 		fi
   9292 
   9293 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9294 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9295 		fi
   9296 
   9297 		CFLAGS="$CFLAGS -Wnonnull"
   9298 
   9299 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9300 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9301 		cacheid=xorg_cv_cc_flag__Wnonnull
   9302 		if eval test \${$cacheid+y}
   9303 then :
   9304   printf %s "(cached) " >&6
   9305 else case e in #(
   9306   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9307 /* end confdefs.h.  */
   9308 int i;
   9309 int
   9310 main (void)
   9311 {
   9312 
   9313   ;
   9314   return 0;
   9315 }
   9316 _ACEOF
   9317 if ac_fn_c_try_link "$LINENO"
   9318 then :
   9319   eval $cacheid=yes
   9320 else case e in #(
   9321   e) eval $cacheid=no ;;
   9322 esac
   9323 fi
   9324 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9325     conftest$ac_exeext conftest.$ac_ext ;;
   9326 esac
   9327 fi
   9328 
   9329 
   9330 		CFLAGS="$xorg_testset_save_CFLAGS"
   9331 
   9332 		eval supported=\$$cacheid
   9333 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9334 printf "%s\n" "$supported" >&6; }
   9335 		if test "$supported" = "yes" ; then
   9336 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9337 			found="yes"
   9338 		fi
   9339 	fi
   9340 
   9341 
   9342 
   9343 
   9344 
   9345 
   9346 
   9347 
   9348 
   9349 
   9350 
   9351 
   9352 
   9353 
   9354 
   9355 xorg_testset_save_CFLAGS="$CFLAGS"
   9356 
   9357 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9358 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9359 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9360 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9361 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9362 then :
   9363   printf %s "(cached) " >&6
   9364 else case e in #(
   9365   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9366 /* end confdefs.h.  */
   9367 int i;
   9368 _ACEOF
   9369 if ac_fn_c_try_compile "$LINENO"
   9370 then :
   9371   xorg_cv_cc_flag_unknown_warning_option=yes
   9372 else case e in #(
   9373   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9374 esac
   9375 fi
   9376 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9377 esac
   9378 fi
   9379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9380 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9381 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9382 	CFLAGS="$xorg_testset_save_CFLAGS"
   9383 fi
   9384 
   9385 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9386 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9387 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9388 	fi
   9389 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9390 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9391 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9392 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9393 then :
   9394   printf %s "(cached) " >&6
   9395 else case e in #(
   9396   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9397 /* end confdefs.h.  */
   9398 int i;
   9399 _ACEOF
   9400 if ac_fn_c_try_compile "$LINENO"
   9401 then :
   9402   xorg_cv_cc_flag_unused_command_line_argument=yes
   9403 else case e in #(
   9404   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9405 esac
   9406 fi
   9407 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9408 esac
   9409 fi
   9410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9411 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9412 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9413 	CFLAGS="$xorg_testset_save_CFLAGS"
   9414 fi
   9415 
   9416 found="no"
   9417 
   9418 	if test $found = "no" ; then
   9419 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9420 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9421 		fi
   9422 
   9423 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9424 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9425 		fi
   9426 
   9427 		CFLAGS="$CFLAGS -Winit-self"
   9428 
   9429 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9430 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9431 		cacheid=xorg_cv_cc_flag__Winit_self
   9432 		if eval test \${$cacheid+y}
   9433 then :
   9434   printf %s "(cached) " >&6
   9435 else case e in #(
   9436   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9437 /* end confdefs.h.  */
   9438 int i;
   9439 int
   9440 main (void)
   9441 {
   9442 
   9443   ;
   9444   return 0;
   9445 }
   9446 _ACEOF
   9447 if ac_fn_c_try_link "$LINENO"
   9448 then :
   9449   eval $cacheid=yes
   9450 else case e in #(
   9451   e) eval $cacheid=no ;;
   9452 esac
   9453 fi
   9454 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9455     conftest$ac_exeext conftest.$ac_ext ;;
   9456 esac
   9457 fi
   9458 
   9459 
   9460 		CFLAGS="$xorg_testset_save_CFLAGS"
   9461 
   9462 		eval supported=\$$cacheid
   9463 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9464 printf "%s\n" "$supported" >&6; }
   9465 		if test "$supported" = "yes" ; then
   9466 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9467 			found="yes"
   9468 		fi
   9469 	fi
   9470 
   9471 
   9472 
   9473 
   9474 
   9475 
   9476 
   9477 
   9478 
   9479 
   9480 
   9481 
   9482 
   9483 
   9484 
   9485 xorg_testset_save_CFLAGS="$CFLAGS"
   9486 
   9487 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9488 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9489 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9490 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9491 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9492 then :
   9493   printf %s "(cached) " >&6
   9494 else case e in #(
   9495   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9496 /* end confdefs.h.  */
   9497 int i;
   9498 _ACEOF
   9499 if ac_fn_c_try_compile "$LINENO"
   9500 then :
   9501   xorg_cv_cc_flag_unknown_warning_option=yes
   9502 else case e in #(
   9503   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9504 esac
   9505 fi
   9506 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9507 esac
   9508 fi
   9509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9510 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9511 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9512 	CFLAGS="$xorg_testset_save_CFLAGS"
   9513 fi
   9514 
   9515 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9516 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9517 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9518 	fi
   9519 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9520 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9521 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9522 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9523 then :
   9524   printf %s "(cached) " >&6
   9525 else case e in #(
   9526   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9527 /* end confdefs.h.  */
   9528 int i;
   9529 _ACEOF
   9530 if ac_fn_c_try_compile "$LINENO"
   9531 then :
   9532   xorg_cv_cc_flag_unused_command_line_argument=yes
   9533 else case e in #(
   9534   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9535 esac
   9536 fi
   9537 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9538 esac
   9539 fi
   9540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9541 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9542 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9543 	CFLAGS="$xorg_testset_save_CFLAGS"
   9544 fi
   9545 
   9546 found="no"
   9547 
   9548 	if test $found = "no" ; then
   9549 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9550 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9551 		fi
   9552 
   9553 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9554 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9555 		fi
   9556 
   9557 		CFLAGS="$CFLAGS -Wmain"
   9558 
   9559 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9560 printf %s "checking if $CC supports -Wmain... " >&6; }
   9561 		cacheid=xorg_cv_cc_flag__Wmain
   9562 		if eval test \${$cacheid+y}
   9563 then :
   9564   printf %s "(cached) " >&6
   9565 else case e in #(
   9566   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9567 /* end confdefs.h.  */
   9568 int i;
   9569 int
   9570 main (void)
   9571 {
   9572 
   9573   ;
   9574   return 0;
   9575 }
   9576 _ACEOF
   9577 if ac_fn_c_try_link "$LINENO"
   9578 then :
   9579   eval $cacheid=yes
   9580 else case e in #(
   9581   e) eval $cacheid=no ;;
   9582 esac
   9583 fi
   9584 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9585     conftest$ac_exeext conftest.$ac_ext ;;
   9586 esac
   9587 fi
   9588 
   9589 
   9590 		CFLAGS="$xorg_testset_save_CFLAGS"
   9591 
   9592 		eval supported=\$$cacheid
   9593 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9594 printf "%s\n" "$supported" >&6; }
   9595 		if test "$supported" = "yes" ; then
   9596 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9597 			found="yes"
   9598 		fi
   9599 	fi
   9600 
   9601 
   9602 
   9603 
   9604 
   9605 
   9606 
   9607 
   9608 
   9609 
   9610 
   9611 
   9612 
   9613 
   9614 
   9615 xorg_testset_save_CFLAGS="$CFLAGS"
   9616 
   9617 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9618 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9619 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9620 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9621 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9622 then :
   9623   printf %s "(cached) " >&6
   9624 else case e in #(
   9625   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9626 /* end confdefs.h.  */
   9627 int i;
   9628 _ACEOF
   9629 if ac_fn_c_try_compile "$LINENO"
   9630 then :
   9631   xorg_cv_cc_flag_unknown_warning_option=yes
   9632 else case e in #(
   9633   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9634 esac
   9635 fi
   9636 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9637 esac
   9638 fi
   9639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9640 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9641 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9642 	CFLAGS="$xorg_testset_save_CFLAGS"
   9643 fi
   9644 
   9645 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9646 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9647 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9648 	fi
   9649 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9650 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9651 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9652 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9653 then :
   9654   printf %s "(cached) " >&6
   9655 else case e in #(
   9656   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9657 /* end confdefs.h.  */
   9658 int i;
   9659 _ACEOF
   9660 if ac_fn_c_try_compile "$LINENO"
   9661 then :
   9662   xorg_cv_cc_flag_unused_command_line_argument=yes
   9663 else case e in #(
   9664   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9665 esac
   9666 fi
   9667 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9668 esac
   9669 fi
   9670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9671 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9672 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9673 	CFLAGS="$xorg_testset_save_CFLAGS"
   9674 fi
   9675 
   9676 found="no"
   9677 
   9678 	if test $found = "no" ; then
   9679 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9680 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9681 		fi
   9682 
   9683 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9684 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9685 		fi
   9686 
   9687 		CFLAGS="$CFLAGS -Wmissing-braces"
   9688 
   9689 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9690 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9691 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9692 		if eval test \${$cacheid+y}
   9693 then :
   9694   printf %s "(cached) " >&6
   9695 else case e in #(
   9696   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9697 /* end confdefs.h.  */
   9698 int i;
   9699 int
   9700 main (void)
   9701 {
   9702 
   9703   ;
   9704   return 0;
   9705 }
   9706 _ACEOF
   9707 if ac_fn_c_try_link "$LINENO"
   9708 then :
   9709   eval $cacheid=yes
   9710 else case e in #(
   9711   e) eval $cacheid=no ;;
   9712 esac
   9713 fi
   9714 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9715     conftest$ac_exeext conftest.$ac_ext ;;
   9716 esac
   9717 fi
   9718 
   9719 
   9720 		CFLAGS="$xorg_testset_save_CFLAGS"
   9721 
   9722 		eval supported=\$$cacheid
   9723 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9724 printf "%s\n" "$supported" >&6; }
   9725 		if test "$supported" = "yes" ; then
   9726 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9727 			found="yes"
   9728 		fi
   9729 	fi
   9730 
   9731 
   9732 
   9733 
   9734 
   9735 
   9736 
   9737 
   9738 
   9739 
   9740 
   9741 
   9742 
   9743 
   9744 
   9745 xorg_testset_save_CFLAGS="$CFLAGS"
   9746 
   9747 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9748 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9749 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9750 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9751 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9752 then :
   9753   printf %s "(cached) " >&6
   9754 else case e in #(
   9755   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9756 /* end confdefs.h.  */
   9757 int i;
   9758 _ACEOF
   9759 if ac_fn_c_try_compile "$LINENO"
   9760 then :
   9761   xorg_cv_cc_flag_unknown_warning_option=yes
   9762 else case e in #(
   9763   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9764 esac
   9765 fi
   9766 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9767 esac
   9768 fi
   9769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9770 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9771 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9772 	CFLAGS="$xorg_testset_save_CFLAGS"
   9773 fi
   9774 
   9775 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9776 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9777 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9778 	fi
   9779 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9780 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9781 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9782 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9783 then :
   9784   printf %s "(cached) " >&6
   9785 else case e in #(
   9786   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9787 /* end confdefs.h.  */
   9788 int i;
   9789 _ACEOF
   9790 if ac_fn_c_try_compile "$LINENO"
   9791 then :
   9792   xorg_cv_cc_flag_unused_command_line_argument=yes
   9793 else case e in #(
   9794   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9795 esac
   9796 fi
   9797 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9798 esac
   9799 fi
   9800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9801 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9802 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9803 	CFLAGS="$xorg_testset_save_CFLAGS"
   9804 fi
   9805 
   9806 found="no"
   9807 
   9808 	if test $found = "no" ; then
   9809 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9810 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9811 		fi
   9812 
   9813 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9814 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9815 		fi
   9816 
   9817 		CFLAGS="$CFLAGS -Wsequence-point"
   9818 
   9819 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9820 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9821 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9822 		if eval test \${$cacheid+y}
   9823 then :
   9824   printf %s "(cached) " >&6
   9825 else case e in #(
   9826   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9827 /* end confdefs.h.  */
   9828 int i;
   9829 int
   9830 main (void)
   9831 {
   9832 
   9833   ;
   9834   return 0;
   9835 }
   9836 _ACEOF
   9837 if ac_fn_c_try_link "$LINENO"
   9838 then :
   9839   eval $cacheid=yes
   9840 else case e in #(
   9841   e) eval $cacheid=no ;;
   9842 esac
   9843 fi
   9844 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9845     conftest$ac_exeext conftest.$ac_ext ;;
   9846 esac
   9847 fi
   9848 
   9849 
   9850 		CFLAGS="$xorg_testset_save_CFLAGS"
   9851 
   9852 		eval supported=\$$cacheid
   9853 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9854 printf "%s\n" "$supported" >&6; }
   9855 		if test "$supported" = "yes" ; then
   9856 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9857 			found="yes"
   9858 		fi
   9859 	fi
   9860 
   9861 
   9862 
   9863 
   9864 
   9865 
   9866 
   9867 
   9868 
   9869 
   9870 
   9871 
   9872 
   9873 
   9874 
   9875 xorg_testset_save_CFLAGS="$CFLAGS"
   9876 
   9877 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9878 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9879 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9880 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9881 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9882 then :
   9883   printf %s "(cached) " >&6
   9884 else case e in #(
   9885   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9886 /* end confdefs.h.  */
   9887 int i;
   9888 _ACEOF
   9889 if ac_fn_c_try_compile "$LINENO"
   9890 then :
   9891   xorg_cv_cc_flag_unknown_warning_option=yes
   9892 else case e in #(
   9893   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9894 esac
   9895 fi
   9896 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9897 esac
   9898 fi
   9899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9900 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9901 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9902 	CFLAGS="$xorg_testset_save_CFLAGS"
   9903 fi
   9904 
   9905 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9906 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9907 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9908 	fi
   9909 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9910 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9911 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9912 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9913 then :
   9914   printf %s "(cached) " >&6
   9915 else case e in #(
   9916   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9917 /* end confdefs.h.  */
   9918 int i;
   9919 _ACEOF
   9920 if ac_fn_c_try_compile "$LINENO"
   9921 then :
   9922   xorg_cv_cc_flag_unused_command_line_argument=yes
   9923 else case e in #(
   9924   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9925 esac
   9926 fi
   9927 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9928 esac
   9929 fi
   9930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9931 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9932 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9933 	CFLAGS="$xorg_testset_save_CFLAGS"
   9934 fi
   9935 
   9936 found="no"
   9937 
   9938 	if test $found = "no" ; then
   9939 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9940 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9941 		fi
   9942 
   9943 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9944 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9945 		fi
   9946 
   9947 		CFLAGS="$CFLAGS -Wreturn-type"
   9948 
   9949 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9950 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   9951 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9952 		if eval test \${$cacheid+y}
   9953 then :
   9954   printf %s "(cached) " >&6
   9955 else case e in #(
   9956   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9957 /* end confdefs.h.  */
   9958 int i;
   9959 int
   9960 main (void)
   9961 {
   9962 
   9963   ;
   9964   return 0;
   9965 }
   9966 _ACEOF
   9967 if ac_fn_c_try_link "$LINENO"
   9968 then :
   9969   eval $cacheid=yes
   9970 else case e in #(
   9971   e) eval $cacheid=no ;;
   9972 esac
   9973 fi
   9974 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9975     conftest$ac_exeext conftest.$ac_ext ;;
   9976 esac
   9977 fi
   9978 
   9979 
   9980 		CFLAGS="$xorg_testset_save_CFLAGS"
   9981 
   9982 		eval supported=\$$cacheid
   9983 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9984 printf "%s\n" "$supported" >&6; }
   9985 		if test "$supported" = "yes" ; then
   9986 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9987 			found="yes"
   9988 		fi
   9989 	fi
   9990 
   9991 
   9992 
   9993 
   9994 
   9995 
   9996 
   9997 
   9998 
   9999 
   10000 
   10001 
   10002 
   10003 
   10004 
   10005 xorg_testset_save_CFLAGS="$CFLAGS"
   10006 
   10007 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10008 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10009 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10010 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10011 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10012 then :
   10013   printf %s "(cached) " >&6
   10014 else case e in #(
   10015   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10016 /* end confdefs.h.  */
   10017 int i;
   10018 _ACEOF
   10019 if ac_fn_c_try_compile "$LINENO"
   10020 then :
   10021   xorg_cv_cc_flag_unknown_warning_option=yes
   10022 else case e in #(
   10023   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10024 esac
   10025 fi
   10026 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10027 esac
   10028 fi
   10029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10030 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10031 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10032 	CFLAGS="$xorg_testset_save_CFLAGS"
   10033 fi
   10034 
   10035 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10036 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10037 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10038 	fi
   10039 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10040 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10041 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10042 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10043 then :
   10044   printf %s "(cached) " >&6
   10045 else case e in #(
   10046   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10047 /* end confdefs.h.  */
   10048 int i;
   10049 _ACEOF
   10050 if ac_fn_c_try_compile "$LINENO"
   10051 then :
   10052   xorg_cv_cc_flag_unused_command_line_argument=yes
   10053 else case e in #(
   10054   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10055 esac
   10056 fi
   10057 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10058 esac
   10059 fi
   10060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10061 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10062 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10063 	CFLAGS="$xorg_testset_save_CFLAGS"
   10064 fi
   10065 
   10066 found="no"
   10067 
   10068 	if test $found = "no" ; then
   10069 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10070 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10071 		fi
   10072 
   10073 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10074 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10075 		fi
   10076 
   10077 		CFLAGS="$CFLAGS -Wtrigraphs"
   10078 
   10079 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   10080 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   10081 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   10082 		if eval test \${$cacheid+y}
   10083 then :
   10084   printf %s "(cached) " >&6
   10085 else case e in #(
   10086   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10087 /* end confdefs.h.  */
   10088 int i;
   10089 int
   10090 main (void)
   10091 {
   10092 
   10093   ;
   10094   return 0;
   10095 }
   10096 _ACEOF
   10097 if ac_fn_c_try_link "$LINENO"
   10098 then :
   10099   eval $cacheid=yes
   10100 else case e in #(
   10101   e) eval $cacheid=no ;;
   10102 esac
   10103 fi
   10104 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10105     conftest$ac_exeext conftest.$ac_ext ;;
   10106 esac
   10107 fi
   10108 
   10109 
   10110 		CFLAGS="$xorg_testset_save_CFLAGS"
   10111 
   10112 		eval supported=\$$cacheid
   10113 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10114 printf "%s\n" "$supported" >&6; }
   10115 		if test "$supported" = "yes" ; then
   10116 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   10117 			found="yes"
   10118 		fi
   10119 	fi
   10120 
   10121 
   10122 
   10123 
   10124 
   10125 
   10126 
   10127 
   10128 
   10129 
   10130 
   10131 
   10132 
   10133 
   10134 
   10135 xorg_testset_save_CFLAGS="$CFLAGS"
   10136 
   10137 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10138 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10139 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10140 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10141 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10142 then :
   10143   printf %s "(cached) " >&6
   10144 else case e in #(
   10145   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10146 /* end confdefs.h.  */
   10147 int i;
   10148 _ACEOF
   10149 if ac_fn_c_try_compile "$LINENO"
   10150 then :
   10151   xorg_cv_cc_flag_unknown_warning_option=yes
   10152 else case e in #(
   10153   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10154 esac
   10155 fi
   10156 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10157 esac
   10158 fi
   10159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10160 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10161 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10162 	CFLAGS="$xorg_testset_save_CFLAGS"
   10163 fi
   10164 
   10165 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10166 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10167 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10168 	fi
   10169 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10170 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10171 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10172 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10173 then :
   10174   printf %s "(cached) " >&6
   10175 else case e in #(
   10176   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10177 /* end confdefs.h.  */
   10178 int i;
   10179 _ACEOF
   10180 if ac_fn_c_try_compile "$LINENO"
   10181 then :
   10182   xorg_cv_cc_flag_unused_command_line_argument=yes
   10183 else case e in #(
   10184   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10185 esac
   10186 fi
   10187 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10188 esac
   10189 fi
   10190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10191 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10192 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10193 	CFLAGS="$xorg_testset_save_CFLAGS"
   10194 fi
   10195 
   10196 found="no"
   10197 
   10198 	if test $found = "no" ; then
   10199 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10200 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10201 		fi
   10202 
   10203 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10204 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10205 		fi
   10206 
   10207 		CFLAGS="$CFLAGS -Warray-bounds"
   10208 
   10209 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10210 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10211 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10212 		if eval test \${$cacheid+y}
   10213 then :
   10214   printf %s "(cached) " >&6
   10215 else case e in #(
   10216   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10217 /* end confdefs.h.  */
   10218 int i;
   10219 int
   10220 main (void)
   10221 {
   10222 
   10223   ;
   10224   return 0;
   10225 }
   10226 _ACEOF
   10227 if ac_fn_c_try_link "$LINENO"
   10228 then :
   10229   eval $cacheid=yes
   10230 else case e in #(
   10231   e) eval $cacheid=no ;;
   10232 esac
   10233 fi
   10234 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10235     conftest$ac_exeext conftest.$ac_ext ;;
   10236 esac
   10237 fi
   10238 
   10239 
   10240 		CFLAGS="$xorg_testset_save_CFLAGS"
   10241 
   10242 		eval supported=\$$cacheid
   10243 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10244 printf "%s\n" "$supported" >&6; }
   10245 		if test "$supported" = "yes" ; then
   10246 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10247 			found="yes"
   10248 		fi
   10249 	fi
   10250 
   10251 
   10252 
   10253 
   10254 
   10255 
   10256 
   10257 
   10258 
   10259 
   10260 
   10261 
   10262 
   10263 
   10264 
   10265 xorg_testset_save_CFLAGS="$CFLAGS"
   10266 
   10267 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10268 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10269 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10270 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10271 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10272 then :
   10273   printf %s "(cached) " >&6
   10274 else case e in #(
   10275   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10276 /* end confdefs.h.  */
   10277 int i;
   10278 _ACEOF
   10279 if ac_fn_c_try_compile "$LINENO"
   10280 then :
   10281   xorg_cv_cc_flag_unknown_warning_option=yes
   10282 else case e in #(
   10283   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10284 esac
   10285 fi
   10286 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10287 esac
   10288 fi
   10289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10290 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10291 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10292 	CFLAGS="$xorg_testset_save_CFLAGS"
   10293 fi
   10294 
   10295 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10296 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10297 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10298 	fi
   10299 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10300 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10301 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10302 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10303 then :
   10304   printf %s "(cached) " >&6
   10305 else case e in #(
   10306   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10307 /* end confdefs.h.  */
   10308 int i;
   10309 _ACEOF
   10310 if ac_fn_c_try_compile "$LINENO"
   10311 then :
   10312   xorg_cv_cc_flag_unused_command_line_argument=yes
   10313 else case e in #(
   10314   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10315 esac
   10316 fi
   10317 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10318 esac
   10319 fi
   10320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10321 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10322 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10323 	CFLAGS="$xorg_testset_save_CFLAGS"
   10324 fi
   10325 
   10326 found="no"
   10327 
   10328 	if test $found = "no" ; then
   10329 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10330 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10331 		fi
   10332 
   10333 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10334 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10335 		fi
   10336 
   10337 		CFLAGS="$CFLAGS -Wwrite-strings"
   10338 
   10339 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10340 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10341 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10342 		if eval test \${$cacheid+y}
   10343 then :
   10344   printf %s "(cached) " >&6
   10345 else case e in #(
   10346   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10347 /* end confdefs.h.  */
   10348 int i;
   10349 int
   10350 main (void)
   10351 {
   10352 
   10353   ;
   10354   return 0;
   10355 }
   10356 _ACEOF
   10357 if ac_fn_c_try_link "$LINENO"
   10358 then :
   10359   eval $cacheid=yes
   10360 else case e in #(
   10361   e) eval $cacheid=no ;;
   10362 esac
   10363 fi
   10364 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10365     conftest$ac_exeext conftest.$ac_ext ;;
   10366 esac
   10367 fi
   10368 
   10369 
   10370 		CFLAGS="$xorg_testset_save_CFLAGS"
   10371 
   10372 		eval supported=\$$cacheid
   10373 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10374 printf "%s\n" "$supported" >&6; }
   10375 		if test "$supported" = "yes" ; then
   10376 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10377 			found="yes"
   10378 		fi
   10379 	fi
   10380 
   10381 
   10382 
   10383 
   10384 
   10385 
   10386 
   10387 
   10388 
   10389 
   10390 
   10391 
   10392 
   10393 
   10394 
   10395 xorg_testset_save_CFLAGS="$CFLAGS"
   10396 
   10397 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10398 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10399 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10400 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10401 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10402 then :
   10403   printf %s "(cached) " >&6
   10404 else case e in #(
   10405   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10406 /* end confdefs.h.  */
   10407 int i;
   10408 _ACEOF
   10409 if ac_fn_c_try_compile "$LINENO"
   10410 then :
   10411   xorg_cv_cc_flag_unknown_warning_option=yes
   10412 else case e in #(
   10413   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10414 esac
   10415 fi
   10416 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10417 esac
   10418 fi
   10419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10420 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10421 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10422 	CFLAGS="$xorg_testset_save_CFLAGS"
   10423 fi
   10424 
   10425 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10426 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10427 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10428 	fi
   10429 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10430 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10431 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10432 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10433 then :
   10434   printf %s "(cached) " >&6
   10435 else case e in #(
   10436   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10437 /* end confdefs.h.  */
   10438 int i;
   10439 _ACEOF
   10440 if ac_fn_c_try_compile "$LINENO"
   10441 then :
   10442   xorg_cv_cc_flag_unused_command_line_argument=yes
   10443 else case e in #(
   10444   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10445 esac
   10446 fi
   10447 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10448 esac
   10449 fi
   10450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10451 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10452 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10453 	CFLAGS="$xorg_testset_save_CFLAGS"
   10454 fi
   10455 
   10456 found="no"
   10457 
   10458 	if test $found = "no" ; then
   10459 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10460 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10461 		fi
   10462 
   10463 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10464 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10465 		fi
   10466 
   10467 		CFLAGS="$CFLAGS -Waddress"
   10468 
   10469 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10470 printf %s "checking if $CC supports -Waddress... " >&6; }
   10471 		cacheid=xorg_cv_cc_flag__Waddress
   10472 		if eval test \${$cacheid+y}
   10473 then :
   10474   printf %s "(cached) " >&6
   10475 else case e in #(
   10476   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10477 /* end confdefs.h.  */
   10478 int i;
   10479 int
   10480 main (void)
   10481 {
   10482 
   10483   ;
   10484   return 0;
   10485 }
   10486 _ACEOF
   10487 if ac_fn_c_try_link "$LINENO"
   10488 then :
   10489   eval $cacheid=yes
   10490 else case e in #(
   10491   e) eval $cacheid=no ;;
   10492 esac
   10493 fi
   10494 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10495     conftest$ac_exeext conftest.$ac_ext ;;
   10496 esac
   10497 fi
   10498 
   10499 
   10500 		CFLAGS="$xorg_testset_save_CFLAGS"
   10501 
   10502 		eval supported=\$$cacheid
   10503 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10504 printf "%s\n" "$supported" >&6; }
   10505 		if test "$supported" = "yes" ; then
   10506 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10507 			found="yes"
   10508 		fi
   10509 	fi
   10510 
   10511 
   10512 
   10513 
   10514 
   10515 
   10516 
   10517 
   10518 
   10519 
   10520 
   10521 
   10522 
   10523 
   10524 
   10525 xorg_testset_save_CFLAGS="$CFLAGS"
   10526 
   10527 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10528 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10529 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10530 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10531 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10532 then :
   10533   printf %s "(cached) " >&6
   10534 else case e in #(
   10535   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10536 /* end confdefs.h.  */
   10537 int i;
   10538 _ACEOF
   10539 if ac_fn_c_try_compile "$LINENO"
   10540 then :
   10541   xorg_cv_cc_flag_unknown_warning_option=yes
   10542 else case e in #(
   10543   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10544 esac
   10545 fi
   10546 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10547 esac
   10548 fi
   10549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10550 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10551 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10552 	CFLAGS="$xorg_testset_save_CFLAGS"
   10553 fi
   10554 
   10555 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10556 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10557 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10558 	fi
   10559 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10560 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10561 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10562 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10563 then :
   10564   printf %s "(cached) " >&6
   10565 else case e in #(
   10566   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10567 /* end confdefs.h.  */
   10568 int i;
   10569 _ACEOF
   10570 if ac_fn_c_try_compile "$LINENO"
   10571 then :
   10572   xorg_cv_cc_flag_unused_command_line_argument=yes
   10573 else case e in #(
   10574   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10575 esac
   10576 fi
   10577 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10578 esac
   10579 fi
   10580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10581 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10582 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10583 	CFLAGS="$xorg_testset_save_CFLAGS"
   10584 fi
   10585 
   10586 found="no"
   10587 
   10588 	if test $found = "no" ; then
   10589 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10590 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10591 		fi
   10592 
   10593 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10594 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10595 		fi
   10596 
   10597 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10598 
   10599 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10600 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10601 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10602 		if eval test \${$cacheid+y}
   10603 then :
   10604   printf %s "(cached) " >&6
   10605 else case e in #(
   10606   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10607 /* end confdefs.h.  */
   10608 int i;
   10609 int
   10610 main (void)
   10611 {
   10612 
   10613   ;
   10614   return 0;
   10615 }
   10616 _ACEOF
   10617 if ac_fn_c_try_link "$LINENO"
   10618 then :
   10619   eval $cacheid=yes
   10620 else case e in #(
   10621   e) eval $cacheid=no ;;
   10622 esac
   10623 fi
   10624 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10625     conftest$ac_exeext conftest.$ac_ext ;;
   10626 esac
   10627 fi
   10628 
   10629 
   10630 		CFLAGS="$xorg_testset_save_CFLAGS"
   10631 
   10632 		eval supported=\$$cacheid
   10633 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10634 printf "%s\n" "$supported" >&6; }
   10635 		if test "$supported" = "yes" ; then
   10636 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10637 			found="yes"
   10638 		fi
   10639 	fi
   10640 
   10641 
   10642 
   10643 
   10644 
   10645 
   10646 
   10647 
   10648 
   10649 
   10650 
   10651 
   10652 
   10653 
   10654 
   10655 xorg_testset_save_CFLAGS="$CFLAGS"
   10656 
   10657 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10658 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10659 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10660 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10661 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10662 then :
   10663   printf %s "(cached) " >&6
   10664 else case e in #(
   10665   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10666 /* end confdefs.h.  */
   10667 int i;
   10668 _ACEOF
   10669 if ac_fn_c_try_compile "$LINENO"
   10670 then :
   10671   xorg_cv_cc_flag_unknown_warning_option=yes
   10672 else case e in #(
   10673   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10674 esac
   10675 fi
   10676 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10677 esac
   10678 fi
   10679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10680 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10681 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10682 	CFLAGS="$xorg_testset_save_CFLAGS"
   10683 fi
   10684 
   10685 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10686 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10687 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10688 	fi
   10689 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10690 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10691 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10692 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10693 then :
   10694   printf %s "(cached) " >&6
   10695 else case e in #(
   10696   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10697 /* end confdefs.h.  */
   10698 int i;
   10699 _ACEOF
   10700 if ac_fn_c_try_compile "$LINENO"
   10701 then :
   10702   xorg_cv_cc_flag_unused_command_line_argument=yes
   10703 else case e in #(
   10704   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10705 esac
   10706 fi
   10707 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10708 esac
   10709 fi
   10710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10711 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10712 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10713 	CFLAGS="$xorg_testset_save_CFLAGS"
   10714 fi
   10715 
   10716 found="no"
   10717 
   10718 	if test $found = "no" ; then
   10719 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10720 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10721 		fi
   10722 
   10723 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10724 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10725 		fi
   10726 
   10727 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10728 
   10729 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10730 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10731 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10732 		if eval test \${$cacheid+y}
   10733 then :
   10734   printf %s "(cached) " >&6
   10735 else case e in #(
   10736   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10737 /* end confdefs.h.  */
   10738 int i;
   10739 int
   10740 main (void)
   10741 {
   10742 
   10743   ;
   10744   return 0;
   10745 }
   10746 _ACEOF
   10747 if ac_fn_c_try_link "$LINENO"
   10748 then :
   10749   eval $cacheid=yes
   10750 else case e in #(
   10751   e) eval $cacheid=no ;;
   10752 esac
   10753 fi
   10754 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10755     conftest$ac_exeext conftest.$ac_ext ;;
   10756 esac
   10757 fi
   10758 
   10759 
   10760 		CFLAGS="$xorg_testset_save_CFLAGS"
   10761 
   10762 		eval supported=\$$cacheid
   10763 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10764 printf "%s\n" "$supported" >&6; }
   10765 		if test "$supported" = "yes" ; then
   10766 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10767 			found="yes"
   10768 		fi
   10769 	fi
   10770 
   10771 
   10772 fi
   10773 
   10774 
   10775 
   10776 
   10777 
   10778 
   10779 
   10780 		CWARNFLAGS="$BASE_CFLAGS"
   10781 		if  test "x$GCC" = xyes ; then
   10782 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10783 		fi
   10784 
   10785 
   10786 
   10787 
   10788 
   10789 
   10790 
   10791 
   10792 # Check whether --enable-strict-compilation was given.
   10793 if test ${enable_strict_compilation+y}
   10794 then :
   10795   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10796 else case e in #(
   10797   e) STRICT_COMPILE=no ;;
   10798 esac
   10799 fi
   10800 
   10801 
   10802 
   10803 
   10804 
   10805 
   10806 STRICT_CFLAGS=""
   10807 
   10808 
   10809 
   10810 
   10811 
   10812 
   10813 
   10814 
   10815 
   10816 
   10817 
   10818 
   10819 
   10820 xorg_testset_save_CFLAGS="$CFLAGS"
   10821 
   10822 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10823 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10824 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10825 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10826 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10827 then :
   10828   printf %s "(cached) " >&6
   10829 else case e in #(
   10830   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10831 /* end confdefs.h.  */
   10832 int i;
   10833 _ACEOF
   10834 if ac_fn_c_try_compile "$LINENO"
   10835 then :
   10836   xorg_cv_cc_flag_unknown_warning_option=yes
   10837 else case e in #(
   10838   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10839 esac
   10840 fi
   10841 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10842 esac
   10843 fi
   10844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10845 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10846 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10847 	CFLAGS="$xorg_testset_save_CFLAGS"
   10848 fi
   10849 
   10850 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10851 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10852 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10853 	fi
   10854 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10855 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10856 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10857 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10858 then :
   10859   printf %s "(cached) " >&6
   10860 else case e in #(
   10861   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10862 /* end confdefs.h.  */
   10863 int i;
   10864 _ACEOF
   10865 if ac_fn_c_try_compile "$LINENO"
   10866 then :
   10867   xorg_cv_cc_flag_unused_command_line_argument=yes
   10868 else case e in #(
   10869   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10870 esac
   10871 fi
   10872 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10873 esac
   10874 fi
   10875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10876 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10877 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10878 	CFLAGS="$xorg_testset_save_CFLAGS"
   10879 fi
   10880 
   10881 found="no"
   10882 
   10883 	if test $found = "no" ; then
   10884 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10885 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10886 		fi
   10887 
   10888 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10889 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10890 		fi
   10891 
   10892 		CFLAGS="$CFLAGS -pedantic"
   10893 
   10894 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10895 printf %s "checking if $CC supports -pedantic... " >&6; }
   10896 		cacheid=xorg_cv_cc_flag__pedantic
   10897 		if eval test \${$cacheid+y}
   10898 then :
   10899   printf %s "(cached) " >&6
   10900 else case e in #(
   10901   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10902 /* end confdefs.h.  */
   10903 int i;
   10904 int
   10905 main (void)
   10906 {
   10907 
   10908   ;
   10909   return 0;
   10910 }
   10911 _ACEOF
   10912 if ac_fn_c_try_link "$LINENO"
   10913 then :
   10914   eval $cacheid=yes
   10915 else case e in #(
   10916   e) eval $cacheid=no ;;
   10917 esac
   10918 fi
   10919 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10920     conftest$ac_exeext conftest.$ac_ext ;;
   10921 esac
   10922 fi
   10923 
   10924 
   10925 		CFLAGS="$xorg_testset_save_CFLAGS"
   10926 
   10927 		eval supported=\$$cacheid
   10928 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10929 printf "%s\n" "$supported" >&6; }
   10930 		if test "$supported" = "yes" ; then
   10931 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10932 			found="yes"
   10933 		fi
   10934 	fi
   10935 
   10936 
   10937 
   10938 
   10939 
   10940 
   10941 
   10942 
   10943 
   10944 
   10945 
   10946 
   10947 
   10948 
   10949 
   10950 xorg_testset_save_CFLAGS="$CFLAGS"
   10951 
   10952 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10953 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10954 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10955 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10956 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10957 then :
   10958   printf %s "(cached) " >&6
   10959 else case e in #(
   10960   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10961 /* end confdefs.h.  */
   10962 int i;
   10963 _ACEOF
   10964 if ac_fn_c_try_compile "$LINENO"
   10965 then :
   10966   xorg_cv_cc_flag_unknown_warning_option=yes
   10967 else case e in #(
   10968   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10969 esac
   10970 fi
   10971 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10972 esac
   10973 fi
   10974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10975 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10976 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10977 	CFLAGS="$xorg_testset_save_CFLAGS"
   10978 fi
   10979 
   10980 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10981 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10982 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10983 	fi
   10984 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10985 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10986 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10987 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10988 then :
   10989   printf %s "(cached) " >&6
   10990 else case e in #(
   10991   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10992 /* end confdefs.h.  */
   10993 int i;
   10994 _ACEOF
   10995 if ac_fn_c_try_compile "$LINENO"
   10996 then :
   10997   xorg_cv_cc_flag_unused_command_line_argument=yes
   10998 else case e in #(
   10999   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11000 esac
   11001 fi
   11002 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11003 esac
   11004 fi
   11005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11006 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11007 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11008 	CFLAGS="$xorg_testset_save_CFLAGS"
   11009 fi
   11010 
   11011 found="no"
   11012 
   11013 	if test $found = "no" ; then
   11014 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11015 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11016 		fi
   11017 
   11018 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11019 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11020 		fi
   11021 
   11022 		CFLAGS="$CFLAGS -Werror"
   11023 
   11024 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   11025 printf %s "checking if $CC supports -Werror... " >&6; }
   11026 		cacheid=xorg_cv_cc_flag__Werror
   11027 		if eval test \${$cacheid+y}
   11028 then :
   11029   printf %s "(cached) " >&6
   11030 else case e in #(
   11031   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11032 /* end confdefs.h.  */
   11033 int i;
   11034 int
   11035 main (void)
   11036 {
   11037 
   11038   ;
   11039   return 0;
   11040 }
   11041 _ACEOF
   11042 if ac_fn_c_try_link "$LINENO"
   11043 then :
   11044   eval $cacheid=yes
   11045 else case e in #(
   11046   e) eval $cacheid=no ;;
   11047 esac
   11048 fi
   11049 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11050     conftest$ac_exeext conftest.$ac_ext ;;
   11051 esac
   11052 fi
   11053 
   11054 
   11055 		CFLAGS="$xorg_testset_save_CFLAGS"
   11056 
   11057 		eval supported=\$$cacheid
   11058 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11059 printf "%s\n" "$supported" >&6; }
   11060 		if test "$supported" = "yes" ; then
   11061 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   11062 			found="yes"
   11063 		fi
   11064 	fi
   11065 
   11066 	if test $found = "no" ; then
   11067 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11068 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11069 		fi
   11070 
   11071 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11072 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11073 		fi
   11074 
   11075 		CFLAGS="$CFLAGS -errwarn"
   11076 
   11077 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   11078 printf %s "checking if $CC supports -errwarn... " >&6; }
   11079 		cacheid=xorg_cv_cc_flag__errwarn
   11080 		if eval test \${$cacheid+y}
   11081 then :
   11082   printf %s "(cached) " >&6
   11083 else case e in #(
   11084   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11085 /* end confdefs.h.  */
   11086 int i;
   11087 int
   11088 main (void)
   11089 {
   11090 
   11091   ;
   11092   return 0;
   11093 }
   11094 _ACEOF
   11095 if ac_fn_c_try_link "$LINENO"
   11096 then :
   11097   eval $cacheid=yes
   11098 else case e in #(
   11099   e) eval $cacheid=no ;;
   11100 esac
   11101 fi
   11102 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11103     conftest$ac_exeext conftest.$ac_ext ;;
   11104 esac
   11105 fi
   11106 
   11107 
   11108 		CFLAGS="$xorg_testset_save_CFLAGS"
   11109 
   11110 		eval supported=\$$cacheid
   11111 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11112 printf "%s\n" "$supported" >&6; }
   11113 		if test "$supported" = "yes" ; then
   11114 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   11115 			found="yes"
   11116 		fi
   11117 	fi
   11118 
   11119 
   11120 
   11121 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   11122 # activate it with -Werror, so we add it here explicitly.
   11123 
   11124 
   11125 
   11126 
   11127 
   11128 
   11129 
   11130 
   11131 
   11132 
   11133 
   11134 
   11135 
   11136 xorg_testset_save_CFLAGS="$CFLAGS"
   11137 
   11138 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11139 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11140 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11141 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11142 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11143 then :
   11144   printf %s "(cached) " >&6
   11145 else case e in #(
   11146   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11147 /* end confdefs.h.  */
   11148 int i;
   11149 _ACEOF
   11150 if ac_fn_c_try_compile "$LINENO"
   11151 then :
   11152   xorg_cv_cc_flag_unknown_warning_option=yes
   11153 else case e in #(
   11154   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11155 esac
   11156 fi
   11157 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11158 esac
   11159 fi
   11160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11161 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11162 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11163 	CFLAGS="$xorg_testset_save_CFLAGS"
   11164 fi
   11165 
   11166 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11167 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11168 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11169 	fi
   11170 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11171 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11172 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11173 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11174 then :
   11175   printf %s "(cached) " >&6
   11176 else case e in #(
   11177   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11178 /* end confdefs.h.  */
   11179 int i;
   11180 _ACEOF
   11181 if ac_fn_c_try_compile "$LINENO"
   11182 then :
   11183   xorg_cv_cc_flag_unused_command_line_argument=yes
   11184 else case e in #(
   11185   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11186 esac
   11187 fi
   11188 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11189 esac
   11190 fi
   11191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11192 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11193 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11194 	CFLAGS="$xorg_testset_save_CFLAGS"
   11195 fi
   11196 
   11197 found="no"
   11198 
   11199 	if test $found = "no" ; then
   11200 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11201 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11202 		fi
   11203 
   11204 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11205 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11206 		fi
   11207 
   11208 		CFLAGS="$CFLAGS -Werror=attributes"
   11209 
   11210 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11211 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11212 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11213 		if eval test \${$cacheid+y}
   11214 then :
   11215   printf %s "(cached) " >&6
   11216 else case e in #(
   11217   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11218 /* end confdefs.h.  */
   11219 int i;
   11220 int
   11221 main (void)
   11222 {
   11223 
   11224   ;
   11225   return 0;
   11226 }
   11227 _ACEOF
   11228 if ac_fn_c_try_link "$LINENO"
   11229 then :
   11230   eval $cacheid=yes
   11231 else case e in #(
   11232   e) eval $cacheid=no ;;
   11233 esac
   11234 fi
   11235 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11236     conftest$ac_exeext conftest.$ac_ext ;;
   11237 esac
   11238 fi
   11239 
   11240 
   11241 		CFLAGS="$xorg_testset_save_CFLAGS"
   11242 
   11243 		eval supported=\$$cacheid
   11244 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11245 printf "%s\n" "$supported" >&6; }
   11246 		if test "$supported" = "yes" ; then
   11247 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11248 			found="yes"
   11249 		fi
   11250 	fi
   11251 
   11252 
   11253 
   11254 if test "x$STRICT_COMPILE" = "xyes"; then
   11255     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11256     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11257 fi
   11258 
   11259 
   11260 
   11261 
   11262 
   11263 
   11264 
   11265 
   11266 cat >>confdefs.h <<_ACEOF
   11267 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11268 _ACEOF
   11269 
   11270 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11271 	if test "x$PVM" = "x"; then
   11272 		PVM="0"
   11273 	fi
   11274 
   11275 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11276 
   11277 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11278 	if test "x$PVP" = "x"; then
   11279 		PVP="0"
   11280 	fi
   11281 
   11282 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11283 
   11284 
   11285 
   11286 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11287 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11288 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11289 touch \$(top_srcdir)/ChangeLog; \
   11290 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11291 
   11292 
   11293 
   11294 
   11295 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11296 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11297 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11298 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11299 touch \$(top_srcdir)/INSTALL; \
   11300 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11301 
   11302 
   11303 
   11304 
   11305 
   11306 
   11307 case $host_os in
   11308     solaris*)
   11309         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11310         # check for a man page file found in later versions that use
   11311         # traditional section numbers instead
   11312         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11313 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11314 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11315 then :
   11316   printf %s "(cached) " >&6
   11317 else case e in #(
   11318   e) test "$cross_compiling" = yes &&
   11319   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11320 if test -r "/usr/share/man/man7/attributes.7"; then
   11321   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11322 else
   11323   ac_cv_file__usr_share_man_man7_attributes_7=no
   11324 fi ;;
   11325 esac
   11326 fi
   11327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11328 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11329 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11330 then :
   11331   SYSV_MAN_SECTIONS=false
   11332 else case e in #(
   11333   e) SYSV_MAN_SECTIONS=true ;;
   11334 esac
   11335 fi
   11336 
   11337         ;;
   11338     *) SYSV_MAN_SECTIONS=false ;;
   11339 esac
   11340 
   11341 if test x$APP_MAN_SUFFIX = x    ; then
   11342     APP_MAN_SUFFIX=1
   11343 fi
   11344 if test x$APP_MAN_DIR = x    ; then
   11345     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11346 fi
   11347 
   11348 if test x$LIB_MAN_SUFFIX = x    ; then
   11349     LIB_MAN_SUFFIX=3
   11350 fi
   11351 if test x$LIB_MAN_DIR = x    ; then
   11352     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11353 fi
   11354 
   11355 if test x$FILE_MAN_SUFFIX = x    ; then
   11356     case $SYSV_MAN_SECTIONS in
   11357 	true)				FILE_MAN_SUFFIX=4  ;;
   11358 	*)				FILE_MAN_SUFFIX=5  ;;
   11359     esac
   11360 fi
   11361 if test x$FILE_MAN_DIR = x    ; then
   11362     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11363 fi
   11364 
   11365 if test x$MISC_MAN_SUFFIX = x    ; then
   11366     case $SYSV_MAN_SECTIONS in
   11367 	true)				MISC_MAN_SUFFIX=5  ;;
   11368 	*)				MISC_MAN_SUFFIX=7  ;;
   11369     esac
   11370 fi
   11371 if test x$MISC_MAN_DIR = x    ; then
   11372     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11373 fi
   11374 
   11375 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11376     case $SYSV_MAN_SECTIONS in
   11377 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11378 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11379     esac
   11380 fi
   11381 if test x$DRIVER_MAN_DIR = x    ; then
   11382     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11383 fi
   11384 
   11385 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11386     case $SYSV_MAN_SECTIONS in
   11387 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11388 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11389     esac
   11390 fi
   11391 if test x$ADMIN_MAN_DIR = x    ; then
   11392     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11393 fi
   11394 
   11395 
   11396 
   11397 
   11398 
   11399 
   11400 
   11401 
   11402 
   11403 
   11404 
   11405 
   11406 
   11407 
   11408 
   11409 XORG_MAN_PAGE="X Version 11"
   11410 
   11411 MAN_SUBSTS="\
   11412 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11413 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11414 	-e 's|__xservername__|Xorg|g' \
   11415 	-e 's|__xconfigfile__|xorg.conf|g' \
   11416 	-e 's|__projectroot__|\$(prefix)|g' \
   11417 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11418 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11419 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11420 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11421 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11422 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11423 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11424 
   11425 
   11426 
   11427 
   11428 AM_DEFAULT_VERBOSITY=0
   11429 
   11430 
   11431 
   11432 # Checks for typedefs, structures, and compiler characteristics.
   11433 # Check whether --enable-largefile was given.
   11434 if test ${enable_largefile+y}
   11435 then :
   11436   enableval=$enable_largefile;
   11437 fi
   11438 if test "$enable_largefile,$enable_year2038" != no,no
   11439 then :
   11440   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable large file support" >&5
   11441 printf %s "checking for $CC option to enable large file support... " >&6; }
   11442 if test ${ac_cv_sys_largefile_opts+y}
   11443 then :
   11444   printf %s "(cached) " >&6
   11445 else case e in #(
   11446   e) ac_save_CC="$CC"
   11447   ac_opt_found=no
   11448   for ac_opt in "none needed" "-D_FILE_OFFSET_BITS=64" "-D_LARGE_FILES=1" "-n32"; do
   11449     if test x"$ac_opt" != x"none needed"
   11450 then :
   11451   CC="$ac_save_CC $ac_opt"
   11452 fi
   11453     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11454 /* end confdefs.h.  */
   11455 #include <sys/types.h>
   11456 #ifndef FTYPE
   11457 # define FTYPE off_t
   11458 #endif
   11459  /* Check that FTYPE can represent 2**63 - 1 correctly.
   11460     We can't simply define LARGE_FTYPE to be 9223372036854775807,
   11461     since some C++ compilers masquerading as C compilers
   11462     incorrectly reject 9223372036854775807.  */
   11463 #define LARGE_FTYPE (((FTYPE) 1 << 31 << 31) - 1 + ((FTYPE) 1 << 31 << 31))
   11464   int FTYPE_is_large[(LARGE_FTYPE % 2147483629 == 721
   11465 		       && LARGE_FTYPE % 2147483647 == 1)
   11466 		      ? 1 : -1];
   11467 int
   11468 main (void)
   11469 {
   11470 
   11471   ;
   11472   return 0;
   11473 }
   11474 _ACEOF
   11475 if ac_fn_c_try_compile "$LINENO"
   11476 then :
   11477   if test x"$ac_opt" = x"none needed"
   11478 then :
   11479   # GNU/Linux s390x and alpha need _FILE_OFFSET_BITS=64 for wide ino_t.
   11480 	 CC="$CC -DFTYPE=ino_t"
   11481 	 if ac_fn_c_try_compile "$LINENO"
   11482 then :
   11483 
   11484 else case e in #(
   11485   e) CC="$CC -D_FILE_OFFSET_BITS=64"
   11486 	    if ac_fn_c_try_compile "$LINENO"
   11487 then :
   11488   ac_opt='-D_FILE_OFFSET_BITS=64'
   11489 fi
   11490 rm -f core conftest.err conftest.$ac_objext conftest.beam ;;
   11491 esac
   11492 fi
   11493 rm -f core conftest.err conftest.$ac_objext conftest.beam
   11494 fi
   11495       ac_cv_sys_largefile_opts=$ac_opt
   11496       ac_opt_found=yes
   11497 fi
   11498 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   11499     test $ac_opt_found = no || break
   11500   done
   11501   CC="$ac_save_CC"
   11502 
   11503   test $ac_opt_found = yes || ac_cv_sys_largefile_opts="support not detected" ;;
   11504 esac
   11505 fi
   11506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_opts" >&5
   11507 printf "%s\n" "$ac_cv_sys_largefile_opts" >&6; }
   11508 
   11509 ac_have_largefile=yes
   11510 case $ac_cv_sys_largefile_opts in #(
   11511   "none needed") :
   11512      ;; #(
   11513   "supported through gnulib") :
   11514      ;; #(
   11515   "support not detected") :
   11516     ac_have_largefile=no ;; #(
   11517   "-D_FILE_OFFSET_BITS=64") :
   11518 
   11519 printf "%s\n" "#define _FILE_OFFSET_BITS 64" >>confdefs.h
   11520  ;; #(
   11521   "-D_LARGE_FILES=1") :
   11522 
   11523 printf "%s\n" "#define _LARGE_FILES 1" >>confdefs.h
   11524  ;; #(
   11525   "-n32") :
   11526     CC="$CC -n32" ;; #(
   11527   *) :
   11528     as_fn_error $? "internal error: bad value for \$ac_cv_sys_largefile_opts" "$LINENO" 5 ;;
   11529 esac
   11530 
   11531 if test "$enable_year2038" != no
   11532 then :
   11533   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option for timestamps after 2038" >&5
   11534 printf %s "checking for $CC option for timestamps after 2038... " >&6; }
   11535 if test ${ac_cv_sys_year2038_opts+y}
   11536 then :
   11537   printf %s "(cached) " >&6
   11538 else case e in #(
   11539   e) ac_save_CPPFLAGS="$CPPFLAGS"
   11540   ac_opt_found=no
   11541   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
   11542     if test x"$ac_opt" != x"none needed"
   11543 then :
   11544   CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
   11545 fi
   11546     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11547 /* end confdefs.h.  */
   11548 
   11549   #include <time.h>
   11550   /* Check that time_t can represent 2**32 - 1 correctly.  */
   11551   #define LARGE_TIME_T \\
   11552     ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30)))
   11553   int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535
   11554                            && LARGE_TIME_T % 65537 == 0)
   11555                           ? 1 : -1];
   11556 
   11557 int
   11558 main (void)
   11559 {
   11560 
   11561   ;
   11562   return 0;
   11563 }
   11564 _ACEOF
   11565 if ac_fn_c_try_compile "$LINENO"
   11566 then :
   11567   ac_cv_sys_year2038_opts="$ac_opt"
   11568       ac_opt_found=yes
   11569 fi
   11570 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   11571     test $ac_opt_found = no || break
   11572   done
   11573   CPPFLAGS="$ac_save_CPPFLAGS"
   11574   test $ac_opt_found = yes || ac_cv_sys_year2038_opts="support not detected" ;;
   11575 esac
   11576 fi
   11577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_year2038_opts" >&5
   11578 printf "%s\n" "$ac_cv_sys_year2038_opts" >&6; }
   11579 
   11580 ac_have_year2038=yes
   11581 case $ac_cv_sys_year2038_opts in #(
   11582   "none needed") :
   11583      ;; #(
   11584   "support not detected") :
   11585     ac_have_year2038=no ;; #(
   11586   "-D_TIME_BITS=64") :
   11587 
   11588 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
   11589  ;; #(
   11590   "-D__MINGW_USE_VC2005_COMPAT") :
   11591 
   11592 printf "%s\n" "#define __MINGW_USE_VC2005_COMPAT 1" >>confdefs.h
   11593  ;; #(
   11594   "-U_USE_32_BIT_TIME_T"*) :
   11595     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   11596 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   11597 as_fn_error $? "the 'time_t' type is currently forced to be 32-bit. It
   11598 will stop working after mid-January 2038. Remove
   11599 _USE_32BIT_TIME_T from the compiler flags.
   11600 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   11601   *) :
   11602     as_fn_error $? "internal error: bad value for \$ac_cv_sys_year2038_opts" "$LINENO" 5 ;;
   11603 esac
   11604 
   11605 fi
   11606 
   11607 fi
   11608 
   11609 # Checks for pkg-config packages
   11610 
   11611 pkg_failed=no
   11612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XCMSDB" >&5
   11613 printf %s "checking for XCMSDB... " >&6; }
   11614 
   11615 if test -n "$XCMSDB_CFLAGS"; then
   11616     pkg_cv_XCMSDB_CFLAGS="$XCMSDB_CFLAGS"
   11617  elif test -n "$PKG_CONFIG"; then
   11618     if test -n "$PKG_CONFIG" && \
   11619     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
   11620   ($PKG_CONFIG --exists --print-errors "x11") 2>&5
   11621   ac_status=$?
   11622   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11623   test $ac_status = 0; }; then
   11624   pkg_cv_XCMSDB_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
   11625 		      test "x$?" != "x0" && pkg_failed=yes
   11626 else
   11627   pkg_failed=yes
   11628 fi
   11629  else
   11630     pkg_failed=untried
   11631 fi
   11632 if test -n "$XCMSDB_LIBS"; then
   11633     pkg_cv_XCMSDB_LIBS="$XCMSDB_LIBS"
   11634  elif test -n "$PKG_CONFIG"; then
   11635     if test -n "$PKG_CONFIG" && \
   11636     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
   11637   ($PKG_CONFIG --exists --print-errors "x11") 2>&5
   11638   ac_status=$?
   11639   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11640   test $ac_status = 0; }; then
   11641   pkg_cv_XCMSDB_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
   11642 		      test "x$?" != "x0" && pkg_failed=yes
   11643 else
   11644   pkg_failed=yes
   11645 fi
   11646  else
   11647     pkg_failed=untried
   11648 fi
   11649 
   11650 
   11651 
   11652 if test $pkg_failed = yes; then
   11653    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11654 printf "%s\n" "no" >&6; }
   11655 
   11656 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11657         _pkg_short_errors_supported=yes
   11658 else
   11659         _pkg_short_errors_supported=no
   11660 fi
   11661         if test $_pkg_short_errors_supported = yes; then
   11662 	        XCMSDB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11" 2>&1`
   11663         else
   11664 	        XCMSDB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11" 2>&1`
   11665         fi
   11666 	# Put the nasty error message in config.log where it belongs
   11667 	echo "$XCMSDB_PKG_ERRORS" >&5
   11668 
   11669 	as_fn_error $? "Package requirements (x11) were not met:
   11670 
   11671 $XCMSDB_PKG_ERRORS
   11672 
   11673 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11674 installed software in a non-standard prefix.
   11675 
   11676 Alternatively, you may set the environment variables XCMSDB_CFLAGS
   11677 and XCMSDB_LIBS to avoid the need to call pkg-config.
   11678 See the pkg-config man page for more details." "$LINENO" 5
   11679 elif test $pkg_failed = untried; then
   11680      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11681 printf "%s\n" "no" >&6; }
   11682 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   11683 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   11684 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11685 is in your PATH or set the PKG_CONFIG environment variable to the full
   11686 path to pkg-config.
   11687 
   11688 Alternatively, you may set the environment variables XCMSDB_CFLAGS
   11689 and XCMSDB_LIBS to avoid the need to call pkg-config.
   11690 See the pkg-config man page for more details.
   11691 
   11692 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11693 See 'config.log' for more details" "$LINENO" 5; }
   11694 else
   11695 	XCMSDB_CFLAGS=$pkg_cv_XCMSDB_CFLAGS
   11696 	XCMSDB_LIBS=$pkg_cv_XCMSDB_LIBS
   11697         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11698 printf "%s\n" "yes" >&6; }
   11699 
   11700 fi
   11701 
   11702 ac_config_files="$ac_config_files Makefile man/Makefile"
   11703 
   11704 cat >confcache <<\_ACEOF
   11705 # This file is a shell script that caches the results of configure
   11706 # tests run on this system so they can be shared between configure
   11707 # scripts and configure runs, see configure's option --config-cache.
   11708 # It is not useful on other systems.  If it contains results you don't
   11709 # want to keep, you may remove or edit it.
   11710 #
   11711 # config.status only pays attention to the cache file if you give it
   11712 # the --recheck option to rerun configure.
   11713 #
   11714 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   11715 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   11716 # following values.
   11717 
   11718 _ACEOF
   11719 
   11720 # The following way of writing the cache mishandles newlines in values,
   11721 # but we know of no workaround that is simple, portable, and efficient.
   11722 # So, we kill variables containing newlines.
   11723 # Ultrix sh set writes to stderr and can't be redirected directly,
   11724 # and sets the high bit in the cache file unless we assign to the vars.
   11725 (
   11726   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11727     eval ac_val=\$$ac_var
   11728     case $ac_val in #(
   11729     *${as_nl}*)
   11730       case $ac_var in #(
   11731       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11732 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11733       esac
   11734       case $ac_var in #(
   11735       _ | IFS | as_nl) ;; #(
   11736       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11737       *) { eval $ac_var=; unset $ac_var;} ;;
   11738       esac ;;
   11739     esac
   11740   done
   11741 
   11742   (set) 2>&1 |
   11743     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11744     *${as_nl}ac_space=\ *)
   11745       # 'set' does not quote correctly, so add quotes: double-quote
   11746       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11747       sed -n \
   11748 	"s/'/'\\\\''/g;
   11749 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11750       ;; #(
   11751     *)
   11752       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   11753       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11754       ;;
   11755     esac |
   11756     sort
   11757 ) |
   11758   sed '
   11759      /^ac_cv_env_/b end
   11760      t clear
   11761      :clear
   11762      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   11763      t end
   11764      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11765      :end' >>confcache
   11766 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11767   if test -w "$cache_file"; then
   11768     if test "x$cache_file" != "x/dev/null"; then
   11769       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11770 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   11771       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11772 	cat confcache >"$cache_file"
   11773       else
   11774         case $cache_file in #(
   11775         */* | ?:*)
   11776 	  mv -f confcache "$cache_file"$$ &&
   11777 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11778         *)
   11779 	  mv -f confcache "$cache_file" ;;
   11780 	esac
   11781       fi
   11782     fi
   11783   else
   11784     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11785 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   11786   fi
   11787 fi
   11788 rm -f confcache
   11789 
   11790 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11791 # Let make expand exec_prefix.
   11792 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11793 
   11794 DEFS=-DHAVE_CONFIG_H
   11795 
   11796 ac_libobjs=
   11797 ac_ltlibobjs=
   11798 U=
   11799 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11800   # 1. Remove the extension, and $U if already installed.
   11801   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11802   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   11803   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11804   #    will be set to the directory where LIBOBJS objects are built.
   11805   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11806   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11807 done
   11808 LIBOBJS=$ac_libobjs
   11809 
   11810 LTLIBOBJS=$ac_ltlibobjs
   11811 
   11812 
   11813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11814 printf %s "checking that generated files are newer than configure... " >&6; }
   11815    if test -n "$am_sleep_pid"; then
   11816      # Hide warnings about reused PIDs.
   11817      wait $am_sleep_pid 2>/dev/null
   11818    fi
   11819    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11820 printf "%s\n" "done" >&6; }
   11821 case $enable_silent_rules in # (((
   11822   yes) AM_DEFAULT_VERBOSITY=0;;
   11823    no) AM_DEFAULT_VERBOSITY=1;;
   11824 esac
   11825 if test $am_cv_make_support_nested_variables = yes; then
   11826     AM_V='$(V)'
   11827   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11828 else
   11829   AM_V=$AM_DEFAULT_VERBOSITY
   11830   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11831 fi
   11832 
   11833  if test -n "$EXEEXT"; then
   11834   am__EXEEXT_TRUE=
   11835   am__EXEEXT_FALSE='#'
   11836 else
   11837   am__EXEEXT_TRUE='#'
   11838   am__EXEEXT_FALSE=
   11839 fi
   11840 
   11841 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11842   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11843 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11844 fi
   11845 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11846   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11847 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11848 fi
   11849 # Check whether --enable-year2038 was given.
   11850 if test ${enable_year2038+y}
   11851 then :
   11852   enableval=$enable_year2038;
   11853 fi
   11854 
   11855 
   11856 : "${CONFIG_STATUS=./config.status}"
   11857 ac_write_fail=0
   11858 ac_clean_files_save=$ac_clean_files
   11859 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11861 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   11862 as_write_fail=0
   11863 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11864 #! $SHELL
   11865 # Generated by $as_me.
   11866 # Run this file to recreate the current configuration.
   11867 # Compiler output produced by configure, useful for debugging
   11868 # configure, is in config.log if it exists.
   11869 
   11870 debug=false
   11871 ac_cs_recheck=false
   11872 ac_cs_silent=false
   11873 
   11874 SHELL=\${CONFIG_SHELL-$SHELL}
   11875 export SHELL
   11876 _ASEOF
   11877 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11878 ## -------------------- ##
   11879 ## M4sh Initialization. ##
   11880 ## -------------------- ##
   11881 
   11882 # Be more Bourne compatible
   11883 DUALCASE=1; export DUALCASE # for MKS sh
   11884 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   11885 then :
   11886   emulate sh
   11887   NULLCMD=:
   11888   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11889   # is contrary to our usage.  Disable this feature.
   11890   alias -g '${1+"$@"}'='"$@"'
   11891   setopt NO_GLOB_SUBST
   11892 else case e in #(
   11893   e) case `(set -o) 2>/dev/null` in #(
   11894   *posix*) :
   11895     set -o posix ;; #(
   11896   *) :
   11897      ;;
   11898 esac ;;
   11899 esac
   11900 fi
   11901 
   11902 
   11903 
   11904 # Reset variables that may have inherited troublesome values from
   11905 # the environment.
   11906 
   11907 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   11908 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   11909 # side effect of setting IFS to empty, thus disabling word splitting.)
   11910 # Quoting is to prevent editors from complaining about space-tab.
   11911 as_nl='
   11912 '
   11913 export as_nl
   11914 IFS=" ""	$as_nl"
   11915 
   11916 PS1='$ '
   11917 PS2='> '
   11918 PS4='+ '
   11919 
   11920 # Ensure predictable behavior from utilities with locale-dependent output.
   11921 LC_ALL=C
   11922 export LC_ALL
   11923 LANGUAGE=C
   11924 export LANGUAGE
   11925 
   11926 # We cannot yet rely on "unset" to work, but we need these variables
   11927 # to be unset--not just set to an empty or harmless value--now, to
   11928 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   11929 # also avoids known problems related to "unset" and subshell syntax
   11930 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   11931 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   11932 do eval test \${$as_var+y} \
   11933   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11934 done
   11935 
   11936 # Ensure that fds 0, 1, and 2 are open.
   11937 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   11938 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   11939 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   11940 
   11941 # The user is always right.
   11942 if ${PATH_SEPARATOR+false} :; then
   11943   PATH_SEPARATOR=:
   11944   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11945     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11946       PATH_SEPARATOR=';'
   11947   }
   11948 fi
   11949 
   11950 
   11951 # Find who we are.  Look in the path if we contain no directory separator.
   11952 as_myself=
   11953 case $0 in #((
   11954   *[\\/]* ) as_myself=$0 ;;
   11955   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11956 for as_dir in $PATH
   11957 do
   11958   IFS=$as_save_IFS
   11959   case $as_dir in #(((
   11960     '') as_dir=./ ;;
   11961     */) ;;
   11962     *) as_dir=$as_dir/ ;;
   11963   esac
   11964     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   11965   done
   11966 IFS=$as_save_IFS
   11967 
   11968      ;;
   11969 esac
   11970 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   11971 # in which case we are not to be found in the path.
   11972 if test "x$as_myself" = x; then
   11973   as_myself=$0
   11974 fi
   11975 if test ! -f "$as_myself"; then
   11976   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11977   exit 1
   11978 fi
   11979 
   11980 
   11981 
   11982 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11983 # ----------------------------------------
   11984 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11985 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11986 # script with STATUS, using 1 if that was 0.
   11987 as_fn_error ()
   11988 {
   11989   as_status=$1; test $as_status -eq 0 && as_status=1
   11990   if test "$4"; then
   11991     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11992     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11993   fi
   11994   printf "%s\n" "$as_me: error: $2" >&2
   11995   as_fn_exit $as_status
   11996 } # as_fn_error
   11997 
   11998 
   11999 # as_fn_set_status STATUS
   12000 # -----------------------
   12001 # Set $? to STATUS, without forking.
   12002 as_fn_set_status ()
   12003 {
   12004   return $1
   12005 } # as_fn_set_status
   12006 
   12007 # as_fn_exit STATUS
   12008 # -----------------
   12009 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   12010 as_fn_exit ()
   12011 {
   12012   set +e
   12013   as_fn_set_status $1
   12014   exit $1
   12015 } # as_fn_exit
   12016 
   12017 # as_fn_unset VAR
   12018 # ---------------
   12019 # Portably unset VAR.
   12020 as_fn_unset ()
   12021 {
   12022   { eval $1=; unset $1;}
   12023 }
   12024 as_unset=as_fn_unset
   12025 
   12026 # as_fn_append VAR VALUE
   12027 # ----------------------
   12028 # Append the text in VALUE to the end of the definition contained in VAR. Take
   12029 # advantage of any shell optimizations that allow amortized linear growth over
   12030 # repeated appends, instead of the typical quadratic growth present in naive
   12031 # implementations.
   12032 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   12033 then :
   12034   eval 'as_fn_append ()
   12035   {
   12036     eval $1+=\$2
   12037   }'
   12038 else case e in #(
   12039   e) as_fn_append ()
   12040   {
   12041     eval $1=\$$1\$2
   12042   } ;;
   12043 esac
   12044 fi # as_fn_append
   12045 
   12046 # as_fn_arith ARG...
   12047 # ------------------
   12048 # Perform arithmetic evaluation on the ARGs, and store the result in the
   12049 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   12050 # must be portable across $(()) and expr.
   12051 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   12052 then :
   12053   eval 'as_fn_arith ()
   12054   {
   12055     as_val=$(( $* ))
   12056   }'
   12057 else case e in #(
   12058   e) as_fn_arith ()
   12059   {
   12060     as_val=`expr "$@" || test $? -eq 1`
   12061   } ;;
   12062 esac
   12063 fi # as_fn_arith
   12064 
   12065 
   12066 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12067    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12068   as_expr=expr
   12069 else
   12070   as_expr=false
   12071 fi
   12072 
   12073 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12074   as_basename=basename
   12075 else
   12076   as_basename=false
   12077 fi
   12078 
   12079 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12080   as_dirname=dirname
   12081 else
   12082   as_dirname=false
   12083 fi
   12084 
   12085 as_me=`$as_basename -- "$0" ||
   12086 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12087 	 X"$0" : 'X\(//\)$' \| \
   12088 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12089 printf "%s\n" X/"$0" |
   12090     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12091 	    s//\1/
   12092 	    q
   12093 	  }
   12094 	  /^X\/\(\/\/\)$/{
   12095 	    s//\1/
   12096 	    q
   12097 	  }
   12098 	  /^X\/\(\/\).*/{
   12099 	    s//\1/
   12100 	    q
   12101 	  }
   12102 	  s/.*/./; q'`
   12103 
   12104 # Avoid depending upon Character Ranges.
   12105 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12106 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12107 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12108 as_cr_digits='0123456789'
   12109 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12110 
   12111 
   12112 # Determine whether it's possible to make 'echo' print without a newline.
   12113 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   12114 # for compatibility with existing Makefiles.
   12115 ECHO_C= ECHO_N= ECHO_T=
   12116 case `echo -n x` in #(((((
   12117 -n*)
   12118   case `echo 'xy\c'` in
   12119   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   12120   xy)  ECHO_C='\c';;
   12121   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   12122        ECHO_T='	';;
   12123   esac;;
   12124 *)
   12125   ECHO_N='-n';;
   12126 esac
   12127 
   12128 # For backward compatibility with old third-party macros, we provide
   12129 # the shell variables $as_echo and $as_echo_n.  New code should use
   12130 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   12131 as_echo='printf %s\n'
   12132 as_echo_n='printf %s'
   12133 
   12134 rm -f conf$$ conf$$.exe conf$$.file
   12135 if test -d conf$$.dir; then
   12136   rm -f conf$$.dir/conf$$.file
   12137 else
   12138   rm -f conf$$.dir
   12139   mkdir conf$$.dir 2>/dev/null
   12140 fi
   12141 if (echo >conf$$.file) 2>/dev/null; then
   12142   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12143     as_ln_s='ln -s'
   12144     # ... but there are two gotchas:
   12145     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   12146     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   12147     # In both cases, we have to default to 'cp -pR'.
   12148     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12149       as_ln_s='cp -pR'
   12150   elif ln conf$$.file conf$$ 2>/dev/null; then
   12151     as_ln_s=ln
   12152   else
   12153     as_ln_s='cp -pR'
   12154   fi
   12155 else
   12156   as_ln_s='cp -pR'
   12157 fi
   12158 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12159 rmdir conf$$.dir 2>/dev/null
   12160 
   12161 
   12162 # as_fn_mkdir_p
   12163 # -------------
   12164 # Create "$as_dir" as a directory, including parents if necessary.
   12165 as_fn_mkdir_p ()
   12166 {
   12167 
   12168   case $as_dir in #(
   12169   -*) as_dir=./$as_dir;;
   12170   esac
   12171   test -d "$as_dir" || eval $as_mkdir_p || {
   12172     as_dirs=
   12173     while :; do
   12174       case $as_dir in #(
   12175       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12176       *) as_qdir=$as_dir;;
   12177       esac
   12178       as_dirs="'$as_qdir' $as_dirs"
   12179       as_dir=`$as_dirname -- "$as_dir" ||
   12180 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12181 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12182 	 X"$as_dir" : 'X\(//\)$' \| \
   12183 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12184 printf "%s\n" X"$as_dir" |
   12185     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12186 	    s//\1/
   12187 	    q
   12188 	  }
   12189 	  /^X\(\/\/\)[^/].*/{
   12190 	    s//\1/
   12191 	    q
   12192 	  }
   12193 	  /^X\(\/\/\)$/{
   12194 	    s//\1/
   12195 	    q
   12196 	  }
   12197 	  /^X\(\/\).*/{
   12198 	    s//\1/
   12199 	    q
   12200 	  }
   12201 	  s/.*/./; q'`
   12202       test -d "$as_dir" && break
   12203     done
   12204     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12205   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12206 
   12207 
   12208 } # as_fn_mkdir_p
   12209 if mkdir -p . 2>/dev/null; then
   12210   as_mkdir_p='mkdir -p "$as_dir"'
   12211 else
   12212   test -d ./-p && rmdir ./-p
   12213   as_mkdir_p=false
   12214 fi
   12215 
   12216 
   12217 # as_fn_executable_p FILE
   12218 # -----------------------
   12219 # Test if FILE is an executable regular file.
   12220 as_fn_executable_p ()
   12221 {
   12222   test -f "$1" && test -x "$1"
   12223 } # as_fn_executable_p
   12224 as_test_x='test -x'
   12225 as_executable_p=as_fn_executable_p
   12226 
   12227 # Sed expression to map a string onto a valid CPP name.
   12228 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   12229 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   12230 
   12231 # Sed expression to map a string onto a valid variable name.
   12232 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   12233 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   12234 
   12235 
   12236 exec 6>&1
   12237 ## ----------------------------------- ##
   12238 ## Main body of $CONFIG_STATUS script. ##
   12239 ## ----------------------------------- ##
   12240 _ASEOF
   12241 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   12242 
   12243 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12244 # Save the log message, to keep $0 and so on meaningful, and to
   12245 # report actual input values of CONFIG_FILES etc. instead of their
   12246 # values after options handling.
   12247 ac_log="
   12248 This file was extended by xcmsdb $as_me 1.0.7, which was
   12249 generated by GNU Autoconf 2.72.  Invocation command line was
   12250 
   12251   CONFIG_FILES    = $CONFIG_FILES
   12252   CONFIG_HEADERS  = $CONFIG_HEADERS
   12253   CONFIG_LINKS    = $CONFIG_LINKS
   12254   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12255   $ $0 $@
   12256 
   12257 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12258 "
   12259 
   12260 _ACEOF
   12261 
   12262 case $ac_config_files in *"
   12263 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12264 esac
   12265 
   12266 case $ac_config_headers in *"
   12267 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12268 esac
   12269 
   12270 
   12271 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12272 # Files that config.status was made for.
   12273 config_files="$ac_config_files"
   12274 config_headers="$ac_config_headers"
   12275 config_commands="$ac_config_commands"
   12276 
   12277 _ACEOF
   12278 
   12279 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12280 ac_cs_usage="\
   12281 '$as_me' instantiates files and other configuration actions
   12282 from templates according to the current configuration.  Unless the files
   12283 and actions are specified as TAGs, all are instantiated by default.
   12284 
   12285 Usage: $0 [OPTION]... [TAG]...
   12286 
   12287   -h, --help       print this help, then exit
   12288   -V, --version    print version number and configuration settings, then exit
   12289       --config     print configuration, then exit
   12290   -q, --quiet, --silent
   12291                    do not print progress messages
   12292   -d, --debug      don't remove temporary files
   12293       --recheck    update $as_me by reconfiguring in the same conditions
   12294       --file=FILE[:TEMPLATE]
   12295                    instantiate the configuration file FILE
   12296       --header=FILE[:TEMPLATE]
   12297                    instantiate the configuration header FILE
   12298 
   12299 Configuration files:
   12300 $config_files
   12301 
   12302 Configuration headers:
   12303 $config_headers
   12304 
   12305 Configuration commands:
   12306 $config_commands
   12307 
   12308 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xcmsdb/-/issues>."
   12309 
   12310 _ACEOF
   12311 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   12312 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   12313 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12314 ac_cs_config='$ac_cs_config_escaped'
   12315 ac_cs_version="\\
   12316 xcmsdb config.status 1.0.7
   12317 configured by $0, generated by GNU Autoconf 2.72,
   12318   with options \\"\$ac_cs_config\\"
   12319 
   12320 Copyright (C) 2023 Free Software Foundation, Inc.
   12321 This config.status script is free software; the Free Software Foundation
   12322 gives unlimited permission to copy, distribute and modify it."
   12323 
   12324 ac_pwd='$ac_pwd'
   12325 srcdir='$srcdir'
   12326 INSTALL='$INSTALL'
   12327 MKDIR_P='$MKDIR_P'
   12328 AWK='$AWK'
   12329 test -n "\$AWK" || AWK=awk
   12330 _ACEOF
   12331 
   12332 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12333 # The default lists apply if the user does not specify any file.
   12334 ac_need_defaults=:
   12335 while test $# != 0
   12336 do
   12337   case $1 in
   12338   --*=?*)
   12339     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12340     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12341     ac_shift=:
   12342     ;;
   12343   --*=)
   12344     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12345     ac_optarg=
   12346     ac_shift=:
   12347     ;;
   12348   *)
   12349     ac_option=$1
   12350     ac_optarg=$2
   12351     ac_shift=shift
   12352     ;;
   12353   esac
   12354 
   12355   case $ac_option in
   12356   # Handling of the options.
   12357   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12358     ac_cs_recheck=: ;;
   12359   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12360     printf "%s\n" "$ac_cs_version"; exit ;;
   12361   --config | --confi | --conf | --con | --co | --c )
   12362     printf "%s\n" "$ac_cs_config"; exit ;;
   12363   --debug | --debu | --deb | --de | --d | -d )
   12364     debug=: ;;
   12365   --file | --fil | --fi | --f )
   12366     $ac_shift
   12367     case $ac_optarg in
   12368     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12369     '') as_fn_error $? "missing file argument" ;;
   12370     esac
   12371     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12372     ac_need_defaults=false;;
   12373   --header | --heade | --head | --hea )
   12374     $ac_shift
   12375     case $ac_optarg in
   12376     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12377     esac
   12378     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12379     ac_need_defaults=false;;
   12380   --he | --h)
   12381     # Conflict between --help and --header
   12382     as_fn_error $? "ambiguous option: '$1'
   12383 Try '$0 --help' for more information.";;
   12384   --help | --hel | -h )
   12385     printf "%s\n" "$ac_cs_usage"; exit ;;
   12386   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12387   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12388     ac_cs_silent=: ;;
   12389 
   12390   # This is an error.
   12391   -*) as_fn_error $? "unrecognized option: '$1'
   12392 Try '$0 --help' for more information." ;;
   12393 
   12394   *) as_fn_append ac_config_targets " $1"
   12395      ac_need_defaults=false ;;
   12396 
   12397   esac
   12398   shift
   12399 done
   12400 
   12401 ac_configure_extra_args=
   12402 
   12403 if $ac_cs_silent; then
   12404   exec 6>/dev/null
   12405   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12406 fi
   12407 
   12408 _ACEOF
   12409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12410 if \$ac_cs_recheck; then
   12411   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12412   shift
   12413   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   12414   CONFIG_SHELL='$SHELL'
   12415   export CONFIG_SHELL
   12416   exec "\$@"
   12417 fi
   12418 
   12419 _ACEOF
   12420 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12421 exec 5>>config.log
   12422 {
   12423   echo
   12424   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12425 ## Running $as_me. ##
   12426 _ASBOX
   12427   printf "%s\n" "$ac_log"
   12428 } >&5
   12429 
   12430 _ACEOF
   12431 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12432 #
   12433 # INIT-COMMANDS
   12434 #
   12435 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   12436 
   12437 _ACEOF
   12438 
   12439 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12440 
   12441 # Handling of arguments.
   12442 for ac_config_target in $ac_config_targets
   12443 do
   12444   case $ac_config_target in
   12445     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12446     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12447     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12448     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12449 
   12450   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   12451   esac
   12452 done
   12453 
   12454 
   12455 # If the user did not use the arguments to specify the items to instantiate,
   12456 # then the envvar interface is used.  Set only those that are not.
   12457 # We use the long form for the default assignment because of an extremely
   12458 # bizarre bug on SunOS 4.1.3.
   12459 if $ac_need_defaults; then
   12460   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   12461   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   12462   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   12463 fi
   12464 
   12465 # Have a temporary directory for convenience.  Make it in the build tree
   12466 # simply because there is no reason against having it here, and in addition,
   12467 # creating and moving files from /tmp can sometimes cause problems.
   12468 # Hook for its removal unless debugging.
   12469 # Note that there is a small window in which the directory will not be cleaned:
   12470 # after its creation but before its name has been assigned to '$tmp'.
   12471 $debug ||
   12472 {
   12473   tmp= ac_tmp=
   12474   trap 'exit_status=$?
   12475   : "${ac_tmp:=$tmp}"
   12476   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12477 ' 0
   12478   trap 'as_fn_exit 1' 1 2 13 15
   12479 }
   12480 # Create a (secure) tmp directory for tmp files.
   12481 
   12482 {
   12483   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12484   test -d "$tmp"
   12485 }  ||
   12486 {
   12487   tmp=./conf$$-$RANDOM
   12488   (umask 077 && mkdir "$tmp")
   12489 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12490 ac_tmp=$tmp
   12491 
   12492 # Set up the scripts for CONFIG_FILES section.
   12493 # No need to generate them if there are no CONFIG_FILES.
   12494 # This happens for instance with './config.status config.h'.
   12495 if test -n "$CONFIG_FILES"; then
   12496 
   12497 
   12498 ac_cr=`echo X | tr X '\015'`
   12499 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12500 # But we know of no other shell where ac_cr would be empty at this
   12501 # point, so we can use a bashism as a fallback.
   12502 if test "x$ac_cr" = x; then
   12503   eval ac_cr=\$\'\\r\'
   12504 fi
   12505 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12506 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12507   ac_cs_awk_cr='\\r'
   12508 else
   12509   ac_cs_awk_cr=$ac_cr
   12510 fi
   12511 
   12512 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12513 _ACEOF
   12514 
   12515 
   12516 {
   12517   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12518   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12519   echo "_ACEOF"
   12520 } >conf$$subs.sh ||
   12521   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12522 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12523 ac_delim='%!_!# '
   12524 for ac_last_try in false false false false false :; do
   12525   . ./conf$$subs.sh ||
   12526     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12527 
   12528   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12529   if test $ac_delim_n = $ac_delim_num; then
   12530     break
   12531   elif $ac_last_try; then
   12532     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12533   else
   12534     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12535   fi
   12536 done
   12537 rm -f conf$$subs.sh
   12538 
   12539 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12540 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12541 _ACEOF
   12542 sed -n '
   12543 h
   12544 s/^/S["/; s/!.*/"]=/
   12545 p
   12546 g
   12547 s/^[^!]*!//
   12548 :repl
   12549 t repl
   12550 s/'"$ac_delim"'$//
   12551 t delim
   12552 :nl
   12553 h
   12554 s/\(.\{148\}\)..*/\1/
   12555 t more1
   12556 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12557 p
   12558 n
   12559 b repl
   12560 :more1
   12561 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12562 p
   12563 g
   12564 s/.\{148\}//
   12565 t nl
   12566 :delim
   12567 h
   12568 s/\(.\{148\}\)..*/\1/
   12569 t more2
   12570 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12571 p
   12572 b
   12573 :more2
   12574 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12575 p
   12576 g
   12577 s/.\{148\}//
   12578 t delim
   12579 ' <conf$$subs.awk | sed '
   12580 /^[^""]/{
   12581   N
   12582   s/\n//
   12583 }
   12584 ' >>$CONFIG_STATUS || ac_write_fail=1
   12585 rm -f conf$$subs.awk
   12586 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12587 _ACAWK
   12588 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12589   for (key in S) S_is_set[key] = 1
   12590   FS = ""
   12591 
   12592 }
   12593 {
   12594   line = $ 0
   12595   nfields = split(line, field, "@")
   12596   substed = 0
   12597   len = length(field[1])
   12598   for (i = 2; i < nfields; i++) {
   12599     key = field[i]
   12600     keylen = length(key)
   12601     if (S_is_set[key]) {
   12602       value = S[key]
   12603       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12604       len += length(value) + length(field[++i])
   12605       substed = 1
   12606     } else
   12607       len += 1 + keylen
   12608   }
   12609 
   12610   print line
   12611 }
   12612 
   12613 _ACAWK
   12614 _ACEOF
   12615 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12616 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12617   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12618 else
   12619   cat
   12620 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12621   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12622 _ACEOF
   12623 
   12624 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12625 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12626 # trailing colons and then remove the whole line if VPATH becomes empty
   12627 # (actually we leave an empty line to preserve line numbers).
   12628 if test "x$srcdir" = x.; then
   12629   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12630 h
   12631 s///
   12632 s/^/:/
   12633 s/[	 ]*$/:/
   12634 s/:\$(srcdir):/:/g
   12635 s/:\${srcdir}:/:/g
   12636 s/:@srcdir@:/:/g
   12637 s/^:*//
   12638 s/:*$//
   12639 x
   12640 s/\(=[	 ]*\).*/\1/
   12641 G
   12642 s/\n//
   12643 s/^[^=]*=[	 ]*$//
   12644 }'
   12645 fi
   12646 
   12647 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12648 fi # test -n "$CONFIG_FILES"
   12649 
   12650 # Set up the scripts for CONFIG_HEADERS section.
   12651 # No need to generate them if there are no CONFIG_HEADERS.
   12652 # This happens for instance with './config.status Makefile'.
   12653 if test -n "$CONFIG_HEADERS"; then
   12654 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12655 BEGIN {
   12656 _ACEOF
   12657 
   12658 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   12659 # here-document in config.status, that substitutes the proper values into
   12660 # config.h.in to produce config.h.
   12661 
   12662 # Create a delimiter string that does not exist in confdefs.h, to ease
   12663 # handling of long lines.
   12664 ac_delim='%!_!# '
   12665 for ac_last_try in false false :; do
   12666   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12667   if test -z "$ac_tt"; then
   12668     break
   12669   elif $ac_last_try; then
   12670     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12671   else
   12672     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12673   fi
   12674 done
   12675 
   12676 # For the awk script, D is an array of macro values keyed by name,
   12677 # likewise P contains macro parameters if any.  Preserve backslash
   12678 # newline sequences.
   12679 
   12680 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12681 sed -n '
   12682 s/.\{148\}/&'"$ac_delim"'/g
   12683 t rset
   12684 :rset
   12685 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12686 t def
   12687 d
   12688 :def
   12689 s/\\$//
   12690 t bsnl
   12691 s/["\\]/\\&/g
   12692 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12693 D["\1"]=" \3"/p
   12694 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12695 d
   12696 :bsnl
   12697 s/["\\]/\\&/g
   12698 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12699 D["\1"]=" \3\\\\\\n"\\/p
   12700 t cont
   12701 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12702 t cont
   12703 d
   12704 :cont
   12705 n
   12706 s/.\{148\}/&'"$ac_delim"'/g
   12707 t clear
   12708 :clear
   12709 s/\\$//
   12710 t bsnlc
   12711 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12712 d
   12713 :bsnlc
   12714 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12715 b cont
   12716 ' <confdefs.h | sed '
   12717 s/'"$ac_delim"'/"\\\
   12718 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12719 
   12720 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12721   for (key in D) D_is_set[key] = 1
   12722   FS = ""
   12723 }
   12724 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12725   line = \$ 0
   12726   split(line, arg, " ")
   12727   if (arg[1] == "#") {
   12728     defundef = arg[2]
   12729     mac1 = arg[3]
   12730   } else {
   12731     defundef = substr(arg[1], 2)
   12732     mac1 = arg[2]
   12733   }
   12734   split(mac1, mac2, "(") #)
   12735   macro = mac2[1]
   12736   prefix = substr(line, 1, index(line, defundef) - 1)
   12737   if (D_is_set[macro]) {
   12738     # Preserve the white space surrounding the "#".
   12739     print prefix "define", macro P[macro] D[macro]
   12740     next
   12741   } else {
   12742     # Replace #undef with comments.  This is necessary, for example,
   12743     # in the case of _POSIX_SOURCE, which is predefined and required
   12744     # on some systems where configure will not decide to define it.
   12745     if (defundef == "undef") {
   12746       print "/*", prefix defundef, macro, "*/"
   12747       next
   12748     }
   12749   }
   12750 }
   12751 { print }
   12752 _ACAWK
   12753 _ACEOF
   12754 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12755   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12756 fi # test -n "$CONFIG_HEADERS"
   12757 
   12758 
   12759 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12760 shift
   12761 for ac_tag
   12762 do
   12763   case $ac_tag in
   12764   :[FHLC]) ac_mode=$ac_tag; continue;;
   12765   esac
   12766   case $ac_mode$ac_tag in
   12767   :[FHL]*:*);;
   12768   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   12769   :[FH]-) ac_tag=-:-;;
   12770   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12771   esac
   12772   ac_save_IFS=$IFS
   12773   IFS=:
   12774   set x $ac_tag
   12775   IFS=$ac_save_IFS
   12776   shift
   12777   ac_file=$1
   12778   shift
   12779 
   12780   case $ac_mode in
   12781   :L) ac_source=$1;;
   12782   :[FH])
   12783     ac_file_inputs=
   12784     for ac_f
   12785     do
   12786       case $ac_f in
   12787       -) ac_f="$ac_tmp/stdin";;
   12788       *) # Look for the file first in the build tree, then in the source tree
   12789 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12790 	 # because $ac_f cannot contain ':'.
   12791 	 test -f "$ac_f" ||
   12792 	   case $ac_f in
   12793 	   [\\/$]*) false;;
   12794 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12795 	   esac ||
   12796 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   12797       esac
   12798       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12799       as_fn_append ac_file_inputs " '$ac_f'"
   12800     done
   12801 
   12802     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   12803     # use $as_me), people would be surprised to read:
   12804     #    /* config.h.  Generated by config.status.  */
   12805     configure_input='Generated from '`
   12806 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12807 	`' by configure.'
   12808     if test x"$ac_file" != x-; then
   12809       configure_input="$ac_file.  $configure_input"
   12810       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12811 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   12812     fi
   12813     # Neutralize special characters interpreted by sed in replacement strings.
   12814     case $configure_input in #(
   12815     *\&* | *\|* | *\\* )
   12816        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   12817        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12818     *) ac_sed_conf_input=$configure_input;;
   12819     esac
   12820 
   12821     case $ac_tag in
   12822     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12823       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12824     esac
   12825     ;;
   12826   esac
   12827 
   12828   ac_dir=`$as_dirname -- "$ac_file" ||
   12829 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12830 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12831 	 X"$ac_file" : 'X\(//\)$' \| \
   12832 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12833 printf "%s\n" X"$ac_file" |
   12834     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12835 	    s//\1/
   12836 	    q
   12837 	  }
   12838 	  /^X\(\/\/\)[^/].*/{
   12839 	    s//\1/
   12840 	    q
   12841 	  }
   12842 	  /^X\(\/\/\)$/{
   12843 	    s//\1/
   12844 	    q
   12845 	  }
   12846 	  /^X\(\/\).*/{
   12847 	    s//\1/
   12848 	    q
   12849 	  }
   12850 	  s/.*/./; q'`
   12851   as_dir="$ac_dir"; as_fn_mkdir_p
   12852   ac_builddir=.
   12853 
   12854 case "$ac_dir" in
   12855 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12856 *)
   12857   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   12858   # A ".." for each directory in $ac_dir_suffix.
   12859   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12860   case $ac_top_builddir_sub in
   12861   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12862   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12863   esac ;;
   12864 esac
   12865 ac_abs_top_builddir=$ac_pwd
   12866 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12867 # for backward compatibility:
   12868 ac_top_builddir=$ac_top_build_prefix
   12869 
   12870 case $srcdir in
   12871   .)  # We are building in place.
   12872     ac_srcdir=.
   12873     ac_top_srcdir=$ac_top_builddir_sub
   12874     ac_abs_top_srcdir=$ac_pwd ;;
   12875   [\\/]* | ?:[\\/]* )  # Absolute name.
   12876     ac_srcdir=$srcdir$ac_dir_suffix;
   12877     ac_top_srcdir=$srcdir
   12878     ac_abs_top_srcdir=$srcdir ;;
   12879   *) # Relative name.
   12880     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12881     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12882     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12883 esac
   12884 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12885 
   12886 
   12887   case $ac_mode in
   12888   :F)
   12889   #
   12890   # CONFIG_FILE
   12891   #
   12892 
   12893   case $INSTALL in
   12894   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12895   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12896   esac
   12897   ac_MKDIR_P=$MKDIR_P
   12898   case $MKDIR_P in
   12899   [\\/$]* | ?:[\\/]* ) ;;
   12900   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12901   esac
   12902 _ACEOF
   12903 
   12904 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12905 # If the template does not know about datarootdir, expand it.
   12906 # FIXME: This hack should be removed a few years after 2.60.
   12907 ac_datarootdir_hack=; ac_datarootdir_seen=
   12908 ac_sed_dataroot='
   12909 /datarootdir/ {
   12910   p
   12911   q
   12912 }
   12913 /@datadir@/p
   12914 /@docdir@/p
   12915 /@infodir@/p
   12916 /@localedir@/p
   12917 /@mandir@/p'
   12918 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12919 *datarootdir*) ac_datarootdir_seen=yes;;
   12920 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12921   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12922 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12923 _ACEOF
   12924 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12925   ac_datarootdir_hack='
   12926   s&@datadir@&$datadir&g
   12927   s&@docdir@&$docdir&g
   12928   s&@infodir@&$infodir&g
   12929   s&@localedir@&$localedir&g
   12930   s&@mandir@&$mandir&g
   12931   s&\\\${datarootdir}&$datarootdir&g' ;;
   12932 esac
   12933 _ACEOF
   12934 
   12935 # Neutralize VPATH when '$srcdir' = '.'.
   12936 # Shell code in configure.ac might set extrasub.
   12937 # FIXME: do we really want to maintain this feature?
   12938 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12939 ac_sed_extra="$ac_vpsub
   12940 $extrasub
   12941 _ACEOF
   12942 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12943 :t
   12944 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12945 s|@configure_input@|$ac_sed_conf_input|;t t
   12946 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12947 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12948 s&@srcdir@&$ac_srcdir&;t t
   12949 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12950 s&@top_srcdir@&$ac_top_srcdir&;t t
   12951 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12952 s&@builddir@&$ac_builddir&;t t
   12953 s&@abs_builddir@&$ac_abs_builddir&;t t
   12954 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12955 s&@INSTALL@&$ac_INSTALL&;t t
   12956 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12957 $ac_datarootdir_hack
   12958 "
   12959 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12960   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12961 
   12962 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12963   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12964   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12965       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12966   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   12967 which seems to be undefined.  Please make sure it is defined" >&5
   12968 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   12969 which seems to be undefined.  Please make sure it is defined" >&2;}
   12970 
   12971   rm -f "$ac_tmp/stdin"
   12972   case $ac_file in
   12973   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12974   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12975   esac \
   12976   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12977  ;;
   12978   :H)
   12979   #
   12980   # CONFIG_HEADER
   12981   #
   12982   if test x"$ac_file" != x-; then
   12983     {
   12984       printf "%s\n" "/* $configure_input  */" >&1 \
   12985       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12986     } >"$ac_tmp/config.h" \
   12987       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12988     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12989       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12990 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   12991     else
   12992       rm -f "$ac_file"
   12993       mv "$ac_tmp/config.h" "$ac_file" \
   12994 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12995     fi
   12996   else
   12997     printf "%s\n" "/* $configure_input  */" >&1 \
   12998       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12999       || as_fn_error $? "could not create -" "$LINENO" 5
   13000   fi
   13001 # Compute "$ac_file"'s index in $config_headers.
   13002 _am_arg="$ac_file"
   13003 _am_stamp_count=1
   13004 for _am_header in $config_headers :; do
   13005   case $_am_header in
   13006     $_am_arg | $_am_arg:* )
   13007       break ;;
   13008     * )
   13009       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   13010   esac
   13011 done
   13012 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   13013 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13014 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   13015 	 X"$_am_arg" : 'X\(//\)$' \| \
   13016 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   13017 printf "%s\n" X"$_am_arg" |
   13018     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13019 	    s//\1/
   13020 	    q
   13021 	  }
   13022 	  /^X\(\/\/\)[^/].*/{
   13023 	    s//\1/
   13024 	    q
   13025 	  }
   13026 	  /^X\(\/\/\)$/{
   13027 	    s//\1/
   13028 	    q
   13029 	  }
   13030 	  /^X\(\/\).*/{
   13031 	    s//\1/
   13032 	    q
   13033 	  }
   13034 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   13035  ;;
   13036 
   13037   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   13038 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   13039  ;;
   13040   esac
   13041 
   13042 
   13043   case $ac_file$ac_mode in
   13044     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   13045   # Older Autoconf quotes --file arguments for eval, but not when files
   13046   # are listed without --file.  Let's play safe and only enable the eval
   13047   # if we detect the quoting.
   13048   # TODO: see whether this extra hack can be removed once we start
   13049   # requiring Autoconf 2.70 or later.
   13050   case $CONFIG_FILES in #(
   13051   *\'*) :
   13052     eval set x "$CONFIG_FILES" ;; #(
   13053   *) :
   13054     set x $CONFIG_FILES ;; #(
   13055   *) :
   13056      ;;
   13057 esac
   13058   shift
   13059   # Used to flag and report bootstrapping failures.
   13060   am_rc=0
   13061   for am_mf
   13062   do
   13063     # Strip MF so we end up with the name of the file.
   13064     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   13065     # Check whether this is an Automake generated Makefile which includes
   13066     # dependency-tracking related rules and includes.
   13067     # Grep'ing the whole file directly is not great: AIX grep has a line
   13068     # limit of 2048, but all sed's we know have understand at least 4000.
   13069     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   13070       || continue
   13071     am_dirpart=`$as_dirname -- "$am_mf" ||
   13072 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13073 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   13074 	 X"$am_mf" : 'X\(//\)$' \| \
   13075 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13076 printf "%s\n" X"$am_mf" |
   13077     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13078 	    s//\1/
   13079 	    q
   13080 	  }
   13081 	  /^X\(\/\/\)[^/].*/{
   13082 	    s//\1/
   13083 	    q
   13084 	  }
   13085 	  /^X\(\/\/\)$/{
   13086 	    s//\1/
   13087 	    q
   13088 	  }
   13089 	  /^X\(\/\).*/{
   13090 	    s//\1/
   13091 	    q
   13092 	  }
   13093 	  s/.*/./; q'`
   13094     am_filepart=`$as_basename -- "$am_mf" ||
   13095 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   13096 	 X"$am_mf" : 'X\(//\)$' \| \
   13097 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13098 printf "%s\n" X/"$am_mf" |
   13099     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13100 	    s//\1/
   13101 	    q
   13102 	  }
   13103 	  /^X\/\(\/\/\)$/{
   13104 	    s//\1/
   13105 	    q
   13106 	  }
   13107 	  /^X\/\(\/\).*/{
   13108 	    s//\1/
   13109 	    q
   13110 	  }
   13111 	  s/.*/./; q'`
   13112     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   13113       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13114         | $MAKE -f - am--depfiles" >&5
   13115    (cd "$am_dirpart" \
   13116       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13117         | $MAKE -f - am--depfiles) >&5 2>&5
   13118    ac_status=$?
   13119    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13120    (exit $ac_status); } || am_rc=$?
   13121   done
   13122   if test $am_rc -ne 0; then
   13123     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   13124 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   13125 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   13126     for automatic dependency tracking.  If GNU make was not used, consider
   13127     re-running the configure script with MAKE=\"gmake\" (or whatever is
   13128     necessary).  You can also try re-running configure with the
   13129     '--disable-dependency-tracking' option to at least be able to build
   13130     the package (albeit without support for automatic dependency tracking).
   13131 See 'config.log' for more details" "$LINENO" 5; }
   13132   fi
   13133   { am_dirpart=; unset am_dirpart;}
   13134   { am_filepart=; unset am_filepart;}
   13135   { am_mf=; unset am_mf;}
   13136   { am_rc=; unset am_rc;}
   13137   rm -f conftest-deps.mk
   13138 }
   13139  ;;
   13140 
   13141   esac
   13142 done # for ac_tag
   13143 
   13144 
   13145 as_fn_exit 0
   13146 _ACEOF
   13147 ac_clean_files=$ac_clean_files_save
   13148 
   13149 test $ac_write_fail = 0 ||
   13150   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   13151 
   13152 
   13153 # configure is writing to config.log, and then calls config.status.
   13154 # config.status does its own redirection, appending to config.log.
   13155 # Unfortunately, on DOS this fails, as config.log is still kept open
   13156 # by configure, so config.status won't be able to write to it; its
   13157 # output is simply discarded.  So we exec the FD to /dev/null,
   13158 # effectively closing config.log, so it can be properly (re)opened and
   13159 # appended to by config.status.  When coming back to configure, we
   13160 # need to make the FD available again.
   13161 if test "$no_create" != yes; then
   13162   ac_cs_success=:
   13163   ac_config_status_args=
   13164   test "$silent" = yes &&
   13165     ac_config_status_args="$ac_config_status_args --quiet"
   13166   exec 5>/dev/null
   13167   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   13168   exec 5>>config.log
   13169   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   13170   # would make configure fail if this is the last instruction.
   13171   $ac_cs_success || as_fn_exit 1
   13172 fi
   13173 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   13174   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   13175 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   13176 fi
   13177 
   13178 
   13179