Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.7
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.72 for xload 1.2.0.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xload/-/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/xload/-/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='xload'
    607 PACKAGE_TARNAME='xload'
    608 PACKAGE_VERSION='1.2.0'
    609 PACKAGE_STRING='xload 1.2.0'
    610 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xload/-/issues'
    611 PACKAGE_URL=''
    612 
    613 ac_unique_file="Makefile.am"
    614 # Factoring default headers for most tests.
    615 ac_includes_default="\
    616 #include <stddef.h>
    617 #ifdef HAVE_STDIO_H
    618 # include <stdio.h>
    619 #endif
    620 #ifdef HAVE_STDLIB_H
    621 # include <stdlib.h>
    622 #endif
    623 #ifdef HAVE_STRING_H
    624 # include <string.h>
    625 #endif
    626 #ifdef HAVE_INTTYPES_H
    627 # include <inttypes.h>
    628 #endif
    629 #ifdef HAVE_STDINT_H
    630 # include <stdint.h>
    631 #endif
    632 #ifdef HAVE_STRINGS_H
    633 # include <strings.h>
    634 #endif
    635 #ifdef HAVE_SYS_TYPES_H
    636 # include <sys/types.h>
    637 #endif
    638 #ifdef HAVE_SYS_STAT_H
    639 # include <sys/stat.h>
    640 #endif
    641 #ifdef HAVE_UNISTD_H
    642 # include <unistd.h>
    643 #endif"
    644 
    645 ac_header_c_list=
    646 enable_year2038=no
    647 ac_subst_vars='am__EXEEXT_FALSE
    648 am__EXEEXT_TRUE
    649 LTLIBOBJS
    650 LIBOBJS
    651 appdefaultdir
    652 APPDEFS_LIBS
    653 APPDEFS_CFLAGS
    654 XLOAD_LIBS
    655 XLOAD_CFLAGS
    656 USE_GETTEXT_FALSE
    657 USE_GETTEXT_TRUE
    658 LOCALEDIR
    659 MAN_SUBSTS
    660 XORG_MAN_PAGE
    661 ADMIN_MAN_DIR
    662 DRIVER_MAN_DIR
    663 MISC_MAN_DIR
    664 FILE_MAN_DIR
    665 LIB_MAN_DIR
    666 APP_MAN_DIR
    667 ADMIN_MAN_SUFFIX
    668 DRIVER_MAN_SUFFIX
    669 MISC_MAN_SUFFIX
    670 FILE_MAN_SUFFIX
    671 LIB_MAN_SUFFIX
    672 APP_MAN_SUFFIX
    673 SED
    674 host_os
    675 host_vendor
    676 host_cpu
    677 host
    678 build_os
    679 build_vendor
    680 build_cpu
    681 build
    682 INSTALL_CMD
    683 PKG_CONFIG_LIBDIR
    684 PKG_CONFIG_PATH
    685 PKG_CONFIG
    686 CHANGELOG_CMD
    687 STRICT_CFLAGS
    688 CWARNFLAGS
    689 BASE_CFLAGS
    690 AM_BACKSLASH
    691 AM_DEFAULT_VERBOSITY
    692 AM_DEFAULT_V
    693 AM_V
    694 CSCOPE
    695 ETAGS
    696 CTAGS
    697 am__fastdepCC_FALSE
    698 am__fastdepCC_TRUE
    699 CCDEPMODE
    700 am__nodep
    701 AMDEPBACKSLASH
    702 AMDEP_FALSE
    703 AMDEP_TRUE
    704 am__include
    705 DEPDIR
    706 am__untar
    707 am__tar
    708 AMTAR
    709 am__leading_dot
    710 SET_MAKE
    711 AWK
    712 mkdir_p
    713 MKDIR_P
    714 INSTALL_STRIP_PROGRAM
    715 STRIP
    716 install_sh
    717 MAKEINFO
    718 AUTOHEADER
    719 AUTOMAKE
    720 AUTOCONF
    721 ACLOCAL
    722 VERSION
    723 PACKAGE
    724 CYGPATH_W
    725 am__isrc
    726 INSTALL_DATA
    727 INSTALL_SCRIPT
    728 INSTALL_PROGRAM
    729 OBJEXT
    730 EXEEXT
    731 ac_ct_CC
    732 CPPFLAGS
    733 LDFLAGS
    734 CFLAGS
    735 CC
    736 target_alias
    737 host_alias
    738 build_alias
    739 LIBS
    740 ECHO_T
    741 ECHO_N
    742 ECHO_C
    743 DEFS
    744 mandir
    745 localedir
    746 libdir
    747 psdir
    748 pdfdir
    749 dvidir
    750 htmldir
    751 infodir
    752 docdir
    753 oldincludedir
    754 includedir
    755 runstatedir
    756 localstatedir
    757 sharedstatedir
    758 sysconfdir
    759 datadir
    760 datarootdir
    761 libexecdir
    762 sbindir
    763 bindir
    764 program_transform_name
    765 prefix
    766 exec_prefix
    767 PACKAGE_URL
    768 PACKAGE_BUGREPORT
    769 PACKAGE_STRING
    770 PACKAGE_VERSION
    771 PACKAGE_TARNAME
    772 PACKAGE_NAME
    773 PATH_SEPARATOR
    774 SHELL
    775 am__quote'
    776 ac_subst_files=''
    777 ac_user_opts='
    778 enable_option_checking
    779 enable_dependency_tracking
    780 enable_silent_rules
    781 enable_selective_werror
    782 enable_strict_compilation
    783 enable_largefile
    784 with_localedir
    785 with_appdefaultdir
    786 enable_year2038
    787 '
    788       ac_precious_vars='build_alias
    789 host_alias
    790 target_alias
    791 CC
    792 CFLAGS
    793 LDFLAGS
    794 LIBS
    795 CPPFLAGS
    796 PKG_CONFIG
    797 PKG_CONFIG_PATH
    798 PKG_CONFIG_LIBDIR
    799 XLOAD_CFLAGS
    800 XLOAD_LIBS
    801 APPDEFS_CFLAGS
    802 APPDEFS_LIBS'
    803 
    804 
    805 # Initialize some variables set by options.
    806 ac_init_help=
    807 ac_init_version=false
    808 ac_unrecognized_opts=
    809 ac_unrecognized_sep=
    810 # The variables have the same names as the options, with
    811 # dashes changed to underlines.
    812 cache_file=/dev/null
    813 exec_prefix=NONE
    814 no_create=
    815 no_recursion=
    816 prefix=NONE
    817 program_prefix=NONE
    818 program_suffix=NONE
    819 program_transform_name=s,x,x,
    820 silent=
    821 site=
    822 srcdir=
    823 verbose=
    824 x_includes=NONE
    825 x_libraries=NONE
    826 
    827 # Installation directory options.
    828 # These are left unexpanded so users can "make install exec_prefix=/foo"
    829 # and all the variables that are supposed to be based on exec_prefix
    830 # by default will actually change.
    831 # Use braces instead of parens because sh, perl, etc. also accept them.
    832 # (The list follows the same order as the GNU Coding Standards.)
    833 bindir='${exec_prefix}/bin'
    834 sbindir='${exec_prefix}/sbin'
    835 libexecdir='${exec_prefix}/libexec'
    836 datarootdir='${prefix}/share'
    837 datadir='${datarootdir}'
    838 sysconfdir='${prefix}/etc'
    839 sharedstatedir='${prefix}/com'
    840 localstatedir='${prefix}/var'
    841 runstatedir='${localstatedir}/run'
    842 includedir='${prefix}/include'
    843 oldincludedir='/usr/include'
    844 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    845 infodir='${datarootdir}/info'
    846 htmldir='${docdir}'
    847 dvidir='${docdir}'
    848 pdfdir='${docdir}'
    849 psdir='${docdir}'
    850 libdir='${exec_prefix}/lib'
    851 localedir='${datarootdir}/locale'
    852 mandir='${datarootdir}/man'
    853 
    854 ac_prev=
    855 ac_dashdash=
    856 for ac_option
    857 do
    858   # If the previous option needs an argument, assign it.
    859   if test -n "$ac_prev"; then
    860     eval $ac_prev=\$ac_option
    861     ac_prev=
    862     continue
    863   fi
    864 
    865   case $ac_option in
    866   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    867   *=)   ac_optarg= ;;
    868   *)    ac_optarg=yes ;;
    869   esac
    870 
    871   case $ac_dashdash$ac_option in
    872   --)
    873     ac_dashdash=yes ;;
    874 
    875   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    876     ac_prev=bindir ;;
    877   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    878     bindir=$ac_optarg ;;
    879 
    880   -build | --build | --buil | --bui | --bu)
    881     ac_prev=build_alias ;;
    882   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    883     build_alias=$ac_optarg ;;
    884 
    885   -cache-file | --cache-file | --cache-fil | --cache-fi \
    886   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    887     ac_prev=cache_file ;;
    888   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    889   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    890     cache_file=$ac_optarg ;;
    891 
    892   --config-cache | -C)
    893     cache_file=config.cache ;;
    894 
    895   -datadir | --datadir | --datadi | --datad)
    896     ac_prev=datadir ;;
    897   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    898     datadir=$ac_optarg ;;
    899 
    900   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    901   | --dataroo | --dataro | --datar)
    902     ac_prev=datarootdir ;;
    903   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    904   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    905     datarootdir=$ac_optarg ;;
    906 
    907   -disable-* | --disable-*)
    908     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    909     # Reject names that are not valid shell variable names.
    910     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    911       as_fn_error $? "invalid feature name: '$ac_useropt'"
    912     ac_useropt_orig=$ac_useropt
    913     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    914     case $ac_user_opts in
    915       *"
    916 "enable_$ac_useropt"
    917 "*) ;;
    918       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    919 	 ac_unrecognized_sep=', ';;
    920     esac
    921     eval enable_$ac_useropt=no ;;
    922 
    923   -docdir | --docdir | --docdi | --doc | --do)
    924     ac_prev=docdir ;;
    925   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    926     docdir=$ac_optarg ;;
    927 
    928   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    929     ac_prev=dvidir ;;
    930   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    931     dvidir=$ac_optarg ;;
    932 
    933   -enable-* | --enable-*)
    934     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    935     # Reject names that are not valid shell variable names.
    936     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    937       as_fn_error $? "invalid feature name: '$ac_useropt'"
    938     ac_useropt_orig=$ac_useropt
    939     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    940     case $ac_user_opts in
    941       *"
    942 "enable_$ac_useropt"
    943 "*) ;;
    944       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    945 	 ac_unrecognized_sep=', ';;
    946     esac
    947     eval enable_$ac_useropt=\$ac_optarg ;;
    948 
    949   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    950   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    951   | --exec | --exe | --ex)
    952     ac_prev=exec_prefix ;;
    953   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    954   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    955   | --exec=* | --exe=* | --ex=*)
    956     exec_prefix=$ac_optarg ;;
    957 
    958   -gas | --gas | --ga | --g)
    959     # Obsolete; use --with-gas.
    960     with_gas=yes ;;
    961 
    962   -help | --help | --hel | --he | -h)
    963     ac_init_help=long ;;
    964   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    965     ac_init_help=recursive ;;
    966   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    967     ac_init_help=short ;;
    968 
    969   -host | --host | --hos | --ho)
    970     ac_prev=host_alias ;;
    971   -host=* | --host=* | --hos=* | --ho=*)
    972     host_alias=$ac_optarg ;;
    973 
    974   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    975     ac_prev=htmldir ;;
    976   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    977   | --ht=*)
    978     htmldir=$ac_optarg ;;
    979 
    980   -includedir | --includedir | --includedi | --included | --include \
    981   | --includ | --inclu | --incl | --inc)
    982     ac_prev=includedir ;;
    983   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    984   | --includ=* | --inclu=* | --incl=* | --inc=*)
    985     includedir=$ac_optarg ;;
    986 
    987   -infodir | --infodir | --infodi | --infod | --info | --inf)
    988     ac_prev=infodir ;;
    989   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    990     infodir=$ac_optarg ;;
    991 
    992   -libdir | --libdir | --libdi | --libd)
    993     ac_prev=libdir ;;
    994   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    995     libdir=$ac_optarg ;;
    996 
    997   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    998   | --libexe | --libex | --libe)
    999     ac_prev=libexecdir ;;
   1000   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1001   | --libexe=* | --libex=* | --libe=*)
   1002     libexecdir=$ac_optarg ;;
   1003 
   1004   -localedir | --localedir | --localedi | --localed | --locale)
   1005     ac_prev=localedir ;;
   1006   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1007     localedir=$ac_optarg ;;
   1008 
   1009   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1010   | --localstate | --localstat | --localsta | --localst | --locals)
   1011     ac_prev=localstatedir ;;
   1012   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1013   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1014     localstatedir=$ac_optarg ;;
   1015 
   1016   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1017     ac_prev=mandir ;;
   1018   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1019     mandir=$ac_optarg ;;
   1020 
   1021   -nfp | --nfp | --nf)
   1022     # Obsolete; use --without-fp.
   1023     with_fp=no ;;
   1024 
   1025   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1026   | --no-cr | --no-c | -n)
   1027     no_create=yes ;;
   1028 
   1029   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1030   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1031     no_recursion=yes ;;
   1032 
   1033   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1034   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1035   | --oldin | --oldi | --old | --ol | --o)
   1036     ac_prev=oldincludedir ;;
   1037   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1038   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1039   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1040     oldincludedir=$ac_optarg ;;
   1041 
   1042   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1043     ac_prev=prefix ;;
   1044   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1045     prefix=$ac_optarg ;;
   1046 
   1047   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1048   | --program-pre | --program-pr | --program-p)
   1049     ac_prev=program_prefix ;;
   1050   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1051   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1052     program_prefix=$ac_optarg ;;
   1053 
   1054   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1055   | --program-suf | --program-su | --program-s)
   1056     ac_prev=program_suffix ;;
   1057   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1058   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1059     program_suffix=$ac_optarg ;;
   1060 
   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     ac_prev=program_transform_name ;;
   1069   -program-transform-name=* | --program-transform-name=* \
   1070   | --program-transform-nam=* | --program-transform-na=* \
   1071   | --program-transform-n=* | --program-transform-=* \
   1072   | --program-transform=* | --program-transfor=* \
   1073   | --program-transfo=* | --program-transf=* \
   1074   | --program-trans=* | --program-tran=* \
   1075   | --progr-tra=* | --program-tr=* | --program-t=*)
   1076     program_transform_name=$ac_optarg ;;
   1077 
   1078   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1079     ac_prev=pdfdir ;;
   1080   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1081     pdfdir=$ac_optarg ;;
   1082 
   1083   -psdir | --psdir | --psdi | --psd | --ps)
   1084     ac_prev=psdir ;;
   1085   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1086     psdir=$ac_optarg ;;
   1087 
   1088   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1089   | -silent | --silent | --silen | --sile | --sil)
   1090     silent=yes ;;
   1091 
   1092   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1093   | --runstate | --runstat | --runsta | --runst | --runs \
   1094   | --run | --ru | --r)
   1095     ac_prev=runstatedir ;;
   1096   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1097   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1098   | --run=* | --ru=* | --r=*)
   1099     runstatedir=$ac_optarg ;;
   1100 
   1101   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1102     ac_prev=sbindir ;;
   1103   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1104   | --sbi=* | --sb=*)
   1105     sbindir=$ac_optarg ;;
   1106 
   1107   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1108   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1109   | --sharedst | --shareds | --shared | --share | --shar \
   1110   | --sha | --sh)
   1111     ac_prev=sharedstatedir ;;
   1112   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1113   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1114   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1115   | --sha=* | --sh=*)
   1116     sharedstatedir=$ac_optarg ;;
   1117 
   1118   -site | --site | --sit)
   1119     ac_prev=site ;;
   1120   -site=* | --site=* | --sit=*)
   1121     site=$ac_optarg ;;
   1122 
   1123   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1124     ac_prev=srcdir ;;
   1125   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1126     srcdir=$ac_optarg ;;
   1127 
   1128   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1129   | --syscon | --sysco | --sysc | --sys | --sy)
   1130     ac_prev=sysconfdir ;;
   1131   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1132   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1133     sysconfdir=$ac_optarg ;;
   1134 
   1135   -target | --target | --targe | --targ | --tar | --ta | --t)
   1136     ac_prev=target_alias ;;
   1137   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1138     target_alias=$ac_optarg ;;
   1139 
   1140   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1141     verbose=yes ;;
   1142 
   1143   -version | --version | --versio | --versi | --vers | -V)
   1144     ac_init_version=: ;;
   1145 
   1146   -with-* | --with-*)
   1147     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1148     # Reject names that are not valid shell variable names.
   1149     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1150       as_fn_error $? "invalid package name: '$ac_useropt'"
   1151     ac_useropt_orig=$ac_useropt
   1152     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1153     case $ac_user_opts in
   1154       *"
   1155 "with_$ac_useropt"
   1156 "*) ;;
   1157       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1158 	 ac_unrecognized_sep=', ';;
   1159     esac
   1160     eval with_$ac_useropt=\$ac_optarg ;;
   1161 
   1162   -without-* | --without-*)
   1163     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1164     # Reject names that are not valid shell variable names.
   1165     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1166       as_fn_error $? "invalid package name: '$ac_useropt'"
   1167     ac_useropt_orig=$ac_useropt
   1168     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1169     case $ac_user_opts in
   1170       *"
   1171 "with_$ac_useropt"
   1172 "*) ;;
   1173       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1174 	 ac_unrecognized_sep=', ';;
   1175     esac
   1176     eval with_$ac_useropt=no ;;
   1177 
   1178   --x)
   1179     # Obsolete; use --with-x.
   1180     with_x=yes ;;
   1181 
   1182   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1183   | --x-incl | --x-inc | --x-in | --x-i)
   1184     ac_prev=x_includes ;;
   1185   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1186   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1187     x_includes=$ac_optarg ;;
   1188 
   1189   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1190   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1191     ac_prev=x_libraries ;;
   1192   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1193   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1194     x_libraries=$ac_optarg ;;
   1195 
   1196   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1197 Try '$0 --help' for more information"
   1198     ;;
   1199 
   1200   *=*)
   1201     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1202     # Reject names that are not valid shell variable names.
   1203     case $ac_envvar in #(
   1204       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1205       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1206     esac
   1207     eval $ac_envvar=\$ac_optarg
   1208     export $ac_envvar ;;
   1209 
   1210   *)
   1211     # FIXME: should be removed in autoconf 3.0.
   1212     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1213     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1214       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1215     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1216     ;;
   1217 
   1218   esac
   1219 done
   1220 
   1221 if test -n "$ac_prev"; then
   1222   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1223   as_fn_error $? "missing argument to $ac_option"
   1224 fi
   1225 
   1226 if test -n "$ac_unrecognized_opts"; then
   1227   case $enable_option_checking in
   1228     no) ;;
   1229     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1230     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1231   esac
   1232 fi
   1233 
   1234 # Check all directory arguments for consistency.
   1235 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1236 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1237 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1238 		libdir localedir mandir runstatedir
   1239 do
   1240   eval ac_val=\$$ac_var
   1241   # Remove trailing slashes.
   1242   case $ac_val in
   1243     */ )
   1244       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1245       eval $ac_var=\$ac_val;;
   1246   esac
   1247   # Be sure to have absolute directory names.
   1248   case $ac_val in
   1249     [\\/$]* | ?:[\\/]* )  continue;;
   1250     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1251   esac
   1252   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1253 done
   1254 
   1255 # There might be people who depend on the old broken behavior: '$host'
   1256 # used to hold the argument of --host etc.
   1257 # FIXME: To remove some day.
   1258 build=$build_alias
   1259 host=$host_alias
   1260 target=$target_alias
   1261 
   1262 # FIXME: To remove some day.
   1263 if test "x$host_alias" != x; then
   1264   if test "x$build_alias" = x; then
   1265     cross_compiling=maybe
   1266   elif test "x$build_alias" != "x$host_alias"; then
   1267     cross_compiling=yes
   1268   fi
   1269 fi
   1270 
   1271 ac_tool_prefix=
   1272 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1273 
   1274 test "$silent" = yes && exec 6>/dev/null
   1275 
   1276 
   1277 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1278 ac_ls_di=`ls -di .` &&
   1279 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1280   as_fn_error $? "working directory cannot be determined"
   1281 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1282   as_fn_error $? "pwd does not report name of working directory"
   1283 
   1284 
   1285 # Find the source files, if location was not specified.
   1286 if test -z "$srcdir"; then
   1287   ac_srcdir_defaulted=yes
   1288   # Try the directory containing this script, then the parent directory.
   1289   ac_confdir=`$as_dirname -- "$as_myself" ||
   1290 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1291 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1292 	 X"$as_myself" : 'X\(//\)$' \| \
   1293 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1294 printf "%s\n" X"$as_myself" |
   1295     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1296 	    s//\1/
   1297 	    q
   1298 	  }
   1299 	  /^X\(\/\/\)[^/].*/{
   1300 	    s//\1/
   1301 	    q
   1302 	  }
   1303 	  /^X\(\/\/\)$/{
   1304 	    s//\1/
   1305 	    q
   1306 	  }
   1307 	  /^X\(\/\).*/{
   1308 	    s//\1/
   1309 	    q
   1310 	  }
   1311 	  s/.*/./; q'`
   1312   srcdir=$ac_confdir
   1313   if test ! -r "$srcdir/$ac_unique_file"; then
   1314     srcdir=..
   1315   fi
   1316 else
   1317   ac_srcdir_defaulted=no
   1318 fi
   1319 if test ! -r "$srcdir/$ac_unique_file"; then
   1320   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1321   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1322 fi
   1323 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1324 ac_abs_confdir=`(
   1325 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1326 	pwd)`
   1327 # When building in place, set srcdir=.
   1328 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1329   srcdir=.
   1330 fi
   1331 # Remove unnecessary trailing slashes from srcdir.
   1332 # Double slashes in file names in object file debugging info
   1333 # mess up M-x gdb in Emacs.
   1334 case $srcdir in
   1335 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1336 esac
   1337 for ac_var in $ac_precious_vars; do
   1338   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1339   eval ac_env_${ac_var}_value=\$${ac_var}
   1340   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1341   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1342 done
   1343 
   1344 #
   1345 # Report the --help message.
   1346 #
   1347 if test "$ac_init_help" = "long"; then
   1348   # Omit some internal or obsolete options to make the list less imposing.
   1349   # This message is too long to be a string in the A/UX 3.1 sh.
   1350   cat <<_ACEOF
   1351 'configure' configures xload 1.2.0 to adapt to many kinds of systems.
   1352 
   1353 Usage: $0 [OPTION]... [VAR=VALUE]...
   1354 
   1355 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1356 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1357 
   1358 Defaults for the options are specified in brackets.
   1359 
   1360 Configuration:
   1361   -h, --help              display this help and exit
   1362       --help=short        display options specific to this package
   1363       --help=recursive    display the short help of all the included packages
   1364   -V, --version           display version information and exit
   1365   -q, --quiet, --silent   do not print 'checking ...' messages
   1366       --cache-file=FILE   cache test results in FILE [disabled]
   1367   -C, --config-cache      alias for '--cache-file=config.cache'
   1368   -n, --no-create         do not create output files
   1369       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1370 
   1371 Installation directories:
   1372   --prefix=PREFIX         install architecture-independent files in PREFIX
   1373                           [$ac_default_prefix]
   1374   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1375                           [PREFIX]
   1376 
   1377 By default, 'make install' will install all the files in
   1378 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1379 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1380 for instance '--prefix=\$HOME'.
   1381 
   1382 For better control, use the options below.
   1383 
   1384 Fine tuning of the installation directories:
   1385   --bindir=DIR            user executables [EPREFIX/bin]
   1386   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1387   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1388   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1389   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1390   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1391   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1392   --libdir=DIR            object code libraries [EPREFIX/lib]
   1393   --includedir=DIR        C header files [PREFIX/include]
   1394   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1395   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1396   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1397   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1398   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1399   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1400   --docdir=DIR            documentation root [DATAROOTDIR/doc/xload]
   1401   --htmldir=DIR           html documentation [DOCDIR]
   1402   --dvidir=DIR            dvi documentation [DOCDIR]
   1403   --pdfdir=DIR            pdf documentation [DOCDIR]
   1404   --psdir=DIR             ps documentation [DOCDIR]
   1405 _ACEOF
   1406 
   1407   cat <<\_ACEOF
   1408 
   1409 Program names:
   1410   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1411   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1412   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1413 
   1414 System types:
   1415   --build=BUILD     configure for building on BUILD [guessed]
   1416   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1417 _ACEOF
   1418 fi
   1419 
   1420 if test -n "$ac_init_help"; then
   1421   case $ac_init_help in
   1422      short | recursive ) echo "Configuration of xload 1.2.0:";;
   1423    esac
   1424   cat <<\_ACEOF
   1425 
   1426 Optional Features:
   1427   --disable-option-checking  ignore unrecognized --enable/--with options
   1428   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1429   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1430   --enable-dependency-tracking
   1431                           do not reject slow dependency extractors
   1432   --disable-dependency-tracking
   1433                           speeds up one-time build
   1434   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1435   --disable-silent-rules  verbose build output (undo: "make V=0")
   1436   --disable-selective-werror
   1437                           Turn off selective compiler errors. (default:
   1438                           enabled)
   1439   --enable-strict-compilation
   1440                           Enable all warnings from compiler and make them
   1441                           errors (default: disabled)
   1442   --disable-largefile     omit support for large files
   1443   --enable-year2038       support timestamps after 2038
   1444 
   1445 Optional Packages:
   1446   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1447   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1448   --with-localedir=<path> Path to install message files in (default:
   1449                           datadir/locale)
   1450   --with-appdefaultdir=<pathname>
   1451                           specify directory for app-defaults files (default is
   1452                           autodetected)
   1453 
   1454 Some influential environment variables:
   1455   CC          C compiler command
   1456   CFLAGS      C compiler flags
   1457   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1458               nonstandard directory <lib dir>
   1459   LIBS        libraries to pass to the linker, e.g. -l<library>
   1460   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1461               you have headers in a nonstandard directory <include dir>
   1462   PKG_CONFIG  path to pkg-config utility
   1463   PKG_CONFIG_PATH
   1464               directories to add to pkg-config's search path
   1465   PKG_CONFIG_LIBDIR
   1466               path overriding pkg-config's built-in search path
   1467   XLOAD_CFLAGS
   1468               C compiler flags for XLOAD, overriding pkg-config
   1469   XLOAD_LIBS  linker flags for XLOAD, overriding pkg-config
   1470   APPDEFS_CFLAGS
   1471               C compiler flags for APPDEFS, overriding pkg-config
   1472   APPDEFS_LIBS
   1473               linker flags for APPDEFS, overriding pkg-config
   1474 
   1475 Use these variables to override the choices made by 'configure' or to help
   1476 it to find libraries and programs with nonstandard names/locations.
   1477 
   1478 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xload/-/issues>.
   1479 _ACEOF
   1480 ac_status=$?
   1481 fi
   1482 
   1483 if test "$ac_init_help" = "recursive"; then
   1484   # If there are subdirs, report their specific --help.
   1485   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1486     test -d "$ac_dir" ||
   1487       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1488       continue
   1489     ac_builddir=.
   1490 
   1491 case "$ac_dir" in
   1492 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1493 *)
   1494   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1495   # A ".." for each directory in $ac_dir_suffix.
   1496   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1497   case $ac_top_builddir_sub in
   1498   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1499   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1500   esac ;;
   1501 esac
   1502 ac_abs_top_builddir=$ac_pwd
   1503 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1504 # for backward compatibility:
   1505 ac_top_builddir=$ac_top_build_prefix
   1506 
   1507 case $srcdir in
   1508   .)  # We are building in place.
   1509     ac_srcdir=.
   1510     ac_top_srcdir=$ac_top_builddir_sub
   1511     ac_abs_top_srcdir=$ac_pwd ;;
   1512   [\\/]* | ?:[\\/]* )  # Absolute name.
   1513     ac_srcdir=$srcdir$ac_dir_suffix;
   1514     ac_top_srcdir=$srcdir
   1515     ac_abs_top_srcdir=$srcdir ;;
   1516   *) # Relative name.
   1517     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1518     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1519     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1520 esac
   1521 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1522 
   1523     cd "$ac_dir" || { ac_status=$?; continue; }
   1524     # Check for configure.gnu first; this name is used for a wrapper for
   1525     # Metaconfig's "Configure" on case-insensitive file systems.
   1526     if test -f "$ac_srcdir/configure.gnu"; then
   1527       echo &&
   1528       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1529     elif test -f "$ac_srcdir/configure"; then
   1530       echo &&
   1531       $SHELL "$ac_srcdir/configure" --help=recursive
   1532     else
   1533       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1534     fi || ac_status=$?
   1535     cd "$ac_pwd" || { ac_status=$?; break; }
   1536   done
   1537 fi
   1538 
   1539 test -n "$ac_init_help" && exit $ac_status
   1540 if $ac_init_version; then
   1541   cat <<\_ACEOF
   1542 xload configure 1.2.0
   1543 generated by GNU Autoconf 2.72
   1544 
   1545 Copyright (C) 2023 Free Software Foundation, Inc.
   1546 This configure script is free software; the Free Software Foundation
   1547 gives unlimited permission to copy, distribute and modify it.
   1548 _ACEOF
   1549   exit
   1550 fi
   1551 
   1552 ## ------------------------ ##
   1553 ## Autoconf initialization. ##
   1554 ## ------------------------ ##
   1555 
   1556 # ac_fn_c_try_compile LINENO
   1557 # --------------------------
   1558 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1559 ac_fn_c_try_compile ()
   1560 {
   1561   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1562   rm -f conftest.$ac_objext conftest.beam
   1563   if { { ac_try="$ac_compile"
   1564 case "(($ac_try" in
   1565   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1566   *) ac_try_echo=$ac_try;;
   1567 esac
   1568 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1569 printf "%s\n" "$ac_try_echo"; } >&5
   1570   (eval "$ac_compile") 2>conftest.err
   1571   ac_status=$?
   1572   if test -s conftest.err; then
   1573     grep -v '^ *+' conftest.err >conftest.er1
   1574     cat conftest.er1 >&5
   1575     mv -f conftest.er1 conftest.err
   1576   fi
   1577   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1578   test $ac_status = 0; } && {
   1579 	 test -z "$ac_c_werror_flag" ||
   1580 	 test ! -s conftest.err
   1581        } && test -s conftest.$ac_objext
   1582 then :
   1583   ac_retval=0
   1584 else case e in #(
   1585   e) printf "%s\n" "$as_me: failed program was:" >&5
   1586 sed 's/^/| /' conftest.$ac_ext >&5
   1587 
   1588 	ac_retval=1 ;;
   1589 esac
   1590 fi
   1591   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1592   as_fn_set_status $ac_retval
   1593 
   1594 } # ac_fn_c_try_compile
   1595 
   1596 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1597 # -------------------------------------------------------
   1598 # Tests whether HEADER exists and can be compiled using the include files in
   1599 # INCLUDES, setting the cache variable VAR accordingly.
   1600 ac_fn_c_check_header_compile ()
   1601 {
   1602   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1603   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1604 printf %s "checking for $2... " >&6; }
   1605 if eval test \${$3+y}
   1606 then :
   1607   printf %s "(cached) " >&6
   1608 else case e in #(
   1609   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1610 /* end confdefs.h.  */
   1611 $4
   1612 #include <$2>
   1613 _ACEOF
   1614 if ac_fn_c_try_compile "$LINENO"
   1615 then :
   1616   eval "$3=yes"
   1617 else case e in #(
   1618   e) eval "$3=no" ;;
   1619 esac
   1620 fi
   1621 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1622 esac
   1623 fi
   1624 eval ac_res=\$$3
   1625 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1626 printf "%s\n" "$ac_res" >&6; }
   1627   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1628 
   1629 } # ac_fn_c_check_header_compile
   1630 
   1631 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1632 # ------------------------------------------------------------------
   1633 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1634 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1635 ac_fn_check_decl ()
   1636 {
   1637   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1638   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1639   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1640 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1641 if eval test \${$3+y}
   1642 then :
   1643   printf %s "(cached) " >&6
   1644 else case e in #(
   1645   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1646   eval ac_save_FLAGS=\$$6
   1647   as_fn_append $6 " $5"
   1648   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1649 /* end confdefs.h.  */
   1650 $4
   1651 int
   1652 main (void)
   1653 {
   1654 #ifndef $as_decl_name
   1655 #ifdef __cplusplus
   1656   (void) $as_decl_use;
   1657 #else
   1658   (void) $as_decl_name;
   1659 #endif
   1660 #endif
   1661 
   1662   ;
   1663   return 0;
   1664 }
   1665 _ACEOF
   1666 if ac_fn_c_try_compile "$LINENO"
   1667 then :
   1668   eval "$3=yes"
   1669 else case e in #(
   1670   e) eval "$3=no" ;;
   1671 esac
   1672 fi
   1673 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1674   eval $6=\$ac_save_FLAGS
   1675  ;;
   1676 esac
   1677 fi
   1678 eval ac_res=\$$3
   1679 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1680 printf "%s\n" "$ac_res" >&6; }
   1681   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1682 
   1683 } # ac_fn_check_decl
   1684 
   1685 # ac_fn_c_try_link LINENO
   1686 # -----------------------
   1687 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1688 ac_fn_c_try_link ()
   1689 {
   1690   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1691   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1692   if { { ac_try="$ac_link"
   1693 case "(($ac_try" in
   1694   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1695   *) ac_try_echo=$ac_try;;
   1696 esac
   1697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1698 printf "%s\n" "$ac_try_echo"; } >&5
   1699   (eval "$ac_link") 2>conftest.err
   1700   ac_status=$?
   1701   if test -s conftest.err; then
   1702     grep -v '^ *+' conftest.err >conftest.er1
   1703     cat conftest.er1 >&5
   1704     mv -f conftest.er1 conftest.err
   1705   fi
   1706   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1707   test $ac_status = 0; } && {
   1708 	 test -z "$ac_c_werror_flag" ||
   1709 	 test ! -s conftest.err
   1710        } && test -s conftest$ac_exeext && {
   1711 	 test "$cross_compiling" = yes ||
   1712 	 test -x conftest$ac_exeext
   1713        }
   1714 then :
   1715   ac_retval=0
   1716 else case e in #(
   1717   e) printf "%s\n" "$as_me: failed program was:" >&5
   1718 sed 's/^/| /' conftest.$ac_ext >&5
   1719 
   1720 	ac_retval=1 ;;
   1721 esac
   1722 fi
   1723   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1724   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1725   # interfere with the next link command; also delete a directory that is
   1726   # left behind by Apple's compiler.  We do this before executing the actions.
   1727   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1728   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1729   as_fn_set_status $ac_retval
   1730 
   1731 } # ac_fn_c_try_link
   1732 
   1733 # ac_fn_c_check_func LINENO FUNC VAR
   1734 # ----------------------------------
   1735 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1736 ac_fn_c_check_func ()
   1737 {
   1738   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1739   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1740 printf %s "checking for $2... " >&6; }
   1741 if eval test \${$3+y}
   1742 then :
   1743   printf %s "(cached) " >&6
   1744 else case e in #(
   1745   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1746 /* end confdefs.h.  */
   1747 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1748    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1749 #define $2 innocuous_$2
   1750 
   1751 /* System header to define __stub macros and hopefully few prototypes,
   1752    which can conflict with char $2 (void); below.  */
   1753 
   1754 #include <limits.h>
   1755 #undef $2
   1756 
   1757 /* Override any GCC internal prototype to avoid an error.
   1758    Use char because int might match the return type of a GCC
   1759    builtin and then its argument prototype would still apply.  */
   1760 #ifdef __cplusplus
   1761 extern "C"
   1762 #endif
   1763 char $2 (void);
   1764 /* The GNU C library defines this for functions which it implements
   1765     to always fail with ENOSYS.  Some functions are actually named
   1766     something starting with __ and the normal name is an alias.  */
   1767 #if defined __stub_$2 || defined __stub___$2
   1768 choke me
   1769 #endif
   1770 
   1771 int
   1772 main (void)
   1773 {
   1774 return $2 ();
   1775   ;
   1776   return 0;
   1777 }
   1778 _ACEOF
   1779 if ac_fn_c_try_link "$LINENO"
   1780 then :
   1781   eval "$3=yes"
   1782 else case e in #(
   1783   e) eval "$3=no" ;;
   1784 esac
   1785 fi
   1786 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1787     conftest$ac_exeext conftest.$ac_ext ;;
   1788 esac
   1789 fi
   1790 eval ac_res=\$$3
   1791 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1792 printf "%s\n" "$ac_res" >&6; }
   1793   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1794 
   1795 } # ac_fn_c_check_func
   1796 ac_configure_args_raw=
   1797 for ac_arg
   1798 do
   1799   case $ac_arg in
   1800   *\'*)
   1801     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1802   esac
   1803   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1804 done
   1805 
   1806 case $ac_configure_args_raw in
   1807   *$as_nl*)
   1808     ac_safe_unquote= ;;
   1809   *)
   1810     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1811     ac_unsafe_a="$ac_unsafe_z#~"
   1812     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1813     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1814 esac
   1815 
   1816 cat >config.log <<_ACEOF
   1817 This file contains any messages produced by compilers while
   1818 running configure, to aid debugging if configure makes a mistake.
   1819 
   1820 It was created by xload $as_me 1.2.0, which was
   1821 generated by GNU Autoconf 2.72.  Invocation command line was
   1822 
   1823   $ $0$ac_configure_args_raw
   1824 
   1825 _ACEOF
   1826 exec 5>>config.log
   1827 {
   1828 cat <<_ASUNAME
   1829 ## --------- ##
   1830 ## Platform. ##
   1831 ## --------- ##
   1832 
   1833 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1834 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1835 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1836 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1837 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1838 
   1839 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1840 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1841 
   1842 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1843 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1844 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1845 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1846 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1847 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1848 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1849 
   1850 _ASUNAME
   1851 
   1852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1853 for as_dir in $PATH
   1854 do
   1855   IFS=$as_save_IFS
   1856   case $as_dir in #(((
   1857     '') as_dir=./ ;;
   1858     */) ;;
   1859     *) as_dir=$as_dir/ ;;
   1860   esac
   1861     printf "%s\n" "PATH: $as_dir"
   1862   done
   1863 IFS=$as_save_IFS
   1864 
   1865 } >&5
   1866 
   1867 cat >&5 <<_ACEOF
   1868 
   1869 
   1870 ## ----------- ##
   1871 ## Core tests. ##
   1872 ## ----------- ##
   1873 
   1874 _ACEOF
   1875 
   1876 
   1877 # Keep a trace of the command line.
   1878 # Strip out --no-create and --no-recursion so they do not pile up.
   1879 # Strip out --silent because we don't want to record it for future runs.
   1880 # Also quote any args containing shell meta-characters.
   1881 # Make two passes to allow for proper duplicate-argument suppression.
   1882 ac_configure_args=
   1883 ac_configure_args0=
   1884 ac_configure_args1=
   1885 ac_must_keep_next=false
   1886 for ac_pass in 1 2
   1887 do
   1888   for ac_arg
   1889   do
   1890     case $ac_arg in
   1891     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1892     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1893     | -silent | --silent | --silen | --sile | --sil)
   1894       continue ;;
   1895     *\'*)
   1896       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1897     esac
   1898     case $ac_pass in
   1899     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1900     2)
   1901       as_fn_append ac_configure_args1 " '$ac_arg'"
   1902       if test $ac_must_keep_next = true; then
   1903 	ac_must_keep_next=false # Got value, back to normal.
   1904       else
   1905 	case $ac_arg in
   1906 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1907 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1908 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1909 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1910 	    case "$ac_configure_args0 " in
   1911 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1912 	    esac
   1913 	    ;;
   1914 	  -* ) ac_must_keep_next=true ;;
   1915 	esac
   1916       fi
   1917       as_fn_append ac_configure_args " '$ac_arg'"
   1918       ;;
   1919     esac
   1920   done
   1921 done
   1922 { ac_configure_args0=; unset ac_configure_args0;}
   1923 { ac_configure_args1=; unset ac_configure_args1;}
   1924 
   1925 # When interrupted or exit'd, cleanup temporary files, and complete
   1926 # config.log.  We remove comments because anyway the quotes in there
   1927 # would cause problems or look ugly.
   1928 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1929 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1930 trap 'exit_status=$?
   1931   # Sanitize IFS.
   1932   IFS=" ""	$as_nl"
   1933   # Save into config.log some information that might help in debugging.
   1934   {
   1935     echo
   1936 
   1937     printf "%s\n" "## ---------------- ##
   1938 ## Cache variables. ##
   1939 ## ---------------- ##"
   1940     echo
   1941     # The following way of writing the cache mishandles newlines in values,
   1942 (
   1943   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1944     eval ac_val=\$$ac_var
   1945     case $ac_val in #(
   1946     *${as_nl}*)
   1947       case $ac_var in #(
   1948       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1949 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1950       esac
   1951       case $ac_var in #(
   1952       _ | IFS | as_nl) ;; #(
   1953       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1954       *) { eval $ac_var=; unset $ac_var;} ;;
   1955       esac ;;
   1956     esac
   1957   done
   1958   (set) 2>&1 |
   1959     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1960     *${as_nl}ac_space=\ *)
   1961       sed -n \
   1962 	"s/'\''/'\''\\\\'\'''\''/g;
   1963 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1964       ;; #(
   1965     *)
   1966       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1967       ;;
   1968     esac |
   1969     sort
   1970 )
   1971     echo
   1972 
   1973     printf "%s\n" "## ----------------- ##
   1974 ## Output variables. ##
   1975 ## ----------------- ##"
   1976     echo
   1977     for ac_var in $ac_subst_vars
   1978     do
   1979       eval ac_val=\$$ac_var
   1980       case $ac_val in
   1981       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1982       esac
   1983       printf "%s\n" "$ac_var='\''$ac_val'\''"
   1984     done | sort
   1985     echo
   1986 
   1987     if test -n "$ac_subst_files"; then
   1988       printf "%s\n" "## ------------------- ##
   1989 ## File substitutions. ##
   1990 ## ------------------- ##"
   1991       echo
   1992       for ac_var in $ac_subst_files
   1993       do
   1994 	eval ac_val=\$$ac_var
   1995 	case $ac_val in
   1996 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1997 	esac
   1998 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   1999       done | sort
   2000       echo
   2001     fi
   2002 
   2003     if test -s confdefs.h; then
   2004       printf "%s\n" "## ----------- ##
   2005 ## confdefs.h. ##
   2006 ## ----------- ##"
   2007       echo
   2008       cat confdefs.h
   2009       echo
   2010     fi
   2011     test "$ac_signal" != 0 &&
   2012       printf "%s\n" "$as_me: caught signal $ac_signal"
   2013     printf "%s\n" "$as_me: exit $exit_status"
   2014   } >&5
   2015   rm -f core *.core core.conftest.* &&
   2016     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2017     exit $exit_status
   2018 ' 0
   2019 for ac_signal in 1 2 13 15; do
   2020   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2021 done
   2022 ac_signal=0
   2023 
   2024 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2025 rm -f -r conftest* confdefs.h
   2026 
   2027 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2028 
   2029 # Predefined preprocessor variables.
   2030 
   2031 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2032 
   2033 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2034 
   2035 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2036 
   2037 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2038 
   2039 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2040 
   2041 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2042 
   2043 
   2044 # Let the site file select an alternate cache file if it wants to.
   2045 # Prefer an explicitly selected file to automatically selected ones.
   2046 if test -n "$CONFIG_SITE"; then
   2047   ac_site_files="$CONFIG_SITE"
   2048 elif test "x$prefix" != xNONE; then
   2049   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2050 else
   2051   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2052 fi
   2053 
   2054 for ac_site_file in $ac_site_files
   2055 do
   2056   case $ac_site_file in #(
   2057   */*) :
   2058      ;; #(
   2059   *) :
   2060     ac_site_file=./$ac_site_file ;;
   2061 esac
   2062   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2063     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2064 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2065     sed 's/^/| /' "$ac_site_file" >&5
   2066     . "$ac_site_file" \
   2067       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2068 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2069 as_fn_error $? "failed to load site script $ac_site_file
   2070 See 'config.log' for more details" "$LINENO" 5; }
   2071   fi
   2072 done
   2073 
   2074 if test -r "$cache_file"; then
   2075   # Some versions of bash will fail to source /dev/null (special files
   2076   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2077   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2078     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2079 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2080     case $cache_file in
   2081       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2082       *)                      . "./$cache_file";;
   2083     esac
   2084   fi
   2085 else
   2086   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2087 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2088   >$cache_file
   2089 fi
   2090 
   2091 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2092 # Test code for whether the C compiler supports C89 (global declarations)
   2093 ac_c_conftest_c89_globals='
   2094 /* Does the compiler advertise C89 conformance?
   2095    Do not test the value of __STDC__, because some compilers set it to 0
   2096    while being otherwise adequately conformant. */
   2097 #if !defined __STDC__
   2098 # error "Compiler does not advertise C89 conformance"
   2099 #endif
   2100 
   2101 #include <stddef.h>
   2102 #include <stdarg.h>
   2103 struct stat;
   2104 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2105 struct buf { int x; };
   2106 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2107 static char *e (char **p, int i)
   2108 {
   2109   return p[i];
   2110 }
   2111 static char *f (char * (*g) (char **, int), char **p, ...)
   2112 {
   2113   char *s;
   2114   va_list v;
   2115   va_start (v,p);
   2116   s = g (p, va_arg (v,int));
   2117   va_end (v);
   2118   return s;
   2119 }
   2120 
   2121 /* C89 style stringification. */
   2122 #define noexpand_stringify(a) #a
   2123 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2124 
   2125 /* C89 style token pasting.  Exercises some of the corner cases that
   2126    e.g. old MSVC gets wrong, but not very hard. */
   2127 #define noexpand_concat(a,b) a##b
   2128 #define expand_concat(a,b) noexpand_concat(a,b)
   2129 extern int vA;
   2130 extern int vbee;
   2131 #define aye A
   2132 #define bee B
   2133 int *pvA = &expand_concat(v,aye);
   2134 int *pvbee = &noexpand_concat(v,bee);
   2135 
   2136 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2137    function prototypes and stuff, but not \xHH hex character constants.
   2138    These do not provoke an error unfortunately, instead are silently treated
   2139    as an "x".  The following induces an error, until -std is added to get
   2140    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2141    array size at least.  It is necessary to write \x00 == 0 to get something
   2142    that is true only with -std.  */
   2143 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2144 
   2145 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2146    inside strings and character constants.  */
   2147 #define FOO(x) '\''x'\''
   2148 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2149 
   2150 int test (int i, double x);
   2151 struct s1 {int (*f) (int a);};
   2152 struct s2 {int (*f) (double a);};
   2153 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2154                int, int);'
   2155 
   2156 # Test code for whether the C compiler supports C89 (body of main).
   2157 ac_c_conftest_c89_main='
   2158 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2159 '
   2160 
   2161 # Test code for whether the C compiler supports C99 (global declarations)
   2162 ac_c_conftest_c99_globals='
   2163 /* Does the compiler advertise C99 conformance? */
   2164 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2165 # error "Compiler does not advertise C99 conformance"
   2166 #endif
   2167 
   2168 // See if C++-style comments work.
   2169 
   2170 #include <stdbool.h>
   2171 extern int puts (const char *);
   2172 extern int printf (const char *, ...);
   2173 extern int dprintf (int, const char *, ...);
   2174 extern void *malloc (size_t);
   2175 extern void free (void *);
   2176 
   2177 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2178 // dprintf is used instead of fprintf to avoid needing to declare
   2179 // FILE and stderr.
   2180 #define debug(...) dprintf (2, __VA_ARGS__)
   2181 #define showlist(...) puts (#__VA_ARGS__)
   2182 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2183 static void
   2184 test_varargs_macros (void)
   2185 {
   2186   int x = 1234;
   2187   int y = 5678;
   2188   debug ("Flag");
   2189   debug ("X = %d\n", x);
   2190   showlist (The first, second, and third items.);
   2191   report (x>y, "x is %d but y is %d", x, y);
   2192 }
   2193 
   2194 // Check long long types.
   2195 #define BIG64 18446744073709551615ull
   2196 #define BIG32 4294967295ul
   2197 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2198 #if !BIG_OK
   2199   #error "your preprocessor is broken"
   2200 #endif
   2201 #if BIG_OK
   2202 #else
   2203   #error "your preprocessor is broken"
   2204 #endif
   2205 static long long int bignum = -9223372036854775807LL;
   2206 static unsigned long long int ubignum = BIG64;
   2207 
   2208 struct incomplete_array
   2209 {
   2210   int datasize;
   2211   double data[];
   2212 };
   2213 
   2214 struct named_init {
   2215   int number;
   2216   const wchar_t *name;
   2217   double average;
   2218 };
   2219 
   2220 typedef const char *ccp;
   2221 
   2222 static inline int
   2223 test_restrict (ccp restrict text)
   2224 {
   2225   // Iterate through items via the restricted pointer.
   2226   // Also check for declarations in for loops.
   2227   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2228     continue;
   2229   return 0;
   2230 }
   2231 
   2232 // Check varargs and va_copy.
   2233 static bool
   2234 test_varargs (const char *format, ...)
   2235 {
   2236   va_list args;
   2237   va_start (args, format);
   2238   va_list args_copy;
   2239   va_copy (args_copy, args);
   2240 
   2241   const char *str = "";
   2242   int number = 0;
   2243   float fnumber = 0;
   2244 
   2245   while (*format)
   2246     {
   2247       switch (*format++)
   2248 	{
   2249 	case '\''s'\'': // string
   2250 	  str = va_arg (args_copy, const char *);
   2251 	  break;
   2252 	case '\''d'\'': // int
   2253 	  number = va_arg (args_copy, int);
   2254 	  break;
   2255 	case '\''f'\'': // float
   2256 	  fnumber = va_arg (args_copy, double);
   2257 	  break;
   2258 	default:
   2259 	  break;
   2260 	}
   2261     }
   2262   va_end (args_copy);
   2263   va_end (args);
   2264 
   2265   return *str && number && fnumber;
   2266 }
   2267 '
   2268 
   2269 # Test code for whether the C compiler supports C99 (body of main).
   2270 ac_c_conftest_c99_main='
   2271   // Check bool.
   2272   _Bool success = false;
   2273   success |= (argc != 0);
   2274 
   2275   // Check restrict.
   2276   if (test_restrict ("String literal") == 0)
   2277     success = true;
   2278   char *restrict newvar = "Another string";
   2279 
   2280   // Check varargs.
   2281   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2282   test_varargs_macros ();
   2283 
   2284   // Check flexible array members.
   2285   struct incomplete_array *ia =
   2286     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2287   ia->datasize = 10;
   2288   for (int i = 0; i < ia->datasize; ++i)
   2289     ia->data[i] = i * 1.234;
   2290   // Work around memory leak warnings.
   2291   free (ia);
   2292 
   2293   // Check named initializers.
   2294   struct named_init ni = {
   2295     .number = 34,
   2296     .name = L"Test wide string",
   2297     .average = 543.34343,
   2298   };
   2299 
   2300   ni.number = 58;
   2301 
   2302   int dynamic_array[ni.number];
   2303   dynamic_array[0] = argv[0][0];
   2304   dynamic_array[ni.number - 1] = 543;
   2305 
   2306   // work around unused variable warnings
   2307   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2308 	 || dynamic_array[ni.number - 1] != 543);
   2309 '
   2310 
   2311 # Test code for whether the C compiler supports C11 (global declarations)
   2312 ac_c_conftest_c11_globals='
   2313 /* Does the compiler advertise C11 conformance? */
   2314 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2315 # error "Compiler does not advertise C11 conformance"
   2316 #endif
   2317 
   2318 // Check _Alignas.
   2319 char _Alignas (double) aligned_as_double;
   2320 char _Alignas (0) no_special_alignment;
   2321 extern char aligned_as_int;
   2322 char _Alignas (0) _Alignas (int) aligned_as_int;
   2323 
   2324 // Check _Alignof.
   2325 enum
   2326 {
   2327   int_alignment = _Alignof (int),
   2328   int_array_alignment = _Alignof (int[100]),
   2329   char_alignment = _Alignof (char)
   2330 };
   2331 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2332 
   2333 // Check _Noreturn.
   2334 int _Noreturn does_not_return (void) { for (;;) continue; }
   2335 
   2336 // Check _Static_assert.
   2337 struct test_static_assert
   2338 {
   2339   int x;
   2340   _Static_assert (sizeof (int) <= sizeof (long int),
   2341                   "_Static_assert does not work in struct");
   2342   long int y;
   2343 };
   2344 
   2345 // Check UTF-8 literals.
   2346 #define u8 syntax error!
   2347 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2348 
   2349 // Check duplicate typedefs.
   2350 typedef long *long_ptr;
   2351 typedef long int *long_ptr;
   2352 typedef long_ptr long_ptr;
   2353 
   2354 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2355 struct anonymous
   2356 {
   2357   union {
   2358     struct { int i; int j; };
   2359     struct { int k; long int l; } w;
   2360   };
   2361   int m;
   2362 } v1;
   2363 '
   2364 
   2365 # Test code for whether the C compiler supports C11 (body of main).
   2366 ac_c_conftest_c11_main='
   2367   _Static_assert ((offsetof (struct anonymous, i)
   2368 		   == offsetof (struct anonymous, w.k)),
   2369 		  "Anonymous union alignment botch");
   2370   v1.i = 2;
   2371   v1.w.k = 5;
   2372   ok |= v1.i != 5;
   2373 '
   2374 
   2375 # Test code for whether the C compiler supports C11 (complete).
   2376 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2377 ${ac_c_conftest_c99_globals}
   2378 ${ac_c_conftest_c11_globals}
   2379 
   2380 int
   2381 main (int argc, char **argv)
   2382 {
   2383   int ok = 0;
   2384   ${ac_c_conftest_c89_main}
   2385   ${ac_c_conftest_c99_main}
   2386   ${ac_c_conftest_c11_main}
   2387   return ok;
   2388 }
   2389 "
   2390 
   2391 # Test code for whether the C compiler supports C99 (complete).
   2392 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2393 ${ac_c_conftest_c99_globals}
   2394 
   2395 int
   2396 main (int argc, char **argv)
   2397 {
   2398   int ok = 0;
   2399   ${ac_c_conftest_c89_main}
   2400   ${ac_c_conftest_c99_main}
   2401   return ok;
   2402 }
   2403 "
   2404 
   2405 # Test code for whether the C compiler supports C89 (complete).
   2406 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2407 
   2408 int
   2409 main (int argc, char **argv)
   2410 {
   2411   int ok = 0;
   2412   ${ac_c_conftest_c89_main}
   2413   return ok;
   2414 }
   2415 "
   2416 
   2417 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2418 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2419 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2420 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2421 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2422 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2423 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2424 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2425 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
   2426 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
   2427 
   2428 # Auxiliary files required by this configure script.
   2429 ac_aux_files="config.guess config.sub missing install-sh compile"
   2430 
   2431 # Locations in which to look for auxiliary files.
   2432 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2433 
   2434 # Search for a directory containing all of the required auxiliary files,
   2435 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2436 # If we don't find one directory that contains all the files we need,
   2437 # we report the set of missing files from the *first* directory in
   2438 # $ac_aux_dir_candidates and give up.
   2439 ac_missing_aux_files=""
   2440 ac_first_candidate=:
   2441 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2443 as_found=false
   2444 for as_dir in $ac_aux_dir_candidates
   2445 do
   2446   IFS=$as_save_IFS
   2447   case $as_dir in #(((
   2448     '') as_dir=./ ;;
   2449     */) ;;
   2450     *) as_dir=$as_dir/ ;;
   2451   esac
   2452   as_found=:
   2453 
   2454   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2455   ac_aux_dir_found=yes
   2456   ac_install_sh=
   2457   for ac_aux in $ac_aux_files
   2458   do
   2459     # As a special case, if "install-sh" is required, that requirement
   2460     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2461     # and $ac_install_sh is set appropriately for whichever one is found.
   2462     if test x"$ac_aux" = x"install-sh"
   2463     then
   2464       if test -f "${as_dir}install-sh"; then
   2465         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2466         ac_install_sh="${as_dir}install-sh -c"
   2467       elif test -f "${as_dir}install.sh"; then
   2468         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2469         ac_install_sh="${as_dir}install.sh -c"
   2470       elif test -f "${as_dir}shtool"; then
   2471         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2472         ac_install_sh="${as_dir}shtool install -c"
   2473       else
   2474         ac_aux_dir_found=no
   2475         if $ac_first_candidate; then
   2476           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2477         else
   2478           break
   2479         fi
   2480       fi
   2481     else
   2482       if test -f "${as_dir}${ac_aux}"; then
   2483         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2484       else
   2485         ac_aux_dir_found=no
   2486         if $ac_first_candidate; then
   2487           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2488         else
   2489           break
   2490         fi
   2491       fi
   2492     fi
   2493   done
   2494   if test "$ac_aux_dir_found" = yes; then
   2495     ac_aux_dir="$as_dir"
   2496     break
   2497   fi
   2498   ac_first_candidate=false
   2499 
   2500   as_found=false
   2501 done
   2502 IFS=$as_save_IFS
   2503 if $as_found
   2504 then :
   2505 
   2506 else case e in #(
   2507   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2508 esac
   2509 fi
   2510 
   2511 
   2512 # These three variables are undocumented and unsupported,
   2513 # and are intended to be withdrawn in a future Autoconf release.
   2514 # They can cause serious problems if a builder's source tree is in a directory
   2515 # whose full name contains unusual characters.
   2516 if test -f "${ac_aux_dir}config.guess"; then
   2517   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2518 fi
   2519 if test -f "${ac_aux_dir}config.sub"; then
   2520   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2521 fi
   2522 if test -f "$ac_aux_dir/configure"; then
   2523   ac_configure="$SHELL ${ac_aux_dir}configure"
   2524 fi
   2525 
   2526 # Check that the precious variables saved in the cache have kept the same
   2527 # value.
   2528 ac_cache_corrupted=false
   2529 for ac_var in $ac_precious_vars; do
   2530   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2531   eval ac_new_set=\$ac_env_${ac_var}_set
   2532   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2533   eval ac_new_val=\$ac_env_${ac_var}_value
   2534   case $ac_old_set,$ac_new_set in
   2535     set,)
   2536       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2537 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2538       ac_cache_corrupted=: ;;
   2539     ,set)
   2540       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2541 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2542       ac_cache_corrupted=: ;;
   2543     ,);;
   2544     *)
   2545       if test "x$ac_old_val" != "x$ac_new_val"; then
   2546 	# differences in whitespace do not lead to failure.
   2547 	ac_old_val_w=`echo x $ac_old_val`
   2548 	ac_new_val_w=`echo x $ac_new_val`
   2549 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2550 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2551 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2552 	  ac_cache_corrupted=:
   2553 	else
   2554 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2555 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2556 	  eval $ac_var=\$ac_old_val
   2557 	fi
   2558 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2559 printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
   2560 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2561 printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
   2562       fi;;
   2563   esac
   2564   # Pass precious variables to config.status.
   2565   if test "$ac_new_set" = set; then
   2566     case $ac_new_val in
   2567     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2568     *) ac_arg=$ac_var=$ac_new_val ;;
   2569     esac
   2570     case " $ac_configure_args " in
   2571       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2572       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2573     esac
   2574   fi
   2575 done
   2576 if $ac_cache_corrupted; then
   2577   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2578 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2579   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2580 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2581   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2582 	    and start over" "$LINENO" 5
   2583 fi
   2584 ## -------------------- ##
   2585 ## Main body of script. ##
   2586 ## -------------------- ##
   2587 
   2588 ac_ext=c
   2589 ac_cpp='$CPP $CPPFLAGS'
   2590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2593 
   2594 
   2595 
   2596 
   2597 ac_config_headers="$ac_config_headers config.h"
   2598 
   2599 
   2600 
   2601 
   2602 
   2603 
   2604 
   2605 
   2606 
   2607 
   2608 
   2609 
   2610 # Expand $ac_aux_dir to an absolute path.
   2611 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2612 
   2613 ac_ext=c
   2614 ac_cpp='$CPP $CPPFLAGS'
   2615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2618 if test -n "$ac_tool_prefix"; then
   2619   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2620 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2622 printf %s "checking for $ac_word... " >&6; }
   2623 if test ${ac_cv_prog_CC+y}
   2624 then :
   2625   printf %s "(cached) " >&6
   2626 else case e in #(
   2627   e) if test -n "$CC"; then
   2628   ac_cv_prog_CC="$CC" # Let the user override the test.
   2629 else
   2630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2631 for as_dir in $PATH
   2632 do
   2633   IFS=$as_save_IFS
   2634   case $as_dir in #(((
   2635     '') as_dir=./ ;;
   2636     */) ;;
   2637     *) as_dir=$as_dir/ ;;
   2638   esac
   2639     for ac_exec_ext in '' $ac_executable_extensions; do
   2640   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2641     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2642     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2643     break 2
   2644   fi
   2645 done
   2646   done
   2647 IFS=$as_save_IFS
   2648 
   2649 fi ;;
   2650 esac
   2651 fi
   2652 CC=$ac_cv_prog_CC
   2653 if test -n "$CC"; then
   2654   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2655 printf "%s\n" "$CC" >&6; }
   2656 else
   2657   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2658 printf "%s\n" "no" >&6; }
   2659 fi
   2660 
   2661 
   2662 fi
   2663 if test -z "$ac_cv_prog_CC"; then
   2664   ac_ct_CC=$CC
   2665   # Extract the first word of "gcc", so it can be a program name with args.
   2666 set dummy gcc; ac_word=$2
   2667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2668 printf %s "checking for $ac_word... " >&6; }
   2669 if test ${ac_cv_prog_ac_ct_CC+y}
   2670 then :
   2671   printf %s "(cached) " >&6
   2672 else case e in #(
   2673   e) if test -n "$ac_ct_CC"; then
   2674   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2675 else
   2676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2677 for as_dir in $PATH
   2678 do
   2679   IFS=$as_save_IFS
   2680   case $as_dir in #(((
   2681     '') as_dir=./ ;;
   2682     */) ;;
   2683     *) as_dir=$as_dir/ ;;
   2684   esac
   2685     for ac_exec_ext in '' $ac_executable_extensions; do
   2686   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2687     ac_cv_prog_ac_ct_CC="gcc"
   2688     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2689     break 2
   2690   fi
   2691 done
   2692   done
   2693 IFS=$as_save_IFS
   2694 
   2695 fi ;;
   2696 esac
   2697 fi
   2698 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2699 if test -n "$ac_ct_CC"; then
   2700   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2701 printf "%s\n" "$ac_ct_CC" >&6; }
   2702 else
   2703   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2704 printf "%s\n" "no" >&6; }
   2705 fi
   2706 
   2707   if test "x$ac_ct_CC" = x; then
   2708     CC=""
   2709   else
   2710     case $cross_compiling:$ac_tool_warned in
   2711 yes:)
   2712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2713 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2714 ac_tool_warned=yes ;;
   2715 esac
   2716     CC=$ac_ct_CC
   2717   fi
   2718 else
   2719   CC="$ac_cv_prog_CC"
   2720 fi
   2721 
   2722 if test -z "$CC"; then
   2723           if test -n "$ac_tool_prefix"; then
   2724     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2725 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2727 printf %s "checking for $ac_word... " >&6; }
   2728 if test ${ac_cv_prog_CC+y}
   2729 then :
   2730   printf %s "(cached) " >&6
   2731 else case e in #(
   2732   e) if test -n "$CC"; then
   2733   ac_cv_prog_CC="$CC" # Let the user override the test.
   2734 else
   2735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2736 for as_dir in $PATH
   2737 do
   2738   IFS=$as_save_IFS
   2739   case $as_dir in #(((
   2740     '') as_dir=./ ;;
   2741     */) ;;
   2742     *) as_dir=$as_dir/ ;;
   2743   esac
   2744     for ac_exec_ext in '' $ac_executable_extensions; do
   2745   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2746     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2747     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2748     break 2
   2749   fi
   2750 done
   2751   done
   2752 IFS=$as_save_IFS
   2753 
   2754 fi ;;
   2755 esac
   2756 fi
   2757 CC=$ac_cv_prog_CC
   2758 if test -n "$CC"; then
   2759   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2760 printf "%s\n" "$CC" >&6; }
   2761 else
   2762   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2763 printf "%s\n" "no" >&6; }
   2764 fi
   2765 
   2766 
   2767   fi
   2768 fi
   2769 if test -z "$CC"; then
   2770   # Extract the first word of "cc", so it can be a program name with args.
   2771 set dummy cc; ac_word=$2
   2772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2773 printf %s "checking for $ac_word... " >&6; }
   2774 if test ${ac_cv_prog_CC+y}
   2775 then :
   2776   printf %s "(cached) " >&6
   2777 else case e in #(
   2778   e) if test -n "$CC"; then
   2779   ac_cv_prog_CC="$CC" # Let the user override the test.
   2780 else
   2781   ac_prog_rejected=no
   2782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2783 for as_dir in $PATH
   2784 do
   2785   IFS=$as_save_IFS
   2786   case $as_dir in #(((
   2787     '') as_dir=./ ;;
   2788     */) ;;
   2789     *) as_dir=$as_dir/ ;;
   2790   esac
   2791     for ac_exec_ext in '' $ac_executable_extensions; do
   2792   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2793     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2794        ac_prog_rejected=yes
   2795        continue
   2796      fi
   2797     ac_cv_prog_CC="cc"
   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 if test $ac_prog_rejected = yes; then
   2806   # We found a bogon in the path, so make sure we never use it.
   2807   set dummy $ac_cv_prog_CC
   2808   shift
   2809   if test $# != 0; then
   2810     # We chose a different compiler from the bogus one.
   2811     # However, it has the same basename, so the bogon will be chosen
   2812     # first if we set CC to just the basename; use the full file name.
   2813     shift
   2814     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   2815   fi
   2816 fi
   2817 fi ;;
   2818 esac
   2819 fi
   2820 CC=$ac_cv_prog_CC
   2821 if test -n "$CC"; then
   2822   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2823 printf "%s\n" "$CC" >&6; }
   2824 else
   2825   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2826 printf "%s\n" "no" >&6; }
   2827 fi
   2828 
   2829 
   2830 fi
   2831 if test -z "$CC"; then
   2832   if test -n "$ac_tool_prefix"; then
   2833   for ac_prog in cl.exe
   2834   do
   2835     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2836 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2838 printf %s "checking for $ac_word... " >&6; }
   2839 if test ${ac_cv_prog_CC+y}
   2840 then :
   2841   printf %s "(cached) " >&6
   2842 else case e in #(
   2843   e) if test -n "$CC"; then
   2844   ac_cv_prog_CC="$CC" # Let the user override the test.
   2845 else
   2846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2847 for as_dir in $PATH
   2848 do
   2849   IFS=$as_save_IFS
   2850   case $as_dir in #(((
   2851     '') as_dir=./ ;;
   2852     */) ;;
   2853     *) as_dir=$as_dir/ ;;
   2854   esac
   2855     for ac_exec_ext in '' $ac_executable_extensions; do
   2856   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2857     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2858     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2859     break 2
   2860   fi
   2861 done
   2862   done
   2863 IFS=$as_save_IFS
   2864 
   2865 fi ;;
   2866 esac
   2867 fi
   2868 CC=$ac_cv_prog_CC
   2869 if test -n "$CC"; then
   2870   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2871 printf "%s\n" "$CC" >&6; }
   2872 else
   2873   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2874 printf "%s\n" "no" >&6; }
   2875 fi
   2876 
   2877 
   2878     test -n "$CC" && break
   2879   done
   2880 fi
   2881 if test -z "$CC"; then
   2882   ac_ct_CC=$CC
   2883   for ac_prog in cl.exe
   2884 do
   2885   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2886 set dummy $ac_prog; ac_word=$2
   2887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2888 printf %s "checking for $ac_word... " >&6; }
   2889 if test ${ac_cv_prog_ac_ct_CC+y}
   2890 then :
   2891   printf %s "(cached) " >&6
   2892 else case e in #(
   2893   e) if test -n "$ac_ct_CC"; then
   2894   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2895 else
   2896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2897 for as_dir in $PATH
   2898 do
   2899   IFS=$as_save_IFS
   2900   case $as_dir in #(((
   2901     '') as_dir=./ ;;
   2902     */) ;;
   2903     *) as_dir=$as_dir/ ;;
   2904   esac
   2905     for ac_exec_ext in '' $ac_executable_extensions; do
   2906   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2907     ac_cv_prog_ac_ct_CC="$ac_prog"
   2908     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2909     break 2
   2910   fi
   2911 done
   2912   done
   2913 IFS=$as_save_IFS
   2914 
   2915 fi ;;
   2916 esac
   2917 fi
   2918 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2919 if test -n "$ac_ct_CC"; then
   2920   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2921 printf "%s\n" "$ac_ct_CC" >&6; }
   2922 else
   2923   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2924 printf "%s\n" "no" >&6; }
   2925 fi
   2926 
   2927 
   2928   test -n "$ac_ct_CC" && break
   2929 done
   2930 
   2931   if test "x$ac_ct_CC" = x; then
   2932     CC=""
   2933   else
   2934     case $cross_compiling:$ac_tool_warned in
   2935 yes:)
   2936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2937 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2938 ac_tool_warned=yes ;;
   2939 esac
   2940     CC=$ac_ct_CC
   2941   fi
   2942 fi
   2943 
   2944 fi
   2945 if test -z "$CC"; then
   2946   if test -n "$ac_tool_prefix"; then
   2947   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   2948 set dummy ${ac_tool_prefix}clang; ac_word=$2
   2949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2950 printf %s "checking for $ac_word... " >&6; }
   2951 if test ${ac_cv_prog_CC+y}
   2952 then :
   2953   printf %s "(cached) " >&6
   2954 else case e in #(
   2955   e) if test -n "$CC"; then
   2956   ac_cv_prog_CC="$CC" # Let the user override the test.
   2957 else
   2958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2959 for as_dir in $PATH
   2960 do
   2961   IFS=$as_save_IFS
   2962   case $as_dir in #(((
   2963     '') as_dir=./ ;;
   2964     */) ;;
   2965     *) as_dir=$as_dir/ ;;
   2966   esac
   2967     for ac_exec_ext in '' $ac_executable_extensions; do
   2968   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2969     ac_cv_prog_CC="${ac_tool_prefix}clang"
   2970     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2971     break 2
   2972   fi
   2973 done
   2974   done
   2975 IFS=$as_save_IFS
   2976 
   2977 fi ;;
   2978 esac
   2979 fi
   2980 CC=$ac_cv_prog_CC
   2981 if test -n "$CC"; then
   2982   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2983 printf "%s\n" "$CC" >&6; }
   2984 else
   2985   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2986 printf "%s\n" "no" >&6; }
   2987 fi
   2988 
   2989 
   2990 fi
   2991 if test -z "$ac_cv_prog_CC"; then
   2992   ac_ct_CC=$CC
   2993   # Extract the first word of "clang", so it can be a program name with args.
   2994 set dummy clang; ac_word=$2
   2995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2996 printf %s "checking for $ac_word... " >&6; }
   2997 if test ${ac_cv_prog_ac_ct_CC+y}
   2998 then :
   2999   printf %s "(cached) " >&6
   3000 else case e in #(
   3001   e) if test -n "$ac_ct_CC"; then
   3002   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3003 else
   3004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3005 for as_dir in $PATH
   3006 do
   3007   IFS=$as_save_IFS
   3008   case $as_dir in #(((
   3009     '') as_dir=./ ;;
   3010     */) ;;
   3011     *) as_dir=$as_dir/ ;;
   3012   esac
   3013     for ac_exec_ext in '' $ac_executable_extensions; do
   3014   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3015     ac_cv_prog_ac_ct_CC="clang"
   3016     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3017     break 2
   3018   fi
   3019 done
   3020   done
   3021 IFS=$as_save_IFS
   3022 
   3023 fi ;;
   3024 esac
   3025 fi
   3026 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3027 if test -n "$ac_ct_CC"; then
   3028   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3029 printf "%s\n" "$ac_ct_CC" >&6; }
   3030 else
   3031   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3032 printf "%s\n" "no" >&6; }
   3033 fi
   3034 
   3035   if test "x$ac_ct_CC" = x; then
   3036     CC=""
   3037   else
   3038     case $cross_compiling:$ac_tool_warned in
   3039 yes:)
   3040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3041 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3042 ac_tool_warned=yes ;;
   3043 esac
   3044     CC=$ac_ct_CC
   3045   fi
   3046 else
   3047   CC="$ac_cv_prog_CC"
   3048 fi
   3049 
   3050 fi
   3051 
   3052 
   3053 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3054 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3055 as_fn_error $? "no acceptable C compiler found in \$PATH
   3056 See 'config.log' for more details" "$LINENO" 5; }
   3057 
   3058 # Provide some information about the compiler.
   3059 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3060 set X $ac_compile
   3061 ac_compiler=$2
   3062 for ac_option in --version -v -V -qversion -version; do
   3063   { { ac_try="$ac_compiler $ac_option >&5"
   3064 case "(($ac_try" in
   3065   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3066   *) ac_try_echo=$ac_try;;
   3067 esac
   3068 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3069 printf "%s\n" "$ac_try_echo"; } >&5
   3070   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3071   ac_status=$?
   3072   if test -s conftest.err; then
   3073     sed '10a\
   3074 ... rest of stderr output deleted ...
   3075          10q' conftest.err >conftest.er1
   3076     cat conftest.er1 >&5
   3077   fi
   3078   rm -f conftest.er1 conftest.err
   3079   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3080   test $ac_status = 0; }
   3081 done
   3082 
   3083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3084 /* end confdefs.h.  */
   3085 
   3086 int
   3087 main (void)
   3088 {
   3089 
   3090   ;
   3091   return 0;
   3092 }
   3093 _ACEOF
   3094 ac_clean_files_save=$ac_clean_files
   3095 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3096 # Try to create an executable without -o first, disregard a.out.
   3097 # It will help us diagnose broken compilers, and finding out an intuition
   3098 # of exeext.
   3099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3100 printf %s "checking whether the C compiler works... " >&6; }
   3101 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3102 
   3103 # The possible output files:
   3104 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3105 
   3106 ac_rmfiles=
   3107 for ac_file in $ac_files
   3108 do
   3109   case $ac_file in
   3110     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3111     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3112   esac
   3113 done
   3114 rm -f $ac_rmfiles
   3115 
   3116 if { { ac_try="$ac_link_default"
   3117 case "(($ac_try" in
   3118   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3119   *) ac_try_echo=$ac_try;;
   3120 esac
   3121 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3122 printf "%s\n" "$ac_try_echo"; } >&5
   3123   (eval "$ac_link_default") 2>&5
   3124   ac_status=$?
   3125   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3126   test $ac_status = 0; }
   3127 then :
   3128   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   3129 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   3130 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3131 # so that the user can short-circuit this test for compilers unknown to
   3132 # Autoconf.
   3133 for ac_file in $ac_files ''
   3134 do
   3135   test -f "$ac_file" || continue
   3136   case $ac_file in
   3137     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3138 	;;
   3139     [ab].out )
   3140 	# We found the default executable, but exeext='' is most
   3141 	# certainly right.
   3142 	break;;
   3143     *.* )
   3144 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3145 	then :; else
   3146 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3147 	fi
   3148 	# We set ac_cv_exeext here because the later test for it is not
   3149 	# safe: cross compilers may not add the suffix if given an '-o'
   3150 	# argument, so we may need to know it at that point already.
   3151 	# Even if this section looks crufty: it has the advantage of
   3152 	# actually working.
   3153 	break;;
   3154     * )
   3155 	break;;
   3156   esac
   3157 done
   3158 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3159 
   3160 else case e in #(
   3161   e) ac_file='' ;;
   3162 esac
   3163 fi
   3164 if test -z "$ac_file"
   3165 then :
   3166   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3167 printf "%s\n" "no" >&6; }
   3168 printf "%s\n" "$as_me: failed program was:" >&5
   3169 sed 's/^/| /' conftest.$ac_ext >&5
   3170 
   3171 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3172 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3173 as_fn_error 77 "C compiler cannot create executables
   3174 See 'config.log' for more details" "$LINENO" 5; }
   3175 else case e in #(
   3176   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3177 printf "%s\n" "yes" >&6; } ;;
   3178 esac
   3179 fi
   3180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3181 printf %s "checking for C compiler default output file name... " >&6; }
   3182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3183 printf "%s\n" "$ac_file" >&6; }
   3184 ac_exeext=$ac_cv_exeext
   3185 
   3186 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3187 ac_clean_files=$ac_clean_files_save
   3188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3189 printf %s "checking for suffix of executables... " >&6; }
   3190 if { { ac_try="$ac_link"
   3191 case "(($ac_try" in
   3192   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3193   *) ac_try_echo=$ac_try;;
   3194 esac
   3195 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3196 printf "%s\n" "$ac_try_echo"; } >&5
   3197   (eval "$ac_link") 2>&5
   3198   ac_status=$?
   3199   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3200   test $ac_status = 0; }
   3201 then :
   3202   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   3203 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   3204 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   3205 # 'rm'.
   3206 for ac_file in conftest.exe conftest conftest.*; do
   3207   test -f "$ac_file" || continue
   3208   case $ac_file in
   3209     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3210     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3211 	  break;;
   3212     * ) break;;
   3213   esac
   3214 done
   3215 else case e in #(
   3216   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3217 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3218 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3219 See 'config.log' for more details" "$LINENO" 5; } ;;
   3220 esac
   3221 fi
   3222 rm -f conftest conftest$ac_cv_exeext
   3223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3224 printf "%s\n" "$ac_cv_exeext" >&6; }
   3225 
   3226 rm -f conftest.$ac_ext
   3227 EXEEXT=$ac_cv_exeext
   3228 ac_exeext=$EXEEXT
   3229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3230 /* end confdefs.h.  */
   3231 #include <stdio.h>
   3232 int
   3233 main (void)
   3234 {
   3235 FILE *f = fopen ("conftest.out", "w");
   3236  if (!f)
   3237   return 1;
   3238  return ferror (f) || fclose (f) != 0;
   3239 
   3240   ;
   3241   return 0;
   3242 }
   3243 _ACEOF
   3244 ac_clean_files="$ac_clean_files conftest.out"
   3245 # Check that the compiler produces executables we can run.  If not, either
   3246 # the compiler is broken, or we cross compile.
   3247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3248 printf %s "checking whether we are cross compiling... " >&6; }
   3249 if test "$cross_compiling" != yes; then
   3250   { { ac_try="$ac_link"
   3251 case "(($ac_try" in
   3252   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3253   *) ac_try_echo=$ac_try;;
   3254 esac
   3255 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3256 printf "%s\n" "$ac_try_echo"; } >&5
   3257   (eval "$ac_link") 2>&5
   3258   ac_status=$?
   3259   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3260   test $ac_status = 0; }
   3261   if { ac_try='./conftest$ac_cv_exeext'
   3262   { { case "(($ac_try" in
   3263   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3264   *) ac_try_echo=$ac_try;;
   3265 esac
   3266 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3267 printf "%s\n" "$ac_try_echo"; } >&5
   3268   (eval "$ac_try") 2>&5
   3269   ac_status=$?
   3270   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3271   test $ac_status = 0; }; }; then
   3272     cross_compiling=no
   3273   else
   3274     if test "$cross_compiling" = maybe; then
   3275 	cross_compiling=yes
   3276     else
   3277 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3278 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3279 as_fn_error 77 "cannot run C compiled programs.
   3280 If you meant to cross compile, use '--host'.
   3281 See 'config.log' for more details" "$LINENO" 5; }
   3282     fi
   3283   fi
   3284 fi
   3285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3286 printf "%s\n" "$cross_compiling" >&6; }
   3287 
   3288 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   3289   conftest.o conftest.obj conftest.out
   3290 ac_clean_files=$ac_clean_files_save
   3291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3292 printf %s "checking for suffix of object files... " >&6; }
   3293 if test ${ac_cv_objext+y}
   3294 then :
   3295   printf %s "(cached) " >&6
   3296 else case e in #(
   3297   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3298 /* end confdefs.h.  */
   3299 
   3300 int
   3301 main (void)
   3302 {
   3303 
   3304   ;
   3305   return 0;
   3306 }
   3307 _ACEOF
   3308 rm -f conftest.o conftest.obj
   3309 if { { ac_try="$ac_compile"
   3310 case "(($ac_try" in
   3311   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3312   *) ac_try_echo=$ac_try;;
   3313 esac
   3314 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3315 printf "%s\n" "$ac_try_echo"; } >&5
   3316   (eval "$ac_compile") 2>&5
   3317   ac_status=$?
   3318   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3319   test $ac_status = 0; }
   3320 then :
   3321   for ac_file in conftest.o conftest.obj conftest.*; do
   3322   test -f "$ac_file" || continue;
   3323   case $ac_file in
   3324     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3325     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3326        break;;
   3327   esac
   3328 done
   3329 else case e in #(
   3330   e) printf "%s\n" "$as_me: failed program was:" >&5
   3331 sed 's/^/| /' conftest.$ac_ext >&5
   3332 
   3333 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3334 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3335 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3336 See 'config.log' for more details" "$LINENO" 5; } ;;
   3337 esac
   3338 fi
   3339 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   3340 esac
   3341 fi
   3342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3343 printf "%s\n" "$ac_cv_objext" >&6; }
   3344 OBJEXT=$ac_cv_objext
   3345 ac_objext=$OBJEXT
   3346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   3347 printf %s "checking whether the compiler supports GNU C... " >&6; }
   3348 if test ${ac_cv_c_compiler_gnu+y}
   3349 then :
   3350   printf %s "(cached) " >&6
   3351 else case e in #(
   3352   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3353 /* end confdefs.h.  */
   3354 
   3355 int
   3356 main (void)
   3357 {
   3358 #ifndef __GNUC__
   3359        choke me
   3360 #endif
   3361 
   3362   ;
   3363   return 0;
   3364 }
   3365 _ACEOF
   3366 if ac_fn_c_try_compile "$LINENO"
   3367 then :
   3368   ac_compiler_gnu=yes
   3369 else case e in #(
   3370   e) ac_compiler_gnu=no ;;
   3371 esac
   3372 fi
   3373 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3374 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3375  ;;
   3376 esac
   3377 fi
   3378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3379 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   3380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3381 
   3382 if test $ac_compiler_gnu = yes; then
   3383   GCC=yes
   3384 else
   3385   GCC=
   3386 fi
   3387 ac_test_CFLAGS=${CFLAGS+y}
   3388 ac_save_CFLAGS=$CFLAGS
   3389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3390 printf %s "checking whether $CC accepts -g... " >&6; }
   3391 if test ${ac_cv_prog_cc_g+y}
   3392 then :
   3393   printf %s "(cached) " >&6
   3394 else case e in #(
   3395   e) ac_save_c_werror_flag=$ac_c_werror_flag
   3396    ac_c_werror_flag=yes
   3397    ac_cv_prog_cc_g=no
   3398    CFLAGS="-g"
   3399    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3400 /* end confdefs.h.  */
   3401 
   3402 int
   3403 main (void)
   3404 {
   3405 
   3406   ;
   3407   return 0;
   3408 }
   3409 _ACEOF
   3410 if ac_fn_c_try_compile "$LINENO"
   3411 then :
   3412   ac_cv_prog_cc_g=yes
   3413 else case e in #(
   3414   e) CFLAGS=""
   3415       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3416 /* end confdefs.h.  */
   3417 
   3418 int
   3419 main (void)
   3420 {
   3421 
   3422   ;
   3423   return 0;
   3424 }
   3425 _ACEOF
   3426 if ac_fn_c_try_compile "$LINENO"
   3427 then :
   3428 
   3429 else case e in #(
   3430   e) ac_c_werror_flag=$ac_save_c_werror_flag
   3431 	 CFLAGS="-g"
   3432 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3433 /* end confdefs.h.  */
   3434 
   3435 int
   3436 main (void)
   3437 {
   3438 
   3439   ;
   3440   return 0;
   3441 }
   3442 _ACEOF
   3443 if ac_fn_c_try_compile "$LINENO"
   3444 then :
   3445   ac_cv_prog_cc_g=yes
   3446 fi
   3447 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   3448 esac
   3449 fi
   3450 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   3451 esac
   3452 fi
   3453 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3454    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   3455 esac
   3456 fi
   3457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3458 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   3459 if test $ac_test_CFLAGS; then
   3460   CFLAGS=$ac_save_CFLAGS
   3461 elif test $ac_cv_prog_cc_g = yes; then
   3462   if test "$GCC" = yes; then
   3463     CFLAGS="-g -O2"
   3464   else
   3465     CFLAGS="-g"
   3466   fi
   3467 else
   3468   if test "$GCC" = yes; then
   3469     CFLAGS="-O2"
   3470   else
   3471     CFLAGS=
   3472   fi
   3473 fi
   3474 ac_prog_cc_stdc=no
   3475 if test x$ac_prog_cc_stdc = xno
   3476 then :
   3477   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   3478 printf %s "checking for $CC option to enable C11 features... " >&6; }
   3479 if test ${ac_cv_prog_cc_c11+y}
   3480 then :
   3481   printf %s "(cached) " >&6
   3482 else case e in #(
   3483   e) ac_cv_prog_cc_c11=no
   3484 ac_save_CC=$CC
   3485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3486 /* end confdefs.h.  */
   3487 $ac_c_conftest_c11_program
   3488 _ACEOF
   3489 for ac_arg in '' -std=gnu11
   3490 do
   3491   CC="$ac_save_CC $ac_arg"
   3492   if ac_fn_c_try_compile "$LINENO"
   3493 then :
   3494   ac_cv_prog_cc_c11=$ac_arg
   3495 fi
   3496 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3497   test "x$ac_cv_prog_cc_c11" != "xno" && break
   3498 done
   3499 rm -f conftest.$ac_ext
   3500 CC=$ac_save_CC ;;
   3501 esac
   3502 fi
   3503 
   3504 if test "x$ac_cv_prog_cc_c11" = xno
   3505 then :
   3506   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3507 printf "%s\n" "unsupported" >&6; }
   3508 else case e in #(
   3509   e) if test "x$ac_cv_prog_cc_c11" = x
   3510 then :
   3511   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3512 printf "%s\n" "none needed" >&6; }
   3513 else case e in #(
   3514   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   3515 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   3516      CC="$CC $ac_cv_prog_cc_c11" ;;
   3517 esac
   3518 fi
   3519   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   3520   ac_prog_cc_stdc=c11 ;;
   3521 esac
   3522 fi
   3523 fi
   3524 if test x$ac_prog_cc_stdc = xno
   3525 then :
   3526   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   3527 printf %s "checking for $CC option to enable C99 features... " >&6; }
   3528 if test ${ac_cv_prog_cc_c99+y}
   3529 then :
   3530   printf %s "(cached) " >&6
   3531 else case e in #(
   3532   e) ac_cv_prog_cc_c99=no
   3533 ac_save_CC=$CC
   3534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3535 /* end confdefs.h.  */
   3536 $ac_c_conftest_c99_program
   3537 _ACEOF
   3538 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   3539 do
   3540   CC="$ac_save_CC $ac_arg"
   3541   if ac_fn_c_try_compile "$LINENO"
   3542 then :
   3543   ac_cv_prog_cc_c99=$ac_arg
   3544 fi
   3545 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3546   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3547 done
   3548 rm -f conftest.$ac_ext
   3549 CC=$ac_save_CC ;;
   3550 esac
   3551 fi
   3552 
   3553 if test "x$ac_cv_prog_cc_c99" = xno
   3554 then :
   3555   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3556 printf "%s\n" "unsupported" >&6; }
   3557 else case e in #(
   3558   e) if test "x$ac_cv_prog_cc_c99" = x
   3559 then :
   3560   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3561 printf "%s\n" "none needed" >&6; }
   3562 else case e in #(
   3563   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3564 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   3565      CC="$CC $ac_cv_prog_cc_c99" ;;
   3566 esac
   3567 fi
   3568   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   3569   ac_prog_cc_stdc=c99 ;;
   3570 esac
   3571 fi
   3572 fi
   3573 if test x$ac_prog_cc_stdc = xno
   3574 then :
   3575   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   3576 printf %s "checking for $CC option to enable C89 features... " >&6; }
   3577 if test ${ac_cv_prog_cc_c89+y}
   3578 then :
   3579   printf %s "(cached) " >&6
   3580 else case e in #(
   3581   e) ac_cv_prog_cc_c89=no
   3582 ac_save_CC=$CC
   3583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3584 /* end confdefs.h.  */
   3585 $ac_c_conftest_c89_program
   3586 _ACEOF
   3587 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3588 do
   3589   CC="$ac_save_CC $ac_arg"
   3590   if ac_fn_c_try_compile "$LINENO"
   3591 then :
   3592   ac_cv_prog_cc_c89=$ac_arg
   3593 fi
   3594 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3595   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3596 done
   3597 rm -f conftest.$ac_ext
   3598 CC=$ac_save_CC ;;
   3599 esac
   3600 fi
   3601 
   3602 if test "x$ac_cv_prog_cc_c89" = xno
   3603 then :
   3604   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3605 printf "%s\n" "unsupported" >&6; }
   3606 else case e in #(
   3607   e) if test "x$ac_cv_prog_cc_c89" = x
   3608 then :
   3609   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3610 printf "%s\n" "none needed" >&6; }
   3611 else case e in #(
   3612   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3613 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   3614      CC="$CC $ac_cv_prog_cc_c89" ;;
   3615 esac
   3616 fi
   3617   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   3618   ac_prog_cc_stdc=c89 ;;
   3619 esac
   3620 fi
   3621 fi
   3622 
   3623 ac_ext=c
   3624 ac_cpp='$CPP $CPPFLAGS'
   3625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3628 
   3629 
   3630   ac_ext=c
   3631 ac_cpp='$CPP $CPPFLAGS'
   3632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3636 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   3637 if test ${am_cv_prog_cc_c_o+y}
   3638 then :
   3639   printf %s "(cached) " >&6
   3640 else case e in #(
   3641   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3642 /* end confdefs.h.  */
   3643 
   3644 int
   3645 main (void)
   3646 {
   3647 
   3648   ;
   3649   return 0;
   3650 }
   3651 _ACEOF
   3652   # Make sure it works both with $CC and with simple cc.
   3653   # Following AC_PROG_CC_C_O, we do the test twice because some
   3654   # compilers refuse to overwrite an existing .o file with -o,
   3655   # though they will create one.
   3656   am_cv_prog_cc_c_o=yes
   3657   for am_i in 1 2; do
   3658     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3659    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3660    ac_status=$?
   3661    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3662    (exit $ac_status); } \
   3663          && test -f conftest2.$ac_objext; then
   3664       : OK
   3665     else
   3666       am_cv_prog_cc_c_o=no
   3667       break
   3668     fi
   3669   done
   3670   rm -f core conftest*
   3671   unset am_i ;;
   3672 esac
   3673 fi
   3674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3675 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   3676 if test "$am_cv_prog_cc_c_o" != yes; then
   3677    # Losing compiler, so override with the script.
   3678    # FIXME: It is wrong to rewrite CC.
   3679    # But if we don't then we get into trouble of one sort or another.
   3680    # A longer-term fix would be to have automake use am__CC in this case,
   3681    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3682    CC="$am_aux_dir/compile $CC"
   3683 fi
   3684 ac_ext=c
   3685 ac_cpp='$CPP $CPPFLAGS'
   3686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3689 
   3690 
   3691 
   3692 ac_header= ac_cache=
   3693 for ac_item in $ac_header_c_list
   3694 do
   3695   if test $ac_cache; then
   3696     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   3697     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   3698       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   3699     fi
   3700     ac_header= ac_cache=
   3701   elif test $ac_header; then
   3702     ac_cache=$ac_item
   3703   else
   3704     ac_header=$ac_item
   3705   fi
   3706 done
   3707 
   3708 
   3709 
   3710 
   3711 
   3712 
   3713 
   3714 
   3715 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   3716 then :
   3717 
   3718 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   3719 
   3720 fi
   3721 
   3722 
   3723 
   3724 
   3725 
   3726 
   3727   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3728 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3729 if test ${ac_cv_safe_to_define___extensions__+y}
   3730 then :
   3731   printf %s "(cached) " >&6
   3732 else case e in #(
   3733   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3734 /* end confdefs.h.  */
   3735 
   3736 #         define __EXTENSIONS__ 1
   3737           $ac_includes_default
   3738 int
   3739 main (void)
   3740 {
   3741 
   3742   ;
   3743   return 0;
   3744 }
   3745 _ACEOF
   3746 if ac_fn_c_try_compile "$LINENO"
   3747 then :
   3748   ac_cv_safe_to_define___extensions__=yes
   3749 else case e in #(
   3750   e) ac_cv_safe_to_define___extensions__=no ;;
   3751 esac
   3752 fi
   3753 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   3754 esac
   3755 fi
   3756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3757 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
   3758 
   3759   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
   3760 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
   3761 if test ${ac_cv_should_define__xopen_source+y}
   3762 then :
   3763   printf %s "(cached) " >&6
   3764 else case e in #(
   3765   e) ac_cv_should_define__xopen_source=no
   3766     if test $ac_cv_header_wchar_h = yes
   3767 then :
   3768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3769 /* end confdefs.h.  */
   3770 
   3771           #include <wchar.h>
   3772           mbstate_t x;
   3773 int
   3774 main (void)
   3775 {
   3776 
   3777   ;
   3778   return 0;
   3779 }
   3780 _ACEOF
   3781 if ac_fn_c_try_compile "$LINENO"
   3782 then :
   3783 
   3784 else case e in #(
   3785   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3786 /* end confdefs.h.  */
   3787 
   3788             #define _XOPEN_SOURCE 500
   3789             #include <wchar.h>
   3790             mbstate_t x;
   3791 int
   3792 main (void)
   3793 {
   3794 
   3795   ;
   3796   return 0;
   3797 }
   3798 _ACEOF
   3799 if ac_fn_c_try_compile "$LINENO"
   3800 then :
   3801   ac_cv_should_define__xopen_source=yes
   3802 fi
   3803 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   3804 esac
   3805 fi
   3806 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3807 fi ;;
   3808 esac
   3809 fi
   3810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
   3811 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
   3812 
   3813   printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
   3814 
   3815   printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
   3816 
   3817   printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
   3818 
   3819   printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
   3820 
   3821   printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
   3822 
   3823   printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
   3824 
   3825   printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   3826 
   3827   printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
   3828 
   3829   printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
   3830 
   3831   printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
   3832 
   3833   printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h
   3834 
   3835   printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
   3836 
   3837   printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
   3838 
   3839   printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
   3840 
   3841   printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
   3842 
   3843   printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
   3844 
   3845   if test $ac_cv_header_minix_config_h = yes
   3846 then :
   3847   MINIX=yes
   3848     printf "%s\n" "#define _MINIX 1" >>confdefs.h
   3849 
   3850     printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
   3851 
   3852     printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
   3853 
   3854 else case e in #(
   3855   e) MINIX= ;;
   3856 esac
   3857 fi
   3858   if test $ac_cv_safe_to_define___extensions__ = yes
   3859 then :
   3860   printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
   3861 
   3862 fi
   3863   if test $ac_cv_should_define__xopen_source = yes
   3864 then :
   3865   printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   3866 
   3867 fi
   3868 
   3869 
   3870 # Initialize Automake
   3871 am__api_version='1.16'
   3872 
   3873 
   3874   # Find a good install program.  We prefer a C program (faster),
   3875 # so one script is as good as another.  But avoid the broken or
   3876 # incompatible versions:
   3877 # SysV /etc/install, /usr/sbin/install
   3878 # SunOS /usr/etc/install
   3879 # IRIX /sbin/install
   3880 # AIX /bin/install
   3881 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3882 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3883 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3884 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3885 # OS/2's system install, which has a completely different semantic
   3886 # ./install, which can be erroneously created by make from ./install.sh.
   3887 # Reject install programs that cannot install multiple files.
   3888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3889 printf %s "checking for a BSD-compatible install... " >&6; }
   3890 if test -z "$INSTALL"; then
   3891 if test ${ac_cv_path_install+y}
   3892 then :
   3893   printf %s "(cached) " >&6
   3894 else case e in #(
   3895   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3896 for as_dir in $PATH
   3897 do
   3898   IFS=$as_save_IFS
   3899   case $as_dir in #(((
   3900     '') as_dir=./ ;;
   3901     */) ;;
   3902     *) as_dir=$as_dir/ ;;
   3903   esac
   3904     # Account for fact that we put trailing slashes in our PATH walk.
   3905 case $as_dir in #((
   3906   ./ | /[cC]/* | \
   3907   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3908   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3909   /usr/ucb/* ) ;;
   3910   *)
   3911     # OSF1 and SCO ODT 3.0 have their own names for install.
   3912     # Don't use installbsd from OSF since it installs stuff as root
   3913     # by default.
   3914     for ac_prog in ginstall scoinst install; do
   3915       for ac_exec_ext in '' $ac_executable_extensions; do
   3916 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   3917 	  if test $ac_prog = install &&
   3918 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3919 	    # AIX install.  It has an incompatible calling convention.
   3920 	    :
   3921 	  elif test $ac_prog = install &&
   3922 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3923 	    # program-specific install script used by HP pwplus--don't use.
   3924 	    :
   3925 	  else
   3926 	    rm -rf conftest.one conftest.two conftest.dir
   3927 	    echo one > conftest.one
   3928 	    echo two > conftest.two
   3929 	    mkdir conftest.dir
   3930 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   3931 	      test -s conftest.one && test -s conftest.two &&
   3932 	      test -s conftest.dir/conftest.one &&
   3933 	      test -s conftest.dir/conftest.two
   3934 	    then
   3935 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   3936 	      break 3
   3937 	    fi
   3938 	  fi
   3939 	fi
   3940       done
   3941     done
   3942     ;;
   3943 esac
   3944 
   3945   done
   3946 IFS=$as_save_IFS
   3947 
   3948 rm -rf conftest.one conftest.two conftest.dir
   3949  ;;
   3950 esac
   3951 fi
   3952   if test ${ac_cv_path_install+y}; then
   3953     INSTALL=$ac_cv_path_install
   3954   else
   3955     # As a last resort, use the slow shell script.  Don't cache a
   3956     # value for INSTALL within a source directory, because that will
   3957     # break other packages using the cache if that directory is
   3958     # removed, or if the value is a relative name.
   3959     INSTALL=$ac_install_sh
   3960   fi
   3961 fi
   3962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3963 printf "%s\n" "$INSTALL" >&6; }
   3964 
   3965 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3966 # It thinks the first close brace ends the variable substitution.
   3967 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3968 
   3969 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3970 
   3971 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3972 
   3973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3974 printf %s "checking whether build environment is sane... " >&6; }
   3975 # Reject unsafe characters in $srcdir or the absolute working directory
   3976 # name.  Accept space and tab only in the latter.
   3977 am_lf='
   3978 '
   3979 case `pwd` in
   3980   *[\\\"\#\$\&\'\`$am_lf]*)
   3981     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3982 esac
   3983 case $srcdir in
   3984   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3985     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   3986 esac
   3987 
   3988 # Do 'set' in a subshell so we don't clobber the current shell's
   3989 # arguments.  Must try -L first in case configure is actually a
   3990 # symlink; some systems play weird games with the mod time of symlinks
   3991 # (eg FreeBSD returns the mod time of the symlink's containing
   3992 # directory).
   3993 if (
   3994    am_has_slept=no
   3995    for am_try in 1 2; do
   3996      echo "timestamp, slept: $am_has_slept" > conftest.file
   3997      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3998      if test "$*" = "X"; then
   3999 	# -L didn't work.
   4000 	set X `ls -t "$srcdir/configure" conftest.file`
   4001      fi
   4002      if test "$*" != "X $srcdir/configure conftest.file" \
   4003 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   4004 
   4005 	# If neither matched, then we have a broken ls.  This can happen
   4006 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   4007 	# broken ls alias from the environment.  This has actually
   4008 	# happened.  Such a system could not be considered "sane".
   4009 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   4010   alias in your environment" "$LINENO" 5
   4011      fi
   4012      if test "$2" = conftest.file || test $am_try -eq 2; then
   4013        break
   4014      fi
   4015      # Just in case.
   4016      sleep 1
   4017      am_has_slept=yes
   4018    done
   4019    test "$2" = conftest.file
   4020    )
   4021 then
   4022    # Ok.
   4023    :
   4024 else
   4025    as_fn_error $? "newly created file is older than distributed files!
   4026 Check your system clock" "$LINENO" 5
   4027 fi
   4028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4029 printf "%s\n" "yes" >&6; }
   4030 # If we didn't sleep, we still need to ensure time stamps of config.status and
   4031 # generated files are strictly newer.
   4032 am_sleep_pid=
   4033 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   4034   ( sleep 1 ) &
   4035   am_sleep_pid=$!
   4036 fi
   4037 
   4038 rm -f conftest.file
   4039 
   4040 test "$program_prefix" != NONE &&
   4041   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   4042 # Use a double $ so make ignores it.
   4043 test "$program_suffix" != NONE &&
   4044   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   4045 # Double any \ or $.
   4046 # By default was 's,x,x', remove it if useless.
   4047 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   4048 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   4049 
   4050 
   4051   if test x"${MISSING+set}" != xset; then
   4052   MISSING="\${SHELL} '$am_aux_dir/missing'"
   4053 fi
   4054 # Use eval to expand $SHELL
   4055 if eval "$MISSING --is-lightweight"; then
   4056   am_missing_run="$MISSING "
   4057 else
   4058   am_missing_run=
   4059   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   4060 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   4061 fi
   4062 
   4063 if test x"${install_sh+set}" != xset; then
   4064   case $am_aux_dir in
   4065   *\ * | *\	*)
   4066     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   4067   *)
   4068     install_sh="\${SHELL} $am_aux_dir/install-sh"
   4069   esac
   4070 fi
   4071 
   4072 # Installed binaries are usually stripped using 'strip' when the user
   4073 # run "make install-strip".  However 'strip' might not be the right
   4074 # tool to use in cross-compilation environments, therefore Automake
   4075 # will honor the 'STRIP' environment variable to overrule this program.
   4076 if test "$cross_compiling" != no; then
   4077   if test -n "$ac_tool_prefix"; then
   4078   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   4079 set dummy ${ac_tool_prefix}strip; ac_word=$2
   4080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4081 printf %s "checking for $ac_word... " >&6; }
   4082 if test ${ac_cv_prog_STRIP+y}
   4083 then :
   4084   printf %s "(cached) " >&6
   4085 else case e in #(
   4086   e) if test -n "$STRIP"; then
   4087   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   4088 else
   4089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4090 for as_dir in $PATH
   4091 do
   4092   IFS=$as_save_IFS
   4093   case $as_dir in #(((
   4094     '') as_dir=./ ;;
   4095     */) ;;
   4096     *) as_dir=$as_dir/ ;;
   4097   esac
   4098     for ac_exec_ext in '' $ac_executable_extensions; do
   4099   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4100     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   4101     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4102     break 2
   4103   fi
   4104 done
   4105   done
   4106 IFS=$as_save_IFS
   4107 
   4108 fi ;;
   4109 esac
   4110 fi
   4111 STRIP=$ac_cv_prog_STRIP
   4112 if test -n "$STRIP"; then
   4113   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   4114 printf "%s\n" "$STRIP" >&6; }
   4115 else
   4116   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4117 printf "%s\n" "no" >&6; }
   4118 fi
   4119 
   4120 
   4121 fi
   4122 if test -z "$ac_cv_prog_STRIP"; then
   4123   ac_ct_STRIP=$STRIP
   4124   # Extract the first word of "strip", so it can be a program name with args.
   4125 set dummy strip; ac_word=$2
   4126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4127 printf %s "checking for $ac_word... " >&6; }
   4128 if test ${ac_cv_prog_ac_ct_STRIP+y}
   4129 then :
   4130   printf %s "(cached) " >&6
   4131 else case e in #(
   4132   e) if test -n "$ac_ct_STRIP"; then
   4133   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   4134 else
   4135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4136 for as_dir in $PATH
   4137 do
   4138   IFS=$as_save_IFS
   4139   case $as_dir in #(((
   4140     '') as_dir=./ ;;
   4141     */) ;;
   4142     *) as_dir=$as_dir/ ;;
   4143   esac
   4144     for ac_exec_ext in '' $ac_executable_extensions; do
   4145   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4146     ac_cv_prog_ac_ct_STRIP="strip"
   4147     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4148     break 2
   4149   fi
   4150 done
   4151   done
   4152 IFS=$as_save_IFS
   4153 
   4154 fi ;;
   4155 esac
   4156 fi
   4157 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   4158 if test -n "$ac_ct_STRIP"; then
   4159   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   4160 printf "%s\n" "$ac_ct_STRIP" >&6; }
   4161 else
   4162   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4163 printf "%s\n" "no" >&6; }
   4164 fi
   4165 
   4166   if test "x$ac_ct_STRIP" = x; then
   4167     STRIP=":"
   4168   else
   4169     case $cross_compiling:$ac_tool_warned in
   4170 yes:)
   4171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4172 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4173 ac_tool_warned=yes ;;
   4174 esac
   4175     STRIP=$ac_ct_STRIP
   4176   fi
   4177 else
   4178   STRIP="$ac_cv_prog_STRIP"
   4179 fi
   4180 
   4181 fi
   4182 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   4183 
   4184 
   4185   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   4186 printf %s "checking for a race-free mkdir -p... " >&6; }
   4187 if test -z "$MKDIR_P"; then
   4188   if test ${ac_cv_path_mkdir+y}
   4189 then :
   4190   printf %s "(cached) " >&6
   4191 else case e in #(
   4192   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4193 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   4194 do
   4195   IFS=$as_save_IFS
   4196   case $as_dir in #(((
   4197     '') as_dir=./ ;;
   4198     */) ;;
   4199     *) as_dir=$as_dir/ ;;
   4200   esac
   4201     for ac_prog in mkdir gmkdir; do
   4202 	 for ac_exec_ext in '' $ac_executable_extensions; do
   4203 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   4204 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   4205 	     'mkdir ('*'coreutils) '* | \
   4206 	     *'BusyBox '* | \
   4207 	     'mkdir (fileutils) '4.1*)
   4208 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   4209 	       break 3;;
   4210 	   esac
   4211 	 done
   4212        done
   4213   done
   4214 IFS=$as_save_IFS
   4215  ;;
   4216 esac
   4217 fi
   4218 
   4219   test -d ./--version && rmdir ./--version
   4220   if test ${ac_cv_path_mkdir+y}; then
   4221     MKDIR_P="$ac_cv_path_mkdir -p"
   4222   else
   4223     # As a last resort, use plain mkdir -p,
   4224     # in the hope it doesn't have the bugs of ancient mkdir.
   4225     MKDIR_P='mkdir -p'
   4226   fi
   4227 fi
   4228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   4229 printf "%s\n" "$MKDIR_P" >&6; }
   4230 
   4231 for ac_prog in gawk mawk nawk awk
   4232 do
   4233   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4234 set dummy $ac_prog; ac_word=$2
   4235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4236 printf %s "checking for $ac_word... " >&6; }
   4237 if test ${ac_cv_prog_AWK+y}
   4238 then :
   4239   printf %s "(cached) " >&6
   4240 else case e in #(
   4241   e) if test -n "$AWK"; then
   4242   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4243 else
   4244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4245 for as_dir in $PATH
   4246 do
   4247   IFS=$as_save_IFS
   4248   case $as_dir in #(((
   4249     '') as_dir=./ ;;
   4250     */) ;;
   4251     *) as_dir=$as_dir/ ;;
   4252   esac
   4253     for ac_exec_ext in '' $ac_executable_extensions; do
   4254   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4255     ac_cv_prog_AWK="$ac_prog"
   4256     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4257     break 2
   4258   fi
   4259 done
   4260   done
   4261 IFS=$as_save_IFS
   4262 
   4263 fi ;;
   4264 esac
   4265 fi
   4266 AWK=$ac_cv_prog_AWK
   4267 if test -n "$AWK"; then
   4268   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4269 printf "%s\n" "$AWK" >&6; }
   4270 else
   4271   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4272 printf "%s\n" "no" >&6; }
   4273 fi
   4274 
   4275 
   4276   test -n "$AWK" && break
   4277 done
   4278 
   4279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4280 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4281 set x ${MAKE-make}
   4282 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4283 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   4284 then :
   4285   printf %s "(cached) " >&6
   4286 else case e in #(
   4287   e) cat >conftest.make <<\_ACEOF
   4288 SHELL = /bin/sh
   4289 all:
   4290 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4291 _ACEOF
   4292 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4293 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4294   *@@@%%%=?*=@@@%%%*)
   4295     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4296   *)
   4297     eval ac_cv_prog_make_${ac_make}_set=no;;
   4298 esac
   4299 rm -f conftest.make ;;
   4300 esac
   4301 fi
   4302 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4303   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4304 printf "%s\n" "yes" >&6; }
   4305   SET_MAKE=
   4306 else
   4307   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4308 printf "%s\n" "no" >&6; }
   4309   SET_MAKE="MAKE=${MAKE-make}"
   4310 fi
   4311 
   4312 rm -rf .tst 2>/dev/null
   4313 mkdir .tst 2>/dev/null
   4314 if test -d .tst; then
   4315   am__leading_dot=.
   4316 else
   4317   am__leading_dot=_
   4318 fi
   4319 rmdir .tst 2>/dev/null
   4320 
   4321 DEPDIR="${am__leading_dot}deps"
   4322 
   4323 ac_config_commands="$ac_config_commands depfiles"
   4324 
   4325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   4326 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   4327 cat > confinc.mk << 'END'
   4328 am__doit:
   4329 	@echo this is the am__doit target >confinc.out
   4330 .PHONY: am__doit
   4331 END
   4332 am__include="#"
   4333 am__quote=
   4334 # BSD make does it like this.
   4335 echo '.include "confinc.mk" # ignored' > confmf.BSD
   4336 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   4337 echo 'include confinc.mk # ignored' > confmf.GNU
   4338 _am_result=no
   4339 for s in GNU BSD; do
   4340   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   4341    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   4342    ac_status=$?
   4343    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4344    (exit $ac_status); }
   4345   case $?:`cat confinc.out 2>/dev/null` in #(
   4346   '0:this is the am__doit target') :
   4347     case $s in #(
   4348   BSD) :
   4349     am__include='.include' am__quote='"' ;; #(
   4350   *) :
   4351     am__include='include' am__quote='' ;;
   4352 esac ;; #(
   4353   *) :
   4354      ;;
   4355 esac
   4356   if test "$am__include" != "#"; then
   4357     _am_result="yes ($s style)"
   4358     break
   4359   fi
   4360 done
   4361 rm -f confinc.* confmf.*
   4362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   4363 printf "%s\n" "${_am_result}" >&6; }
   4364 
   4365 # Check whether --enable-dependency-tracking was given.
   4366 if test ${enable_dependency_tracking+y}
   4367 then :
   4368   enableval=$enable_dependency_tracking;
   4369 fi
   4370 
   4371 if test "x$enable_dependency_tracking" != xno; then
   4372   am_depcomp="$ac_aux_dir/depcomp"
   4373   AMDEPBACKSLASH='\'
   4374   am__nodep='_no'
   4375 fi
   4376  if test "x$enable_dependency_tracking" != xno; then
   4377   AMDEP_TRUE=
   4378   AMDEP_FALSE='#'
   4379 else
   4380   AMDEP_TRUE='#'
   4381   AMDEP_FALSE=
   4382 fi
   4383 
   4384 
   4385 # Check whether --enable-silent-rules was given.
   4386 if test ${enable_silent_rules+y}
   4387 then :
   4388   enableval=$enable_silent_rules;
   4389 fi
   4390 
   4391 case $enable_silent_rules in # (((
   4392   yes) AM_DEFAULT_VERBOSITY=0;;
   4393    no) AM_DEFAULT_VERBOSITY=1;;
   4394     *) AM_DEFAULT_VERBOSITY=1;;
   4395 esac
   4396 am_make=${MAKE-make}
   4397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4398 printf %s "checking whether $am_make supports nested variables... " >&6; }
   4399 if test ${am_cv_make_support_nested_variables+y}
   4400 then :
   4401   printf %s "(cached) " >&6
   4402 else case e in #(
   4403   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   4404 BAR0=false
   4405 BAR1=true
   4406 V=1
   4407 am__doit:
   4408 	@$(TRUE)
   4409 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4410   am_cv_make_support_nested_variables=yes
   4411 else
   4412   am_cv_make_support_nested_variables=no
   4413 fi ;;
   4414 esac
   4415 fi
   4416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4417 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   4418 if test $am_cv_make_support_nested_variables = yes; then
   4419     AM_V='$(V)'
   4420   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   4421 else
   4422   AM_V=$AM_DEFAULT_VERBOSITY
   4423   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   4424 fi
   4425 AM_BACKSLASH='\'
   4426 
   4427 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4428   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4429   # is not polluted with repeated "-I."
   4430   am__isrc=' -I$(srcdir)'
   4431   # test to see if srcdir already configured
   4432   if test -f $srcdir/config.status; then
   4433     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4434   fi
   4435 fi
   4436 
   4437 # test whether we have cygpath
   4438 if test -z "$CYGPATH_W"; then
   4439   if (cygpath --version) >/dev/null 2>/dev/null; then
   4440     CYGPATH_W='cygpath -w'
   4441   else
   4442     CYGPATH_W=echo
   4443   fi
   4444 fi
   4445 
   4446 
   4447 # Define the identity of the package.
   4448  PACKAGE='xload'
   4449  VERSION='1.2.0'
   4450 
   4451 
   4452 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   4453 
   4454 
   4455 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   4456 
   4457 # Some tools Automake needs.
   4458 
   4459 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4460 
   4461 
   4462 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4463 
   4464 
   4465 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4466 
   4467 
   4468 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4469 
   4470 
   4471 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4472 
   4473 # For better backward compatibility.  To be removed once Automake 1.9.x
   4474 # dies out for good.  For more background, see:
   4475 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4476 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4477 mkdir_p='$(MKDIR_P)'
   4478 
   4479 # We need awk for the "check" target (and possibly the TAP driver).  The
   4480 # system "awk" is bad on some platforms.
   4481 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4482 # in the wild :-(  We should find a proper way to deprecate it ...
   4483 AMTAR='$${TAR-tar}'
   4484 
   4485 
   4486 # We'll loop over all known methods to create a tar archive until one works.
   4487 _am_tools='gnutar  pax cpio none'
   4488 
   4489 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   4490 
   4491 
   4492 
   4493 
   4494 
   4495 depcc="$CC"   am_compiler_list=
   4496 
   4497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4498 printf %s "checking dependency style of $depcc... " >&6; }
   4499 if test ${am_cv_CC_dependencies_compiler_type+y}
   4500 then :
   4501   printf %s "(cached) " >&6
   4502 else case e in #(
   4503   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4504   # We make a subdir and do the tests there.  Otherwise we can end up
   4505   # making bogus files that we don't know about and never remove.  For
   4506   # instance it was reported that on HP-UX the gcc test will end up
   4507   # making a dummy file named 'D' -- because '-MD' means "put the output
   4508   # in D".
   4509   rm -rf conftest.dir
   4510   mkdir conftest.dir
   4511   # Copy depcomp to subdir because otherwise we won't find it if we're
   4512   # using a relative directory.
   4513   cp "$am_depcomp" conftest.dir
   4514   cd conftest.dir
   4515   # We will build objects and dependencies in a subdirectory because
   4516   # it helps to detect inapplicable dependency modes.  For instance
   4517   # both Tru64's cc and ICC support -MD to output dependencies as a
   4518   # side effect of compilation, but ICC will put the dependencies in
   4519   # the current directory while Tru64 will put them in the object
   4520   # directory.
   4521   mkdir sub
   4522 
   4523   am_cv_CC_dependencies_compiler_type=none
   4524   if test "$am_compiler_list" = ""; then
   4525      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4526   fi
   4527   am__universal=false
   4528   case " $depcc " in #(
   4529      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4530      esac
   4531 
   4532   for depmode in $am_compiler_list; do
   4533     # Setup a source with many dependencies, because some compilers
   4534     # like to wrap large dependency lists on column 80 (with \), and
   4535     # we should not choose a depcomp mode which is confused by this.
   4536     #
   4537     # We need to recreate these files for each test, as the compiler may
   4538     # overwrite some of them when testing with obscure command lines.
   4539     # This happens at least with the AIX C compiler.
   4540     : > sub/conftest.c
   4541     for i in 1 2 3 4 5 6; do
   4542       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4543       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4544       # Solaris 10 /bin/sh.
   4545       echo '/* dummy */' > sub/conftst$i.h
   4546     done
   4547     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4548 
   4549     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4550     # mode.  It turns out that the SunPro C++ compiler does not properly
   4551     # handle '-M -o', and we need to detect this.  Also, some Intel
   4552     # versions had trouble with output in subdirs.
   4553     am__obj=sub/conftest.${OBJEXT-o}
   4554     am__minus_obj="-o $am__obj"
   4555     case $depmode in
   4556     gcc)
   4557       # This depmode causes a compiler race in universal mode.
   4558       test "$am__universal" = false || continue
   4559       ;;
   4560     nosideeffect)
   4561       # After this tag, mechanisms are not by side-effect, so they'll
   4562       # only be used when explicitly requested.
   4563       if test "x$enable_dependency_tracking" = xyes; then
   4564 	continue
   4565       else
   4566 	break
   4567       fi
   4568       ;;
   4569     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4570       # This compiler won't grok '-c -o', but also, the minuso test has
   4571       # not run yet.  These depmodes are late enough in the game, and
   4572       # so weak that their functioning should not be impacted.
   4573       am__obj=conftest.${OBJEXT-o}
   4574       am__minus_obj=
   4575       ;;
   4576     none) break ;;
   4577     esac
   4578     if depmode=$depmode \
   4579        source=sub/conftest.c object=$am__obj \
   4580        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4581        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4582          >/dev/null 2>conftest.err &&
   4583        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4584        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4585        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4586        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4587       # icc doesn't choke on unknown options, it will just issue warnings
   4588       # or remarks (even with -Werror).  So we grep stderr for any message
   4589       # that says an option was ignored or not supported.
   4590       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4591       #   icc: Command line warning: ignoring option '-M'; no argument required
   4592       # The diagnosis changed in icc 8.0:
   4593       #   icc: Command line remark: option '-MP' not supported
   4594       if (grep 'ignoring option' conftest.err ||
   4595           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4596         am_cv_CC_dependencies_compiler_type=$depmode
   4597         break
   4598       fi
   4599     fi
   4600   done
   4601 
   4602   cd ..
   4603   rm -rf conftest.dir
   4604 else
   4605   am_cv_CC_dependencies_compiler_type=none
   4606 fi
   4607  ;;
   4608 esac
   4609 fi
   4610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4611 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4612 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4613 
   4614  if
   4615   test "x$enable_dependency_tracking" != xno \
   4616   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4617   am__fastdepCC_TRUE=
   4618   am__fastdepCC_FALSE='#'
   4619 else
   4620   am__fastdepCC_TRUE='#'
   4621   am__fastdepCC_FALSE=
   4622 fi
   4623 
   4624 
   4625 # Variables for tags utilities; see am/tags.am
   4626 if test -z "$CTAGS"; then
   4627   CTAGS=ctags
   4628 fi
   4629 
   4630 if test -z "$ETAGS"; then
   4631   ETAGS=etags
   4632 fi
   4633 
   4634 if test -z "$CSCOPE"; then
   4635   CSCOPE=cscope
   4636 fi
   4637 
   4638 
   4639 
   4640 # POSIX will say in a future version that running "rm -f" with no argument
   4641 # is OK; and we want to be able to make that assumption in our Makefile
   4642 # recipes.  So use an aggressive probe to check that the usage we want is
   4643 # actually supported "in the wild" to an acceptable degree.
   4644 # See automake bug#10828.
   4645 # To make any issue more visible, cause the running configure to be aborted
   4646 # by default if the 'rm' program in use doesn't match our expectations; the
   4647 # user can still override this though.
   4648 if rm -f && rm -fr && rm -rf; then : OK; else
   4649   cat >&2 <<'END'
   4650 Oops!
   4651 
   4652 Your 'rm' program seems unable to run without file operands specified
   4653 on the command line, even when the '-f' option is present.  This is contrary
   4654 to the behaviour of most rm programs out there, and not conforming with
   4655 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   4656 
   4657 Please tell bug-automake@gnu.org about your system, including the value
   4658 of your $PATH and any error possibly output before this message.  This
   4659 can help us improve future automake versions.
   4660 
   4661 END
   4662   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   4663     echo 'Configuration will proceed anyway, since you have set the' >&2
   4664     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   4665     echo >&2
   4666   else
   4667     cat >&2 <<'END'
   4668 Aborting the configuration process, to ensure you take notice of the issue.
   4669 
   4670 You can download and install GNU coreutils to get an 'rm' implementation
   4671 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   4672 
   4673 If you want to complete the configuration process using your problematic
   4674 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   4675 to "yes", and re-run configure.
   4676 
   4677 END
   4678     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   4679   fi
   4680 fi
   4681 
   4682 
   4683 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   4684 
   4685 
   4686 
   4687 
   4688 
   4689 
   4690 
   4691 
   4692 
   4693 
   4694 
   4695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4696 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4697 if test ${ac_cv_c_undeclared_builtin_options+y}
   4698 then :
   4699   printf %s "(cached) " >&6
   4700 else case e in #(
   4701   e) ac_save_CFLAGS=$CFLAGS
   4702    ac_cv_c_undeclared_builtin_options='cannot detect'
   4703    for ac_arg in '' -fno-builtin; do
   4704      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4705      # This test program should *not* compile successfully.
   4706      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4707 /* end confdefs.h.  */
   4708 
   4709 int
   4710 main (void)
   4711 {
   4712 (void) strchr;
   4713   ;
   4714   return 0;
   4715 }
   4716 _ACEOF
   4717 if ac_fn_c_try_compile "$LINENO"
   4718 then :
   4719 
   4720 else case e in #(
   4721   e) # This test program should compile successfully.
   4722         # No library function is consistently available on
   4723         # freestanding implementations, so test against a dummy
   4724         # declaration.  Include always-available headers on the
   4725         # off chance that they somehow elicit warnings.
   4726         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4727 /* end confdefs.h.  */
   4728 #include <float.h>
   4729 #include <limits.h>
   4730 #include <stdarg.h>
   4731 #include <stddef.h>
   4732 extern void ac_decl (int, char *);
   4733 
   4734 int
   4735 main (void)
   4736 {
   4737 (void) ac_decl (0, (char *) 0);
   4738   (void) ac_decl;
   4739 
   4740   ;
   4741   return 0;
   4742 }
   4743 _ACEOF
   4744 if ac_fn_c_try_compile "$LINENO"
   4745 then :
   4746   if test x"$ac_arg" = x
   4747 then :
   4748   ac_cv_c_undeclared_builtin_options='none needed'
   4749 else case e in #(
   4750   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   4751 esac
   4752 fi
   4753           break
   4754 fi
   4755 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4756 esac
   4757 fi
   4758 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4759     done
   4760     CFLAGS=$ac_save_CFLAGS
   4761    ;;
   4762 esac
   4763 fi
   4764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4765 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4766   case $ac_cv_c_undeclared_builtin_options in #(
   4767   'cannot detect') :
   4768     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4769 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4770 as_fn_error $? "cannot make $CC report undeclared builtins
   4771 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   4772   'none needed') :
   4773     ac_c_undeclared_builtin_options='' ;; #(
   4774   *) :
   4775     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4776 esac
   4777 
   4778 
   4779 
   4780 
   4781 
   4782 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4783 if test "x$ac_cv_have_decl___clang__" = xyes
   4784 then :
   4785   CLANGCC="yes"
   4786 else case e in #(
   4787   e) CLANGCC="no" ;;
   4788 esac
   4789 fi
   4790 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4791 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4792 then :
   4793   INTELCC="yes"
   4794 else case e in #(
   4795   e) INTELCC="no" ;;
   4796 esac
   4797 fi
   4798 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4799 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4800 then :
   4801   SUNCC="yes"
   4802 else case e in #(
   4803   e) SUNCC="no" ;;
   4804 esac
   4805 fi
   4806 
   4807 
   4808 
   4809 
   4810 
   4811 
   4812 
   4813 
   4814 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4815 	if test -n "$ac_tool_prefix"; then
   4816   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4817 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4819 printf %s "checking for $ac_word... " >&6; }
   4820 if test ${ac_cv_path_PKG_CONFIG+y}
   4821 then :
   4822   printf %s "(cached) " >&6
   4823 else case e in #(
   4824   e) case $PKG_CONFIG in
   4825   [\\/]* | ?:[\\/]*)
   4826   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4827   ;;
   4828   *)
   4829   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4830 for as_dir in $PATH
   4831 do
   4832   IFS=$as_save_IFS
   4833   case $as_dir in #(((
   4834     '') as_dir=./ ;;
   4835     */) ;;
   4836     *) as_dir=$as_dir/ ;;
   4837   esac
   4838     for ac_exec_ext in '' $ac_executable_extensions; do
   4839   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4840     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4841     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4842     break 2
   4843   fi
   4844 done
   4845   done
   4846 IFS=$as_save_IFS
   4847 
   4848   ;;
   4849 esac ;;
   4850 esac
   4851 fi
   4852 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4853 if test -n "$PKG_CONFIG"; then
   4854   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4855 printf "%s\n" "$PKG_CONFIG" >&6; }
   4856 else
   4857   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4858 printf "%s\n" "no" >&6; }
   4859 fi
   4860 
   4861 
   4862 fi
   4863 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4864   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4865   # Extract the first word of "pkg-config", so it can be a program name with args.
   4866 set dummy pkg-config; ac_word=$2
   4867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4868 printf %s "checking for $ac_word... " >&6; }
   4869 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4870 then :
   4871   printf %s "(cached) " >&6
   4872 else case e in #(
   4873   e) case $ac_pt_PKG_CONFIG in
   4874   [\\/]* | ?:[\\/]*)
   4875   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4876   ;;
   4877   *)
   4878   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4879 for as_dir in $PATH
   4880 do
   4881   IFS=$as_save_IFS
   4882   case $as_dir in #(((
   4883     '') as_dir=./ ;;
   4884     */) ;;
   4885     *) as_dir=$as_dir/ ;;
   4886   esac
   4887     for ac_exec_ext in '' $ac_executable_extensions; do
   4888   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4889     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4890     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4891     break 2
   4892   fi
   4893 done
   4894   done
   4895 IFS=$as_save_IFS
   4896 
   4897   ;;
   4898 esac ;;
   4899 esac
   4900 fi
   4901 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4902 if test -n "$ac_pt_PKG_CONFIG"; then
   4903   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4904 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4905 else
   4906   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4907 printf "%s\n" "no" >&6; }
   4908 fi
   4909 
   4910   if test "x$ac_pt_PKG_CONFIG" = x; then
   4911     PKG_CONFIG=""
   4912   else
   4913     case $cross_compiling:$ac_tool_warned in
   4914 yes:)
   4915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4916 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4917 ac_tool_warned=yes ;;
   4918 esac
   4919     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4920   fi
   4921 else
   4922   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4923 fi
   4924 
   4925 fi
   4926 if test -n "$PKG_CONFIG"; then
   4927 	_pkg_min_version=0.9.0
   4928 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4929 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4930 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4931 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4932 printf "%s\n" "yes" >&6; }
   4933 	else
   4934 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4935 printf "%s\n" "no" >&6; }
   4936 		PKG_CONFIG=""
   4937 	fi
   4938 fi
   4939 
   4940 
   4941   # Make sure we can run config.sub.
   4942 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4943   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4944 
   4945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4946 printf %s "checking build system type... " >&6; }
   4947 if test ${ac_cv_build+y}
   4948 then :
   4949   printf %s "(cached) " >&6
   4950 else case e in #(
   4951   e) ac_build_alias=$build_alias
   4952 test "x$ac_build_alias" = x &&
   4953   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4954 test "x$ac_build_alias" = x &&
   4955   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4956 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4957   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4958  ;;
   4959 esac
   4960 fi
   4961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4962 printf "%s\n" "$ac_cv_build" >&6; }
   4963 case $ac_cv_build in
   4964 *-*-*) ;;
   4965 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4966 esac
   4967 build=$ac_cv_build
   4968 ac_save_IFS=$IFS; IFS='-'
   4969 set x $ac_cv_build
   4970 shift
   4971 build_cpu=$1
   4972 build_vendor=$2
   4973 shift; shift
   4974 # Remember, the first character of IFS is used to create $*,
   4975 # except with old shells:
   4976 build_os=$*
   4977 IFS=$ac_save_IFS
   4978 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4979 
   4980 
   4981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4982 printf %s "checking host system type... " >&6; }
   4983 if test ${ac_cv_host+y}
   4984 then :
   4985   printf %s "(cached) " >&6
   4986 else case e in #(
   4987   e) if test "x$host_alias" = x; then
   4988   ac_cv_host=$ac_cv_build
   4989 else
   4990   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4991     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4992 fi
   4993  ;;
   4994 esac
   4995 fi
   4996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4997 printf "%s\n" "$ac_cv_host" >&6; }
   4998 case $ac_cv_host in
   4999 *-*-*) ;;
   5000 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   5001 esac
   5002 host=$ac_cv_host
   5003 ac_save_IFS=$IFS; IFS='-'
   5004 set x $ac_cv_host
   5005 shift
   5006 host_cpu=$1
   5007 host_vendor=$2
   5008 shift; shift
   5009 # Remember, the first character of IFS is used to create $*,
   5010 # except with old shells:
   5011 host_os=$*
   5012 IFS=$ac_save_IFS
   5013 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   5014 
   5015 
   5016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5017 printf %s "checking for a sed that does not truncate output... " >&6; }
   5018 if test ${ac_cv_path_SED+y}
   5019 then :
   5020   printf %s "(cached) " >&6
   5021 else case e in #(
   5022   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5023      for ac_i in 1 2 3 4 5 6 7; do
   5024        ac_script="$ac_script$as_nl$ac_script"
   5025      done
   5026      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5027      { ac_script=; unset ac_script;}
   5028      if test -z "$SED"; then
   5029   ac_path_SED_found=false
   5030   # Loop through the user's path and test for each of PROGNAME-LIST
   5031   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5032 for as_dir in $PATH
   5033 do
   5034   IFS=$as_save_IFS
   5035   case $as_dir in #(((
   5036     '') as_dir=./ ;;
   5037     */) ;;
   5038     *) as_dir=$as_dir/ ;;
   5039   esac
   5040     for ac_prog in sed gsed
   5041    do
   5042     for ac_exec_ext in '' $ac_executable_extensions; do
   5043       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5044       as_fn_executable_p "$ac_path_SED" || continue
   5045 # Check for GNU ac_path_SED and select it if it is found.
   5046   # Check for GNU $ac_path_SED
   5047 case `"$ac_path_SED" --version 2>&1` in #(
   5048 *GNU*)
   5049   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5050 #(
   5051 *)
   5052   ac_count=0
   5053   printf %s 0123456789 >"conftest.in"
   5054   while :
   5055   do
   5056     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5057     mv "conftest.tmp" "conftest.in"
   5058     cp "conftest.in" "conftest.nl"
   5059     printf "%s\n" '' >> "conftest.nl"
   5060     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5061     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5062     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5063     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5064       # Best one so far, save it but keep looking for a better one
   5065       ac_cv_path_SED="$ac_path_SED"
   5066       ac_path_SED_max=$ac_count
   5067     fi
   5068     # 10*(2^10) chars as input seems more than enough
   5069     test $ac_count -gt 10 && break
   5070   done
   5071   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5072 esac
   5073 
   5074       $ac_path_SED_found && break 3
   5075     done
   5076   done
   5077   done
   5078 IFS=$as_save_IFS
   5079   if test -z "$ac_cv_path_SED"; then
   5080     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5081   fi
   5082 else
   5083   ac_cv_path_SED=$SED
   5084 fi
   5085  ;;
   5086 esac
   5087 fi
   5088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5089 printf "%s\n" "$ac_cv_path_SED" >&6; }
   5090  SED="$ac_cv_path_SED"
   5091   rm -f conftest.sed
   5092 
   5093 
   5094 
   5095 
   5096 
   5097 
   5098 # Check whether --enable-selective-werror was given.
   5099 if test ${enable_selective_werror+y}
   5100 then :
   5101   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   5102 else case e in #(
   5103   e) SELECTIVE_WERROR=yes ;;
   5104 esac
   5105 fi
   5106 
   5107 
   5108 
   5109 
   5110 
   5111 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5112 if test "x$SUNCC" = "xyes"; then
   5113     BASE_CFLAGS="-v"
   5114 else
   5115     BASE_CFLAGS=""
   5116 fi
   5117 
   5118 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5119 
   5120 
   5121 
   5122 
   5123 
   5124 
   5125 
   5126 
   5127 
   5128 
   5129 
   5130 
   5131 
   5132 xorg_testset_save_CFLAGS="$CFLAGS"
   5133 
   5134 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5135 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5136 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5137 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5138 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5139 then :
   5140   printf %s "(cached) " >&6
   5141 else case e in #(
   5142   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5143 /* end confdefs.h.  */
   5144 int i;
   5145 _ACEOF
   5146 if ac_fn_c_try_compile "$LINENO"
   5147 then :
   5148   xorg_cv_cc_flag_unknown_warning_option=yes
   5149 else case e in #(
   5150   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5151 esac
   5152 fi
   5153 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5154 esac
   5155 fi
   5156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5157 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5158 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5159 	CFLAGS="$xorg_testset_save_CFLAGS"
   5160 fi
   5161 
   5162 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5163 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5164 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5165 	fi
   5166 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5167 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5168 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5169 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5170 then :
   5171   printf %s "(cached) " >&6
   5172 else case e in #(
   5173   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5174 /* end confdefs.h.  */
   5175 int i;
   5176 _ACEOF
   5177 if ac_fn_c_try_compile "$LINENO"
   5178 then :
   5179   xorg_cv_cc_flag_unused_command_line_argument=yes
   5180 else case e in #(
   5181   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5182 esac
   5183 fi
   5184 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5185 esac
   5186 fi
   5187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5188 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5189 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5190 	CFLAGS="$xorg_testset_save_CFLAGS"
   5191 fi
   5192 
   5193 found="no"
   5194 
   5195 	if test $found = "no" ; then
   5196 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5197 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5198 		fi
   5199 
   5200 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5201 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5202 		fi
   5203 
   5204 		CFLAGS="$CFLAGS -Wall"
   5205 
   5206 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5207 printf %s "checking if $CC supports -Wall... " >&6; }
   5208 		cacheid=xorg_cv_cc_flag__Wall
   5209 		if eval test \${$cacheid+y}
   5210 then :
   5211   printf %s "(cached) " >&6
   5212 else case e in #(
   5213   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5214 /* end confdefs.h.  */
   5215 int i;
   5216 int
   5217 main (void)
   5218 {
   5219 
   5220   ;
   5221   return 0;
   5222 }
   5223 _ACEOF
   5224 if ac_fn_c_try_link "$LINENO"
   5225 then :
   5226   eval $cacheid=yes
   5227 else case e in #(
   5228   e) eval $cacheid=no ;;
   5229 esac
   5230 fi
   5231 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5232     conftest$ac_exeext conftest.$ac_ext ;;
   5233 esac
   5234 fi
   5235 
   5236 
   5237 		CFLAGS="$xorg_testset_save_CFLAGS"
   5238 
   5239 		eval supported=\$$cacheid
   5240 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5241 printf "%s\n" "$supported" >&6; }
   5242 		if test "$supported" = "yes" ; then
   5243 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5244 			found="yes"
   5245 		fi
   5246 	fi
   5247 
   5248 
   5249 
   5250 
   5251 
   5252 
   5253 
   5254 
   5255 
   5256 
   5257 
   5258 
   5259 
   5260 
   5261 
   5262 xorg_testset_save_CFLAGS="$CFLAGS"
   5263 
   5264 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5265 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5266 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5267 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5268 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5269 then :
   5270   printf %s "(cached) " >&6
   5271 else case e in #(
   5272   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5273 /* end confdefs.h.  */
   5274 int i;
   5275 _ACEOF
   5276 if ac_fn_c_try_compile "$LINENO"
   5277 then :
   5278   xorg_cv_cc_flag_unknown_warning_option=yes
   5279 else case e in #(
   5280   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5281 esac
   5282 fi
   5283 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5284 esac
   5285 fi
   5286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5287 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5288 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5289 	CFLAGS="$xorg_testset_save_CFLAGS"
   5290 fi
   5291 
   5292 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5293 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5294 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5295 	fi
   5296 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5297 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5298 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5299 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5300 then :
   5301   printf %s "(cached) " >&6
   5302 else case e in #(
   5303   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5304 /* end confdefs.h.  */
   5305 int i;
   5306 _ACEOF
   5307 if ac_fn_c_try_compile "$LINENO"
   5308 then :
   5309   xorg_cv_cc_flag_unused_command_line_argument=yes
   5310 else case e in #(
   5311   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5312 esac
   5313 fi
   5314 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5315 esac
   5316 fi
   5317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5318 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5319 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5320 	CFLAGS="$xorg_testset_save_CFLAGS"
   5321 fi
   5322 
   5323 found="no"
   5324 
   5325 	if test $found = "no" ; then
   5326 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5327 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5328 		fi
   5329 
   5330 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5331 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5332 		fi
   5333 
   5334 		CFLAGS="$CFLAGS -Wpointer-arith"
   5335 
   5336 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5337 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5338 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5339 		if eval test \${$cacheid+y}
   5340 then :
   5341   printf %s "(cached) " >&6
   5342 else case e in #(
   5343   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5344 /* end confdefs.h.  */
   5345 int i;
   5346 int
   5347 main (void)
   5348 {
   5349 
   5350   ;
   5351   return 0;
   5352 }
   5353 _ACEOF
   5354 if ac_fn_c_try_link "$LINENO"
   5355 then :
   5356   eval $cacheid=yes
   5357 else case e in #(
   5358   e) eval $cacheid=no ;;
   5359 esac
   5360 fi
   5361 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5362     conftest$ac_exeext conftest.$ac_ext ;;
   5363 esac
   5364 fi
   5365 
   5366 
   5367 		CFLAGS="$xorg_testset_save_CFLAGS"
   5368 
   5369 		eval supported=\$$cacheid
   5370 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5371 printf "%s\n" "$supported" >&6; }
   5372 		if test "$supported" = "yes" ; then
   5373 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5374 			found="yes"
   5375 		fi
   5376 	fi
   5377 
   5378 
   5379 
   5380 
   5381 
   5382 
   5383 
   5384 
   5385 
   5386 
   5387 
   5388 
   5389 
   5390 
   5391 
   5392 xorg_testset_save_CFLAGS="$CFLAGS"
   5393 
   5394 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5395 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5396 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5397 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5398 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5399 then :
   5400   printf %s "(cached) " >&6
   5401 else case e in #(
   5402   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5403 /* end confdefs.h.  */
   5404 int i;
   5405 _ACEOF
   5406 if ac_fn_c_try_compile "$LINENO"
   5407 then :
   5408   xorg_cv_cc_flag_unknown_warning_option=yes
   5409 else case e in #(
   5410   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5411 esac
   5412 fi
   5413 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5414 esac
   5415 fi
   5416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5417 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5418 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5419 	CFLAGS="$xorg_testset_save_CFLAGS"
   5420 fi
   5421 
   5422 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5423 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5424 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5425 	fi
   5426 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5427 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5428 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5429 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5430 then :
   5431   printf %s "(cached) " >&6
   5432 else case e in #(
   5433   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5434 /* end confdefs.h.  */
   5435 int i;
   5436 _ACEOF
   5437 if ac_fn_c_try_compile "$LINENO"
   5438 then :
   5439   xorg_cv_cc_flag_unused_command_line_argument=yes
   5440 else case e in #(
   5441   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5442 esac
   5443 fi
   5444 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5445 esac
   5446 fi
   5447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5448 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5449 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5450 	CFLAGS="$xorg_testset_save_CFLAGS"
   5451 fi
   5452 
   5453 found="no"
   5454 
   5455 	if test $found = "no" ; then
   5456 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5457 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5458 		fi
   5459 
   5460 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5461 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5462 		fi
   5463 
   5464 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5465 
   5466 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5467 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5468 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5469 		if eval test \${$cacheid+y}
   5470 then :
   5471   printf %s "(cached) " >&6
   5472 else case e in #(
   5473   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5474 /* end confdefs.h.  */
   5475 int i;
   5476 int
   5477 main (void)
   5478 {
   5479 
   5480   ;
   5481   return 0;
   5482 }
   5483 _ACEOF
   5484 if ac_fn_c_try_link "$LINENO"
   5485 then :
   5486   eval $cacheid=yes
   5487 else case e in #(
   5488   e) eval $cacheid=no ;;
   5489 esac
   5490 fi
   5491 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5492     conftest$ac_exeext conftest.$ac_ext ;;
   5493 esac
   5494 fi
   5495 
   5496 
   5497 		CFLAGS="$xorg_testset_save_CFLAGS"
   5498 
   5499 		eval supported=\$$cacheid
   5500 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5501 printf "%s\n" "$supported" >&6; }
   5502 		if test "$supported" = "yes" ; then
   5503 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5504 			found="yes"
   5505 		fi
   5506 	fi
   5507 
   5508 
   5509 
   5510 
   5511 
   5512 
   5513 
   5514 
   5515 
   5516 
   5517 
   5518 
   5519 
   5520 
   5521 
   5522 xorg_testset_save_CFLAGS="$CFLAGS"
   5523 
   5524 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5525 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5526 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5527 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5528 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5529 then :
   5530   printf %s "(cached) " >&6
   5531 else case e in #(
   5532   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5533 /* end confdefs.h.  */
   5534 int i;
   5535 _ACEOF
   5536 if ac_fn_c_try_compile "$LINENO"
   5537 then :
   5538   xorg_cv_cc_flag_unknown_warning_option=yes
   5539 else case e in #(
   5540   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5541 esac
   5542 fi
   5543 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5544 esac
   5545 fi
   5546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5547 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5548 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5549 	CFLAGS="$xorg_testset_save_CFLAGS"
   5550 fi
   5551 
   5552 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5553 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5554 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5555 	fi
   5556 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5557 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5558 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5559 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5560 then :
   5561   printf %s "(cached) " >&6
   5562 else case e in #(
   5563   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5564 /* end confdefs.h.  */
   5565 int i;
   5566 _ACEOF
   5567 if ac_fn_c_try_compile "$LINENO"
   5568 then :
   5569   xorg_cv_cc_flag_unused_command_line_argument=yes
   5570 else case e in #(
   5571   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5572 esac
   5573 fi
   5574 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5575 esac
   5576 fi
   5577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5578 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5579 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5580 	CFLAGS="$xorg_testset_save_CFLAGS"
   5581 fi
   5582 
   5583 found="no"
   5584 
   5585 	if test $found = "no" ; then
   5586 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5587 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5588 		fi
   5589 
   5590 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5591 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5592 		fi
   5593 
   5594 		CFLAGS="$CFLAGS -Wformat=2"
   5595 
   5596 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5597 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5598 		cacheid=xorg_cv_cc_flag__Wformat_2
   5599 		if eval test \${$cacheid+y}
   5600 then :
   5601   printf %s "(cached) " >&6
   5602 else case e in #(
   5603   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5604 /* end confdefs.h.  */
   5605 int i;
   5606 int
   5607 main (void)
   5608 {
   5609 
   5610   ;
   5611   return 0;
   5612 }
   5613 _ACEOF
   5614 if ac_fn_c_try_link "$LINENO"
   5615 then :
   5616   eval $cacheid=yes
   5617 else case e in #(
   5618   e) eval $cacheid=no ;;
   5619 esac
   5620 fi
   5621 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5622     conftest$ac_exeext conftest.$ac_ext ;;
   5623 esac
   5624 fi
   5625 
   5626 
   5627 		CFLAGS="$xorg_testset_save_CFLAGS"
   5628 
   5629 		eval supported=\$$cacheid
   5630 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5631 printf "%s\n" "$supported" >&6; }
   5632 		if test "$supported" = "yes" ; then
   5633 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5634 			found="yes"
   5635 		fi
   5636 	fi
   5637 
   5638 	if test $found = "no" ; then
   5639 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5640 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5641 		fi
   5642 
   5643 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5644 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5645 		fi
   5646 
   5647 		CFLAGS="$CFLAGS -Wformat"
   5648 
   5649 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5650 printf %s "checking if $CC supports -Wformat... " >&6; }
   5651 		cacheid=xorg_cv_cc_flag__Wformat
   5652 		if eval test \${$cacheid+y}
   5653 then :
   5654   printf %s "(cached) " >&6
   5655 else case e in #(
   5656   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5657 /* end confdefs.h.  */
   5658 int i;
   5659 int
   5660 main (void)
   5661 {
   5662 
   5663   ;
   5664   return 0;
   5665 }
   5666 _ACEOF
   5667 if ac_fn_c_try_link "$LINENO"
   5668 then :
   5669   eval $cacheid=yes
   5670 else case e in #(
   5671   e) eval $cacheid=no ;;
   5672 esac
   5673 fi
   5674 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5675     conftest$ac_exeext conftest.$ac_ext ;;
   5676 esac
   5677 fi
   5678 
   5679 
   5680 		CFLAGS="$xorg_testset_save_CFLAGS"
   5681 
   5682 		eval supported=\$$cacheid
   5683 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5684 printf "%s\n" "$supported" >&6; }
   5685 		if test "$supported" = "yes" ; then
   5686 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5687 			found="yes"
   5688 		fi
   5689 	fi
   5690 
   5691 
   5692 
   5693 
   5694 
   5695 
   5696 
   5697 
   5698 
   5699 
   5700 
   5701 
   5702 
   5703 
   5704 
   5705 
   5706 
   5707 xorg_testset_save_CFLAGS="$CFLAGS"
   5708 
   5709 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5710 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5711 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5712 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5713 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5714 then :
   5715   printf %s "(cached) " >&6
   5716 else case e in #(
   5717   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5718 /* end confdefs.h.  */
   5719 int i;
   5720 _ACEOF
   5721 if ac_fn_c_try_compile "$LINENO"
   5722 then :
   5723   xorg_cv_cc_flag_unknown_warning_option=yes
   5724 else case e in #(
   5725   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5726 esac
   5727 fi
   5728 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5729 esac
   5730 fi
   5731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5732 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5733 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5734 	CFLAGS="$xorg_testset_save_CFLAGS"
   5735 fi
   5736 
   5737 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5738 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5739 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5740 	fi
   5741 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5742 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5743 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5744 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5745 then :
   5746   printf %s "(cached) " >&6
   5747 else case e in #(
   5748   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5749 /* end confdefs.h.  */
   5750 int i;
   5751 _ACEOF
   5752 if ac_fn_c_try_compile "$LINENO"
   5753 then :
   5754   xorg_cv_cc_flag_unused_command_line_argument=yes
   5755 else case e in #(
   5756   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5757 esac
   5758 fi
   5759 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5760 esac
   5761 fi
   5762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5763 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5764 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5765 	CFLAGS="$xorg_testset_save_CFLAGS"
   5766 fi
   5767 
   5768 found="no"
   5769 
   5770 	if test $found = "no" ; then
   5771 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5772 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5773 		fi
   5774 
   5775 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5776 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5777 		fi
   5778 
   5779 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5780 
   5781 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5782 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5783 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5784 		if eval test \${$cacheid+y}
   5785 then :
   5786   printf %s "(cached) " >&6
   5787 else case e in #(
   5788   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5789 /* end confdefs.h.  */
   5790 int i;
   5791 int
   5792 main (void)
   5793 {
   5794 
   5795   ;
   5796   return 0;
   5797 }
   5798 _ACEOF
   5799 if ac_fn_c_try_link "$LINENO"
   5800 then :
   5801   eval $cacheid=yes
   5802 else case e in #(
   5803   e) eval $cacheid=no ;;
   5804 esac
   5805 fi
   5806 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5807     conftest$ac_exeext conftest.$ac_ext ;;
   5808 esac
   5809 fi
   5810 
   5811 
   5812 		CFLAGS="$xorg_testset_save_CFLAGS"
   5813 
   5814 		eval supported=\$$cacheid
   5815 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5816 printf "%s\n" "$supported" >&6; }
   5817 		if test "$supported" = "yes" ; then
   5818 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5819 			found="yes"
   5820 		fi
   5821 	fi
   5822 
   5823 
   5824 
   5825 
   5826 
   5827 
   5828 
   5829 
   5830 
   5831 
   5832 
   5833 
   5834 
   5835 
   5836 
   5837 xorg_testset_save_CFLAGS="$CFLAGS"
   5838 
   5839 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5840 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5841 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5842 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5843 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5844 then :
   5845   printf %s "(cached) " >&6
   5846 else case e in #(
   5847   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5848 /* end confdefs.h.  */
   5849 int i;
   5850 _ACEOF
   5851 if ac_fn_c_try_compile "$LINENO"
   5852 then :
   5853   xorg_cv_cc_flag_unknown_warning_option=yes
   5854 else case e in #(
   5855   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5856 esac
   5857 fi
   5858 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5859 esac
   5860 fi
   5861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5862 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5863 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5864 	CFLAGS="$xorg_testset_save_CFLAGS"
   5865 fi
   5866 
   5867 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5868 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5869 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5870 	fi
   5871 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5872 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5873 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5874 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5875 then :
   5876   printf %s "(cached) " >&6
   5877 else case e in #(
   5878   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5879 /* end confdefs.h.  */
   5880 int i;
   5881 _ACEOF
   5882 if ac_fn_c_try_compile "$LINENO"
   5883 then :
   5884   xorg_cv_cc_flag_unused_command_line_argument=yes
   5885 else case e in #(
   5886   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5887 esac
   5888 fi
   5889 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5890 esac
   5891 fi
   5892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5893 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5894 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5895 	CFLAGS="$xorg_testset_save_CFLAGS"
   5896 fi
   5897 
   5898 found="no"
   5899 
   5900 	if test $found = "no" ; then
   5901 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5902 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5903 		fi
   5904 
   5905 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5906 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5907 		fi
   5908 
   5909 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5910 
   5911 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5912 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5913 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5914 		if eval test \${$cacheid+y}
   5915 then :
   5916   printf %s "(cached) " >&6
   5917 else case e in #(
   5918   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5919 /* end confdefs.h.  */
   5920 int i;
   5921 int
   5922 main (void)
   5923 {
   5924 
   5925   ;
   5926   return 0;
   5927 }
   5928 _ACEOF
   5929 if ac_fn_c_try_link "$LINENO"
   5930 then :
   5931   eval $cacheid=yes
   5932 else case e in #(
   5933   e) eval $cacheid=no ;;
   5934 esac
   5935 fi
   5936 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5937     conftest$ac_exeext conftest.$ac_ext ;;
   5938 esac
   5939 fi
   5940 
   5941 
   5942 		CFLAGS="$xorg_testset_save_CFLAGS"
   5943 
   5944 		eval supported=\$$cacheid
   5945 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5946 printf "%s\n" "$supported" >&6; }
   5947 		if test "$supported" = "yes" ; then
   5948 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5949 			found="yes"
   5950 		fi
   5951 	fi
   5952 
   5953 
   5954 
   5955 
   5956 
   5957 
   5958 
   5959 
   5960 
   5961 
   5962 
   5963 
   5964 
   5965 
   5966 
   5967 xorg_testset_save_CFLAGS="$CFLAGS"
   5968 
   5969 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5970 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5971 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5972 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5973 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5974 then :
   5975   printf %s "(cached) " >&6
   5976 else case e in #(
   5977   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5978 /* end confdefs.h.  */
   5979 int i;
   5980 _ACEOF
   5981 if ac_fn_c_try_compile "$LINENO"
   5982 then :
   5983   xorg_cv_cc_flag_unknown_warning_option=yes
   5984 else case e in #(
   5985   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5986 esac
   5987 fi
   5988 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5989 esac
   5990 fi
   5991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5992 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5993 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5994 	CFLAGS="$xorg_testset_save_CFLAGS"
   5995 fi
   5996 
   5997 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5998 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5999 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6000 	fi
   6001 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6002 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6003 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6004 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6005 then :
   6006   printf %s "(cached) " >&6
   6007 else case e in #(
   6008   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6009 /* end confdefs.h.  */
   6010 int i;
   6011 _ACEOF
   6012 if ac_fn_c_try_compile "$LINENO"
   6013 then :
   6014   xorg_cv_cc_flag_unused_command_line_argument=yes
   6015 else case e in #(
   6016   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6017 esac
   6018 fi
   6019 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6020 esac
   6021 fi
   6022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6023 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6024 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6025 	CFLAGS="$xorg_testset_save_CFLAGS"
   6026 fi
   6027 
   6028 found="no"
   6029 
   6030 	if test $found = "no" ; then
   6031 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6032 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6033 		fi
   6034 
   6035 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6036 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6037 		fi
   6038 
   6039 		CFLAGS="$CFLAGS -Wnested-externs"
   6040 
   6041 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   6042 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   6043 		cacheid=xorg_cv_cc_flag__Wnested_externs
   6044 		if eval test \${$cacheid+y}
   6045 then :
   6046   printf %s "(cached) " >&6
   6047 else case e in #(
   6048   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6049 /* end confdefs.h.  */
   6050 int i;
   6051 int
   6052 main (void)
   6053 {
   6054 
   6055   ;
   6056   return 0;
   6057 }
   6058 _ACEOF
   6059 if ac_fn_c_try_link "$LINENO"
   6060 then :
   6061   eval $cacheid=yes
   6062 else case e in #(
   6063   e) eval $cacheid=no ;;
   6064 esac
   6065 fi
   6066 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6067     conftest$ac_exeext conftest.$ac_ext ;;
   6068 esac
   6069 fi
   6070 
   6071 
   6072 		CFLAGS="$xorg_testset_save_CFLAGS"
   6073 
   6074 		eval supported=\$$cacheid
   6075 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6076 printf "%s\n" "$supported" >&6; }
   6077 		if test "$supported" = "yes" ; then
   6078 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   6079 			found="yes"
   6080 		fi
   6081 	fi
   6082 
   6083 
   6084 
   6085 
   6086 
   6087 
   6088 
   6089 
   6090 
   6091 
   6092 
   6093 
   6094 
   6095 
   6096 
   6097 xorg_testset_save_CFLAGS="$CFLAGS"
   6098 
   6099 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6100 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6101 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6102 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6103 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6104 then :
   6105   printf %s "(cached) " >&6
   6106 else case e in #(
   6107   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6108 /* end confdefs.h.  */
   6109 int i;
   6110 _ACEOF
   6111 if ac_fn_c_try_compile "$LINENO"
   6112 then :
   6113   xorg_cv_cc_flag_unknown_warning_option=yes
   6114 else case e in #(
   6115   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6116 esac
   6117 fi
   6118 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6119 esac
   6120 fi
   6121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6122 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6123 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6124 	CFLAGS="$xorg_testset_save_CFLAGS"
   6125 fi
   6126 
   6127 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6128 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6129 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6130 	fi
   6131 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6132 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6133 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6134 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6135 then :
   6136   printf %s "(cached) " >&6
   6137 else case e in #(
   6138   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6139 /* end confdefs.h.  */
   6140 int i;
   6141 _ACEOF
   6142 if ac_fn_c_try_compile "$LINENO"
   6143 then :
   6144   xorg_cv_cc_flag_unused_command_line_argument=yes
   6145 else case e in #(
   6146   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6147 esac
   6148 fi
   6149 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6150 esac
   6151 fi
   6152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6153 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6154 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6155 	CFLAGS="$xorg_testset_save_CFLAGS"
   6156 fi
   6157 
   6158 found="no"
   6159 
   6160 	if test $found = "no" ; then
   6161 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6162 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6163 		fi
   6164 
   6165 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6166 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6167 		fi
   6168 
   6169 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6170 
   6171 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6172 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   6173 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6174 		if eval test \${$cacheid+y}
   6175 then :
   6176   printf %s "(cached) " >&6
   6177 else case e in #(
   6178   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6179 /* end confdefs.h.  */
   6180 int i;
   6181 int
   6182 main (void)
   6183 {
   6184 
   6185   ;
   6186   return 0;
   6187 }
   6188 _ACEOF
   6189 if ac_fn_c_try_link "$LINENO"
   6190 then :
   6191   eval $cacheid=yes
   6192 else case e in #(
   6193   e) eval $cacheid=no ;;
   6194 esac
   6195 fi
   6196 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6197     conftest$ac_exeext conftest.$ac_ext ;;
   6198 esac
   6199 fi
   6200 
   6201 
   6202 		CFLAGS="$xorg_testset_save_CFLAGS"
   6203 
   6204 		eval supported=\$$cacheid
   6205 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6206 printf "%s\n" "$supported" >&6; }
   6207 		if test "$supported" = "yes" ; then
   6208 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6209 			found="yes"
   6210 		fi
   6211 	fi
   6212 
   6213 
   6214 
   6215 
   6216 
   6217 
   6218 
   6219 
   6220 
   6221 
   6222 
   6223 
   6224 
   6225 
   6226 
   6227 xorg_testset_save_CFLAGS="$CFLAGS"
   6228 
   6229 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6230 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6231 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6232 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6233 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6234 then :
   6235   printf %s "(cached) " >&6
   6236 else case e in #(
   6237   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6238 /* end confdefs.h.  */
   6239 int i;
   6240 _ACEOF
   6241 if ac_fn_c_try_compile "$LINENO"
   6242 then :
   6243   xorg_cv_cc_flag_unknown_warning_option=yes
   6244 else case e in #(
   6245   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6246 esac
   6247 fi
   6248 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6249 esac
   6250 fi
   6251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6252 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6253 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6254 	CFLAGS="$xorg_testset_save_CFLAGS"
   6255 fi
   6256 
   6257 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6258 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6259 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6260 	fi
   6261 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6262 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6263 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6264 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6265 then :
   6266   printf %s "(cached) " >&6
   6267 else case e in #(
   6268   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6269 /* end confdefs.h.  */
   6270 int i;
   6271 _ACEOF
   6272 if ac_fn_c_try_compile "$LINENO"
   6273 then :
   6274   xorg_cv_cc_flag_unused_command_line_argument=yes
   6275 else case e in #(
   6276   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6277 esac
   6278 fi
   6279 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6280 esac
   6281 fi
   6282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6283 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6284 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6285 	CFLAGS="$xorg_testset_save_CFLAGS"
   6286 fi
   6287 
   6288 found="no"
   6289 
   6290 	if test $found = "no" ; then
   6291 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6292 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6293 		fi
   6294 
   6295 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6296 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6297 		fi
   6298 
   6299 		CFLAGS="$CFLAGS -Wold-style-definition"
   6300 
   6301 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6302 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6303 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6304 		if eval test \${$cacheid+y}
   6305 then :
   6306   printf %s "(cached) " >&6
   6307 else case e in #(
   6308   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6309 /* end confdefs.h.  */
   6310 int i;
   6311 int
   6312 main (void)
   6313 {
   6314 
   6315   ;
   6316   return 0;
   6317 }
   6318 _ACEOF
   6319 if ac_fn_c_try_link "$LINENO"
   6320 then :
   6321   eval $cacheid=yes
   6322 else case e in #(
   6323   e) eval $cacheid=no ;;
   6324 esac
   6325 fi
   6326 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6327     conftest$ac_exeext conftest.$ac_ext ;;
   6328 esac
   6329 fi
   6330 
   6331 
   6332 		CFLAGS="$xorg_testset_save_CFLAGS"
   6333 
   6334 		eval supported=\$$cacheid
   6335 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6336 printf "%s\n" "$supported" >&6; }
   6337 		if test "$supported" = "yes" ; then
   6338 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6339 			found="yes"
   6340 		fi
   6341 	fi
   6342 
   6343 	if test $found = "no" ; then
   6344 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6345 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6346 		fi
   6347 
   6348 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6349 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6350 		fi
   6351 
   6352 		CFLAGS="$CFLAGS -fd"
   6353 
   6354 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6355 printf %s "checking if $CC supports -fd... " >&6; }
   6356 		cacheid=xorg_cv_cc_flag__fd
   6357 		if eval test \${$cacheid+y}
   6358 then :
   6359   printf %s "(cached) " >&6
   6360 else case e in #(
   6361   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6362 /* end confdefs.h.  */
   6363 int i;
   6364 int
   6365 main (void)
   6366 {
   6367 
   6368   ;
   6369   return 0;
   6370 }
   6371 _ACEOF
   6372 if ac_fn_c_try_link "$LINENO"
   6373 then :
   6374   eval $cacheid=yes
   6375 else case e in #(
   6376   e) eval $cacheid=no ;;
   6377 esac
   6378 fi
   6379 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6380     conftest$ac_exeext conftest.$ac_ext ;;
   6381 esac
   6382 fi
   6383 
   6384 
   6385 		CFLAGS="$xorg_testset_save_CFLAGS"
   6386 
   6387 		eval supported=\$$cacheid
   6388 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6389 printf "%s\n" "$supported" >&6; }
   6390 		if test "$supported" = "yes" ; then
   6391 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6392 			found="yes"
   6393 		fi
   6394 	fi
   6395 
   6396 
   6397 
   6398 
   6399 
   6400 
   6401 
   6402 
   6403 
   6404 
   6405 
   6406 
   6407 
   6408 
   6409 
   6410 xorg_testset_save_CFLAGS="$CFLAGS"
   6411 
   6412 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6413 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6414 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6415 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6416 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6417 then :
   6418   printf %s "(cached) " >&6
   6419 else case e in #(
   6420   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6421 /* end confdefs.h.  */
   6422 int i;
   6423 _ACEOF
   6424 if ac_fn_c_try_compile "$LINENO"
   6425 then :
   6426   xorg_cv_cc_flag_unknown_warning_option=yes
   6427 else case e in #(
   6428   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6429 esac
   6430 fi
   6431 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6432 esac
   6433 fi
   6434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6435 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6436 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6437 	CFLAGS="$xorg_testset_save_CFLAGS"
   6438 fi
   6439 
   6440 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6441 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6442 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6443 	fi
   6444 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6445 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6446 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6447 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6448 then :
   6449   printf %s "(cached) " >&6
   6450 else case e in #(
   6451   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6452 /* end confdefs.h.  */
   6453 int i;
   6454 _ACEOF
   6455 if ac_fn_c_try_compile "$LINENO"
   6456 then :
   6457   xorg_cv_cc_flag_unused_command_line_argument=yes
   6458 else case e in #(
   6459   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6460 esac
   6461 fi
   6462 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6463 esac
   6464 fi
   6465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6466 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6467 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6468 	CFLAGS="$xorg_testset_save_CFLAGS"
   6469 fi
   6470 
   6471 found="no"
   6472 
   6473 	if test $found = "no" ; then
   6474 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6475 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6476 		fi
   6477 
   6478 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6479 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6480 		fi
   6481 
   6482 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6483 
   6484 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6485 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6486 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6487 		if eval test \${$cacheid+y}
   6488 then :
   6489   printf %s "(cached) " >&6
   6490 else case e in #(
   6491   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6492 /* end confdefs.h.  */
   6493 int i;
   6494 int
   6495 main (void)
   6496 {
   6497 
   6498   ;
   6499   return 0;
   6500 }
   6501 _ACEOF
   6502 if ac_fn_c_try_link "$LINENO"
   6503 then :
   6504   eval $cacheid=yes
   6505 else case e in #(
   6506   e) eval $cacheid=no ;;
   6507 esac
   6508 fi
   6509 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6510     conftest$ac_exeext conftest.$ac_ext ;;
   6511 esac
   6512 fi
   6513 
   6514 
   6515 		CFLAGS="$xorg_testset_save_CFLAGS"
   6516 
   6517 		eval supported=\$$cacheid
   6518 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6519 printf "%s\n" "$supported" >&6; }
   6520 		if test "$supported" = "yes" ; then
   6521 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6522 			found="yes"
   6523 		fi
   6524 	fi
   6525 
   6526 
   6527 
   6528 
   6529 
   6530 # This chunk adds additional warnings that could catch undesired effects.
   6531 
   6532 
   6533 
   6534 
   6535 
   6536 
   6537 
   6538 
   6539 
   6540 
   6541 
   6542 
   6543 
   6544 xorg_testset_save_CFLAGS="$CFLAGS"
   6545 
   6546 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6547 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6548 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6549 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6550 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6551 then :
   6552   printf %s "(cached) " >&6
   6553 else case e in #(
   6554   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6555 /* end confdefs.h.  */
   6556 int i;
   6557 _ACEOF
   6558 if ac_fn_c_try_compile "$LINENO"
   6559 then :
   6560   xorg_cv_cc_flag_unknown_warning_option=yes
   6561 else case e in #(
   6562   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6563 esac
   6564 fi
   6565 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6566 esac
   6567 fi
   6568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6569 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6570 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6571 	CFLAGS="$xorg_testset_save_CFLAGS"
   6572 fi
   6573 
   6574 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6575 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6576 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6577 	fi
   6578 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6579 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6580 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6581 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6582 then :
   6583   printf %s "(cached) " >&6
   6584 else case e in #(
   6585   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6586 /* end confdefs.h.  */
   6587 int i;
   6588 _ACEOF
   6589 if ac_fn_c_try_compile "$LINENO"
   6590 then :
   6591   xorg_cv_cc_flag_unused_command_line_argument=yes
   6592 else case e in #(
   6593   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6594 esac
   6595 fi
   6596 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6597 esac
   6598 fi
   6599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6600 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6601 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6602 	CFLAGS="$xorg_testset_save_CFLAGS"
   6603 fi
   6604 
   6605 found="no"
   6606 
   6607 	if test $found = "no" ; then
   6608 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6609 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6610 		fi
   6611 
   6612 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6613 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6614 		fi
   6615 
   6616 		CFLAGS="$CFLAGS -Wunused"
   6617 
   6618 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6619 printf %s "checking if $CC supports -Wunused... " >&6; }
   6620 		cacheid=xorg_cv_cc_flag__Wunused
   6621 		if eval test \${$cacheid+y}
   6622 then :
   6623   printf %s "(cached) " >&6
   6624 else case e in #(
   6625   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6626 /* end confdefs.h.  */
   6627 int i;
   6628 int
   6629 main (void)
   6630 {
   6631 
   6632   ;
   6633   return 0;
   6634 }
   6635 _ACEOF
   6636 if ac_fn_c_try_link "$LINENO"
   6637 then :
   6638   eval $cacheid=yes
   6639 else case e in #(
   6640   e) eval $cacheid=no ;;
   6641 esac
   6642 fi
   6643 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6644     conftest$ac_exeext conftest.$ac_ext ;;
   6645 esac
   6646 fi
   6647 
   6648 
   6649 		CFLAGS="$xorg_testset_save_CFLAGS"
   6650 
   6651 		eval supported=\$$cacheid
   6652 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6653 printf "%s\n" "$supported" >&6; }
   6654 		if test "$supported" = "yes" ; then
   6655 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6656 			found="yes"
   6657 		fi
   6658 	fi
   6659 
   6660 
   6661 
   6662 
   6663 
   6664 
   6665 
   6666 
   6667 
   6668 
   6669 
   6670 
   6671 
   6672 
   6673 
   6674 xorg_testset_save_CFLAGS="$CFLAGS"
   6675 
   6676 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6677 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6678 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6679 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6680 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6681 then :
   6682   printf %s "(cached) " >&6
   6683 else case e in #(
   6684   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6685 /* end confdefs.h.  */
   6686 int i;
   6687 _ACEOF
   6688 if ac_fn_c_try_compile "$LINENO"
   6689 then :
   6690   xorg_cv_cc_flag_unknown_warning_option=yes
   6691 else case e in #(
   6692   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6693 esac
   6694 fi
   6695 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6696 esac
   6697 fi
   6698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6699 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6700 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6701 	CFLAGS="$xorg_testset_save_CFLAGS"
   6702 fi
   6703 
   6704 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6705 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6706 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6707 	fi
   6708 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6709 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6710 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6711 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6712 then :
   6713   printf %s "(cached) " >&6
   6714 else case e in #(
   6715   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6716 /* end confdefs.h.  */
   6717 int i;
   6718 _ACEOF
   6719 if ac_fn_c_try_compile "$LINENO"
   6720 then :
   6721   xorg_cv_cc_flag_unused_command_line_argument=yes
   6722 else case e in #(
   6723   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6724 esac
   6725 fi
   6726 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6727 esac
   6728 fi
   6729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6730 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6731 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6732 	CFLAGS="$xorg_testset_save_CFLAGS"
   6733 fi
   6734 
   6735 found="no"
   6736 
   6737 	if test $found = "no" ; then
   6738 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6739 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6740 		fi
   6741 
   6742 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6743 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6744 		fi
   6745 
   6746 		CFLAGS="$CFLAGS -Wuninitialized"
   6747 
   6748 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6749 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6750 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6751 		if eval test \${$cacheid+y}
   6752 then :
   6753   printf %s "(cached) " >&6
   6754 else case e in #(
   6755   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6756 /* end confdefs.h.  */
   6757 int i;
   6758 int
   6759 main (void)
   6760 {
   6761 
   6762   ;
   6763   return 0;
   6764 }
   6765 _ACEOF
   6766 if ac_fn_c_try_link "$LINENO"
   6767 then :
   6768   eval $cacheid=yes
   6769 else case e in #(
   6770   e) eval $cacheid=no ;;
   6771 esac
   6772 fi
   6773 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6774     conftest$ac_exeext conftest.$ac_ext ;;
   6775 esac
   6776 fi
   6777 
   6778 
   6779 		CFLAGS="$xorg_testset_save_CFLAGS"
   6780 
   6781 		eval supported=\$$cacheid
   6782 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6783 printf "%s\n" "$supported" >&6; }
   6784 		if test "$supported" = "yes" ; then
   6785 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6786 			found="yes"
   6787 		fi
   6788 	fi
   6789 
   6790 
   6791 
   6792 
   6793 
   6794 
   6795 
   6796 
   6797 
   6798 
   6799 
   6800 
   6801 
   6802 
   6803 
   6804 xorg_testset_save_CFLAGS="$CFLAGS"
   6805 
   6806 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6807 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6808 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6809 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6810 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6811 then :
   6812   printf %s "(cached) " >&6
   6813 else case e in #(
   6814   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6815 /* end confdefs.h.  */
   6816 int i;
   6817 _ACEOF
   6818 if ac_fn_c_try_compile "$LINENO"
   6819 then :
   6820   xorg_cv_cc_flag_unknown_warning_option=yes
   6821 else case e in #(
   6822   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6823 esac
   6824 fi
   6825 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6826 esac
   6827 fi
   6828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6829 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6830 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6831 	CFLAGS="$xorg_testset_save_CFLAGS"
   6832 fi
   6833 
   6834 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6835 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6836 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6837 	fi
   6838 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6839 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6840 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6841 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6842 then :
   6843   printf %s "(cached) " >&6
   6844 else case e in #(
   6845   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6846 /* end confdefs.h.  */
   6847 int i;
   6848 _ACEOF
   6849 if ac_fn_c_try_compile "$LINENO"
   6850 then :
   6851   xorg_cv_cc_flag_unused_command_line_argument=yes
   6852 else case e in #(
   6853   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6854 esac
   6855 fi
   6856 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6857 esac
   6858 fi
   6859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6860 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6861 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6862 	CFLAGS="$xorg_testset_save_CFLAGS"
   6863 fi
   6864 
   6865 found="no"
   6866 
   6867 	if test $found = "no" ; then
   6868 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6869 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6870 		fi
   6871 
   6872 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6873 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6874 		fi
   6875 
   6876 		CFLAGS="$CFLAGS -Wshadow"
   6877 
   6878 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6879 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6880 		cacheid=xorg_cv_cc_flag__Wshadow
   6881 		if eval test \${$cacheid+y}
   6882 then :
   6883   printf %s "(cached) " >&6
   6884 else case e in #(
   6885   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6886 /* end confdefs.h.  */
   6887 int i;
   6888 int
   6889 main (void)
   6890 {
   6891 
   6892   ;
   6893   return 0;
   6894 }
   6895 _ACEOF
   6896 if ac_fn_c_try_link "$LINENO"
   6897 then :
   6898   eval $cacheid=yes
   6899 else case e in #(
   6900   e) eval $cacheid=no ;;
   6901 esac
   6902 fi
   6903 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6904     conftest$ac_exeext conftest.$ac_ext ;;
   6905 esac
   6906 fi
   6907 
   6908 
   6909 		CFLAGS="$xorg_testset_save_CFLAGS"
   6910 
   6911 		eval supported=\$$cacheid
   6912 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6913 printf "%s\n" "$supported" >&6; }
   6914 		if test "$supported" = "yes" ; then
   6915 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6916 			found="yes"
   6917 		fi
   6918 	fi
   6919 
   6920 
   6921 
   6922 
   6923 
   6924 
   6925 
   6926 
   6927 
   6928 
   6929 
   6930 
   6931 
   6932 
   6933 
   6934 xorg_testset_save_CFLAGS="$CFLAGS"
   6935 
   6936 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6937 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6938 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6939 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6940 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6941 then :
   6942   printf %s "(cached) " >&6
   6943 else case e in #(
   6944   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6945 /* end confdefs.h.  */
   6946 int i;
   6947 _ACEOF
   6948 if ac_fn_c_try_compile "$LINENO"
   6949 then :
   6950   xorg_cv_cc_flag_unknown_warning_option=yes
   6951 else case e in #(
   6952   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6953 esac
   6954 fi
   6955 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6956 esac
   6957 fi
   6958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6959 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6960 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6961 	CFLAGS="$xorg_testset_save_CFLAGS"
   6962 fi
   6963 
   6964 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6965 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6966 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6967 	fi
   6968 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6969 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6970 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6971 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6972 then :
   6973   printf %s "(cached) " >&6
   6974 else case e in #(
   6975   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6976 /* end confdefs.h.  */
   6977 int i;
   6978 _ACEOF
   6979 if ac_fn_c_try_compile "$LINENO"
   6980 then :
   6981   xorg_cv_cc_flag_unused_command_line_argument=yes
   6982 else case e in #(
   6983   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6984 esac
   6985 fi
   6986 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6987 esac
   6988 fi
   6989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6990 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6991 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6992 	CFLAGS="$xorg_testset_save_CFLAGS"
   6993 fi
   6994 
   6995 found="no"
   6996 
   6997 	if test $found = "no" ; then
   6998 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6999 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7000 		fi
   7001 
   7002 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7003 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7004 		fi
   7005 
   7006 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   7007 
   7008 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   7009 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   7010 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   7011 		if eval test \${$cacheid+y}
   7012 then :
   7013   printf %s "(cached) " >&6
   7014 else case e in #(
   7015   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7016 /* end confdefs.h.  */
   7017 int i;
   7018 int
   7019 main (void)
   7020 {
   7021 
   7022   ;
   7023   return 0;
   7024 }
   7025 _ACEOF
   7026 if ac_fn_c_try_link "$LINENO"
   7027 then :
   7028   eval $cacheid=yes
   7029 else case e in #(
   7030   e) eval $cacheid=no ;;
   7031 esac
   7032 fi
   7033 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7034     conftest$ac_exeext conftest.$ac_ext ;;
   7035 esac
   7036 fi
   7037 
   7038 
   7039 		CFLAGS="$xorg_testset_save_CFLAGS"
   7040 
   7041 		eval supported=\$$cacheid
   7042 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7043 printf "%s\n" "$supported" >&6; }
   7044 		if test "$supported" = "yes" ; then
   7045 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   7046 			found="yes"
   7047 		fi
   7048 	fi
   7049 
   7050 
   7051 
   7052 
   7053 
   7054 
   7055 
   7056 
   7057 
   7058 
   7059 
   7060 
   7061 
   7062 
   7063 
   7064 xorg_testset_save_CFLAGS="$CFLAGS"
   7065 
   7066 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7067 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7068 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7069 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7070 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7071 then :
   7072   printf %s "(cached) " >&6
   7073 else case e in #(
   7074   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7075 /* end confdefs.h.  */
   7076 int i;
   7077 _ACEOF
   7078 if ac_fn_c_try_compile "$LINENO"
   7079 then :
   7080   xorg_cv_cc_flag_unknown_warning_option=yes
   7081 else case e in #(
   7082   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7083 esac
   7084 fi
   7085 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7086 esac
   7087 fi
   7088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7089 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7090 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7091 	CFLAGS="$xorg_testset_save_CFLAGS"
   7092 fi
   7093 
   7094 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7095 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7096 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7097 	fi
   7098 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7099 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7100 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7101 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7102 then :
   7103   printf %s "(cached) " >&6
   7104 else case e in #(
   7105   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7106 /* end confdefs.h.  */
   7107 int i;
   7108 _ACEOF
   7109 if ac_fn_c_try_compile "$LINENO"
   7110 then :
   7111   xorg_cv_cc_flag_unused_command_line_argument=yes
   7112 else case e in #(
   7113   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7114 esac
   7115 fi
   7116 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7117 esac
   7118 fi
   7119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7120 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7121 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7122 	CFLAGS="$xorg_testset_save_CFLAGS"
   7123 fi
   7124 
   7125 found="no"
   7126 
   7127 	if test $found = "no" ; then
   7128 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7129 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7130 		fi
   7131 
   7132 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7133 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7134 		fi
   7135 
   7136 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   7137 
   7138 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   7139 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   7140 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   7141 		if eval test \${$cacheid+y}
   7142 then :
   7143   printf %s "(cached) " >&6
   7144 else case e in #(
   7145   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7146 /* end confdefs.h.  */
   7147 int i;
   7148 int
   7149 main (void)
   7150 {
   7151 
   7152   ;
   7153   return 0;
   7154 }
   7155 _ACEOF
   7156 if ac_fn_c_try_link "$LINENO"
   7157 then :
   7158   eval $cacheid=yes
   7159 else case e in #(
   7160   e) eval $cacheid=no ;;
   7161 esac
   7162 fi
   7163 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7164     conftest$ac_exeext conftest.$ac_ext ;;
   7165 esac
   7166 fi
   7167 
   7168 
   7169 		CFLAGS="$xorg_testset_save_CFLAGS"
   7170 
   7171 		eval supported=\$$cacheid
   7172 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7173 printf "%s\n" "$supported" >&6; }
   7174 		if test "$supported" = "yes" ; then
   7175 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   7176 			found="yes"
   7177 		fi
   7178 	fi
   7179 
   7180 
   7181 
   7182 
   7183 
   7184 
   7185 
   7186 
   7187 
   7188 
   7189 
   7190 
   7191 
   7192 
   7193 
   7194 xorg_testset_save_CFLAGS="$CFLAGS"
   7195 
   7196 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7197 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7198 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7199 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7200 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7201 then :
   7202   printf %s "(cached) " >&6
   7203 else case e in #(
   7204   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7205 /* end confdefs.h.  */
   7206 int i;
   7207 _ACEOF
   7208 if ac_fn_c_try_compile "$LINENO"
   7209 then :
   7210   xorg_cv_cc_flag_unknown_warning_option=yes
   7211 else case e in #(
   7212   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7213 esac
   7214 fi
   7215 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7216 esac
   7217 fi
   7218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7219 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7220 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7221 	CFLAGS="$xorg_testset_save_CFLAGS"
   7222 fi
   7223 
   7224 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7225 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7226 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7227 	fi
   7228 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7229 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7230 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7231 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7232 then :
   7233   printf %s "(cached) " >&6
   7234 else case e in #(
   7235   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7236 /* end confdefs.h.  */
   7237 int i;
   7238 _ACEOF
   7239 if ac_fn_c_try_compile "$LINENO"
   7240 then :
   7241   xorg_cv_cc_flag_unused_command_line_argument=yes
   7242 else case e in #(
   7243   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7244 esac
   7245 fi
   7246 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7247 esac
   7248 fi
   7249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7250 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7251 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7252 	CFLAGS="$xorg_testset_save_CFLAGS"
   7253 fi
   7254 
   7255 found="no"
   7256 
   7257 	if test $found = "no" ; then
   7258 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7259 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7260 		fi
   7261 
   7262 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7263 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7264 		fi
   7265 
   7266 		CFLAGS="$CFLAGS -Wredundant-decls"
   7267 
   7268 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7269 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7270 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7271 		if eval test \${$cacheid+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 int
   7279 main (void)
   7280 {
   7281 
   7282   ;
   7283   return 0;
   7284 }
   7285 _ACEOF
   7286 if ac_fn_c_try_link "$LINENO"
   7287 then :
   7288   eval $cacheid=yes
   7289 else case e in #(
   7290   e) eval $cacheid=no ;;
   7291 esac
   7292 fi
   7293 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7294     conftest$ac_exeext conftest.$ac_ext ;;
   7295 esac
   7296 fi
   7297 
   7298 
   7299 		CFLAGS="$xorg_testset_save_CFLAGS"
   7300 
   7301 		eval supported=\$$cacheid
   7302 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7303 printf "%s\n" "$supported" >&6; }
   7304 		if test "$supported" = "yes" ; then
   7305 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7306 			found="yes"
   7307 		fi
   7308 	fi
   7309 
   7310 
   7311 
   7312 
   7313 
   7314 
   7315 
   7316 
   7317 
   7318 
   7319 
   7320 
   7321 
   7322 
   7323 
   7324 xorg_testset_save_CFLAGS="$CFLAGS"
   7325 
   7326 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7327 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7328 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7329 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7330 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7331 then :
   7332   printf %s "(cached) " >&6
   7333 else case e in #(
   7334   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7335 /* end confdefs.h.  */
   7336 int i;
   7337 _ACEOF
   7338 if ac_fn_c_try_compile "$LINENO"
   7339 then :
   7340   xorg_cv_cc_flag_unknown_warning_option=yes
   7341 else case e in #(
   7342   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7343 esac
   7344 fi
   7345 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7346 esac
   7347 fi
   7348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7349 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7350 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7351 	CFLAGS="$xorg_testset_save_CFLAGS"
   7352 fi
   7353 
   7354 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7355 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7356 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7357 	fi
   7358 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7359 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7360 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7361 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7362 then :
   7363   printf %s "(cached) " >&6
   7364 else case e in #(
   7365   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7366 /* end confdefs.h.  */
   7367 int i;
   7368 _ACEOF
   7369 if ac_fn_c_try_compile "$LINENO"
   7370 then :
   7371   xorg_cv_cc_flag_unused_command_line_argument=yes
   7372 else case e in #(
   7373   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7374 esac
   7375 fi
   7376 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7377 esac
   7378 fi
   7379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7380 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7381 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7382 	CFLAGS="$xorg_testset_save_CFLAGS"
   7383 fi
   7384 
   7385 found="no"
   7386 
   7387 	if test $found = "no" ; then
   7388 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7389 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7390 		fi
   7391 
   7392 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7393 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7394 		fi
   7395 
   7396 		CFLAGS="$CFLAGS -Wlogical-op"
   7397 
   7398 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7399 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7400 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7401 		if eval test \${$cacheid+y}
   7402 then :
   7403   printf %s "(cached) " >&6
   7404 else case e in #(
   7405   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7406 /* end confdefs.h.  */
   7407 int i;
   7408 int
   7409 main (void)
   7410 {
   7411 
   7412   ;
   7413   return 0;
   7414 }
   7415 _ACEOF
   7416 if ac_fn_c_try_link "$LINENO"
   7417 then :
   7418   eval $cacheid=yes
   7419 else case e in #(
   7420   e) eval $cacheid=no ;;
   7421 esac
   7422 fi
   7423 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7424     conftest$ac_exeext conftest.$ac_ext ;;
   7425 esac
   7426 fi
   7427 
   7428 
   7429 		CFLAGS="$xorg_testset_save_CFLAGS"
   7430 
   7431 		eval supported=\$$cacheid
   7432 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7433 printf "%s\n" "$supported" >&6; }
   7434 		if test "$supported" = "yes" ; then
   7435 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7436 			found="yes"
   7437 		fi
   7438 	fi
   7439 
   7440 
   7441 
   7442 # These are currently disabled because they are noisy.  They will be enabled
   7443 # in the future once the codebase is sufficiently modernized to silence
   7444 # them.  For now, I don't want them to drown out the other warnings.
   7445 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7446 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7447 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7448 
   7449 # Turn some warnings into errors, so we don't accidentally get successful builds
   7450 # when there are problems that should be fixed.
   7451 
   7452 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7453 
   7454 
   7455 
   7456 
   7457 
   7458 
   7459 
   7460 
   7461 
   7462 
   7463 
   7464 
   7465 
   7466 xorg_testset_save_CFLAGS="$CFLAGS"
   7467 
   7468 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7469 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7470 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7471 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7472 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7473 then :
   7474   printf %s "(cached) " >&6
   7475 else case e in #(
   7476   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7477 /* end confdefs.h.  */
   7478 int i;
   7479 _ACEOF
   7480 if ac_fn_c_try_compile "$LINENO"
   7481 then :
   7482   xorg_cv_cc_flag_unknown_warning_option=yes
   7483 else case e in #(
   7484   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7485 esac
   7486 fi
   7487 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7488 esac
   7489 fi
   7490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7491 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7492 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7493 	CFLAGS="$xorg_testset_save_CFLAGS"
   7494 fi
   7495 
   7496 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7497 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7498 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7499 	fi
   7500 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7501 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7502 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7503 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7504 then :
   7505   printf %s "(cached) " >&6
   7506 else case e in #(
   7507   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7508 /* end confdefs.h.  */
   7509 int i;
   7510 _ACEOF
   7511 if ac_fn_c_try_compile "$LINENO"
   7512 then :
   7513   xorg_cv_cc_flag_unused_command_line_argument=yes
   7514 else case e in #(
   7515   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7516 esac
   7517 fi
   7518 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7519 esac
   7520 fi
   7521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7522 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7523 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7524 	CFLAGS="$xorg_testset_save_CFLAGS"
   7525 fi
   7526 
   7527 found="no"
   7528 
   7529 	if test $found = "no" ; then
   7530 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7531 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7532 		fi
   7533 
   7534 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7535 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7536 		fi
   7537 
   7538 		CFLAGS="$CFLAGS -Werror=implicit"
   7539 
   7540 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7541 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7542 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7543 		if eval test \${$cacheid+y}
   7544 then :
   7545   printf %s "(cached) " >&6
   7546 else case e in #(
   7547   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7548 /* end confdefs.h.  */
   7549 int i;
   7550 int
   7551 main (void)
   7552 {
   7553 
   7554   ;
   7555   return 0;
   7556 }
   7557 _ACEOF
   7558 if ac_fn_c_try_link "$LINENO"
   7559 then :
   7560   eval $cacheid=yes
   7561 else case e in #(
   7562   e) eval $cacheid=no ;;
   7563 esac
   7564 fi
   7565 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7566     conftest$ac_exeext conftest.$ac_ext ;;
   7567 esac
   7568 fi
   7569 
   7570 
   7571 		CFLAGS="$xorg_testset_save_CFLAGS"
   7572 
   7573 		eval supported=\$$cacheid
   7574 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7575 printf "%s\n" "$supported" >&6; }
   7576 		if test "$supported" = "yes" ; then
   7577 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7578 			found="yes"
   7579 		fi
   7580 	fi
   7581 
   7582 	if test $found = "no" ; then
   7583 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7584 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7585 		fi
   7586 
   7587 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7588 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7589 		fi
   7590 
   7591 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7592 
   7593 		{ 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
   7594 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7595 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7596 		if eval test \${$cacheid+y}
   7597 then :
   7598   printf %s "(cached) " >&6
   7599 else case e in #(
   7600   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7601 /* end confdefs.h.  */
   7602 int i;
   7603 int
   7604 main (void)
   7605 {
   7606 
   7607   ;
   7608   return 0;
   7609 }
   7610 _ACEOF
   7611 if ac_fn_c_try_link "$LINENO"
   7612 then :
   7613   eval $cacheid=yes
   7614 else case e in #(
   7615   e) eval $cacheid=no ;;
   7616 esac
   7617 fi
   7618 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7619     conftest$ac_exeext conftest.$ac_ext ;;
   7620 esac
   7621 fi
   7622 
   7623 
   7624 		CFLAGS="$xorg_testset_save_CFLAGS"
   7625 
   7626 		eval supported=\$$cacheid
   7627 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7628 printf "%s\n" "$supported" >&6; }
   7629 		if test "$supported" = "yes" ; then
   7630 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7631 			found="yes"
   7632 		fi
   7633 	fi
   7634 
   7635 
   7636 
   7637 
   7638 
   7639 
   7640 
   7641 
   7642 
   7643 
   7644 
   7645 
   7646 
   7647 
   7648 
   7649 xorg_testset_save_CFLAGS="$CFLAGS"
   7650 
   7651 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7652 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7653 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7654 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7655 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7656 then :
   7657   printf %s "(cached) " >&6
   7658 else case e in #(
   7659   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7660 /* end confdefs.h.  */
   7661 int i;
   7662 _ACEOF
   7663 if ac_fn_c_try_compile "$LINENO"
   7664 then :
   7665   xorg_cv_cc_flag_unknown_warning_option=yes
   7666 else case e in #(
   7667   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7668 esac
   7669 fi
   7670 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7671 esac
   7672 fi
   7673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7674 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7675 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7676 	CFLAGS="$xorg_testset_save_CFLAGS"
   7677 fi
   7678 
   7679 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7680 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7681 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7682 	fi
   7683 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7684 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7685 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7686 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7687 then :
   7688   printf %s "(cached) " >&6
   7689 else case e in #(
   7690   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7691 /* end confdefs.h.  */
   7692 int i;
   7693 _ACEOF
   7694 if ac_fn_c_try_compile "$LINENO"
   7695 then :
   7696   xorg_cv_cc_flag_unused_command_line_argument=yes
   7697 else case e in #(
   7698   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7699 esac
   7700 fi
   7701 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7702 esac
   7703 fi
   7704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7705 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7706 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7707 	CFLAGS="$xorg_testset_save_CFLAGS"
   7708 fi
   7709 
   7710 found="no"
   7711 
   7712 	if test $found = "no" ; then
   7713 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7714 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7715 		fi
   7716 
   7717 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7718 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7719 		fi
   7720 
   7721 		CFLAGS="$CFLAGS -Werror=nonnull"
   7722 
   7723 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7724 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7725 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7726 		if eval test \${$cacheid+y}
   7727 then :
   7728   printf %s "(cached) " >&6
   7729 else case e in #(
   7730   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7731 /* end confdefs.h.  */
   7732 int i;
   7733 int
   7734 main (void)
   7735 {
   7736 
   7737   ;
   7738   return 0;
   7739 }
   7740 _ACEOF
   7741 if ac_fn_c_try_link "$LINENO"
   7742 then :
   7743   eval $cacheid=yes
   7744 else case e in #(
   7745   e) eval $cacheid=no ;;
   7746 esac
   7747 fi
   7748 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7749     conftest$ac_exeext conftest.$ac_ext ;;
   7750 esac
   7751 fi
   7752 
   7753 
   7754 		CFLAGS="$xorg_testset_save_CFLAGS"
   7755 
   7756 		eval supported=\$$cacheid
   7757 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7758 printf "%s\n" "$supported" >&6; }
   7759 		if test "$supported" = "yes" ; then
   7760 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7761 			found="yes"
   7762 		fi
   7763 	fi
   7764 
   7765 
   7766 
   7767 
   7768 
   7769 
   7770 
   7771 
   7772 
   7773 
   7774 
   7775 
   7776 
   7777 
   7778 
   7779 xorg_testset_save_CFLAGS="$CFLAGS"
   7780 
   7781 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7782 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7783 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7784 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7785 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7786 then :
   7787   printf %s "(cached) " >&6
   7788 else case e in #(
   7789   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7790 /* end confdefs.h.  */
   7791 int i;
   7792 _ACEOF
   7793 if ac_fn_c_try_compile "$LINENO"
   7794 then :
   7795   xorg_cv_cc_flag_unknown_warning_option=yes
   7796 else case e in #(
   7797   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7798 esac
   7799 fi
   7800 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7801 esac
   7802 fi
   7803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7804 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7805 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7806 	CFLAGS="$xorg_testset_save_CFLAGS"
   7807 fi
   7808 
   7809 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7810 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7811 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7812 	fi
   7813 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7814 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7815 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7816 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7817 then :
   7818   printf %s "(cached) " >&6
   7819 else case e in #(
   7820   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7821 /* end confdefs.h.  */
   7822 int i;
   7823 _ACEOF
   7824 if ac_fn_c_try_compile "$LINENO"
   7825 then :
   7826   xorg_cv_cc_flag_unused_command_line_argument=yes
   7827 else case e in #(
   7828   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7829 esac
   7830 fi
   7831 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7832 esac
   7833 fi
   7834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7835 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7836 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7837 	CFLAGS="$xorg_testset_save_CFLAGS"
   7838 fi
   7839 
   7840 found="no"
   7841 
   7842 	if test $found = "no" ; then
   7843 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7844 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7845 		fi
   7846 
   7847 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7848 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7849 		fi
   7850 
   7851 		CFLAGS="$CFLAGS -Werror=init-self"
   7852 
   7853 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7854 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7855 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7856 		if eval test \${$cacheid+y}
   7857 then :
   7858   printf %s "(cached) " >&6
   7859 else case e in #(
   7860   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7861 /* end confdefs.h.  */
   7862 int i;
   7863 int
   7864 main (void)
   7865 {
   7866 
   7867   ;
   7868   return 0;
   7869 }
   7870 _ACEOF
   7871 if ac_fn_c_try_link "$LINENO"
   7872 then :
   7873   eval $cacheid=yes
   7874 else case e in #(
   7875   e) eval $cacheid=no ;;
   7876 esac
   7877 fi
   7878 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7879     conftest$ac_exeext conftest.$ac_ext ;;
   7880 esac
   7881 fi
   7882 
   7883 
   7884 		CFLAGS="$xorg_testset_save_CFLAGS"
   7885 
   7886 		eval supported=\$$cacheid
   7887 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7888 printf "%s\n" "$supported" >&6; }
   7889 		if test "$supported" = "yes" ; then
   7890 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7891 			found="yes"
   7892 		fi
   7893 	fi
   7894 
   7895 
   7896 
   7897 
   7898 
   7899 
   7900 
   7901 
   7902 
   7903 
   7904 
   7905 
   7906 
   7907 
   7908 
   7909 xorg_testset_save_CFLAGS="$CFLAGS"
   7910 
   7911 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7912 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7913 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7914 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7915 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7916 then :
   7917   printf %s "(cached) " >&6
   7918 else case e in #(
   7919   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7920 /* end confdefs.h.  */
   7921 int i;
   7922 _ACEOF
   7923 if ac_fn_c_try_compile "$LINENO"
   7924 then :
   7925   xorg_cv_cc_flag_unknown_warning_option=yes
   7926 else case e in #(
   7927   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7928 esac
   7929 fi
   7930 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7931 esac
   7932 fi
   7933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7934 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7935 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7936 	CFLAGS="$xorg_testset_save_CFLAGS"
   7937 fi
   7938 
   7939 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7940 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7941 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7942 	fi
   7943 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7944 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7945 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7946 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7947 then :
   7948   printf %s "(cached) " >&6
   7949 else case e in #(
   7950   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7951 /* end confdefs.h.  */
   7952 int i;
   7953 _ACEOF
   7954 if ac_fn_c_try_compile "$LINENO"
   7955 then :
   7956   xorg_cv_cc_flag_unused_command_line_argument=yes
   7957 else case e in #(
   7958   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7959 esac
   7960 fi
   7961 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7962 esac
   7963 fi
   7964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7965 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7966 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7967 	CFLAGS="$xorg_testset_save_CFLAGS"
   7968 fi
   7969 
   7970 found="no"
   7971 
   7972 	if test $found = "no" ; then
   7973 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7974 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7975 		fi
   7976 
   7977 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7978 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7979 		fi
   7980 
   7981 		CFLAGS="$CFLAGS -Werror=main"
   7982 
   7983 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7984 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7985 		cacheid=xorg_cv_cc_flag__Werror_main
   7986 		if eval test \${$cacheid+y}
   7987 then :
   7988   printf %s "(cached) " >&6
   7989 else case e in #(
   7990   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7991 /* end confdefs.h.  */
   7992 int i;
   7993 int
   7994 main (void)
   7995 {
   7996 
   7997   ;
   7998   return 0;
   7999 }
   8000 _ACEOF
   8001 if ac_fn_c_try_link "$LINENO"
   8002 then :
   8003   eval $cacheid=yes
   8004 else case e in #(
   8005   e) eval $cacheid=no ;;
   8006 esac
   8007 fi
   8008 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8009     conftest$ac_exeext conftest.$ac_ext ;;
   8010 esac
   8011 fi
   8012 
   8013 
   8014 		CFLAGS="$xorg_testset_save_CFLAGS"
   8015 
   8016 		eval supported=\$$cacheid
   8017 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8018 printf "%s\n" "$supported" >&6; }
   8019 		if test "$supported" = "yes" ; then
   8020 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   8021 			found="yes"
   8022 		fi
   8023 	fi
   8024 
   8025 
   8026 
   8027 
   8028 
   8029 
   8030 
   8031 
   8032 
   8033 
   8034 
   8035 
   8036 
   8037 
   8038 
   8039 xorg_testset_save_CFLAGS="$CFLAGS"
   8040 
   8041 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8042 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8043 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8044 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8045 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8046 then :
   8047   printf %s "(cached) " >&6
   8048 else case e in #(
   8049   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8050 /* end confdefs.h.  */
   8051 int i;
   8052 _ACEOF
   8053 if ac_fn_c_try_compile "$LINENO"
   8054 then :
   8055   xorg_cv_cc_flag_unknown_warning_option=yes
   8056 else case e in #(
   8057   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8058 esac
   8059 fi
   8060 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8061 esac
   8062 fi
   8063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8064 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8065 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8066 	CFLAGS="$xorg_testset_save_CFLAGS"
   8067 fi
   8068 
   8069 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8070 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8071 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8072 	fi
   8073 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8074 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8075 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8076 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8077 then :
   8078   printf %s "(cached) " >&6
   8079 else case e in #(
   8080   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8081 /* end confdefs.h.  */
   8082 int i;
   8083 _ACEOF
   8084 if ac_fn_c_try_compile "$LINENO"
   8085 then :
   8086   xorg_cv_cc_flag_unused_command_line_argument=yes
   8087 else case e in #(
   8088   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8089 esac
   8090 fi
   8091 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8092 esac
   8093 fi
   8094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8095 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8096 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8097 	CFLAGS="$xorg_testset_save_CFLAGS"
   8098 fi
   8099 
   8100 found="no"
   8101 
   8102 	if test $found = "no" ; then
   8103 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8104 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8105 		fi
   8106 
   8107 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8108 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8109 		fi
   8110 
   8111 		CFLAGS="$CFLAGS -Werror=missing-braces"
   8112 
   8113 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   8114 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   8115 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   8116 		if eval test \${$cacheid+y}
   8117 then :
   8118   printf %s "(cached) " >&6
   8119 else case e in #(
   8120   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8121 /* end confdefs.h.  */
   8122 int i;
   8123 int
   8124 main (void)
   8125 {
   8126 
   8127   ;
   8128   return 0;
   8129 }
   8130 _ACEOF
   8131 if ac_fn_c_try_link "$LINENO"
   8132 then :
   8133   eval $cacheid=yes
   8134 else case e in #(
   8135   e) eval $cacheid=no ;;
   8136 esac
   8137 fi
   8138 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8139     conftest$ac_exeext conftest.$ac_ext ;;
   8140 esac
   8141 fi
   8142 
   8143 
   8144 		CFLAGS="$xorg_testset_save_CFLAGS"
   8145 
   8146 		eval supported=\$$cacheid
   8147 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8148 printf "%s\n" "$supported" >&6; }
   8149 		if test "$supported" = "yes" ; then
   8150 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   8151 			found="yes"
   8152 		fi
   8153 	fi
   8154 
   8155 
   8156 
   8157 
   8158 
   8159 
   8160 
   8161 
   8162 
   8163 
   8164 
   8165 
   8166 
   8167 
   8168 
   8169 xorg_testset_save_CFLAGS="$CFLAGS"
   8170 
   8171 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8172 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8173 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8174 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8175 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8176 then :
   8177   printf %s "(cached) " >&6
   8178 else case e in #(
   8179   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8180 /* end confdefs.h.  */
   8181 int i;
   8182 _ACEOF
   8183 if ac_fn_c_try_compile "$LINENO"
   8184 then :
   8185   xorg_cv_cc_flag_unknown_warning_option=yes
   8186 else case e in #(
   8187   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8188 esac
   8189 fi
   8190 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8191 esac
   8192 fi
   8193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8194 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8195 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8196 	CFLAGS="$xorg_testset_save_CFLAGS"
   8197 fi
   8198 
   8199 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8200 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8201 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8202 	fi
   8203 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8204 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8205 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8206 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8207 then :
   8208   printf %s "(cached) " >&6
   8209 else case e in #(
   8210   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8211 /* end confdefs.h.  */
   8212 int i;
   8213 _ACEOF
   8214 if ac_fn_c_try_compile "$LINENO"
   8215 then :
   8216   xorg_cv_cc_flag_unused_command_line_argument=yes
   8217 else case e in #(
   8218   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8219 esac
   8220 fi
   8221 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8222 esac
   8223 fi
   8224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8225 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8226 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8227 	CFLAGS="$xorg_testset_save_CFLAGS"
   8228 fi
   8229 
   8230 found="no"
   8231 
   8232 	if test $found = "no" ; then
   8233 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8234 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8235 		fi
   8236 
   8237 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8238 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8239 		fi
   8240 
   8241 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8242 
   8243 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8244 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   8245 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8246 		if eval test \${$cacheid+y}
   8247 then :
   8248   printf %s "(cached) " >&6
   8249 else case e in #(
   8250   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8251 /* end confdefs.h.  */
   8252 int i;
   8253 int
   8254 main (void)
   8255 {
   8256 
   8257   ;
   8258   return 0;
   8259 }
   8260 _ACEOF
   8261 if ac_fn_c_try_link "$LINENO"
   8262 then :
   8263   eval $cacheid=yes
   8264 else case e in #(
   8265   e) eval $cacheid=no ;;
   8266 esac
   8267 fi
   8268 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8269     conftest$ac_exeext conftest.$ac_ext ;;
   8270 esac
   8271 fi
   8272 
   8273 
   8274 		CFLAGS="$xorg_testset_save_CFLAGS"
   8275 
   8276 		eval supported=\$$cacheid
   8277 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8278 printf "%s\n" "$supported" >&6; }
   8279 		if test "$supported" = "yes" ; then
   8280 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8281 			found="yes"
   8282 		fi
   8283 	fi
   8284 
   8285 
   8286 
   8287 
   8288 
   8289 
   8290 
   8291 
   8292 
   8293 
   8294 
   8295 
   8296 
   8297 
   8298 
   8299 xorg_testset_save_CFLAGS="$CFLAGS"
   8300 
   8301 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8302 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8303 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8304 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8305 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8306 then :
   8307   printf %s "(cached) " >&6
   8308 else case e in #(
   8309   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8310 /* end confdefs.h.  */
   8311 int i;
   8312 _ACEOF
   8313 if ac_fn_c_try_compile "$LINENO"
   8314 then :
   8315   xorg_cv_cc_flag_unknown_warning_option=yes
   8316 else case e in #(
   8317   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8318 esac
   8319 fi
   8320 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8321 esac
   8322 fi
   8323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8324 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8325 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8326 	CFLAGS="$xorg_testset_save_CFLAGS"
   8327 fi
   8328 
   8329 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8330 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8331 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8332 	fi
   8333 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8334 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8335 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8336 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8337 then :
   8338   printf %s "(cached) " >&6
   8339 else case e in #(
   8340   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8341 /* end confdefs.h.  */
   8342 int i;
   8343 _ACEOF
   8344 if ac_fn_c_try_compile "$LINENO"
   8345 then :
   8346   xorg_cv_cc_flag_unused_command_line_argument=yes
   8347 else case e in #(
   8348   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8349 esac
   8350 fi
   8351 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8352 esac
   8353 fi
   8354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8355 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8356 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8357 	CFLAGS="$xorg_testset_save_CFLAGS"
   8358 fi
   8359 
   8360 found="no"
   8361 
   8362 	if test $found = "no" ; then
   8363 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8364 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8365 		fi
   8366 
   8367 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8368 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8369 		fi
   8370 
   8371 		CFLAGS="$CFLAGS -Werror=return-type"
   8372 
   8373 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8374 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8375 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8376 		if eval test \${$cacheid+y}
   8377 then :
   8378   printf %s "(cached) " >&6
   8379 else case e in #(
   8380   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8381 /* end confdefs.h.  */
   8382 int i;
   8383 int
   8384 main (void)
   8385 {
   8386 
   8387   ;
   8388   return 0;
   8389 }
   8390 _ACEOF
   8391 if ac_fn_c_try_link "$LINENO"
   8392 then :
   8393   eval $cacheid=yes
   8394 else case e in #(
   8395   e) eval $cacheid=no ;;
   8396 esac
   8397 fi
   8398 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8399     conftest$ac_exeext conftest.$ac_ext ;;
   8400 esac
   8401 fi
   8402 
   8403 
   8404 		CFLAGS="$xorg_testset_save_CFLAGS"
   8405 
   8406 		eval supported=\$$cacheid
   8407 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8408 printf "%s\n" "$supported" >&6; }
   8409 		if test "$supported" = "yes" ; then
   8410 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8411 			found="yes"
   8412 		fi
   8413 	fi
   8414 
   8415 	if test $found = "no" ; then
   8416 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8417 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8418 		fi
   8419 
   8420 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8421 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8422 		fi
   8423 
   8424 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8425 
   8426 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8427 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8428 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8429 		if eval test \${$cacheid+y}
   8430 then :
   8431   printf %s "(cached) " >&6
   8432 else case e in #(
   8433   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8434 /* end confdefs.h.  */
   8435 int i;
   8436 int
   8437 main (void)
   8438 {
   8439 
   8440   ;
   8441   return 0;
   8442 }
   8443 _ACEOF
   8444 if ac_fn_c_try_link "$LINENO"
   8445 then :
   8446   eval $cacheid=yes
   8447 else case e in #(
   8448   e) eval $cacheid=no ;;
   8449 esac
   8450 fi
   8451 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8452     conftest$ac_exeext conftest.$ac_ext ;;
   8453 esac
   8454 fi
   8455 
   8456 
   8457 		CFLAGS="$xorg_testset_save_CFLAGS"
   8458 
   8459 		eval supported=\$$cacheid
   8460 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8461 printf "%s\n" "$supported" >&6; }
   8462 		if test "$supported" = "yes" ; then
   8463 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8464 			found="yes"
   8465 		fi
   8466 	fi
   8467 
   8468 
   8469 
   8470 
   8471 
   8472 
   8473 
   8474 
   8475 
   8476 
   8477 
   8478 
   8479 
   8480 
   8481 
   8482 xorg_testset_save_CFLAGS="$CFLAGS"
   8483 
   8484 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8485 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8486 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8487 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8488 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8489 then :
   8490   printf %s "(cached) " >&6
   8491 else case e in #(
   8492   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8493 /* end confdefs.h.  */
   8494 int i;
   8495 _ACEOF
   8496 if ac_fn_c_try_compile "$LINENO"
   8497 then :
   8498   xorg_cv_cc_flag_unknown_warning_option=yes
   8499 else case e in #(
   8500   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8501 esac
   8502 fi
   8503 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8504 esac
   8505 fi
   8506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8507 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8508 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8509 	CFLAGS="$xorg_testset_save_CFLAGS"
   8510 fi
   8511 
   8512 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8513 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8514 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8515 	fi
   8516 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8517 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8518 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8519 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8520 then :
   8521   printf %s "(cached) " >&6
   8522 else case e in #(
   8523   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8524 /* end confdefs.h.  */
   8525 int i;
   8526 _ACEOF
   8527 if ac_fn_c_try_compile "$LINENO"
   8528 then :
   8529   xorg_cv_cc_flag_unused_command_line_argument=yes
   8530 else case e in #(
   8531   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8532 esac
   8533 fi
   8534 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8535 esac
   8536 fi
   8537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8538 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8539 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8540 	CFLAGS="$xorg_testset_save_CFLAGS"
   8541 fi
   8542 
   8543 found="no"
   8544 
   8545 	if test $found = "no" ; then
   8546 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8547 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8548 		fi
   8549 
   8550 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8551 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8552 		fi
   8553 
   8554 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8555 
   8556 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8557 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8558 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8559 		if eval test \${$cacheid+y}
   8560 then :
   8561   printf %s "(cached) " >&6
   8562 else case e in #(
   8563   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8564 /* end confdefs.h.  */
   8565 int i;
   8566 int
   8567 main (void)
   8568 {
   8569 
   8570   ;
   8571   return 0;
   8572 }
   8573 _ACEOF
   8574 if ac_fn_c_try_link "$LINENO"
   8575 then :
   8576   eval $cacheid=yes
   8577 else case e in #(
   8578   e) eval $cacheid=no ;;
   8579 esac
   8580 fi
   8581 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8582     conftest$ac_exeext conftest.$ac_ext ;;
   8583 esac
   8584 fi
   8585 
   8586 
   8587 		CFLAGS="$xorg_testset_save_CFLAGS"
   8588 
   8589 		eval supported=\$$cacheid
   8590 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8591 printf "%s\n" "$supported" >&6; }
   8592 		if test "$supported" = "yes" ; then
   8593 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8594 			found="yes"
   8595 		fi
   8596 	fi
   8597 
   8598 
   8599 
   8600 
   8601 
   8602 
   8603 
   8604 
   8605 
   8606 
   8607 
   8608 
   8609 
   8610 
   8611 
   8612 xorg_testset_save_CFLAGS="$CFLAGS"
   8613 
   8614 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8615 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8616 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8617 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8618 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8619 then :
   8620   printf %s "(cached) " >&6
   8621 else case e in #(
   8622   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8623 /* end confdefs.h.  */
   8624 int i;
   8625 _ACEOF
   8626 if ac_fn_c_try_compile "$LINENO"
   8627 then :
   8628   xorg_cv_cc_flag_unknown_warning_option=yes
   8629 else case e in #(
   8630   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8631 esac
   8632 fi
   8633 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8634 esac
   8635 fi
   8636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8637 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8638 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8639 	CFLAGS="$xorg_testset_save_CFLAGS"
   8640 fi
   8641 
   8642 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8643 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8644 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8645 	fi
   8646 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8647 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8648 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8649 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8650 then :
   8651   printf %s "(cached) " >&6
   8652 else case e in #(
   8653   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8654 /* end confdefs.h.  */
   8655 int i;
   8656 _ACEOF
   8657 if ac_fn_c_try_compile "$LINENO"
   8658 then :
   8659   xorg_cv_cc_flag_unused_command_line_argument=yes
   8660 else case e in #(
   8661   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8662 esac
   8663 fi
   8664 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8665 esac
   8666 fi
   8667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8668 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8669 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8670 	CFLAGS="$xorg_testset_save_CFLAGS"
   8671 fi
   8672 
   8673 found="no"
   8674 
   8675 	if test $found = "no" ; then
   8676 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8677 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8678 		fi
   8679 
   8680 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8681 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8682 		fi
   8683 
   8684 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8685 
   8686 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8687 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8688 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8689 		if eval test \${$cacheid+y}
   8690 then :
   8691   printf %s "(cached) " >&6
   8692 else case e in #(
   8693   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8694 /* end confdefs.h.  */
   8695 int i;
   8696 int
   8697 main (void)
   8698 {
   8699 
   8700   ;
   8701   return 0;
   8702 }
   8703 _ACEOF
   8704 if ac_fn_c_try_link "$LINENO"
   8705 then :
   8706   eval $cacheid=yes
   8707 else case e in #(
   8708   e) eval $cacheid=no ;;
   8709 esac
   8710 fi
   8711 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8712     conftest$ac_exeext conftest.$ac_ext ;;
   8713 esac
   8714 fi
   8715 
   8716 
   8717 		CFLAGS="$xorg_testset_save_CFLAGS"
   8718 
   8719 		eval supported=\$$cacheid
   8720 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8721 printf "%s\n" "$supported" >&6; }
   8722 		if test "$supported" = "yes" ; then
   8723 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8724 			found="yes"
   8725 		fi
   8726 	fi
   8727 
   8728 
   8729 
   8730 
   8731 
   8732 
   8733 
   8734 
   8735 
   8736 
   8737 
   8738 
   8739 
   8740 
   8741 
   8742 xorg_testset_save_CFLAGS="$CFLAGS"
   8743 
   8744 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8745 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8746 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8747 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8748 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8749 then :
   8750   printf %s "(cached) " >&6
   8751 else case e in #(
   8752   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8753 /* end confdefs.h.  */
   8754 int i;
   8755 _ACEOF
   8756 if ac_fn_c_try_compile "$LINENO"
   8757 then :
   8758   xorg_cv_cc_flag_unknown_warning_option=yes
   8759 else case e in #(
   8760   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8761 esac
   8762 fi
   8763 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8764 esac
   8765 fi
   8766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8767 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8768 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8769 	CFLAGS="$xorg_testset_save_CFLAGS"
   8770 fi
   8771 
   8772 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8773 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8774 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8775 	fi
   8776 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8777 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8778 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8779 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8780 then :
   8781   printf %s "(cached) " >&6
   8782 else case e in #(
   8783   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8784 /* end confdefs.h.  */
   8785 int i;
   8786 _ACEOF
   8787 if ac_fn_c_try_compile "$LINENO"
   8788 then :
   8789   xorg_cv_cc_flag_unused_command_line_argument=yes
   8790 else case e in #(
   8791   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8792 esac
   8793 fi
   8794 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8795 esac
   8796 fi
   8797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8798 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8799 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8800 	CFLAGS="$xorg_testset_save_CFLAGS"
   8801 fi
   8802 
   8803 found="no"
   8804 
   8805 	if test $found = "no" ; then
   8806 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8807 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8808 		fi
   8809 
   8810 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8811 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8812 		fi
   8813 
   8814 		CFLAGS="$CFLAGS -Werror=write-strings"
   8815 
   8816 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8817 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8818 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8819 		if eval test \${$cacheid+y}
   8820 then :
   8821   printf %s "(cached) " >&6
   8822 else case e in #(
   8823   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8824 /* end confdefs.h.  */
   8825 int i;
   8826 int
   8827 main (void)
   8828 {
   8829 
   8830   ;
   8831   return 0;
   8832 }
   8833 _ACEOF
   8834 if ac_fn_c_try_link "$LINENO"
   8835 then :
   8836   eval $cacheid=yes
   8837 else case e in #(
   8838   e) eval $cacheid=no ;;
   8839 esac
   8840 fi
   8841 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8842     conftest$ac_exeext conftest.$ac_ext ;;
   8843 esac
   8844 fi
   8845 
   8846 
   8847 		CFLAGS="$xorg_testset_save_CFLAGS"
   8848 
   8849 		eval supported=\$$cacheid
   8850 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8851 printf "%s\n" "$supported" >&6; }
   8852 		if test "$supported" = "yes" ; then
   8853 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8854 			found="yes"
   8855 		fi
   8856 	fi
   8857 
   8858 
   8859 
   8860 
   8861 
   8862 
   8863 
   8864 
   8865 
   8866 
   8867 
   8868 
   8869 
   8870 
   8871 
   8872 xorg_testset_save_CFLAGS="$CFLAGS"
   8873 
   8874 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8875 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8876 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8877 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8878 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8879 then :
   8880   printf %s "(cached) " >&6
   8881 else case e in #(
   8882   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8883 /* end confdefs.h.  */
   8884 int i;
   8885 _ACEOF
   8886 if ac_fn_c_try_compile "$LINENO"
   8887 then :
   8888   xorg_cv_cc_flag_unknown_warning_option=yes
   8889 else case e in #(
   8890   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8891 esac
   8892 fi
   8893 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8894 esac
   8895 fi
   8896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8897 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8898 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8899 	CFLAGS="$xorg_testset_save_CFLAGS"
   8900 fi
   8901 
   8902 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8903 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8904 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8905 	fi
   8906 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8907 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8908 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8909 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8910 then :
   8911   printf %s "(cached) " >&6
   8912 else case e in #(
   8913   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8914 /* end confdefs.h.  */
   8915 int i;
   8916 _ACEOF
   8917 if ac_fn_c_try_compile "$LINENO"
   8918 then :
   8919   xorg_cv_cc_flag_unused_command_line_argument=yes
   8920 else case e in #(
   8921   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8922 esac
   8923 fi
   8924 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8925 esac
   8926 fi
   8927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8928 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8929 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8930 	CFLAGS="$xorg_testset_save_CFLAGS"
   8931 fi
   8932 
   8933 found="no"
   8934 
   8935 	if test $found = "no" ; then
   8936 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8937 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8938 		fi
   8939 
   8940 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8941 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8942 		fi
   8943 
   8944 		CFLAGS="$CFLAGS -Werror=address"
   8945 
   8946 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8947 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8948 		cacheid=xorg_cv_cc_flag__Werror_address
   8949 		if eval test \${$cacheid+y}
   8950 then :
   8951   printf %s "(cached) " >&6
   8952 else case e in #(
   8953   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8954 /* end confdefs.h.  */
   8955 int i;
   8956 int
   8957 main (void)
   8958 {
   8959 
   8960   ;
   8961   return 0;
   8962 }
   8963 _ACEOF
   8964 if ac_fn_c_try_link "$LINENO"
   8965 then :
   8966   eval $cacheid=yes
   8967 else case e in #(
   8968   e) eval $cacheid=no ;;
   8969 esac
   8970 fi
   8971 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8972     conftest$ac_exeext conftest.$ac_ext ;;
   8973 esac
   8974 fi
   8975 
   8976 
   8977 		CFLAGS="$xorg_testset_save_CFLAGS"
   8978 
   8979 		eval supported=\$$cacheid
   8980 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8981 printf "%s\n" "$supported" >&6; }
   8982 		if test "$supported" = "yes" ; then
   8983 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8984 			found="yes"
   8985 		fi
   8986 	fi
   8987 
   8988 
   8989 
   8990 
   8991 
   8992 
   8993 
   8994 
   8995 
   8996 
   8997 
   8998 
   8999 
   9000 
   9001 
   9002 xorg_testset_save_CFLAGS="$CFLAGS"
   9003 
   9004 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9005 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9006 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9007 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9008 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9009 then :
   9010   printf %s "(cached) " >&6
   9011 else case e in #(
   9012   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9013 /* end confdefs.h.  */
   9014 int i;
   9015 _ACEOF
   9016 if ac_fn_c_try_compile "$LINENO"
   9017 then :
   9018   xorg_cv_cc_flag_unknown_warning_option=yes
   9019 else case e in #(
   9020   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9021 esac
   9022 fi
   9023 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9024 esac
   9025 fi
   9026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9027 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9028 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9029 	CFLAGS="$xorg_testset_save_CFLAGS"
   9030 fi
   9031 
   9032 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9033 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9034 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9035 	fi
   9036 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9037 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9038 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9039 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9040 then :
   9041   printf %s "(cached) " >&6
   9042 else case e in #(
   9043   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9044 /* end confdefs.h.  */
   9045 int i;
   9046 _ACEOF
   9047 if ac_fn_c_try_compile "$LINENO"
   9048 then :
   9049   xorg_cv_cc_flag_unused_command_line_argument=yes
   9050 else case e in #(
   9051   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9052 esac
   9053 fi
   9054 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9055 esac
   9056 fi
   9057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9058 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9059 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9060 	CFLAGS="$xorg_testset_save_CFLAGS"
   9061 fi
   9062 
   9063 found="no"
   9064 
   9065 	if test $found = "no" ; then
   9066 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9067 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9068 		fi
   9069 
   9070 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9071 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9072 		fi
   9073 
   9074 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   9075 
   9076 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   9077 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   9078 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   9079 		if eval test \${$cacheid+y}
   9080 then :
   9081   printf %s "(cached) " >&6
   9082 else case e in #(
   9083   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9084 /* end confdefs.h.  */
   9085 int i;
   9086 int
   9087 main (void)
   9088 {
   9089 
   9090   ;
   9091   return 0;
   9092 }
   9093 _ACEOF
   9094 if ac_fn_c_try_link "$LINENO"
   9095 then :
   9096   eval $cacheid=yes
   9097 else case e in #(
   9098   e) eval $cacheid=no ;;
   9099 esac
   9100 fi
   9101 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9102     conftest$ac_exeext conftest.$ac_ext ;;
   9103 esac
   9104 fi
   9105 
   9106 
   9107 		CFLAGS="$xorg_testset_save_CFLAGS"
   9108 
   9109 		eval supported=\$$cacheid
   9110 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9111 printf "%s\n" "$supported" >&6; }
   9112 		if test "$supported" = "yes" ; then
   9113 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   9114 			found="yes"
   9115 		fi
   9116 	fi
   9117 
   9118 	if test $found = "no" ; then
   9119 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9120 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9121 		fi
   9122 
   9123 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9124 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9125 		fi
   9126 
   9127 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9128 
   9129 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   9130 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   9131 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   9132 		if eval test \${$cacheid+y}
   9133 then :
   9134   printf %s "(cached) " >&6
   9135 else case e in #(
   9136   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9137 /* end confdefs.h.  */
   9138 int i;
   9139 int
   9140 main (void)
   9141 {
   9142 
   9143   ;
   9144   return 0;
   9145 }
   9146 _ACEOF
   9147 if ac_fn_c_try_link "$LINENO"
   9148 then :
   9149   eval $cacheid=yes
   9150 else case e in #(
   9151   e) eval $cacheid=no ;;
   9152 esac
   9153 fi
   9154 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9155     conftest$ac_exeext conftest.$ac_ext ;;
   9156 esac
   9157 fi
   9158 
   9159 
   9160 		CFLAGS="$xorg_testset_save_CFLAGS"
   9161 
   9162 		eval supported=\$$cacheid
   9163 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9164 printf "%s\n" "$supported" >&6; }
   9165 		if test "$supported" = "yes" ; then
   9166 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9167 			found="yes"
   9168 		fi
   9169 	fi
   9170 
   9171 
   9172 
   9173 
   9174 
   9175 
   9176 
   9177 
   9178 
   9179 
   9180 
   9181 
   9182 
   9183 
   9184 
   9185 xorg_testset_save_CFLAGS="$CFLAGS"
   9186 
   9187 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9188 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9189 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9190 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9191 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9192 then :
   9193   printf %s "(cached) " >&6
   9194 else case e in #(
   9195   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9196 /* end confdefs.h.  */
   9197 int i;
   9198 _ACEOF
   9199 if ac_fn_c_try_compile "$LINENO"
   9200 then :
   9201   xorg_cv_cc_flag_unknown_warning_option=yes
   9202 else case e in #(
   9203   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9204 esac
   9205 fi
   9206 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9207 esac
   9208 fi
   9209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9210 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9211 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9212 	CFLAGS="$xorg_testset_save_CFLAGS"
   9213 fi
   9214 
   9215 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9216 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9217 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9218 	fi
   9219 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9220 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9221 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9222 if test ${xorg_cv_cc_flag_unused_command_line_argument+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_unused_command_line_argument=yes
   9233 else case e in #(
   9234   e) xorg_cv_cc_flag_unused_command_line_argument=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_unused_command_line_argument" >&5
   9241 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9242 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9243 	CFLAGS="$xorg_testset_save_CFLAGS"
   9244 fi
   9245 
   9246 found="no"
   9247 
   9248 	if test $found = "no" ; then
   9249 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9250 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9251 		fi
   9252 
   9253 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9254 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9255 		fi
   9256 
   9257 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   9258 
   9259 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   9260 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   9261 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   9262 		if eval test \${$cacheid+y}
   9263 then :
   9264   printf %s "(cached) " >&6
   9265 else case e in #(
   9266   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9267 /* end confdefs.h.  */
   9268 int i;
   9269 int
   9270 main (void)
   9271 {
   9272 
   9273   ;
   9274   return 0;
   9275 }
   9276 _ACEOF
   9277 if ac_fn_c_try_link "$LINENO"
   9278 then :
   9279   eval $cacheid=yes
   9280 else case e in #(
   9281   e) eval $cacheid=no ;;
   9282 esac
   9283 fi
   9284 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9285     conftest$ac_exeext conftest.$ac_ext ;;
   9286 esac
   9287 fi
   9288 
   9289 
   9290 		CFLAGS="$xorg_testset_save_CFLAGS"
   9291 
   9292 		eval supported=\$$cacheid
   9293 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9294 printf "%s\n" "$supported" >&6; }
   9295 		if test "$supported" = "yes" ; then
   9296 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   9297 			found="yes"
   9298 		fi
   9299 	fi
   9300 
   9301  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   9302 else
   9303 { 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
   9304 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;}
   9305 
   9306 
   9307 
   9308 
   9309 
   9310 
   9311 
   9312 
   9313 
   9314 
   9315 
   9316 
   9317 
   9318 xorg_testset_save_CFLAGS="$CFLAGS"
   9319 
   9320 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9321 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9322 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9323 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9324 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9325 then :
   9326   printf %s "(cached) " >&6
   9327 else case e in #(
   9328   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9329 /* end confdefs.h.  */
   9330 int i;
   9331 _ACEOF
   9332 if ac_fn_c_try_compile "$LINENO"
   9333 then :
   9334   xorg_cv_cc_flag_unknown_warning_option=yes
   9335 else case e in #(
   9336   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9337 esac
   9338 fi
   9339 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9340 esac
   9341 fi
   9342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9343 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9344 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9345 	CFLAGS="$xorg_testset_save_CFLAGS"
   9346 fi
   9347 
   9348 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9349 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9350 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9351 	fi
   9352 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9353 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9354 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9355 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9356 then :
   9357   printf %s "(cached) " >&6
   9358 else case e in #(
   9359   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9360 /* end confdefs.h.  */
   9361 int i;
   9362 _ACEOF
   9363 if ac_fn_c_try_compile "$LINENO"
   9364 then :
   9365   xorg_cv_cc_flag_unused_command_line_argument=yes
   9366 else case e in #(
   9367   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9368 esac
   9369 fi
   9370 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9371 esac
   9372 fi
   9373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9374 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9375 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9376 	CFLAGS="$xorg_testset_save_CFLAGS"
   9377 fi
   9378 
   9379 found="no"
   9380 
   9381 	if test $found = "no" ; then
   9382 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9383 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9384 		fi
   9385 
   9386 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9387 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9388 		fi
   9389 
   9390 		CFLAGS="$CFLAGS -Wimplicit"
   9391 
   9392 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9393 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9394 		cacheid=xorg_cv_cc_flag__Wimplicit
   9395 		if eval test \${$cacheid+y}
   9396 then :
   9397   printf %s "(cached) " >&6
   9398 else case e in #(
   9399   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9400 /* end confdefs.h.  */
   9401 int i;
   9402 int
   9403 main (void)
   9404 {
   9405 
   9406   ;
   9407   return 0;
   9408 }
   9409 _ACEOF
   9410 if ac_fn_c_try_link "$LINENO"
   9411 then :
   9412   eval $cacheid=yes
   9413 else case e in #(
   9414   e) eval $cacheid=no ;;
   9415 esac
   9416 fi
   9417 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9418     conftest$ac_exeext conftest.$ac_ext ;;
   9419 esac
   9420 fi
   9421 
   9422 
   9423 		CFLAGS="$xorg_testset_save_CFLAGS"
   9424 
   9425 		eval supported=\$$cacheid
   9426 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9427 printf "%s\n" "$supported" >&6; }
   9428 		if test "$supported" = "yes" ; then
   9429 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9430 			found="yes"
   9431 		fi
   9432 	fi
   9433 
   9434 
   9435 
   9436 
   9437 
   9438 
   9439 
   9440 
   9441 
   9442 
   9443 
   9444 
   9445 
   9446 
   9447 
   9448 xorg_testset_save_CFLAGS="$CFLAGS"
   9449 
   9450 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9451 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9452 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9453 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9454 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9455 then :
   9456   printf %s "(cached) " >&6
   9457 else case e in #(
   9458   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9459 /* end confdefs.h.  */
   9460 int i;
   9461 _ACEOF
   9462 if ac_fn_c_try_compile "$LINENO"
   9463 then :
   9464   xorg_cv_cc_flag_unknown_warning_option=yes
   9465 else case e in #(
   9466   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9467 esac
   9468 fi
   9469 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9470 esac
   9471 fi
   9472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9473 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9474 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9475 	CFLAGS="$xorg_testset_save_CFLAGS"
   9476 fi
   9477 
   9478 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9479 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9480 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9481 	fi
   9482 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9483 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9484 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9485 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9486 then :
   9487   printf %s "(cached) " >&6
   9488 else case e in #(
   9489   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9490 /* end confdefs.h.  */
   9491 int i;
   9492 _ACEOF
   9493 if ac_fn_c_try_compile "$LINENO"
   9494 then :
   9495   xorg_cv_cc_flag_unused_command_line_argument=yes
   9496 else case e in #(
   9497   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9498 esac
   9499 fi
   9500 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9501 esac
   9502 fi
   9503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9504 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9505 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9506 	CFLAGS="$xorg_testset_save_CFLAGS"
   9507 fi
   9508 
   9509 found="no"
   9510 
   9511 	if test $found = "no" ; then
   9512 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9513 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9514 		fi
   9515 
   9516 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9517 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9518 		fi
   9519 
   9520 		CFLAGS="$CFLAGS -Wnonnull"
   9521 
   9522 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9523 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9524 		cacheid=xorg_cv_cc_flag__Wnonnull
   9525 		if eval test \${$cacheid+y}
   9526 then :
   9527   printf %s "(cached) " >&6
   9528 else case e in #(
   9529   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9530 /* end confdefs.h.  */
   9531 int i;
   9532 int
   9533 main (void)
   9534 {
   9535 
   9536   ;
   9537   return 0;
   9538 }
   9539 _ACEOF
   9540 if ac_fn_c_try_link "$LINENO"
   9541 then :
   9542   eval $cacheid=yes
   9543 else case e in #(
   9544   e) eval $cacheid=no ;;
   9545 esac
   9546 fi
   9547 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9548     conftest$ac_exeext conftest.$ac_ext ;;
   9549 esac
   9550 fi
   9551 
   9552 
   9553 		CFLAGS="$xorg_testset_save_CFLAGS"
   9554 
   9555 		eval supported=\$$cacheid
   9556 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9557 printf "%s\n" "$supported" >&6; }
   9558 		if test "$supported" = "yes" ; then
   9559 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9560 			found="yes"
   9561 		fi
   9562 	fi
   9563 
   9564 
   9565 
   9566 
   9567 
   9568 
   9569 
   9570 
   9571 
   9572 
   9573 
   9574 
   9575 
   9576 
   9577 
   9578 xorg_testset_save_CFLAGS="$CFLAGS"
   9579 
   9580 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9581 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9582 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9583 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9584 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9585 then :
   9586   printf %s "(cached) " >&6
   9587 else case e in #(
   9588   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9589 /* end confdefs.h.  */
   9590 int i;
   9591 _ACEOF
   9592 if ac_fn_c_try_compile "$LINENO"
   9593 then :
   9594   xorg_cv_cc_flag_unknown_warning_option=yes
   9595 else case e in #(
   9596   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9597 esac
   9598 fi
   9599 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9600 esac
   9601 fi
   9602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9603 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9604 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9605 	CFLAGS="$xorg_testset_save_CFLAGS"
   9606 fi
   9607 
   9608 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9609 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9610 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9611 	fi
   9612 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9613 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9614 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9615 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9616 then :
   9617   printf %s "(cached) " >&6
   9618 else case e in #(
   9619   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9620 /* end confdefs.h.  */
   9621 int i;
   9622 _ACEOF
   9623 if ac_fn_c_try_compile "$LINENO"
   9624 then :
   9625   xorg_cv_cc_flag_unused_command_line_argument=yes
   9626 else case e in #(
   9627   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9628 esac
   9629 fi
   9630 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9631 esac
   9632 fi
   9633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9634 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9635 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9636 	CFLAGS="$xorg_testset_save_CFLAGS"
   9637 fi
   9638 
   9639 found="no"
   9640 
   9641 	if test $found = "no" ; then
   9642 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9643 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9644 		fi
   9645 
   9646 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9647 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9648 		fi
   9649 
   9650 		CFLAGS="$CFLAGS -Winit-self"
   9651 
   9652 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9653 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9654 		cacheid=xorg_cv_cc_flag__Winit_self
   9655 		if eval test \${$cacheid+y}
   9656 then :
   9657   printf %s "(cached) " >&6
   9658 else case e in #(
   9659   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9660 /* end confdefs.h.  */
   9661 int i;
   9662 int
   9663 main (void)
   9664 {
   9665 
   9666   ;
   9667   return 0;
   9668 }
   9669 _ACEOF
   9670 if ac_fn_c_try_link "$LINENO"
   9671 then :
   9672   eval $cacheid=yes
   9673 else case e in #(
   9674   e) eval $cacheid=no ;;
   9675 esac
   9676 fi
   9677 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9678     conftest$ac_exeext conftest.$ac_ext ;;
   9679 esac
   9680 fi
   9681 
   9682 
   9683 		CFLAGS="$xorg_testset_save_CFLAGS"
   9684 
   9685 		eval supported=\$$cacheid
   9686 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9687 printf "%s\n" "$supported" >&6; }
   9688 		if test "$supported" = "yes" ; then
   9689 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9690 			found="yes"
   9691 		fi
   9692 	fi
   9693 
   9694 
   9695 
   9696 
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 
   9703 
   9704 
   9705 
   9706 
   9707 
   9708 xorg_testset_save_CFLAGS="$CFLAGS"
   9709 
   9710 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9711 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9712 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9713 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9714 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9715 then :
   9716   printf %s "(cached) " >&6
   9717 else case e in #(
   9718   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9719 /* end confdefs.h.  */
   9720 int i;
   9721 _ACEOF
   9722 if ac_fn_c_try_compile "$LINENO"
   9723 then :
   9724   xorg_cv_cc_flag_unknown_warning_option=yes
   9725 else case e in #(
   9726   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9727 esac
   9728 fi
   9729 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9730 esac
   9731 fi
   9732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9733 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9734 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9735 	CFLAGS="$xorg_testset_save_CFLAGS"
   9736 fi
   9737 
   9738 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9739 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9740 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9741 	fi
   9742 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9743 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9744 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9745 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9746 then :
   9747   printf %s "(cached) " >&6
   9748 else case e in #(
   9749   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9750 /* end confdefs.h.  */
   9751 int i;
   9752 _ACEOF
   9753 if ac_fn_c_try_compile "$LINENO"
   9754 then :
   9755   xorg_cv_cc_flag_unused_command_line_argument=yes
   9756 else case e in #(
   9757   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9758 esac
   9759 fi
   9760 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9761 esac
   9762 fi
   9763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9764 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9765 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9766 	CFLAGS="$xorg_testset_save_CFLAGS"
   9767 fi
   9768 
   9769 found="no"
   9770 
   9771 	if test $found = "no" ; then
   9772 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9773 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9774 		fi
   9775 
   9776 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9777 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9778 		fi
   9779 
   9780 		CFLAGS="$CFLAGS -Wmain"
   9781 
   9782 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9783 printf %s "checking if $CC supports -Wmain... " >&6; }
   9784 		cacheid=xorg_cv_cc_flag__Wmain
   9785 		if eval test \${$cacheid+y}
   9786 then :
   9787   printf %s "(cached) " >&6
   9788 else case e in #(
   9789   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9790 /* end confdefs.h.  */
   9791 int i;
   9792 int
   9793 main (void)
   9794 {
   9795 
   9796   ;
   9797   return 0;
   9798 }
   9799 _ACEOF
   9800 if ac_fn_c_try_link "$LINENO"
   9801 then :
   9802   eval $cacheid=yes
   9803 else case e in #(
   9804   e) eval $cacheid=no ;;
   9805 esac
   9806 fi
   9807 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9808     conftest$ac_exeext conftest.$ac_ext ;;
   9809 esac
   9810 fi
   9811 
   9812 
   9813 		CFLAGS="$xorg_testset_save_CFLAGS"
   9814 
   9815 		eval supported=\$$cacheid
   9816 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9817 printf "%s\n" "$supported" >&6; }
   9818 		if test "$supported" = "yes" ; then
   9819 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9820 			found="yes"
   9821 		fi
   9822 	fi
   9823 
   9824 
   9825 
   9826 
   9827 
   9828 
   9829 
   9830 
   9831 
   9832 
   9833 
   9834 
   9835 
   9836 
   9837 
   9838 xorg_testset_save_CFLAGS="$CFLAGS"
   9839 
   9840 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9841 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9842 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9843 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9844 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9845 then :
   9846   printf %s "(cached) " >&6
   9847 else case e in #(
   9848   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9849 /* end confdefs.h.  */
   9850 int i;
   9851 _ACEOF
   9852 if ac_fn_c_try_compile "$LINENO"
   9853 then :
   9854   xorg_cv_cc_flag_unknown_warning_option=yes
   9855 else case e in #(
   9856   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9857 esac
   9858 fi
   9859 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9860 esac
   9861 fi
   9862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9863 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9864 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9865 	CFLAGS="$xorg_testset_save_CFLAGS"
   9866 fi
   9867 
   9868 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9869 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9870 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9871 	fi
   9872 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9873 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9874 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9875 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9876 then :
   9877   printf %s "(cached) " >&6
   9878 else case e in #(
   9879   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9880 /* end confdefs.h.  */
   9881 int i;
   9882 _ACEOF
   9883 if ac_fn_c_try_compile "$LINENO"
   9884 then :
   9885   xorg_cv_cc_flag_unused_command_line_argument=yes
   9886 else case e in #(
   9887   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9888 esac
   9889 fi
   9890 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9891 esac
   9892 fi
   9893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9894 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9895 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9896 	CFLAGS="$xorg_testset_save_CFLAGS"
   9897 fi
   9898 
   9899 found="no"
   9900 
   9901 	if test $found = "no" ; then
   9902 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9903 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9904 		fi
   9905 
   9906 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9907 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9908 		fi
   9909 
   9910 		CFLAGS="$CFLAGS -Wmissing-braces"
   9911 
   9912 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9913 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9914 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9915 		if eval test \${$cacheid+y}
   9916 then :
   9917   printf %s "(cached) " >&6
   9918 else case e in #(
   9919   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9920 /* end confdefs.h.  */
   9921 int i;
   9922 int
   9923 main (void)
   9924 {
   9925 
   9926   ;
   9927   return 0;
   9928 }
   9929 _ACEOF
   9930 if ac_fn_c_try_link "$LINENO"
   9931 then :
   9932   eval $cacheid=yes
   9933 else case e in #(
   9934   e) eval $cacheid=no ;;
   9935 esac
   9936 fi
   9937 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9938     conftest$ac_exeext conftest.$ac_ext ;;
   9939 esac
   9940 fi
   9941 
   9942 
   9943 		CFLAGS="$xorg_testset_save_CFLAGS"
   9944 
   9945 		eval supported=\$$cacheid
   9946 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9947 printf "%s\n" "$supported" >&6; }
   9948 		if test "$supported" = "yes" ; then
   9949 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9950 			found="yes"
   9951 		fi
   9952 	fi
   9953 
   9954 
   9955 
   9956 
   9957 
   9958 
   9959 
   9960 
   9961 
   9962 
   9963 
   9964 
   9965 
   9966 
   9967 
   9968 xorg_testset_save_CFLAGS="$CFLAGS"
   9969 
   9970 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9971 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9972 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9973 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9974 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9975 then :
   9976   printf %s "(cached) " >&6
   9977 else case e in #(
   9978   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9979 /* end confdefs.h.  */
   9980 int i;
   9981 _ACEOF
   9982 if ac_fn_c_try_compile "$LINENO"
   9983 then :
   9984   xorg_cv_cc_flag_unknown_warning_option=yes
   9985 else case e in #(
   9986   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9987 esac
   9988 fi
   9989 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9990 esac
   9991 fi
   9992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9993 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9994 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9995 	CFLAGS="$xorg_testset_save_CFLAGS"
   9996 fi
   9997 
   9998 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9999 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10000 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10001 	fi
   10002 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10003 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10004 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10005 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10006 then :
   10007   printf %s "(cached) " >&6
   10008 else case e in #(
   10009   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10010 /* end confdefs.h.  */
   10011 int i;
   10012 _ACEOF
   10013 if ac_fn_c_try_compile "$LINENO"
   10014 then :
   10015   xorg_cv_cc_flag_unused_command_line_argument=yes
   10016 else case e in #(
   10017   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10018 esac
   10019 fi
   10020 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10021 esac
   10022 fi
   10023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10024 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10025 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10026 	CFLAGS="$xorg_testset_save_CFLAGS"
   10027 fi
   10028 
   10029 found="no"
   10030 
   10031 	if test $found = "no" ; then
   10032 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10033 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10034 		fi
   10035 
   10036 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10037 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10038 		fi
   10039 
   10040 		CFLAGS="$CFLAGS -Wsequence-point"
   10041 
   10042 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   10043 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   10044 		cacheid=xorg_cv_cc_flag__Wsequence_point
   10045 		if eval test \${$cacheid+y}
   10046 then :
   10047   printf %s "(cached) " >&6
   10048 else case e in #(
   10049   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10050 /* end confdefs.h.  */
   10051 int i;
   10052 int
   10053 main (void)
   10054 {
   10055 
   10056   ;
   10057   return 0;
   10058 }
   10059 _ACEOF
   10060 if ac_fn_c_try_link "$LINENO"
   10061 then :
   10062   eval $cacheid=yes
   10063 else case e in #(
   10064   e) eval $cacheid=no ;;
   10065 esac
   10066 fi
   10067 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10068     conftest$ac_exeext conftest.$ac_ext ;;
   10069 esac
   10070 fi
   10071 
   10072 
   10073 		CFLAGS="$xorg_testset_save_CFLAGS"
   10074 
   10075 		eval supported=\$$cacheid
   10076 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10077 printf "%s\n" "$supported" >&6; }
   10078 		if test "$supported" = "yes" ; then
   10079 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   10080 			found="yes"
   10081 		fi
   10082 	fi
   10083 
   10084 
   10085 
   10086 
   10087 
   10088 
   10089 
   10090 
   10091 
   10092 
   10093 
   10094 
   10095 
   10096 
   10097 
   10098 xorg_testset_save_CFLAGS="$CFLAGS"
   10099 
   10100 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10101 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10102 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10103 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10104 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10105 then :
   10106   printf %s "(cached) " >&6
   10107 else case e in #(
   10108   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10109 /* end confdefs.h.  */
   10110 int i;
   10111 _ACEOF
   10112 if ac_fn_c_try_compile "$LINENO"
   10113 then :
   10114   xorg_cv_cc_flag_unknown_warning_option=yes
   10115 else case e in #(
   10116   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10117 esac
   10118 fi
   10119 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10120 esac
   10121 fi
   10122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10123 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10124 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10125 	CFLAGS="$xorg_testset_save_CFLAGS"
   10126 fi
   10127 
   10128 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10129 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10130 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10131 	fi
   10132 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10133 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10134 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10135 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10136 then :
   10137   printf %s "(cached) " >&6
   10138 else case e in #(
   10139   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10140 /* end confdefs.h.  */
   10141 int i;
   10142 _ACEOF
   10143 if ac_fn_c_try_compile "$LINENO"
   10144 then :
   10145   xorg_cv_cc_flag_unused_command_line_argument=yes
   10146 else case e in #(
   10147   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10148 esac
   10149 fi
   10150 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10151 esac
   10152 fi
   10153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10154 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10155 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10156 	CFLAGS="$xorg_testset_save_CFLAGS"
   10157 fi
   10158 
   10159 found="no"
   10160 
   10161 	if test $found = "no" ; then
   10162 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10163 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10164 		fi
   10165 
   10166 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10167 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10168 		fi
   10169 
   10170 		CFLAGS="$CFLAGS -Wreturn-type"
   10171 
   10172 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   10173 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   10174 		cacheid=xorg_cv_cc_flag__Wreturn_type
   10175 		if eval test \${$cacheid+y}
   10176 then :
   10177   printf %s "(cached) " >&6
   10178 else case e in #(
   10179   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10180 /* end confdefs.h.  */
   10181 int i;
   10182 int
   10183 main (void)
   10184 {
   10185 
   10186   ;
   10187   return 0;
   10188 }
   10189 _ACEOF
   10190 if ac_fn_c_try_link "$LINENO"
   10191 then :
   10192   eval $cacheid=yes
   10193 else case e in #(
   10194   e) eval $cacheid=no ;;
   10195 esac
   10196 fi
   10197 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10198     conftest$ac_exeext conftest.$ac_ext ;;
   10199 esac
   10200 fi
   10201 
   10202 
   10203 		CFLAGS="$xorg_testset_save_CFLAGS"
   10204 
   10205 		eval supported=\$$cacheid
   10206 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10207 printf "%s\n" "$supported" >&6; }
   10208 		if test "$supported" = "yes" ; then
   10209 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   10210 			found="yes"
   10211 		fi
   10212 	fi
   10213 
   10214 
   10215 
   10216 
   10217 
   10218 
   10219 
   10220 
   10221 
   10222 
   10223 
   10224 
   10225 
   10226 
   10227 
   10228 xorg_testset_save_CFLAGS="$CFLAGS"
   10229 
   10230 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10231 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10232 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10233 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10234 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10235 then :
   10236   printf %s "(cached) " >&6
   10237 else case e in #(
   10238   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10239 /* end confdefs.h.  */
   10240 int i;
   10241 _ACEOF
   10242 if ac_fn_c_try_compile "$LINENO"
   10243 then :
   10244   xorg_cv_cc_flag_unknown_warning_option=yes
   10245 else case e in #(
   10246   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10247 esac
   10248 fi
   10249 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10250 esac
   10251 fi
   10252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10253 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10254 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10255 	CFLAGS="$xorg_testset_save_CFLAGS"
   10256 fi
   10257 
   10258 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10259 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10260 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10261 	fi
   10262 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10263 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10264 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10265 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10266 then :
   10267   printf %s "(cached) " >&6
   10268 else case e in #(
   10269   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10270 /* end confdefs.h.  */
   10271 int i;
   10272 _ACEOF
   10273 if ac_fn_c_try_compile "$LINENO"
   10274 then :
   10275   xorg_cv_cc_flag_unused_command_line_argument=yes
   10276 else case e in #(
   10277   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10278 esac
   10279 fi
   10280 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10281 esac
   10282 fi
   10283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10284 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10285 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10286 	CFLAGS="$xorg_testset_save_CFLAGS"
   10287 fi
   10288 
   10289 found="no"
   10290 
   10291 	if test $found = "no" ; then
   10292 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10293 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10294 		fi
   10295 
   10296 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10297 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10298 		fi
   10299 
   10300 		CFLAGS="$CFLAGS -Wtrigraphs"
   10301 
   10302 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   10303 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   10304 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   10305 		if eval test \${$cacheid+y}
   10306 then :
   10307   printf %s "(cached) " >&6
   10308 else case e in #(
   10309   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10310 /* end confdefs.h.  */
   10311 int i;
   10312 int
   10313 main (void)
   10314 {
   10315 
   10316   ;
   10317   return 0;
   10318 }
   10319 _ACEOF
   10320 if ac_fn_c_try_link "$LINENO"
   10321 then :
   10322   eval $cacheid=yes
   10323 else case e in #(
   10324   e) eval $cacheid=no ;;
   10325 esac
   10326 fi
   10327 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10328     conftest$ac_exeext conftest.$ac_ext ;;
   10329 esac
   10330 fi
   10331 
   10332 
   10333 		CFLAGS="$xorg_testset_save_CFLAGS"
   10334 
   10335 		eval supported=\$$cacheid
   10336 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10337 printf "%s\n" "$supported" >&6; }
   10338 		if test "$supported" = "yes" ; then
   10339 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   10340 			found="yes"
   10341 		fi
   10342 	fi
   10343 
   10344 
   10345 
   10346 
   10347 
   10348 
   10349 
   10350 
   10351 
   10352 
   10353 
   10354 
   10355 
   10356 
   10357 
   10358 xorg_testset_save_CFLAGS="$CFLAGS"
   10359 
   10360 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10361 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10362 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10363 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10364 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10365 then :
   10366   printf %s "(cached) " >&6
   10367 else case e in #(
   10368   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10369 /* end confdefs.h.  */
   10370 int i;
   10371 _ACEOF
   10372 if ac_fn_c_try_compile "$LINENO"
   10373 then :
   10374   xorg_cv_cc_flag_unknown_warning_option=yes
   10375 else case e in #(
   10376   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10377 esac
   10378 fi
   10379 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10380 esac
   10381 fi
   10382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10383 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10384 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10385 	CFLAGS="$xorg_testset_save_CFLAGS"
   10386 fi
   10387 
   10388 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10389 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10390 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10391 	fi
   10392 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10393 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10394 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10395 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10396 then :
   10397   printf %s "(cached) " >&6
   10398 else case e in #(
   10399   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10400 /* end confdefs.h.  */
   10401 int i;
   10402 _ACEOF
   10403 if ac_fn_c_try_compile "$LINENO"
   10404 then :
   10405   xorg_cv_cc_flag_unused_command_line_argument=yes
   10406 else case e in #(
   10407   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10408 esac
   10409 fi
   10410 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10411 esac
   10412 fi
   10413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10414 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10415 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10416 	CFLAGS="$xorg_testset_save_CFLAGS"
   10417 fi
   10418 
   10419 found="no"
   10420 
   10421 	if test $found = "no" ; then
   10422 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10423 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10424 		fi
   10425 
   10426 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10427 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10428 		fi
   10429 
   10430 		CFLAGS="$CFLAGS -Warray-bounds"
   10431 
   10432 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10433 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10434 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10435 		if eval test \${$cacheid+y}
   10436 then :
   10437   printf %s "(cached) " >&6
   10438 else case e in #(
   10439   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10440 /* end confdefs.h.  */
   10441 int i;
   10442 int
   10443 main (void)
   10444 {
   10445 
   10446   ;
   10447   return 0;
   10448 }
   10449 _ACEOF
   10450 if ac_fn_c_try_link "$LINENO"
   10451 then :
   10452   eval $cacheid=yes
   10453 else case e in #(
   10454   e) eval $cacheid=no ;;
   10455 esac
   10456 fi
   10457 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10458     conftest$ac_exeext conftest.$ac_ext ;;
   10459 esac
   10460 fi
   10461 
   10462 
   10463 		CFLAGS="$xorg_testset_save_CFLAGS"
   10464 
   10465 		eval supported=\$$cacheid
   10466 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10467 printf "%s\n" "$supported" >&6; }
   10468 		if test "$supported" = "yes" ; then
   10469 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10470 			found="yes"
   10471 		fi
   10472 	fi
   10473 
   10474 
   10475 
   10476 
   10477 
   10478 
   10479 
   10480 
   10481 
   10482 
   10483 
   10484 
   10485 
   10486 
   10487 
   10488 xorg_testset_save_CFLAGS="$CFLAGS"
   10489 
   10490 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10491 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10492 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10493 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10494 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10495 then :
   10496   printf %s "(cached) " >&6
   10497 else case e in #(
   10498   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10499 /* end confdefs.h.  */
   10500 int i;
   10501 _ACEOF
   10502 if ac_fn_c_try_compile "$LINENO"
   10503 then :
   10504   xorg_cv_cc_flag_unknown_warning_option=yes
   10505 else case e in #(
   10506   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10507 esac
   10508 fi
   10509 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10510 esac
   10511 fi
   10512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10513 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10514 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10515 	CFLAGS="$xorg_testset_save_CFLAGS"
   10516 fi
   10517 
   10518 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10519 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10520 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10521 	fi
   10522 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10523 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10524 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10525 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10526 then :
   10527   printf %s "(cached) " >&6
   10528 else case e in #(
   10529   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10530 /* end confdefs.h.  */
   10531 int i;
   10532 _ACEOF
   10533 if ac_fn_c_try_compile "$LINENO"
   10534 then :
   10535   xorg_cv_cc_flag_unused_command_line_argument=yes
   10536 else case e in #(
   10537   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10538 esac
   10539 fi
   10540 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10541 esac
   10542 fi
   10543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10544 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10545 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10546 	CFLAGS="$xorg_testset_save_CFLAGS"
   10547 fi
   10548 
   10549 found="no"
   10550 
   10551 	if test $found = "no" ; then
   10552 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10553 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10554 		fi
   10555 
   10556 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10557 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10558 		fi
   10559 
   10560 		CFLAGS="$CFLAGS -Wwrite-strings"
   10561 
   10562 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10563 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10564 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10565 		if eval test \${$cacheid+y}
   10566 then :
   10567   printf %s "(cached) " >&6
   10568 else case e in #(
   10569   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10570 /* end confdefs.h.  */
   10571 int i;
   10572 int
   10573 main (void)
   10574 {
   10575 
   10576   ;
   10577   return 0;
   10578 }
   10579 _ACEOF
   10580 if ac_fn_c_try_link "$LINENO"
   10581 then :
   10582   eval $cacheid=yes
   10583 else case e in #(
   10584   e) eval $cacheid=no ;;
   10585 esac
   10586 fi
   10587 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10588     conftest$ac_exeext conftest.$ac_ext ;;
   10589 esac
   10590 fi
   10591 
   10592 
   10593 		CFLAGS="$xorg_testset_save_CFLAGS"
   10594 
   10595 		eval supported=\$$cacheid
   10596 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10597 printf "%s\n" "$supported" >&6; }
   10598 		if test "$supported" = "yes" ; then
   10599 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10600 			found="yes"
   10601 		fi
   10602 	fi
   10603 
   10604 
   10605 
   10606 
   10607 
   10608 
   10609 
   10610 
   10611 
   10612 
   10613 
   10614 
   10615 
   10616 
   10617 
   10618 xorg_testset_save_CFLAGS="$CFLAGS"
   10619 
   10620 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10621 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10622 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10623 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10624 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10625 then :
   10626   printf %s "(cached) " >&6
   10627 else case e in #(
   10628   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10629 /* end confdefs.h.  */
   10630 int i;
   10631 _ACEOF
   10632 if ac_fn_c_try_compile "$LINENO"
   10633 then :
   10634   xorg_cv_cc_flag_unknown_warning_option=yes
   10635 else case e in #(
   10636   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10637 esac
   10638 fi
   10639 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10640 esac
   10641 fi
   10642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10643 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10644 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10645 	CFLAGS="$xorg_testset_save_CFLAGS"
   10646 fi
   10647 
   10648 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10649 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10650 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10651 	fi
   10652 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10653 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10654 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10655 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10656 then :
   10657   printf %s "(cached) " >&6
   10658 else case e in #(
   10659   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10660 /* end confdefs.h.  */
   10661 int i;
   10662 _ACEOF
   10663 if ac_fn_c_try_compile "$LINENO"
   10664 then :
   10665   xorg_cv_cc_flag_unused_command_line_argument=yes
   10666 else case e in #(
   10667   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10668 esac
   10669 fi
   10670 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10671 esac
   10672 fi
   10673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10674 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10675 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10676 	CFLAGS="$xorg_testset_save_CFLAGS"
   10677 fi
   10678 
   10679 found="no"
   10680 
   10681 	if test $found = "no" ; then
   10682 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10683 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10684 		fi
   10685 
   10686 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10687 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10688 		fi
   10689 
   10690 		CFLAGS="$CFLAGS -Waddress"
   10691 
   10692 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10693 printf %s "checking if $CC supports -Waddress... " >&6; }
   10694 		cacheid=xorg_cv_cc_flag__Waddress
   10695 		if eval test \${$cacheid+y}
   10696 then :
   10697   printf %s "(cached) " >&6
   10698 else case e in #(
   10699   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10700 /* end confdefs.h.  */
   10701 int i;
   10702 int
   10703 main (void)
   10704 {
   10705 
   10706   ;
   10707   return 0;
   10708 }
   10709 _ACEOF
   10710 if ac_fn_c_try_link "$LINENO"
   10711 then :
   10712   eval $cacheid=yes
   10713 else case e in #(
   10714   e) eval $cacheid=no ;;
   10715 esac
   10716 fi
   10717 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10718     conftest$ac_exeext conftest.$ac_ext ;;
   10719 esac
   10720 fi
   10721 
   10722 
   10723 		CFLAGS="$xorg_testset_save_CFLAGS"
   10724 
   10725 		eval supported=\$$cacheid
   10726 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10727 printf "%s\n" "$supported" >&6; }
   10728 		if test "$supported" = "yes" ; then
   10729 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10730 			found="yes"
   10731 		fi
   10732 	fi
   10733 
   10734 
   10735 
   10736 
   10737 
   10738 
   10739 
   10740 
   10741 
   10742 
   10743 
   10744 
   10745 
   10746 
   10747 
   10748 xorg_testset_save_CFLAGS="$CFLAGS"
   10749 
   10750 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10751 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10752 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10753 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10754 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10755 then :
   10756   printf %s "(cached) " >&6
   10757 else case e in #(
   10758   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10759 /* end confdefs.h.  */
   10760 int i;
   10761 _ACEOF
   10762 if ac_fn_c_try_compile "$LINENO"
   10763 then :
   10764   xorg_cv_cc_flag_unknown_warning_option=yes
   10765 else case e in #(
   10766   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10767 esac
   10768 fi
   10769 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10770 esac
   10771 fi
   10772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10773 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10774 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10775 	CFLAGS="$xorg_testset_save_CFLAGS"
   10776 fi
   10777 
   10778 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10779 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10780 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10781 	fi
   10782 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10783 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10784 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10785 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10786 then :
   10787   printf %s "(cached) " >&6
   10788 else case e in #(
   10789   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10790 /* end confdefs.h.  */
   10791 int i;
   10792 _ACEOF
   10793 if ac_fn_c_try_compile "$LINENO"
   10794 then :
   10795   xorg_cv_cc_flag_unused_command_line_argument=yes
   10796 else case e in #(
   10797   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10798 esac
   10799 fi
   10800 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10801 esac
   10802 fi
   10803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10804 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10805 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10806 	CFLAGS="$xorg_testset_save_CFLAGS"
   10807 fi
   10808 
   10809 found="no"
   10810 
   10811 	if test $found = "no" ; then
   10812 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10813 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10814 		fi
   10815 
   10816 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10817 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10818 		fi
   10819 
   10820 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10821 
   10822 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10823 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10824 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10825 		if eval test \${$cacheid+y}
   10826 then :
   10827   printf %s "(cached) " >&6
   10828 else case e in #(
   10829   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10830 /* end confdefs.h.  */
   10831 int i;
   10832 int
   10833 main (void)
   10834 {
   10835 
   10836   ;
   10837   return 0;
   10838 }
   10839 _ACEOF
   10840 if ac_fn_c_try_link "$LINENO"
   10841 then :
   10842   eval $cacheid=yes
   10843 else case e in #(
   10844   e) eval $cacheid=no ;;
   10845 esac
   10846 fi
   10847 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10848     conftest$ac_exeext conftest.$ac_ext ;;
   10849 esac
   10850 fi
   10851 
   10852 
   10853 		CFLAGS="$xorg_testset_save_CFLAGS"
   10854 
   10855 		eval supported=\$$cacheid
   10856 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10857 printf "%s\n" "$supported" >&6; }
   10858 		if test "$supported" = "yes" ; then
   10859 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10860 			found="yes"
   10861 		fi
   10862 	fi
   10863 
   10864 
   10865 
   10866 
   10867 
   10868 
   10869 
   10870 
   10871 
   10872 
   10873 
   10874 
   10875 
   10876 
   10877 
   10878 xorg_testset_save_CFLAGS="$CFLAGS"
   10879 
   10880 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10881 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10882 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10883 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10884 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10885 then :
   10886   printf %s "(cached) " >&6
   10887 else case e in #(
   10888   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10889 /* end confdefs.h.  */
   10890 int i;
   10891 _ACEOF
   10892 if ac_fn_c_try_compile "$LINENO"
   10893 then :
   10894   xorg_cv_cc_flag_unknown_warning_option=yes
   10895 else case e in #(
   10896   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10897 esac
   10898 fi
   10899 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10900 esac
   10901 fi
   10902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10903 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10904 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10905 	CFLAGS="$xorg_testset_save_CFLAGS"
   10906 fi
   10907 
   10908 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10909 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10910 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10911 	fi
   10912 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10913 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10914 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10915 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10916 then :
   10917   printf %s "(cached) " >&6
   10918 else case e in #(
   10919   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10920 /* end confdefs.h.  */
   10921 int i;
   10922 _ACEOF
   10923 if ac_fn_c_try_compile "$LINENO"
   10924 then :
   10925   xorg_cv_cc_flag_unused_command_line_argument=yes
   10926 else case e in #(
   10927   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10928 esac
   10929 fi
   10930 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10931 esac
   10932 fi
   10933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10934 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10935 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10936 	CFLAGS="$xorg_testset_save_CFLAGS"
   10937 fi
   10938 
   10939 found="no"
   10940 
   10941 	if test $found = "no" ; then
   10942 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10943 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10944 		fi
   10945 
   10946 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10947 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10948 		fi
   10949 
   10950 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10951 
   10952 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10953 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10954 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10955 		if eval test \${$cacheid+y}
   10956 then :
   10957   printf %s "(cached) " >&6
   10958 else case e in #(
   10959   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10960 /* end confdefs.h.  */
   10961 int i;
   10962 int
   10963 main (void)
   10964 {
   10965 
   10966   ;
   10967   return 0;
   10968 }
   10969 _ACEOF
   10970 if ac_fn_c_try_link "$LINENO"
   10971 then :
   10972   eval $cacheid=yes
   10973 else case e in #(
   10974   e) eval $cacheid=no ;;
   10975 esac
   10976 fi
   10977 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10978     conftest$ac_exeext conftest.$ac_ext ;;
   10979 esac
   10980 fi
   10981 
   10982 
   10983 		CFLAGS="$xorg_testset_save_CFLAGS"
   10984 
   10985 		eval supported=\$$cacheid
   10986 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10987 printf "%s\n" "$supported" >&6; }
   10988 		if test "$supported" = "yes" ; then
   10989 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10990 			found="yes"
   10991 		fi
   10992 	fi
   10993 
   10994 
   10995 fi
   10996 
   10997 
   10998 
   10999 
   11000 
   11001 
   11002 
   11003 		CWARNFLAGS="$BASE_CFLAGS"
   11004 		if  test "x$GCC" = xyes ; then
   11005 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   11006 		fi
   11007 
   11008 
   11009 
   11010 
   11011 
   11012 
   11013 
   11014 
   11015 # Check whether --enable-strict-compilation was given.
   11016 if test ${enable_strict_compilation+y}
   11017 then :
   11018   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   11019 else case e in #(
   11020   e) STRICT_COMPILE=no ;;
   11021 esac
   11022 fi
   11023 
   11024 
   11025 
   11026 
   11027 
   11028 
   11029 STRICT_CFLAGS=""
   11030 
   11031 
   11032 
   11033 
   11034 
   11035 
   11036 
   11037 
   11038 
   11039 
   11040 
   11041 
   11042 
   11043 xorg_testset_save_CFLAGS="$CFLAGS"
   11044 
   11045 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11046 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11047 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11048 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11049 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11050 then :
   11051   printf %s "(cached) " >&6
   11052 else case e in #(
   11053   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11054 /* end confdefs.h.  */
   11055 int i;
   11056 _ACEOF
   11057 if ac_fn_c_try_compile "$LINENO"
   11058 then :
   11059   xorg_cv_cc_flag_unknown_warning_option=yes
   11060 else case e in #(
   11061   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11062 esac
   11063 fi
   11064 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11065 esac
   11066 fi
   11067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11068 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11069 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11070 	CFLAGS="$xorg_testset_save_CFLAGS"
   11071 fi
   11072 
   11073 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11074 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11075 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11076 	fi
   11077 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11078 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11079 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11080 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11081 then :
   11082   printf %s "(cached) " >&6
   11083 else case e in #(
   11084   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11085 /* end confdefs.h.  */
   11086 int i;
   11087 _ACEOF
   11088 if ac_fn_c_try_compile "$LINENO"
   11089 then :
   11090   xorg_cv_cc_flag_unused_command_line_argument=yes
   11091 else case e in #(
   11092   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11093 esac
   11094 fi
   11095 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11096 esac
   11097 fi
   11098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11099 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11100 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11101 	CFLAGS="$xorg_testset_save_CFLAGS"
   11102 fi
   11103 
   11104 found="no"
   11105 
   11106 	if test $found = "no" ; then
   11107 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11108 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11109 		fi
   11110 
   11111 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11112 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11113 		fi
   11114 
   11115 		CFLAGS="$CFLAGS -pedantic"
   11116 
   11117 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   11118 printf %s "checking if $CC supports -pedantic... " >&6; }
   11119 		cacheid=xorg_cv_cc_flag__pedantic
   11120 		if eval test \${$cacheid+y}
   11121 then :
   11122   printf %s "(cached) " >&6
   11123 else case e in #(
   11124   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11125 /* end confdefs.h.  */
   11126 int i;
   11127 int
   11128 main (void)
   11129 {
   11130 
   11131   ;
   11132   return 0;
   11133 }
   11134 _ACEOF
   11135 if ac_fn_c_try_link "$LINENO"
   11136 then :
   11137   eval $cacheid=yes
   11138 else case e in #(
   11139   e) eval $cacheid=no ;;
   11140 esac
   11141 fi
   11142 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11143     conftest$ac_exeext conftest.$ac_ext ;;
   11144 esac
   11145 fi
   11146 
   11147 
   11148 		CFLAGS="$xorg_testset_save_CFLAGS"
   11149 
   11150 		eval supported=\$$cacheid
   11151 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11152 printf "%s\n" "$supported" >&6; }
   11153 		if test "$supported" = "yes" ; then
   11154 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   11155 			found="yes"
   11156 		fi
   11157 	fi
   11158 
   11159 
   11160 
   11161 
   11162 
   11163 
   11164 
   11165 
   11166 
   11167 
   11168 
   11169 
   11170 
   11171 
   11172 
   11173 xorg_testset_save_CFLAGS="$CFLAGS"
   11174 
   11175 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11176 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11177 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11178 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11179 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11180 then :
   11181   printf %s "(cached) " >&6
   11182 else case e in #(
   11183   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11184 /* end confdefs.h.  */
   11185 int i;
   11186 _ACEOF
   11187 if ac_fn_c_try_compile "$LINENO"
   11188 then :
   11189   xorg_cv_cc_flag_unknown_warning_option=yes
   11190 else case e in #(
   11191   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11192 esac
   11193 fi
   11194 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11195 esac
   11196 fi
   11197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11198 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11199 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11200 	CFLAGS="$xorg_testset_save_CFLAGS"
   11201 fi
   11202 
   11203 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11204 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11205 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11206 	fi
   11207 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11208 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11209 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11210 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11211 then :
   11212   printf %s "(cached) " >&6
   11213 else case e in #(
   11214   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11215 /* end confdefs.h.  */
   11216 int i;
   11217 _ACEOF
   11218 if ac_fn_c_try_compile "$LINENO"
   11219 then :
   11220   xorg_cv_cc_flag_unused_command_line_argument=yes
   11221 else case e in #(
   11222   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11223 esac
   11224 fi
   11225 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11226 esac
   11227 fi
   11228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11229 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11230 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11231 	CFLAGS="$xorg_testset_save_CFLAGS"
   11232 fi
   11233 
   11234 found="no"
   11235 
   11236 	if test $found = "no" ; then
   11237 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11238 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11239 		fi
   11240 
   11241 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11242 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11243 		fi
   11244 
   11245 		CFLAGS="$CFLAGS -Werror"
   11246 
   11247 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   11248 printf %s "checking if $CC supports -Werror... " >&6; }
   11249 		cacheid=xorg_cv_cc_flag__Werror
   11250 		if eval test \${$cacheid+y}
   11251 then :
   11252   printf %s "(cached) " >&6
   11253 else case e in #(
   11254   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11255 /* end confdefs.h.  */
   11256 int i;
   11257 int
   11258 main (void)
   11259 {
   11260 
   11261   ;
   11262   return 0;
   11263 }
   11264 _ACEOF
   11265 if ac_fn_c_try_link "$LINENO"
   11266 then :
   11267   eval $cacheid=yes
   11268 else case e in #(
   11269   e) eval $cacheid=no ;;
   11270 esac
   11271 fi
   11272 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11273     conftest$ac_exeext conftest.$ac_ext ;;
   11274 esac
   11275 fi
   11276 
   11277 
   11278 		CFLAGS="$xorg_testset_save_CFLAGS"
   11279 
   11280 		eval supported=\$$cacheid
   11281 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11282 printf "%s\n" "$supported" >&6; }
   11283 		if test "$supported" = "yes" ; then
   11284 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   11285 			found="yes"
   11286 		fi
   11287 	fi
   11288 
   11289 	if test $found = "no" ; then
   11290 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11291 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11292 		fi
   11293 
   11294 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11295 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11296 		fi
   11297 
   11298 		CFLAGS="$CFLAGS -errwarn"
   11299 
   11300 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   11301 printf %s "checking if $CC supports -errwarn... " >&6; }
   11302 		cacheid=xorg_cv_cc_flag__errwarn
   11303 		if eval test \${$cacheid+y}
   11304 then :
   11305   printf %s "(cached) " >&6
   11306 else case e in #(
   11307   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11308 /* end confdefs.h.  */
   11309 int i;
   11310 int
   11311 main (void)
   11312 {
   11313 
   11314   ;
   11315   return 0;
   11316 }
   11317 _ACEOF
   11318 if ac_fn_c_try_link "$LINENO"
   11319 then :
   11320   eval $cacheid=yes
   11321 else case e in #(
   11322   e) eval $cacheid=no ;;
   11323 esac
   11324 fi
   11325 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11326     conftest$ac_exeext conftest.$ac_ext ;;
   11327 esac
   11328 fi
   11329 
   11330 
   11331 		CFLAGS="$xorg_testset_save_CFLAGS"
   11332 
   11333 		eval supported=\$$cacheid
   11334 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11335 printf "%s\n" "$supported" >&6; }
   11336 		if test "$supported" = "yes" ; then
   11337 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   11338 			found="yes"
   11339 		fi
   11340 	fi
   11341 
   11342 
   11343 
   11344 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   11345 # activate it with -Werror, so we add it here explicitly.
   11346 
   11347 
   11348 
   11349 
   11350 
   11351 
   11352 
   11353 
   11354 
   11355 
   11356 
   11357 
   11358 
   11359 xorg_testset_save_CFLAGS="$CFLAGS"
   11360 
   11361 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11362 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11363 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11364 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11365 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11366 then :
   11367   printf %s "(cached) " >&6
   11368 else case e in #(
   11369   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11370 /* end confdefs.h.  */
   11371 int i;
   11372 _ACEOF
   11373 if ac_fn_c_try_compile "$LINENO"
   11374 then :
   11375   xorg_cv_cc_flag_unknown_warning_option=yes
   11376 else case e in #(
   11377   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11378 esac
   11379 fi
   11380 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11381 esac
   11382 fi
   11383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11384 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11385 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11386 	CFLAGS="$xorg_testset_save_CFLAGS"
   11387 fi
   11388 
   11389 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11390 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11391 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11392 	fi
   11393 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11394 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11395 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11396 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11397 then :
   11398   printf %s "(cached) " >&6
   11399 else case e in #(
   11400   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11401 /* end confdefs.h.  */
   11402 int i;
   11403 _ACEOF
   11404 if ac_fn_c_try_compile "$LINENO"
   11405 then :
   11406   xorg_cv_cc_flag_unused_command_line_argument=yes
   11407 else case e in #(
   11408   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11409 esac
   11410 fi
   11411 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11412 esac
   11413 fi
   11414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11415 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11416 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11417 	CFLAGS="$xorg_testset_save_CFLAGS"
   11418 fi
   11419 
   11420 found="no"
   11421 
   11422 	if test $found = "no" ; then
   11423 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11424 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11425 		fi
   11426 
   11427 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11428 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11429 		fi
   11430 
   11431 		CFLAGS="$CFLAGS -Werror=attributes"
   11432 
   11433 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11434 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11435 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11436 		if eval test \${$cacheid+y}
   11437 then :
   11438   printf %s "(cached) " >&6
   11439 else case e in #(
   11440   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11441 /* end confdefs.h.  */
   11442 int i;
   11443 int
   11444 main (void)
   11445 {
   11446 
   11447   ;
   11448   return 0;
   11449 }
   11450 _ACEOF
   11451 if ac_fn_c_try_link "$LINENO"
   11452 then :
   11453   eval $cacheid=yes
   11454 else case e in #(
   11455   e) eval $cacheid=no ;;
   11456 esac
   11457 fi
   11458 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11459     conftest$ac_exeext conftest.$ac_ext ;;
   11460 esac
   11461 fi
   11462 
   11463 
   11464 		CFLAGS="$xorg_testset_save_CFLAGS"
   11465 
   11466 		eval supported=\$$cacheid
   11467 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11468 printf "%s\n" "$supported" >&6; }
   11469 		if test "$supported" = "yes" ; then
   11470 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11471 			found="yes"
   11472 		fi
   11473 	fi
   11474 
   11475 
   11476 
   11477 if test "x$STRICT_COMPILE" = "xyes"; then
   11478     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11479     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11480 fi
   11481 
   11482 
   11483 
   11484 
   11485 
   11486 
   11487 
   11488 
   11489 cat >>confdefs.h <<_ACEOF
   11490 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11491 _ACEOF
   11492 
   11493 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11494 	if test "x$PVM" = "x"; then
   11495 		PVM="0"
   11496 	fi
   11497 
   11498 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11499 
   11500 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11501 	if test "x$PVP" = "x"; then
   11502 		PVP="0"
   11503 	fi
   11504 
   11505 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11506 
   11507 
   11508 
   11509 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11510 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11511 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11512 touch \$(top_srcdir)/ChangeLog; \
   11513 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11514 
   11515 
   11516 
   11517 
   11518 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11519 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11520 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11521 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11522 touch \$(top_srcdir)/INSTALL; \
   11523 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11524 
   11525 
   11526 
   11527 
   11528 
   11529 
   11530 case $host_os in
   11531     solaris*)
   11532         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11533         # check for a man page file found in later versions that use
   11534         # traditional section numbers instead
   11535         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11536 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11537 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11538 then :
   11539   printf %s "(cached) " >&6
   11540 else case e in #(
   11541   e) test "$cross_compiling" = yes &&
   11542   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11543 if test -r "/usr/share/man/man7/attributes.7"; then
   11544   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11545 else
   11546   ac_cv_file__usr_share_man_man7_attributes_7=no
   11547 fi ;;
   11548 esac
   11549 fi
   11550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11551 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11552 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11553 then :
   11554   SYSV_MAN_SECTIONS=false
   11555 else case e in #(
   11556   e) SYSV_MAN_SECTIONS=true ;;
   11557 esac
   11558 fi
   11559 
   11560         ;;
   11561     *) SYSV_MAN_SECTIONS=false ;;
   11562 esac
   11563 
   11564 if test x$APP_MAN_SUFFIX = x    ; then
   11565     APP_MAN_SUFFIX=1
   11566 fi
   11567 if test x$APP_MAN_DIR = x    ; then
   11568     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11569 fi
   11570 
   11571 if test x$LIB_MAN_SUFFIX = x    ; then
   11572     LIB_MAN_SUFFIX=3
   11573 fi
   11574 if test x$LIB_MAN_DIR = x    ; then
   11575     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11576 fi
   11577 
   11578 if test x$FILE_MAN_SUFFIX = x    ; then
   11579     case $SYSV_MAN_SECTIONS in
   11580 	true)				FILE_MAN_SUFFIX=4  ;;
   11581 	*)				FILE_MAN_SUFFIX=5  ;;
   11582     esac
   11583 fi
   11584 if test x$FILE_MAN_DIR = x    ; then
   11585     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11586 fi
   11587 
   11588 if test x$MISC_MAN_SUFFIX = x    ; then
   11589     case $SYSV_MAN_SECTIONS in
   11590 	true)				MISC_MAN_SUFFIX=5  ;;
   11591 	*)				MISC_MAN_SUFFIX=7  ;;
   11592     esac
   11593 fi
   11594 if test x$MISC_MAN_DIR = x    ; then
   11595     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11596 fi
   11597 
   11598 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11599     case $SYSV_MAN_SECTIONS in
   11600 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11601 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11602     esac
   11603 fi
   11604 if test x$DRIVER_MAN_DIR = x    ; then
   11605     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11606 fi
   11607 
   11608 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11609     case $SYSV_MAN_SECTIONS in
   11610 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11611 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11612     esac
   11613 fi
   11614 if test x$ADMIN_MAN_DIR = x    ; then
   11615     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11616 fi
   11617 
   11618 
   11619 
   11620 
   11621 
   11622 
   11623 
   11624 
   11625 
   11626 
   11627 
   11628 
   11629 
   11630 
   11631 
   11632 XORG_MAN_PAGE="X Version 11"
   11633 
   11634 MAN_SUBSTS="\
   11635 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11636 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11637 	-e 's|__xservername__|Xorg|g' \
   11638 	-e 's|__xconfigfile__|xorg.conf|g' \
   11639 	-e 's|__projectroot__|\$(prefix)|g' \
   11640 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11641 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11642 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11643 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11644 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11645 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11646 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11647 
   11648 
   11649 
   11650 # Check whether --enable-silent-rules was given.
   11651 if test ${enable_silent_rules+y}
   11652 then :
   11653   enableval=$enable_silent_rules;
   11654 fi
   11655 
   11656 case $enable_silent_rules in # (((
   11657   yes) AM_DEFAULT_VERBOSITY=0;;
   11658    no) AM_DEFAULT_VERBOSITY=1;;
   11659     *) AM_DEFAULT_VERBOSITY=0;;
   11660 esac
   11661 am_make=${MAKE-make}
   11662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11663 printf %s "checking whether $am_make supports nested variables... " >&6; }
   11664 if test ${am_cv_make_support_nested_variables+y}
   11665 then :
   11666   printf %s "(cached) " >&6
   11667 else case e in #(
   11668   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   11669 BAR0=false
   11670 BAR1=true
   11671 V=1
   11672 am__doit:
   11673 	@$(TRUE)
   11674 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11675   am_cv_make_support_nested_variables=yes
   11676 else
   11677   am_cv_make_support_nested_variables=no
   11678 fi ;;
   11679 esac
   11680 fi
   11681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11682 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   11683 if test $am_cv_make_support_nested_variables = yes; then
   11684     AM_V='$(V)'
   11685   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11686 else
   11687   AM_V=$AM_DEFAULT_VERBOSITY
   11688   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11689 fi
   11690 AM_BACKSLASH='\'
   11691 
   11692 
   11693 
   11694 
   11695 # Checks for typedefs, structures, and compiler characteristics.
   11696 # Check whether --enable-largefile was given.
   11697 if test ${enable_largefile+y}
   11698 then :
   11699   enableval=$enable_largefile;
   11700 fi
   11701 if test "$enable_largefile,$enable_year2038" != no,no
   11702 then :
   11703   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable large file support" >&5
   11704 printf %s "checking for $CC option to enable large file support... " >&6; }
   11705 if test ${ac_cv_sys_largefile_opts+y}
   11706 then :
   11707   printf %s "(cached) " >&6
   11708 else case e in #(
   11709   e) ac_save_CC="$CC"
   11710   ac_opt_found=no
   11711   for ac_opt in "none needed" "-D_FILE_OFFSET_BITS=64" "-D_LARGE_FILES=1" "-n32"; do
   11712     if test x"$ac_opt" != x"none needed"
   11713 then :
   11714   CC="$ac_save_CC $ac_opt"
   11715 fi
   11716     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11717 /* end confdefs.h.  */
   11718 #include <sys/types.h>
   11719 #ifndef FTYPE
   11720 # define FTYPE off_t
   11721 #endif
   11722  /* Check that FTYPE can represent 2**63 - 1 correctly.
   11723     We can't simply define LARGE_FTYPE to be 9223372036854775807,
   11724     since some C++ compilers masquerading as C compilers
   11725     incorrectly reject 9223372036854775807.  */
   11726 #define LARGE_FTYPE (((FTYPE) 1 << 31 << 31) - 1 + ((FTYPE) 1 << 31 << 31))
   11727   int FTYPE_is_large[(LARGE_FTYPE % 2147483629 == 721
   11728 		       && LARGE_FTYPE % 2147483647 == 1)
   11729 		      ? 1 : -1];
   11730 int
   11731 main (void)
   11732 {
   11733 
   11734   ;
   11735   return 0;
   11736 }
   11737 _ACEOF
   11738 if ac_fn_c_try_compile "$LINENO"
   11739 then :
   11740   if test x"$ac_opt" = x"none needed"
   11741 then :
   11742   # GNU/Linux s390x and alpha need _FILE_OFFSET_BITS=64 for wide ino_t.
   11743 	 CC="$CC -DFTYPE=ino_t"
   11744 	 if ac_fn_c_try_compile "$LINENO"
   11745 then :
   11746 
   11747 else case e in #(
   11748   e) CC="$CC -D_FILE_OFFSET_BITS=64"
   11749 	    if ac_fn_c_try_compile "$LINENO"
   11750 then :
   11751   ac_opt='-D_FILE_OFFSET_BITS=64'
   11752 fi
   11753 rm -f core conftest.err conftest.$ac_objext conftest.beam ;;
   11754 esac
   11755 fi
   11756 rm -f core conftest.err conftest.$ac_objext conftest.beam
   11757 fi
   11758       ac_cv_sys_largefile_opts=$ac_opt
   11759       ac_opt_found=yes
   11760 fi
   11761 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   11762     test $ac_opt_found = no || break
   11763   done
   11764   CC="$ac_save_CC"
   11765 
   11766   test $ac_opt_found = yes || ac_cv_sys_largefile_opts="support not detected" ;;
   11767 esac
   11768 fi
   11769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_opts" >&5
   11770 printf "%s\n" "$ac_cv_sys_largefile_opts" >&6; }
   11771 
   11772 ac_have_largefile=yes
   11773 case $ac_cv_sys_largefile_opts in #(
   11774   "none needed") :
   11775      ;; #(
   11776   "supported through gnulib") :
   11777      ;; #(
   11778   "support not detected") :
   11779     ac_have_largefile=no ;; #(
   11780   "-D_FILE_OFFSET_BITS=64") :
   11781 
   11782 printf "%s\n" "#define _FILE_OFFSET_BITS 64" >>confdefs.h
   11783  ;; #(
   11784   "-D_LARGE_FILES=1") :
   11785 
   11786 printf "%s\n" "#define _LARGE_FILES 1" >>confdefs.h
   11787  ;; #(
   11788   "-n32") :
   11789     CC="$CC -n32" ;; #(
   11790   *) :
   11791     as_fn_error $? "internal error: bad value for \$ac_cv_sys_largefile_opts" "$LINENO" 5 ;;
   11792 esac
   11793 
   11794 if test "$enable_year2038" != no
   11795 then :
   11796   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option for timestamps after 2038" >&5
   11797 printf %s "checking for $CC option for timestamps after 2038... " >&6; }
   11798 if test ${ac_cv_sys_year2038_opts+y}
   11799 then :
   11800   printf %s "(cached) " >&6
   11801 else case e in #(
   11802   e) ac_save_CPPFLAGS="$CPPFLAGS"
   11803   ac_opt_found=no
   11804   for ac_opt in "none needed" "-D_TIME_BITS=64" "-D__MINGW_USE_VC2005_COMPAT" "-U_USE_32_BIT_TIME_T -D__MINGW_USE_VC2005_COMPAT"; do
   11805     if test x"$ac_opt" != x"none needed"
   11806 then :
   11807   CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
   11808 fi
   11809     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11810 /* end confdefs.h.  */
   11811 
   11812   #include <time.h>
   11813   /* Check that time_t can represent 2**32 - 1 correctly.  */
   11814   #define LARGE_TIME_T \\
   11815     ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30)))
   11816   int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535
   11817                            && LARGE_TIME_T % 65537 == 0)
   11818                           ? 1 : -1];
   11819 
   11820 int
   11821 main (void)
   11822 {
   11823 
   11824   ;
   11825   return 0;
   11826 }
   11827 _ACEOF
   11828 if ac_fn_c_try_compile "$LINENO"
   11829 then :
   11830   ac_cv_sys_year2038_opts="$ac_opt"
   11831       ac_opt_found=yes
   11832 fi
   11833 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   11834     test $ac_opt_found = no || break
   11835   done
   11836   CPPFLAGS="$ac_save_CPPFLAGS"
   11837   test $ac_opt_found = yes || ac_cv_sys_year2038_opts="support not detected" ;;
   11838 esac
   11839 fi
   11840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_year2038_opts" >&5
   11841 printf "%s\n" "$ac_cv_sys_year2038_opts" >&6; }
   11842 
   11843 ac_have_year2038=yes
   11844 case $ac_cv_sys_year2038_opts in #(
   11845   "none needed") :
   11846      ;; #(
   11847   "support not detected") :
   11848     ac_have_year2038=no ;; #(
   11849   "-D_TIME_BITS=64") :
   11850 
   11851 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
   11852  ;; #(
   11853   "-D__MINGW_USE_VC2005_COMPAT") :
   11854 
   11855 printf "%s\n" "#define __MINGW_USE_VC2005_COMPAT 1" >>confdefs.h
   11856  ;; #(
   11857   "-U_USE_32_BIT_TIME_T"*) :
   11858     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   11859 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   11860 as_fn_error $? "the 'time_t' type is currently forced to be 32-bit. It
   11861 will stop working after mid-January 2038. Remove
   11862 _USE_32BIT_TIME_T from the compiler flags.
   11863 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   11864   *) :
   11865     as_fn_error $? "internal error: bad value for \$ac_cv_sys_year2038_opts" "$LINENO" 5 ;;
   11866 esac
   11867 
   11868 fi
   11869 
   11870 fi
   11871 
   11872 # Checks for library functions.
   11873 ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf"
   11874 if test "x$ac_cv_func_asprintf" = xyes
   11875 then :
   11876   printf "%s\n" "#define HAVE_ASPRINTF 1" >>confdefs.h
   11877 
   11878 fi
   11879 
   11880 
   11881 # Internationalization & localization support
   11882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
   11883 printf %s "checking for library containing gettext... " >&6; }
   11884 if test ${ac_cv_search_gettext+y}
   11885 then :
   11886   printf %s "(cached) " >&6
   11887 else case e in #(
   11888   e) ac_func_search_save_LIBS=$LIBS
   11889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11890 /* end confdefs.h.  */
   11891 
   11892 /* Override any GCC internal prototype to avoid an error.
   11893    Use char because int might match the return type of a GCC
   11894    builtin and then its argument prototype would still apply.
   11895    The 'extern "C"' is for builds by C++ compilers;
   11896    although this is not generally supported in C code supporting it here
   11897    has little cost and some practical benefit (sr 110532).  */
   11898 #ifdef __cplusplus
   11899 extern "C"
   11900 #endif
   11901 char gettext (void);
   11902 int
   11903 main (void)
   11904 {
   11905 return gettext ();
   11906   ;
   11907   return 0;
   11908 }
   11909 _ACEOF
   11910 for ac_lib in '' intl
   11911 do
   11912   if test -z "$ac_lib"; then
   11913     ac_res="none required"
   11914   else
   11915     ac_res=-l$ac_lib
   11916     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   11917   fi
   11918   if ac_fn_c_try_link "$LINENO"
   11919 then :
   11920   ac_cv_search_gettext=$ac_res
   11921 fi
   11922 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11923     conftest$ac_exeext
   11924   if test ${ac_cv_search_gettext+y}
   11925 then :
   11926   break
   11927 fi
   11928 done
   11929 if test ${ac_cv_search_gettext+y}
   11930 then :
   11931 
   11932 else case e in #(
   11933   e) ac_cv_search_gettext=no ;;
   11934 esac
   11935 fi
   11936 rm conftest.$ac_ext
   11937 LIBS=$ac_func_search_save_LIBS ;;
   11938 esac
   11939 fi
   11940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
   11941 printf "%s\n" "$ac_cv_search_gettext" >&6; }
   11942 ac_res=$ac_cv_search_gettext
   11943 if test "$ac_res" != no
   11944 then :
   11945   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   11946   USE_GETTEXT="yes"
   11947 else case e in #(
   11948   e) USE_GETTEXT="no" ;;
   11949 esac
   11950 fi
   11951 
   11952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where to install localized messages" >&5
   11953 printf %s "checking where to install localized messages... " >&6; }
   11954 
   11955 # Check whether --with-localedir was given.
   11956 if test ${with_localedir+y}
   11957 then :
   11958   withval=$with_localedir; LOCALEDIR=${withval}
   11959 else case e in #(
   11960   e) LOCALEDIR=${datadir}/locale ;;
   11961 esac
   11962 fi
   11963 
   11964 
   11965   prefix_NONE=
   11966   exec_prefix_NONE=
   11967   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   11968   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   11969   eval ax_define_dir="\"$LOCALEDIR\""
   11970   eval ax_define_dir="\"$ax_define_dir\""
   11971   LOCALEDIR="$ax_define_dir"
   11972 
   11973 
   11974 printf "%s\n" "#define LOCALEDIR \"$ax_define_dir\"" >>confdefs.h
   11975 
   11976   test "$prefix_NONE" && prefix=NONE
   11977   test "$exec_prefix_NONE" && exec_prefix=NONE
   11978 
   11979 if test "x$LOCALEDIR" = "xno" -o "x$USE_GETTEXT" = "xno" ; then
   11980         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: nowhere" >&5
   11981 printf "%s\n" "nowhere" >&6; }
   11982         USE_GETTEXT="no"
   11983 else
   11984         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LOCALEDIR" >&5
   11985 printf "%s\n" "$LOCALEDIR" >&6; }
   11986 fi
   11987 
   11988 if test "x$USE_GETTEXT" = "xyes" ; then
   11989 
   11990 printf "%s\n" "#define USE_GETTEXT 1" >>confdefs.h
   11991 
   11992 fi
   11993  if test "x$USE_GETTEXT" = "xyes"; then
   11994   USE_GETTEXT_TRUE=
   11995   USE_GETTEXT_FALSE='#'
   11996 else
   11997   USE_GETTEXT_TRUE='#'
   11998   USE_GETTEXT_FALSE=
   11999 fi
   12000 
   12001 
   12002 
   12003 ### How to check load average on various OS'es:
   12004 
   12005 # getloadavg: 4.3BSD-Reno & later, glibc 2.2 & later, Solaris 7 & later
   12006 # BSD & GNU libc use <stdlib.h>, Solaris requires <sys/loadavg.h>
   12007 
   12008   for ac_func in getloadavg
   12009 do :
   12010   ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg"
   12011 if test "x$ac_cv_func_getloadavg" = xyes
   12012 then :
   12013   printf "%s\n" "#define HAVE_GETLOADAVG 1" >>confdefs.h
   12014  ac_fn_c_check_header_compile "$LINENO" "sys/loadavg.h" "ac_cv_header_sys_loadavg_h" "$ac_includes_default"
   12015 if test "x$ac_cv_header_sys_loadavg_h" = xyes
   12016 then :
   12017   printf "%s\n" "#define HAVE_SYS_LOADAVG_H 1" >>confdefs.h
   12018 
   12019 fi
   12020 
   12021 fi
   12022 
   12023 done
   12024 
   12025 ac_fn_c_check_header_compile "$LINENO" "paths.h" "ac_cv_header_paths_h" "$ac_includes_default"
   12026 if test "x$ac_cv_header_paths_h" = xyes
   12027 then :
   12028   printf "%s\n" "#define HAVE_PATHS_H 1" >>confdefs.h
   12029 
   12030 fi
   12031 ac_fn_c_check_header_compile "$LINENO" "protocols/rwhod.h" "ac_cv_header_protocols_rwhod_h" "$ac_includes_default"
   12032 if test "x$ac_cv_header_protocols_rwhod_h" = xyes
   12033 then :
   12034   printf "%s\n" "#define HAVE_PROTOCOLS_RWHOD_H 1" >>confdefs.h
   12035 
   12036 fi
   12037 
   12038 
   12039 # Checks for pkg-config packages
   12040 
   12041 pkg_failed=no
   12042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XLOAD" >&5
   12043 printf %s "checking for XLOAD... " >&6; }
   12044 
   12045 if test -n "$XLOAD_CFLAGS"; then
   12046     pkg_cv_XLOAD_CFLAGS="$XLOAD_CFLAGS"
   12047  elif test -n "$PKG_CONFIG"; then
   12048     if test -n "$PKG_CONFIG" && \
   12049     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu xt x11 xproto >= 7.0.17\""; } >&5
   12050   ($PKG_CONFIG --exists --print-errors "xaw7 xmu xt x11 xproto >= 7.0.17") 2>&5
   12051   ac_status=$?
   12052   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12053   test $ac_status = 0; }; then
   12054   pkg_cv_XLOAD_CFLAGS=`$PKG_CONFIG --cflags "xaw7 xmu xt x11 xproto >= 7.0.17" 2>/dev/null`
   12055 		      test "x$?" != "x0" && pkg_failed=yes
   12056 else
   12057   pkg_failed=yes
   12058 fi
   12059  else
   12060     pkg_failed=untried
   12061 fi
   12062 if test -n "$XLOAD_LIBS"; then
   12063     pkg_cv_XLOAD_LIBS="$XLOAD_LIBS"
   12064  elif test -n "$PKG_CONFIG"; then
   12065     if test -n "$PKG_CONFIG" && \
   12066     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu xt x11 xproto >= 7.0.17\""; } >&5
   12067   ($PKG_CONFIG --exists --print-errors "xaw7 xmu xt x11 xproto >= 7.0.17") 2>&5
   12068   ac_status=$?
   12069   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12070   test $ac_status = 0; }; then
   12071   pkg_cv_XLOAD_LIBS=`$PKG_CONFIG --libs "xaw7 xmu xt x11 xproto >= 7.0.17" 2>/dev/null`
   12072 		      test "x$?" != "x0" && pkg_failed=yes
   12073 else
   12074   pkg_failed=yes
   12075 fi
   12076  else
   12077     pkg_failed=untried
   12078 fi
   12079 
   12080 
   12081 
   12082 if test $pkg_failed = yes; then
   12083    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12084 printf "%s\n" "no" >&6; }
   12085 
   12086 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   12087         _pkg_short_errors_supported=yes
   12088 else
   12089         _pkg_short_errors_supported=no
   12090 fi
   12091         if test $_pkg_short_errors_supported = yes; then
   12092 	        XLOAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xaw7 xmu xt x11 xproto >= 7.0.17" 2>&1`
   12093         else
   12094 	        XLOAD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xaw7 xmu xt x11 xproto >= 7.0.17" 2>&1`
   12095         fi
   12096 	# Put the nasty error message in config.log where it belongs
   12097 	echo "$XLOAD_PKG_ERRORS" >&5
   12098 
   12099 	as_fn_error $? "Package requirements (xaw7 xmu xt x11 xproto >= 7.0.17) were not met:
   12100 
   12101 $XLOAD_PKG_ERRORS
   12102 
   12103 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12104 installed software in a non-standard prefix.
   12105 
   12106 Alternatively, you may set the environment variables XLOAD_CFLAGS
   12107 and XLOAD_LIBS to avoid the need to call pkg-config.
   12108 See the pkg-config man page for more details." "$LINENO" 5
   12109 elif test $pkg_failed = untried; then
   12110      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12111 printf "%s\n" "no" >&6; }
   12112 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   12113 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   12114 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   12115 is in your PATH or set the PKG_CONFIG environment variable to the full
   12116 path to pkg-config.
   12117 
   12118 Alternatively, you may set the environment variables XLOAD_CFLAGS
   12119 and XLOAD_LIBS to avoid the need to call pkg-config.
   12120 See the pkg-config man page for more details.
   12121 
   12122 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12123 See 'config.log' for more details" "$LINENO" 5; }
   12124 else
   12125 	XLOAD_CFLAGS=$pkg_cv_XLOAD_CFLAGS
   12126 	XLOAD_LIBS=$pkg_cv_XLOAD_LIBS
   12127         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12128 printf "%s\n" "yes" >&6; }
   12129 
   12130 fi
   12131 
   12132 
   12133 pkg_failed=no
   12134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for APPDEFS" >&5
   12135 printf %s "checking for APPDEFS... " >&6; }
   12136 
   12137 if test -n "$APPDEFS_CFLAGS"; then
   12138     pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS"
   12139  elif test -n "$PKG_CONFIG"; then
   12140     if test -n "$PKG_CONFIG" && \
   12141     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   12142   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   12143   ac_status=$?
   12144   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12145   test $ac_status = 0; }; then
   12146   pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
   12147 		      test "x$?" != "x0" && pkg_failed=yes
   12148 else
   12149   pkg_failed=yes
   12150 fi
   12151  else
   12152     pkg_failed=untried
   12153 fi
   12154 if test -n "$APPDEFS_LIBS"; then
   12155     pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS"
   12156  elif test -n "$PKG_CONFIG"; then
   12157     if test -n "$PKG_CONFIG" && \
   12158     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   12159   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   12160   ac_status=$?
   12161   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12162   test $ac_status = 0; }; then
   12163   pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
   12164 		      test "x$?" != "x0" && pkg_failed=yes
   12165 else
   12166   pkg_failed=yes
   12167 fi
   12168  else
   12169     pkg_failed=untried
   12170 fi
   12171 
   12172 
   12173 
   12174 if test $pkg_failed = yes; then
   12175    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12176 printf "%s\n" "no" >&6; }
   12177 
   12178 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   12179         _pkg_short_errors_supported=yes
   12180 else
   12181         _pkg_short_errors_supported=no
   12182 fi
   12183         if test $_pkg_short_errors_supported = yes; then
   12184 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xt" 2>&1`
   12185         else
   12186 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xt" 2>&1`
   12187         fi
   12188 	# Put the nasty error message in config.log where it belongs
   12189 	echo "$APPDEFS_PKG_ERRORS" >&5
   12190 
   12191 	as_fn_error $? "Package requirements (xt) were not met:
   12192 
   12193 $APPDEFS_PKG_ERRORS
   12194 
   12195 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12196 installed software in a non-standard prefix.
   12197 
   12198 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   12199 and APPDEFS_LIBS to avoid the need to call pkg-config.
   12200 See the pkg-config man page for more details." "$LINENO" 5
   12201 elif test $pkg_failed = untried; then
   12202      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12203 printf "%s\n" "no" >&6; }
   12204 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   12205 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   12206 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   12207 is in your PATH or set the PKG_CONFIG environment variable to the full
   12208 path to pkg-config.
   12209 
   12210 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   12211 and APPDEFS_LIBS to avoid the need to call pkg-config.
   12212 See the pkg-config man page for more details.
   12213 
   12214 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12215 See 'config.log' for more details" "$LINENO" 5; }
   12216 else
   12217 	APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS
   12218 	APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS
   12219         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12220 printf "%s\n" "yes" >&6; }
   12221 
   12222 fi
   12223 xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
   12224 
   12225 # Check whether --with-appdefaultdir was given.
   12226 if test ${with_appdefaultdir+y}
   12227 then :
   12228   withval=$with_appdefaultdir; appdefaultdir="$withval"
   12229 else case e in #(
   12230   e) appdefaultdir="${xt_appdefaultdir}" ;;
   12231 esac
   12232 fi
   12233 
   12234 
   12235 
   12236 
   12237 ac_config_files="$ac_config_files Makefile man/Makefile"
   12238 
   12239 cat >confcache <<\_ACEOF
   12240 # This file is a shell script that caches the results of configure
   12241 # tests run on this system so they can be shared between configure
   12242 # scripts and configure runs, see configure's option --config-cache.
   12243 # It is not useful on other systems.  If it contains results you don't
   12244 # want to keep, you may remove or edit it.
   12245 #
   12246 # config.status only pays attention to the cache file if you give it
   12247 # the --recheck option to rerun configure.
   12248 #
   12249 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   12250 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   12251 # following values.
   12252 
   12253 _ACEOF
   12254 
   12255 # The following way of writing the cache mishandles newlines in values,
   12256 # but we know of no workaround that is simple, portable, and efficient.
   12257 # So, we kill variables containing newlines.
   12258 # Ultrix sh set writes to stderr and can't be redirected directly,
   12259 # and sets the high bit in the cache file unless we assign to the vars.
   12260 (
   12261   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   12262     eval ac_val=\$$ac_var
   12263     case $ac_val in #(
   12264     *${as_nl}*)
   12265       case $ac_var in #(
   12266       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   12267 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   12268       esac
   12269       case $ac_var in #(
   12270       _ | IFS | as_nl) ;; #(
   12271       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   12272       *) { eval $ac_var=; unset $ac_var;} ;;
   12273       esac ;;
   12274     esac
   12275   done
   12276 
   12277   (set) 2>&1 |
   12278     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   12279     *${as_nl}ac_space=\ *)
   12280       # 'set' does not quote correctly, so add quotes: double-quote
   12281       # substitution turns \\\\ into \\, and sed turns \\ into \.
   12282       sed -n \
   12283 	"s/'/'\\\\''/g;
   12284 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   12285       ;; #(
   12286     *)
   12287       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   12288       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   12289       ;;
   12290     esac |
   12291     sort
   12292 ) |
   12293   sed '
   12294      /^ac_cv_env_/b end
   12295      t clear
   12296      :clear
   12297      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   12298      t end
   12299      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   12300      :end' >>confcache
   12301 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   12302   if test -w "$cache_file"; then
   12303     if test "x$cache_file" != "x/dev/null"; then
   12304       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   12305 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   12306       if test ! -f "$cache_file" || test -h "$cache_file"; then
   12307 	cat confcache >"$cache_file"
   12308       else
   12309         case $cache_file in #(
   12310         */* | ?:*)
   12311 	  mv -f confcache "$cache_file"$$ &&
   12312 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   12313         *)
   12314 	  mv -f confcache "$cache_file" ;;
   12315 	esac
   12316       fi
   12317     fi
   12318   else
   12319     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   12320 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   12321   fi
   12322 fi
   12323 rm -f confcache
   12324 
   12325 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   12326 # Let make expand exec_prefix.
   12327 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   12328 
   12329 DEFS=-DHAVE_CONFIG_H
   12330 
   12331 ac_libobjs=
   12332 ac_ltlibobjs=
   12333 U=
   12334 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   12335   # 1. Remove the extension, and $U if already installed.
   12336   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   12337   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   12338   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   12339   #    will be set to the directory where LIBOBJS objects are built.
   12340   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   12341   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   12342 done
   12343 LIBOBJS=$ac_libobjs
   12344 
   12345 LTLIBOBJS=$ac_ltlibobjs
   12346 
   12347 
   12348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   12349 printf %s "checking that generated files are newer than configure... " >&6; }
   12350    if test -n "$am_sleep_pid"; then
   12351      # Hide warnings about reused PIDs.
   12352      wait $am_sleep_pid 2>/dev/null
   12353    fi
   12354    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   12355 printf "%s\n" "done" >&6; }
   12356 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   12357   as_fn_error $? "conditional \"AMDEP\" was never defined.
   12358 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12359 fi
   12360 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   12361   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   12362 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12363 fi
   12364  if test -n "$EXEEXT"; then
   12365   am__EXEEXT_TRUE=
   12366   am__EXEEXT_FALSE='#'
   12367 else
   12368   am__EXEEXT_TRUE='#'
   12369   am__EXEEXT_FALSE=
   12370 fi
   12371 
   12372 # Check whether --enable-year2038 was given.
   12373 if test ${enable_year2038+y}
   12374 then :
   12375   enableval=$enable_year2038;
   12376 fi
   12377 
   12378 if test -z "${USE_GETTEXT_TRUE}" && test -z "${USE_GETTEXT_FALSE}"; then
   12379   as_fn_error $? "conditional \"USE_GETTEXT\" was never defined.
   12380 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12381 fi
   12382 
   12383 : "${CONFIG_STATUS=./config.status}"
   12384 ac_write_fail=0
   12385 ac_clean_files_save=$ac_clean_files
   12386 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   12387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   12388 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   12389 as_write_fail=0
   12390 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   12391 #! $SHELL
   12392 # Generated by $as_me.
   12393 # Run this file to recreate the current configuration.
   12394 # Compiler output produced by configure, useful for debugging
   12395 # configure, is in config.log if it exists.
   12396 
   12397 debug=false
   12398 ac_cs_recheck=false
   12399 ac_cs_silent=false
   12400 
   12401 SHELL=\${CONFIG_SHELL-$SHELL}
   12402 export SHELL
   12403 _ASEOF
   12404 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   12405 ## -------------------- ##
   12406 ## M4sh Initialization. ##
   12407 ## -------------------- ##
   12408 
   12409 # Be more Bourne compatible
   12410 DUALCASE=1; export DUALCASE # for MKS sh
   12411 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   12412 then :
   12413   emulate sh
   12414   NULLCMD=:
   12415   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   12416   # is contrary to our usage.  Disable this feature.
   12417   alias -g '${1+"$@"}'='"$@"'
   12418   setopt NO_GLOB_SUBST
   12419 else case e in #(
   12420   e) case `(set -o) 2>/dev/null` in #(
   12421   *posix*) :
   12422     set -o posix ;; #(
   12423   *) :
   12424      ;;
   12425 esac ;;
   12426 esac
   12427 fi
   12428 
   12429 
   12430 
   12431 # Reset variables that may have inherited troublesome values from
   12432 # the environment.
   12433 
   12434 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   12435 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   12436 # side effect of setting IFS to empty, thus disabling word splitting.)
   12437 # Quoting is to prevent editors from complaining about space-tab.
   12438 as_nl='
   12439 '
   12440 export as_nl
   12441 IFS=" ""	$as_nl"
   12442 
   12443 PS1='$ '
   12444 PS2='> '
   12445 PS4='+ '
   12446 
   12447 # Ensure predictable behavior from utilities with locale-dependent output.
   12448 LC_ALL=C
   12449 export LC_ALL
   12450 LANGUAGE=C
   12451 export LANGUAGE
   12452 
   12453 # We cannot yet rely on "unset" to work, but we need these variables
   12454 # to be unset--not just set to an empty or harmless value--now, to
   12455 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   12456 # also avoids known problems related to "unset" and subshell syntax
   12457 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   12458 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   12459 do eval test \${$as_var+y} \
   12460   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   12461 done
   12462 
   12463 # Ensure that fds 0, 1, and 2 are open.
   12464 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   12465 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   12466 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   12467 
   12468 # The user is always right.
   12469 if ${PATH_SEPARATOR+false} :; then
   12470   PATH_SEPARATOR=:
   12471   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   12472     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   12473       PATH_SEPARATOR=';'
   12474   }
   12475 fi
   12476 
   12477 
   12478 # Find who we are.  Look in the path if we contain no directory separator.
   12479 as_myself=
   12480 case $0 in #((
   12481   *[\\/]* ) as_myself=$0 ;;
   12482   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12483 for as_dir in $PATH
   12484 do
   12485   IFS=$as_save_IFS
   12486   case $as_dir in #(((
   12487     '') as_dir=./ ;;
   12488     */) ;;
   12489     *) as_dir=$as_dir/ ;;
   12490   esac
   12491     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   12492   done
   12493 IFS=$as_save_IFS
   12494 
   12495      ;;
   12496 esac
   12497 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   12498 # in which case we are not to be found in the path.
   12499 if test "x$as_myself" = x; then
   12500   as_myself=$0
   12501 fi
   12502 if test ! -f "$as_myself"; then
   12503   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   12504   exit 1
   12505 fi
   12506 
   12507 
   12508 
   12509 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   12510 # ----------------------------------------
   12511 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   12512 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   12513 # script with STATUS, using 1 if that was 0.
   12514 as_fn_error ()
   12515 {
   12516   as_status=$1; test $as_status -eq 0 && as_status=1
   12517   if test "$4"; then
   12518     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   12519     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   12520   fi
   12521   printf "%s\n" "$as_me: error: $2" >&2
   12522   as_fn_exit $as_status
   12523 } # as_fn_error
   12524 
   12525 
   12526 # as_fn_set_status STATUS
   12527 # -----------------------
   12528 # Set $? to STATUS, without forking.
   12529 as_fn_set_status ()
   12530 {
   12531   return $1
   12532 } # as_fn_set_status
   12533 
   12534 # as_fn_exit STATUS
   12535 # -----------------
   12536 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   12537 as_fn_exit ()
   12538 {
   12539   set +e
   12540   as_fn_set_status $1
   12541   exit $1
   12542 } # as_fn_exit
   12543 
   12544 # as_fn_unset VAR
   12545 # ---------------
   12546 # Portably unset VAR.
   12547 as_fn_unset ()
   12548 {
   12549   { eval $1=; unset $1;}
   12550 }
   12551 as_unset=as_fn_unset
   12552 
   12553 # as_fn_append VAR VALUE
   12554 # ----------------------
   12555 # Append the text in VALUE to the end of the definition contained in VAR. Take
   12556 # advantage of any shell optimizations that allow amortized linear growth over
   12557 # repeated appends, instead of the typical quadratic growth present in naive
   12558 # implementations.
   12559 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   12560 then :
   12561   eval 'as_fn_append ()
   12562   {
   12563     eval $1+=\$2
   12564   }'
   12565 else case e in #(
   12566   e) as_fn_append ()
   12567   {
   12568     eval $1=\$$1\$2
   12569   } ;;
   12570 esac
   12571 fi # as_fn_append
   12572 
   12573 # as_fn_arith ARG...
   12574 # ------------------
   12575 # Perform arithmetic evaluation on the ARGs, and store the result in the
   12576 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   12577 # must be portable across $(()) and expr.
   12578 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   12579 then :
   12580   eval 'as_fn_arith ()
   12581   {
   12582     as_val=$(( $* ))
   12583   }'
   12584 else case e in #(
   12585   e) as_fn_arith ()
   12586   {
   12587     as_val=`expr "$@" || test $? -eq 1`
   12588   } ;;
   12589 esac
   12590 fi # as_fn_arith
   12591 
   12592 
   12593 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12594    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12595   as_expr=expr
   12596 else
   12597   as_expr=false
   12598 fi
   12599 
   12600 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12601   as_basename=basename
   12602 else
   12603   as_basename=false
   12604 fi
   12605 
   12606 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12607   as_dirname=dirname
   12608 else
   12609   as_dirname=false
   12610 fi
   12611 
   12612 as_me=`$as_basename -- "$0" ||
   12613 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12614 	 X"$0" : 'X\(//\)$' \| \
   12615 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12616 printf "%s\n" X/"$0" |
   12617     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12618 	    s//\1/
   12619 	    q
   12620 	  }
   12621 	  /^X\/\(\/\/\)$/{
   12622 	    s//\1/
   12623 	    q
   12624 	  }
   12625 	  /^X\/\(\/\).*/{
   12626 	    s//\1/
   12627 	    q
   12628 	  }
   12629 	  s/.*/./; q'`
   12630 
   12631 # Avoid depending upon Character Ranges.
   12632 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12633 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12634 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12635 as_cr_digits='0123456789'
   12636 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12637 
   12638 
   12639 # Determine whether it's possible to make 'echo' print without a newline.
   12640 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   12641 # for compatibility with existing Makefiles.
   12642 ECHO_C= ECHO_N= ECHO_T=
   12643 case `echo -n x` in #(((((
   12644 -n*)
   12645   case `echo 'xy\c'` in
   12646   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   12647   xy)  ECHO_C='\c';;
   12648   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   12649        ECHO_T='	';;
   12650   esac;;
   12651 *)
   12652   ECHO_N='-n';;
   12653 esac
   12654 
   12655 # For backward compatibility with old third-party macros, we provide
   12656 # the shell variables $as_echo and $as_echo_n.  New code should use
   12657 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   12658 as_echo='printf %s\n'
   12659 as_echo_n='printf %s'
   12660 
   12661 rm -f conf$$ conf$$.exe conf$$.file
   12662 if test -d conf$$.dir; then
   12663   rm -f conf$$.dir/conf$$.file
   12664 else
   12665   rm -f conf$$.dir
   12666   mkdir conf$$.dir 2>/dev/null
   12667 fi
   12668 if (echo >conf$$.file) 2>/dev/null; then
   12669   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12670     as_ln_s='ln -s'
   12671     # ... but there are two gotchas:
   12672     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   12673     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   12674     # In both cases, we have to default to 'cp -pR'.
   12675     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12676       as_ln_s='cp -pR'
   12677   elif ln conf$$.file conf$$ 2>/dev/null; then
   12678     as_ln_s=ln
   12679   else
   12680     as_ln_s='cp -pR'
   12681   fi
   12682 else
   12683   as_ln_s='cp -pR'
   12684 fi
   12685 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12686 rmdir conf$$.dir 2>/dev/null
   12687 
   12688 
   12689 # as_fn_mkdir_p
   12690 # -------------
   12691 # Create "$as_dir" as a directory, including parents if necessary.
   12692 as_fn_mkdir_p ()
   12693 {
   12694 
   12695   case $as_dir in #(
   12696   -*) as_dir=./$as_dir;;
   12697   esac
   12698   test -d "$as_dir" || eval $as_mkdir_p || {
   12699     as_dirs=
   12700     while :; do
   12701       case $as_dir in #(
   12702       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12703       *) as_qdir=$as_dir;;
   12704       esac
   12705       as_dirs="'$as_qdir' $as_dirs"
   12706       as_dir=`$as_dirname -- "$as_dir" ||
   12707 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12708 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12709 	 X"$as_dir" : 'X\(//\)$' \| \
   12710 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12711 printf "%s\n" X"$as_dir" |
   12712     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12713 	    s//\1/
   12714 	    q
   12715 	  }
   12716 	  /^X\(\/\/\)[^/].*/{
   12717 	    s//\1/
   12718 	    q
   12719 	  }
   12720 	  /^X\(\/\/\)$/{
   12721 	    s//\1/
   12722 	    q
   12723 	  }
   12724 	  /^X\(\/\).*/{
   12725 	    s//\1/
   12726 	    q
   12727 	  }
   12728 	  s/.*/./; q'`
   12729       test -d "$as_dir" && break
   12730     done
   12731     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12732   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12733 
   12734 
   12735 } # as_fn_mkdir_p
   12736 if mkdir -p . 2>/dev/null; then
   12737   as_mkdir_p='mkdir -p "$as_dir"'
   12738 else
   12739   test -d ./-p && rmdir ./-p
   12740   as_mkdir_p=false
   12741 fi
   12742 
   12743 
   12744 # as_fn_executable_p FILE
   12745 # -----------------------
   12746 # Test if FILE is an executable regular file.
   12747 as_fn_executable_p ()
   12748 {
   12749   test -f "$1" && test -x "$1"
   12750 } # as_fn_executable_p
   12751 as_test_x='test -x'
   12752 as_executable_p=as_fn_executable_p
   12753 
   12754 # Sed expression to map a string onto a valid CPP name.
   12755 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   12756 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   12757 
   12758 # Sed expression to map a string onto a valid variable name.
   12759 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   12760 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   12761 
   12762 
   12763 exec 6>&1
   12764 ## ----------------------------------- ##
   12765 ## Main body of $CONFIG_STATUS script. ##
   12766 ## ----------------------------------- ##
   12767 _ASEOF
   12768 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   12769 
   12770 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12771 # Save the log message, to keep $0 and so on meaningful, and to
   12772 # report actual input values of CONFIG_FILES etc. instead of their
   12773 # values after options handling.
   12774 ac_log="
   12775 This file was extended by xload $as_me 1.2.0, which was
   12776 generated by GNU Autoconf 2.72.  Invocation command line was
   12777 
   12778   CONFIG_FILES    = $CONFIG_FILES
   12779   CONFIG_HEADERS  = $CONFIG_HEADERS
   12780   CONFIG_LINKS    = $CONFIG_LINKS
   12781   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12782   $ $0 $@
   12783 
   12784 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12785 "
   12786 
   12787 _ACEOF
   12788 
   12789 case $ac_config_files in *"
   12790 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12791 esac
   12792 
   12793 case $ac_config_headers in *"
   12794 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12795 esac
   12796 
   12797 
   12798 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12799 # Files that config.status was made for.
   12800 config_files="$ac_config_files"
   12801 config_headers="$ac_config_headers"
   12802 config_commands="$ac_config_commands"
   12803 
   12804 _ACEOF
   12805 
   12806 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12807 ac_cs_usage="\
   12808 '$as_me' instantiates files and other configuration actions
   12809 from templates according to the current configuration.  Unless the files
   12810 and actions are specified as TAGs, all are instantiated by default.
   12811 
   12812 Usage: $0 [OPTION]... [TAG]...
   12813 
   12814   -h, --help       print this help, then exit
   12815   -V, --version    print version number and configuration settings, then exit
   12816       --config     print configuration, then exit
   12817   -q, --quiet, --silent
   12818                    do not print progress messages
   12819   -d, --debug      don't remove temporary files
   12820       --recheck    update $as_me by reconfiguring in the same conditions
   12821       --file=FILE[:TEMPLATE]
   12822                    instantiate the configuration file FILE
   12823       --header=FILE[:TEMPLATE]
   12824                    instantiate the configuration header FILE
   12825 
   12826 Configuration files:
   12827 $config_files
   12828 
   12829 Configuration headers:
   12830 $config_headers
   12831 
   12832 Configuration commands:
   12833 $config_commands
   12834 
   12835 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xload/-/issues>."
   12836 
   12837 _ACEOF
   12838 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   12839 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   12840 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12841 ac_cs_config='$ac_cs_config_escaped'
   12842 ac_cs_version="\\
   12843 xload config.status 1.2.0
   12844 configured by $0, generated by GNU Autoconf 2.72,
   12845   with options \\"\$ac_cs_config\\"
   12846 
   12847 Copyright (C) 2023 Free Software Foundation, Inc.
   12848 This config.status script is free software; the Free Software Foundation
   12849 gives unlimited permission to copy, distribute and modify it."
   12850 
   12851 ac_pwd='$ac_pwd'
   12852 srcdir='$srcdir'
   12853 INSTALL='$INSTALL'
   12854 MKDIR_P='$MKDIR_P'
   12855 AWK='$AWK'
   12856 test -n "\$AWK" || AWK=awk
   12857 _ACEOF
   12858 
   12859 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12860 # The default lists apply if the user does not specify any file.
   12861 ac_need_defaults=:
   12862 while test $# != 0
   12863 do
   12864   case $1 in
   12865   --*=?*)
   12866     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12867     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12868     ac_shift=:
   12869     ;;
   12870   --*=)
   12871     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12872     ac_optarg=
   12873     ac_shift=:
   12874     ;;
   12875   *)
   12876     ac_option=$1
   12877     ac_optarg=$2
   12878     ac_shift=shift
   12879     ;;
   12880   esac
   12881 
   12882   case $ac_option in
   12883   # Handling of the options.
   12884   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12885     ac_cs_recheck=: ;;
   12886   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12887     printf "%s\n" "$ac_cs_version"; exit ;;
   12888   --config | --confi | --conf | --con | --co | --c )
   12889     printf "%s\n" "$ac_cs_config"; exit ;;
   12890   --debug | --debu | --deb | --de | --d | -d )
   12891     debug=: ;;
   12892   --file | --fil | --fi | --f )
   12893     $ac_shift
   12894     case $ac_optarg in
   12895     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12896     '') as_fn_error $? "missing file argument" ;;
   12897     esac
   12898     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12899     ac_need_defaults=false;;
   12900   --header | --heade | --head | --hea )
   12901     $ac_shift
   12902     case $ac_optarg in
   12903     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12904     esac
   12905     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12906     ac_need_defaults=false;;
   12907   --he | --h)
   12908     # Conflict between --help and --header
   12909     as_fn_error $? "ambiguous option: '$1'
   12910 Try '$0 --help' for more information.";;
   12911   --help | --hel | -h )
   12912     printf "%s\n" "$ac_cs_usage"; exit ;;
   12913   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12914   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12915     ac_cs_silent=: ;;
   12916 
   12917   # This is an error.
   12918   -*) as_fn_error $? "unrecognized option: '$1'
   12919 Try '$0 --help' for more information." ;;
   12920 
   12921   *) as_fn_append ac_config_targets " $1"
   12922      ac_need_defaults=false ;;
   12923 
   12924   esac
   12925   shift
   12926 done
   12927 
   12928 ac_configure_extra_args=
   12929 
   12930 if $ac_cs_silent; then
   12931   exec 6>/dev/null
   12932   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12933 fi
   12934 
   12935 _ACEOF
   12936 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12937 if \$ac_cs_recheck; then
   12938   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12939   shift
   12940   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   12941   CONFIG_SHELL='$SHELL'
   12942   export CONFIG_SHELL
   12943   exec "\$@"
   12944 fi
   12945 
   12946 _ACEOF
   12947 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12948 exec 5>>config.log
   12949 {
   12950   echo
   12951   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12952 ## Running $as_me. ##
   12953 _ASBOX
   12954   printf "%s\n" "$ac_log"
   12955 } >&5
   12956 
   12957 _ACEOF
   12958 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12959 #
   12960 # INIT-COMMANDS
   12961 #
   12962 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   12963 
   12964 _ACEOF
   12965 
   12966 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12967 
   12968 # Handling of arguments.
   12969 for ac_config_target in $ac_config_targets
   12970 do
   12971   case $ac_config_target in
   12972     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12973     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12974     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12975     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12976 
   12977   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   12978   esac
   12979 done
   12980 
   12981 
   12982 # If the user did not use the arguments to specify the items to instantiate,
   12983 # then the envvar interface is used.  Set only those that are not.
   12984 # We use the long form for the default assignment because of an extremely
   12985 # bizarre bug on SunOS 4.1.3.
   12986 if $ac_need_defaults; then
   12987   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   12988   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   12989   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   12990 fi
   12991 
   12992 # Have a temporary directory for convenience.  Make it in the build tree
   12993 # simply because there is no reason against having it here, and in addition,
   12994 # creating and moving files from /tmp can sometimes cause problems.
   12995 # Hook for its removal unless debugging.
   12996 # Note that there is a small window in which the directory will not be cleaned:
   12997 # after its creation but before its name has been assigned to '$tmp'.
   12998 $debug ||
   12999 {
   13000   tmp= ac_tmp=
   13001   trap 'exit_status=$?
   13002   : "${ac_tmp:=$tmp}"
   13003   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   13004 ' 0
   13005   trap 'as_fn_exit 1' 1 2 13 15
   13006 }
   13007 # Create a (secure) tmp directory for tmp files.
   13008 
   13009 {
   13010   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   13011   test -d "$tmp"
   13012 }  ||
   13013 {
   13014   tmp=./conf$$-$RANDOM
   13015   (umask 077 && mkdir "$tmp")
   13016 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   13017 ac_tmp=$tmp
   13018 
   13019 # Set up the scripts for CONFIG_FILES section.
   13020 # No need to generate them if there are no CONFIG_FILES.
   13021 # This happens for instance with './config.status config.h'.
   13022 if test -n "$CONFIG_FILES"; then
   13023 
   13024 
   13025 ac_cr=`echo X | tr X '\015'`
   13026 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   13027 # But we know of no other shell where ac_cr would be empty at this
   13028 # point, so we can use a bashism as a fallback.
   13029 if test "x$ac_cr" = x; then
   13030   eval ac_cr=\$\'\\r\'
   13031 fi
   13032 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   13033 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   13034   ac_cs_awk_cr='\\r'
   13035 else
   13036   ac_cs_awk_cr=$ac_cr
   13037 fi
   13038 
   13039 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   13040 _ACEOF
   13041 
   13042 
   13043 {
   13044   echo "cat >conf$$subs.awk <<_ACEOF" &&
   13045   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   13046   echo "_ACEOF"
   13047 } >conf$$subs.sh ||
   13048   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13049 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   13050 ac_delim='%!_!# '
   13051 for ac_last_try in false false false false false :; do
   13052   . ./conf$$subs.sh ||
   13053     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13054 
   13055   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   13056   if test $ac_delim_n = $ac_delim_num; then
   13057     break
   13058   elif $ac_last_try; then
   13059     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13060   else
   13061     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13062   fi
   13063 done
   13064 rm -f conf$$subs.sh
   13065 
   13066 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13067 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   13068 _ACEOF
   13069 sed -n '
   13070 h
   13071 s/^/S["/; s/!.*/"]=/
   13072 p
   13073 g
   13074 s/^[^!]*!//
   13075 :repl
   13076 t repl
   13077 s/'"$ac_delim"'$//
   13078 t delim
   13079 :nl
   13080 h
   13081 s/\(.\{148\}\)..*/\1/
   13082 t more1
   13083 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   13084 p
   13085 n
   13086 b repl
   13087 :more1
   13088 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13089 p
   13090 g
   13091 s/.\{148\}//
   13092 t nl
   13093 :delim
   13094 h
   13095 s/\(.\{148\}\)..*/\1/
   13096 t more2
   13097 s/["\\]/\\&/g; s/^/"/; s/$/"/
   13098 p
   13099 b
   13100 :more2
   13101 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13102 p
   13103 g
   13104 s/.\{148\}//
   13105 t delim
   13106 ' <conf$$subs.awk | sed '
   13107 /^[^""]/{
   13108   N
   13109   s/\n//
   13110 }
   13111 ' >>$CONFIG_STATUS || ac_write_fail=1
   13112 rm -f conf$$subs.awk
   13113 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13114 _ACAWK
   13115 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   13116   for (key in S) S_is_set[key] = 1
   13117   FS = ""
   13118 
   13119 }
   13120 {
   13121   line = $ 0
   13122   nfields = split(line, field, "@")
   13123   substed = 0
   13124   len = length(field[1])
   13125   for (i = 2; i < nfields; i++) {
   13126     key = field[i]
   13127     keylen = length(key)
   13128     if (S_is_set[key]) {
   13129       value = S[key]
   13130       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   13131       len += length(value) + length(field[++i])
   13132       substed = 1
   13133     } else
   13134       len += 1 + keylen
   13135   }
   13136 
   13137   print line
   13138 }
   13139 
   13140 _ACAWK
   13141 _ACEOF
   13142 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13143 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   13144   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   13145 else
   13146   cat
   13147 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   13148   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   13149 _ACEOF
   13150 
   13151 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   13152 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   13153 # trailing colons and then remove the whole line if VPATH becomes empty
   13154 # (actually we leave an empty line to preserve line numbers).
   13155 if test "x$srcdir" = x.; then
   13156   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   13157 h
   13158 s///
   13159 s/^/:/
   13160 s/[	 ]*$/:/
   13161 s/:\$(srcdir):/:/g
   13162 s/:\${srcdir}:/:/g
   13163 s/:@srcdir@:/:/g
   13164 s/^:*//
   13165 s/:*$//
   13166 x
   13167 s/\(=[	 ]*\).*/\1/
   13168 G
   13169 s/\n//
   13170 s/^[^=]*=[	 ]*$//
   13171 }'
   13172 fi
   13173 
   13174 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13175 fi # test -n "$CONFIG_FILES"
   13176 
   13177 # Set up the scripts for CONFIG_HEADERS section.
   13178 # No need to generate them if there are no CONFIG_HEADERS.
   13179 # This happens for instance with './config.status Makefile'.
   13180 if test -n "$CONFIG_HEADERS"; then
   13181 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   13182 BEGIN {
   13183 _ACEOF
   13184 
   13185 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   13186 # here-document in config.status, that substitutes the proper values into
   13187 # config.h.in to produce config.h.
   13188 
   13189 # Create a delimiter string that does not exist in confdefs.h, to ease
   13190 # handling of long lines.
   13191 ac_delim='%!_!# '
   13192 for ac_last_try in false false :; do
   13193   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   13194   if test -z "$ac_tt"; then
   13195     break
   13196   elif $ac_last_try; then
   13197     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   13198   else
   13199     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13200   fi
   13201 done
   13202 
   13203 # For the awk script, D is an array of macro values keyed by name,
   13204 # likewise P contains macro parameters if any.  Preserve backslash
   13205 # newline sequences.
   13206 
   13207 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   13208 sed -n '
   13209 s/.\{148\}/&'"$ac_delim"'/g
   13210 t rset
   13211 :rset
   13212 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   13213 t def
   13214 d
   13215 :def
   13216 s/\\$//
   13217 t bsnl
   13218 s/["\\]/\\&/g
   13219 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13220 D["\1"]=" \3"/p
   13221 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   13222 d
   13223 :bsnl
   13224 s/["\\]/\\&/g
   13225 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13226 D["\1"]=" \3\\\\\\n"\\/p
   13227 t cont
   13228 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   13229 t cont
   13230 d
   13231 :cont
   13232 n
   13233 s/.\{148\}/&'"$ac_delim"'/g
   13234 t clear
   13235 :clear
   13236 s/\\$//
   13237 t bsnlc
   13238 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   13239 d
   13240 :bsnlc
   13241 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   13242 b cont
   13243 ' <confdefs.h | sed '
   13244 s/'"$ac_delim"'/"\\\
   13245 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   13246 
   13247 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13248   for (key in D) D_is_set[key] = 1
   13249   FS = ""
   13250 }
   13251 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   13252   line = \$ 0
   13253   split(line, arg, " ")
   13254   if (arg[1] == "#") {
   13255     defundef = arg[2]
   13256     mac1 = arg[3]
   13257   } else {
   13258     defundef = substr(arg[1], 2)
   13259     mac1 = arg[2]
   13260   }
   13261   split(mac1, mac2, "(") #)
   13262   macro = mac2[1]
   13263   prefix = substr(line, 1, index(line, defundef) - 1)
   13264   if (D_is_set[macro]) {
   13265     # Preserve the white space surrounding the "#".
   13266     print prefix "define", macro P[macro] D[macro]
   13267     next
   13268   } else {
   13269     # Replace #undef with comments.  This is necessary, for example,
   13270     # in the case of _POSIX_SOURCE, which is predefined and required
   13271     # on some systems where configure will not decide to define it.
   13272     if (defundef == "undef") {
   13273       print "/*", prefix defundef, macro, "*/"
   13274       next
   13275     }
   13276   }
   13277 }
   13278 { print }
   13279 _ACAWK
   13280 _ACEOF
   13281 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13282   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   13283 fi # test -n "$CONFIG_HEADERS"
   13284 
   13285 
   13286 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   13287 shift
   13288 for ac_tag
   13289 do
   13290   case $ac_tag in
   13291   :[FHLC]) ac_mode=$ac_tag; continue;;
   13292   esac
   13293   case $ac_mode$ac_tag in
   13294   :[FHL]*:*);;
   13295   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   13296   :[FH]-) ac_tag=-:-;;
   13297   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   13298   esac
   13299   ac_save_IFS=$IFS
   13300   IFS=:
   13301   set x $ac_tag
   13302   IFS=$ac_save_IFS
   13303   shift
   13304   ac_file=$1
   13305   shift
   13306 
   13307   case $ac_mode in
   13308   :L) ac_source=$1;;
   13309   :[FH])
   13310     ac_file_inputs=
   13311     for ac_f
   13312     do
   13313       case $ac_f in
   13314       -) ac_f="$ac_tmp/stdin";;
   13315       *) # Look for the file first in the build tree, then in the source tree
   13316 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   13317 	 # because $ac_f cannot contain ':'.
   13318 	 test -f "$ac_f" ||
   13319 	   case $ac_f in
   13320 	   [\\/$]*) false;;
   13321 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   13322 	   esac ||
   13323 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   13324       esac
   13325       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   13326       as_fn_append ac_file_inputs " '$ac_f'"
   13327     done
   13328 
   13329     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   13330     # use $as_me), people would be surprised to read:
   13331     #    /* config.h.  Generated by config.status.  */
   13332     configure_input='Generated from '`
   13333 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   13334 	`' by configure.'
   13335     if test x"$ac_file" != x-; then
   13336       configure_input="$ac_file.  $configure_input"
   13337       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   13338 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   13339     fi
   13340     # Neutralize special characters interpreted by sed in replacement strings.
   13341     case $configure_input in #(
   13342     *\&* | *\|* | *\\* )
   13343        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   13344        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   13345     *) ac_sed_conf_input=$configure_input;;
   13346     esac
   13347 
   13348     case $ac_tag in
   13349     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   13350       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   13351     esac
   13352     ;;
   13353   esac
   13354 
   13355   ac_dir=`$as_dirname -- "$ac_file" ||
   13356 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13357 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   13358 	 X"$ac_file" : 'X\(//\)$' \| \
   13359 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   13360 printf "%s\n" X"$ac_file" |
   13361     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13362 	    s//\1/
   13363 	    q
   13364 	  }
   13365 	  /^X\(\/\/\)[^/].*/{
   13366 	    s//\1/
   13367 	    q
   13368 	  }
   13369 	  /^X\(\/\/\)$/{
   13370 	    s//\1/
   13371 	    q
   13372 	  }
   13373 	  /^X\(\/\).*/{
   13374 	    s//\1/
   13375 	    q
   13376 	  }
   13377 	  s/.*/./; q'`
   13378   as_dir="$ac_dir"; as_fn_mkdir_p
   13379   ac_builddir=.
   13380 
   13381 case "$ac_dir" in
   13382 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13383 *)
   13384   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   13385   # A ".." for each directory in $ac_dir_suffix.
   13386   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   13387   case $ac_top_builddir_sub in
   13388   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13389   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   13390   esac ;;
   13391 esac
   13392 ac_abs_top_builddir=$ac_pwd
   13393 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   13394 # for backward compatibility:
   13395 ac_top_builddir=$ac_top_build_prefix
   13396 
   13397 case $srcdir in
   13398   .)  # We are building in place.
   13399     ac_srcdir=.
   13400     ac_top_srcdir=$ac_top_builddir_sub
   13401     ac_abs_top_srcdir=$ac_pwd ;;
   13402   [\\/]* | ?:[\\/]* )  # Absolute name.
   13403     ac_srcdir=$srcdir$ac_dir_suffix;
   13404     ac_top_srcdir=$srcdir
   13405     ac_abs_top_srcdir=$srcdir ;;
   13406   *) # Relative name.
   13407     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   13408     ac_top_srcdir=$ac_top_build_prefix$srcdir
   13409     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   13410 esac
   13411 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   13412 
   13413 
   13414   case $ac_mode in
   13415   :F)
   13416   #
   13417   # CONFIG_FILE
   13418   #
   13419 
   13420   case $INSTALL in
   13421   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   13422   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   13423   esac
   13424   ac_MKDIR_P=$MKDIR_P
   13425   case $MKDIR_P in
   13426   [\\/$]* | ?:[\\/]* ) ;;
   13427   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   13428   esac
   13429 _ACEOF
   13430 
   13431 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13432 # If the template does not know about datarootdir, expand it.
   13433 # FIXME: This hack should be removed a few years after 2.60.
   13434 ac_datarootdir_hack=; ac_datarootdir_seen=
   13435 ac_sed_dataroot='
   13436 /datarootdir/ {
   13437   p
   13438   q
   13439 }
   13440 /@datadir@/p
   13441 /@docdir@/p
   13442 /@infodir@/p
   13443 /@localedir@/p
   13444 /@mandir@/p'
   13445 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   13446 *datarootdir*) ac_datarootdir_seen=yes;;
   13447 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   13448   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   13449 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   13450 _ACEOF
   13451 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13452   ac_datarootdir_hack='
   13453   s&@datadir@&$datadir&g
   13454   s&@docdir@&$docdir&g
   13455   s&@infodir@&$infodir&g
   13456   s&@localedir@&$localedir&g
   13457   s&@mandir@&$mandir&g
   13458   s&\\\${datarootdir}&$datarootdir&g' ;;
   13459 esac
   13460 _ACEOF
   13461 
   13462 # Neutralize VPATH when '$srcdir' = '.'.
   13463 # Shell code in configure.ac might set extrasub.
   13464 # FIXME: do we really want to maintain this feature?
   13465 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13466 ac_sed_extra="$ac_vpsub
   13467 $extrasub
   13468 _ACEOF
   13469 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13470 :t
   13471 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   13472 s|@configure_input@|$ac_sed_conf_input|;t t
   13473 s&@top_builddir@&$ac_top_builddir_sub&;t t
   13474 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   13475 s&@srcdir@&$ac_srcdir&;t t
   13476 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   13477 s&@top_srcdir@&$ac_top_srcdir&;t t
   13478 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   13479 s&@builddir@&$ac_builddir&;t t
   13480 s&@abs_builddir@&$ac_abs_builddir&;t t
   13481 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   13482 s&@INSTALL@&$ac_INSTALL&;t t
   13483 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   13484 $ac_datarootdir_hack
   13485 "
   13486 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   13487   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13488 
   13489 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   13490   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   13491   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   13492       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   13493   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13494 which seems to be undefined.  Please make sure it is defined" >&5
   13495 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13496 which seems to be undefined.  Please make sure it is defined" >&2;}
   13497 
   13498   rm -f "$ac_tmp/stdin"
   13499   case $ac_file in
   13500   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   13501   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   13502   esac \
   13503   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13504  ;;
   13505   :H)
   13506   #
   13507   # CONFIG_HEADER
   13508   #
   13509   if test x"$ac_file" != x-; then
   13510     {
   13511       printf "%s\n" "/* $configure_input  */" >&1 \
   13512       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   13513     } >"$ac_tmp/config.h" \
   13514       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13515     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   13516       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   13517 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   13518     else
   13519       rm -f "$ac_file"
   13520       mv "$ac_tmp/config.h" "$ac_file" \
   13521 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13522     fi
   13523   else
   13524     printf "%s\n" "/* $configure_input  */" >&1 \
   13525       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   13526       || as_fn_error $? "could not create -" "$LINENO" 5
   13527   fi
   13528 # Compute "$ac_file"'s index in $config_headers.
   13529 _am_arg="$ac_file"
   13530 _am_stamp_count=1
   13531 for _am_header in $config_headers :; do
   13532   case $_am_header in
   13533     $_am_arg | $_am_arg:* )
   13534       break ;;
   13535     * )
   13536       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   13537   esac
   13538 done
   13539 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   13540 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13541 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   13542 	 X"$_am_arg" : 'X\(//\)$' \| \
   13543 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   13544 printf "%s\n" X"$_am_arg" |
   13545     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13546 	    s//\1/
   13547 	    q
   13548 	  }
   13549 	  /^X\(\/\/\)[^/].*/{
   13550 	    s//\1/
   13551 	    q
   13552 	  }
   13553 	  /^X\(\/\/\)$/{
   13554 	    s//\1/
   13555 	    q
   13556 	  }
   13557 	  /^X\(\/\).*/{
   13558 	    s//\1/
   13559 	    q
   13560 	  }
   13561 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   13562  ;;
   13563 
   13564   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   13565 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   13566  ;;
   13567   esac
   13568 
   13569 
   13570   case $ac_file$ac_mode in
   13571     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   13572   # Older Autoconf quotes --file arguments for eval, but not when files
   13573   # are listed without --file.  Let's play safe and only enable the eval
   13574   # if we detect the quoting.
   13575   # TODO: see whether this extra hack can be removed once we start
   13576   # requiring Autoconf 2.70 or later.
   13577   case $CONFIG_FILES in #(
   13578   *\'*) :
   13579     eval set x "$CONFIG_FILES" ;; #(
   13580   *) :
   13581     set x $CONFIG_FILES ;; #(
   13582   *) :
   13583      ;;
   13584 esac
   13585   shift
   13586   # Used to flag and report bootstrapping failures.
   13587   am_rc=0
   13588   for am_mf
   13589   do
   13590     # Strip MF so we end up with the name of the file.
   13591     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   13592     # Check whether this is an Automake generated Makefile which includes
   13593     # dependency-tracking related rules and includes.
   13594     # Grep'ing the whole file directly is not great: AIX grep has a line
   13595     # limit of 2048, but all sed's we know have understand at least 4000.
   13596     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   13597       || continue
   13598     am_dirpart=`$as_dirname -- "$am_mf" ||
   13599 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13600 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   13601 	 X"$am_mf" : 'X\(//\)$' \| \
   13602 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13603 printf "%s\n" X"$am_mf" |
   13604     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13605 	    s//\1/
   13606 	    q
   13607 	  }
   13608 	  /^X\(\/\/\)[^/].*/{
   13609 	    s//\1/
   13610 	    q
   13611 	  }
   13612 	  /^X\(\/\/\)$/{
   13613 	    s//\1/
   13614 	    q
   13615 	  }
   13616 	  /^X\(\/\).*/{
   13617 	    s//\1/
   13618 	    q
   13619 	  }
   13620 	  s/.*/./; q'`
   13621     am_filepart=`$as_basename -- "$am_mf" ||
   13622 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   13623 	 X"$am_mf" : 'X\(//\)$' \| \
   13624 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13625 printf "%s\n" X/"$am_mf" |
   13626     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13627 	    s//\1/
   13628 	    q
   13629 	  }
   13630 	  /^X\/\(\/\/\)$/{
   13631 	    s//\1/
   13632 	    q
   13633 	  }
   13634 	  /^X\/\(\/\).*/{
   13635 	    s//\1/
   13636 	    q
   13637 	  }
   13638 	  s/.*/./; q'`
   13639     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   13640       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13641         | $MAKE -f - am--depfiles" >&5
   13642    (cd "$am_dirpart" \
   13643       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13644         | $MAKE -f - am--depfiles) >&5 2>&5
   13645    ac_status=$?
   13646    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13647    (exit $ac_status); } || am_rc=$?
   13648   done
   13649   if test $am_rc -ne 0; then
   13650     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   13651 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   13652 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   13653     for automatic dependency tracking.  If GNU make was not used, consider
   13654     re-running the configure script with MAKE=\"gmake\" (or whatever is
   13655     necessary).  You can also try re-running configure with the
   13656     '--disable-dependency-tracking' option to at least be able to build
   13657     the package (albeit without support for automatic dependency tracking).
   13658 See 'config.log' for more details" "$LINENO" 5; }
   13659   fi
   13660   { am_dirpart=; unset am_dirpart;}
   13661   { am_filepart=; unset am_filepart;}
   13662   { am_mf=; unset am_mf;}
   13663   { am_rc=; unset am_rc;}
   13664   rm -f conftest-deps.mk
   13665 }
   13666  ;;
   13667 
   13668   esac
   13669 done # for ac_tag
   13670 
   13671 
   13672 as_fn_exit 0
   13673 _ACEOF
   13674 ac_clean_files=$ac_clean_files_save
   13675 
   13676 test $ac_write_fail = 0 ||
   13677   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   13678 
   13679 
   13680 # configure is writing to config.log, and then calls config.status.
   13681 # config.status does its own redirection, appending to config.log.
   13682 # Unfortunately, on DOS this fails, as config.log is still kept open
   13683 # by configure, so config.status won't be able to write to it; its
   13684 # output is simply discarded.  So we exec the FD to /dev/null,
   13685 # effectively closing config.log, so it can be properly (re)opened and
   13686 # appended to by config.status.  When coming back to configure, we
   13687 # need to make the FD available again.
   13688 if test "$no_create" != yes; then
   13689   ac_cs_success=:
   13690   ac_config_status_args=
   13691   test "$silent" = yes &&
   13692     ac_config_status_args="$ac_config_status_args --quiet"
   13693   exec 5>/dev/null
   13694   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   13695   exec 5>>config.log
   13696   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   13697   # would make configure fail if this is the last instruction.
   13698   $ac_cs_success || as_fn_exit 1
   13699 fi
   13700 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   13701   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   13702 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   13703 fi
   13704 
   13705 
   13706