Home | History | Annotate | Line # | Download | only in dist
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.72 for xmore 1.0.4.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xmore/-/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/xmore/-/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='xmore'
    607 PACKAGE_TARNAME='xmore'
    608 PACKAGE_VERSION='1.0.4'
    609 PACKAGE_STRING='xmore 1.0.4'
    610 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xmore/-/issues'
    611 PACKAGE_URL=''
    612 
    613 # Factoring default headers for most tests.
    614 ac_includes_default="\
    615 #include <stddef.h>
    616 #ifdef HAVE_STDIO_H
    617 # include <stdio.h>
    618 #endif
    619 #ifdef HAVE_STDLIB_H
    620 # include <stdlib.h>
    621 #endif
    622 #ifdef HAVE_STRING_H
    623 # include <string.h>
    624 #endif
    625 #ifdef HAVE_INTTYPES_H
    626 # include <inttypes.h>
    627 #endif
    628 #ifdef HAVE_STDINT_H
    629 # include <stdint.h>
    630 #endif
    631 #ifdef HAVE_STRINGS_H
    632 # include <strings.h>
    633 #endif
    634 #ifdef HAVE_SYS_TYPES_H
    635 # include <sys/types.h>
    636 #endif
    637 #ifdef HAVE_SYS_STAT_H
    638 # include <sys/stat.h>
    639 #endif
    640 #ifdef HAVE_UNISTD_H
    641 # include <unistd.h>
    642 #endif"
    643 
    644 ac_header_c_list=
    645 ac_subst_vars='am__EXEEXT_FALSE
    646 am__EXEEXT_TRUE
    647 LTLIBOBJS
    648 LIBOBJS
    649 appdefaultdir
    650 APPDEFS_LIBS
    651 APPDEFS_CFLAGS
    652 XMORE_LIBS
    653 XMORE_CFLAGS
    654 MAN_SUBSTS
    655 XORG_MAN_PAGE
    656 ADMIN_MAN_DIR
    657 DRIVER_MAN_DIR
    658 MISC_MAN_DIR
    659 FILE_MAN_DIR
    660 LIB_MAN_DIR
    661 APP_MAN_DIR
    662 ADMIN_MAN_SUFFIX
    663 DRIVER_MAN_SUFFIX
    664 MISC_MAN_SUFFIX
    665 FILE_MAN_SUFFIX
    666 LIB_MAN_SUFFIX
    667 APP_MAN_SUFFIX
    668 SED
    669 host_os
    670 host_vendor
    671 host_cpu
    672 host
    673 build_os
    674 build_vendor
    675 build_cpu
    676 build
    677 INSTALL_CMD
    678 PKG_CONFIG_LIBDIR
    679 PKG_CONFIG_PATH
    680 PKG_CONFIG
    681 CHANGELOG_CMD
    682 STRICT_CFLAGS
    683 CWARNFLAGS
    684 BASE_CFLAGS
    685 am__fastdepCC_FALSE
    686 am__fastdepCC_TRUE
    687 CCDEPMODE
    688 am__nodep
    689 AMDEPBACKSLASH
    690 AMDEP_FALSE
    691 AMDEP_TRUE
    692 am__include
    693 DEPDIR
    694 OBJEXT
    695 EXEEXT
    696 ac_ct_CC
    697 CPPFLAGS
    698 LDFLAGS
    699 CFLAGS
    700 CC
    701 AM_BACKSLASH
    702 AM_DEFAULT_VERBOSITY
    703 AM_DEFAULT_V
    704 AM_V
    705 CSCOPE
    706 ETAGS
    707 CTAGS
    708 am__untar
    709 am__tar
    710 AMTAR
    711 am__leading_dot
    712 SET_MAKE
    713 AWK
    714 mkdir_p
    715 MKDIR_P
    716 INSTALL_STRIP_PROGRAM
    717 STRIP
    718 install_sh
    719 MAKEINFO
    720 AUTOHEADER
    721 AUTOMAKE
    722 AUTOCONF
    723 ACLOCAL
    724 VERSION
    725 PACKAGE
    726 CYGPATH_W
    727 am__isrc
    728 INSTALL_DATA
    729 INSTALL_SCRIPT
    730 INSTALL_PROGRAM
    731 target_alias
    732 host_alias
    733 build_alias
    734 LIBS
    735 ECHO_T
    736 ECHO_N
    737 ECHO_C
    738 DEFS
    739 mandir
    740 localedir
    741 libdir
    742 psdir
    743 pdfdir
    744 dvidir
    745 htmldir
    746 infodir
    747 docdir
    748 oldincludedir
    749 includedir
    750 runstatedir
    751 localstatedir
    752 sharedstatedir
    753 sysconfdir
    754 datadir
    755 datarootdir
    756 libexecdir
    757 sbindir
    758 bindir
    759 program_transform_name
    760 prefix
    761 exec_prefix
    762 PACKAGE_URL
    763 PACKAGE_BUGREPORT
    764 PACKAGE_STRING
    765 PACKAGE_VERSION
    766 PACKAGE_TARNAME
    767 PACKAGE_NAME
    768 PATH_SEPARATOR
    769 SHELL
    770 am__quote'
    771 ac_subst_files=''
    772 ac_user_opts='
    773 enable_option_checking
    774 enable_silent_rules
    775 enable_dependency_tracking
    776 enable_selective_werror
    777 enable_strict_compilation
    778 with_appdefaultdir
    779 '
    780       ac_precious_vars='build_alias
    781 host_alias
    782 target_alias
    783 CC
    784 CFLAGS
    785 LDFLAGS
    786 LIBS
    787 CPPFLAGS
    788 PKG_CONFIG
    789 PKG_CONFIG_PATH
    790 PKG_CONFIG_LIBDIR
    791 XMORE_CFLAGS
    792 XMORE_LIBS
    793 APPDEFS_CFLAGS
    794 APPDEFS_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 xmore 1.0.4 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/xmore]
   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 xmore 1.0.4:";;
   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 
   1435 Optional Packages:
   1436   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1437   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1438   --with-appdefaultdir=<pathname>
   1439                           specify directory for app-defaults files (default is
   1440                           autodetected)
   1441 
   1442 Some influential environment variables:
   1443   CC          C compiler command
   1444   CFLAGS      C compiler flags
   1445   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1446               nonstandard directory <lib dir>
   1447   LIBS        libraries to pass to the linker, e.g. -l<library>
   1448   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1449               you have headers in a nonstandard directory <include dir>
   1450   PKG_CONFIG  path to pkg-config utility
   1451   PKG_CONFIG_PATH
   1452               directories to add to pkg-config's search path
   1453   PKG_CONFIG_LIBDIR
   1454               path overriding pkg-config's built-in search path
   1455   XMORE_CFLAGS
   1456               C compiler flags for XMORE, overriding pkg-config
   1457   XMORE_LIBS  linker flags for XMORE, overriding pkg-config
   1458   APPDEFS_CFLAGS
   1459               C compiler flags for APPDEFS, overriding pkg-config
   1460   APPDEFS_LIBS
   1461               linker flags for APPDEFS, overriding pkg-config
   1462 
   1463 Use these variables to override the choices made by 'configure' or to help
   1464 it to find libraries and programs with nonstandard names/locations.
   1465 
   1466 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xmore/-/issues>.
   1467 _ACEOF
   1468 ac_status=$?
   1469 fi
   1470 
   1471 if test "$ac_init_help" = "recursive"; then
   1472   # If there are subdirs, report their specific --help.
   1473   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1474     test -d "$ac_dir" ||
   1475       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1476       continue
   1477     ac_builddir=.
   1478 
   1479 case "$ac_dir" in
   1480 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1481 *)
   1482   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1483   # A ".." for each directory in $ac_dir_suffix.
   1484   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1485   case $ac_top_builddir_sub in
   1486   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1487   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1488   esac ;;
   1489 esac
   1490 ac_abs_top_builddir=$ac_pwd
   1491 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1492 # for backward compatibility:
   1493 ac_top_builddir=$ac_top_build_prefix
   1494 
   1495 case $srcdir in
   1496   .)  # We are building in place.
   1497     ac_srcdir=.
   1498     ac_top_srcdir=$ac_top_builddir_sub
   1499     ac_abs_top_srcdir=$ac_pwd ;;
   1500   [\\/]* | ?:[\\/]* )  # Absolute name.
   1501     ac_srcdir=$srcdir$ac_dir_suffix;
   1502     ac_top_srcdir=$srcdir
   1503     ac_abs_top_srcdir=$srcdir ;;
   1504   *) # Relative name.
   1505     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1506     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1507     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1508 esac
   1509 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1510 
   1511     cd "$ac_dir" || { ac_status=$?; continue; }
   1512     # Check for configure.gnu first; this name is used for a wrapper for
   1513     # Metaconfig's "Configure" on case-insensitive file systems.
   1514     if test -f "$ac_srcdir/configure.gnu"; then
   1515       echo &&
   1516       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1517     elif test -f "$ac_srcdir/configure"; then
   1518       echo &&
   1519       $SHELL "$ac_srcdir/configure" --help=recursive
   1520     else
   1521       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1522     fi || ac_status=$?
   1523     cd "$ac_pwd" || { ac_status=$?; break; }
   1524   done
   1525 fi
   1526 
   1527 test -n "$ac_init_help" && exit $ac_status
   1528 if $ac_init_version; then
   1529   cat <<\_ACEOF
   1530 xmore configure 1.0.4
   1531 generated by GNU Autoconf 2.72
   1532 
   1533 Copyright (C) 2023 Free Software Foundation, Inc.
   1534 This configure script is free software; the Free Software Foundation
   1535 gives unlimited permission to copy, distribute and modify it.
   1536 _ACEOF
   1537   exit
   1538 fi
   1539 
   1540 ## ------------------------ ##
   1541 ## Autoconf initialization. ##
   1542 ## ------------------------ ##
   1543 
   1544 # ac_fn_c_try_compile LINENO
   1545 # --------------------------
   1546 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1547 ac_fn_c_try_compile ()
   1548 {
   1549   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1550   rm -f conftest.$ac_objext conftest.beam
   1551   if { { ac_try="$ac_compile"
   1552 case "(($ac_try" in
   1553   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1554   *) ac_try_echo=$ac_try;;
   1555 esac
   1556 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1557 printf "%s\n" "$ac_try_echo"; } >&5
   1558   (eval "$ac_compile") 2>conftest.err
   1559   ac_status=$?
   1560   if test -s conftest.err; then
   1561     grep -v '^ *+' conftest.err >conftest.er1
   1562     cat conftest.er1 >&5
   1563     mv -f conftest.er1 conftest.err
   1564   fi
   1565   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1566   test $ac_status = 0; } && {
   1567 	 test -z "$ac_c_werror_flag" ||
   1568 	 test ! -s conftest.err
   1569        } && test -s conftest.$ac_objext
   1570 then :
   1571   ac_retval=0
   1572 else case e in #(
   1573   e) printf "%s\n" "$as_me: failed program was:" >&5
   1574 sed 's/^/| /' conftest.$ac_ext >&5
   1575 
   1576 	ac_retval=1 ;;
   1577 esac
   1578 fi
   1579   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1580   as_fn_set_status $ac_retval
   1581 
   1582 } # ac_fn_c_try_compile
   1583 
   1584 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1585 # ------------------------------------------------------------------
   1586 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1587 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1588 ac_fn_check_decl ()
   1589 {
   1590   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1591   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1592   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1593 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1594 if eval test \${$3+y}
   1595 then :
   1596   printf %s "(cached) " >&6
   1597 else case e in #(
   1598   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1599   eval ac_save_FLAGS=\$$6
   1600   as_fn_append $6 " $5"
   1601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1602 /* end confdefs.h.  */
   1603 $4
   1604 int
   1605 main (void)
   1606 {
   1607 #ifndef $as_decl_name
   1608 #ifdef __cplusplus
   1609   (void) $as_decl_use;
   1610 #else
   1611   (void) $as_decl_name;
   1612 #endif
   1613 #endif
   1614 
   1615   ;
   1616   return 0;
   1617 }
   1618 _ACEOF
   1619 if ac_fn_c_try_compile "$LINENO"
   1620 then :
   1621   eval "$3=yes"
   1622 else case e in #(
   1623   e) eval "$3=no" ;;
   1624 esac
   1625 fi
   1626 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1627   eval $6=\$ac_save_FLAGS
   1628  ;;
   1629 esac
   1630 fi
   1631 eval ac_res=\$$3
   1632 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1633 printf "%s\n" "$ac_res" >&6; }
   1634   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1635 
   1636 } # ac_fn_check_decl
   1637 
   1638 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1639 # -------------------------------------------------------
   1640 # Tests whether HEADER exists and can be compiled using the include files in
   1641 # INCLUDES, setting the cache variable VAR accordingly.
   1642 ac_fn_c_check_header_compile ()
   1643 {
   1644   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1645   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1646 printf %s "checking for $2... " >&6; }
   1647 if eval test \${$3+y}
   1648 then :
   1649   printf %s "(cached) " >&6
   1650 else case e in #(
   1651   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1652 /* end confdefs.h.  */
   1653 $4
   1654 #include <$2>
   1655 _ACEOF
   1656 if ac_fn_c_try_compile "$LINENO"
   1657 then :
   1658   eval "$3=yes"
   1659 else case e in #(
   1660   e) eval "$3=no" ;;
   1661 esac
   1662 fi
   1663 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1664 esac
   1665 fi
   1666 eval ac_res=\$$3
   1667 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1668 printf "%s\n" "$ac_res" >&6; }
   1669   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1670 
   1671 } # ac_fn_c_check_header_compile
   1672 
   1673 # ac_fn_c_try_link LINENO
   1674 # -----------------------
   1675 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1676 ac_fn_c_try_link ()
   1677 {
   1678   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1679   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1680   if { { ac_try="$ac_link"
   1681 case "(($ac_try" in
   1682   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1683   *) ac_try_echo=$ac_try;;
   1684 esac
   1685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1686 printf "%s\n" "$ac_try_echo"; } >&5
   1687   (eval "$ac_link") 2>conftest.err
   1688   ac_status=$?
   1689   if test -s conftest.err; then
   1690     grep -v '^ *+' conftest.err >conftest.er1
   1691     cat conftest.er1 >&5
   1692     mv -f conftest.er1 conftest.err
   1693   fi
   1694   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1695   test $ac_status = 0; } && {
   1696 	 test -z "$ac_c_werror_flag" ||
   1697 	 test ! -s conftest.err
   1698        } && test -s conftest$ac_exeext && {
   1699 	 test "$cross_compiling" = yes ||
   1700 	 test -x conftest$ac_exeext
   1701        }
   1702 then :
   1703   ac_retval=0
   1704 else case e in #(
   1705   e) printf "%s\n" "$as_me: failed program was:" >&5
   1706 sed 's/^/| /' conftest.$ac_ext >&5
   1707 
   1708 	ac_retval=1 ;;
   1709 esac
   1710 fi
   1711   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1712   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1713   # interfere with the next link command; also delete a directory that is
   1714   # left behind by Apple's compiler.  We do this before executing the actions.
   1715   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1716   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1717   as_fn_set_status $ac_retval
   1718 
   1719 } # ac_fn_c_try_link
   1720 ac_configure_args_raw=
   1721 for ac_arg
   1722 do
   1723   case $ac_arg in
   1724   *\'*)
   1725     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1726   esac
   1727   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1728 done
   1729 
   1730 case $ac_configure_args_raw in
   1731   *$as_nl*)
   1732     ac_safe_unquote= ;;
   1733   *)
   1734     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1735     ac_unsafe_a="$ac_unsafe_z#~"
   1736     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1737     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1738 esac
   1739 
   1740 cat >config.log <<_ACEOF
   1741 This file contains any messages produced by compilers while
   1742 running configure, to aid debugging if configure makes a mistake.
   1743 
   1744 It was created by xmore $as_me 1.0.4, which was
   1745 generated by GNU Autoconf 2.72.  Invocation command line was
   1746 
   1747   $ $0$ac_configure_args_raw
   1748 
   1749 _ACEOF
   1750 exec 5>>config.log
   1751 {
   1752 cat <<_ASUNAME
   1753 ## --------- ##
   1754 ## Platform. ##
   1755 ## --------- ##
   1756 
   1757 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1758 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1759 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1760 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1761 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1762 
   1763 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1764 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1765 
   1766 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1767 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1768 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1769 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1770 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1771 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1772 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1773 
   1774 _ASUNAME
   1775 
   1776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1777 for as_dir in $PATH
   1778 do
   1779   IFS=$as_save_IFS
   1780   case $as_dir in #(((
   1781     '') as_dir=./ ;;
   1782     */) ;;
   1783     *) as_dir=$as_dir/ ;;
   1784   esac
   1785     printf "%s\n" "PATH: $as_dir"
   1786   done
   1787 IFS=$as_save_IFS
   1788 
   1789 } >&5
   1790 
   1791 cat >&5 <<_ACEOF
   1792 
   1793 
   1794 ## ----------- ##
   1795 ## Core tests. ##
   1796 ## ----------- ##
   1797 
   1798 _ACEOF
   1799 
   1800 
   1801 # Keep a trace of the command line.
   1802 # Strip out --no-create and --no-recursion so they do not pile up.
   1803 # Strip out --silent because we don't want to record it for future runs.
   1804 # Also quote any args containing shell meta-characters.
   1805 # Make two passes to allow for proper duplicate-argument suppression.
   1806 ac_configure_args=
   1807 ac_configure_args0=
   1808 ac_configure_args1=
   1809 ac_must_keep_next=false
   1810 for ac_pass in 1 2
   1811 do
   1812   for ac_arg
   1813   do
   1814     case $ac_arg in
   1815     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1816     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1817     | -silent | --silent | --silen | --sile | --sil)
   1818       continue ;;
   1819     *\'*)
   1820       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1821     esac
   1822     case $ac_pass in
   1823     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1824     2)
   1825       as_fn_append ac_configure_args1 " '$ac_arg'"
   1826       if test $ac_must_keep_next = true; then
   1827 	ac_must_keep_next=false # Got value, back to normal.
   1828       else
   1829 	case $ac_arg in
   1830 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1831 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1832 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1833 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1834 	    case "$ac_configure_args0 " in
   1835 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1836 	    esac
   1837 	    ;;
   1838 	  -* ) ac_must_keep_next=true ;;
   1839 	esac
   1840       fi
   1841       as_fn_append ac_configure_args " '$ac_arg'"
   1842       ;;
   1843     esac
   1844   done
   1845 done
   1846 { ac_configure_args0=; unset ac_configure_args0;}
   1847 { ac_configure_args1=; unset ac_configure_args1;}
   1848 
   1849 # When interrupted or exit'd, cleanup temporary files, and complete
   1850 # config.log.  We remove comments because anyway the quotes in there
   1851 # would cause problems or look ugly.
   1852 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1853 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1854 trap 'exit_status=$?
   1855   # Sanitize IFS.
   1856   IFS=" ""	$as_nl"
   1857   # Save into config.log some information that might help in debugging.
   1858   {
   1859     echo
   1860 
   1861     printf "%s\n" "## ---------------- ##
   1862 ## Cache variables. ##
   1863 ## ---------------- ##"
   1864     echo
   1865     # The following way of writing the cache mishandles newlines in values,
   1866 (
   1867   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1868     eval ac_val=\$$ac_var
   1869     case $ac_val in #(
   1870     *${as_nl}*)
   1871       case $ac_var in #(
   1872       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1873 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1874       esac
   1875       case $ac_var in #(
   1876       _ | IFS | as_nl) ;; #(
   1877       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1878       *) { eval $ac_var=; unset $ac_var;} ;;
   1879       esac ;;
   1880     esac
   1881   done
   1882   (set) 2>&1 |
   1883     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1884     *${as_nl}ac_space=\ *)
   1885       sed -n \
   1886 	"s/'\''/'\''\\\\'\'''\''/g;
   1887 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1888       ;; #(
   1889     *)
   1890       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1891       ;;
   1892     esac |
   1893     sort
   1894 )
   1895     echo
   1896 
   1897     printf "%s\n" "## ----------------- ##
   1898 ## Output variables. ##
   1899 ## ----------------- ##"
   1900     echo
   1901     for ac_var in $ac_subst_vars
   1902     do
   1903       eval ac_val=\$$ac_var
   1904       case $ac_val in
   1905       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1906       esac
   1907       printf "%s\n" "$ac_var='\''$ac_val'\''"
   1908     done | sort
   1909     echo
   1910 
   1911     if test -n "$ac_subst_files"; then
   1912       printf "%s\n" "## ------------------- ##
   1913 ## File substitutions. ##
   1914 ## ------------------- ##"
   1915       echo
   1916       for ac_var in $ac_subst_files
   1917       do
   1918 	eval ac_val=\$$ac_var
   1919 	case $ac_val in
   1920 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1921 	esac
   1922 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   1923       done | sort
   1924       echo
   1925     fi
   1926 
   1927     if test -s confdefs.h; then
   1928       printf "%s\n" "## ----------- ##
   1929 ## confdefs.h. ##
   1930 ## ----------- ##"
   1931       echo
   1932       cat confdefs.h
   1933       echo
   1934     fi
   1935     test "$ac_signal" != 0 &&
   1936       printf "%s\n" "$as_me: caught signal $ac_signal"
   1937     printf "%s\n" "$as_me: exit $exit_status"
   1938   } >&5
   1939   rm -f core *.core core.conftest.* &&
   1940     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1941     exit $exit_status
   1942 ' 0
   1943 for ac_signal in 1 2 13 15; do
   1944   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1945 done
   1946 ac_signal=0
   1947 
   1948 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1949 rm -f -r conftest* confdefs.h
   1950 
   1951 printf "%s\n" "/* confdefs.h */" > confdefs.h
   1952 
   1953 # Predefined preprocessor variables.
   1954 
   1955 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   1956 
   1957 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   1958 
   1959 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   1960 
   1961 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   1962 
   1963 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   1964 
   1965 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   1966 
   1967 
   1968 # Let the site file select an alternate cache file if it wants to.
   1969 # Prefer an explicitly selected file to automatically selected ones.
   1970 if test -n "$CONFIG_SITE"; then
   1971   ac_site_files="$CONFIG_SITE"
   1972 elif test "x$prefix" != xNONE; then
   1973   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   1974 else
   1975   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   1976 fi
   1977 
   1978 for ac_site_file in $ac_site_files
   1979 do
   1980   case $ac_site_file in #(
   1981   */*) :
   1982      ;; #(
   1983   *) :
   1984     ac_site_file=./$ac_site_file ;;
   1985 esac
   1986   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   1987     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   1988 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   1989     sed 's/^/| /' "$ac_site_file" >&5
   1990     . "$ac_site_file" \
   1991       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   1992 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   1993 as_fn_error $? "failed to load site script $ac_site_file
   1994 See 'config.log' for more details" "$LINENO" 5; }
   1995   fi
   1996 done
   1997 
   1998 if test -r "$cache_file"; then
   1999   # Some versions of bash will fail to source /dev/null (special files
   2000   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2001   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2002     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2003 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2004     case $cache_file in
   2005       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2006       *)                      . "./$cache_file";;
   2007     esac
   2008   fi
   2009 else
   2010   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2011 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2012   >$cache_file
   2013 fi
   2014 
   2015 # Test code for whether the C compiler supports C89 (global declarations)
   2016 ac_c_conftest_c89_globals='
   2017 /* Does the compiler advertise C89 conformance?
   2018    Do not test the value of __STDC__, because some compilers set it to 0
   2019    while being otherwise adequately conformant. */
   2020 #if !defined __STDC__
   2021 # error "Compiler does not advertise C89 conformance"
   2022 #endif
   2023 
   2024 #include <stddef.h>
   2025 #include <stdarg.h>
   2026 struct stat;
   2027 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2028 struct buf { int x; };
   2029 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2030 static char *e (char **p, int i)
   2031 {
   2032   return p[i];
   2033 }
   2034 static char *f (char * (*g) (char **, int), char **p, ...)
   2035 {
   2036   char *s;
   2037   va_list v;
   2038   va_start (v,p);
   2039   s = g (p, va_arg (v,int));
   2040   va_end (v);
   2041   return s;
   2042 }
   2043 
   2044 /* C89 style stringification. */
   2045 #define noexpand_stringify(a) #a
   2046 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2047 
   2048 /* C89 style token pasting.  Exercises some of the corner cases that
   2049    e.g. old MSVC gets wrong, but not very hard. */
   2050 #define noexpand_concat(a,b) a##b
   2051 #define expand_concat(a,b) noexpand_concat(a,b)
   2052 extern int vA;
   2053 extern int vbee;
   2054 #define aye A
   2055 #define bee B
   2056 int *pvA = &expand_concat(v,aye);
   2057 int *pvbee = &noexpand_concat(v,bee);
   2058 
   2059 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2060    function prototypes and stuff, but not \xHH hex character constants.
   2061    These do not provoke an error unfortunately, instead are silently treated
   2062    as an "x".  The following induces an error, until -std is added to get
   2063    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2064    array size at least.  It is necessary to write \x00 == 0 to get something
   2065    that is true only with -std.  */
   2066 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2067 
   2068 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2069    inside strings and character constants.  */
   2070 #define FOO(x) '\''x'\''
   2071 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2072 
   2073 int test (int i, double x);
   2074 struct s1 {int (*f) (int a);};
   2075 struct s2 {int (*f) (double a);};
   2076 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2077                int, int);'
   2078 
   2079 # Test code for whether the C compiler supports C89 (body of main).
   2080 ac_c_conftest_c89_main='
   2081 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2082 '
   2083 
   2084 # Test code for whether the C compiler supports C99 (global declarations)
   2085 ac_c_conftest_c99_globals='
   2086 /* Does the compiler advertise C99 conformance? */
   2087 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2088 # error "Compiler does not advertise C99 conformance"
   2089 #endif
   2090 
   2091 // See if C++-style comments work.
   2092 
   2093 #include <stdbool.h>
   2094 extern int puts (const char *);
   2095 extern int printf (const char *, ...);
   2096 extern int dprintf (int, const char *, ...);
   2097 extern void *malloc (size_t);
   2098 extern void free (void *);
   2099 
   2100 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2101 // dprintf is used instead of fprintf to avoid needing to declare
   2102 // FILE and stderr.
   2103 #define debug(...) dprintf (2, __VA_ARGS__)
   2104 #define showlist(...) puts (#__VA_ARGS__)
   2105 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2106 static void
   2107 test_varargs_macros (void)
   2108 {
   2109   int x = 1234;
   2110   int y = 5678;
   2111   debug ("Flag");
   2112   debug ("X = %d\n", x);
   2113   showlist (The first, second, and third items.);
   2114   report (x>y, "x is %d but y is %d", x, y);
   2115 }
   2116 
   2117 // Check long long types.
   2118 #define BIG64 18446744073709551615ull
   2119 #define BIG32 4294967295ul
   2120 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2121 #if !BIG_OK
   2122   #error "your preprocessor is broken"
   2123 #endif
   2124 #if BIG_OK
   2125 #else
   2126   #error "your preprocessor is broken"
   2127 #endif
   2128 static long long int bignum = -9223372036854775807LL;
   2129 static unsigned long long int ubignum = BIG64;
   2130 
   2131 struct incomplete_array
   2132 {
   2133   int datasize;
   2134   double data[];
   2135 };
   2136 
   2137 struct named_init {
   2138   int number;
   2139   const wchar_t *name;
   2140   double average;
   2141 };
   2142 
   2143 typedef const char *ccp;
   2144 
   2145 static inline int
   2146 test_restrict (ccp restrict text)
   2147 {
   2148   // Iterate through items via the restricted pointer.
   2149   // Also check for declarations in for loops.
   2150   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2151     continue;
   2152   return 0;
   2153 }
   2154 
   2155 // Check varargs and va_copy.
   2156 static bool
   2157 test_varargs (const char *format, ...)
   2158 {
   2159   va_list args;
   2160   va_start (args, format);
   2161   va_list args_copy;
   2162   va_copy (args_copy, args);
   2163 
   2164   const char *str = "";
   2165   int number = 0;
   2166   float fnumber = 0;
   2167 
   2168   while (*format)
   2169     {
   2170       switch (*format++)
   2171 	{
   2172 	case '\''s'\'': // string
   2173 	  str = va_arg (args_copy, const char *);
   2174 	  break;
   2175 	case '\''d'\'': // int
   2176 	  number = va_arg (args_copy, int);
   2177 	  break;
   2178 	case '\''f'\'': // float
   2179 	  fnumber = va_arg (args_copy, double);
   2180 	  break;
   2181 	default:
   2182 	  break;
   2183 	}
   2184     }
   2185   va_end (args_copy);
   2186   va_end (args);
   2187 
   2188   return *str && number && fnumber;
   2189 }
   2190 '
   2191 
   2192 # Test code for whether the C compiler supports C99 (body of main).
   2193 ac_c_conftest_c99_main='
   2194   // Check bool.
   2195   _Bool success = false;
   2196   success |= (argc != 0);
   2197 
   2198   // Check restrict.
   2199   if (test_restrict ("String literal") == 0)
   2200     success = true;
   2201   char *restrict newvar = "Another string";
   2202 
   2203   // Check varargs.
   2204   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2205   test_varargs_macros ();
   2206 
   2207   // Check flexible array members.
   2208   struct incomplete_array *ia =
   2209     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2210   ia->datasize = 10;
   2211   for (int i = 0; i < ia->datasize; ++i)
   2212     ia->data[i] = i * 1.234;
   2213   // Work around memory leak warnings.
   2214   free (ia);
   2215 
   2216   // Check named initializers.
   2217   struct named_init ni = {
   2218     .number = 34,
   2219     .name = L"Test wide string",
   2220     .average = 543.34343,
   2221   };
   2222 
   2223   ni.number = 58;
   2224 
   2225   int dynamic_array[ni.number];
   2226   dynamic_array[0] = argv[0][0];
   2227   dynamic_array[ni.number - 1] = 543;
   2228 
   2229   // work around unused variable warnings
   2230   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2231 	 || dynamic_array[ni.number - 1] != 543);
   2232 '
   2233 
   2234 # Test code for whether the C compiler supports C11 (global declarations)
   2235 ac_c_conftest_c11_globals='
   2236 /* Does the compiler advertise C11 conformance? */
   2237 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2238 # error "Compiler does not advertise C11 conformance"
   2239 #endif
   2240 
   2241 // Check _Alignas.
   2242 char _Alignas (double) aligned_as_double;
   2243 char _Alignas (0) no_special_alignment;
   2244 extern char aligned_as_int;
   2245 char _Alignas (0) _Alignas (int) aligned_as_int;
   2246 
   2247 // Check _Alignof.
   2248 enum
   2249 {
   2250   int_alignment = _Alignof (int),
   2251   int_array_alignment = _Alignof (int[100]),
   2252   char_alignment = _Alignof (char)
   2253 };
   2254 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2255 
   2256 // Check _Noreturn.
   2257 int _Noreturn does_not_return (void) { for (;;) continue; }
   2258 
   2259 // Check _Static_assert.
   2260 struct test_static_assert
   2261 {
   2262   int x;
   2263   _Static_assert (sizeof (int) <= sizeof (long int),
   2264                   "_Static_assert does not work in struct");
   2265   long int y;
   2266 };
   2267 
   2268 // Check UTF-8 literals.
   2269 #define u8 syntax error!
   2270 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2271 
   2272 // Check duplicate typedefs.
   2273 typedef long *long_ptr;
   2274 typedef long int *long_ptr;
   2275 typedef long_ptr long_ptr;
   2276 
   2277 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2278 struct anonymous
   2279 {
   2280   union {
   2281     struct { int i; int j; };
   2282     struct { int k; long int l; } w;
   2283   };
   2284   int m;
   2285 } v1;
   2286 '
   2287 
   2288 # Test code for whether the C compiler supports C11 (body of main).
   2289 ac_c_conftest_c11_main='
   2290   _Static_assert ((offsetof (struct anonymous, i)
   2291 		   == offsetof (struct anonymous, w.k)),
   2292 		  "Anonymous union alignment botch");
   2293   v1.i = 2;
   2294   v1.w.k = 5;
   2295   ok |= v1.i != 5;
   2296 '
   2297 
   2298 # Test code for whether the C compiler supports C11 (complete).
   2299 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2300 ${ac_c_conftest_c99_globals}
   2301 ${ac_c_conftest_c11_globals}
   2302 
   2303 int
   2304 main (int argc, char **argv)
   2305 {
   2306   int ok = 0;
   2307   ${ac_c_conftest_c89_main}
   2308   ${ac_c_conftest_c99_main}
   2309   ${ac_c_conftest_c11_main}
   2310   return ok;
   2311 }
   2312 "
   2313 
   2314 # Test code for whether the C compiler supports C99 (complete).
   2315 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2316 ${ac_c_conftest_c99_globals}
   2317 
   2318 int
   2319 main (int argc, char **argv)
   2320 {
   2321   int ok = 0;
   2322   ${ac_c_conftest_c89_main}
   2323   ${ac_c_conftest_c99_main}
   2324   return ok;
   2325 }
   2326 "
   2327 
   2328 # Test code for whether the C compiler supports C89 (complete).
   2329 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2330 
   2331 int
   2332 main (int argc, char **argv)
   2333 {
   2334   int ok = 0;
   2335   ${ac_c_conftest_c89_main}
   2336   return ok;
   2337 }
   2338 "
   2339 
   2340 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2341 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2342 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2343 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2344 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2345 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2346 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2347 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2348 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2349 
   2350 # Auxiliary files required by this configure script.
   2351 ac_aux_files="config.guess config.sub compile missing install-sh"
   2352 
   2353 # Locations in which to look for auxiliary files.
   2354 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2355 
   2356 # Search for a directory containing all of the required auxiliary files,
   2357 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2358 # If we don't find one directory that contains all the files we need,
   2359 # we report the set of missing files from the *first* directory in
   2360 # $ac_aux_dir_candidates and give up.
   2361 ac_missing_aux_files=""
   2362 ac_first_candidate=:
   2363 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2365 as_found=false
   2366 for as_dir in $ac_aux_dir_candidates
   2367 do
   2368   IFS=$as_save_IFS
   2369   case $as_dir in #(((
   2370     '') as_dir=./ ;;
   2371     */) ;;
   2372     *) as_dir=$as_dir/ ;;
   2373   esac
   2374   as_found=:
   2375 
   2376   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2377   ac_aux_dir_found=yes
   2378   ac_install_sh=
   2379   for ac_aux in $ac_aux_files
   2380   do
   2381     # As a special case, if "install-sh" is required, that requirement
   2382     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2383     # and $ac_install_sh is set appropriately for whichever one is found.
   2384     if test x"$ac_aux" = x"install-sh"
   2385     then
   2386       if test -f "${as_dir}install-sh"; then
   2387         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2388         ac_install_sh="${as_dir}install-sh -c"
   2389       elif test -f "${as_dir}install.sh"; then
   2390         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2391         ac_install_sh="${as_dir}install.sh -c"
   2392       elif test -f "${as_dir}shtool"; then
   2393         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2394         ac_install_sh="${as_dir}shtool install -c"
   2395       else
   2396         ac_aux_dir_found=no
   2397         if $ac_first_candidate; then
   2398           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2399         else
   2400           break
   2401         fi
   2402       fi
   2403     else
   2404       if test -f "${as_dir}${ac_aux}"; then
   2405         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2406       else
   2407         ac_aux_dir_found=no
   2408         if $ac_first_candidate; then
   2409           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2410         else
   2411           break
   2412         fi
   2413       fi
   2414     fi
   2415   done
   2416   if test "$ac_aux_dir_found" = yes; then
   2417     ac_aux_dir="$as_dir"
   2418     break
   2419   fi
   2420   ac_first_candidate=false
   2421 
   2422   as_found=false
   2423 done
   2424 IFS=$as_save_IFS
   2425 if $as_found
   2426 then :
   2427 
   2428 else case e in #(
   2429   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2430 esac
   2431 fi
   2432 
   2433 
   2434 # These three variables are undocumented and unsupported,
   2435 # and are intended to be withdrawn in a future Autoconf release.
   2436 # They can cause serious problems if a builder's source tree is in a directory
   2437 # whose full name contains unusual characters.
   2438 if test -f "${ac_aux_dir}config.guess"; then
   2439   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2440 fi
   2441 if test -f "${ac_aux_dir}config.sub"; then
   2442   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2443 fi
   2444 if test -f "$ac_aux_dir/configure"; then
   2445   ac_configure="$SHELL ${ac_aux_dir}configure"
   2446 fi
   2447 
   2448 # Check that the precious variables saved in the cache have kept the same
   2449 # value.
   2450 ac_cache_corrupted=false
   2451 for ac_var in $ac_precious_vars; do
   2452   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2453   eval ac_new_set=\$ac_env_${ac_var}_set
   2454   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2455   eval ac_new_val=\$ac_env_${ac_var}_value
   2456   case $ac_old_set,$ac_new_set in
   2457     set,)
   2458       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2459 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2460       ac_cache_corrupted=: ;;
   2461     ,set)
   2462       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2463 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2464       ac_cache_corrupted=: ;;
   2465     ,);;
   2466     *)
   2467       if test "x$ac_old_val" != "x$ac_new_val"; then
   2468 	# differences in whitespace do not lead to failure.
   2469 	ac_old_val_w=`echo x $ac_old_val`
   2470 	ac_new_val_w=`echo x $ac_new_val`
   2471 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2472 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2473 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2474 	  ac_cache_corrupted=:
   2475 	else
   2476 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2477 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2478 	  eval $ac_var=\$ac_old_val
   2479 	fi
   2480 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2481 printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
   2482 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2483 printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
   2484       fi;;
   2485   esac
   2486   # Pass precious variables to config.status.
   2487   if test "$ac_new_set" = set; then
   2488     case $ac_new_val in
   2489     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2490     *) ac_arg=$ac_var=$ac_new_val ;;
   2491     esac
   2492     case " $ac_configure_args " in
   2493       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2494       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2495     esac
   2496   fi
   2497 done
   2498 if $ac_cache_corrupted; then
   2499   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2500 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2501   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2502 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2503   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2504 	    and start over" "$LINENO" 5
   2505 fi
   2506 ## -------------------- ##
   2507 ## Main body of script. ##
   2508 ## -------------------- ##
   2509 
   2510 ac_ext=c
   2511 ac_cpp='$CPP $CPPFLAGS'
   2512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2515 
   2516 
   2517 am__api_version='1.16'
   2518 
   2519 
   2520 
   2521   # Find a good install program.  We prefer a C program (faster),
   2522 # so one script is as good as another.  But avoid the broken or
   2523 # incompatible versions:
   2524 # SysV /etc/install, /usr/sbin/install
   2525 # SunOS /usr/etc/install
   2526 # IRIX /sbin/install
   2527 # AIX /bin/install
   2528 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2529 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2530 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2531 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2532 # OS/2's system install, which has a completely different semantic
   2533 # ./install, which can be erroneously created by make from ./install.sh.
   2534 # Reject install programs that cannot install multiple files.
   2535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2536 printf %s "checking for a BSD-compatible install... " >&6; }
   2537 if test -z "$INSTALL"; then
   2538 if test ${ac_cv_path_install+y}
   2539 then :
   2540   printf %s "(cached) " >&6
   2541 else case e in #(
   2542   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2543 for as_dir in $PATH
   2544 do
   2545   IFS=$as_save_IFS
   2546   case $as_dir in #(((
   2547     '') as_dir=./ ;;
   2548     */) ;;
   2549     *) as_dir=$as_dir/ ;;
   2550   esac
   2551     # Account for fact that we put trailing slashes in our PATH walk.
   2552 case $as_dir in #((
   2553   ./ | /[cC]/* | \
   2554   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2555   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2556   /usr/ucb/* ) ;;
   2557   *)
   2558     # OSF1 and SCO ODT 3.0 have their own names for install.
   2559     # Don't use installbsd from OSF since it installs stuff as root
   2560     # by default.
   2561     for ac_prog in ginstall scoinst install; do
   2562       for ac_exec_ext in '' $ac_executable_extensions; do
   2563 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2564 	  if test $ac_prog = install &&
   2565 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2566 	    # AIX install.  It has an incompatible calling convention.
   2567 	    :
   2568 	  elif test $ac_prog = install &&
   2569 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2570 	    # program-specific install script used by HP pwplus--don't use.
   2571 	    :
   2572 	  else
   2573 	    rm -rf conftest.one conftest.two conftest.dir
   2574 	    echo one > conftest.one
   2575 	    echo two > conftest.two
   2576 	    mkdir conftest.dir
   2577 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2578 	      test -s conftest.one && test -s conftest.two &&
   2579 	      test -s conftest.dir/conftest.one &&
   2580 	      test -s conftest.dir/conftest.two
   2581 	    then
   2582 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2583 	      break 3
   2584 	    fi
   2585 	  fi
   2586 	fi
   2587       done
   2588     done
   2589     ;;
   2590 esac
   2591 
   2592   done
   2593 IFS=$as_save_IFS
   2594 
   2595 rm -rf conftest.one conftest.two conftest.dir
   2596  ;;
   2597 esac
   2598 fi
   2599   if test ${ac_cv_path_install+y}; then
   2600     INSTALL=$ac_cv_path_install
   2601   else
   2602     # As a last resort, use the slow shell script.  Don't cache a
   2603     # value for INSTALL within a source directory, because that will
   2604     # break other packages using the cache if that directory is
   2605     # removed, or if the value is a relative name.
   2606     INSTALL=$ac_install_sh
   2607   fi
   2608 fi
   2609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2610 printf "%s\n" "$INSTALL" >&6; }
   2611 
   2612 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2613 # It thinks the first close brace ends the variable substitution.
   2614 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2615 
   2616 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2617 
   2618 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2619 
   2620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2621 printf %s "checking whether build environment is sane... " >&6; }
   2622 # Reject unsafe characters in $srcdir or the absolute working directory
   2623 # name.  Accept space and tab only in the latter.
   2624 am_lf='
   2625 '
   2626 case `pwd` in
   2627   *[\\\"\#\$\&\'\`$am_lf]*)
   2628     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2629 esac
   2630 case $srcdir in
   2631   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2632     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2633 esac
   2634 
   2635 # Do 'set' in a subshell so we don't clobber the current shell's
   2636 # arguments.  Must try -L first in case configure is actually a
   2637 # symlink; some systems play weird games with the mod time of symlinks
   2638 # (eg FreeBSD returns the mod time of the symlink's containing
   2639 # directory).
   2640 if (
   2641    am_has_slept=no
   2642    for am_try in 1 2; do
   2643      echo "timestamp, slept: $am_has_slept" > conftest.file
   2644      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2645      if test "$*" = "X"; then
   2646 	# -L didn't work.
   2647 	set X `ls -t "$srcdir/configure" conftest.file`
   2648      fi
   2649      if test "$*" != "X $srcdir/configure conftest.file" \
   2650 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2651 
   2652 	# If neither matched, then we have a broken ls.  This can happen
   2653 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2654 	# broken ls alias from the environment.  This has actually
   2655 	# happened.  Such a system could not be considered "sane".
   2656 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2657   alias in your environment" "$LINENO" 5
   2658      fi
   2659      if test "$2" = conftest.file || test $am_try -eq 2; then
   2660        break
   2661      fi
   2662      # Just in case.
   2663      sleep 1
   2664      am_has_slept=yes
   2665    done
   2666    test "$2" = conftest.file
   2667    )
   2668 then
   2669    # Ok.
   2670    :
   2671 else
   2672    as_fn_error $? "newly created file is older than distributed files!
   2673 Check your system clock" "$LINENO" 5
   2674 fi
   2675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2676 printf "%s\n" "yes" >&6; }
   2677 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2678 # generated files are strictly newer.
   2679 am_sleep_pid=
   2680 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2681   ( sleep 1 ) &
   2682   am_sleep_pid=$!
   2683 fi
   2684 
   2685 rm -f conftest.file
   2686 
   2687 test "$program_prefix" != NONE &&
   2688   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2689 # Use a double $ so make ignores it.
   2690 test "$program_suffix" != NONE &&
   2691   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2692 # Double any \ or $.
   2693 # By default was 's,x,x', remove it if useless.
   2694 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2695 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2696 
   2697 
   2698 # Expand $ac_aux_dir to an absolute path.
   2699 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2700 
   2701 
   2702   if test x"${MISSING+set}" != xset; then
   2703   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2704 fi
   2705 # Use eval to expand $SHELL
   2706 if eval "$MISSING --is-lightweight"; then
   2707   am_missing_run="$MISSING "
   2708 else
   2709   am_missing_run=
   2710   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2711 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2712 fi
   2713 
   2714 if test x"${install_sh+set}" != xset; then
   2715   case $am_aux_dir in
   2716   *\ * | *\	*)
   2717     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2718   *)
   2719     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2720   esac
   2721 fi
   2722 
   2723 # Installed binaries are usually stripped using 'strip' when the user
   2724 # run "make install-strip".  However 'strip' might not be the right
   2725 # tool to use in cross-compilation environments, therefore Automake
   2726 # will honor the 'STRIP' environment variable to overrule this program.
   2727 if test "$cross_compiling" != no; then
   2728   if test -n "$ac_tool_prefix"; then
   2729   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2730 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2732 printf %s "checking for $ac_word... " >&6; }
   2733 if test ${ac_cv_prog_STRIP+y}
   2734 then :
   2735   printf %s "(cached) " >&6
   2736 else case e in #(
   2737   e) if test -n "$STRIP"; then
   2738   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2739 else
   2740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2741 for as_dir in $PATH
   2742 do
   2743   IFS=$as_save_IFS
   2744   case $as_dir in #(((
   2745     '') as_dir=./ ;;
   2746     */) ;;
   2747     *) as_dir=$as_dir/ ;;
   2748   esac
   2749     for ac_exec_ext in '' $ac_executable_extensions; do
   2750   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2751     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2752     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2753     break 2
   2754   fi
   2755 done
   2756   done
   2757 IFS=$as_save_IFS
   2758 
   2759 fi ;;
   2760 esac
   2761 fi
   2762 STRIP=$ac_cv_prog_STRIP
   2763 if test -n "$STRIP"; then
   2764   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2765 printf "%s\n" "$STRIP" >&6; }
   2766 else
   2767   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2768 printf "%s\n" "no" >&6; }
   2769 fi
   2770 
   2771 
   2772 fi
   2773 if test -z "$ac_cv_prog_STRIP"; then
   2774   ac_ct_STRIP=$STRIP
   2775   # Extract the first word of "strip", so it can be a program name with args.
   2776 set dummy strip; ac_word=$2
   2777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2778 printf %s "checking for $ac_word... " >&6; }
   2779 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2780 then :
   2781   printf %s "(cached) " >&6
   2782 else case e in #(
   2783   e) if test -n "$ac_ct_STRIP"; then
   2784   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2785 else
   2786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2787 for as_dir in $PATH
   2788 do
   2789   IFS=$as_save_IFS
   2790   case $as_dir in #(((
   2791     '') as_dir=./ ;;
   2792     */) ;;
   2793     *) as_dir=$as_dir/ ;;
   2794   esac
   2795     for ac_exec_ext in '' $ac_executable_extensions; do
   2796   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2797     ac_cv_prog_ac_ct_STRIP="strip"
   2798     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2799     break 2
   2800   fi
   2801 done
   2802   done
   2803 IFS=$as_save_IFS
   2804 
   2805 fi ;;
   2806 esac
   2807 fi
   2808 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2809 if test -n "$ac_ct_STRIP"; then
   2810   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2811 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2812 else
   2813   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2814 printf "%s\n" "no" >&6; }
   2815 fi
   2816 
   2817   if test "x$ac_ct_STRIP" = x; then
   2818     STRIP=":"
   2819   else
   2820     case $cross_compiling:$ac_tool_warned in
   2821 yes:)
   2822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2823 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2824 ac_tool_warned=yes ;;
   2825 esac
   2826     STRIP=$ac_ct_STRIP
   2827   fi
   2828 else
   2829   STRIP="$ac_cv_prog_STRIP"
   2830 fi
   2831 
   2832 fi
   2833 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2834 
   2835 
   2836   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   2837 printf %s "checking for a race-free mkdir -p... " >&6; }
   2838 if test -z "$MKDIR_P"; then
   2839   if test ${ac_cv_path_mkdir+y}
   2840 then :
   2841   printf %s "(cached) " >&6
   2842 else case e in #(
   2843   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2844 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2845 do
   2846   IFS=$as_save_IFS
   2847   case $as_dir in #(((
   2848     '') as_dir=./ ;;
   2849     */) ;;
   2850     *) as_dir=$as_dir/ ;;
   2851   esac
   2852     for ac_prog in mkdir gmkdir; do
   2853 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2854 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   2855 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2856 	     'mkdir ('*'coreutils) '* | \
   2857 	     *'BusyBox '* | \
   2858 	     'mkdir (fileutils) '4.1*)
   2859 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   2860 	       break 3;;
   2861 	   esac
   2862 	 done
   2863        done
   2864   done
   2865 IFS=$as_save_IFS
   2866  ;;
   2867 esac
   2868 fi
   2869 
   2870   test -d ./--version && rmdir ./--version
   2871   if test ${ac_cv_path_mkdir+y}; then
   2872     MKDIR_P="$ac_cv_path_mkdir -p"
   2873   else
   2874     # As a last resort, use plain mkdir -p,
   2875     # in the hope it doesn't have the bugs of ancient mkdir.
   2876     MKDIR_P='mkdir -p'
   2877   fi
   2878 fi
   2879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2880 printf "%s\n" "$MKDIR_P" >&6; }
   2881 
   2882 for ac_prog in gawk mawk nawk awk
   2883 do
   2884   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2885 set dummy $ac_prog; ac_word=$2
   2886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2887 printf %s "checking for $ac_word... " >&6; }
   2888 if test ${ac_cv_prog_AWK+y}
   2889 then :
   2890   printf %s "(cached) " >&6
   2891 else case e in #(
   2892   e) if test -n "$AWK"; then
   2893   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2894 else
   2895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2896 for as_dir in $PATH
   2897 do
   2898   IFS=$as_save_IFS
   2899   case $as_dir in #(((
   2900     '') as_dir=./ ;;
   2901     */) ;;
   2902     *) as_dir=$as_dir/ ;;
   2903   esac
   2904     for ac_exec_ext in '' $ac_executable_extensions; do
   2905   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2906     ac_cv_prog_AWK="$ac_prog"
   2907     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2908     break 2
   2909   fi
   2910 done
   2911   done
   2912 IFS=$as_save_IFS
   2913 
   2914 fi ;;
   2915 esac
   2916 fi
   2917 AWK=$ac_cv_prog_AWK
   2918 if test -n "$AWK"; then
   2919   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2920 printf "%s\n" "$AWK" >&6; }
   2921 else
   2922   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2923 printf "%s\n" "no" >&6; }
   2924 fi
   2925 
   2926 
   2927   test -n "$AWK" && break
   2928 done
   2929 
   2930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2931 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2932 set x ${MAKE-make}
   2933 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2934 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   2935 then :
   2936   printf %s "(cached) " >&6
   2937 else case e in #(
   2938   e) cat >conftest.make <<\_ACEOF
   2939 SHELL = /bin/sh
   2940 all:
   2941 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2942 _ACEOF
   2943 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2944 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2945   *@@@%%%=?*=@@@%%%*)
   2946     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2947   *)
   2948     eval ac_cv_prog_make_${ac_make}_set=no;;
   2949 esac
   2950 rm -f conftest.make ;;
   2951 esac
   2952 fi
   2953 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2954   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2955 printf "%s\n" "yes" >&6; }
   2956   SET_MAKE=
   2957 else
   2958   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2959 printf "%s\n" "no" >&6; }
   2960   SET_MAKE="MAKE=${MAKE-make}"
   2961 fi
   2962 
   2963 rm -rf .tst 2>/dev/null
   2964 mkdir .tst 2>/dev/null
   2965 if test -d .tst; then
   2966   am__leading_dot=.
   2967 else
   2968   am__leading_dot=_
   2969 fi
   2970 rmdir .tst 2>/dev/null
   2971 
   2972 # Check whether --enable-silent-rules was given.
   2973 if test ${enable_silent_rules+y}
   2974 then :
   2975   enableval=$enable_silent_rules;
   2976 fi
   2977 
   2978 case $enable_silent_rules in # (((
   2979   yes) AM_DEFAULT_VERBOSITY=0;;
   2980    no) AM_DEFAULT_VERBOSITY=1;;
   2981     *) AM_DEFAULT_VERBOSITY=1;;
   2982 esac
   2983 am_make=${MAKE-make}
   2984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2985 printf %s "checking whether $am_make supports nested variables... " >&6; }
   2986 if test ${am_cv_make_support_nested_variables+y}
   2987 then :
   2988   printf %s "(cached) " >&6
   2989 else case e in #(
   2990   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   2991 BAR0=false
   2992 BAR1=true
   2993 V=1
   2994 am__doit:
   2995 	@$(TRUE)
   2996 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2997   am_cv_make_support_nested_variables=yes
   2998 else
   2999   am_cv_make_support_nested_variables=no
   3000 fi ;;
   3001 esac
   3002 fi
   3003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3004 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3005 if test $am_cv_make_support_nested_variables = yes; then
   3006     AM_V='$(V)'
   3007   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3008 else
   3009   AM_V=$AM_DEFAULT_VERBOSITY
   3010   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3011 fi
   3012 AM_BACKSLASH='\'
   3013 
   3014 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3015   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3016   # is not polluted with repeated "-I."
   3017   am__isrc=' -I$(srcdir)'
   3018   # test to see if srcdir already configured
   3019   if test -f $srcdir/config.status; then
   3020     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3021   fi
   3022 fi
   3023 
   3024 # test whether we have cygpath
   3025 if test -z "$CYGPATH_W"; then
   3026   if (cygpath --version) >/dev/null 2>/dev/null; then
   3027     CYGPATH_W='cygpath -w'
   3028   else
   3029     CYGPATH_W=echo
   3030   fi
   3031 fi
   3032 
   3033 
   3034 # Define the identity of the package.
   3035  PACKAGE='xmore'
   3036  VERSION='1.0.4'
   3037 
   3038 
   3039 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3040 
   3041 
   3042 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3043 
   3044 # Some tools Automake needs.
   3045 
   3046 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3047 
   3048 
   3049 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3050 
   3051 
   3052 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3053 
   3054 
   3055 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3056 
   3057 
   3058 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3059 
   3060 # For better backward compatibility.  To be removed once Automake 1.9.x
   3061 # dies out for good.  For more background, see:
   3062 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3063 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3064 mkdir_p='$(MKDIR_P)'
   3065 
   3066 # We need awk for the "check" target (and possibly the TAP driver).  The
   3067 # system "awk" is bad on some platforms.
   3068 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3069 # in the wild :-(  We should find a proper way to deprecate it ...
   3070 AMTAR='$${TAR-tar}'
   3071 
   3072 
   3073 # We'll loop over all known methods to create a tar archive until one works.
   3074 _am_tools='gnutar  pax cpio none'
   3075 
   3076 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3077 
   3078 
   3079 
   3080 
   3081 
   3082 # Variables for tags utilities; see am/tags.am
   3083 if test -z "$CTAGS"; then
   3084   CTAGS=ctags
   3085 fi
   3086 
   3087 if test -z "$ETAGS"; then
   3088   ETAGS=etags
   3089 fi
   3090 
   3091 if test -z "$CSCOPE"; then
   3092   CSCOPE=cscope
   3093 fi
   3094 
   3095 
   3096 
   3097 # POSIX will say in a future version that running "rm -f" with no argument
   3098 # is OK; and we want to be able to make that assumption in our Makefile
   3099 # recipes.  So use an aggressive probe to check that the usage we want is
   3100 # actually supported "in the wild" to an acceptable degree.
   3101 # See automake bug#10828.
   3102 # To make any issue more visible, cause the running configure to be aborted
   3103 # by default if the 'rm' program in use doesn't match our expectations; the
   3104 # user can still override this though.
   3105 if rm -f && rm -fr && rm -rf; then : OK; else
   3106   cat >&2 <<'END'
   3107 Oops!
   3108 
   3109 Your 'rm' program seems unable to run without file operands specified
   3110 on the command line, even when the '-f' option is present.  This is contrary
   3111 to the behaviour of most rm programs out there, and not conforming with
   3112 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3113 
   3114 Please tell bug-automake@gnu.org about your system, including the value
   3115 of your $PATH and any error possibly output before this message.  This
   3116 can help us improve future automake versions.
   3117 
   3118 END
   3119   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3120     echo 'Configuration will proceed anyway, since you have set the' >&2
   3121     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3122     echo >&2
   3123   else
   3124     cat >&2 <<'END'
   3125 Aborting the configuration process, to ensure you take notice of the issue.
   3126 
   3127 You can download and install GNU coreutils to get an 'rm' implementation
   3128 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3129 
   3130 If you want to complete the configuration process using your problematic
   3131 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3132 to "yes", and re-run configure.
   3133 
   3134 END
   3135     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3136   fi
   3137 fi
   3138 
   3139 
   3140 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   3141 
   3142 
   3143 
   3144 
   3145 
   3146 
   3147 
   3148 
   3149 
   3150 
   3151 
   3152 
   3153 
   3154 
   3155 
   3156 
   3157 
   3158 
   3159 
   3160 
   3161 DEPDIR="${am__leading_dot}deps"
   3162 
   3163 ac_config_commands="$ac_config_commands depfiles"
   3164 
   3165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3166 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3167 cat > confinc.mk << 'END'
   3168 am__doit:
   3169 	@echo this is the am__doit target >confinc.out
   3170 .PHONY: am__doit
   3171 END
   3172 am__include="#"
   3173 am__quote=
   3174 # BSD make does it like this.
   3175 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3176 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3177 echo 'include confinc.mk # ignored' > confmf.GNU
   3178 _am_result=no
   3179 for s in GNU BSD; do
   3180   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3181    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3182    ac_status=$?
   3183    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3184    (exit $ac_status); }
   3185   case $?:`cat confinc.out 2>/dev/null` in #(
   3186   '0:this is the am__doit target') :
   3187     case $s in #(
   3188   BSD) :
   3189     am__include='.include' am__quote='"' ;; #(
   3190   *) :
   3191     am__include='include' am__quote='' ;;
   3192 esac ;; #(
   3193   *) :
   3194      ;;
   3195 esac
   3196   if test "$am__include" != "#"; then
   3197     _am_result="yes ($s style)"
   3198     break
   3199   fi
   3200 done
   3201 rm -f confinc.* confmf.*
   3202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3203 printf "%s\n" "${_am_result}" >&6; }
   3204 
   3205 # Check whether --enable-dependency-tracking was given.
   3206 if test ${enable_dependency_tracking+y}
   3207 then :
   3208   enableval=$enable_dependency_tracking;
   3209 fi
   3210 
   3211 if test "x$enable_dependency_tracking" != xno; then
   3212   am_depcomp="$ac_aux_dir/depcomp"
   3213   AMDEPBACKSLASH='\'
   3214   am__nodep='_no'
   3215 fi
   3216  if test "x$enable_dependency_tracking" != xno; then
   3217   AMDEP_TRUE=
   3218   AMDEP_FALSE='#'
   3219 else
   3220   AMDEP_TRUE='#'
   3221   AMDEP_FALSE=
   3222 fi
   3223 
   3224 
   3225 ac_ext=c
   3226 ac_cpp='$CPP $CPPFLAGS'
   3227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3230 if test -n "$ac_tool_prefix"; then
   3231   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3232 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3234 printf %s "checking for $ac_word... " >&6; }
   3235 if test ${ac_cv_prog_CC+y}
   3236 then :
   3237   printf %s "(cached) " >&6
   3238 else case e in #(
   3239   e) if test -n "$CC"; then
   3240   ac_cv_prog_CC="$CC" # Let the user override the test.
   3241 else
   3242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3243 for as_dir in $PATH
   3244 do
   3245   IFS=$as_save_IFS
   3246   case $as_dir in #(((
   3247     '') as_dir=./ ;;
   3248     */) ;;
   3249     *) as_dir=$as_dir/ ;;
   3250   esac
   3251     for ac_exec_ext in '' $ac_executable_extensions; do
   3252   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3253     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3254     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3255     break 2
   3256   fi
   3257 done
   3258   done
   3259 IFS=$as_save_IFS
   3260 
   3261 fi ;;
   3262 esac
   3263 fi
   3264 CC=$ac_cv_prog_CC
   3265 if test -n "$CC"; then
   3266   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3267 printf "%s\n" "$CC" >&6; }
   3268 else
   3269   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3270 printf "%s\n" "no" >&6; }
   3271 fi
   3272 
   3273 
   3274 fi
   3275 if test -z "$ac_cv_prog_CC"; then
   3276   ac_ct_CC=$CC
   3277   # Extract the first word of "gcc", so it can be a program name with args.
   3278 set dummy gcc; ac_word=$2
   3279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3280 printf %s "checking for $ac_word... " >&6; }
   3281 if test ${ac_cv_prog_ac_ct_CC+y}
   3282 then :
   3283   printf %s "(cached) " >&6
   3284 else case e in #(
   3285   e) if test -n "$ac_ct_CC"; then
   3286   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3287 else
   3288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3289 for as_dir in $PATH
   3290 do
   3291   IFS=$as_save_IFS
   3292   case $as_dir in #(((
   3293     '') as_dir=./ ;;
   3294     */) ;;
   3295     *) as_dir=$as_dir/ ;;
   3296   esac
   3297     for ac_exec_ext in '' $ac_executable_extensions; do
   3298   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3299     ac_cv_prog_ac_ct_CC="gcc"
   3300     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3301     break 2
   3302   fi
   3303 done
   3304   done
   3305 IFS=$as_save_IFS
   3306 
   3307 fi ;;
   3308 esac
   3309 fi
   3310 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3311 if test -n "$ac_ct_CC"; then
   3312   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3313 printf "%s\n" "$ac_ct_CC" >&6; }
   3314 else
   3315   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3316 printf "%s\n" "no" >&6; }
   3317 fi
   3318 
   3319   if test "x$ac_ct_CC" = x; then
   3320     CC=""
   3321   else
   3322     case $cross_compiling:$ac_tool_warned in
   3323 yes:)
   3324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3325 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3326 ac_tool_warned=yes ;;
   3327 esac
   3328     CC=$ac_ct_CC
   3329   fi
   3330 else
   3331   CC="$ac_cv_prog_CC"
   3332 fi
   3333 
   3334 if test -z "$CC"; then
   3335           if test -n "$ac_tool_prefix"; then
   3336     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3337 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3339 printf %s "checking for $ac_word... " >&6; }
   3340 if test ${ac_cv_prog_CC+y}
   3341 then :
   3342   printf %s "(cached) " >&6
   3343 else case e in #(
   3344   e) if test -n "$CC"; then
   3345   ac_cv_prog_CC="$CC" # Let the user override the test.
   3346 else
   3347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3348 for as_dir in $PATH
   3349 do
   3350   IFS=$as_save_IFS
   3351   case $as_dir in #(((
   3352     '') as_dir=./ ;;
   3353     */) ;;
   3354     *) as_dir=$as_dir/ ;;
   3355   esac
   3356     for ac_exec_ext in '' $ac_executable_extensions; do
   3357   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3358     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3359     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3360     break 2
   3361   fi
   3362 done
   3363   done
   3364 IFS=$as_save_IFS
   3365 
   3366 fi ;;
   3367 esac
   3368 fi
   3369 CC=$ac_cv_prog_CC
   3370 if test -n "$CC"; then
   3371   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3372 printf "%s\n" "$CC" >&6; }
   3373 else
   3374   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3375 printf "%s\n" "no" >&6; }
   3376 fi
   3377 
   3378 
   3379   fi
   3380 fi
   3381 if test -z "$CC"; then
   3382   # Extract the first word of "cc", so it can be a program name with args.
   3383 set dummy cc; ac_word=$2
   3384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3385 printf %s "checking for $ac_word... " >&6; }
   3386 if test ${ac_cv_prog_CC+y}
   3387 then :
   3388   printf %s "(cached) " >&6
   3389 else case e in #(
   3390   e) if test -n "$CC"; then
   3391   ac_cv_prog_CC="$CC" # Let the user override the test.
   3392 else
   3393   ac_prog_rejected=no
   3394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3395 for as_dir in $PATH
   3396 do
   3397   IFS=$as_save_IFS
   3398   case $as_dir in #(((
   3399     '') as_dir=./ ;;
   3400     */) ;;
   3401     *) as_dir=$as_dir/ ;;
   3402   esac
   3403     for ac_exec_ext in '' $ac_executable_extensions; do
   3404   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3405     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3406        ac_prog_rejected=yes
   3407        continue
   3408      fi
   3409     ac_cv_prog_CC="cc"
   3410     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3411     break 2
   3412   fi
   3413 done
   3414   done
   3415 IFS=$as_save_IFS
   3416 
   3417 if test $ac_prog_rejected = yes; then
   3418   # We found a bogon in the path, so make sure we never use it.
   3419   set dummy $ac_cv_prog_CC
   3420   shift
   3421   if test $# != 0; then
   3422     # We chose a different compiler from the bogus one.
   3423     # However, it has the same basename, so the bogon will be chosen
   3424     # first if we set CC to just the basename; use the full file name.
   3425     shift
   3426     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3427   fi
   3428 fi
   3429 fi ;;
   3430 esac
   3431 fi
   3432 CC=$ac_cv_prog_CC
   3433 if test -n "$CC"; then
   3434   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3435 printf "%s\n" "$CC" >&6; }
   3436 else
   3437   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3438 printf "%s\n" "no" >&6; }
   3439 fi
   3440 
   3441 
   3442 fi
   3443 if test -z "$CC"; then
   3444   if test -n "$ac_tool_prefix"; then
   3445   for ac_prog in cl.exe
   3446   do
   3447     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3448 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3450 printf %s "checking for $ac_word... " >&6; }
   3451 if test ${ac_cv_prog_CC+y}
   3452 then :
   3453   printf %s "(cached) " >&6
   3454 else case e in #(
   3455   e) if test -n "$CC"; then
   3456   ac_cv_prog_CC="$CC" # Let the user override the test.
   3457 else
   3458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3459 for as_dir in $PATH
   3460 do
   3461   IFS=$as_save_IFS
   3462   case $as_dir in #(((
   3463     '') as_dir=./ ;;
   3464     */) ;;
   3465     *) as_dir=$as_dir/ ;;
   3466   esac
   3467     for ac_exec_ext in '' $ac_executable_extensions; do
   3468   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3469     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3470     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3471     break 2
   3472   fi
   3473 done
   3474   done
   3475 IFS=$as_save_IFS
   3476 
   3477 fi ;;
   3478 esac
   3479 fi
   3480 CC=$ac_cv_prog_CC
   3481 if test -n "$CC"; then
   3482   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3483 printf "%s\n" "$CC" >&6; }
   3484 else
   3485   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3486 printf "%s\n" "no" >&6; }
   3487 fi
   3488 
   3489 
   3490     test -n "$CC" && break
   3491   done
   3492 fi
   3493 if test -z "$CC"; then
   3494   ac_ct_CC=$CC
   3495   for ac_prog in cl.exe
   3496 do
   3497   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3498 set dummy $ac_prog; ac_word=$2
   3499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3500 printf %s "checking for $ac_word... " >&6; }
   3501 if test ${ac_cv_prog_ac_ct_CC+y}
   3502 then :
   3503   printf %s "(cached) " >&6
   3504 else case e in #(
   3505   e) if test -n "$ac_ct_CC"; then
   3506   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3507 else
   3508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3509 for as_dir in $PATH
   3510 do
   3511   IFS=$as_save_IFS
   3512   case $as_dir in #(((
   3513     '') as_dir=./ ;;
   3514     */) ;;
   3515     *) as_dir=$as_dir/ ;;
   3516   esac
   3517     for ac_exec_ext in '' $ac_executable_extensions; do
   3518   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3519     ac_cv_prog_ac_ct_CC="$ac_prog"
   3520     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3521     break 2
   3522   fi
   3523 done
   3524   done
   3525 IFS=$as_save_IFS
   3526 
   3527 fi ;;
   3528 esac
   3529 fi
   3530 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3531 if test -n "$ac_ct_CC"; then
   3532   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3533 printf "%s\n" "$ac_ct_CC" >&6; }
   3534 else
   3535   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3536 printf "%s\n" "no" >&6; }
   3537 fi
   3538 
   3539 
   3540   test -n "$ac_ct_CC" && break
   3541 done
   3542 
   3543   if test "x$ac_ct_CC" = x; then
   3544     CC=""
   3545   else
   3546     case $cross_compiling:$ac_tool_warned in
   3547 yes:)
   3548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3549 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3550 ac_tool_warned=yes ;;
   3551 esac
   3552     CC=$ac_ct_CC
   3553   fi
   3554 fi
   3555 
   3556 fi
   3557 if test -z "$CC"; then
   3558   if test -n "$ac_tool_prefix"; then
   3559   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3560 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3562 printf %s "checking for $ac_word... " >&6; }
   3563 if test ${ac_cv_prog_CC+y}
   3564 then :
   3565   printf %s "(cached) " >&6
   3566 else case e in #(
   3567   e) if test -n "$CC"; then
   3568   ac_cv_prog_CC="$CC" # Let the user override the test.
   3569 else
   3570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3571 for as_dir in $PATH
   3572 do
   3573   IFS=$as_save_IFS
   3574   case $as_dir in #(((
   3575     '') as_dir=./ ;;
   3576     */) ;;
   3577     *) as_dir=$as_dir/ ;;
   3578   esac
   3579     for ac_exec_ext in '' $ac_executable_extensions; do
   3580   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3581     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3582     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3583     break 2
   3584   fi
   3585 done
   3586   done
   3587 IFS=$as_save_IFS
   3588 
   3589 fi ;;
   3590 esac
   3591 fi
   3592 CC=$ac_cv_prog_CC
   3593 if test -n "$CC"; then
   3594   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3595 printf "%s\n" "$CC" >&6; }
   3596 else
   3597   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3598 printf "%s\n" "no" >&6; }
   3599 fi
   3600 
   3601 
   3602 fi
   3603 if test -z "$ac_cv_prog_CC"; then
   3604   ac_ct_CC=$CC
   3605   # Extract the first word of "clang", so it can be a program name with args.
   3606 set dummy clang; ac_word=$2
   3607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3608 printf %s "checking for $ac_word... " >&6; }
   3609 if test ${ac_cv_prog_ac_ct_CC+y}
   3610 then :
   3611   printf %s "(cached) " >&6
   3612 else case e in #(
   3613   e) if test -n "$ac_ct_CC"; then
   3614   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3615 else
   3616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3617 for as_dir in $PATH
   3618 do
   3619   IFS=$as_save_IFS
   3620   case $as_dir in #(((
   3621     '') as_dir=./ ;;
   3622     */) ;;
   3623     *) as_dir=$as_dir/ ;;
   3624   esac
   3625     for ac_exec_ext in '' $ac_executable_extensions; do
   3626   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3627     ac_cv_prog_ac_ct_CC="clang"
   3628     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3629     break 2
   3630   fi
   3631 done
   3632   done
   3633 IFS=$as_save_IFS
   3634 
   3635 fi ;;
   3636 esac
   3637 fi
   3638 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3639 if test -n "$ac_ct_CC"; then
   3640   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3641 printf "%s\n" "$ac_ct_CC" >&6; }
   3642 else
   3643   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3644 printf "%s\n" "no" >&6; }
   3645 fi
   3646 
   3647   if test "x$ac_ct_CC" = x; then
   3648     CC=""
   3649   else
   3650     case $cross_compiling:$ac_tool_warned in
   3651 yes:)
   3652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3653 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3654 ac_tool_warned=yes ;;
   3655 esac
   3656     CC=$ac_ct_CC
   3657   fi
   3658 else
   3659   CC="$ac_cv_prog_CC"
   3660 fi
   3661 
   3662 fi
   3663 
   3664 
   3665 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3666 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3667 as_fn_error $? "no acceptable C compiler found in \$PATH
   3668 See 'config.log' for more details" "$LINENO" 5; }
   3669 
   3670 # Provide some information about the compiler.
   3671 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3672 set X $ac_compile
   3673 ac_compiler=$2
   3674 for ac_option in --version -v -V -qversion -version; do
   3675   { { ac_try="$ac_compiler $ac_option >&5"
   3676 case "(($ac_try" in
   3677   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3678   *) ac_try_echo=$ac_try;;
   3679 esac
   3680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3681 printf "%s\n" "$ac_try_echo"; } >&5
   3682   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3683   ac_status=$?
   3684   if test -s conftest.err; then
   3685     sed '10a\
   3686 ... rest of stderr output deleted ...
   3687          10q' conftest.err >conftest.er1
   3688     cat conftest.er1 >&5
   3689   fi
   3690   rm -f conftest.er1 conftest.err
   3691   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3692   test $ac_status = 0; }
   3693 done
   3694 
   3695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3696 /* end confdefs.h.  */
   3697 
   3698 int
   3699 main (void)
   3700 {
   3701 
   3702   ;
   3703   return 0;
   3704 }
   3705 _ACEOF
   3706 ac_clean_files_save=$ac_clean_files
   3707 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3708 # Try to create an executable without -o first, disregard a.out.
   3709 # It will help us diagnose broken compilers, and finding out an intuition
   3710 # of exeext.
   3711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3712 printf %s "checking whether the C compiler works... " >&6; }
   3713 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3714 
   3715 # The possible output files:
   3716 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3717 
   3718 ac_rmfiles=
   3719 for ac_file in $ac_files
   3720 do
   3721   case $ac_file in
   3722     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3723     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3724   esac
   3725 done
   3726 rm -f $ac_rmfiles
   3727 
   3728 if { { ac_try="$ac_link_default"
   3729 case "(($ac_try" in
   3730   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3731   *) ac_try_echo=$ac_try;;
   3732 esac
   3733 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3734 printf "%s\n" "$ac_try_echo"; } >&5
   3735   (eval "$ac_link_default") 2>&5
   3736   ac_status=$?
   3737   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3738   test $ac_status = 0; }
   3739 then :
   3740   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   3741 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   3742 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3743 # so that the user can short-circuit this test for compilers unknown to
   3744 # Autoconf.
   3745 for ac_file in $ac_files ''
   3746 do
   3747   test -f "$ac_file" || continue
   3748   case $ac_file in
   3749     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3750 	;;
   3751     [ab].out )
   3752 	# We found the default executable, but exeext='' is most
   3753 	# certainly right.
   3754 	break;;
   3755     *.* )
   3756 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3757 	then :; else
   3758 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3759 	fi
   3760 	# We set ac_cv_exeext here because the later test for it is not
   3761 	# safe: cross compilers may not add the suffix if given an '-o'
   3762 	# argument, so we may need to know it at that point already.
   3763 	# Even if this section looks crufty: it has the advantage of
   3764 	# actually working.
   3765 	break;;
   3766     * )
   3767 	break;;
   3768   esac
   3769 done
   3770 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3771 
   3772 else case e in #(
   3773   e) ac_file='' ;;
   3774 esac
   3775 fi
   3776 if test -z "$ac_file"
   3777 then :
   3778   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3779 printf "%s\n" "no" >&6; }
   3780 printf "%s\n" "$as_me: failed program was:" >&5
   3781 sed 's/^/| /' conftest.$ac_ext >&5
   3782 
   3783 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3784 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3785 as_fn_error 77 "C compiler cannot create executables
   3786 See 'config.log' for more details" "$LINENO" 5; }
   3787 else case e in #(
   3788   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3789 printf "%s\n" "yes" >&6; } ;;
   3790 esac
   3791 fi
   3792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3793 printf %s "checking for C compiler default output file name... " >&6; }
   3794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3795 printf "%s\n" "$ac_file" >&6; }
   3796 ac_exeext=$ac_cv_exeext
   3797 
   3798 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3799 ac_clean_files=$ac_clean_files_save
   3800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3801 printf %s "checking for suffix of executables... " >&6; }
   3802 if { { ac_try="$ac_link"
   3803 case "(($ac_try" in
   3804   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3805   *) ac_try_echo=$ac_try;;
   3806 esac
   3807 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3808 printf "%s\n" "$ac_try_echo"; } >&5
   3809   (eval "$ac_link") 2>&5
   3810   ac_status=$?
   3811   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3812   test $ac_status = 0; }
   3813 then :
   3814   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   3815 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   3816 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   3817 # 'rm'.
   3818 for ac_file in conftest.exe conftest conftest.*; do
   3819   test -f "$ac_file" || continue
   3820   case $ac_file in
   3821     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3822     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3823 	  break;;
   3824     * ) break;;
   3825   esac
   3826 done
   3827 else case e in #(
   3828   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3829 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3830 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3831 See 'config.log' for more details" "$LINENO" 5; } ;;
   3832 esac
   3833 fi
   3834 rm -f conftest conftest$ac_cv_exeext
   3835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3836 printf "%s\n" "$ac_cv_exeext" >&6; }
   3837 
   3838 rm -f conftest.$ac_ext
   3839 EXEEXT=$ac_cv_exeext
   3840 ac_exeext=$EXEEXT
   3841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3842 /* end confdefs.h.  */
   3843 #include <stdio.h>
   3844 int
   3845 main (void)
   3846 {
   3847 FILE *f = fopen ("conftest.out", "w");
   3848  if (!f)
   3849   return 1;
   3850  return ferror (f) || fclose (f) != 0;
   3851 
   3852   ;
   3853   return 0;
   3854 }
   3855 _ACEOF
   3856 ac_clean_files="$ac_clean_files conftest.out"
   3857 # Check that the compiler produces executables we can run.  If not, either
   3858 # the compiler is broken, or we cross compile.
   3859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3860 printf %s "checking whether we are cross compiling... " >&6; }
   3861 if test "$cross_compiling" != yes; then
   3862   { { ac_try="$ac_link"
   3863 case "(($ac_try" in
   3864   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3865   *) ac_try_echo=$ac_try;;
   3866 esac
   3867 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3868 printf "%s\n" "$ac_try_echo"; } >&5
   3869   (eval "$ac_link") 2>&5
   3870   ac_status=$?
   3871   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3872   test $ac_status = 0; }
   3873   if { ac_try='./conftest$ac_cv_exeext'
   3874   { { case "(($ac_try" in
   3875   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3876   *) ac_try_echo=$ac_try;;
   3877 esac
   3878 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3879 printf "%s\n" "$ac_try_echo"; } >&5
   3880   (eval "$ac_try") 2>&5
   3881   ac_status=$?
   3882   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3883   test $ac_status = 0; }; }; then
   3884     cross_compiling=no
   3885   else
   3886     if test "$cross_compiling" = maybe; then
   3887 	cross_compiling=yes
   3888     else
   3889 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3890 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3891 as_fn_error 77 "cannot run C compiled programs.
   3892 If you meant to cross compile, use '--host'.
   3893 See 'config.log' for more details" "$LINENO" 5; }
   3894     fi
   3895   fi
   3896 fi
   3897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3898 printf "%s\n" "$cross_compiling" >&6; }
   3899 
   3900 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   3901   conftest.o conftest.obj conftest.out
   3902 ac_clean_files=$ac_clean_files_save
   3903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3904 printf %s "checking for suffix of object files... " >&6; }
   3905 if test ${ac_cv_objext+y}
   3906 then :
   3907   printf %s "(cached) " >&6
   3908 else case e in #(
   3909   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3910 /* end confdefs.h.  */
   3911 
   3912 int
   3913 main (void)
   3914 {
   3915 
   3916   ;
   3917   return 0;
   3918 }
   3919 _ACEOF
   3920 rm -f conftest.o conftest.obj
   3921 if { { ac_try="$ac_compile"
   3922 case "(($ac_try" in
   3923   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3924   *) ac_try_echo=$ac_try;;
   3925 esac
   3926 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3927 printf "%s\n" "$ac_try_echo"; } >&5
   3928   (eval "$ac_compile") 2>&5
   3929   ac_status=$?
   3930   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3931   test $ac_status = 0; }
   3932 then :
   3933   for ac_file in conftest.o conftest.obj conftest.*; do
   3934   test -f "$ac_file" || continue;
   3935   case $ac_file in
   3936     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3937     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3938        break;;
   3939   esac
   3940 done
   3941 else case e in #(
   3942   e) printf "%s\n" "$as_me: failed program was:" >&5
   3943 sed 's/^/| /' conftest.$ac_ext >&5
   3944 
   3945 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3946 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3947 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3948 See 'config.log' for more details" "$LINENO" 5; } ;;
   3949 esac
   3950 fi
   3951 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   3952 esac
   3953 fi
   3954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3955 printf "%s\n" "$ac_cv_objext" >&6; }
   3956 OBJEXT=$ac_cv_objext
   3957 ac_objext=$OBJEXT
   3958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   3959 printf %s "checking whether the compiler supports GNU C... " >&6; }
   3960 if test ${ac_cv_c_compiler_gnu+y}
   3961 then :
   3962   printf %s "(cached) " >&6
   3963 else case e in #(
   3964   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3965 /* end confdefs.h.  */
   3966 
   3967 int
   3968 main (void)
   3969 {
   3970 #ifndef __GNUC__
   3971        choke me
   3972 #endif
   3973 
   3974   ;
   3975   return 0;
   3976 }
   3977 _ACEOF
   3978 if ac_fn_c_try_compile "$LINENO"
   3979 then :
   3980   ac_compiler_gnu=yes
   3981 else case e in #(
   3982   e) ac_compiler_gnu=no ;;
   3983 esac
   3984 fi
   3985 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3986 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3987  ;;
   3988 esac
   3989 fi
   3990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3991 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   3992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3993 
   3994 if test $ac_compiler_gnu = yes; then
   3995   GCC=yes
   3996 else
   3997   GCC=
   3998 fi
   3999 ac_test_CFLAGS=${CFLAGS+y}
   4000 ac_save_CFLAGS=$CFLAGS
   4001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4002 printf %s "checking whether $CC accepts -g... " >&6; }
   4003 if test ${ac_cv_prog_cc_g+y}
   4004 then :
   4005   printf %s "(cached) " >&6
   4006 else case e in #(
   4007   e) ac_save_c_werror_flag=$ac_c_werror_flag
   4008    ac_c_werror_flag=yes
   4009    ac_cv_prog_cc_g=no
   4010    CFLAGS="-g"
   4011    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4012 /* end confdefs.h.  */
   4013 
   4014 int
   4015 main (void)
   4016 {
   4017 
   4018   ;
   4019   return 0;
   4020 }
   4021 _ACEOF
   4022 if ac_fn_c_try_compile "$LINENO"
   4023 then :
   4024   ac_cv_prog_cc_g=yes
   4025 else case e in #(
   4026   e) CFLAGS=""
   4027       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4028 /* end confdefs.h.  */
   4029 
   4030 int
   4031 main (void)
   4032 {
   4033 
   4034   ;
   4035   return 0;
   4036 }
   4037 _ACEOF
   4038 if ac_fn_c_try_compile "$LINENO"
   4039 then :
   4040 
   4041 else case e in #(
   4042   e) ac_c_werror_flag=$ac_save_c_werror_flag
   4043 	 CFLAGS="-g"
   4044 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4045 /* end confdefs.h.  */
   4046 
   4047 int
   4048 main (void)
   4049 {
   4050 
   4051   ;
   4052   return 0;
   4053 }
   4054 _ACEOF
   4055 if ac_fn_c_try_compile "$LINENO"
   4056 then :
   4057   ac_cv_prog_cc_g=yes
   4058 fi
   4059 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4060 esac
   4061 fi
   4062 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4063 esac
   4064 fi
   4065 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4066    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   4067 esac
   4068 fi
   4069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4070 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4071 if test $ac_test_CFLAGS; then
   4072   CFLAGS=$ac_save_CFLAGS
   4073 elif test $ac_cv_prog_cc_g = yes; then
   4074   if test "$GCC" = yes; then
   4075     CFLAGS="-g -O2"
   4076   else
   4077     CFLAGS="-g"
   4078   fi
   4079 else
   4080   if test "$GCC" = yes; then
   4081     CFLAGS="-O2"
   4082   else
   4083     CFLAGS=
   4084   fi
   4085 fi
   4086 ac_prog_cc_stdc=no
   4087 if test x$ac_prog_cc_stdc = xno
   4088 then :
   4089   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4090 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4091 if test ${ac_cv_prog_cc_c11+y}
   4092 then :
   4093   printf %s "(cached) " >&6
   4094 else case e in #(
   4095   e) ac_cv_prog_cc_c11=no
   4096 ac_save_CC=$CC
   4097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4098 /* end confdefs.h.  */
   4099 $ac_c_conftest_c11_program
   4100 _ACEOF
   4101 for ac_arg in '' -std=gnu11
   4102 do
   4103   CC="$ac_save_CC $ac_arg"
   4104   if ac_fn_c_try_compile "$LINENO"
   4105 then :
   4106   ac_cv_prog_cc_c11=$ac_arg
   4107 fi
   4108 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4109   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4110 done
   4111 rm -f conftest.$ac_ext
   4112 CC=$ac_save_CC ;;
   4113 esac
   4114 fi
   4115 
   4116 if test "x$ac_cv_prog_cc_c11" = xno
   4117 then :
   4118   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4119 printf "%s\n" "unsupported" >&6; }
   4120 else case e in #(
   4121   e) if test "x$ac_cv_prog_cc_c11" = x
   4122 then :
   4123   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4124 printf "%s\n" "none needed" >&6; }
   4125 else case e in #(
   4126   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4127 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4128      CC="$CC $ac_cv_prog_cc_c11" ;;
   4129 esac
   4130 fi
   4131   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4132   ac_prog_cc_stdc=c11 ;;
   4133 esac
   4134 fi
   4135 fi
   4136 if test x$ac_prog_cc_stdc = xno
   4137 then :
   4138   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4139 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4140 if test ${ac_cv_prog_cc_c99+y}
   4141 then :
   4142   printf %s "(cached) " >&6
   4143 else case e in #(
   4144   e) ac_cv_prog_cc_c99=no
   4145 ac_save_CC=$CC
   4146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4147 /* end confdefs.h.  */
   4148 $ac_c_conftest_c99_program
   4149 _ACEOF
   4150 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4151 do
   4152   CC="$ac_save_CC $ac_arg"
   4153   if ac_fn_c_try_compile "$LINENO"
   4154 then :
   4155   ac_cv_prog_cc_c99=$ac_arg
   4156 fi
   4157 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4158   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4159 done
   4160 rm -f conftest.$ac_ext
   4161 CC=$ac_save_CC ;;
   4162 esac
   4163 fi
   4164 
   4165 if test "x$ac_cv_prog_cc_c99" = xno
   4166 then :
   4167   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4168 printf "%s\n" "unsupported" >&6; }
   4169 else case e in #(
   4170   e) if test "x$ac_cv_prog_cc_c99" = x
   4171 then :
   4172   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4173 printf "%s\n" "none needed" >&6; }
   4174 else case e in #(
   4175   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4176 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4177      CC="$CC $ac_cv_prog_cc_c99" ;;
   4178 esac
   4179 fi
   4180   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4181   ac_prog_cc_stdc=c99 ;;
   4182 esac
   4183 fi
   4184 fi
   4185 if test x$ac_prog_cc_stdc = xno
   4186 then :
   4187   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4188 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4189 if test ${ac_cv_prog_cc_c89+y}
   4190 then :
   4191   printf %s "(cached) " >&6
   4192 else case e in #(
   4193   e) ac_cv_prog_cc_c89=no
   4194 ac_save_CC=$CC
   4195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4196 /* end confdefs.h.  */
   4197 $ac_c_conftest_c89_program
   4198 _ACEOF
   4199 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4200 do
   4201   CC="$ac_save_CC $ac_arg"
   4202   if ac_fn_c_try_compile "$LINENO"
   4203 then :
   4204   ac_cv_prog_cc_c89=$ac_arg
   4205 fi
   4206 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4207   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4208 done
   4209 rm -f conftest.$ac_ext
   4210 CC=$ac_save_CC ;;
   4211 esac
   4212 fi
   4213 
   4214 if test "x$ac_cv_prog_cc_c89" = xno
   4215 then :
   4216   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4217 printf "%s\n" "unsupported" >&6; }
   4218 else case e in #(
   4219   e) if test "x$ac_cv_prog_cc_c89" = x
   4220 then :
   4221   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4222 printf "%s\n" "none needed" >&6; }
   4223 else case e in #(
   4224   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4225 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4226      CC="$CC $ac_cv_prog_cc_c89" ;;
   4227 esac
   4228 fi
   4229   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4230   ac_prog_cc_stdc=c89 ;;
   4231 esac
   4232 fi
   4233 fi
   4234 
   4235 ac_ext=c
   4236 ac_cpp='$CPP $CPPFLAGS'
   4237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4240 
   4241 
   4242   ac_ext=c
   4243 ac_cpp='$CPP $CPPFLAGS'
   4244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4248 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4249 if test ${am_cv_prog_cc_c_o+y}
   4250 then :
   4251   printf %s "(cached) " >&6
   4252 else case e in #(
   4253   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4254 /* end confdefs.h.  */
   4255 
   4256 int
   4257 main (void)
   4258 {
   4259 
   4260   ;
   4261   return 0;
   4262 }
   4263 _ACEOF
   4264   # Make sure it works both with $CC and with simple cc.
   4265   # Following AC_PROG_CC_C_O, we do the test twice because some
   4266   # compilers refuse to overwrite an existing .o file with -o,
   4267   # though they will create one.
   4268   am_cv_prog_cc_c_o=yes
   4269   for am_i in 1 2; do
   4270     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4271    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4272    ac_status=$?
   4273    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4274    (exit $ac_status); } \
   4275          && test -f conftest2.$ac_objext; then
   4276       : OK
   4277     else
   4278       am_cv_prog_cc_c_o=no
   4279       break
   4280     fi
   4281   done
   4282   rm -f core conftest*
   4283   unset am_i ;;
   4284 esac
   4285 fi
   4286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4287 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4288 if test "$am_cv_prog_cc_c_o" != yes; then
   4289    # Losing compiler, so override with the script.
   4290    # FIXME: It is wrong to rewrite CC.
   4291    # But if we don't then we get into trouble of one sort or another.
   4292    # A longer-term fix would be to have automake use am__CC in this case,
   4293    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4294    CC="$am_aux_dir/compile $CC"
   4295 fi
   4296 ac_ext=c
   4297 ac_cpp='$CPP $CPPFLAGS'
   4298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4301 
   4302 
   4303 depcc="$CC"   am_compiler_list=
   4304 
   4305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4306 printf %s "checking dependency style of $depcc... " >&6; }
   4307 if test ${am_cv_CC_dependencies_compiler_type+y}
   4308 then :
   4309   printf %s "(cached) " >&6
   4310 else case e in #(
   4311   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4312   # We make a subdir and do the tests there.  Otherwise we can end up
   4313   # making bogus files that we don't know about and never remove.  For
   4314   # instance it was reported that on HP-UX the gcc test will end up
   4315   # making a dummy file named 'D' -- because '-MD' means "put the output
   4316   # in D".
   4317   rm -rf conftest.dir
   4318   mkdir conftest.dir
   4319   # Copy depcomp to subdir because otherwise we won't find it if we're
   4320   # using a relative directory.
   4321   cp "$am_depcomp" conftest.dir
   4322   cd conftest.dir
   4323   # We will build objects and dependencies in a subdirectory because
   4324   # it helps to detect inapplicable dependency modes.  For instance
   4325   # both Tru64's cc and ICC support -MD to output dependencies as a
   4326   # side effect of compilation, but ICC will put the dependencies in
   4327   # the current directory while Tru64 will put them in the object
   4328   # directory.
   4329   mkdir sub
   4330 
   4331   am_cv_CC_dependencies_compiler_type=none
   4332   if test "$am_compiler_list" = ""; then
   4333      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4334   fi
   4335   am__universal=false
   4336   case " $depcc " in #(
   4337      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4338      esac
   4339 
   4340   for depmode in $am_compiler_list; do
   4341     # Setup a source with many dependencies, because some compilers
   4342     # like to wrap large dependency lists on column 80 (with \), and
   4343     # we should not choose a depcomp mode which is confused by this.
   4344     #
   4345     # We need to recreate these files for each test, as the compiler may
   4346     # overwrite some of them when testing with obscure command lines.
   4347     # This happens at least with the AIX C compiler.
   4348     : > sub/conftest.c
   4349     for i in 1 2 3 4 5 6; do
   4350       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4351       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4352       # Solaris 10 /bin/sh.
   4353       echo '/* dummy */' > sub/conftst$i.h
   4354     done
   4355     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4356 
   4357     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4358     # mode.  It turns out that the SunPro C++ compiler does not properly
   4359     # handle '-M -o', and we need to detect this.  Also, some Intel
   4360     # versions had trouble with output in subdirs.
   4361     am__obj=sub/conftest.${OBJEXT-o}
   4362     am__minus_obj="-o $am__obj"
   4363     case $depmode in
   4364     gcc)
   4365       # This depmode causes a compiler race in universal mode.
   4366       test "$am__universal" = false || continue
   4367       ;;
   4368     nosideeffect)
   4369       # After this tag, mechanisms are not by side-effect, so they'll
   4370       # only be used when explicitly requested.
   4371       if test "x$enable_dependency_tracking" = xyes; then
   4372 	continue
   4373       else
   4374 	break
   4375       fi
   4376       ;;
   4377     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4378       # This compiler won't grok '-c -o', but also, the minuso test has
   4379       # not run yet.  These depmodes are late enough in the game, and
   4380       # so weak that their functioning should not be impacted.
   4381       am__obj=conftest.${OBJEXT-o}
   4382       am__minus_obj=
   4383       ;;
   4384     none) break ;;
   4385     esac
   4386     if depmode=$depmode \
   4387        source=sub/conftest.c object=$am__obj \
   4388        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4389        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4390          >/dev/null 2>conftest.err &&
   4391        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4392        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4393        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4394        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4395       # icc doesn't choke on unknown options, it will just issue warnings
   4396       # or remarks (even with -Werror).  So we grep stderr for any message
   4397       # that says an option was ignored or not supported.
   4398       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4399       #   icc: Command line warning: ignoring option '-M'; no argument required
   4400       # The diagnosis changed in icc 8.0:
   4401       #   icc: Command line remark: option '-MP' not supported
   4402       if (grep 'ignoring option' conftest.err ||
   4403           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4404         am_cv_CC_dependencies_compiler_type=$depmode
   4405         break
   4406       fi
   4407     fi
   4408   done
   4409 
   4410   cd ..
   4411   rm -rf conftest.dir
   4412 else
   4413   am_cv_CC_dependencies_compiler_type=none
   4414 fi
   4415  ;;
   4416 esac
   4417 fi
   4418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4419 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4420 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4421 
   4422  if
   4423   test "x$enable_dependency_tracking" != xno \
   4424   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4425   am__fastdepCC_TRUE=
   4426   am__fastdepCC_FALSE='#'
   4427 else
   4428   am__fastdepCC_TRUE='#'
   4429   am__fastdepCC_FALSE=
   4430 fi
   4431 
   4432 
   4433 
   4434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4435 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4436 if test ${ac_cv_c_undeclared_builtin_options+y}
   4437 then :
   4438   printf %s "(cached) " >&6
   4439 else case e in #(
   4440   e) ac_save_CFLAGS=$CFLAGS
   4441    ac_cv_c_undeclared_builtin_options='cannot detect'
   4442    for ac_arg in '' -fno-builtin; do
   4443      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4444      # This test program should *not* compile successfully.
   4445      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4446 /* end confdefs.h.  */
   4447 
   4448 int
   4449 main (void)
   4450 {
   4451 (void) strchr;
   4452   ;
   4453   return 0;
   4454 }
   4455 _ACEOF
   4456 if ac_fn_c_try_compile "$LINENO"
   4457 then :
   4458 
   4459 else case e in #(
   4460   e) # This test program should compile successfully.
   4461         # No library function is consistently available on
   4462         # freestanding implementations, so test against a dummy
   4463         # declaration.  Include always-available headers on the
   4464         # off chance that they somehow elicit warnings.
   4465         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4466 /* end confdefs.h.  */
   4467 #include <float.h>
   4468 #include <limits.h>
   4469 #include <stdarg.h>
   4470 #include <stddef.h>
   4471 extern void ac_decl (int, char *);
   4472 
   4473 int
   4474 main (void)
   4475 {
   4476 (void) ac_decl (0, (char *) 0);
   4477   (void) ac_decl;
   4478 
   4479   ;
   4480   return 0;
   4481 }
   4482 _ACEOF
   4483 if ac_fn_c_try_compile "$LINENO"
   4484 then :
   4485   if test x"$ac_arg" = x
   4486 then :
   4487   ac_cv_c_undeclared_builtin_options='none needed'
   4488 else case e in #(
   4489   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   4490 esac
   4491 fi
   4492           break
   4493 fi
   4494 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4495 esac
   4496 fi
   4497 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4498     done
   4499     CFLAGS=$ac_save_CFLAGS
   4500    ;;
   4501 esac
   4502 fi
   4503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4504 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4505   case $ac_cv_c_undeclared_builtin_options in #(
   4506   'cannot detect') :
   4507     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4508 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4509 as_fn_error $? "cannot make $CC report undeclared builtins
   4510 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   4511   'none needed') :
   4512     ac_c_undeclared_builtin_options='' ;; #(
   4513   *) :
   4514     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4515 esac
   4516 
   4517 ac_header= ac_cache=
   4518 for ac_item in $ac_header_c_list
   4519 do
   4520   if test $ac_cache; then
   4521     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4522     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4523       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4524     fi
   4525     ac_header= ac_cache=
   4526   elif test $ac_header; then
   4527     ac_cache=$ac_item
   4528   else
   4529     ac_header=$ac_item
   4530   fi
   4531 done
   4532 
   4533 
   4534 
   4535 
   4536 
   4537 
   4538 
   4539 
   4540 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4541 then :
   4542 
   4543 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4544 
   4545 fi
   4546 
   4547 
   4548 
   4549 
   4550 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4551 if test "x$ac_cv_have_decl___clang__" = xyes
   4552 then :
   4553   CLANGCC="yes"
   4554 else case e in #(
   4555   e) CLANGCC="no" ;;
   4556 esac
   4557 fi
   4558 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4559 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4560 then :
   4561   INTELCC="yes"
   4562 else case e in #(
   4563   e) INTELCC="no" ;;
   4564 esac
   4565 fi
   4566 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4567 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4568 then :
   4569   SUNCC="yes"
   4570 else case e in #(
   4571   e) SUNCC="no" ;;
   4572 esac
   4573 fi
   4574 
   4575 
   4576 
   4577 
   4578 
   4579 
   4580 
   4581 
   4582 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4583 	if test -n "$ac_tool_prefix"; then
   4584   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4585 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4587 printf %s "checking for $ac_word... " >&6; }
   4588 if test ${ac_cv_path_PKG_CONFIG+y}
   4589 then :
   4590   printf %s "(cached) " >&6
   4591 else case e in #(
   4592   e) case $PKG_CONFIG in
   4593   [\\/]* | ?:[\\/]*)
   4594   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4595   ;;
   4596   *)
   4597   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4598 for as_dir in $PATH
   4599 do
   4600   IFS=$as_save_IFS
   4601   case $as_dir in #(((
   4602     '') as_dir=./ ;;
   4603     */) ;;
   4604     *) as_dir=$as_dir/ ;;
   4605   esac
   4606     for ac_exec_ext in '' $ac_executable_extensions; do
   4607   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4608     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4609     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4610     break 2
   4611   fi
   4612 done
   4613   done
   4614 IFS=$as_save_IFS
   4615 
   4616   ;;
   4617 esac ;;
   4618 esac
   4619 fi
   4620 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4621 if test -n "$PKG_CONFIG"; then
   4622   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4623 printf "%s\n" "$PKG_CONFIG" >&6; }
   4624 else
   4625   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4626 printf "%s\n" "no" >&6; }
   4627 fi
   4628 
   4629 
   4630 fi
   4631 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4632   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4633   # Extract the first word of "pkg-config", so it can be a program name with args.
   4634 set dummy pkg-config; ac_word=$2
   4635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4636 printf %s "checking for $ac_word... " >&6; }
   4637 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4638 then :
   4639   printf %s "(cached) " >&6
   4640 else case e in #(
   4641   e) case $ac_pt_PKG_CONFIG in
   4642   [\\/]* | ?:[\\/]*)
   4643   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4644   ;;
   4645   *)
   4646   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4647 for as_dir in $PATH
   4648 do
   4649   IFS=$as_save_IFS
   4650   case $as_dir in #(((
   4651     '') as_dir=./ ;;
   4652     */) ;;
   4653     *) as_dir=$as_dir/ ;;
   4654   esac
   4655     for ac_exec_ext in '' $ac_executable_extensions; do
   4656   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4657     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4658     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4659     break 2
   4660   fi
   4661 done
   4662   done
   4663 IFS=$as_save_IFS
   4664 
   4665   ;;
   4666 esac ;;
   4667 esac
   4668 fi
   4669 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4670 if test -n "$ac_pt_PKG_CONFIG"; then
   4671   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4672 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4673 else
   4674   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4675 printf "%s\n" "no" >&6; }
   4676 fi
   4677 
   4678   if test "x$ac_pt_PKG_CONFIG" = x; then
   4679     PKG_CONFIG=""
   4680   else
   4681     case $cross_compiling:$ac_tool_warned in
   4682 yes:)
   4683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4684 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4685 ac_tool_warned=yes ;;
   4686 esac
   4687     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4688   fi
   4689 else
   4690   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4691 fi
   4692 
   4693 fi
   4694 if test -n "$PKG_CONFIG"; then
   4695 	_pkg_min_version=0.9.0
   4696 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4697 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4698 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4699 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4700 printf "%s\n" "yes" >&6; }
   4701 	else
   4702 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4703 printf "%s\n" "no" >&6; }
   4704 		PKG_CONFIG=""
   4705 	fi
   4706 fi
   4707 
   4708 
   4709   # Make sure we can run config.sub.
   4710 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4711   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4712 
   4713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4714 printf %s "checking build system type... " >&6; }
   4715 if test ${ac_cv_build+y}
   4716 then :
   4717   printf %s "(cached) " >&6
   4718 else case e in #(
   4719   e) ac_build_alias=$build_alias
   4720 test "x$ac_build_alias" = x &&
   4721   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4722 test "x$ac_build_alias" = x &&
   4723   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4724 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4725   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4726  ;;
   4727 esac
   4728 fi
   4729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4730 printf "%s\n" "$ac_cv_build" >&6; }
   4731 case $ac_cv_build in
   4732 *-*-*) ;;
   4733 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4734 esac
   4735 build=$ac_cv_build
   4736 ac_save_IFS=$IFS; IFS='-'
   4737 set x $ac_cv_build
   4738 shift
   4739 build_cpu=$1
   4740 build_vendor=$2
   4741 shift; shift
   4742 # Remember, the first character of IFS is used to create $*,
   4743 # except with old shells:
   4744 build_os=$*
   4745 IFS=$ac_save_IFS
   4746 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4747 
   4748 
   4749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4750 printf %s "checking host system type... " >&6; }
   4751 if test ${ac_cv_host+y}
   4752 then :
   4753   printf %s "(cached) " >&6
   4754 else case e in #(
   4755   e) if test "x$host_alias" = x; then
   4756   ac_cv_host=$ac_cv_build
   4757 else
   4758   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4759     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4760 fi
   4761  ;;
   4762 esac
   4763 fi
   4764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4765 printf "%s\n" "$ac_cv_host" >&6; }
   4766 case $ac_cv_host in
   4767 *-*-*) ;;
   4768 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4769 esac
   4770 host=$ac_cv_host
   4771 ac_save_IFS=$IFS; IFS='-'
   4772 set x $ac_cv_host
   4773 shift
   4774 host_cpu=$1
   4775 host_vendor=$2
   4776 shift; shift
   4777 # Remember, the first character of IFS is used to create $*,
   4778 # except with old shells:
   4779 host_os=$*
   4780 IFS=$ac_save_IFS
   4781 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4782 
   4783 
   4784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4785 printf %s "checking for a sed that does not truncate output... " >&6; }
   4786 if test ${ac_cv_path_SED+y}
   4787 then :
   4788   printf %s "(cached) " >&6
   4789 else case e in #(
   4790   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4791      for ac_i in 1 2 3 4 5 6 7; do
   4792        ac_script="$ac_script$as_nl$ac_script"
   4793      done
   4794      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4795      { ac_script=; unset ac_script;}
   4796      if test -z "$SED"; then
   4797   ac_path_SED_found=false
   4798   # Loop through the user's path and test for each of PROGNAME-LIST
   4799   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4800 for as_dir in $PATH
   4801 do
   4802   IFS=$as_save_IFS
   4803   case $as_dir in #(((
   4804     '') as_dir=./ ;;
   4805     */) ;;
   4806     *) as_dir=$as_dir/ ;;
   4807   esac
   4808     for ac_prog in sed gsed
   4809    do
   4810     for ac_exec_ext in '' $ac_executable_extensions; do
   4811       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4812       as_fn_executable_p "$ac_path_SED" || continue
   4813 # Check for GNU ac_path_SED and select it if it is found.
   4814   # Check for GNU $ac_path_SED
   4815 case `"$ac_path_SED" --version 2>&1` in #(
   4816 *GNU*)
   4817   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4818 #(
   4819 *)
   4820   ac_count=0
   4821   printf %s 0123456789 >"conftest.in"
   4822   while :
   4823   do
   4824     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4825     mv "conftest.tmp" "conftest.in"
   4826     cp "conftest.in" "conftest.nl"
   4827     printf "%s\n" '' >> "conftest.nl"
   4828     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4829     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4830     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4831     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4832       # Best one so far, save it but keep looking for a better one
   4833       ac_cv_path_SED="$ac_path_SED"
   4834       ac_path_SED_max=$ac_count
   4835     fi
   4836     # 10*(2^10) chars as input seems more than enough
   4837     test $ac_count -gt 10 && break
   4838   done
   4839   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4840 esac
   4841 
   4842       $ac_path_SED_found && break 3
   4843     done
   4844   done
   4845   done
   4846 IFS=$as_save_IFS
   4847   if test -z "$ac_cv_path_SED"; then
   4848     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4849   fi
   4850 else
   4851   ac_cv_path_SED=$SED
   4852 fi
   4853  ;;
   4854 esac
   4855 fi
   4856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4857 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4858  SED="$ac_cv_path_SED"
   4859   rm -f conftest.sed
   4860 
   4861 
   4862 
   4863 
   4864 
   4865 
   4866 # Check whether --enable-selective-werror was given.
   4867 if test ${enable_selective_werror+y}
   4868 then :
   4869   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4870 else case e in #(
   4871   e) SELECTIVE_WERROR=yes ;;
   4872 esac
   4873 fi
   4874 
   4875 
   4876 
   4877 
   4878 
   4879 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4880 if test "x$SUNCC" = "xyes"; then
   4881     BASE_CFLAGS="-v"
   4882 else
   4883     BASE_CFLAGS=""
   4884 fi
   4885 
   4886 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4887 
   4888 
   4889 
   4890 
   4891 
   4892 
   4893 
   4894 
   4895 
   4896 
   4897 
   4898 
   4899 
   4900 xorg_testset_save_CFLAGS="$CFLAGS"
   4901 
   4902 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4903 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4904 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4905 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4906 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   4907 then :
   4908   printf %s "(cached) " >&6
   4909 else case e in #(
   4910   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4911 /* end confdefs.h.  */
   4912 int i;
   4913 _ACEOF
   4914 if ac_fn_c_try_compile "$LINENO"
   4915 then :
   4916   xorg_cv_cc_flag_unknown_warning_option=yes
   4917 else case e in #(
   4918   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   4919 esac
   4920 fi
   4921 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4922 esac
   4923 fi
   4924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4925 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4926 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4927 	CFLAGS="$xorg_testset_save_CFLAGS"
   4928 fi
   4929 
   4930 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4931 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4932 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4933 	fi
   4934 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4935 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4936 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4937 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   4938 then :
   4939   printf %s "(cached) " >&6
   4940 else case e in #(
   4941   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4942 /* end confdefs.h.  */
   4943 int i;
   4944 _ACEOF
   4945 if ac_fn_c_try_compile "$LINENO"
   4946 then :
   4947   xorg_cv_cc_flag_unused_command_line_argument=yes
   4948 else case e in #(
   4949   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   4950 esac
   4951 fi
   4952 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4953 esac
   4954 fi
   4955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4956 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4957 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4958 	CFLAGS="$xorg_testset_save_CFLAGS"
   4959 fi
   4960 
   4961 found="no"
   4962 
   4963 	if test $found = "no" ; then
   4964 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4965 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4966 		fi
   4967 
   4968 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4969 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4970 		fi
   4971 
   4972 		CFLAGS="$CFLAGS -Wall"
   4973 
   4974 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4975 printf %s "checking if $CC supports -Wall... " >&6; }
   4976 		cacheid=xorg_cv_cc_flag__Wall
   4977 		if eval test \${$cacheid+y}
   4978 then :
   4979   printf %s "(cached) " >&6
   4980 else case e in #(
   4981   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4982 /* end confdefs.h.  */
   4983 int i;
   4984 int
   4985 main (void)
   4986 {
   4987 
   4988   ;
   4989   return 0;
   4990 }
   4991 _ACEOF
   4992 if ac_fn_c_try_link "$LINENO"
   4993 then :
   4994   eval $cacheid=yes
   4995 else case e in #(
   4996   e) eval $cacheid=no ;;
   4997 esac
   4998 fi
   4999 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5000     conftest$ac_exeext conftest.$ac_ext ;;
   5001 esac
   5002 fi
   5003 
   5004 
   5005 		CFLAGS="$xorg_testset_save_CFLAGS"
   5006 
   5007 		eval supported=\$$cacheid
   5008 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5009 printf "%s\n" "$supported" >&6; }
   5010 		if test "$supported" = "yes" ; then
   5011 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5012 			found="yes"
   5013 		fi
   5014 	fi
   5015 
   5016 
   5017 
   5018 
   5019 
   5020 
   5021 
   5022 
   5023 
   5024 
   5025 
   5026 
   5027 
   5028 
   5029 
   5030 xorg_testset_save_CFLAGS="$CFLAGS"
   5031 
   5032 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5033 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5034 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5035 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5036 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5037 then :
   5038   printf %s "(cached) " >&6
   5039 else case e in #(
   5040   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5041 /* end confdefs.h.  */
   5042 int i;
   5043 _ACEOF
   5044 if ac_fn_c_try_compile "$LINENO"
   5045 then :
   5046   xorg_cv_cc_flag_unknown_warning_option=yes
   5047 else case e in #(
   5048   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5049 esac
   5050 fi
   5051 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5052 esac
   5053 fi
   5054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5055 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5056 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5057 	CFLAGS="$xorg_testset_save_CFLAGS"
   5058 fi
   5059 
   5060 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5061 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5062 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5063 	fi
   5064 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5065 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5066 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5067 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5068 then :
   5069   printf %s "(cached) " >&6
   5070 else case e in #(
   5071   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5072 /* end confdefs.h.  */
   5073 int i;
   5074 _ACEOF
   5075 if ac_fn_c_try_compile "$LINENO"
   5076 then :
   5077   xorg_cv_cc_flag_unused_command_line_argument=yes
   5078 else case e in #(
   5079   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5080 esac
   5081 fi
   5082 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5083 esac
   5084 fi
   5085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5086 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5087 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5088 	CFLAGS="$xorg_testset_save_CFLAGS"
   5089 fi
   5090 
   5091 found="no"
   5092 
   5093 	if test $found = "no" ; then
   5094 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5095 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5096 		fi
   5097 
   5098 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5099 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5100 		fi
   5101 
   5102 		CFLAGS="$CFLAGS -Wpointer-arith"
   5103 
   5104 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5105 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5106 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5107 		if eval test \${$cacheid+y}
   5108 then :
   5109   printf %s "(cached) " >&6
   5110 else case e in #(
   5111   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5112 /* end confdefs.h.  */
   5113 int i;
   5114 int
   5115 main (void)
   5116 {
   5117 
   5118   ;
   5119   return 0;
   5120 }
   5121 _ACEOF
   5122 if ac_fn_c_try_link "$LINENO"
   5123 then :
   5124   eval $cacheid=yes
   5125 else case e in #(
   5126   e) eval $cacheid=no ;;
   5127 esac
   5128 fi
   5129 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5130     conftest$ac_exeext conftest.$ac_ext ;;
   5131 esac
   5132 fi
   5133 
   5134 
   5135 		CFLAGS="$xorg_testset_save_CFLAGS"
   5136 
   5137 		eval supported=\$$cacheid
   5138 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5139 printf "%s\n" "$supported" >&6; }
   5140 		if test "$supported" = "yes" ; then
   5141 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5142 			found="yes"
   5143 		fi
   5144 	fi
   5145 
   5146 
   5147 
   5148 
   5149 
   5150 
   5151 
   5152 
   5153 
   5154 
   5155 
   5156 
   5157 
   5158 
   5159 
   5160 xorg_testset_save_CFLAGS="$CFLAGS"
   5161 
   5162 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5163 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5164 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5165 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5166 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5167 then :
   5168   printf %s "(cached) " >&6
   5169 else case e in #(
   5170   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5171 /* end confdefs.h.  */
   5172 int i;
   5173 _ACEOF
   5174 if ac_fn_c_try_compile "$LINENO"
   5175 then :
   5176   xorg_cv_cc_flag_unknown_warning_option=yes
   5177 else case e in #(
   5178   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5179 esac
   5180 fi
   5181 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5182 esac
   5183 fi
   5184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5185 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5186 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5187 	CFLAGS="$xorg_testset_save_CFLAGS"
   5188 fi
   5189 
   5190 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5191 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5192 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5193 	fi
   5194 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5195 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5196 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5197 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5198 then :
   5199   printf %s "(cached) " >&6
   5200 else case e in #(
   5201   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5202 /* end confdefs.h.  */
   5203 int i;
   5204 _ACEOF
   5205 if ac_fn_c_try_compile "$LINENO"
   5206 then :
   5207   xorg_cv_cc_flag_unused_command_line_argument=yes
   5208 else case e in #(
   5209   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5210 esac
   5211 fi
   5212 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5213 esac
   5214 fi
   5215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5216 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5217 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5218 	CFLAGS="$xorg_testset_save_CFLAGS"
   5219 fi
   5220 
   5221 found="no"
   5222 
   5223 	if test $found = "no" ; then
   5224 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5225 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5226 		fi
   5227 
   5228 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5229 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5230 		fi
   5231 
   5232 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5233 
   5234 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5235 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5236 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5237 		if eval test \${$cacheid+y}
   5238 then :
   5239   printf %s "(cached) " >&6
   5240 else case e in #(
   5241   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5242 /* end confdefs.h.  */
   5243 int i;
   5244 int
   5245 main (void)
   5246 {
   5247 
   5248   ;
   5249   return 0;
   5250 }
   5251 _ACEOF
   5252 if ac_fn_c_try_link "$LINENO"
   5253 then :
   5254   eval $cacheid=yes
   5255 else case e in #(
   5256   e) eval $cacheid=no ;;
   5257 esac
   5258 fi
   5259 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5260     conftest$ac_exeext conftest.$ac_ext ;;
   5261 esac
   5262 fi
   5263 
   5264 
   5265 		CFLAGS="$xorg_testset_save_CFLAGS"
   5266 
   5267 		eval supported=\$$cacheid
   5268 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5269 printf "%s\n" "$supported" >&6; }
   5270 		if test "$supported" = "yes" ; then
   5271 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5272 			found="yes"
   5273 		fi
   5274 	fi
   5275 
   5276 
   5277 
   5278 
   5279 
   5280 
   5281 
   5282 
   5283 
   5284 
   5285 
   5286 
   5287 
   5288 
   5289 
   5290 xorg_testset_save_CFLAGS="$CFLAGS"
   5291 
   5292 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5293 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5294 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5295 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5296 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5297 then :
   5298   printf %s "(cached) " >&6
   5299 else case e in #(
   5300   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5301 /* end confdefs.h.  */
   5302 int i;
   5303 _ACEOF
   5304 if ac_fn_c_try_compile "$LINENO"
   5305 then :
   5306   xorg_cv_cc_flag_unknown_warning_option=yes
   5307 else case e in #(
   5308   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5309 esac
   5310 fi
   5311 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5312 esac
   5313 fi
   5314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5315 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5316 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5317 	CFLAGS="$xorg_testset_save_CFLAGS"
   5318 fi
   5319 
   5320 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5321 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5322 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5323 	fi
   5324 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5325 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5326 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5327 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5328 then :
   5329   printf %s "(cached) " >&6
   5330 else case e in #(
   5331   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5332 /* end confdefs.h.  */
   5333 int i;
   5334 _ACEOF
   5335 if ac_fn_c_try_compile "$LINENO"
   5336 then :
   5337   xorg_cv_cc_flag_unused_command_line_argument=yes
   5338 else case e in #(
   5339   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5340 esac
   5341 fi
   5342 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5343 esac
   5344 fi
   5345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5346 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5347 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5348 	CFLAGS="$xorg_testset_save_CFLAGS"
   5349 fi
   5350 
   5351 found="no"
   5352 
   5353 	if test $found = "no" ; then
   5354 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5355 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5356 		fi
   5357 
   5358 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5359 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5360 		fi
   5361 
   5362 		CFLAGS="$CFLAGS -Wformat=2"
   5363 
   5364 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5365 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5366 		cacheid=xorg_cv_cc_flag__Wformat_2
   5367 		if eval test \${$cacheid+y}
   5368 then :
   5369   printf %s "(cached) " >&6
   5370 else case e in #(
   5371   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5372 /* end confdefs.h.  */
   5373 int i;
   5374 int
   5375 main (void)
   5376 {
   5377 
   5378   ;
   5379   return 0;
   5380 }
   5381 _ACEOF
   5382 if ac_fn_c_try_link "$LINENO"
   5383 then :
   5384   eval $cacheid=yes
   5385 else case e in #(
   5386   e) eval $cacheid=no ;;
   5387 esac
   5388 fi
   5389 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5390     conftest$ac_exeext conftest.$ac_ext ;;
   5391 esac
   5392 fi
   5393 
   5394 
   5395 		CFLAGS="$xorg_testset_save_CFLAGS"
   5396 
   5397 		eval supported=\$$cacheid
   5398 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5399 printf "%s\n" "$supported" >&6; }
   5400 		if test "$supported" = "yes" ; then
   5401 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5402 			found="yes"
   5403 		fi
   5404 	fi
   5405 
   5406 	if test $found = "no" ; then
   5407 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5408 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5409 		fi
   5410 
   5411 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5412 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5413 		fi
   5414 
   5415 		CFLAGS="$CFLAGS -Wformat"
   5416 
   5417 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5418 printf %s "checking if $CC supports -Wformat... " >&6; }
   5419 		cacheid=xorg_cv_cc_flag__Wformat
   5420 		if eval test \${$cacheid+y}
   5421 then :
   5422   printf %s "(cached) " >&6
   5423 else case e in #(
   5424   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5425 /* end confdefs.h.  */
   5426 int i;
   5427 int
   5428 main (void)
   5429 {
   5430 
   5431   ;
   5432   return 0;
   5433 }
   5434 _ACEOF
   5435 if ac_fn_c_try_link "$LINENO"
   5436 then :
   5437   eval $cacheid=yes
   5438 else case e in #(
   5439   e) eval $cacheid=no ;;
   5440 esac
   5441 fi
   5442 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5443     conftest$ac_exeext conftest.$ac_ext ;;
   5444 esac
   5445 fi
   5446 
   5447 
   5448 		CFLAGS="$xorg_testset_save_CFLAGS"
   5449 
   5450 		eval supported=\$$cacheid
   5451 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5452 printf "%s\n" "$supported" >&6; }
   5453 		if test "$supported" = "yes" ; then
   5454 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5455 			found="yes"
   5456 		fi
   5457 	fi
   5458 
   5459 
   5460 
   5461 
   5462 
   5463 
   5464 
   5465 
   5466 
   5467 
   5468 
   5469 
   5470 
   5471 
   5472 
   5473 
   5474 
   5475 xorg_testset_save_CFLAGS="$CFLAGS"
   5476 
   5477 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5478 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5479 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5480 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5481 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5482 then :
   5483   printf %s "(cached) " >&6
   5484 else case e in #(
   5485   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5486 /* end confdefs.h.  */
   5487 int i;
   5488 _ACEOF
   5489 if ac_fn_c_try_compile "$LINENO"
   5490 then :
   5491   xorg_cv_cc_flag_unknown_warning_option=yes
   5492 else case e in #(
   5493   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5494 esac
   5495 fi
   5496 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5497 esac
   5498 fi
   5499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5500 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5501 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5502 	CFLAGS="$xorg_testset_save_CFLAGS"
   5503 fi
   5504 
   5505 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5506 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5507 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5508 	fi
   5509 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5510 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5511 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5512 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5513 then :
   5514   printf %s "(cached) " >&6
   5515 else case e in #(
   5516   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5517 /* end confdefs.h.  */
   5518 int i;
   5519 _ACEOF
   5520 if ac_fn_c_try_compile "$LINENO"
   5521 then :
   5522   xorg_cv_cc_flag_unused_command_line_argument=yes
   5523 else case e in #(
   5524   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5525 esac
   5526 fi
   5527 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5528 esac
   5529 fi
   5530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5531 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5532 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5533 	CFLAGS="$xorg_testset_save_CFLAGS"
   5534 fi
   5535 
   5536 found="no"
   5537 
   5538 	if test $found = "no" ; then
   5539 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5540 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5541 		fi
   5542 
   5543 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5544 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5545 		fi
   5546 
   5547 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5548 
   5549 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5550 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5551 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5552 		if eval test \${$cacheid+y}
   5553 then :
   5554   printf %s "(cached) " >&6
   5555 else case e in #(
   5556   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5557 /* end confdefs.h.  */
   5558 int i;
   5559 int
   5560 main (void)
   5561 {
   5562 
   5563   ;
   5564   return 0;
   5565 }
   5566 _ACEOF
   5567 if ac_fn_c_try_link "$LINENO"
   5568 then :
   5569   eval $cacheid=yes
   5570 else case e in #(
   5571   e) eval $cacheid=no ;;
   5572 esac
   5573 fi
   5574 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5575     conftest$ac_exeext conftest.$ac_ext ;;
   5576 esac
   5577 fi
   5578 
   5579 
   5580 		CFLAGS="$xorg_testset_save_CFLAGS"
   5581 
   5582 		eval supported=\$$cacheid
   5583 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5584 printf "%s\n" "$supported" >&6; }
   5585 		if test "$supported" = "yes" ; then
   5586 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5587 			found="yes"
   5588 		fi
   5589 	fi
   5590 
   5591 
   5592 
   5593 
   5594 
   5595 
   5596 
   5597 
   5598 
   5599 
   5600 
   5601 
   5602 
   5603 
   5604 
   5605 xorg_testset_save_CFLAGS="$CFLAGS"
   5606 
   5607 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5608 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5609 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5610 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5611 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5612 then :
   5613   printf %s "(cached) " >&6
   5614 else case e in #(
   5615   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5616 /* end confdefs.h.  */
   5617 int i;
   5618 _ACEOF
   5619 if ac_fn_c_try_compile "$LINENO"
   5620 then :
   5621   xorg_cv_cc_flag_unknown_warning_option=yes
   5622 else case e in #(
   5623   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5624 esac
   5625 fi
   5626 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5627 esac
   5628 fi
   5629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5630 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5631 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5632 	CFLAGS="$xorg_testset_save_CFLAGS"
   5633 fi
   5634 
   5635 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5636 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5637 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5638 	fi
   5639 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5640 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5641 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5642 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5643 then :
   5644   printf %s "(cached) " >&6
   5645 else case e in #(
   5646   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5647 /* end confdefs.h.  */
   5648 int i;
   5649 _ACEOF
   5650 if ac_fn_c_try_compile "$LINENO"
   5651 then :
   5652   xorg_cv_cc_flag_unused_command_line_argument=yes
   5653 else case e in #(
   5654   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5655 esac
   5656 fi
   5657 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5658 esac
   5659 fi
   5660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5661 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5662 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5663 	CFLAGS="$xorg_testset_save_CFLAGS"
   5664 fi
   5665 
   5666 found="no"
   5667 
   5668 	if test $found = "no" ; then
   5669 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5670 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5671 		fi
   5672 
   5673 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5674 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5675 		fi
   5676 
   5677 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5678 
   5679 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5680 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5681 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5682 		if eval test \${$cacheid+y}
   5683 then :
   5684   printf %s "(cached) " >&6
   5685 else case e in #(
   5686   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5687 /* end confdefs.h.  */
   5688 int i;
   5689 int
   5690 main (void)
   5691 {
   5692 
   5693   ;
   5694   return 0;
   5695 }
   5696 _ACEOF
   5697 if ac_fn_c_try_link "$LINENO"
   5698 then :
   5699   eval $cacheid=yes
   5700 else case e in #(
   5701   e) eval $cacheid=no ;;
   5702 esac
   5703 fi
   5704 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5705     conftest$ac_exeext conftest.$ac_ext ;;
   5706 esac
   5707 fi
   5708 
   5709 
   5710 		CFLAGS="$xorg_testset_save_CFLAGS"
   5711 
   5712 		eval supported=\$$cacheid
   5713 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5714 printf "%s\n" "$supported" >&6; }
   5715 		if test "$supported" = "yes" ; then
   5716 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5717 			found="yes"
   5718 		fi
   5719 	fi
   5720 
   5721 
   5722 
   5723 
   5724 
   5725 
   5726 
   5727 
   5728 
   5729 
   5730 
   5731 
   5732 
   5733 
   5734 
   5735 xorg_testset_save_CFLAGS="$CFLAGS"
   5736 
   5737 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5738 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5739 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5740 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5741 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5742 then :
   5743   printf %s "(cached) " >&6
   5744 else case e in #(
   5745   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5746 /* end confdefs.h.  */
   5747 int i;
   5748 _ACEOF
   5749 if ac_fn_c_try_compile "$LINENO"
   5750 then :
   5751   xorg_cv_cc_flag_unknown_warning_option=yes
   5752 else case e in #(
   5753   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5754 esac
   5755 fi
   5756 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5757 esac
   5758 fi
   5759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5760 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5761 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5762 	CFLAGS="$xorg_testset_save_CFLAGS"
   5763 fi
   5764 
   5765 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5766 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5767 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5768 	fi
   5769 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5770 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5771 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5772 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5773 then :
   5774   printf %s "(cached) " >&6
   5775 else case e in #(
   5776   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5777 /* end confdefs.h.  */
   5778 int i;
   5779 _ACEOF
   5780 if ac_fn_c_try_compile "$LINENO"
   5781 then :
   5782   xorg_cv_cc_flag_unused_command_line_argument=yes
   5783 else case e in #(
   5784   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5785 esac
   5786 fi
   5787 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5788 esac
   5789 fi
   5790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5791 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5792 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5793 	CFLAGS="$xorg_testset_save_CFLAGS"
   5794 fi
   5795 
   5796 found="no"
   5797 
   5798 	if test $found = "no" ; then
   5799 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5800 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5801 		fi
   5802 
   5803 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5804 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5805 		fi
   5806 
   5807 		CFLAGS="$CFLAGS -Wnested-externs"
   5808 
   5809 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5810 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   5811 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5812 		if eval test \${$cacheid+y}
   5813 then :
   5814   printf %s "(cached) " >&6
   5815 else case e in #(
   5816   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5817 /* end confdefs.h.  */
   5818 int i;
   5819 int
   5820 main (void)
   5821 {
   5822 
   5823   ;
   5824   return 0;
   5825 }
   5826 _ACEOF
   5827 if ac_fn_c_try_link "$LINENO"
   5828 then :
   5829   eval $cacheid=yes
   5830 else case e in #(
   5831   e) eval $cacheid=no ;;
   5832 esac
   5833 fi
   5834 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5835     conftest$ac_exeext conftest.$ac_ext ;;
   5836 esac
   5837 fi
   5838 
   5839 
   5840 		CFLAGS="$xorg_testset_save_CFLAGS"
   5841 
   5842 		eval supported=\$$cacheid
   5843 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5844 printf "%s\n" "$supported" >&6; }
   5845 		if test "$supported" = "yes" ; then
   5846 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5847 			found="yes"
   5848 		fi
   5849 	fi
   5850 
   5851 
   5852 
   5853 
   5854 
   5855 
   5856 
   5857 
   5858 
   5859 
   5860 
   5861 
   5862 
   5863 
   5864 
   5865 xorg_testset_save_CFLAGS="$CFLAGS"
   5866 
   5867 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5868 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5869 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5870 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5871 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5872 then :
   5873   printf %s "(cached) " >&6
   5874 else case e in #(
   5875   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5876 /* end confdefs.h.  */
   5877 int i;
   5878 _ACEOF
   5879 if ac_fn_c_try_compile "$LINENO"
   5880 then :
   5881   xorg_cv_cc_flag_unknown_warning_option=yes
   5882 else case e in #(
   5883   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5884 esac
   5885 fi
   5886 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5887 esac
   5888 fi
   5889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5890 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5891 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5892 	CFLAGS="$xorg_testset_save_CFLAGS"
   5893 fi
   5894 
   5895 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5896 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5897 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5898 	fi
   5899 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5900 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5901 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5902 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5903 then :
   5904   printf %s "(cached) " >&6
   5905 else case e in #(
   5906   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5907 /* end confdefs.h.  */
   5908 int i;
   5909 _ACEOF
   5910 if ac_fn_c_try_compile "$LINENO"
   5911 then :
   5912   xorg_cv_cc_flag_unused_command_line_argument=yes
   5913 else case e in #(
   5914   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5915 esac
   5916 fi
   5917 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5918 esac
   5919 fi
   5920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5921 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5922 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5923 	CFLAGS="$xorg_testset_save_CFLAGS"
   5924 fi
   5925 
   5926 found="no"
   5927 
   5928 	if test $found = "no" ; then
   5929 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5930 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5931 		fi
   5932 
   5933 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5934 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5935 		fi
   5936 
   5937 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5938 
   5939 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5940 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   5941 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5942 		if eval test \${$cacheid+y}
   5943 then :
   5944   printf %s "(cached) " >&6
   5945 else case e in #(
   5946   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5947 /* end confdefs.h.  */
   5948 int i;
   5949 int
   5950 main (void)
   5951 {
   5952 
   5953   ;
   5954   return 0;
   5955 }
   5956 _ACEOF
   5957 if ac_fn_c_try_link "$LINENO"
   5958 then :
   5959   eval $cacheid=yes
   5960 else case e in #(
   5961   e) eval $cacheid=no ;;
   5962 esac
   5963 fi
   5964 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5965     conftest$ac_exeext conftest.$ac_ext ;;
   5966 esac
   5967 fi
   5968 
   5969 
   5970 		CFLAGS="$xorg_testset_save_CFLAGS"
   5971 
   5972 		eval supported=\$$cacheid
   5973 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5974 printf "%s\n" "$supported" >&6; }
   5975 		if test "$supported" = "yes" ; then
   5976 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5977 			found="yes"
   5978 		fi
   5979 	fi
   5980 
   5981 
   5982 
   5983 
   5984 
   5985 
   5986 
   5987 
   5988 
   5989 
   5990 
   5991 
   5992 
   5993 
   5994 
   5995 xorg_testset_save_CFLAGS="$CFLAGS"
   5996 
   5997 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5998 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5999 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6000 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6001 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6002 then :
   6003   printf %s "(cached) " >&6
   6004 else case e in #(
   6005   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6006 /* end confdefs.h.  */
   6007 int i;
   6008 _ACEOF
   6009 if ac_fn_c_try_compile "$LINENO"
   6010 then :
   6011   xorg_cv_cc_flag_unknown_warning_option=yes
   6012 else case e in #(
   6013   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6014 esac
   6015 fi
   6016 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6017 esac
   6018 fi
   6019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6020 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6021 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6022 	CFLAGS="$xorg_testset_save_CFLAGS"
   6023 fi
   6024 
   6025 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6026 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6027 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6028 	fi
   6029 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6030 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6031 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6032 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6033 then :
   6034   printf %s "(cached) " >&6
   6035 else case e in #(
   6036   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6037 /* end confdefs.h.  */
   6038 int i;
   6039 _ACEOF
   6040 if ac_fn_c_try_compile "$LINENO"
   6041 then :
   6042   xorg_cv_cc_flag_unused_command_line_argument=yes
   6043 else case e in #(
   6044   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6045 esac
   6046 fi
   6047 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6048 esac
   6049 fi
   6050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6051 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6052 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6053 	CFLAGS="$xorg_testset_save_CFLAGS"
   6054 fi
   6055 
   6056 found="no"
   6057 
   6058 	if test $found = "no" ; then
   6059 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6060 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6061 		fi
   6062 
   6063 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6064 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6065 		fi
   6066 
   6067 		CFLAGS="$CFLAGS -Wold-style-definition"
   6068 
   6069 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6070 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6071 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6072 		if eval test \${$cacheid+y}
   6073 then :
   6074   printf %s "(cached) " >&6
   6075 else case e in #(
   6076   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6077 /* end confdefs.h.  */
   6078 int i;
   6079 int
   6080 main (void)
   6081 {
   6082 
   6083   ;
   6084   return 0;
   6085 }
   6086 _ACEOF
   6087 if ac_fn_c_try_link "$LINENO"
   6088 then :
   6089   eval $cacheid=yes
   6090 else case e in #(
   6091   e) eval $cacheid=no ;;
   6092 esac
   6093 fi
   6094 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6095     conftest$ac_exeext conftest.$ac_ext ;;
   6096 esac
   6097 fi
   6098 
   6099 
   6100 		CFLAGS="$xorg_testset_save_CFLAGS"
   6101 
   6102 		eval supported=\$$cacheid
   6103 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6104 printf "%s\n" "$supported" >&6; }
   6105 		if test "$supported" = "yes" ; then
   6106 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6107 			found="yes"
   6108 		fi
   6109 	fi
   6110 
   6111 	if test $found = "no" ; then
   6112 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6113 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6114 		fi
   6115 
   6116 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6117 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6118 		fi
   6119 
   6120 		CFLAGS="$CFLAGS -fd"
   6121 
   6122 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6123 printf %s "checking if $CC supports -fd... " >&6; }
   6124 		cacheid=xorg_cv_cc_flag__fd
   6125 		if eval test \${$cacheid+y}
   6126 then :
   6127   printf %s "(cached) " >&6
   6128 else case e in #(
   6129   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6130 /* end confdefs.h.  */
   6131 int i;
   6132 int
   6133 main (void)
   6134 {
   6135 
   6136   ;
   6137   return 0;
   6138 }
   6139 _ACEOF
   6140 if ac_fn_c_try_link "$LINENO"
   6141 then :
   6142   eval $cacheid=yes
   6143 else case e in #(
   6144   e) eval $cacheid=no ;;
   6145 esac
   6146 fi
   6147 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6148     conftest$ac_exeext conftest.$ac_ext ;;
   6149 esac
   6150 fi
   6151 
   6152 
   6153 		CFLAGS="$xorg_testset_save_CFLAGS"
   6154 
   6155 		eval supported=\$$cacheid
   6156 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6157 printf "%s\n" "$supported" >&6; }
   6158 		if test "$supported" = "yes" ; then
   6159 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6160 			found="yes"
   6161 		fi
   6162 	fi
   6163 
   6164 
   6165 
   6166 
   6167 
   6168 
   6169 
   6170 
   6171 
   6172 
   6173 
   6174 
   6175 
   6176 
   6177 
   6178 xorg_testset_save_CFLAGS="$CFLAGS"
   6179 
   6180 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6181 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6182 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6183 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6184 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6185 then :
   6186   printf %s "(cached) " >&6
   6187 else case e in #(
   6188   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6189 /* end confdefs.h.  */
   6190 int i;
   6191 _ACEOF
   6192 if ac_fn_c_try_compile "$LINENO"
   6193 then :
   6194   xorg_cv_cc_flag_unknown_warning_option=yes
   6195 else case e in #(
   6196   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6197 esac
   6198 fi
   6199 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6200 esac
   6201 fi
   6202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6203 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6204 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6205 	CFLAGS="$xorg_testset_save_CFLAGS"
   6206 fi
   6207 
   6208 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6209 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6210 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6211 	fi
   6212 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6213 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6214 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6215 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6216 then :
   6217   printf %s "(cached) " >&6
   6218 else case e in #(
   6219   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6220 /* end confdefs.h.  */
   6221 int i;
   6222 _ACEOF
   6223 if ac_fn_c_try_compile "$LINENO"
   6224 then :
   6225   xorg_cv_cc_flag_unused_command_line_argument=yes
   6226 else case e in #(
   6227   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6228 esac
   6229 fi
   6230 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6231 esac
   6232 fi
   6233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6234 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6235 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6236 	CFLAGS="$xorg_testset_save_CFLAGS"
   6237 fi
   6238 
   6239 found="no"
   6240 
   6241 	if test $found = "no" ; then
   6242 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6243 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6244 		fi
   6245 
   6246 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6247 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6248 		fi
   6249 
   6250 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6251 
   6252 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6253 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6254 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6255 		if eval test \${$cacheid+y}
   6256 then :
   6257   printf %s "(cached) " >&6
   6258 else case e in #(
   6259   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6260 /* end confdefs.h.  */
   6261 int i;
   6262 int
   6263 main (void)
   6264 {
   6265 
   6266   ;
   6267   return 0;
   6268 }
   6269 _ACEOF
   6270 if ac_fn_c_try_link "$LINENO"
   6271 then :
   6272   eval $cacheid=yes
   6273 else case e in #(
   6274   e) eval $cacheid=no ;;
   6275 esac
   6276 fi
   6277 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6278     conftest$ac_exeext conftest.$ac_ext ;;
   6279 esac
   6280 fi
   6281 
   6282 
   6283 		CFLAGS="$xorg_testset_save_CFLAGS"
   6284 
   6285 		eval supported=\$$cacheid
   6286 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6287 printf "%s\n" "$supported" >&6; }
   6288 		if test "$supported" = "yes" ; then
   6289 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6290 			found="yes"
   6291 		fi
   6292 	fi
   6293 
   6294 
   6295 
   6296 
   6297 
   6298 # This chunk adds additional warnings that could catch undesired effects.
   6299 
   6300 
   6301 
   6302 
   6303 
   6304 
   6305 
   6306 
   6307 
   6308 
   6309 
   6310 
   6311 
   6312 xorg_testset_save_CFLAGS="$CFLAGS"
   6313 
   6314 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6315 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6316 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6317 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6318 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6319 then :
   6320   printf %s "(cached) " >&6
   6321 else case e in #(
   6322   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6323 /* end confdefs.h.  */
   6324 int i;
   6325 _ACEOF
   6326 if ac_fn_c_try_compile "$LINENO"
   6327 then :
   6328   xorg_cv_cc_flag_unknown_warning_option=yes
   6329 else case e in #(
   6330   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6331 esac
   6332 fi
   6333 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6334 esac
   6335 fi
   6336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6337 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6338 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6339 	CFLAGS="$xorg_testset_save_CFLAGS"
   6340 fi
   6341 
   6342 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6343 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6344 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6345 	fi
   6346 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6347 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6348 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6349 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6350 then :
   6351   printf %s "(cached) " >&6
   6352 else case e in #(
   6353   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6354 /* end confdefs.h.  */
   6355 int i;
   6356 _ACEOF
   6357 if ac_fn_c_try_compile "$LINENO"
   6358 then :
   6359   xorg_cv_cc_flag_unused_command_line_argument=yes
   6360 else case e in #(
   6361   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6362 esac
   6363 fi
   6364 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6365 esac
   6366 fi
   6367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6368 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6369 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6370 	CFLAGS="$xorg_testset_save_CFLAGS"
   6371 fi
   6372 
   6373 found="no"
   6374 
   6375 	if test $found = "no" ; then
   6376 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6377 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6378 		fi
   6379 
   6380 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6381 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6382 		fi
   6383 
   6384 		CFLAGS="$CFLAGS -Wunused"
   6385 
   6386 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6387 printf %s "checking if $CC supports -Wunused... " >&6; }
   6388 		cacheid=xorg_cv_cc_flag__Wunused
   6389 		if eval test \${$cacheid+y}
   6390 then :
   6391   printf %s "(cached) " >&6
   6392 else case e in #(
   6393   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6394 /* end confdefs.h.  */
   6395 int i;
   6396 int
   6397 main (void)
   6398 {
   6399 
   6400   ;
   6401   return 0;
   6402 }
   6403 _ACEOF
   6404 if ac_fn_c_try_link "$LINENO"
   6405 then :
   6406   eval $cacheid=yes
   6407 else case e in #(
   6408   e) eval $cacheid=no ;;
   6409 esac
   6410 fi
   6411 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6412     conftest$ac_exeext conftest.$ac_ext ;;
   6413 esac
   6414 fi
   6415 
   6416 
   6417 		CFLAGS="$xorg_testset_save_CFLAGS"
   6418 
   6419 		eval supported=\$$cacheid
   6420 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6421 printf "%s\n" "$supported" >&6; }
   6422 		if test "$supported" = "yes" ; then
   6423 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6424 			found="yes"
   6425 		fi
   6426 	fi
   6427 
   6428 
   6429 
   6430 
   6431 
   6432 
   6433 
   6434 
   6435 
   6436 
   6437 
   6438 
   6439 
   6440 
   6441 
   6442 xorg_testset_save_CFLAGS="$CFLAGS"
   6443 
   6444 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6445 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6446 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6447 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6448 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6449 then :
   6450   printf %s "(cached) " >&6
   6451 else case e in #(
   6452   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6453 /* end confdefs.h.  */
   6454 int i;
   6455 _ACEOF
   6456 if ac_fn_c_try_compile "$LINENO"
   6457 then :
   6458   xorg_cv_cc_flag_unknown_warning_option=yes
   6459 else case e in #(
   6460   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6461 esac
   6462 fi
   6463 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6464 esac
   6465 fi
   6466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6467 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6468 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6469 	CFLAGS="$xorg_testset_save_CFLAGS"
   6470 fi
   6471 
   6472 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6473 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6474 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6475 	fi
   6476 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6477 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6478 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6479 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6480 then :
   6481   printf %s "(cached) " >&6
   6482 else case e in #(
   6483   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6484 /* end confdefs.h.  */
   6485 int i;
   6486 _ACEOF
   6487 if ac_fn_c_try_compile "$LINENO"
   6488 then :
   6489   xorg_cv_cc_flag_unused_command_line_argument=yes
   6490 else case e in #(
   6491   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6492 esac
   6493 fi
   6494 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6495 esac
   6496 fi
   6497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6498 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6499 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6500 	CFLAGS="$xorg_testset_save_CFLAGS"
   6501 fi
   6502 
   6503 found="no"
   6504 
   6505 	if test $found = "no" ; then
   6506 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6507 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6508 		fi
   6509 
   6510 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6511 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6512 		fi
   6513 
   6514 		CFLAGS="$CFLAGS -Wuninitialized"
   6515 
   6516 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6517 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6518 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6519 		if eval test \${$cacheid+y}
   6520 then :
   6521   printf %s "(cached) " >&6
   6522 else case e in #(
   6523   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6524 /* end confdefs.h.  */
   6525 int i;
   6526 int
   6527 main (void)
   6528 {
   6529 
   6530   ;
   6531   return 0;
   6532 }
   6533 _ACEOF
   6534 if ac_fn_c_try_link "$LINENO"
   6535 then :
   6536   eval $cacheid=yes
   6537 else case e in #(
   6538   e) eval $cacheid=no ;;
   6539 esac
   6540 fi
   6541 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6542     conftest$ac_exeext conftest.$ac_ext ;;
   6543 esac
   6544 fi
   6545 
   6546 
   6547 		CFLAGS="$xorg_testset_save_CFLAGS"
   6548 
   6549 		eval supported=\$$cacheid
   6550 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6551 printf "%s\n" "$supported" >&6; }
   6552 		if test "$supported" = "yes" ; then
   6553 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6554 			found="yes"
   6555 		fi
   6556 	fi
   6557 
   6558 
   6559 
   6560 
   6561 
   6562 
   6563 
   6564 
   6565 
   6566 
   6567 
   6568 
   6569 
   6570 
   6571 
   6572 xorg_testset_save_CFLAGS="$CFLAGS"
   6573 
   6574 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6575 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6576 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6577 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6578 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6579 then :
   6580   printf %s "(cached) " >&6
   6581 else case e in #(
   6582   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6583 /* end confdefs.h.  */
   6584 int i;
   6585 _ACEOF
   6586 if ac_fn_c_try_compile "$LINENO"
   6587 then :
   6588   xorg_cv_cc_flag_unknown_warning_option=yes
   6589 else case e in #(
   6590   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6591 esac
   6592 fi
   6593 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6594 esac
   6595 fi
   6596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6597 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6598 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6599 	CFLAGS="$xorg_testset_save_CFLAGS"
   6600 fi
   6601 
   6602 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6603 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6604 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6605 	fi
   6606 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6607 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6608 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6609 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6610 then :
   6611   printf %s "(cached) " >&6
   6612 else case e in #(
   6613   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6614 /* end confdefs.h.  */
   6615 int i;
   6616 _ACEOF
   6617 if ac_fn_c_try_compile "$LINENO"
   6618 then :
   6619   xorg_cv_cc_flag_unused_command_line_argument=yes
   6620 else case e in #(
   6621   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6622 esac
   6623 fi
   6624 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6625 esac
   6626 fi
   6627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6628 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6629 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6630 	CFLAGS="$xorg_testset_save_CFLAGS"
   6631 fi
   6632 
   6633 found="no"
   6634 
   6635 	if test $found = "no" ; then
   6636 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6637 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6638 		fi
   6639 
   6640 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6641 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6642 		fi
   6643 
   6644 		CFLAGS="$CFLAGS -Wshadow"
   6645 
   6646 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6647 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6648 		cacheid=xorg_cv_cc_flag__Wshadow
   6649 		if eval test \${$cacheid+y}
   6650 then :
   6651   printf %s "(cached) " >&6
   6652 else case e in #(
   6653   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6654 /* end confdefs.h.  */
   6655 int i;
   6656 int
   6657 main (void)
   6658 {
   6659 
   6660   ;
   6661   return 0;
   6662 }
   6663 _ACEOF
   6664 if ac_fn_c_try_link "$LINENO"
   6665 then :
   6666   eval $cacheid=yes
   6667 else case e in #(
   6668   e) eval $cacheid=no ;;
   6669 esac
   6670 fi
   6671 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6672     conftest$ac_exeext conftest.$ac_ext ;;
   6673 esac
   6674 fi
   6675 
   6676 
   6677 		CFLAGS="$xorg_testset_save_CFLAGS"
   6678 
   6679 		eval supported=\$$cacheid
   6680 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6681 printf "%s\n" "$supported" >&6; }
   6682 		if test "$supported" = "yes" ; then
   6683 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6684 			found="yes"
   6685 		fi
   6686 	fi
   6687 
   6688 
   6689 
   6690 
   6691 
   6692 
   6693 
   6694 
   6695 
   6696 
   6697 
   6698 
   6699 
   6700 
   6701 
   6702 xorg_testset_save_CFLAGS="$CFLAGS"
   6703 
   6704 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6705 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6706 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6707 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6708 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6709 then :
   6710   printf %s "(cached) " >&6
   6711 else case e in #(
   6712   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6713 /* end confdefs.h.  */
   6714 int i;
   6715 _ACEOF
   6716 if ac_fn_c_try_compile "$LINENO"
   6717 then :
   6718   xorg_cv_cc_flag_unknown_warning_option=yes
   6719 else case e in #(
   6720   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6721 esac
   6722 fi
   6723 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6724 esac
   6725 fi
   6726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6727 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6728 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6729 	CFLAGS="$xorg_testset_save_CFLAGS"
   6730 fi
   6731 
   6732 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6733 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6734 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6735 	fi
   6736 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6737 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6738 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6739 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6740 then :
   6741   printf %s "(cached) " >&6
   6742 else case e in #(
   6743   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6744 /* end confdefs.h.  */
   6745 int i;
   6746 _ACEOF
   6747 if ac_fn_c_try_compile "$LINENO"
   6748 then :
   6749   xorg_cv_cc_flag_unused_command_line_argument=yes
   6750 else case e in #(
   6751   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6752 esac
   6753 fi
   6754 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6755 esac
   6756 fi
   6757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6758 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6759 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6760 	CFLAGS="$xorg_testset_save_CFLAGS"
   6761 fi
   6762 
   6763 found="no"
   6764 
   6765 	if test $found = "no" ; then
   6766 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6767 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6768 		fi
   6769 
   6770 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6771 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6772 		fi
   6773 
   6774 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6775 
   6776 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6777 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6778 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6779 		if eval test \${$cacheid+y}
   6780 then :
   6781   printf %s "(cached) " >&6
   6782 else case e in #(
   6783   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6784 /* end confdefs.h.  */
   6785 int i;
   6786 int
   6787 main (void)
   6788 {
   6789 
   6790   ;
   6791   return 0;
   6792 }
   6793 _ACEOF
   6794 if ac_fn_c_try_link "$LINENO"
   6795 then :
   6796   eval $cacheid=yes
   6797 else case e in #(
   6798   e) eval $cacheid=no ;;
   6799 esac
   6800 fi
   6801 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6802     conftest$ac_exeext conftest.$ac_ext ;;
   6803 esac
   6804 fi
   6805 
   6806 
   6807 		CFLAGS="$xorg_testset_save_CFLAGS"
   6808 
   6809 		eval supported=\$$cacheid
   6810 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6811 printf "%s\n" "$supported" >&6; }
   6812 		if test "$supported" = "yes" ; then
   6813 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6814 			found="yes"
   6815 		fi
   6816 	fi
   6817 
   6818 
   6819 
   6820 
   6821 
   6822 
   6823 
   6824 
   6825 
   6826 
   6827 
   6828 
   6829 
   6830 
   6831 
   6832 xorg_testset_save_CFLAGS="$CFLAGS"
   6833 
   6834 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6835 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6836 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6837 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6838 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6839 then :
   6840   printf %s "(cached) " >&6
   6841 else case e in #(
   6842   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6843 /* end confdefs.h.  */
   6844 int i;
   6845 _ACEOF
   6846 if ac_fn_c_try_compile "$LINENO"
   6847 then :
   6848   xorg_cv_cc_flag_unknown_warning_option=yes
   6849 else case e in #(
   6850   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6851 esac
   6852 fi
   6853 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6854 esac
   6855 fi
   6856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6857 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6858 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6859 	CFLAGS="$xorg_testset_save_CFLAGS"
   6860 fi
   6861 
   6862 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6863 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6864 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6865 	fi
   6866 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6867 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6868 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6869 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6870 then :
   6871   printf %s "(cached) " >&6
   6872 else case e in #(
   6873   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6874 /* end confdefs.h.  */
   6875 int i;
   6876 _ACEOF
   6877 if ac_fn_c_try_compile "$LINENO"
   6878 then :
   6879   xorg_cv_cc_flag_unused_command_line_argument=yes
   6880 else case e in #(
   6881   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6882 esac
   6883 fi
   6884 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6885 esac
   6886 fi
   6887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6888 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6889 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6890 	CFLAGS="$xorg_testset_save_CFLAGS"
   6891 fi
   6892 
   6893 found="no"
   6894 
   6895 	if test $found = "no" ; then
   6896 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6897 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6898 		fi
   6899 
   6900 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6901 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6902 		fi
   6903 
   6904 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6905 
   6906 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6907 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6908 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6909 		if eval test \${$cacheid+y}
   6910 then :
   6911   printf %s "(cached) " >&6
   6912 else case e in #(
   6913   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6914 /* end confdefs.h.  */
   6915 int i;
   6916 int
   6917 main (void)
   6918 {
   6919 
   6920   ;
   6921   return 0;
   6922 }
   6923 _ACEOF
   6924 if ac_fn_c_try_link "$LINENO"
   6925 then :
   6926   eval $cacheid=yes
   6927 else case e in #(
   6928   e) eval $cacheid=no ;;
   6929 esac
   6930 fi
   6931 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6932     conftest$ac_exeext conftest.$ac_ext ;;
   6933 esac
   6934 fi
   6935 
   6936 
   6937 		CFLAGS="$xorg_testset_save_CFLAGS"
   6938 
   6939 		eval supported=\$$cacheid
   6940 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6941 printf "%s\n" "$supported" >&6; }
   6942 		if test "$supported" = "yes" ; then
   6943 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6944 			found="yes"
   6945 		fi
   6946 	fi
   6947 
   6948 
   6949 
   6950 
   6951 
   6952 
   6953 
   6954 
   6955 
   6956 
   6957 
   6958 
   6959 
   6960 
   6961 
   6962 xorg_testset_save_CFLAGS="$CFLAGS"
   6963 
   6964 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6965 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6966 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6967 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6968 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6969 then :
   6970   printf %s "(cached) " >&6
   6971 else case e in #(
   6972   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6973 /* end confdefs.h.  */
   6974 int i;
   6975 _ACEOF
   6976 if ac_fn_c_try_compile "$LINENO"
   6977 then :
   6978   xorg_cv_cc_flag_unknown_warning_option=yes
   6979 else case e in #(
   6980   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6981 esac
   6982 fi
   6983 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6984 esac
   6985 fi
   6986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6987 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6988 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6989 	CFLAGS="$xorg_testset_save_CFLAGS"
   6990 fi
   6991 
   6992 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6993 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6994 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6995 	fi
   6996 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6997 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6998 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6999 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7000 then :
   7001   printf %s "(cached) " >&6
   7002 else case e in #(
   7003   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7004 /* end confdefs.h.  */
   7005 int i;
   7006 _ACEOF
   7007 if ac_fn_c_try_compile "$LINENO"
   7008 then :
   7009   xorg_cv_cc_flag_unused_command_line_argument=yes
   7010 else case e in #(
   7011   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7012 esac
   7013 fi
   7014 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7015 esac
   7016 fi
   7017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7018 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7019 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7020 	CFLAGS="$xorg_testset_save_CFLAGS"
   7021 fi
   7022 
   7023 found="no"
   7024 
   7025 	if test $found = "no" ; then
   7026 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7027 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7028 		fi
   7029 
   7030 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7031 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7032 		fi
   7033 
   7034 		CFLAGS="$CFLAGS -Wredundant-decls"
   7035 
   7036 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7037 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7038 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7039 		if eval test \${$cacheid+y}
   7040 then :
   7041   printf %s "(cached) " >&6
   7042 else case e in #(
   7043   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7044 /* end confdefs.h.  */
   7045 int i;
   7046 int
   7047 main (void)
   7048 {
   7049 
   7050   ;
   7051   return 0;
   7052 }
   7053 _ACEOF
   7054 if ac_fn_c_try_link "$LINENO"
   7055 then :
   7056   eval $cacheid=yes
   7057 else case e in #(
   7058   e) eval $cacheid=no ;;
   7059 esac
   7060 fi
   7061 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7062     conftest$ac_exeext conftest.$ac_ext ;;
   7063 esac
   7064 fi
   7065 
   7066 
   7067 		CFLAGS="$xorg_testset_save_CFLAGS"
   7068 
   7069 		eval supported=\$$cacheid
   7070 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7071 printf "%s\n" "$supported" >&6; }
   7072 		if test "$supported" = "yes" ; then
   7073 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7074 			found="yes"
   7075 		fi
   7076 	fi
   7077 
   7078 
   7079 
   7080 
   7081 
   7082 
   7083 
   7084 
   7085 
   7086 
   7087 
   7088 
   7089 
   7090 
   7091 
   7092 xorg_testset_save_CFLAGS="$CFLAGS"
   7093 
   7094 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7095 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7096 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7097 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7098 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7099 then :
   7100   printf %s "(cached) " >&6
   7101 else case e in #(
   7102   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7103 /* end confdefs.h.  */
   7104 int i;
   7105 _ACEOF
   7106 if ac_fn_c_try_compile "$LINENO"
   7107 then :
   7108   xorg_cv_cc_flag_unknown_warning_option=yes
   7109 else case e in #(
   7110   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7111 esac
   7112 fi
   7113 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7114 esac
   7115 fi
   7116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7117 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7118 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7119 	CFLAGS="$xorg_testset_save_CFLAGS"
   7120 fi
   7121 
   7122 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7123 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7124 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7125 	fi
   7126 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7127 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7128 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7129 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7130 then :
   7131   printf %s "(cached) " >&6
   7132 else case e in #(
   7133   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7134 /* end confdefs.h.  */
   7135 int i;
   7136 _ACEOF
   7137 if ac_fn_c_try_compile "$LINENO"
   7138 then :
   7139   xorg_cv_cc_flag_unused_command_line_argument=yes
   7140 else case e in #(
   7141   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7142 esac
   7143 fi
   7144 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7145 esac
   7146 fi
   7147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7148 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7149 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7150 	CFLAGS="$xorg_testset_save_CFLAGS"
   7151 fi
   7152 
   7153 found="no"
   7154 
   7155 	if test $found = "no" ; then
   7156 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7157 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7158 		fi
   7159 
   7160 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7161 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7162 		fi
   7163 
   7164 		CFLAGS="$CFLAGS -Wlogical-op"
   7165 
   7166 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7167 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7168 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7169 		if eval test \${$cacheid+y}
   7170 then :
   7171   printf %s "(cached) " >&6
   7172 else case e in #(
   7173   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7174 /* end confdefs.h.  */
   7175 int i;
   7176 int
   7177 main (void)
   7178 {
   7179 
   7180   ;
   7181   return 0;
   7182 }
   7183 _ACEOF
   7184 if ac_fn_c_try_link "$LINENO"
   7185 then :
   7186   eval $cacheid=yes
   7187 else case e in #(
   7188   e) eval $cacheid=no ;;
   7189 esac
   7190 fi
   7191 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7192     conftest$ac_exeext conftest.$ac_ext ;;
   7193 esac
   7194 fi
   7195 
   7196 
   7197 		CFLAGS="$xorg_testset_save_CFLAGS"
   7198 
   7199 		eval supported=\$$cacheid
   7200 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7201 printf "%s\n" "$supported" >&6; }
   7202 		if test "$supported" = "yes" ; then
   7203 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7204 			found="yes"
   7205 		fi
   7206 	fi
   7207 
   7208 
   7209 
   7210 # These are currently disabled because they are noisy.  They will be enabled
   7211 # in the future once the codebase is sufficiently modernized to silence
   7212 # them.  For now, I don't want them to drown out the other warnings.
   7213 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7214 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7215 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7216 
   7217 # Turn some warnings into errors, so we don't accidentally get successful builds
   7218 # when there are problems that should be fixed.
   7219 
   7220 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7221 
   7222 
   7223 
   7224 
   7225 
   7226 
   7227 
   7228 
   7229 
   7230 
   7231 
   7232 
   7233 
   7234 xorg_testset_save_CFLAGS="$CFLAGS"
   7235 
   7236 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7237 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7238 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7239 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7240 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7241 then :
   7242   printf %s "(cached) " >&6
   7243 else case e in #(
   7244   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7245 /* end confdefs.h.  */
   7246 int i;
   7247 _ACEOF
   7248 if ac_fn_c_try_compile "$LINENO"
   7249 then :
   7250   xorg_cv_cc_flag_unknown_warning_option=yes
   7251 else case e in #(
   7252   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7253 esac
   7254 fi
   7255 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7256 esac
   7257 fi
   7258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7259 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7260 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7261 	CFLAGS="$xorg_testset_save_CFLAGS"
   7262 fi
   7263 
   7264 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7265 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7266 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7267 	fi
   7268 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7269 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7270 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7271 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7272 then :
   7273   printf %s "(cached) " >&6
   7274 else case e in #(
   7275   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7276 /* end confdefs.h.  */
   7277 int i;
   7278 _ACEOF
   7279 if ac_fn_c_try_compile "$LINENO"
   7280 then :
   7281   xorg_cv_cc_flag_unused_command_line_argument=yes
   7282 else case e in #(
   7283   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7284 esac
   7285 fi
   7286 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7287 esac
   7288 fi
   7289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7290 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7291 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7292 	CFLAGS="$xorg_testset_save_CFLAGS"
   7293 fi
   7294 
   7295 found="no"
   7296 
   7297 	if test $found = "no" ; then
   7298 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7299 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7300 		fi
   7301 
   7302 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7303 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7304 		fi
   7305 
   7306 		CFLAGS="$CFLAGS -Werror=implicit"
   7307 
   7308 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7309 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7310 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7311 		if eval test \${$cacheid+y}
   7312 then :
   7313   printf %s "(cached) " >&6
   7314 else case e in #(
   7315   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7316 /* end confdefs.h.  */
   7317 int i;
   7318 int
   7319 main (void)
   7320 {
   7321 
   7322   ;
   7323   return 0;
   7324 }
   7325 _ACEOF
   7326 if ac_fn_c_try_link "$LINENO"
   7327 then :
   7328   eval $cacheid=yes
   7329 else case e in #(
   7330   e) eval $cacheid=no ;;
   7331 esac
   7332 fi
   7333 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7334     conftest$ac_exeext conftest.$ac_ext ;;
   7335 esac
   7336 fi
   7337 
   7338 
   7339 		CFLAGS="$xorg_testset_save_CFLAGS"
   7340 
   7341 		eval supported=\$$cacheid
   7342 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7343 printf "%s\n" "$supported" >&6; }
   7344 		if test "$supported" = "yes" ; then
   7345 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7346 			found="yes"
   7347 		fi
   7348 	fi
   7349 
   7350 	if test $found = "no" ; then
   7351 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7352 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7353 		fi
   7354 
   7355 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7356 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7357 		fi
   7358 
   7359 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7360 
   7361 		{ 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
   7362 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7363 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7364 		if eval test \${$cacheid+y}
   7365 then :
   7366   printf %s "(cached) " >&6
   7367 else case e in #(
   7368   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7369 /* end confdefs.h.  */
   7370 int i;
   7371 int
   7372 main (void)
   7373 {
   7374 
   7375   ;
   7376   return 0;
   7377 }
   7378 _ACEOF
   7379 if ac_fn_c_try_link "$LINENO"
   7380 then :
   7381   eval $cacheid=yes
   7382 else case e in #(
   7383   e) eval $cacheid=no ;;
   7384 esac
   7385 fi
   7386 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7387     conftest$ac_exeext conftest.$ac_ext ;;
   7388 esac
   7389 fi
   7390 
   7391 
   7392 		CFLAGS="$xorg_testset_save_CFLAGS"
   7393 
   7394 		eval supported=\$$cacheid
   7395 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7396 printf "%s\n" "$supported" >&6; }
   7397 		if test "$supported" = "yes" ; then
   7398 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7399 			found="yes"
   7400 		fi
   7401 	fi
   7402 
   7403 
   7404 
   7405 
   7406 
   7407 
   7408 
   7409 
   7410 
   7411 
   7412 
   7413 
   7414 
   7415 
   7416 
   7417 xorg_testset_save_CFLAGS="$CFLAGS"
   7418 
   7419 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7420 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7421 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7422 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7423 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7424 then :
   7425   printf %s "(cached) " >&6
   7426 else case e in #(
   7427   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7428 /* end confdefs.h.  */
   7429 int i;
   7430 _ACEOF
   7431 if ac_fn_c_try_compile "$LINENO"
   7432 then :
   7433   xorg_cv_cc_flag_unknown_warning_option=yes
   7434 else case e in #(
   7435   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7436 esac
   7437 fi
   7438 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7439 esac
   7440 fi
   7441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7442 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7443 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7444 	CFLAGS="$xorg_testset_save_CFLAGS"
   7445 fi
   7446 
   7447 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7448 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7449 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7450 	fi
   7451 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7452 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7453 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7454 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7455 then :
   7456   printf %s "(cached) " >&6
   7457 else case e in #(
   7458   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7459 /* end confdefs.h.  */
   7460 int i;
   7461 _ACEOF
   7462 if ac_fn_c_try_compile "$LINENO"
   7463 then :
   7464   xorg_cv_cc_flag_unused_command_line_argument=yes
   7465 else case e in #(
   7466   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7467 esac
   7468 fi
   7469 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7470 esac
   7471 fi
   7472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7473 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7474 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7475 	CFLAGS="$xorg_testset_save_CFLAGS"
   7476 fi
   7477 
   7478 found="no"
   7479 
   7480 	if test $found = "no" ; then
   7481 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7482 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7483 		fi
   7484 
   7485 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7486 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7487 		fi
   7488 
   7489 		CFLAGS="$CFLAGS -Werror=nonnull"
   7490 
   7491 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7492 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7493 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7494 		if eval test \${$cacheid+y}
   7495 then :
   7496   printf %s "(cached) " >&6
   7497 else case e in #(
   7498   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7499 /* end confdefs.h.  */
   7500 int i;
   7501 int
   7502 main (void)
   7503 {
   7504 
   7505   ;
   7506   return 0;
   7507 }
   7508 _ACEOF
   7509 if ac_fn_c_try_link "$LINENO"
   7510 then :
   7511   eval $cacheid=yes
   7512 else case e in #(
   7513   e) eval $cacheid=no ;;
   7514 esac
   7515 fi
   7516 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7517     conftest$ac_exeext conftest.$ac_ext ;;
   7518 esac
   7519 fi
   7520 
   7521 
   7522 		CFLAGS="$xorg_testset_save_CFLAGS"
   7523 
   7524 		eval supported=\$$cacheid
   7525 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7526 printf "%s\n" "$supported" >&6; }
   7527 		if test "$supported" = "yes" ; then
   7528 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7529 			found="yes"
   7530 		fi
   7531 	fi
   7532 
   7533 
   7534 
   7535 
   7536 
   7537 
   7538 
   7539 
   7540 
   7541 
   7542 
   7543 
   7544 
   7545 
   7546 
   7547 xorg_testset_save_CFLAGS="$CFLAGS"
   7548 
   7549 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7550 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7551 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7552 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7553 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7554 then :
   7555   printf %s "(cached) " >&6
   7556 else case e in #(
   7557   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7558 /* end confdefs.h.  */
   7559 int i;
   7560 _ACEOF
   7561 if ac_fn_c_try_compile "$LINENO"
   7562 then :
   7563   xorg_cv_cc_flag_unknown_warning_option=yes
   7564 else case e in #(
   7565   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7566 esac
   7567 fi
   7568 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7569 esac
   7570 fi
   7571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7572 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7573 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7574 	CFLAGS="$xorg_testset_save_CFLAGS"
   7575 fi
   7576 
   7577 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7578 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7579 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7580 	fi
   7581 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7582 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7583 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7584 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7585 then :
   7586   printf %s "(cached) " >&6
   7587 else case e in #(
   7588   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7589 /* end confdefs.h.  */
   7590 int i;
   7591 _ACEOF
   7592 if ac_fn_c_try_compile "$LINENO"
   7593 then :
   7594   xorg_cv_cc_flag_unused_command_line_argument=yes
   7595 else case e in #(
   7596   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7597 esac
   7598 fi
   7599 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7600 esac
   7601 fi
   7602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7603 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7604 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7605 	CFLAGS="$xorg_testset_save_CFLAGS"
   7606 fi
   7607 
   7608 found="no"
   7609 
   7610 	if test $found = "no" ; then
   7611 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7612 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7613 		fi
   7614 
   7615 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7616 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7617 		fi
   7618 
   7619 		CFLAGS="$CFLAGS -Werror=init-self"
   7620 
   7621 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7622 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7623 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7624 		if eval test \${$cacheid+y}
   7625 then :
   7626   printf %s "(cached) " >&6
   7627 else case e in #(
   7628   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7629 /* end confdefs.h.  */
   7630 int i;
   7631 int
   7632 main (void)
   7633 {
   7634 
   7635   ;
   7636   return 0;
   7637 }
   7638 _ACEOF
   7639 if ac_fn_c_try_link "$LINENO"
   7640 then :
   7641   eval $cacheid=yes
   7642 else case e in #(
   7643   e) eval $cacheid=no ;;
   7644 esac
   7645 fi
   7646 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7647     conftest$ac_exeext conftest.$ac_ext ;;
   7648 esac
   7649 fi
   7650 
   7651 
   7652 		CFLAGS="$xorg_testset_save_CFLAGS"
   7653 
   7654 		eval supported=\$$cacheid
   7655 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7656 printf "%s\n" "$supported" >&6; }
   7657 		if test "$supported" = "yes" ; then
   7658 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7659 			found="yes"
   7660 		fi
   7661 	fi
   7662 
   7663 
   7664 
   7665 
   7666 
   7667 
   7668 
   7669 
   7670 
   7671 
   7672 
   7673 
   7674 
   7675 
   7676 
   7677 xorg_testset_save_CFLAGS="$CFLAGS"
   7678 
   7679 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7680 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7681 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7682 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7683 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7684 then :
   7685   printf %s "(cached) " >&6
   7686 else case e in #(
   7687   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7688 /* end confdefs.h.  */
   7689 int i;
   7690 _ACEOF
   7691 if ac_fn_c_try_compile "$LINENO"
   7692 then :
   7693   xorg_cv_cc_flag_unknown_warning_option=yes
   7694 else case e in #(
   7695   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7696 esac
   7697 fi
   7698 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7699 esac
   7700 fi
   7701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7702 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7703 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7704 	CFLAGS="$xorg_testset_save_CFLAGS"
   7705 fi
   7706 
   7707 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7708 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7709 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7710 	fi
   7711 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7712 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7713 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7714 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7715 then :
   7716   printf %s "(cached) " >&6
   7717 else case e in #(
   7718   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7719 /* end confdefs.h.  */
   7720 int i;
   7721 _ACEOF
   7722 if ac_fn_c_try_compile "$LINENO"
   7723 then :
   7724   xorg_cv_cc_flag_unused_command_line_argument=yes
   7725 else case e in #(
   7726   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7727 esac
   7728 fi
   7729 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7730 esac
   7731 fi
   7732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7733 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7734 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7735 	CFLAGS="$xorg_testset_save_CFLAGS"
   7736 fi
   7737 
   7738 found="no"
   7739 
   7740 	if test $found = "no" ; then
   7741 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7742 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7743 		fi
   7744 
   7745 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7746 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7747 		fi
   7748 
   7749 		CFLAGS="$CFLAGS -Werror=main"
   7750 
   7751 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7752 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7753 		cacheid=xorg_cv_cc_flag__Werror_main
   7754 		if eval test \${$cacheid+y}
   7755 then :
   7756   printf %s "(cached) " >&6
   7757 else case e in #(
   7758   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7759 /* end confdefs.h.  */
   7760 int i;
   7761 int
   7762 main (void)
   7763 {
   7764 
   7765   ;
   7766   return 0;
   7767 }
   7768 _ACEOF
   7769 if ac_fn_c_try_link "$LINENO"
   7770 then :
   7771   eval $cacheid=yes
   7772 else case e in #(
   7773   e) eval $cacheid=no ;;
   7774 esac
   7775 fi
   7776 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7777     conftest$ac_exeext conftest.$ac_ext ;;
   7778 esac
   7779 fi
   7780 
   7781 
   7782 		CFLAGS="$xorg_testset_save_CFLAGS"
   7783 
   7784 		eval supported=\$$cacheid
   7785 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7786 printf "%s\n" "$supported" >&6; }
   7787 		if test "$supported" = "yes" ; then
   7788 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7789 			found="yes"
   7790 		fi
   7791 	fi
   7792 
   7793 
   7794 
   7795 
   7796 
   7797 
   7798 
   7799 
   7800 
   7801 
   7802 
   7803 
   7804 
   7805 
   7806 
   7807 xorg_testset_save_CFLAGS="$CFLAGS"
   7808 
   7809 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7810 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7811 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7812 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7813 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7814 then :
   7815   printf %s "(cached) " >&6
   7816 else case e in #(
   7817   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7818 /* end confdefs.h.  */
   7819 int i;
   7820 _ACEOF
   7821 if ac_fn_c_try_compile "$LINENO"
   7822 then :
   7823   xorg_cv_cc_flag_unknown_warning_option=yes
   7824 else case e in #(
   7825   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7826 esac
   7827 fi
   7828 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7829 esac
   7830 fi
   7831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7832 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7833 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7834 	CFLAGS="$xorg_testset_save_CFLAGS"
   7835 fi
   7836 
   7837 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7838 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7839 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7840 	fi
   7841 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7842 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7843 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7844 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7845 then :
   7846   printf %s "(cached) " >&6
   7847 else case e in #(
   7848   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7849 /* end confdefs.h.  */
   7850 int i;
   7851 _ACEOF
   7852 if ac_fn_c_try_compile "$LINENO"
   7853 then :
   7854   xorg_cv_cc_flag_unused_command_line_argument=yes
   7855 else case e in #(
   7856   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7857 esac
   7858 fi
   7859 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7860 esac
   7861 fi
   7862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7863 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7864 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7865 	CFLAGS="$xorg_testset_save_CFLAGS"
   7866 fi
   7867 
   7868 found="no"
   7869 
   7870 	if test $found = "no" ; then
   7871 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7872 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7873 		fi
   7874 
   7875 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7876 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7877 		fi
   7878 
   7879 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7880 
   7881 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7882 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   7883 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7884 		if eval test \${$cacheid+y}
   7885 then :
   7886   printf %s "(cached) " >&6
   7887 else case e in #(
   7888   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7889 /* end confdefs.h.  */
   7890 int i;
   7891 int
   7892 main (void)
   7893 {
   7894 
   7895   ;
   7896   return 0;
   7897 }
   7898 _ACEOF
   7899 if ac_fn_c_try_link "$LINENO"
   7900 then :
   7901   eval $cacheid=yes
   7902 else case e in #(
   7903   e) eval $cacheid=no ;;
   7904 esac
   7905 fi
   7906 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7907     conftest$ac_exeext conftest.$ac_ext ;;
   7908 esac
   7909 fi
   7910 
   7911 
   7912 		CFLAGS="$xorg_testset_save_CFLAGS"
   7913 
   7914 		eval supported=\$$cacheid
   7915 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7916 printf "%s\n" "$supported" >&6; }
   7917 		if test "$supported" = "yes" ; then
   7918 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7919 			found="yes"
   7920 		fi
   7921 	fi
   7922 
   7923 
   7924 
   7925 
   7926 
   7927 
   7928 
   7929 
   7930 
   7931 
   7932 
   7933 
   7934 
   7935 
   7936 
   7937 xorg_testset_save_CFLAGS="$CFLAGS"
   7938 
   7939 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7940 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7941 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7942 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7943 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7944 then :
   7945   printf %s "(cached) " >&6
   7946 else case e in #(
   7947   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7948 /* end confdefs.h.  */
   7949 int i;
   7950 _ACEOF
   7951 if ac_fn_c_try_compile "$LINENO"
   7952 then :
   7953   xorg_cv_cc_flag_unknown_warning_option=yes
   7954 else case e in #(
   7955   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7956 esac
   7957 fi
   7958 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7959 esac
   7960 fi
   7961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7962 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7963 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7964 	CFLAGS="$xorg_testset_save_CFLAGS"
   7965 fi
   7966 
   7967 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7968 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7969 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7970 	fi
   7971 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7972 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7973 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7974 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7975 then :
   7976   printf %s "(cached) " >&6
   7977 else case e in #(
   7978   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7979 /* end confdefs.h.  */
   7980 int i;
   7981 _ACEOF
   7982 if ac_fn_c_try_compile "$LINENO"
   7983 then :
   7984   xorg_cv_cc_flag_unused_command_line_argument=yes
   7985 else case e in #(
   7986   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7987 esac
   7988 fi
   7989 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7990 esac
   7991 fi
   7992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7993 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7994 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7995 	CFLAGS="$xorg_testset_save_CFLAGS"
   7996 fi
   7997 
   7998 found="no"
   7999 
   8000 	if test $found = "no" ; then
   8001 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8002 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8003 		fi
   8004 
   8005 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8006 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8007 		fi
   8008 
   8009 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8010 
   8011 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8012 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   8013 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8014 		if eval test \${$cacheid+y}
   8015 then :
   8016   printf %s "(cached) " >&6
   8017 else case e in #(
   8018   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8019 /* end confdefs.h.  */
   8020 int i;
   8021 int
   8022 main (void)
   8023 {
   8024 
   8025   ;
   8026   return 0;
   8027 }
   8028 _ACEOF
   8029 if ac_fn_c_try_link "$LINENO"
   8030 then :
   8031   eval $cacheid=yes
   8032 else case e in #(
   8033   e) eval $cacheid=no ;;
   8034 esac
   8035 fi
   8036 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8037     conftest$ac_exeext conftest.$ac_ext ;;
   8038 esac
   8039 fi
   8040 
   8041 
   8042 		CFLAGS="$xorg_testset_save_CFLAGS"
   8043 
   8044 		eval supported=\$$cacheid
   8045 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8046 printf "%s\n" "$supported" >&6; }
   8047 		if test "$supported" = "yes" ; then
   8048 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8049 			found="yes"
   8050 		fi
   8051 	fi
   8052 
   8053 
   8054 
   8055 
   8056 
   8057 
   8058 
   8059 
   8060 
   8061 
   8062 
   8063 
   8064 
   8065 
   8066 
   8067 xorg_testset_save_CFLAGS="$CFLAGS"
   8068 
   8069 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8070 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8071 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8072 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8073 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8074 then :
   8075   printf %s "(cached) " >&6
   8076 else case e in #(
   8077   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8078 /* end confdefs.h.  */
   8079 int i;
   8080 _ACEOF
   8081 if ac_fn_c_try_compile "$LINENO"
   8082 then :
   8083   xorg_cv_cc_flag_unknown_warning_option=yes
   8084 else case e in #(
   8085   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8086 esac
   8087 fi
   8088 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8089 esac
   8090 fi
   8091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8092 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8093 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8094 	CFLAGS="$xorg_testset_save_CFLAGS"
   8095 fi
   8096 
   8097 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8098 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8099 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8100 	fi
   8101 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8102 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8103 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8104 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8105 then :
   8106   printf %s "(cached) " >&6
   8107 else case e in #(
   8108   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8109 /* end confdefs.h.  */
   8110 int i;
   8111 _ACEOF
   8112 if ac_fn_c_try_compile "$LINENO"
   8113 then :
   8114   xorg_cv_cc_flag_unused_command_line_argument=yes
   8115 else case e in #(
   8116   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8117 esac
   8118 fi
   8119 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8120 esac
   8121 fi
   8122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8123 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8124 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8125 	CFLAGS="$xorg_testset_save_CFLAGS"
   8126 fi
   8127 
   8128 found="no"
   8129 
   8130 	if test $found = "no" ; then
   8131 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8132 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8133 		fi
   8134 
   8135 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8136 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8137 		fi
   8138 
   8139 		CFLAGS="$CFLAGS -Werror=return-type"
   8140 
   8141 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8142 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8143 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8144 		if eval test \${$cacheid+y}
   8145 then :
   8146   printf %s "(cached) " >&6
   8147 else case e in #(
   8148   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8149 /* end confdefs.h.  */
   8150 int i;
   8151 int
   8152 main (void)
   8153 {
   8154 
   8155   ;
   8156   return 0;
   8157 }
   8158 _ACEOF
   8159 if ac_fn_c_try_link "$LINENO"
   8160 then :
   8161   eval $cacheid=yes
   8162 else case e in #(
   8163   e) eval $cacheid=no ;;
   8164 esac
   8165 fi
   8166 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8167     conftest$ac_exeext conftest.$ac_ext ;;
   8168 esac
   8169 fi
   8170 
   8171 
   8172 		CFLAGS="$xorg_testset_save_CFLAGS"
   8173 
   8174 		eval supported=\$$cacheid
   8175 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8176 printf "%s\n" "$supported" >&6; }
   8177 		if test "$supported" = "yes" ; then
   8178 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8179 			found="yes"
   8180 		fi
   8181 	fi
   8182 
   8183 	if test $found = "no" ; then
   8184 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8185 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8186 		fi
   8187 
   8188 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8189 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8190 		fi
   8191 
   8192 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8193 
   8194 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8195 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8196 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8197 		if eval test \${$cacheid+y}
   8198 then :
   8199   printf %s "(cached) " >&6
   8200 else case e in #(
   8201   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8202 /* end confdefs.h.  */
   8203 int i;
   8204 int
   8205 main (void)
   8206 {
   8207 
   8208   ;
   8209   return 0;
   8210 }
   8211 _ACEOF
   8212 if ac_fn_c_try_link "$LINENO"
   8213 then :
   8214   eval $cacheid=yes
   8215 else case e in #(
   8216   e) eval $cacheid=no ;;
   8217 esac
   8218 fi
   8219 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8220     conftest$ac_exeext conftest.$ac_ext ;;
   8221 esac
   8222 fi
   8223 
   8224 
   8225 		CFLAGS="$xorg_testset_save_CFLAGS"
   8226 
   8227 		eval supported=\$$cacheid
   8228 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8229 printf "%s\n" "$supported" >&6; }
   8230 		if test "$supported" = "yes" ; then
   8231 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8232 			found="yes"
   8233 		fi
   8234 	fi
   8235 
   8236 
   8237 
   8238 
   8239 
   8240 
   8241 
   8242 
   8243 
   8244 
   8245 
   8246 
   8247 
   8248 
   8249 
   8250 xorg_testset_save_CFLAGS="$CFLAGS"
   8251 
   8252 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8253 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8254 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8255 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8256 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8257 then :
   8258   printf %s "(cached) " >&6
   8259 else case e in #(
   8260   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8261 /* end confdefs.h.  */
   8262 int i;
   8263 _ACEOF
   8264 if ac_fn_c_try_compile "$LINENO"
   8265 then :
   8266   xorg_cv_cc_flag_unknown_warning_option=yes
   8267 else case e in #(
   8268   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8269 esac
   8270 fi
   8271 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8272 esac
   8273 fi
   8274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8275 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8276 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8277 	CFLAGS="$xorg_testset_save_CFLAGS"
   8278 fi
   8279 
   8280 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8281 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8282 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8283 	fi
   8284 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8285 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8286 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8287 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8288 then :
   8289   printf %s "(cached) " >&6
   8290 else case e in #(
   8291   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8292 /* end confdefs.h.  */
   8293 int i;
   8294 _ACEOF
   8295 if ac_fn_c_try_compile "$LINENO"
   8296 then :
   8297   xorg_cv_cc_flag_unused_command_line_argument=yes
   8298 else case e in #(
   8299   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8300 esac
   8301 fi
   8302 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8303 esac
   8304 fi
   8305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8306 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8307 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8308 	CFLAGS="$xorg_testset_save_CFLAGS"
   8309 fi
   8310 
   8311 found="no"
   8312 
   8313 	if test $found = "no" ; then
   8314 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8315 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8316 		fi
   8317 
   8318 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8319 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8320 		fi
   8321 
   8322 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8323 
   8324 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8325 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8326 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8327 		if eval test \${$cacheid+y}
   8328 then :
   8329   printf %s "(cached) " >&6
   8330 else case e in #(
   8331   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8332 /* end confdefs.h.  */
   8333 int i;
   8334 int
   8335 main (void)
   8336 {
   8337 
   8338   ;
   8339   return 0;
   8340 }
   8341 _ACEOF
   8342 if ac_fn_c_try_link "$LINENO"
   8343 then :
   8344   eval $cacheid=yes
   8345 else case e in #(
   8346   e) eval $cacheid=no ;;
   8347 esac
   8348 fi
   8349 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8350     conftest$ac_exeext conftest.$ac_ext ;;
   8351 esac
   8352 fi
   8353 
   8354 
   8355 		CFLAGS="$xorg_testset_save_CFLAGS"
   8356 
   8357 		eval supported=\$$cacheid
   8358 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8359 printf "%s\n" "$supported" >&6; }
   8360 		if test "$supported" = "yes" ; then
   8361 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8362 			found="yes"
   8363 		fi
   8364 	fi
   8365 
   8366 
   8367 
   8368 
   8369 
   8370 
   8371 
   8372 
   8373 
   8374 
   8375 
   8376 
   8377 
   8378 
   8379 
   8380 xorg_testset_save_CFLAGS="$CFLAGS"
   8381 
   8382 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8383 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8384 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8385 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8386 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8387 then :
   8388   printf %s "(cached) " >&6
   8389 else case e in #(
   8390   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8391 /* end confdefs.h.  */
   8392 int i;
   8393 _ACEOF
   8394 if ac_fn_c_try_compile "$LINENO"
   8395 then :
   8396   xorg_cv_cc_flag_unknown_warning_option=yes
   8397 else case e in #(
   8398   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8399 esac
   8400 fi
   8401 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8402 esac
   8403 fi
   8404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8405 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8406 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8407 	CFLAGS="$xorg_testset_save_CFLAGS"
   8408 fi
   8409 
   8410 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8411 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8412 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8413 	fi
   8414 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8415 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8416 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8417 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8418 then :
   8419   printf %s "(cached) " >&6
   8420 else case e in #(
   8421   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8422 /* end confdefs.h.  */
   8423 int i;
   8424 _ACEOF
   8425 if ac_fn_c_try_compile "$LINENO"
   8426 then :
   8427   xorg_cv_cc_flag_unused_command_line_argument=yes
   8428 else case e in #(
   8429   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8430 esac
   8431 fi
   8432 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8433 esac
   8434 fi
   8435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8436 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8437 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8438 	CFLAGS="$xorg_testset_save_CFLAGS"
   8439 fi
   8440 
   8441 found="no"
   8442 
   8443 	if test $found = "no" ; then
   8444 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8445 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8446 		fi
   8447 
   8448 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8449 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8450 		fi
   8451 
   8452 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8453 
   8454 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8455 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8456 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8457 		if eval test \${$cacheid+y}
   8458 then :
   8459   printf %s "(cached) " >&6
   8460 else case e in #(
   8461   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8462 /* end confdefs.h.  */
   8463 int i;
   8464 int
   8465 main (void)
   8466 {
   8467 
   8468   ;
   8469   return 0;
   8470 }
   8471 _ACEOF
   8472 if ac_fn_c_try_link "$LINENO"
   8473 then :
   8474   eval $cacheid=yes
   8475 else case e in #(
   8476   e) eval $cacheid=no ;;
   8477 esac
   8478 fi
   8479 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8480     conftest$ac_exeext conftest.$ac_ext ;;
   8481 esac
   8482 fi
   8483 
   8484 
   8485 		CFLAGS="$xorg_testset_save_CFLAGS"
   8486 
   8487 		eval supported=\$$cacheid
   8488 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8489 printf "%s\n" "$supported" >&6; }
   8490 		if test "$supported" = "yes" ; then
   8491 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8492 			found="yes"
   8493 		fi
   8494 	fi
   8495 
   8496 
   8497 
   8498 
   8499 
   8500 
   8501 
   8502 
   8503 
   8504 
   8505 
   8506 
   8507 
   8508 
   8509 
   8510 xorg_testset_save_CFLAGS="$CFLAGS"
   8511 
   8512 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8513 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8514 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8515 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8516 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8517 then :
   8518   printf %s "(cached) " >&6
   8519 else case e in #(
   8520   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8521 /* end confdefs.h.  */
   8522 int i;
   8523 _ACEOF
   8524 if ac_fn_c_try_compile "$LINENO"
   8525 then :
   8526   xorg_cv_cc_flag_unknown_warning_option=yes
   8527 else case e in #(
   8528   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8529 esac
   8530 fi
   8531 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8532 esac
   8533 fi
   8534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8535 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8536 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8537 	CFLAGS="$xorg_testset_save_CFLAGS"
   8538 fi
   8539 
   8540 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8541 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8542 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8543 	fi
   8544 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8545 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8546 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8547 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8548 then :
   8549   printf %s "(cached) " >&6
   8550 else case e in #(
   8551   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8552 /* end confdefs.h.  */
   8553 int i;
   8554 _ACEOF
   8555 if ac_fn_c_try_compile "$LINENO"
   8556 then :
   8557   xorg_cv_cc_flag_unused_command_line_argument=yes
   8558 else case e in #(
   8559   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8560 esac
   8561 fi
   8562 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8563 esac
   8564 fi
   8565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8566 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8567 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8568 	CFLAGS="$xorg_testset_save_CFLAGS"
   8569 fi
   8570 
   8571 found="no"
   8572 
   8573 	if test $found = "no" ; then
   8574 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8575 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8576 		fi
   8577 
   8578 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8579 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8580 		fi
   8581 
   8582 		CFLAGS="$CFLAGS -Werror=write-strings"
   8583 
   8584 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8585 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8586 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8587 		if eval test \${$cacheid+y}
   8588 then :
   8589   printf %s "(cached) " >&6
   8590 else case e in #(
   8591   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8592 /* end confdefs.h.  */
   8593 int i;
   8594 int
   8595 main (void)
   8596 {
   8597 
   8598   ;
   8599   return 0;
   8600 }
   8601 _ACEOF
   8602 if ac_fn_c_try_link "$LINENO"
   8603 then :
   8604   eval $cacheid=yes
   8605 else case e in #(
   8606   e) eval $cacheid=no ;;
   8607 esac
   8608 fi
   8609 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8610     conftest$ac_exeext conftest.$ac_ext ;;
   8611 esac
   8612 fi
   8613 
   8614 
   8615 		CFLAGS="$xorg_testset_save_CFLAGS"
   8616 
   8617 		eval supported=\$$cacheid
   8618 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8619 printf "%s\n" "$supported" >&6; }
   8620 		if test "$supported" = "yes" ; then
   8621 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8622 			found="yes"
   8623 		fi
   8624 	fi
   8625 
   8626 
   8627 
   8628 
   8629 
   8630 
   8631 
   8632 
   8633 
   8634 
   8635 
   8636 
   8637 
   8638 
   8639 
   8640 xorg_testset_save_CFLAGS="$CFLAGS"
   8641 
   8642 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8643 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8644 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8645 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8646 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8647 then :
   8648   printf %s "(cached) " >&6
   8649 else case e in #(
   8650   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8651 /* end confdefs.h.  */
   8652 int i;
   8653 _ACEOF
   8654 if ac_fn_c_try_compile "$LINENO"
   8655 then :
   8656   xorg_cv_cc_flag_unknown_warning_option=yes
   8657 else case e in #(
   8658   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8659 esac
   8660 fi
   8661 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8662 esac
   8663 fi
   8664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8665 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8666 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8667 	CFLAGS="$xorg_testset_save_CFLAGS"
   8668 fi
   8669 
   8670 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8671 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8672 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8673 	fi
   8674 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8675 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8676 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8677 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8678 then :
   8679   printf %s "(cached) " >&6
   8680 else case e in #(
   8681   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8682 /* end confdefs.h.  */
   8683 int i;
   8684 _ACEOF
   8685 if ac_fn_c_try_compile "$LINENO"
   8686 then :
   8687   xorg_cv_cc_flag_unused_command_line_argument=yes
   8688 else case e in #(
   8689   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8690 esac
   8691 fi
   8692 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8693 esac
   8694 fi
   8695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8696 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8697 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8698 	CFLAGS="$xorg_testset_save_CFLAGS"
   8699 fi
   8700 
   8701 found="no"
   8702 
   8703 	if test $found = "no" ; then
   8704 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8705 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8706 		fi
   8707 
   8708 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8709 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8710 		fi
   8711 
   8712 		CFLAGS="$CFLAGS -Werror=address"
   8713 
   8714 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8715 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8716 		cacheid=xorg_cv_cc_flag__Werror_address
   8717 		if eval test \${$cacheid+y}
   8718 then :
   8719   printf %s "(cached) " >&6
   8720 else case e in #(
   8721   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8722 /* end confdefs.h.  */
   8723 int i;
   8724 int
   8725 main (void)
   8726 {
   8727 
   8728   ;
   8729   return 0;
   8730 }
   8731 _ACEOF
   8732 if ac_fn_c_try_link "$LINENO"
   8733 then :
   8734   eval $cacheid=yes
   8735 else case e in #(
   8736   e) eval $cacheid=no ;;
   8737 esac
   8738 fi
   8739 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8740     conftest$ac_exeext conftest.$ac_ext ;;
   8741 esac
   8742 fi
   8743 
   8744 
   8745 		CFLAGS="$xorg_testset_save_CFLAGS"
   8746 
   8747 		eval supported=\$$cacheid
   8748 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8749 printf "%s\n" "$supported" >&6; }
   8750 		if test "$supported" = "yes" ; then
   8751 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8752 			found="yes"
   8753 		fi
   8754 	fi
   8755 
   8756 
   8757 
   8758 
   8759 
   8760 
   8761 
   8762 
   8763 
   8764 
   8765 
   8766 
   8767 
   8768 
   8769 
   8770 xorg_testset_save_CFLAGS="$CFLAGS"
   8771 
   8772 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8773 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8774 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8775 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8776 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8777 then :
   8778   printf %s "(cached) " >&6
   8779 else case e in #(
   8780   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8781 /* end confdefs.h.  */
   8782 int i;
   8783 _ACEOF
   8784 if ac_fn_c_try_compile "$LINENO"
   8785 then :
   8786   xorg_cv_cc_flag_unknown_warning_option=yes
   8787 else case e in #(
   8788   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8789 esac
   8790 fi
   8791 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8792 esac
   8793 fi
   8794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8795 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8796 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8797 	CFLAGS="$xorg_testset_save_CFLAGS"
   8798 fi
   8799 
   8800 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8801 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8802 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8803 	fi
   8804 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8805 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8806 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8807 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8808 then :
   8809   printf %s "(cached) " >&6
   8810 else case e in #(
   8811   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8812 /* end confdefs.h.  */
   8813 int i;
   8814 _ACEOF
   8815 if ac_fn_c_try_compile "$LINENO"
   8816 then :
   8817   xorg_cv_cc_flag_unused_command_line_argument=yes
   8818 else case e in #(
   8819   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8820 esac
   8821 fi
   8822 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8823 esac
   8824 fi
   8825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8826 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8827 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8828 	CFLAGS="$xorg_testset_save_CFLAGS"
   8829 fi
   8830 
   8831 found="no"
   8832 
   8833 	if test $found = "no" ; then
   8834 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8835 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8836 		fi
   8837 
   8838 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8839 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8840 		fi
   8841 
   8842 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8843 
   8844 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8845 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8846 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8847 		if eval test \${$cacheid+y}
   8848 then :
   8849   printf %s "(cached) " >&6
   8850 else case e in #(
   8851   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8852 /* end confdefs.h.  */
   8853 int i;
   8854 int
   8855 main (void)
   8856 {
   8857 
   8858   ;
   8859   return 0;
   8860 }
   8861 _ACEOF
   8862 if ac_fn_c_try_link "$LINENO"
   8863 then :
   8864   eval $cacheid=yes
   8865 else case e in #(
   8866   e) eval $cacheid=no ;;
   8867 esac
   8868 fi
   8869 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8870     conftest$ac_exeext conftest.$ac_ext ;;
   8871 esac
   8872 fi
   8873 
   8874 
   8875 		CFLAGS="$xorg_testset_save_CFLAGS"
   8876 
   8877 		eval supported=\$$cacheid
   8878 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8879 printf "%s\n" "$supported" >&6; }
   8880 		if test "$supported" = "yes" ; then
   8881 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8882 			found="yes"
   8883 		fi
   8884 	fi
   8885 
   8886 	if test $found = "no" ; then
   8887 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8888 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8889 		fi
   8890 
   8891 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8892 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8893 		fi
   8894 
   8895 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8896 
   8897 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8898 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8899 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8900 		if eval test \${$cacheid+y}
   8901 then :
   8902   printf %s "(cached) " >&6
   8903 else case e in #(
   8904   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8905 /* end confdefs.h.  */
   8906 int i;
   8907 int
   8908 main (void)
   8909 {
   8910 
   8911   ;
   8912   return 0;
   8913 }
   8914 _ACEOF
   8915 if ac_fn_c_try_link "$LINENO"
   8916 then :
   8917   eval $cacheid=yes
   8918 else case e in #(
   8919   e) eval $cacheid=no ;;
   8920 esac
   8921 fi
   8922 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8923     conftest$ac_exeext conftest.$ac_ext ;;
   8924 esac
   8925 fi
   8926 
   8927 
   8928 		CFLAGS="$xorg_testset_save_CFLAGS"
   8929 
   8930 		eval supported=\$$cacheid
   8931 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8932 printf "%s\n" "$supported" >&6; }
   8933 		if test "$supported" = "yes" ; then
   8934 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8935 			found="yes"
   8936 		fi
   8937 	fi
   8938 
   8939 
   8940 
   8941 
   8942 
   8943 
   8944 
   8945 
   8946 
   8947 
   8948 
   8949 
   8950 
   8951 
   8952 
   8953 xorg_testset_save_CFLAGS="$CFLAGS"
   8954 
   8955 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8956 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8957 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8958 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8959 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8960 then :
   8961   printf %s "(cached) " >&6
   8962 else case e in #(
   8963   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8964 /* end confdefs.h.  */
   8965 int i;
   8966 _ACEOF
   8967 if ac_fn_c_try_compile "$LINENO"
   8968 then :
   8969   xorg_cv_cc_flag_unknown_warning_option=yes
   8970 else case e in #(
   8971   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8972 esac
   8973 fi
   8974 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8975 esac
   8976 fi
   8977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8978 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8979 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8980 	CFLAGS="$xorg_testset_save_CFLAGS"
   8981 fi
   8982 
   8983 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8984 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8985 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8986 	fi
   8987 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8988 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8989 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8990 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8991 then :
   8992   printf %s "(cached) " >&6
   8993 else case e in #(
   8994   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8995 /* end confdefs.h.  */
   8996 int i;
   8997 _ACEOF
   8998 if ac_fn_c_try_compile "$LINENO"
   8999 then :
   9000   xorg_cv_cc_flag_unused_command_line_argument=yes
   9001 else case e in #(
   9002   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9003 esac
   9004 fi
   9005 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9006 esac
   9007 fi
   9008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9009 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9010 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9011 	CFLAGS="$xorg_testset_save_CFLAGS"
   9012 fi
   9013 
   9014 found="no"
   9015 
   9016 	if test $found = "no" ; then
   9017 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9018 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9019 		fi
   9020 
   9021 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9022 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9023 		fi
   9024 
   9025 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   9026 
   9027 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   9028 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   9029 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   9030 		if eval test \${$cacheid+y}
   9031 then :
   9032   printf %s "(cached) " >&6
   9033 else case e in #(
   9034   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9035 /* end confdefs.h.  */
   9036 int i;
   9037 int
   9038 main (void)
   9039 {
   9040 
   9041   ;
   9042   return 0;
   9043 }
   9044 _ACEOF
   9045 if ac_fn_c_try_link "$LINENO"
   9046 then :
   9047   eval $cacheid=yes
   9048 else case e in #(
   9049   e) eval $cacheid=no ;;
   9050 esac
   9051 fi
   9052 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9053     conftest$ac_exeext conftest.$ac_ext ;;
   9054 esac
   9055 fi
   9056 
   9057 
   9058 		CFLAGS="$xorg_testset_save_CFLAGS"
   9059 
   9060 		eval supported=\$$cacheid
   9061 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9062 printf "%s\n" "$supported" >&6; }
   9063 		if test "$supported" = "yes" ; then
   9064 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   9065 			found="yes"
   9066 		fi
   9067 	fi
   9068 
   9069  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   9070 else
   9071 { 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
   9072 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;}
   9073 
   9074 
   9075 
   9076 
   9077 
   9078 
   9079 
   9080 
   9081 
   9082 
   9083 
   9084 
   9085 
   9086 xorg_testset_save_CFLAGS="$CFLAGS"
   9087 
   9088 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9089 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9090 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9091 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9092 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9093 then :
   9094   printf %s "(cached) " >&6
   9095 else case e in #(
   9096   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9097 /* end confdefs.h.  */
   9098 int i;
   9099 _ACEOF
   9100 if ac_fn_c_try_compile "$LINENO"
   9101 then :
   9102   xorg_cv_cc_flag_unknown_warning_option=yes
   9103 else case e in #(
   9104   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9105 esac
   9106 fi
   9107 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9108 esac
   9109 fi
   9110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9111 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9112 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9113 	CFLAGS="$xorg_testset_save_CFLAGS"
   9114 fi
   9115 
   9116 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9117 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9118 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9119 	fi
   9120 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9121 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9122 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9123 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9124 then :
   9125   printf %s "(cached) " >&6
   9126 else case e in #(
   9127   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9128 /* end confdefs.h.  */
   9129 int i;
   9130 _ACEOF
   9131 if ac_fn_c_try_compile "$LINENO"
   9132 then :
   9133   xorg_cv_cc_flag_unused_command_line_argument=yes
   9134 else case e in #(
   9135   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9136 esac
   9137 fi
   9138 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9139 esac
   9140 fi
   9141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9142 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9143 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9144 	CFLAGS="$xorg_testset_save_CFLAGS"
   9145 fi
   9146 
   9147 found="no"
   9148 
   9149 	if test $found = "no" ; then
   9150 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9151 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9152 		fi
   9153 
   9154 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9155 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9156 		fi
   9157 
   9158 		CFLAGS="$CFLAGS -Wimplicit"
   9159 
   9160 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9161 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9162 		cacheid=xorg_cv_cc_flag__Wimplicit
   9163 		if eval test \${$cacheid+y}
   9164 then :
   9165   printf %s "(cached) " >&6
   9166 else case e in #(
   9167   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9168 /* end confdefs.h.  */
   9169 int i;
   9170 int
   9171 main (void)
   9172 {
   9173 
   9174   ;
   9175   return 0;
   9176 }
   9177 _ACEOF
   9178 if ac_fn_c_try_link "$LINENO"
   9179 then :
   9180   eval $cacheid=yes
   9181 else case e in #(
   9182   e) eval $cacheid=no ;;
   9183 esac
   9184 fi
   9185 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9186     conftest$ac_exeext conftest.$ac_ext ;;
   9187 esac
   9188 fi
   9189 
   9190 
   9191 		CFLAGS="$xorg_testset_save_CFLAGS"
   9192 
   9193 		eval supported=\$$cacheid
   9194 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9195 printf "%s\n" "$supported" >&6; }
   9196 		if test "$supported" = "yes" ; then
   9197 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9198 			found="yes"
   9199 		fi
   9200 	fi
   9201 
   9202 
   9203 
   9204 
   9205 
   9206 
   9207 
   9208 
   9209 
   9210 
   9211 
   9212 
   9213 
   9214 
   9215 
   9216 xorg_testset_save_CFLAGS="$CFLAGS"
   9217 
   9218 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9219 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9220 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9221 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9222 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9223 then :
   9224   printf %s "(cached) " >&6
   9225 else case e in #(
   9226   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9227 /* end confdefs.h.  */
   9228 int i;
   9229 _ACEOF
   9230 if ac_fn_c_try_compile "$LINENO"
   9231 then :
   9232   xorg_cv_cc_flag_unknown_warning_option=yes
   9233 else case e in #(
   9234   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9235 esac
   9236 fi
   9237 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9238 esac
   9239 fi
   9240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9241 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9242 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9243 	CFLAGS="$xorg_testset_save_CFLAGS"
   9244 fi
   9245 
   9246 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9247 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9248 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9249 	fi
   9250 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9251 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9252 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9253 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9254 then :
   9255   printf %s "(cached) " >&6
   9256 else case e in #(
   9257   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9258 /* end confdefs.h.  */
   9259 int i;
   9260 _ACEOF
   9261 if ac_fn_c_try_compile "$LINENO"
   9262 then :
   9263   xorg_cv_cc_flag_unused_command_line_argument=yes
   9264 else case e in #(
   9265   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9266 esac
   9267 fi
   9268 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9269 esac
   9270 fi
   9271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9272 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9273 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9274 	CFLAGS="$xorg_testset_save_CFLAGS"
   9275 fi
   9276 
   9277 found="no"
   9278 
   9279 	if test $found = "no" ; then
   9280 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9281 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9282 		fi
   9283 
   9284 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9285 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9286 		fi
   9287 
   9288 		CFLAGS="$CFLAGS -Wnonnull"
   9289 
   9290 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9291 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9292 		cacheid=xorg_cv_cc_flag__Wnonnull
   9293 		if eval test \${$cacheid+y}
   9294 then :
   9295   printf %s "(cached) " >&6
   9296 else case e in #(
   9297   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9298 /* end confdefs.h.  */
   9299 int i;
   9300 int
   9301 main (void)
   9302 {
   9303 
   9304   ;
   9305   return 0;
   9306 }
   9307 _ACEOF
   9308 if ac_fn_c_try_link "$LINENO"
   9309 then :
   9310   eval $cacheid=yes
   9311 else case e in #(
   9312   e) eval $cacheid=no ;;
   9313 esac
   9314 fi
   9315 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9316     conftest$ac_exeext conftest.$ac_ext ;;
   9317 esac
   9318 fi
   9319 
   9320 
   9321 		CFLAGS="$xorg_testset_save_CFLAGS"
   9322 
   9323 		eval supported=\$$cacheid
   9324 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9325 printf "%s\n" "$supported" >&6; }
   9326 		if test "$supported" = "yes" ; then
   9327 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9328 			found="yes"
   9329 		fi
   9330 	fi
   9331 
   9332 
   9333 
   9334 
   9335 
   9336 
   9337 
   9338 
   9339 
   9340 
   9341 
   9342 
   9343 
   9344 
   9345 
   9346 xorg_testset_save_CFLAGS="$CFLAGS"
   9347 
   9348 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9349 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9350 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9351 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9352 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9353 then :
   9354   printf %s "(cached) " >&6
   9355 else case e in #(
   9356   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9357 /* end confdefs.h.  */
   9358 int i;
   9359 _ACEOF
   9360 if ac_fn_c_try_compile "$LINENO"
   9361 then :
   9362   xorg_cv_cc_flag_unknown_warning_option=yes
   9363 else case e in #(
   9364   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9365 esac
   9366 fi
   9367 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9368 esac
   9369 fi
   9370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9371 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9372 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9373 	CFLAGS="$xorg_testset_save_CFLAGS"
   9374 fi
   9375 
   9376 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9377 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9378 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9379 	fi
   9380 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9381 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9382 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9383 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9384 then :
   9385   printf %s "(cached) " >&6
   9386 else case e in #(
   9387   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9388 /* end confdefs.h.  */
   9389 int i;
   9390 _ACEOF
   9391 if ac_fn_c_try_compile "$LINENO"
   9392 then :
   9393   xorg_cv_cc_flag_unused_command_line_argument=yes
   9394 else case e in #(
   9395   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9396 esac
   9397 fi
   9398 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9399 esac
   9400 fi
   9401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9402 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9403 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9404 	CFLAGS="$xorg_testset_save_CFLAGS"
   9405 fi
   9406 
   9407 found="no"
   9408 
   9409 	if test $found = "no" ; then
   9410 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9411 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9412 		fi
   9413 
   9414 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9415 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9416 		fi
   9417 
   9418 		CFLAGS="$CFLAGS -Winit-self"
   9419 
   9420 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9421 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9422 		cacheid=xorg_cv_cc_flag__Winit_self
   9423 		if eval test \${$cacheid+y}
   9424 then :
   9425   printf %s "(cached) " >&6
   9426 else case e in #(
   9427   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9428 /* end confdefs.h.  */
   9429 int i;
   9430 int
   9431 main (void)
   9432 {
   9433 
   9434   ;
   9435   return 0;
   9436 }
   9437 _ACEOF
   9438 if ac_fn_c_try_link "$LINENO"
   9439 then :
   9440   eval $cacheid=yes
   9441 else case e in #(
   9442   e) eval $cacheid=no ;;
   9443 esac
   9444 fi
   9445 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9446     conftest$ac_exeext conftest.$ac_ext ;;
   9447 esac
   9448 fi
   9449 
   9450 
   9451 		CFLAGS="$xorg_testset_save_CFLAGS"
   9452 
   9453 		eval supported=\$$cacheid
   9454 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9455 printf "%s\n" "$supported" >&6; }
   9456 		if test "$supported" = "yes" ; then
   9457 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9458 			found="yes"
   9459 		fi
   9460 	fi
   9461 
   9462 
   9463 
   9464 
   9465 
   9466 
   9467 
   9468 
   9469 
   9470 
   9471 
   9472 
   9473 
   9474 
   9475 
   9476 xorg_testset_save_CFLAGS="$CFLAGS"
   9477 
   9478 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9479 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9480 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9481 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9482 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9483 then :
   9484   printf %s "(cached) " >&6
   9485 else case e in #(
   9486   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9487 /* end confdefs.h.  */
   9488 int i;
   9489 _ACEOF
   9490 if ac_fn_c_try_compile "$LINENO"
   9491 then :
   9492   xorg_cv_cc_flag_unknown_warning_option=yes
   9493 else case e in #(
   9494   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9495 esac
   9496 fi
   9497 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9498 esac
   9499 fi
   9500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9501 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9502 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9503 	CFLAGS="$xorg_testset_save_CFLAGS"
   9504 fi
   9505 
   9506 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9507 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9508 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9509 	fi
   9510 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9511 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9512 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9513 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9514 then :
   9515   printf %s "(cached) " >&6
   9516 else case e in #(
   9517   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9518 /* end confdefs.h.  */
   9519 int i;
   9520 _ACEOF
   9521 if ac_fn_c_try_compile "$LINENO"
   9522 then :
   9523   xorg_cv_cc_flag_unused_command_line_argument=yes
   9524 else case e in #(
   9525   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9526 esac
   9527 fi
   9528 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9529 esac
   9530 fi
   9531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9532 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9533 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9534 	CFLAGS="$xorg_testset_save_CFLAGS"
   9535 fi
   9536 
   9537 found="no"
   9538 
   9539 	if test $found = "no" ; then
   9540 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9541 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9542 		fi
   9543 
   9544 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9545 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9546 		fi
   9547 
   9548 		CFLAGS="$CFLAGS -Wmain"
   9549 
   9550 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9551 printf %s "checking if $CC supports -Wmain... " >&6; }
   9552 		cacheid=xorg_cv_cc_flag__Wmain
   9553 		if eval test \${$cacheid+y}
   9554 then :
   9555   printf %s "(cached) " >&6
   9556 else case e in #(
   9557   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9558 /* end confdefs.h.  */
   9559 int i;
   9560 int
   9561 main (void)
   9562 {
   9563 
   9564   ;
   9565   return 0;
   9566 }
   9567 _ACEOF
   9568 if ac_fn_c_try_link "$LINENO"
   9569 then :
   9570   eval $cacheid=yes
   9571 else case e in #(
   9572   e) eval $cacheid=no ;;
   9573 esac
   9574 fi
   9575 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9576     conftest$ac_exeext conftest.$ac_ext ;;
   9577 esac
   9578 fi
   9579 
   9580 
   9581 		CFLAGS="$xorg_testset_save_CFLAGS"
   9582 
   9583 		eval supported=\$$cacheid
   9584 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9585 printf "%s\n" "$supported" >&6; }
   9586 		if test "$supported" = "yes" ; then
   9587 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9588 			found="yes"
   9589 		fi
   9590 	fi
   9591 
   9592 
   9593 
   9594 
   9595 
   9596 
   9597 
   9598 
   9599 
   9600 
   9601 
   9602 
   9603 
   9604 
   9605 
   9606 xorg_testset_save_CFLAGS="$CFLAGS"
   9607 
   9608 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9609 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9610 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9611 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9612 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9613 then :
   9614   printf %s "(cached) " >&6
   9615 else case e in #(
   9616   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9617 /* end confdefs.h.  */
   9618 int i;
   9619 _ACEOF
   9620 if ac_fn_c_try_compile "$LINENO"
   9621 then :
   9622   xorg_cv_cc_flag_unknown_warning_option=yes
   9623 else case e in #(
   9624   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9625 esac
   9626 fi
   9627 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9628 esac
   9629 fi
   9630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9631 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9632 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9633 	CFLAGS="$xorg_testset_save_CFLAGS"
   9634 fi
   9635 
   9636 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9637 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9638 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9639 	fi
   9640 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9641 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9642 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9643 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9644 then :
   9645   printf %s "(cached) " >&6
   9646 else case e in #(
   9647   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9648 /* end confdefs.h.  */
   9649 int i;
   9650 _ACEOF
   9651 if ac_fn_c_try_compile "$LINENO"
   9652 then :
   9653   xorg_cv_cc_flag_unused_command_line_argument=yes
   9654 else case e in #(
   9655   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9656 esac
   9657 fi
   9658 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9659 esac
   9660 fi
   9661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9662 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9663 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9664 	CFLAGS="$xorg_testset_save_CFLAGS"
   9665 fi
   9666 
   9667 found="no"
   9668 
   9669 	if test $found = "no" ; then
   9670 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9671 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9672 		fi
   9673 
   9674 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9675 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9676 		fi
   9677 
   9678 		CFLAGS="$CFLAGS -Wmissing-braces"
   9679 
   9680 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9681 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9682 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9683 		if eval test \${$cacheid+y}
   9684 then :
   9685   printf %s "(cached) " >&6
   9686 else case e in #(
   9687   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9688 /* end confdefs.h.  */
   9689 int i;
   9690 int
   9691 main (void)
   9692 {
   9693 
   9694   ;
   9695   return 0;
   9696 }
   9697 _ACEOF
   9698 if ac_fn_c_try_link "$LINENO"
   9699 then :
   9700   eval $cacheid=yes
   9701 else case e in #(
   9702   e) eval $cacheid=no ;;
   9703 esac
   9704 fi
   9705 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9706     conftest$ac_exeext conftest.$ac_ext ;;
   9707 esac
   9708 fi
   9709 
   9710 
   9711 		CFLAGS="$xorg_testset_save_CFLAGS"
   9712 
   9713 		eval supported=\$$cacheid
   9714 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9715 printf "%s\n" "$supported" >&6; }
   9716 		if test "$supported" = "yes" ; then
   9717 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9718 			found="yes"
   9719 		fi
   9720 	fi
   9721 
   9722 
   9723 
   9724 
   9725 
   9726 
   9727 
   9728 
   9729 
   9730 
   9731 
   9732 
   9733 
   9734 
   9735 
   9736 xorg_testset_save_CFLAGS="$CFLAGS"
   9737 
   9738 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9739 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9740 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9741 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9742 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9743 then :
   9744   printf %s "(cached) " >&6
   9745 else case e in #(
   9746   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9747 /* end confdefs.h.  */
   9748 int i;
   9749 _ACEOF
   9750 if ac_fn_c_try_compile "$LINENO"
   9751 then :
   9752   xorg_cv_cc_flag_unknown_warning_option=yes
   9753 else case e in #(
   9754   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9755 esac
   9756 fi
   9757 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9758 esac
   9759 fi
   9760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9761 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9762 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9763 	CFLAGS="$xorg_testset_save_CFLAGS"
   9764 fi
   9765 
   9766 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9767 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9768 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9769 	fi
   9770 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9771 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9772 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9773 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9774 then :
   9775   printf %s "(cached) " >&6
   9776 else case e in #(
   9777   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9778 /* end confdefs.h.  */
   9779 int i;
   9780 _ACEOF
   9781 if ac_fn_c_try_compile "$LINENO"
   9782 then :
   9783   xorg_cv_cc_flag_unused_command_line_argument=yes
   9784 else case e in #(
   9785   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9786 esac
   9787 fi
   9788 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9789 esac
   9790 fi
   9791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9792 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9793 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9794 	CFLAGS="$xorg_testset_save_CFLAGS"
   9795 fi
   9796 
   9797 found="no"
   9798 
   9799 	if test $found = "no" ; then
   9800 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9801 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9802 		fi
   9803 
   9804 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9805 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9806 		fi
   9807 
   9808 		CFLAGS="$CFLAGS -Wsequence-point"
   9809 
   9810 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9811 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9812 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9813 		if eval test \${$cacheid+y}
   9814 then :
   9815   printf %s "(cached) " >&6
   9816 else case e in #(
   9817   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9818 /* end confdefs.h.  */
   9819 int i;
   9820 int
   9821 main (void)
   9822 {
   9823 
   9824   ;
   9825   return 0;
   9826 }
   9827 _ACEOF
   9828 if ac_fn_c_try_link "$LINENO"
   9829 then :
   9830   eval $cacheid=yes
   9831 else case e in #(
   9832   e) eval $cacheid=no ;;
   9833 esac
   9834 fi
   9835 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9836     conftest$ac_exeext conftest.$ac_ext ;;
   9837 esac
   9838 fi
   9839 
   9840 
   9841 		CFLAGS="$xorg_testset_save_CFLAGS"
   9842 
   9843 		eval supported=\$$cacheid
   9844 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9845 printf "%s\n" "$supported" >&6; }
   9846 		if test "$supported" = "yes" ; then
   9847 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9848 			found="yes"
   9849 		fi
   9850 	fi
   9851 
   9852 
   9853 
   9854 
   9855 
   9856 
   9857 
   9858 
   9859 
   9860 
   9861 
   9862 
   9863 
   9864 
   9865 
   9866 xorg_testset_save_CFLAGS="$CFLAGS"
   9867 
   9868 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9869 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9870 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9871 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9872 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9873 then :
   9874   printf %s "(cached) " >&6
   9875 else case e in #(
   9876   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9877 /* end confdefs.h.  */
   9878 int i;
   9879 _ACEOF
   9880 if ac_fn_c_try_compile "$LINENO"
   9881 then :
   9882   xorg_cv_cc_flag_unknown_warning_option=yes
   9883 else case e in #(
   9884   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9885 esac
   9886 fi
   9887 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9888 esac
   9889 fi
   9890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9891 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9892 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9893 	CFLAGS="$xorg_testset_save_CFLAGS"
   9894 fi
   9895 
   9896 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9897 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9898 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9899 	fi
   9900 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9901 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9902 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9903 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9904 then :
   9905   printf %s "(cached) " >&6
   9906 else case e in #(
   9907   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9908 /* end confdefs.h.  */
   9909 int i;
   9910 _ACEOF
   9911 if ac_fn_c_try_compile "$LINENO"
   9912 then :
   9913   xorg_cv_cc_flag_unused_command_line_argument=yes
   9914 else case e in #(
   9915   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9916 esac
   9917 fi
   9918 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9919 esac
   9920 fi
   9921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9922 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9923 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9924 	CFLAGS="$xorg_testset_save_CFLAGS"
   9925 fi
   9926 
   9927 found="no"
   9928 
   9929 	if test $found = "no" ; then
   9930 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9931 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9932 		fi
   9933 
   9934 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9935 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9936 		fi
   9937 
   9938 		CFLAGS="$CFLAGS -Wreturn-type"
   9939 
   9940 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9941 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   9942 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9943 		if eval test \${$cacheid+y}
   9944 then :
   9945   printf %s "(cached) " >&6
   9946 else case e in #(
   9947   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9948 /* end confdefs.h.  */
   9949 int i;
   9950 int
   9951 main (void)
   9952 {
   9953 
   9954   ;
   9955   return 0;
   9956 }
   9957 _ACEOF
   9958 if ac_fn_c_try_link "$LINENO"
   9959 then :
   9960   eval $cacheid=yes
   9961 else case e in #(
   9962   e) eval $cacheid=no ;;
   9963 esac
   9964 fi
   9965 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9966     conftest$ac_exeext conftest.$ac_ext ;;
   9967 esac
   9968 fi
   9969 
   9970 
   9971 		CFLAGS="$xorg_testset_save_CFLAGS"
   9972 
   9973 		eval supported=\$$cacheid
   9974 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9975 printf "%s\n" "$supported" >&6; }
   9976 		if test "$supported" = "yes" ; then
   9977 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9978 			found="yes"
   9979 		fi
   9980 	fi
   9981 
   9982 
   9983 
   9984 
   9985 
   9986 
   9987 
   9988 
   9989 
   9990 
   9991 
   9992 
   9993 
   9994 
   9995 
   9996 xorg_testset_save_CFLAGS="$CFLAGS"
   9997 
   9998 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9999 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10000 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10001 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10002 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10003 then :
   10004   printf %s "(cached) " >&6
   10005 else case e in #(
   10006   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10007 /* end confdefs.h.  */
   10008 int i;
   10009 _ACEOF
   10010 if ac_fn_c_try_compile "$LINENO"
   10011 then :
   10012   xorg_cv_cc_flag_unknown_warning_option=yes
   10013 else case e in #(
   10014   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10015 esac
   10016 fi
   10017 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10018 esac
   10019 fi
   10020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10021 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10022 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10023 	CFLAGS="$xorg_testset_save_CFLAGS"
   10024 fi
   10025 
   10026 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10027 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10028 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10029 	fi
   10030 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10031 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10032 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10033 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10034 then :
   10035   printf %s "(cached) " >&6
   10036 else case e in #(
   10037   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10038 /* end confdefs.h.  */
   10039 int i;
   10040 _ACEOF
   10041 if ac_fn_c_try_compile "$LINENO"
   10042 then :
   10043   xorg_cv_cc_flag_unused_command_line_argument=yes
   10044 else case e in #(
   10045   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10046 esac
   10047 fi
   10048 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10049 esac
   10050 fi
   10051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10052 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10053 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10054 	CFLAGS="$xorg_testset_save_CFLAGS"
   10055 fi
   10056 
   10057 found="no"
   10058 
   10059 	if test $found = "no" ; then
   10060 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10061 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10062 		fi
   10063 
   10064 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10065 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10066 		fi
   10067 
   10068 		CFLAGS="$CFLAGS -Wtrigraphs"
   10069 
   10070 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   10071 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   10072 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   10073 		if eval test \${$cacheid+y}
   10074 then :
   10075   printf %s "(cached) " >&6
   10076 else case e in #(
   10077   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10078 /* end confdefs.h.  */
   10079 int i;
   10080 int
   10081 main (void)
   10082 {
   10083 
   10084   ;
   10085   return 0;
   10086 }
   10087 _ACEOF
   10088 if ac_fn_c_try_link "$LINENO"
   10089 then :
   10090   eval $cacheid=yes
   10091 else case e in #(
   10092   e) eval $cacheid=no ;;
   10093 esac
   10094 fi
   10095 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10096     conftest$ac_exeext conftest.$ac_ext ;;
   10097 esac
   10098 fi
   10099 
   10100 
   10101 		CFLAGS="$xorg_testset_save_CFLAGS"
   10102 
   10103 		eval supported=\$$cacheid
   10104 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10105 printf "%s\n" "$supported" >&6; }
   10106 		if test "$supported" = "yes" ; then
   10107 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   10108 			found="yes"
   10109 		fi
   10110 	fi
   10111 
   10112 
   10113 
   10114 
   10115 
   10116 
   10117 
   10118 
   10119 
   10120 
   10121 
   10122 
   10123 
   10124 
   10125 
   10126 xorg_testset_save_CFLAGS="$CFLAGS"
   10127 
   10128 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10129 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10130 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10131 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10132 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10133 then :
   10134   printf %s "(cached) " >&6
   10135 else case e in #(
   10136   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10137 /* end confdefs.h.  */
   10138 int i;
   10139 _ACEOF
   10140 if ac_fn_c_try_compile "$LINENO"
   10141 then :
   10142   xorg_cv_cc_flag_unknown_warning_option=yes
   10143 else case e in #(
   10144   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10145 esac
   10146 fi
   10147 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10148 esac
   10149 fi
   10150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10151 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10152 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10153 	CFLAGS="$xorg_testset_save_CFLAGS"
   10154 fi
   10155 
   10156 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10157 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10158 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10159 	fi
   10160 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10161 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10162 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10163 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10164 then :
   10165   printf %s "(cached) " >&6
   10166 else case e in #(
   10167   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10168 /* end confdefs.h.  */
   10169 int i;
   10170 _ACEOF
   10171 if ac_fn_c_try_compile "$LINENO"
   10172 then :
   10173   xorg_cv_cc_flag_unused_command_line_argument=yes
   10174 else case e in #(
   10175   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10176 esac
   10177 fi
   10178 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10179 esac
   10180 fi
   10181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10182 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10183 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10184 	CFLAGS="$xorg_testset_save_CFLAGS"
   10185 fi
   10186 
   10187 found="no"
   10188 
   10189 	if test $found = "no" ; then
   10190 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10191 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10192 		fi
   10193 
   10194 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10195 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10196 		fi
   10197 
   10198 		CFLAGS="$CFLAGS -Warray-bounds"
   10199 
   10200 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10201 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10202 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10203 		if eval test \${$cacheid+y}
   10204 then :
   10205   printf %s "(cached) " >&6
   10206 else case e in #(
   10207   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10208 /* end confdefs.h.  */
   10209 int i;
   10210 int
   10211 main (void)
   10212 {
   10213 
   10214   ;
   10215   return 0;
   10216 }
   10217 _ACEOF
   10218 if ac_fn_c_try_link "$LINENO"
   10219 then :
   10220   eval $cacheid=yes
   10221 else case e in #(
   10222   e) eval $cacheid=no ;;
   10223 esac
   10224 fi
   10225 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10226     conftest$ac_exeext conftest.$ac_ext ;;
   10227 esac
   10228 fi
   10229 
   10230 
   10231 		CFLAGS="$xorg_testset_save_CFLAGS"
   10232 
   10233 		eval supported=\$$cacheid
   10234 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10235 printf "%s\n" "$supported" >&6; }
   10236 		if test "$supported" = "yes" ; then
   10237 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10238 			found="yes"
   10239 		fi
   10240 	fi
   10241 
   10242 
   10243 
   10244 
   10245 
   10246 
   10247 
   10248 
   10249 
   10250 
   10251 
   10252 
   10253 
   10254 
   10255 
   10256 xorg_testset_save_CFLAGS="$CFLAGS"
   10257 
   10258 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10259 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10260 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10261 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10262 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10263 then :
   10264   printf %s "(cached) " >&6
   10265 else case e in #(
   10266   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10267 /* end confdefs.h.  */
   10268 int i;
   10269 _ACEOF
   10270 if ac_fn_c_try_compile "$LINENO"
   10271 then :
   10272   xorg_cv_cc_flag_unknown_warning_option=yes
   10273 else case e in #(
   10274   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10275 esac
   10276 fi
   10277 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10278 esac
   10279 fi
   10280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10281 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10282 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10283 	CFLAGS="$xorg_testset_save_CFLAGS"
   10284 fi
   10285 
   10286 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10287 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10288 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10289 	fi
   10290 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10291 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10292 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10293 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10294 then :
   10295   printf %s "(cached) " >&6
   10296 else case e in #(
   10297   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10298 /* end confdefs.h.  */
   10299 int i;
   10300 _ACEOF
   10301 if ac_fn_c_try_compile "$LINENO"
   10302 then :
   10303   xorg_cv_cc_flag_unused_command_line_argument=yes
   10304 else case e in #(
   10305   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10306 esac
   10307 fi
   10308 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10309 esac
   10310 fi
   10311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10312 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10313 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10314 	CFLAGS="$xorg_testset_save_CFLAGS"
   10315 fi
   10316 
   10317 found="no"
   10318 
   10319 	if test $found = "no" ; then
   10320 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10321 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10322 		fi
   10323 
   10324 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10325 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10326 		fi
   10327 
   10328 		CFLAGS="$CFLAGS -Wwrite-strings"
   10329 
   10330 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10331 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10332 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10333 		if eval test \${$cacheid+y}
   10334 then :
   10335   printf %s "(cached) " >&6
   10336 else case e in #(
   10337   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10338 /* end confdefs.h.  */
   10339 int i;
   10340 int
   10341 main (void)
   10342 {
   10343 
   10344   ;
   10345   return 0;
   10346 }
   10347 _ACEOF
   10348 if ac_fn_c_try_link "$LINENO"
   10349 then :
   10350   eval $cacheid=yes
   10351 else case e in #(
   10352   e) eval $cacheid=no ;;
   10353 esac
   10354 fi
   10355 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10356     conftest$ac_exeext conftest.$ac_ext ;;
   10357 esac
   10358 fi
   10359 
   10360 
   10361 		CFLAGS="$xorg_testset_save_CFLAGS"
   10362 
   10363 		eval supported=\$$cacheid
   10364 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10365 printf "%s\n" "$supported" >&6; }
   10366 		if test "$supported" = "yes" ; then
   10367 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10368 			found="yes"
   10369 		fi
   10370 	fi
   10371 
   10372 
   10373 
   10374 
   10375 
   10376 
   10377 
   10378 
   10379 
   10380 
   10381 
   10382 
   10383 
   10384 
   10385 
   10386 xorg_testset_save_CFLAGS="$CFLAGS"
   10387 
   10388 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10389 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10390 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10391 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10392 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10393 then :
   10394   printf %s "(cached) " >&6
   10395 else case e in #(
   10396   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10397 /* end confdefs.h.  */
   10398 int i;
   10399 _ACEOF
   10400 if ac_fn_c_try_compile "$LINENO"
   10401 then :
   10402   xorg_cv_cc_flag_unknown_warning_option=yes
   10403 else case e in #(
   10404   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10405 esac
   10406 fi
   10407 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10408 esac
   10409 fi
   10410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10411 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10412 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10413 	CFLAGS="$xorg_testset_save_CFLAGS"
   10414 fi
   10415 
   10416 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10417 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10418 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10419 	fi
   10420 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10421 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10422 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10423 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10424 then :
   10425   printf %s "(cached) " >&6
   10426 else case e in #(
   10427   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10428 /* end confdefs.h.  */
   10429 int i;
   10430 _ACEOF
   10431 if ac_fn_c_try_compile "$LINENO"
   10432 then :
   10433   xorg_cv_cc_flag_unused_command_line_argument=yes
   10434 else case e in #(
   10435   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10436 esac
   10437 fi
   10438 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10439 esac
   10440 fi
   10441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10442 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10443 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10444 	CFLAGS="$xorg_testset_save_CFLAGS"
   10445 fi
   10446 
   10447 found="no"
   10448 
   10449 	if test $found = "no" ; then
   10450 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10451 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10452 		fi
   10453 
   10454 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10455 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10456 		fi
   10457 
   10458 		CFLAGS="$CFLAGS -Waddress"
   10459 
   10460 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10461 printf %s "checking if $CC supports -Waddress... " >&6; }
   10462 		cacheid=xorg_cv_cc_flag__Waddress
   10463 		if eval test \${$cacheid+y}
   10464 then :
   10465   printf %s "(cached) " >&6
   10466 else case e in #(
   10467   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10468 /* end confdefs.h.  */
   10469 int i;
   10470 int
   10471 main (void)
   10472 {
   10473 
   10474   ;
   10475   return 0;
   10476 }
   10477 _ACEOF
   10478 if ac_fn_c_try_link "$LINENO"
   10479 then :
   10480   eval $cacheid=yes
   10481 else case e in #(
   10482   e) eval $cacheid=no ;;
   10483 esac
   10484 fi
   10485 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10486     conftest$ac_exeext conftest.$ac_ext ;;
   10487 esac
   10488 fi
   10489 
   10490 
   10491 		CFLAGS="$xorg_testset_save_CFLAGS"
   10492 
   10493 		eval supported=\$$cacheid
   10494 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10495 printf "%s\n" "$supported" >&6; }
   10496 		if test "$supported" = "yes" ; then
   10497 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10498 			found="yes"
   10499 		fi
   10500 	fi
   10501 
   10502 
   10503 
   10504 
   10505 
   10506 
   10507 
   10508 
   10509 
   10510 
   10511 
   10512 
   10513 
   10514 
   10515 
   10516 xorg_testset_save_CFLAGS="$CFLAGS"
   10517 
   10518 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10519 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10520 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10521 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10522 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10523 then :
   10524   printf %s "(cached) " >&6
   10525 else case e in #(
   10526   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10527 /* end confdefs.h.  */
   10528 int i;
   10529 _ACEOF
   10530 if ac_fn_c_try_compile "$LINENO"
   10531 then :
   10532   xorg_cv_cc_flag_unknown_warning_option=yes
   10533 else case e in #(
   10534   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10535 esac
   10536 fi
   10537 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10538 esac
   10539 fi
   10540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10541 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10542 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10543 	CFLAGS="$xorg_testset_save_CFLAGS"
   10544 fi
   10545 
   10546 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10547 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10548 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10549 	fi
   10550 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10551 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10552 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10553 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10554 then :
   10555   printf %s "(cached) " >&6
   10556 else case e in #(
   10557   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10558 /* end confdefs.h.  */
   10559 int i;
   10560 _ACEOF
   10561 if ac_fn_c_try_compile "$LINENO"
   10562 then :
   10563   xorg_cv_cc_flag_unused_command_line_argument=yes
   10564 else case e in #(
   10565   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10566 esac
   10567 fi
   10568 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10569 esac
   10570 fi
   10571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10572 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10573 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10574 	CFLAGS="$xorg_testset_save_CFLAGS"
   10575 fi
   10576 
   10577 found="no"
   10578 
   10579 	if test $found = "no" ; then
   10580 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10581 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10582 		fi
   10583 
   10584 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10585 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10586 		fi
   10587 
   10588 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10589 
   10590 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10591 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10592 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10593 		if eval test \${$cacheid+y}
   10594 then :
   10595   printf %s "(cached) " >&6
   10596 else case e in #(
   10597   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10598 /* end confdefs.h.  */
   10599 int i;
   10600 int
   10601 main (void)
   10602 {
   10603 
   10604   ;
   10605   return 0;
   10606 }
   10607 _ACEOF
   10608 if ac_fn_c_try_link "$LINENO"
   10609 then :
   10610   eval $cacheid=yes
   10611 else case e in #(
   10612   e) eval $cacheid=no ;;
   10613 esac
   10614 fi
   10615 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10616     conftest$ac_exeext conftest.$ac_ext ;;
   10617 esac
   10618 fi
   10619 
   10620 
   10621 		CFLAGS="$xorg_testset_save_CFLAGS"
   10622 
   10623 		eval supported=\$$cacheid
   10624 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10625 printf "%s\n" "$supported" >&6; }
   10626 		if test "$supported" = "yes" ; then
   10627 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10628 			found="yes"
   10629 		fi
   10630 	fi
   10631 
   10632 
   10633 
   10634 
   10635 
   10636 
   10637 
   10638 
   10639 
   10640 
   10641 
   10642 
   10643 
   10644 
   10645 
   10646 xorg_testset_save_CFLAGS="$CFLAGS"
   10647 
   10648 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10649 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10650 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10651 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10652 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10653 then :
   10654   printf %s "(cached) " >&6
   10655 else case e in #(
   10656   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10657 /* end confdefs.h.  */
   10658 int i;
   10659 _ACEOF
   10660 if ac_fn_c_try_compile "$LINENO"
   10661 then :
   10662   xorg_cv_cc_flag_unknown_warning_option=yes
   10663 else case e in #(
   10664   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10665 esac
   10666 fi
   10667 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10668 esac
   10669 fi
   10670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10671 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10672 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10673 	CFLAGS="$xorg_testset_save_CFLAGS"
   10674 fi
   10675 
   10676 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10677 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10678 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10679 	fi
   10680 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10681 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10682 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10683 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10684 then :
   10685   printf %s "(cached) " >&6
   10686 else case e in #(
   10687   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10688 /* end confdefs.h.  */
   10689 int i;
   10690 _ACEOF
   10691 if ac_fn_c_try_compile "$LINENO"
   10692 then :
   10693   xorg_cv_cc_flag_unused_command_line_argument=yes
   10694 else case e in #(
   10695   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10696 esac
   10697 fi
   10698 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10699 esac
   10700 fi
   10701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10702 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10703 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10704 	CFLAGS="$xorg_testset_save_CFLAGS"
   10705 fi
   10706 
   10707 found="no"
   10708 
   10709 	if test $found = "no" ; then
   10710 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10711 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10712 		fi
   10713 
   10714 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10715 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10716 		fi
   10717 
   10718 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10719 
   10720 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10721 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10722 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10723 		if eval test \${$cacheid+y}
   10724 then :
   10725   printf %s "(cached) " >&6
   10726 else case e in #(
   10727   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10728 /* end confdefs.h.  */
   10729 int i;
   10730 int
   10731 main (void)
   10732 {
   10733 
   10734   ;
   10735   return 0;
   10736 }
   10737 _ACEOF
   10738 if ac_fn_c_try_link "$LINENO"
   10739 then :
   10740   eval $cacheid=yes
   10741 else case e in #(
   10742   e) eval $cacheid=no ;;
   10743 esac
   10744 fi
   10745 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10746     conftest$ac_exeext conftest.$ac_ext ;;
   10747 esac
   10748 fi
   10749 
   10750 
   10751 		CFLAGS="$xorg_testset_save_CFLAGS"
   10752 
   10753 		eval supported=\$$cacheid
   10754 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10755 printf "%s\n" "$supported" >&6; }
   10756 		if test "$supported" = "yes" ; then
   10757 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10758 			found="yes"
   10759 		fi
   10760 	fi
   10761 
   10762 
   10763 fi
   10764 
   10765 
   10766 
   10767 
   10768 
   10769 
   10770 
   10771 		CWARNFLAGS="$BASE_CFLAGS"
   10772 		if  test "x$GCC" = xyes ; then
   10773 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10774 		fi
   10775 
   10776 
   10777 
   10778 
   10779 
   10780 
   10781 
   10782 
   10783 # Check whether --enable-strict-compilation was given.
   10784 if test ${enable_strict_compilation+y}
   10785 then :
   10786   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10787 else case e in #(
   10788   e) STRICT_COMPILE=no ;;
   10789 esac
   10790 fi
   10791 
   10792 
   10793 
   10794 
   10795 
   10796 
   10797 STRICT_CFLAGS=""
   10798 
   10799 
   10800 
   10801 
   10802 
   10803 
   10804 
   10805 
   10806 
   10807 
   10808 
   10809 
   10810 
   10811 xorg_testset_save_CFLAGS="$CFLAGS"
   10812 
   10813 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10814 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10815 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10816 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10817 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10818 then :
   10819   printf %s "(cached) " >&6
   10820 else case e in #(
   10821   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10822 /* end confdefs.h.  */
   10823 int i;
   10824 _ACEOF
   10825 if ac_fn_c_try_compile "$LINENO"
   10826 then :
   10827   xorg_cv_cc_flag_unknown_warning_option=yes
   10828 else case e in #(
   10829   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10830 esac
   10831 fi
   10832 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10833 esac
   10834 fi
   10835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10836 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10837 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10838 	CFLAGS="$xorg_testset_save_CFLAGS"
   10839 fi
   10840 
   10841 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10842 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10843 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10844 	fi
   10845 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10846 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10847 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10848 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10849 then :
   10850   printf %s "(cached) " >&6
   10851 else case e in #(
   10852   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10853 /* end confdefs.h.  */
   10854 int i;
   10855 _ACEOF
   10856 if ac_fn_c_try_compile "$LINENO"
   10857 then :
   10858   xorg_cv_cc_flag_unused_command_line_argument=yes
   10859 else case e in #(
   10860   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10861 esac
   10862 fi
   10863 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10864 esac
   10865 fi
   10866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10867 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10868 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10869 	CFLAGS="$xorg_testset_save_CFLAGS"
   10870 fi
   10871 
   10872 found="no"
   10873 
   10874 	if test $found = "no" ; then
   10875 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10876 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10877 		fi
   10878 
   10879 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10880 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10881 		fi
   10882 
   10883 		CFLAGS="$CFLAGS -pedantic"
   10884 
   10885 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10886 printf %s "checking if $CC supports -pedantic... " >&6; }
   10887 		cacheid=xorg_cv_cc_flag__pedantic
   10888 		if eval test \${$cacheid+y}
   10889 then :
   10890   printf %s "(cached) " >&6
   10891 else case e in #(
   10892   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10893 /* end confdefs.h.  */
   10894 int i;
   10895 int
   10896 main (void)
   10897 {
   10898 
   10899   ;
   10900   return 0;
   10901 }
   10902 _ACEOF
   10903 if ac_fn_c_try_link "$LINENO"
   10904 then :
   10905   eval $cacheid=yes
   10906 else case e in #(
   10907   e) eval $cacheid=no ;;
   10908 esac
   10909 fi
   10910 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10911     conftest$ac_exeext conftest.$ac_ext ;;
   10912 esac
   10913 fi
   10914 
   10915 
   10916 		CFLAGS="$xorg_testset_save_CFLAGS"
   10917 
   10918 		eval supported=\$$cacheid
   10919 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10920 printf "%s\n" "$supported" >&6; }
   10921 		if test "$supported" = "yes" ; then
   10922 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10923 			found="yes"
   10924 		fi
   10925 	fi
   10926 
   10927 
   10928 
   10929 
   10930 
   10931 
   10932 
   10933 
   10934 
   10935 
   10936 
   10937 
   10938 
   10939 
   10940 
   10941 xorg_testset_save_CFLAGS="$CFLAGS"
   10942 
   10943 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10944 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10945 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10946 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10947 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10948 then :
   10949   printf %s "(cached) " >&6
   10950 else case e in #(
   10951   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10952 /* end confdefs.h.  */
   10953 int i;
   10954 _ACEOF
   10955 if ac_fn_c_try_compile "$LINENO"
   10956 then :
   10957   xorg_cv_cc_flag_unknown_warning_option=yes
   10958 else case e in #(
   10959   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10960 esac
   10961 fi
   10962 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10963 esac
   10964 fi
   10965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10966 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10967 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10968 	CFLAGS="$xorg_testset_save_CFLAGS"
   10969 fi
   10970 
   10971 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10972 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10973 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10974 	fi
   10975 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10976 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10977 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10978 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10979 then :
   10980   printf %s "(cached) " >&6
   10981 else case e in #(
   10982   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10983 /* end confdefs.h.  */
   10984 int i;
   10985 _ACEOF
   10986 if ac_fn_c_try_compile "$LINENO"
   10987 then :
   10988   xorg_cv_cc_flag_unused_command_line_argument=yes
   10989 else case e in #(
   10990   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10991 esac
   10992 fi
   10993 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10994 esac
   10995 fi
   10996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10997 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10998 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10999 	CFLAGS="$xorg_testset_save_CFLAGS"
   11000 fi
   11001 
   11002 found="no"
   11003 
   11004 	if test $found = "no" ; then
   11005 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11006 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11007 		fi
   11008 
   11009 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11010 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11011 		fi
   11012 
   11013 		CFLAGS="$CFLAGS -Werror"
   11014 
   11015 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   11016 printf %s "checking if $CC supports -Werror... " >&6; }
   11017 		cacheid=xorg_cv_cc_flag__Werror
   11018 		if eval test \${$cacheid+y}
   11019 then :
   11020   printf %s "(cached) " >&6
   11021 else case e in #(
   11022   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11023 /* end confdefs.h.  */
   11024 int i;
   11025 int
   11026 main (void)
   11027 {
   11028 
   11029   ;
   11030   return 0;
   11031 }
   11032 _ACEOF
   11033 if ac_fn_c_try_link "$LINENO"
   11034 then :
   11035   eval $cacheid=yes
   11036 else case e in #(
   11037   e) eval $cacheid=no ;;
   11038 esac
   11039 fi
   11040 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11041     conftest$ac_exeext conftest.$ac_ext ;;
   11042 esac
   11043 fi
   11044 
   11045 
   11046 		CFLAGS="$xorg_testset_save_CFLAGS"
   11047 
   11048 		eval supported=\$$cacheid
   11049 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11050 printf "%s\n" "$supported" >&6; }
   11051 		if test "$supported" = "yes" ; then
   11052 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   11053 			found="yes"
   11054 		fi
   11055 	fi
   11056 
   11057 	if test $found = "no" ; then
   11058 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11059 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11060 		fi
   11061 
   11062 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11063 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11064 		fi
   11065 
   11066 		CFLAGS="$CFLAGS -errwarn"
   11067 
   11068 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   11069 printf %s "checking if $CC supports -errwarn... " >&6; }
   11070 		cacheid=xorg_cv_cc_flag__errwarn
   11071 		if eval test \${$cacheid+y}
   11072 then :
   11073   printf %s "(cached) " >&6
   11074 else case e in #(
   11075   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11076 /* end confdefs.h.  */
   11077 int i;
   11078 int
   11079 main (void)
   11080 {
   11081 
   11082   ;
   11083   return 0;
   11084 }
   11085 _ACEOF
   11086 if ac_fn_c_try_link "$LINENO"
   11087 then :
   11088   eval $cacheid=yes
   11089 else case e in #(
   11090   e) eval $cacheid=no ;;
   11091 esac
   11092 fi
   11093 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11094     conftest$ac_exeext conftest.$ac_ext ;;
   11095 esac
   11096 fi
   11097 
   11098 
   11099 		CFLAGS="$xorg_testset_save_CFLAGS"
   11100 
   11101 		eval supported=\$$cacheid
   11102 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11103 printf "%s\n" "$supported" >&6; }
   11104 		if test "$supported" = "yes" ; then
   11105 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   11106 			found="yes"
   11107 		fi
   11108 	fi
   11109 
   11110 
   11111 
   11112 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   11113 # activate it with -Werror, so we add it here explicitly.
   11114 
   11115 
   11116 
   11117 
   11118 
   11119 
   11120 
   11121 
   11122 
   11123 
   11124 
   11125 
   11126 
   11127 xorg_testset_save_CFLAGS="$CFLAGS"
   11128 
   11129 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11130 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11131 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11132 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11133 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11134 then :
   11135   printf %s "(cached) " >&6
   11136 else case e in #(
   11137   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11138 /* end confdefs.h.  */
   11139 int i;
   11140 _ACEOF
   11141 if ac_fn_c_try_compile "$LINENO"
   11142 then :
   11143   xorg_cv_cc_flag_unknown_warning_option=yes
   11144 else case e in #(
   11145   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11146 esac
   11147 fi
   11148 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11149 esac
   11150 fi
   11151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11152 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11153 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11154 	CFLAGS="$xorg_testset_save_CFLAGS"
   11155 fi
   11156 
   11157 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11158 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11159 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11160 	fi
   11161 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11162 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11163 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11164 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11165 then :
   11166   printf %s "(cached) " >&6
   11167 else case e in #(
   11168   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11169 /* end confdefs.h.  */
   11170 int i;
   11171 _ACEOF
   11172 if ac_fn_c_try_compile "$LINENO"
   11173 then :
   11174   xorg_cv_cc_flag_unused_command_line_argument=yes
   11175 else case e in #(
   11176   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11177 esac
   11178 fi
   11179 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11180 esac
   11181 fi
   11182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11183 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11184 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11185 	CFLAGS="$xorg_testset_save_CFLAGS"
   11186 fi
   11187 
   11188 found="no"
   11189 
   11190 	if test $found = "no" ; then
   11191 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11192 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11193 		fi
   11194 
   11195 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11196 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11197 		fi
   11198 
   11199 		CFLAGS="$CFLAGS -Werror=attributes"
   11200 
   11201 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11202 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11203 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11204 		if eval test \${$cacheid+y}
   11205 then :
   11206   printf %s "(cached) " >&6
   11207 else case e in #(
   11208   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11209 /* end confdefs.h.  */
   11210 int i;
   11211 int
   11212 main (void)
   11213 {
   11214 
   11215   ;
   11216   return 0;
   11217 }
   11218 _ACEOF
   11219 if ac_fn_c_try_link "$LINENO"
   11220 then :
   11221   eval $cacheid=yes
   11222 else case e in #(
   11223   e) eval $cacheid=no ;;
   11224 esac
   11225 fi
   11226 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11227     conftest$ac_exeext conftest.$ac_ext ;;
   11228 esac
   11229 fi
   11230 
   11231 
   11232 		CFLAGS="$xorg_testset_save_CFLAGS"
   11233 
   11234 		eval supported=\$$cacheid
   11235 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11236 printf "%s\n" "$supported" >&6; }
   11237 		if test "$supported" = "yes" ; then
   11238 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11239 			found="yes"
   11240 		fi
   11241 	fi
   11242 
   11243 
   11244 
   11245 if test "x$STRICT_COMPILE" = "xyes"; then
   11246     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11247     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11248 fi
   11249 
   11250 
   11251 
   11252 
   11253 
   11254 
   11255 
   11256 
   11257 cat >>confdefs.h <<_ACEOF
   11258 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11259 _ACEOF
   11260 
   11261 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11262 	if test "x$PVM" = "x"; then
   11263 		PVM="0"
   11264 	fi
   11265 
   11266 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11267 
   11268 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11269 	if test "x$PVP" = "x"; then
   11270 		PVP="0"
   11271 	fi
   11272 
   11273 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11274 
   11275 
   11276 
   11277 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11278 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11279 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11280 touch \$(top_srcdir)/ChangeLog; \
   11281 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11282 
   11283 
   11284 
   11285 
   11286 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11287 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11288 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11289 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11290 touch \$(top_srcdir)/INSTALL; \
   11291 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11292 
   11293 
   11294 
   11295 
   11296 
   11297 
   11298 case $host_os in
   11299     solaris*)
   11300         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11301         # check for a man page file found in later versions that use
   11302         # traditional section numbers instead
   11303         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11304 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11305 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11306 then :
   11307   printf %s "(cached) " >&6
   11308 else case e in #(
   11309   e) test "$cross_compiling" = yes &&
   11310   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11311 if test -r "/usr/share/man/man7/attributes.7"; then
   11312   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11313 else
   11314   ac_cv_file__usr_share_man_man7_attributes_7=no
   11315 fi ;;
   11316 esac
   11317 fi
   11318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11319 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11320 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11321 then :
   11322   SYSV_MAN_SECTIONS=false
   11323 else case e in #(
   11324   e) SYSV_MAN_SECTIONS=true ;;
   11325 esac
   11326 fi
   11327 
   11328         ;;
   11329     *) SYSV_MAN_SECTIONS=false ;;
   11330 esac
   11331 
   11332 if test x$APP_MAN_SUFFIX = x    ; then
   11333     APP_MAN_SUFFIX=1
   11334 fi
   11335 if test x$APP_MAN_DIR = x    ; then
   11336     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11337 fi
   11338 
   11339 if test x$LIB_MAN_SUFFIX = x    ; then
   11340     LIB_MAN_SUFFIX=3
   11341 fi
   11342 if test x$LIB_MAN_DIR = x    ; then
   11343     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11344 fi
   11345 
   11346 if test x$FILE_MAN_SUFFIX = x    ; then
   11347     case $SYSV_MAN_SECTIONS in
   11348 	true)				FILE_MAN_SUFFIX=4  ;;
   11349 	*)				FILE_MAN_SUFFIX=5  ;;
   11350     esac
   11351 fi
   11352 if test x$FILE_MAN_DIR = x    ; then
   11353     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11354 fi
   11355 
   11356 if test x$MISC_MAN_SUFFIX = x    ; then
   11357     case $SYSV_MAN_SECTIONS in
   11358 	true)				MISC_MAN_SUFFIX=5  ;;
   11359 	*)				MISC_MAN_SUFFIX=7  ;;
   11360     esac
   11361 fi
   11362 if test x$MISC_MAN_DIR = x    ; then
   11363     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11364 fi
   11365 
   11366 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11367     case $SYSV_MAN_SECTIONS in
   11368 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11369 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11370     esac
   11371 fi
   11372 if test x$DRIVER_MAN_DIR = x    ; then
   11373     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11374 fi
   11375 
   11376 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11377     case $SYSV_MAN_SECTIONS in
   11378 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11379 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11380     esac
   11381 fi
   11382 if test x$ADMIN_MAN_DIR = x    ; then
   11383     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11384 fi
   11385 
   11386 
   11387 
   11388 
   11389 
   11390 
   11391 
   11392 
   11393 
   11394 
   11395 
   11396 
   11397 
   11398 
   11399 
   11400 XORG_MAN_PAGE="X Version 11"
   11401 
   11402 MAN_SUBSTS="\
   11403 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11404 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11405 	-e 's|__xservername__|Xorg|g' \
   11406 	-e 's|__xconfigfile__|xorg.conf|g' \
   11407 	-e 's|__projectroot__|\$(prefix)|g' \
   11408 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11409 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11410 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11411 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11412 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11413 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11414 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11415 
   11416 
   11417 
   11418 # Check whether --enable-silent-rules was given.
   11419 if test ${enable_silent_rules+y}
   11420 then :
   11421   enableval=$enable_silent_rules;
   11422 fi
   11423 
   11424 case $enable_silent_rules in # (((
   11425   yes) AM_DEFAULT_VERBOSITY=0;;
   11426    no) AM_DEFAULT_VERBOSITY=1;;
   11427     *) AM_DEFAULT_VERBOSITY=0;;
   11428 esac
   11429 am_make=${MAKE-make}
   11430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11431 printf %s "checking whether $am_make supports nested variables... " >&6; }
   11432 if test ${am_cv_make_support_nested_variables+y}
   11433 then :
   11434   printf %s "(cached) " >&6
   11435 else case e in #(
   11436   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   11437 BAR0=false
   11438 BAR1=true
   11439 V=1
   11440 am__doit:
   11441 	@$(TRUE)
   11442 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11443   am_cv_make_support_nested_variables=yes
   11444 else
   11445   am_cv_make_support_nested_variables=no
   11446 fi ;;
   11447 esac
   11448 fi
   11449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11450 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   11451 if test $am_cv_make_support_nested_variables = yes; then
   11452     AM_V='$(V)'
   11453   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11454 else
   11455   AM_V=$AM_DEFAULT_VERBOSITY
   11456   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11457 fi
   11458 AM_BACKSLASH='\'
   11459 
   11460 
   11461 
   11462 
   11463 ac_config_headers="$ac_config_headers config.h"
   11464 
   11465 
   11466 
   11467 # Checks for pkg-config packages
   11468 
   11469 pkg_failed=no
   11470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XMORE" >&5
   11471 printf %s "checking for XMORE... " >&6; }
   11472 
   11473 if test -n "$XMORE_CFLAGS"; then
   11474     pkg_cv_XMORE_CFLAGS="$XMORE_CFLAGS"
   11475  elif test -n "$PKG_CONFIG"; then
   11476     if test -n "$PKG_CONFIG" && \
   11477     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xproto >= 7.0.25\""; } >&5
   11478   ($PKG_CONFIG --exists --print-errors "xaw7 xproto >= 7.0.25") 2>&5
   11479   ac_status=$?
   11480   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11481   test $ac_status = 0; }; then
   11482   pkg_cv_XMORE_CFLAGS=`$PKG_CONFIG --cflags "xaw7 xproto >= 7.0.25" 2>/dev/null`
   11483 		      test "x$?" != "x0" && pkg_failed=yes
   11484 else
   11485   pkg_failed=yes
   11486 fi
   11487  else
   11488     pkg_failed=untried
   11489 fi
   11490 if test -n "$XMORE_LIBS"; then
   11491     pkg_cv_XMORE_LIBS="$XMORE_LIBS"
   11492  elif test -n "$PKG_CONFIG"; then
   11493     if test -n "$PKG_CONFIG" && \
   11494     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xproto >= 7.0.25\""; } >&5
   11495   ($PKG_CONFIG --exists --print-errors "xaw7 xproto >= 7.0.25") 2>&5
   11496   ac_status=$?
   11497   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11498   test $ac_status = 0; }; then
   11499   pkg_cv_XMORE_LIBS=`$PKG_CONFIG --libs "xaw7 xproto >= 7.0.25" 2>/dev/null`
   11500 		      test "x$?" != "x0" && pkg_failed=yes
   11501 else
   11502   pkg_failed=yes
   11503 fi
   11504  else
   11505     pkg_failed=untried
   11506 fi
   11507 
   11508 
   11509 
   11510 if test $pkg_failed = yes; then
   11511    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11512 printf "%s\n" "no" >&6; }
   11513 
   11514 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11515         _pkg_short_errors_supported=yes
   11516 else
   11517         _pkg_short_errors_supported=no
   11518 fi
   11519         if test $_pkg_short_errors_supported = yes; then
   11520 	        XMORE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xaw7 xproto >= 7.0.25" 2>&1`
   11521         else
   11522 	        XMORE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xaw7 xproto >= 7.0.25" 2>&1`
   11523         fi
   11524 	# Put the nasty error message in config.log where it belongs
   11525 	echo "$XMORE_PKG_ERRORS" >&5
   11526 
   11527 	as_fn_error $? "Package requirements (xaw7 xproto >= 7.0.25) were not met:
   11528 
   11529 $XMORE_PKG_ERRORS
   11530 
   11531 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11532 installed software in a non-standard prefix.
   11533 
   11534 Alternatively, you may set the environment variables XMORE_CFLAGS
   11535 and XMORE_LIBS to avoid the need to call pkg-config.
   11536 See the pkg-config man page for more details." "$LINENO" 5
   11537 elif test $pkg_failed = untried; then
   11538      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11539 printf "%s\n" "no" >&6; }
   11540 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   11541 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   11542 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11543 is in your PATH or set the PKG_CONFIG environment variable to the full
   11544 path to pkg-config.
   11545 
   11546 Alternatively, you may set the environment variables XMORE_CFLAGS
   11547 and XMORE_LIBS to avoid the need to call pkg-config.
   11548 See the pkg-config man page for more details.
   11549 
   11550 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11551 See 'config.log' for more details" "$LINENO" 5; }
   11552 else
   11553 	XMORE_CFLAGS=$pkg_cv_XMORE_CFLAGS
   11554 	XMORE_LIBS=$pkg_cv_XMORE_LIBS
   11555         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11556 printf "%s\n" "yes" >&6; }
   11557 
   11558 fi
   11559 
   11560 
   11561 pkg_failed=no
   11562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for APPDEFS" >&5
   11563 printf %s "checking for APPDEFS... " >&6; }
   11564 
   11565 if test -n "$APPDEFS_CFLAGS"; then
   11566     pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS"
   11567  elif test -n "$PKG_CONFIG"; then
   11568     if test -n "$PKG_CONFIG" && \
   11569     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   11570   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   11571   ac_status=$?
   11572   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11573   test $ac_status = 0; }; then
   11574   pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
   11575 		      test "x$?" != "x0" && pkg_failed=yes
   11576 else
   11577   pkg_failed=yes
   11578 fi
   11579  else
   11580     pkg_failed=untried
   11581 fi
   11582 if test -n "$APPDEFS_LIBS"; then
   11583     pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS"
   11584  elif test -n "$PKG_CONFIG"; then
   11585     if test -n "$PKG_CONFIG" && \
   11586     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   11587   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   11588   ac_status=$?
   11589   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11590   test $ac_status = 0; }; then
   11591   pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
   11592 		      test "x$?" != "x0" && pkg_failed=yes
   11593 else
   11594   pkg_failed=yes
   11595 fi
   11596  else
   11597     pkg_failed=untried
   11598 fi
   11599 
   11600 
   11601 
   11602 if test $pkg_failed = yes; then
   11603    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11604 printf "%s\n" "no" >&6; }
   11605 
   11606 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11607         _pkg_short_errors_supported=yes
   11608 else
   11609         _pkg_short_errors_supported=no
   11610 fi
   11611         if test $_pkg_short_errors_supported = yes; then
   11612 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xt" 2>&1`
   11613         else
   11614 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xt" 2>&1`
   11615         fi
   11616 	# Put the nasty error message in config.log where it belongs
   11617 	echo "$APPDEFS_PKG_ERRORS" >&5
   11618 
   11619 	as_fn_error $? "Package requirements (xt) were not met:
   11620 
   11621 $APPDEFS_PKG_ERRORS
   11622 
   11623 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11624 installed software in a non-standard prefix.
   11625 
   11626 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   11627 and APPDEFS_LIBS to avoid the need to call pkg-config.
   11628 See the pkg-config man page for more details." "$LINENO" 5
   11629 elif test $pkg_failed = untried; then
   11630      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11631 printf "%s\n" "no" >&6; }
   11632 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   11633 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   11634 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11635 is in your PATH or set the PKG_CONFIG environment variable to the full
   11636 path to pkg-config.
   11637 
   11638 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   11639 and APPDEFS_LIBS to avoid the need to call pkg-config.
   11640 See the pkg-config man page for more details.
   11641 
   11642 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11643 See 'config.log' for more details" "$LINENO" 5; }
   11644 else
   11645 	APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS
   11646 	APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS
   11647         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11648 printf "%s\n" "yes" >&6; }
   11649 
   11650 fi
   11651 xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
   11652 
   11653 # Check whether --with-appdefaultdir was given.
   11654 if test ${with_appdefaultdir+y}
   11655 then :
   11656   withval=$with_appdefaultdir; appdefaultdir="$withval"
   11657 else case e in #(
   11658   e) appdefaultdir="${xt_appdefaultdir}" ;;
   11659 esac
   11660 fi
   11661 
   11662 
   11663 
   11664 
   11665 ac_config_files="$ac_config_files Makefile man/Makefile"
   11666 
   11667 cat >confcache <<\_ACEOF
   11668 # This file is a shell script that caches the results of configure
   11669 # tests run on this system so they can be shared between configure
   11670 # scripts and configure runs, see configure's option --config-cache.
   11671 # It is not useful on other systems.  If it contains results you don't
   11672 # want to keep, you may remove or edit it.
   11673 #
   11674 # config.status only pays attention to the cache file if you give it
   11675 # the --recheck option to rerun configure.
   11676 #
   11677 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   11678 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   11679 # following values.
   11680 
   11681 _ACEOF
   11682 
   11683 # The following way of writing the cache mishandles newlines in values,
   11684 # but we know of no workaround that is simple, portable, and efficient.
   11685 # So, we kill variables containing newlines.
   11686 # Ultrix sh set writes to stderr and can't be redirected directly,
   11687 # and sets the high bit in the cache file unless we assign to the vars.
   11688 (
   11689   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11690     eval ac_val=\$$ac_var
   11691     case $ac_val in #(
   11692     *${as_nl}*)
   11693       case $ac_var in #(
   11694       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11695 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11696       esac
   11697       case $ac_var in #(
   11698       _ | IFS | as_nl) ;; #(
   11699       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11700       *) { eval $ac_var=; unset $ac_var;} ;;
   11701       esac ;;
   11702     esac
   11703   done
   11704 
   11705   (set) 2>&1 |
   11706     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11707     *${as_nl}ac_space=\ *)
   11708       # 'set' does not quote correctly, so add quotes: double-quote
   11709       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11710       sed -n \
   11711 	"s/'/'\\\\''/g;
   11712 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11713       ;; #(
   11714     *)
   11715       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   11716       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11717       ;;
   11718     esac |
   11719     sort
   11720 ) |
   11721   sed '
   11722      /^ac_cv_env_/b end
   11723      t clear
   11724      :clear
   11725      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   11726      t end
   11727      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11728      :end' >>confcache
   11729 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11730   if test -w "$cache_file"; then
   11731     if test "x$cache_file" != "x/dev/null"; then
   11732       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11733 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   11734       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11735 	cat confcache >"$cache_file"
   11736       else
   11737         case $cache_file in #(
   11738         */* | ?:*)
   11739 	  mv -f confcache "$cache_file"$$ &&
   11740 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11741         *)
   11742 	  mv -f confcache "$cache_file" ;;
   11743 	esac
   11744       fi
   11745     fi
   11746   else
   11747     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11748 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   11749   fi
   11750 fi
   11751 rm -f confcache
   11752 
   11753 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11754 # Let make expand exec_prefix.
   11755 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11756 
   11757 DEFS=-DHAVE_CONFIG_H
   11758 
   11759 ac_libobjs=
   11760 ac_ltlibobjs=
   11761 U=
   11762 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11763   # 1. Remove the extension, and $U if already installed.
   11764   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11765   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   11766   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11767   #    will be set to the directory where LIBOBJS objects are built.
   11768   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11769   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11770 done
   11771 LIBOBJS=$ac_libobjs
   11772 
   11773 LTLIBOBJS=$ac_ltlibobjs
   11774 
   11775 
   11776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11777 printf %s "checking that generated files are newer than configure... " >&6; }
   11778    if test -n "$am_sleep_pid"; then
   11779      # Hide warnings about reused PIDs.
   11780      wait $am_sleep_pid 2>/dev/null
   11781    fi
   11782    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11783 printf "%s\n" "done" >&6; }
   11784  if test -n "$EXEEXT"; then
   11785   am__EXEEXT_TRUE=
   11786   am__EXEEXT_FALSE='#'
   11787 else
   11788   am__EXEEXT_TRUE='#'
   11789   am__EXEEXT_FALSE=
   11790 fi
   11791 
   11792 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11793   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11794 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11795 fi
   11796 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11797   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11798 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11799 fi
   11800 
   11801 : "${CONFIG_STATUS=./config.status}"
   11802 ac_write_fail=0
   11803 ac_clean_files_save=$ac_clean_files
   11804 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11806 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   11807 as_write_fail=0
   11808 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11809 #! $SHELL
   11810 # Generated by $as_me.
   11811 # Run this file to recreate the current configuration.
   11812 # Compiler output produced by configure, useful for debugging
   11813 # configure, is in config.log if it exists.
   11814 
   11815 debug=false
   11816 ac_cs_recheck=false
   11817 ac_cs_silent=false
   11818 
   11819 SHELL=\${CONFIG_SHELL-$SHELL}
   11820 export SHELL
   11821 _ASEOF
   11822 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11823 ## -------------------- ##
   11824 ## M4sh Initialization. ##
   11825 ## -------------------- ##
   11826 
   11827 # Be more Bourne compatible
   11828 DUALCASE=1; export DUALCASE # for MKS sh
   11829 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   11830 then :
   11831   emulate sh
   11832   NULLCMD=:
   11833   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11834   # is contrary to our usage.  Disable this feature.
   11835   alias -g '${1+"$@"}'='"$@"'
   11836   setopt NO_GLOB_SUBST
   11837 else case e in #(
   11838   e) case `(set -o) 2>/dev/null` in #(
   11839   *posix*) :
   11840     set -o posix ;; #(
   11841   *) :
   11842      ;;
   11843 esac ;;
   11844 esac
   11845 fi
   11846 
   11847 
   11848 
   11849 # Reset variables that may have inherited troublesome values from
   11850 # the environment.
   11851 
   11852 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   11853 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   11854 # side effect of setting IFS to empty, thus disabling word splitting.)
   11855 # Quoting is to prevent editors from complaining about space-tab.
   11856 as_nl='
   11857 '
   11858 export as_nl
   11859 IFS=" ""	$as_nl"
   11860 
   11861 PS1='$ '
   11862 PS2='> '
   11863 PS4='+ '
   11864 
   11865 # Ensure predictable behavior from utilities with locale-dependent output.
   11866 LC_ALL=C
   11867 export LC_ALL
   11868 LANGUAGE=C
   11869 export LANGUAGE
   11870 
   11871 # We cannot yet rely on "unset" to work, but we need these variables
   11872 # to be unset--not just set to an empty or harmless value--now, to
   11873 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   11874 # also avoids known problems related to "unset" and subshell syntax
   11875 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   11876 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   11877 do eval test \${$as_var+y} \
   11878   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11879 done
   11880 
   11881 # Ensure that fds 0, 1, and 2 are open.
   11882 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   11883 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   11884 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   11885 
   11886 # The user is always right.
   11887 if ${PATH_SEPARATOR+false} :; then
   11888   PATH_SEPARATOR=:
   11889   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11890     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11891       PATH_SEPARATOR=';'
   11892   }
   11893 fi
   11894 
   11895 
   11896 # Find who we are.  Look in the path if we contain no directory separator.
   11897 as_myself=
   11898 case $0 in #((
   11899   *[\\/]* ) as_myself=$0 ;;
   11900   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11901 for as_dir in $PATH
   11902 do
   11903   IFS=$as_save_IFS
   11904   case $as_dir in #(((
   11905     '') as_dir=./ ;;
   11906     */) ;;
   11907     *) as_dir=$as_dir/ ;;
   11908   esac
   11909     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   11910   done
   11911 IFS=$as_save_IFS
   11912 
   11913      ;;
   11914 esac
   11915 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   11916 # in which case we are not to be found in the path.
   11917 if test "x$as_myself" = x; then
   11918   as_myself=$0
   11919 fi
   11920 if test ! -f "$as_myself"; then
   11921   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11922   exit 1
   11923 fi
   11924 
   11925 
   11926 
   11927 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11928 # ----------------------------------------
   11929 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11930 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11931 # script with STATUS, using 1 if that was 0.
   11932 as_fn_error ()
   11933 {
   11934   as_status=$1; test $as_status -eq 0 && as_status=1
   11935   if test "$4"; then
   11936     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11937     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11938   fi
   11939   printf "%s\n" "$as_me: error: $2" >&2
   11940   as_fn_exit $as_status
   11941 } # as_fn_error
   11942 
   11943 
   11944 # as_fn_set_status STATUS
   11945 # -----------------------
   11946 # Set $? to STATUS, without forking.
   11947 as_fn_set_status ()
   11948 {
   11949   return $1
   11950 } # as_fn_set_status
   11951 
   11952 # as_fn_exit STATUS
   11953 # -----------------
   11954 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11955 as_fn_exit ()
   11956 {
   11957   set +e
   11958   as_fn_set_status $1
   11959   exit $1
   11960 } # as_fn_exit
   11961 
   11962 # as_fn_unset VAR
   11963 # ---------------
   11964 # Portably unset VAR.
   11965 as_fn_unset ()
   11966 {
   11967   { eval $1=; unset $1;}
   11968 }
   11969 as_unset=as_fn_unset
   11970 
   11971 # as_fn_append VAR VALUE
   11972 # ----------------------
   11973 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11974 # advantage of any shell optimizations that allow amortized linear growth over
   11975 # repeated appends, instead of the typical quadratic growth present in naive
   11976 # implementations.
   11977 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   11978 then :
   11979   eval 'as_fn_append ()
   11980   {
   11981     eval $1+=\$2
   11982   }'
   11983 else case e in #(
   11984   e) as_fn_append ()
   11985   {
   11986     eval $1=\$$1\$2
   11987   } ;;
   11988 esac
   11989 fi # as_fn_append
   11990 
   11991 # as_fn_arith ARG...
   11992 # ------------------
   11993 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11994 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11995 # must be portable across $(()) and expr.
   11996 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   11997 then :
   11998   eval 'as_fn_arith ()
   11999   {
   12000     as_val=$(( $* ))
   12001   }'
   12002 else case e in #(
   12003   e) as_fn_arith ()
   12004   {
   12005     as_val=`expr "$@" || test $? -eq 1`
   12006   } ;;
   12007 esac
   12008 fi # as_fn_arith
   12009 
   12010 
   12011 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12012    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12013   as_expr=expr
   12014 else
   12015   as_expr=false
   12016 fi
   12017 
   12018 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12019   as_basename=basename
   12020 else
   12021   as_basename=false
   12022 fi
   12023 
   12024 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12025   as_dirname=dirname
   12026 else
   12027   as_dirname=false
   12028 fi
   12029 
   12030 as_me=`$as_basename -- "$0" ||
   12031 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12032 	 X"$0" : 'X\(//\)$' \| \
   12033 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12034 printf "%s\n" X/"$0" |
   12035     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12036 	    s//\1/
   12037 	    q
   12038 	  }
   12039 	  /^X\/\(\/\/\)$/{
   12040 	    s//\1/
   12041 	    q
   12042 	  }
   12043 	  /^X\/\(\/\).*/{
   12044 	    s//\1/
   12045 	    q
   12046 	  }
   12047 	  s/.*/./; q'`
   12048 
   12049 # Avoid depending upon Character Ranges.
   12050 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12051 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12052 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12053 as_cr_digits='0123456789'
   12054 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12055 
   12056 
   12057 # Determine whether it's possible to make 'echo' print without a newline.
   12058 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   12059 # for compatibility with existing Makefiles.
   12060 ECHO_C= ECHO_N= ECHO_T=
   12061 case `echo -n x` in #(((((
   12062 -n*)
   12063   case `echo 'xy\c'` in
   12064   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   12065   xy)  ECHO_C='\c';;
   12066   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   12067        ECHO_T='	';;
   12068   esac;;
   12069 *)
   12070   ECHO_N='-n';;
   12071 esac
   12072 
   12073 # For backward compatibility with old third-party macros, we provide
   12074 # the shell variables $as_echo and $as_echo_n.  New code should use
   12075 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   12076 as_echo='printf %s\n'
   12077 as_echo_n='printf %s'
   12078 
   12079 rm -f conf$$ conf$$.exe conf$$.file
   12080 if test -d conf$$.dir; then
   12081   rm -f conf$$.dir/conf$$.file
   12082 else
   12083   rm -f conf$$.dir
   12084   mkdir conf$$.dir 2>/dev/null
   12085 fi
   12086 if (echo >conf$$.file) 2>/dev/null; then
   12087   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12088     as_ln_s='ln -s'
   12089     # ... but there are two gotchas:
   12090     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   12091     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   12092     # In both cases, we have to default to 'cp -pR'.
   12093     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12094       as_ln_s='cp -pR'
   12095   elif ln conf$$.file conf$$ 2>/dev/null; then
   12096     as_ln_s=ln
   12097   else
   12098     as_ln_s='cp -pR'
   12099   fi
   12100 else
   12101   as_ln_s='cp -pR'
   12102 fi
   12103 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12104 rmdir conf$$.dir 2>/dev/null
   12105 
   12106 
   12107 # as_fn_mkdir_p
   12108 # -------------
   12109 # Create "$as_dir" as a directory, including parents if necessary.
   12110 as_fn_mkdir_p ()
   12111 {
   12112 
   12113   case $as_dir in #(
   12114   -*) as_dir=./$as_dir;;
   12115   esac
   12116   test -d "$as_dir" || eval $as_mkdir_p || {
   12117     as_dirs=
   12118     while :; do
   12119       case $as_dir in #(
   12120       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12121       *) as_qdir=$as_dir;;
   12122       esac
   12123       as_dirs="'$as_qdir' $as_dirs"
   12124       as_dir=`$as_dirname -- "$as_dir" ||
   12125 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12126 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12127 	 X"$as_dir" : 'X\(//\)$' \| \
   12128 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12129 printf "%s\n" X"$as_dir" |
   12130     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12131 	    s//\1/
   12132 	    q
   12133 	  }
   12134 	  /^X\(\/\/\)[^/].*/{
   12135 	    s//\1/
   12136 	    q
   12137 	  }
   12138 	  /^X\(\/\/\)$/{
   12139 	    s//\1/
   12140 	    q
   12141 	  }
   12142 	  /^X\(\/\).*/{
   12143 	    s//\1/
   12144 	    q
   12145 	  }
   12146 	  s/.*/./; q'`
   12147       test -d "$as_dir" && break
   12148     done
   12149     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12150   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12151 
   12152 
   12153 } # as_fn_mkdir_p
   12154 if mkdir -p . 2>/dev/null; then
   12155   as_mkdir_p='mkdir -p "$as_dir"'
   12156 else
   12157   test -d ./-p && rmdir ./-p
   12158   as_mkdir_p=false
   12159 fi
   12160 
   12161 
   12162 # as_fn_executable_p FILE
   12163 # -----------------------
   12164 # Test if FILE is an executable regular file.
   12165 as_fn_executable_p ()
   12166 {
   12167   test -f "$1" && test -x "$1"
   12168 } # as_fn_executable_p
   12169 as_test_x='test -x'
   12170 as_executable_p=as_fn_executable_p
   12171 
   12172 # Sed expression to map a string onto a valid CPP name.
   12173 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   12174 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   12175 
   12176 # Sed expression to map a string onto a valid variable name.
   12177 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   12178 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   12179 
   12180 
   12181 exec 6>&1
   12182 ## ----------------------------------- ##
   12183 ## Main body of $CONFIG_STATUS script. ##
   12184 ## ----------------------------------- ##
   12185 _ASEOF
   12186 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   12187 
   12188 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12189 # Save the log message, to keep $0 and so on meaningful, and to
   12190 # report actual input values of CONFIG_FILES etc. instead of their
   12191 # values after options handling.
   12192 ac_log="
   12193 This file was extended by xmore $as_me 1.0.4, which was
   12194 generated by GNU Autoconf 2.72.  Invocation command line was
   12195 
   12196   CONFIG_FILES    = $CONFIG_FILES
   12197   CONFIG_HEADERS  = $CONFIG_HEADERS
   12198   CONFIG_LINKS    = $CONFIG_LINKS
   12199   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12200   $ $0 $@
   12201 
   12202 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12203 "
   12204 
   12205 _ACEOF
   12206 
   12207 case $ac_config_files in *"
   12208 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12209 esac
   12210 
   12211 case $ac_config_headers in *"
   12212 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12213 esac
   12214 
   12215 
   12216 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12217 # Files that config.status was made for.
   12218 config_files="$ac_config_files"
   12219 config_headers="$ac_config_headers"
   12220 config_commands="$ac_config_commands"
   12221 
   12222 _ACEOF
   12223 
   12224 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12225 ac_cs_usage="\
   12226 '$as_me' instantiates files and other configuration actions
   12227 from templates according to the current configuration.  Unless the files
   12228 and actions are specified as TAGs, all are instantiated by default.
   12229 
   12230 Usage: $0 [OPTION]... [TAG]...
   12231 
   12232   -h, --help       print this help, then exit
   12233   -V, --version    print version number and configuration settings, then exit
   12234       --config     print configuration, then exit
   12235   -q, --quiet, --silent
   12236                    do not print progress messages
   12237   -d, --debug      don't remove temporary files
   12238       --recheck    update $as_me by reconfiguring in the same conditions
   12239       --file=FILE[:TEMPLATE]
   12240                    instantiate the configuration file FILE
   12241       --header=FILE[:TEMPLATE]
   12242                    instantiate the configuration header FILE
   12243 
   12244 Configuration files:
   12245 $config_files
   12246 
   12247 Configuration headers:
   12248 $config_headers
   12249 
   12250 Configuration commands:
   12251 $config_commands
   12252 
   12253 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xmore/-/issues>."
   12254 
   12255 _ACEOF
   12256 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   12257 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   12258 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12259 ac_cs_config='$ac_cs_config_escaped'
   12260 ac_cs_version="\\
   12261 xmore config.status 1.0.4
   12262 configured by $0, generated by GNU Autoconf 2.72,
   12263   with options \\"\$ac_cs_config\\"
   12264 
   12265 Copyright (C) 2023 Free Software Foundation, Inc.
   12266 This config.status script is free software; the Free Software Foundation
   12267 gives unlimited permission to copy, distribute and modify it."
   12268 
   12269 ac_pwd='$ac_pwd'
   12270 srcdir='$srcdir'
   12271 INSTALL='$INSTALL'
   12272 MKDIR_P='$MKDIR_P'
   12273 AWK='$AWK'
   12274 test -n "\$AWK" || AWK=awk
   12275 _ACEOF
   12276 
   12277 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12278 # The default lists apply if the user does not specify any file.
   12279 ac_need_defaults=:
   12280 while test $# != 0
   12281 do
   12282   case $1 in
   12283   --*=?*)
   12284     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12285     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12286     ac_shift=:
   12287     ;;
   12288   --*=)
   12289     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12290     ac_optarg=
   12291     ac_shift=:
   12292     ;;
   12293   *)
   12294     ac_option=$1
   12295     ac_optarg=$2
   12296     ac_shift=shift
   12297     ;;
   12298   esac
   12299 
   12300   case $ac_option in
   12301   # Handling of the options.
   12302   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12303     ac_cs_recheck=: ;;
   12304   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12305     printf "%s\n" "$ac_cs_version"; exit ;;
   12306   --config | --confi | --conf | --con | --co | --c )
   12307     printf "%s\n" "$ac_cs_config"; exit ;;
   12308   --debug | --debu | --deb | --de | --d | -d )
   12309     debug=: ;;
   12310   --file | --fil | --fi | --f )
   12311     $ac_shift
   12312     case $ac_optarg in
   12313     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12314     '') as_fn_error $? "missing file argument" ;;
   12315     esac
   12316     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12317     ac_need_defaults=false;;
   12318   --header | --heade | --head | --hea )
   12319     $ac_shift
   12320     case $ac_optarg in
   12321     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12322     esac
   12323     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12324     ac_need_defaults=false;;
   12325   --he | --h)
   12326     # Conflict between --help and --header
   12327     as_fn_error $? "ambiguous option: '$1'
   12328 Try '$0 --help' for more information.";;
   12329   --help | --hel | -h )
   12330     printf "%s\n" "$ac_cs_usage"; exit ;;
   12331   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12332   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12333     ac_cs_silent=: ;;
   12334 
   12335   # This is an error.
   12336   -*) as_fn_error $? "unrecognized option: '$1'
   12337 Try '$0 --help' for more information." ;;
   12338 
   12339   *) as_fn_append ac_config_targets " $1"
   12340      ac_need_defaults=false ;;
   12341 
   12342   esac
   12343   shift
   12344 done
   12345 
   12346 ac_configure_extra_args=
   12347 
   12348 if $ac_cs_silent; then
   12349   exec 6>/dev/null
   12350   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12351 fi
   12352 
   12353 _ACEOF
   12354 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12355 if \$ac_cs_recheck; then
   12356   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12357   shift
   12358   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   12359   CONFIG_SHELL='$SHELL'
   12360   export CONFIG_SHELL
   12361   exec "\$@"
   12362 fi
   12363 
   12364 _ACEOF
   12365 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12366 exec 5>>config.log
   12367 {
   12368   echo
   12369   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12370 ## Running $as_me. ##
   12371 _ASBOX
   12372   printf "%s\n" "$ac_log"
   12373 } >&5
   12374 
   12375 _ACEOF
   12376 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12377 #
   12378 # INIT-COMMANDS
   12379 #
   12380 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   12381 
   12382 _ACEOF
   12383 
   12384 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12385 
   12386 # Handling of arguments.
   12387 for ac_config_target in $ac_config_targets
   12388 do
   12389   case $ac_config_target in
   12390     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12391     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12392     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12393     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12394 
   12395   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   12396   esac
   12397 done
   12398 
   12399 
   12400 # If the user did not use the arguments to specify the items to instantiate,
   12401 # then the envvar interface is used.  Set only those that are not.
   12402 # We use the long form for the default assignment because of an extremely
   12403 # bizarre bug on SunOS 4.1.3.
   12404 if $ac_need_defaults; then
   12405   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   12406   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   12407   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   12408 fi
   12409 
   12410 # Have a temporary directory for convenience.  Make it in the build tree
   12411 # simply because there is no reason against having it here, and in addition,
   12412 # creating and moving files from /tmp can sometimes cause problems.
   12413 # Hook for its removal unless debugging.
   12414 # Note that there is a small window in which the directory will not be cleaned:
   12415 # after its creation but before its name has been assigned to '$tmp'.
   12416 $debug ||
   12417 {
   12418   tmp= ac_tmp=
   12419   trap 'exit_status=$?
   12420   : "${ac_tmp:=$tmp}"
   12421   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12422 ' 0
   12423   trap 'as_fn_exit 1' 1 2 13 15
   12424 }
   12425 # Create a (secure) tmp directory for tmp files.
   12426 
   12427 {
   12428   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12429   test -d "$tmp"
   12430 }  ||
   12431 {
   12432   tmp=./conf$$-$RANDOM
   12433   (umask 077 && mkdir "$tmp")
   12434 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12435 ac_tmp=$tmp
   12436 
   12437 # Set up the scripts for CONFIG_FILES section.
   12438 # No need to generate them if there are no CONFIG_FILES.
   12439 # This happens for instance with './config.status config.h'.
   12440 if test -n "$CONFIG_FILES"; then
   12441 
   12442 
   12443 ac_cr=`echo X | tr X '\015'`
   12444 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12445 # But we know of no other shell where ac_cr would be empty at this
   12446 # point, so we can use a bashism as a fallback.
   12447 if test "x$ac_cr" = x; then
   12448   eval ac_cr=\$\'\\r\'
   12449 fi
   12450 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12451 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12452   ac_cs_awk_cr='\\r'
   12453 else
   12454   ac_cs_awk_cr=$ac_cr
   12455 fi
   12456 
   12457 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12458 _ACEOF
   12459 
   12460 
   12461 {
   12462   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12463   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12464   echo "_ACEOF"
   12465 } >conf$$subs.sh ||
   12466   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12467 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12468 ac_delim='%!_!# '
   12469 for ac_last_try in false false false false false :; do
   12470   . ./conf$$subs.sh ||
   12471     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12472 
   12473   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12474   if test $ac_delim_n = $ac_delim_num; then
   12475     break
   12476   elif $ac_last_try; then
   12477     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12478   else
   12479     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12480   fi
   12481 done
   12482 rm -f conf$$subs.sh
   12483 
   12484 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12485 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12486 _ACEOF
   12487 sed -n '
   12488 h
   12489 s/^/S["/; s/!.*/"]=/
   12490 p
   12491 g
   12492 s/^[^!]*!//
   12493 :repl
   12494 t repl
   12495 s/'"$ac_delim"'$//
   12496 t delim
   12497 :nl
   12498 h
   12499 s/\(.\{148\}\)..*/\1/
   12500 t more1
   12501 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12502 p
   12503 n
   12504 b repl
   12505 :more1
   12506 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12507 p
   12508 g
   12509 s/.\{148\}//
   12510 t nl
   12511 :delim
   12512 h
   12513 s/\(.\{148\}\)..*/\1/
   12514 t more2
   12515 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12516 p
   12517 b
   12518 :more2
   12519 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12520 p
   12521 g
   12522 s/.\{148\}//
   12523 t delim
   12524 ' <conf$$subs.awk | sed '
   12525 /^[^""]/{
   12526   N
   12527   s/\n//
   12528 }
   12529 ' >>$CONFIG_STATUS || ac_write_fail=1
   12530 rm -f conf$$subs.awk
   12531 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12532 _ACAWK
   12533 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12534   for (key in S) S_is_set[key] = 1
   12535   FS = ""
   12536 
   12537 }
   12538 {
   12539   line = $ 0
   12540   nfields = split(line, field, "@")
   12541   substed = 0
   12542   len = length(field[1])
   12543   for (i = 2; i < nfields; i++) {
   12544     key = field[i]
   12545     keylen = length(key)
   12546     if (S_is_set[key]) {
   12547       value = S[key]
   12548       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12549       len += length(value) + length(field[++i])
   12550       substed = 1
   12551     } else
   12552       len += 1 + keylen
   12553   }
   12554 
   12555   print line
   12556 }
   12557 
   12558 _ACAWK
   12559 _ACEOF
   12560 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12561 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12562   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12563 else
   12564   cat
   12565 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12566   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12567 _ACEOF
   12568 
   12569 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12570 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12571 # trailing colons and then remove the whole line if VPATH becomes empty
   12572 # (actually we leave an empty line to preserve line numbers).
   12573 if test "x$srcdir" = x.; then
   12574   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12575 h
   12576 s///
   12577 s/^/:/
   12578 s/[	 ]*$/:/
   12579 s/:\$(srcdir):/:/g
   12580 s/:\${srcdir}:/:/g
   12581 s/:@srcdir@:/:/g
   12582 s/^:*//
   12583 s/:*$//
   12584 x
   12585 s/\(=[	 ]*\).*/\1/
   12586 G
   12587 s/\n//
   12588 s/^[^=]*=[	 ]*$//
   12589 }'
   12590 fi
   12591 
   12592 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12593 fi # test -n "$CONFIG_FILES"
   12594 
   12595 # Set up the scripts for CONFIG_HEADERS section.
   12596 # No need to generate them if there are no CONFIG_HEADERS.
   12597 # This happens for instance with './config.status Makefile'.
   12598 if test -n "$CONFIG_HEADERS"; then
   12599 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12600 BEGIN {
   12601 _ACEOF
   12602 
   12603 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   12604 # here-document in config.status, that substitutes the proper values into
   12605 # config.h.in to produce config.h.
   12606 
   12607 # Create a delimiter string that does not exist in confdefs.h, to ease
   12608 # handling of long lines.
   12609 ac_delim='%!_!# '
   12610 for ac_last_try in false false :; do
   12611   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12612   if test -z "$ac_tt"; then
   12613     break
   12614   elif $ac_last_try; then
   12615     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12616   else
   12617     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12618   fi
   12619 done
   12620 
   12621 # For the awk script, D is an array of macro values keyed by name,
   12622 # likewise P contains macro parameters if any.  Preserve backslash
   12623 # newline sequences.
   12624 
   12625 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12626 sed -n '
   12627 s/.\{148\}/&'"$ac_delim"'/g
   12628 t rset
   12629 :rset
   12630 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12631 t def
   12632 d
   12633 :def
   12634 s/\\$//
   12635 t bsnl
   12636 s/["\\]/\\&/g
   12637 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12638 D["\1"]=" \3"/p
   12639 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12640 d
   12641 :bsnl
   12642 s/["\\]/\\&/g
   12643 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12644 D["\1"]=" \3\\\\\\n"\\/p
   12645 t cont
   12646 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12647 t cont
   12648 d
   12649 :cont
   12650 n
   12651 s/.\{148\}/&'"$ac_delim"'/g
   12652 t clear
   12653 :clear
   12654 s/\\$//
   12655 t bsnlc
   12656 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12657 d
   12658 :bsnlc
   12659 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12660 b cont
   12661 ' <confdefs.h | sed '
   12662 s/'"$ac_delim"'/"\\\
   12663 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12664 
   12665 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12666   for (key in D) D_is_set[key] = 1
   12667   FS = ""
   12668 }
   12669 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12670   line = \$ 0
   12671   split(line, arg, " ")
   12672   if (arg[1] == "#") {
   12673     defundef = arg[2]
   12674     mac1 = arg[3]
   12675   } else {
   12676     defundef = substr(arg[1], 2)
   12677     mac1 = arg[2]
   12678   }
   12679   split(mac1, mac2, "(") #)
   12680   macro = mac2[1]
   12681   prefix = substr(line, 1, index(line, defundef) - 1)
   12682   if (D_is_set[macro]) {
   12683     # Preserve the white space surrounding the "#".
   12684     print prefix "define", macro P[macro] D[macro]
   12685     next
   12686   } else {
   12687     # Replace #undef with comments.  This is necessary, for example,
   12688     # in the case of _POSIX_SOURCE, which is predefined and required
   12689     # on some systems where configure will not decide to define it.
   12690     if (defundef == "undef") {
   12691       print "/*", prefix defundef, macro, "*/"
   12692       next
   12693     }
   12694   }
   12695 }
   12696 { print }
   12697 _ACAWK
   12698 _ACEOF
   12699 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12700   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12701 fi # test -n "$CONFIG_HEADERS"
   12702 
   12703 
   12704 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12705 shift
   12706 for ac_tag
   12707 do
   12708   case $ac_tag in
   12709   :[FHLC]) ac_mode=$ac_tag; continue;;
   12710   esac
   12711   case $ac_mode$ac_tag in
   12712   :[FHL]*:*);;
   12713   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   12714   :[FH]-) ac_tag=-:-;;
   12715   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12716   esac
   12717   ac_save_IFS=$IFS
   12718   IFS=:
   12719   set x $ac_tag
   12720   IFS=$ac_save_IFS
   12721   shift
   12722   ac_file=$1
   12723   shift
   12724 
   12725   case $ac_mode in
   12726   :L) ac_source=$1;;
   12727   :[FH])
   12728     ac_file_inputs=
   12729     for ac_f
   12730     do
   12731       case $ac_f in
   12732       -) ac_f="$ac_tmp/stdin";;
   12733       *) # Look for the file first in the build tree, then in the source tree
   12734 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12735 	 # because $ac_f cannot contain ':'.
   12736 	 test -f "$ac_f" ||
   12737 	   case $ac_f in
   12738 	   [\\/$]*) false;;
   12739 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12740 	   esac ||
   12741 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   12742       esac
   12743       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12744       as_fn_append ac_file_inputs " '$ac_f'"
   12745     done
   12746 
   12747     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   12748     # use $as_me), people would be surprised to read:
   12749     #    /* config.h.  Generated by config.status.  */
   12750     configure_input='Generated from '`
   12751 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12752 	`' by configure.'
   12753     if test x"$ac_file" != x-; then
   12754       configure_input="$ac_file.  $configure_input"
   12755       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12756 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   12757     fi
   12758     # Neutralize special characters interpreted by sed in replacement strings.
   12759     case $configure_input in #(
   12760     *\&* | *\|* | *\\* )
   12761        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   12762        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12763     *) ac_sed_conf_input=$configure_input;;
   12764     esac
   12765 
   12766     case $ac_tag in
   12767     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12768       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12769     esac
   12770     ;;
   12771   esac
   12772 
   12773   ac_dir=`$as_dirname -- "$ac_file" ||
   12774 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12775 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12776 	 X"$ac_file" : 'X\(//\)$' \| \
   12777 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12778 printf "%s\n" X"$ac_file" |
   12779     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12780 	    s//\1/
   12781 	    q
   12782 	  }
   12783 	  /^X\(\/\/\)[^/].*/{
   12784 	    s//\1/
   12785 	    q
   12786 	  }
   12787 	  /^X\(\/\/\)$/{
   12788 	    s//\1/
   12789 	    q
   12790 	  }
   12791 	  /^X\(\/\).*/{
   12792 	    s//\1/
   12793 	    q
   12794 	  }
   12795 	  s/.*/./; q'`
   12796   as_dir="$ac_dir"; as_fn_mkdir_p
   12797   ac_builddir=.
   12798 
   12799 case "$ac_dir" in
   12800 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12801 *)
   12802   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   12803   # A ".." for each directory in $ac_dir_suffix.
   12804   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12805   case $ac_top_builddir_sub in
   12806   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12807   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12808   esac ;;
   12809 esac
   12810 ac_abs_top_builddir=$ac_pwd
   12811 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12812 # for backward compatibility:
   12813 ac_top_builddir=$ac_top_build_prefix
   12814 
   12815 case $srcdir in
   12816   .)  # We are building in place.
   12817     ac_srcdir=.
   12818     ac_top_srcdir=$ac_top_builddir_sub
   12819     ac_abs_top_srcdir=$ac_pwd ;;
   12820   [\\/]* | ?:[\\/]* )  # Absolute name.
   12821     ac_srcdir=$srcdir$ac_dir_suffix;
   12822     ac_top_srcdir=$srcdir
   12823     ac_abs_top_srcdir=$srcdir ;;
   12824   *) # Relative name.
   12825     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12826     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12827     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12828 esac
   12829 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12830 
   12831 
   12832   case $ac_mode in
   12833   :F)
   12834   #
   12835   # CONFIG_FILE
   12836   #
   12837 
   12838   case $INSTALL in
   12839   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12840   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12841   esac
   12842   ac_MKDIR_P=$MKDIR_P
   12843   case $MKDIR_P in
   12844   [\\/$]* | ?:[\\/]* ) ;;
   12845   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12846   esac
   12847 _ACEOF
   12848 
   12849 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12850 # If the template does not know about datarootdir, expand it.
   12851 # FIXME: This hack should be removed a few years after 2.60.
   12852 ac_datarootdir_hack=; ac_datarootdir_seen=
   12853 ac_sed_dataroot='
   12854 /datarootdir/ {
   12855   p
   12856   q
   12857 }
   12858 /@datadir@/p
   12859 /@docdir@/p
   12860 /@infodir@/p
   12861 /@localedir@/p
   12862 /@mandir@/p'
   12863 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12864 *datarootdir*) ac_datarootdir_seen=yes;;
   12865 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12866   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12867 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12868 _ACEOF
   12869 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12870   ac_datarootdir_hack='
   12871   s&@datadir@&$datadir&g
   12872   s&@docdir@&$docdir&g
   12873   s&@infodir@&$infodir&g
   12874   s&@localedir@&$localedir&g
   12875   s&@mandir@&$mandir&g
   12876   s&\\\${datarootdir}&$datarootdir&g' ;;
   12877 esac
   12878 _ACEOF
   12879 
   12880 # Neutralize VPATH when '$srcdir' = '.'.
   12881 # Shell code in configure.ac might set extrasub.
   12882 # FIXME: do we really want to maintain this feature?
   12883 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12884 ac_sed_extra="$ac_vpsub
   12885 $extrasub
   12886 _ACEOF
   12887 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12888 :t
   12889 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12890 s|@configure_input@|$ac_sed_conf_input|;t t
   12891 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12892 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12893 s&@srcdir@&$ac_srcdir&;t t
   12894 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12895 s&@top_srcdir@&$ac_top_srcdir&;t t
   12896 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12897 s&@builddir@&$ac_builddir&;t t
   12898 s&@abs_builddir@&$ac_abs_builddir&;t t
   12899 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12900 s&@INSTALL@&$ac_INSTALL&;t t
   12901 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12902 $ac_datarootdir_hack
   12903 "
   12904 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12905   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12906 
   12907 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12908   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12909   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12910       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12911   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   12912 which seems to be undefined.  Please make sure it is defined" >&5
   12913 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   12914 which seems to be undefined.  Please make sure it is defined" >&2;}
   12915 
   12916   rm -f "$ac_tmp/stdin"
   12917   case $ac_file in
   12918   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12919   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12920   esac \
   12921   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12922  ;;
   12923   :H)
   12924   #
   12925   # CONFIG_HEADER
   12926   #
   12927   if test x"$ac_file" != x-; then
   12928     {
   12929       printf "%s\n" "/* $configure_input  */" >&1 \
   12930       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12931     } >"$ac_tmp/config.h" \
   12932       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12933     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12934       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12935 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   12936     else
   12937       rm -f "$ac_file"
   12938       mv "$ac_tmp/config.h" "$ac_file" \
   12939 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12940     fi
   12941   else
   12942     printf "%s\n" "/* $configure_input  */" >&1 \
   12943       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12944       || as_fn_error $? "could not create -" "$LINENO" 5
   12945   fi
   12946 # Compute "$ac_file"'s index in $config_headers.
   12947 _am_arg="$ac_file"
   12948 _am_stamp_count=1
   12949 for _am_header in $config_headers :; do
   12950   case $_am_header in
   12951     $_am_arg | $_am_arg:* )
   12952       break ;;
   12953     * )
   12954       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12955   esac
   12956 done
   12957 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12958 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12959 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12960 	 X"$_am_arg" : 'X\(//\)$' \| \
   12961 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12962 printf "%s\n" X"$_am_arg" |
   12963     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12964 	    s//\1/
   12965 	    q
   12966 	  }
   12967 	  /^X\(\/\/\)[^/].*/{
   12968 	    s//\1/
   12969 	    q
   12970 	  }
   12971 	  /^X\(\/\/\)$/{
   12972 	    s//\1/
   12973 	    q
   12974 	  }
   12975 	  /^X\(\/\).*/{
   12976 	    s//\1/
   12977 	    q
   12978 	  }
   12979 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12980  ;;
   12981 
   12982   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12983 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   12984  ;;
   12985   esac
   12986 
   12987 
   12988   case $ac_file$ac_mode in
   12989     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12990   # Older Autoconf quotes --file arguments for eval, but not when files
   12991   # are listed without --file.  Let's play safe and only enable the eval
   12992   # if we detect the quoting.
   12993   # TODO: see whether this extra hack can be removed once we start
   12994   # requiring Autoconf 2.70 or later.
   12995   case $CONFIG_FILES in #(
   12996   *\'*) :
   12997     eval set x "$CONFIG_FILES" ;; #(
   12998   *) :
   12999     set x $CONFIG_FILES ;; #(
   13000   *) :
   13001      ;;
   13002 esac
   13003   shift
   13004   # Used to flag and report bootstrapping failures.
   13005   am_rc=0
   13006   for am_mf
   13007   do
   13008     # Strip MF so we end up with the name of the file.
   13009     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   13010     # Check whether this is an Automake generated Makefile which includes
   13011     # dependency-tracking related rules and includes.
   13012     # Grep'ing the whole file directly is not great: AIX grep has a line
   13013     # limit of 2048, but all sed's we know have understand at least 4000.
   13014     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   13015       || continue
   13016     am_dirpart=`$as_dirname -- "$am_mf" ||
   13017 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13018 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   13019 	 X"$am_mf" : 'X\(//\)$' \| \
   13020 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13021 printf "%s\n" X"$am_mf" |
   13022     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13023 	    s//\1/
   13024 	    q
   13025 	  }
   13026 	  /^X\(\/\/\)[^/].*/{
   13027 	    s//\1/
   13028 	    q
   13029 	  }
   13030 	  /^X\(\/\/\)$/{
   13031 	    s//\1/
   13032 	    q
   13033 	  }
   13034 	  /^X\(\/\).*/{
   13035 	    s//\1/
   13036 	    q
   13037 	  }
   13038 	  s/.*/./; q'`
   13039     am_filepart=`$as_basename -- "$am_mf" ||
   13040 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   13041 	 X"$am_mf" : 'X\(//\)$' \| \
   13042 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13043 printf "%s\n" X/"$am_mf" |
   13044     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13045 	    s//\1/
   13046 	    q
   13047 	  }
   13048 	  /^X\/\(\/\/\)$/{
   13049 	    s//\1/
   13050 	    q
   13051 	  }
   13052 	  /^X\/\(\/\).*/{
   13053 	    s//\1/
   13054 	    q
   13055 	  }
   13056 	  s/.*/./; q'`
   13057     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   13058       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13059         | $MAKE -f - am--depfiles" >&5
   13060    (cd "$am_dirpart" \
   13061       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13062         | $MAKE -f - am--depfiles) >&5 2>&5
   13063    ac_status=$?
   13064    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13065    (exit $ac_status); } || am_rc=$?
   13066   done
   13067   if test $am_rc -ne 0; then
   13068     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   13069 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   13070 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   13071     for automatic dependency tracking.  If GNU make was not used, consider
   13072     re-running the configure script with MAKE=\"gmake\" (or whatever is
   13073     necessary).  You can also try re-running configure with the
   13074     '--disable-dependency-tracking' option to at least be able to build
   13075     the package (albeit without support for automatic dependency tracking).
   13076 See 'config.log' for more details" "$LINENO" 5; }
   13077   fi
   13078   { am_dirpart=; unset am_dirpart;}
   13079   { am_filepart=; unset am_filepart;}
   13080   { am_mf=; unset am_mf;}
   13081   { am_rc=; unset am_rc;}
   13082   rm -f conftest-deps.mk
   13083 }
   13084  ;;
   13085 
   13086   esac
   13087 done # for ac_tag
   13088 
   13089 
   13090 as_fn_exit 0
   13091 _ACEOF
   13092 ac_clean_files=$ac_clean_files_save
   13093 
   13094 test $ac_write_fail = 0 ||
   13095   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   13096 
   13097 
   13098 # configure is writing to config.log, and then calls config.status.
   13099 # config.status does its own redirection, appending to config.log.
   13100 # Unfortunately, on DOS this fails, as config.log is still kept open
   13101 # by configure, so config.status won't be able to write to it; its
   13102 # output is simply discarded.  So we exec the FD to /dev/null,
   13103 # effectively closing config.log, so it can be properly (re)opened and
   13104 # appended to by config.status.  When coming back to configure, we
   13105 # need to make the FD available again.
   13106 if test "$no_create" != yes; then
   13107   ac_cs_success=:
   13108   ac_config_status_args=
   13109   test "$silent" = yes &&
   13110     ac_config_status_args="$ac_config_status_args --quiet"
   13111   exec 5>/dev/null
   13112   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   13113   exec 5>>config.log
   13114   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   13115   # would make configure fail if this is the last instruction.
   13116   $ac_cs_success || as_fn_exit 1
   13117 fi
   13118 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   13119   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   13120 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   13121 fi
   13122 
   13123 
   13124