Home | History | Annotate | Line # | Download | only in dist
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.72 for smproxy 1.0.8.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/smproxy/-/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/smproxy/-/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='smproxy'
    607 PACKAGE_TARNAME='smproxy'
    608 PACKAGE_VERSION='1.0.8'
    609 PACKAGE_STRING='smproxy 1.0.8'
    610 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/smproxy/-/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 ac_subst_vars='am__EXEEXT_FALSE
    647 am__EXEEXT_TRUE
    648 LTLIBOBJS
    649 LIBOBJS
    650 SMPROXY_LIBS
    651 SMPROXY_CFLAGS
    652 MAN_SUBSTS
    653 XORG_MAN_PAGE
    654 ADMIN_MAN_DIR
    655 DRIVER_MAN_DIR
    656 MISC_MAN_DIR
    657 FILE_MAN_DIR
    658 LIB_MAN_DIR
    659 APP_MAN_DIR
    660 ADMIN_MAN_SUFFIX
    661 DRIVER_MAN_SUFFIX
    662 MISC_MAN_SUFFIX
    663 FILE_MAN_SUFFIX
    664 LIB_MAN_SUFFIX
    665 APP_MAN_SUFFIX
    666 SED
    667 host_os
    668 host_vendor
    669 host_cpu
    670 host
    671 build_os
    672 build_vendor
    673 build_cpu
    674 build
    675 INSTALL_CMD
    676 PKG_CONFIG_LIBDIR
    677 PKG_CONFIG_PATH
    678 PKG_CONFIG
    679 CHANGELOG_CMD
    680 STRICT_CFLAGS
    681 CWARNFLAGS
    682 BASE_CFLAGS
    683 am__fastdepCC_FALSE
    684 am__fastdepCC_TRUE
    685 CCDEPMODE
    686 am__nodep
    687 AMDEPBACKSLASH
    688 AMDEP_FALSE
    689 AMDEP_TRUE
    690 am__include
    691 DEPDIR
    692 OBJEXT
    693 EXEEXT
    694 ac_ct_CC
    695 CPPFLAGS
    696 LDFLAGS
    697 CFLAGS
    698 CC
    699 am__xargs_n
    700 am__rm_f_notfound
    701 AM_BACKSLASH
    702 AM_DEFAULT_VERBOSITY
    703 AM_DEFAULT_V
    704 AM_V
    705 CSCOPE
    706 ETAGS
    707 CTAGS
    708 am__untar
    709 am__tar
    710 AMTAR
    711 am__leading_dot
    712 SET_MAKE
    713 AWK
    714 mkdir_p
    715 MKDIR_P
    716 INSTALL_STRIP_PROGRAM
    717 STRIP
    718 install_sh
    719 MAKEINFO
    720 AUTOHEADER
    721 AUTOMAKE
    722 AUTOCONF
    723 ACLOCAL
    724 VERSION
    725 PACKAGE
    726 CYGPATH_W
    727 am__isrc
    728 INSTALL_DATA
    729 INSTALL_SCRIPT
    730 INSTALL_PROGRAM
    731 target_alias
    732 host_alias
    733 build_alias
    734 LIBS
    735 ECHO_T
    736 ECHO_N
    737 ECHO_C
    738 DEFS
    739 mandir
    740 localedir
    741 libdir
    742 psdir
    743 pdfdir
    744 dvidir
    745 htmldir
    746 infodir
    747 docdir
    748 oldincludedir
    749 includedir
    750 runstatedir
    751 localstatedir
    752 sharedstatedir
    753 sysconfdir
    754 datadir
    755 datarootdir
    756 libexecdir
    757 sbindir
    758 bindir
    759 program_transform_name
    760 prefix
    761 exec_prefix
    762 PACKAGE_URL
    763 PACKAGE_BUGREPORT
    764 PACKAGE_STRING
    765 PACKAGE_VERSION
    766 PACKAGE_TARNAME
    767 PACKAGE_NAME
    768 PATH_SEPARATOR
    769 SHELL
    770 am__quote'
    771 ac_subst_files=''
    772 ac_user_opts='
    773 enable_option_checking
    774 enable_silent_rules
    775 enable_dependency_tracking
    776 enable_selective_werror
    777 enable_strict_compilation
    778 '
    779       ac_precious_vars='build_alias
    780 host_alias
    781 target_alias
    782 CC
    783 CFLAGS
    784 LDFLAGS
    785 LIBS
    786 CPPFLAGS
    787 PKG_CONFIG
    788 PKG_CONFIG_PATH
    789 PKG_CONFIG_LIBDIR
    790 SMPROXY_CFLAGS
    791 SMPROXY_LIBS'
    792 
    793 
    794 # Initialize some variables set by options.
    795 ac_init_help=
    796 ac_init_version=false
    797 ac_unrecognized_opts=
    798 ac_unrecognized_sep=
    799 # The variables have the same names as the options, with
    800 # dashes changed to underlines.
    801 cache_file=/dev/null
    802 exec_prefix=NONE
    803 no_create=
    804 no_recursion=
    805 prefix=NONE
    806 program_prefix=NONE
    807 program_suffix=NONE
    808 program_transform_name=s,x,x,
    809 silent=
    810 site=
    811 srcdir=
    812 verbose=
    813 x_includes=NONE
    814 x_libraries=NONE
    815 
    816 # Installation directory options.
    817 # These are left unexpanded so users can "make install exec_prefix=/foo"
    818 # and all the variables that are supposed to be based on exec_prefix
    819 # by default will actually change.
    820 # Use braces instead of parens because sh, perl, etc. also accept them.
    821 # (The list follows the same order as the GNU Coding Standards.)
    822 bindir='${exec_prefix}/bin'
    823 sbindir='${exec_prefix}/sbin'
    824 libexecdir='${exec_prefix}/libexec'
    825 datarootdir='${prefix}/share'
    826 datadir='${datarootdir}'
    827 sysconfdir='${prefix}/etc'
    828 sharedstatedir='${prefix}/com'
    829 localstatedir='${prefix}/var'
    830 runstatedir='${localstatedir}/run'
    831 includedir='${prefix}/include'
    832 oldincludedir='/usr/include'
    833 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    834 infodir='${datarootdir}/info'
    835 htmldir='${docdir}'
    836 dvidir='${docdir}'
    837 pdfdir='${docdir}'
    838 psdir='${docdir}'
    839 libdir='${exec_prefix}/lib'
    840 localedir='${datarootdir}/locale'
    841 mandir='${datarootdir}/man'
    842 
    843 ac_prev=
    844 ac_dashdash=
    845 for ac_option
    846 do
    847   # If the previous option needs an argument, assign it.
    848   if test -n "$ac_prev"; then
    849     eval $ac_prev=\$ac_option
    850     ac_prev=
    851     continue
    852   fi
    853 
    854   case $ac_option in
    855   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    856   *=)   ac_optarg= ;;
    857   *)    ac_optarg=yes ;;
    858   esac
    859 
    860   case $ac_dashdash$ac_option in
    861   --)
    862     ac_dashdash=yes ;;
    863 
    864   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    865     ac_prev=bindir ;;
    866   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    867     bindir=$ac_optarg ;;
    868 
    869   -build | --build | --buil | --bui | --bu)
    870     ac_prev=build_alias ;;
    871   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    872     build_alias=$ac_optarg ;;
    873 
    874   -cache-file | --cache-file | --cache-fil | --cache-fi \
    875   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    876     ac_prev=cache_file ;;
    877   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    878   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    879     cache_file=$ac_optarg ;;
    880 
    881   --config-cache | -C)
    882     cache_file=config.cache ;;
    883 
    884   -datadir | --datadir | --datadi | --datad)
    885     ac_prev=datadir ;;
    886   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    887     datadir=$ac_optarg ;;
    888 
    889   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    890   | --dataroo | --dataro | --datar)
    891     ac_prev=datarootdir ;;
    892   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    893   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    894     datarootdir=$ac_optarg ;;
    895 
    896   -disable-* | --disable-*)
    897     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    898     # Reject names that are not valid shell variable names.
    899     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    900       as_fn_error $? "invalid feature name: '$ac_useropt'"
    901     ac_useropt_orig=$ac_useropt
    902     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    903     case $ac_user_opts in
    904       *"
    905 "enable_$ac_useropt"
    906 "*) ;;
    907       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    908 	 ac_unrecognized_sep=', ';;
    909     esac
    910     eval enable_$ac_useropt=no ;;
    911 
    912   -docdir | --docdir | --docdi | --doc | --do)
    913     ac_prev=docdir ;;
    914   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    915     docdir=$ac_optarg ;;
    916 
    917   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    918     ac_prev=dvidir ;;
    919   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    920     dvidir=$ac_optarg ;;
    921 
    922   -enable-* | --enable-*)
    923     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    924     # Reject names that are not valid shell variable names.
    925     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    926       as_fn_error $? "invalid feature name: '$ac_useropt'"
    927     ac_useropt_orig=$ac_useropt
    928     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    929     case $ac_user_opts in
    930       *"
    931 "enable_$ac_useropt"
    932 "*) ;;
    933       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    934 	 ac_unrecognized_sep=', ';;
    935     esac
    936     eval enable_$ac_useropt=\$ac_optarg ;;
    937 
    938   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    939   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    940   | --exec | --exe | --ex)
    941     ac_prev=exec_prefix ;;
    942   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    943   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    944   | --exec=* | --exe=* | --ex=*)
    945     exec_prefix=$ac_optarg ;;
    946 
    947   -gas | --gas | --ga | --g)
    948     # Obsolete; use --with-gas.
    949     with_gas=yes ;;
    950 
    951   -help | --help | --hel | --he | -h)
    952     ac_init_help=long ;;
    953   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    954     ac_init_help=recursive ;;
    955   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    956     ac_init_help=short ;;
    957 
    958   -host | --host | --hos | --ho)
    959     ac_prev=host_alias ;;
    960   -host=* | --host=* | --hos=* | --ho=*)
    961     host_alias=$ac_optarg ;;
    962 
    963   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    964     ac_prev=htmldir ;;
    965   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    966   | --ht=*)
    967     htmldir=$ac_optarg ;;
    968 
    969   -includedir | --includedir | --includedi | --included | --include \
    970   | --includ | --inclu | --incl | --inc)
    971     ac_prev=includedir ;;
    972   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    973   | --includ=* | --inclu=* | --incl=* | --inc=*)
    974     includedir=$ac_optarg ;;
    975 
    976   -infodir | --infodir | --infodi | --infod | --info | --inf)
    977     ac_prev=infodir ;;
    978   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    979     infodir=$ac_optarg ;;
    980 
    981   -libdir | --libdir | --libdi | --libd)
    982     ac_prev=libdir ;;
    983   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    984     libdir=$ac_optarg ;;
    985 
    986   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    987   | --libexe | --libex | --libe)
    988     ac_prev=libexecdir ;;
    989   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    990   | --libexe=* | --libex=* | --libe=*)
    991     libexecdir=$ac_optarg ;;
    992 
    993   -localedir | --localedir | --localedi | --localed | --locale)
    994     ac_prev=localedir ;;
    995   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    996     localedir=$ac_optarg ;;
    997 
    998   -localstatedir | --localstatedir | --localstatedi | --localstated \
    999   | --localstate | --localstat | --localsta | --localst | --locals)
   1000     ac_prev=localstatedir ;;
   1001   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1002   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1003     localstatedir=$ac_optarg ;;
   1004 
   1005   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1006     ac_prev=mandir ;;
   1007   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1008     mandir=$ac_optarg ;;
   1009 
   1010   -nfp | --nfp | --nf)
   1011     # Obsolete; use --without-fp.
   1012     with_fp=no ;;
   1013 
   1014   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1015   | --no-cr | --no-c | -n)
   1016     no_create=yes ;;
   1017 
   1018   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1019   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1020     no_recursion=yes ;;
   1021 
   1022   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1023   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1024   | --oldin | --oldi | --old | --ol | --o)
   1025     ac_prev=oldincludedir ;;
   1026   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1027   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1028   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1029     oldincludedir=$ac_optarg ;;
   1030 
   1031   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1032     ac_prev=prefix ;;
   1033   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1034     prefix=$ac_optarg ;;
   1035 
   1036   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1037   | --program-pre | --program-pr | --program-p)
   1038     ac_prev=program_prefix ;;
   1039   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1040   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1041     program_prefix=$ac_optarg ;;
   1042 
   1043   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1044   | --program-suf | --program-su | --program-s)
   1045     ac_prev=program_suffix ;;
   1046   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1047   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1048     program_suffix=$ac_optarg ;;
   1049 
   1050   -program-transform-name | --program-transform-name \
   1051   | --program-transform-nam | --program-transform-na \
   1052   | --program-transform-n | --program-transform- \
   1053   | --program-transform | --program-transfor \
   1054   | --program-transfo | --program-transf \
   1055   | --program-trans | --program-tran \
   1056   | --progr-tra | --program-tr | --program-t)
   1057     ac_prev=program_transform_name ;;
   1058   -program-transform-name=* | --program-transform-name=* \
   1059   | --program-transform-nam=* | --program-transform-na=* \
   1060   | --program-transform-n=* | --program-transform-=* \
   1061   | --program-transform=* | --program-transfor=* \
   1062   | --program-transfo=* | --program-transf=* \
   1063   | --program-trans=* | --program-tran=* \
   1064   | --progr-tra=* | --program-tr=* | --program-t=*)
   1065     program_transform_name=$ac_optarg ;;
   1066 
   1067   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1068     ac_prev=pdfdir ;;
   1069   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1070     pdfdir=$ac_optarg ;;
   1071 
   1072   -psdir | --psdir | --psdi | --psd | --ps)
   1073     ac_prev=psdir ;;
   1074   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1075     psdir=$ac_optarg ;;
   1076 
   1077   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1078   | -silent | --silent | --silen | --sile | --sil)
   1079     silent=yes ;;
   1080 
   1081   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1082   | --runstate | --runstat | --runsta | --runst | --runs \
   1083   | --run | --ru | --r)
   1084     ac_prev=runstatedir ;;
   1085   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1086   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1087   | --run=* | --ru=* | --r=*)
   1088     runstatedir=$ac_optarg ;;
   1089 
   1090   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1091     ac_prev=sbindir ;;
   1092   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1093   | --sbi=* | --sb=*)
   1094     sbindir=$ac_optarg ;;
   1095 
   1096   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1097   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1098   | --sharedst | --shareds | --shared | --share | --shar \
   1099   | --sha | --sh)
   1100     ac_prev=sharedstatedir ;;
   1101   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1102   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1103   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1104   | --sha=* | --sh=*)
   1105     sharedstatedir=$ac_optarg ;;
   1106 
   1107   -site | --site | --sit)
   1108     ac_prev=site ;;
   1109   -site=* | --site=* | --sit=*)
   1110     site=$ac_optarg ;;
   1111 
   1112   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1113     ac_prev=srcdir ;;
   1114   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1115     srcdir=$ac_optarg ;;
   1116 
   1117   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1118   | --syscon | --sysco | --sysc | --sys | --sy)
   1119     ac_prev=sysconfdir ;;
   1120   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1121   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1122     sysconfdir=$ac_optarg ;;
   1123 
   1124   -target | --target | --targe | --targ | --tar | --ta | --t)
   1125     ac_prev=target_alias ;;
   1126   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1127     target_alias=$ac_optarg ;;
   1128 
   1129   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1130     verbose=yes ;;
   1131 
   1132   -version | --version | --versio | --versi | --vers | -V)
   1133     ac_init_version=: ;;
   1134 
   1135   -with-* | --with-*)
   1136     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1137     # Reject names that are not valid shell variable names.
   1138     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1139       as_fn_error $? "invalid package name: '$ac_useropt'"
   1140     ac_useropt_orig=$ac_useropt
   1141     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1142     case $ac_user_opts in
   1143       *"
   1144 "with_$ac_useropt"
   1145 "*) ;;
   1146       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1147 	 ac_unrecognized_sep=', ';;
   1148     esac
   1149     eval with_$ac_useropt=\$ac_optarg ;;
   1150 
   1151   -without-* | --without-*)
   1152     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1153     # Reject names that are not valid shell variable names.
   1154     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1155       as_fn_error $? "invalid package name: '$ac_useropt'"
   1156     ac_useropt_orig=$ac_useropt
   1157     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1158     case $ac_user_opts in
   1159       *"
   1160 "with_$ac_useropt"
   1161 "*) ;;
   1162       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1163 	 ac_unrecognized_sep=', ';;
   1164     esac
   1165     eval with_$ac_useropt=no ;;
   1166 
   1167   --x)
   1168     # Obsolete; use --with-x.
   1169     with_x=yes ;;
   1170 
   1171   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1172   | --x-incl | --x-inc | --x-in | --x-i)
   1173     ac_prev=x_includes ;;
   1174   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1175   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1176     x_includes=$ac_optarg ;;
   1177 
   1178   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1179   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1180     ac_prev=x_libraries ;;
   1181   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1182   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1183     x_libraries=$ac_optarg ;;
   1184 
   1185   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1186 Try '$0 --help' for more information"
   1187     ;;
   1188 
   1189   *=*)
   1190     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1191     # Reject names that are not valid shell variable names.
   1192     case $ac_envvar in #(
   1193       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1194       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1195     esac
   1196     eval $ac_envvar=\$ac_optarg
   1197     export $ac_envvar ;;
   1198 
   1199   *)
   1200     # FIXME: should be removed in autoconf 3.0.
   1201     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1202     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1203       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1204     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1205     ;;
   1206 
   1207   esac
   1208 done
   1209 
   1210 if test -n "$ac_prev"; then
   1211   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1212   as_fn_error $? "missing argument to $ac_option"
   1213 fi
   1214 
   1215 if test -n "$ac_unrecognized_opts"; then
   1216   case $enable_option_checking in
   1217     no) ;;
   1218     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1219     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1220   esac
   1221 fi
   1222 
   1223 # Check all directory arguments for consistency.
   1224 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1225 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1226 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1227 		libdir localedir mandir runstatedir
   1228 do
   1229   eval ac_val=\$$ac_var
   1230   # Remove trailing slashes.
   1231   case $ac_val in
   1232     */ )
   1233       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1234       eval $ac_var=\$ac_val;;
   1235   esac
   1236   # Be sure to have absolute directory names.
   1237   case $ac_val in
   1238     [\\/$]* | ?:[\\/]* )  continue;;
   1239     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1240   esac
   1241   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1242 done
   1243 
   1244 # There might be people who depend on the old broken behavior: '$host'
   1245 # used to hold the argument of --host etc.
   1246 # FIXME: To remove some day.
   1247 build=$build_alias
   1248 host=$host_alias
   1249 target=$target_alias
   1250 
   1251 # FIXME: To remove some day.
   1252 if test "x$host_alias" != x; then
   1253   if test "x$build_alias" = x; then
   1254     cross_compiling=maybe
   1255   elif test "x$build_alias" != "x$host_alias"; then
   1256     cross_compiling=yes
   1257   fi
   1258 fi
   1259 
   1260 ac_tool_prefix=
   1261 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1262 
   1263 test "$silent" = yes && exec 6>/dev/null
   1264 
   1265 
   1266 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1267 ac_ls_di=`ls -di .` &&
   1268 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1269   as_fn_error $? "working directory cannot be determined"
   1270 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1271   as_fn_error $? "pwd does not report name of working directory"
   1272 
   1273 
   1274 # Find the source files, if location was not specified.
   1275 if test -z "$srcdir"; then
   1276   ac_srcdir_defaulted=yes
   1277   # Try the directory containing this script, then the parent directory.
   1278   ac_confdir=`$as_dirname -- "$as_myself" ||
   1279 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1280 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1281 	 X"$as_myself" : 'X\(//\)$' \| \
   1282 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1283 printf "%s\n" X"$as_myself" |
   1284     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1285 	    s//\1/
   1286 	    q
   1287 	  }
   1288 	  /^X\(\/\/\)[^/].*/{
   1289 	    s//\1/
   1290 	    q
   1291 	  }
   1292 	  /^X\(\/\/\)$/{
   1293 	    s//\1/
   1294 	    q
   1295 	  }
   1296 	  /^X\(\/\).*/{
   1297 	    s//\1/
   1298 	    q
   1299 	  }
   1300 	  s/.*/./; q'`
   1301   srcdir=$ac_confdir
   1302   if test ! -r "$srcdir/$ac_unique_file"; then
   1303     srcdir=..
   1304   fi
   1305 else
   1306   ac_srcdir_defaulted=no
   1307 fi
   1308 if test ! -r "$srcdir/$ac_unique_file"; then
   1309   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1310   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1311 fi
   1312 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1313 ac_abs_confdir=`(
   1314 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1315 	pwd)`
   1316 # When building in place, set srcdir=.
   1317 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1318   srcdir=.
   1319 fi
   1320 # Remove unnecessary trailing slashes from srcdir.
   1321 # Double slashes in file names in object file debugging info
   1322 # mess up M-x gdb in Emacs.
   1323 case $srcdir in
   1324 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1325 esac
   1326 for ac_var in $ac_precious_vars; do
   1327   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1328   eval ac_env_${ac_var}_value=\$${ac_var}
   1329   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1330   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1331 done
   1332 
   1333 #
   1334 # Report the --help message.
   1335 #
   1336 if test "$ac_init_help" = "long"; then
   1337   # Omit some internal or obsolete options to make the list less imposing.
   1338   # This message is too long to be a string in the A/UX 3.1 sh.
   1339   cat <<_ACEOF
   1340 'configure' configures smproxy 1.0.8 to adapt to many kinds of systems.
   1341 
   1342 Usage: $0 [OPTION]... [VAR=VALUE]...
   1343 
   1344 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1345 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1346 
   1347 Defaults for the options are specified in brackets.
   1348 
   1349 Configuration:
   1350   -h, --help              display this help and exit
   1351       --help=short        display options specific to this package
   1352       --help=recursive    display the short help of all the included packages
   1353   -V, --version           display version information and exit
   1354   -q, --quiet, --silent   do not print 'checking ...' messages
   1355       --cache-file=FILE   cache test results in FILE [disabled]
   1356   -C, --config-cache      alias for '--cache-file=config.cache'
   1357   -n, --no-create         do not create output files
   1358       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1359 
   1360 Installation directories:
   1361   --prefix=PREFIX         install architecture-independent files in PREFIX
   1362                           [$ac_default_prefix]
   1363   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1364                           [PREFIX]
   1365 
   1366 By default, 'make install' will install all the files in
   1367 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1368 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1369 for instance '--prefix=\$HOME'.
   1370 
   1371 For better control, use the options below.
   1372 
   1373 Fine tuning of the installation directories:
   1374   --bindir=DIR            user executables [EPREFIX/bin]
   1375   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1376   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1377   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1378   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1379   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1380   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1381   --libdir=DIR            object code libraries [EPREFIX/lib]
   1382   --includedir=DIR        C header files [PREFIX/include]
   1383   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1384   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1385   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1386   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1387   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1388   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1389   --docdir=DIR            documentation root [DATAROOTDIR/doc/smproxy]
   1390   --htmldir=DIR           html documentation [DOCDIR]
   1391   --dvidir=DIR            dvi documentation [DOCDIR]
   1392   --pdfdir=DIR            pdf documentation [DOCDIR]
   1393   --psdir=DIR             ps documentation [DOCDIR]
   1394 _ACEOF
   1395 
   1396   cat <<\_ACEOF
   1397 
   1398 Program names:
   1399   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1400   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1401   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1402 
   1403 System types:
   1404   --build=BUILD     configure for building on BUILD [guessed]
   1405   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1406 _ACEOF
   1407 fi
   1408 
   1409 if test -n "$ac_init_help"; then
   1410   case $ac_init_help in
   1411      short | recursive ) echo "Configuration of smproxy 1.0.8:";;
   1412    esac
   1413   cat <<\_ACEOF
   1414 
   1415 Optional Features:
   1416   --disable-option-checking  ignore unrecognized --enable/--with options
   1417   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1418   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1419   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1420   --disable-silent-rules  verbose build output (undo: "make V=0")
   1421   --enable-dependency-tracking
   1422                           do not reject slow dependency extractors
   1423   --disable-dependency-tracking
   1424                           speeds up one-time build
   1425   --disable-selective-werror
   1426                           Turn off selective compiler errors. (default:
   1427                           enabled)
   1428   --enable-strict-compilation
   1429                           Enable all warnings from compiler and make them
   1430                           errors (default: disabled)
   1431 
   1432 Some influential environment variables:
   1433   CC          C compiler command
   1434   CFLAGS      C compiler flags
   1435   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1436               nonstandard directory <lib dir>
   1437   LIBS        libraries to pass to the linker, e.g. -l<library>
   1438   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1439               you have headers in a nonstandard directory <include dir>
   1440   PKG_CONFIG  path to pkg-config utility
   1441   PKG_CONFIG_PATH
   1442               directories to add to pkg-config's search path
   1443   PKG_CONFIG_LIBDIR
   1444               path overriding pkg-config's built-in search path
   1445   SMPROXY_CFLAGS
   1446               C compiler flags for SMPROXY, overriding pkg-config
   1447   SMPROXY_LIBS
   1448               linker flags for SMPROXY, overriding pkg-config
   1449 
   1450 Use these variables to override the choices made by 'configure' or to help
   1451 it to find libraries and programs with nonstandard names/locations.
   1452 
   1453 Report bugs to <https://gitlab.freedesktop.org/xorg/app/smproxy/-/issues>.
   1454 _ACEOF
   1455 ac_status=$?
   1456 fi
   1457 
   1458 if test "$ac_init_help" = "recursive"; then
   1459   # If there are subdirs, report their specific --help.
   1460   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1461     test -d "$ac_dir" ||
   1462       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1463       continue
   1464     ac_builddir=.
   1465 
   1466 case "$ac_dir" in
   1467 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1468 *)
   1469   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1470   # A ".." for each directory in $ac_dir_suffix.
   1471   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1472   case $ac_top_builddir_sub in
   1473   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1474   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1475   esac ;;
   1476 esac
   1477 ac_abs_top_builddir=$ac_pwd
   1478 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1479 # for backward compatibility:
   1480 ac_top_builddir=$ac_top_build_prefix
   1481 
   1482 case $srcdir in
   1483   .)  # We are building in place.
   1484     ac_srcdir=.
   1485     ac_top_srcdir=$ac_top_builddir_sub
   1486     ac_abs_top_srcdir=$ac_pwd ;;
   1487   [\\/]* | ?:[\\/]* )  # Absolute name.
   1488     ac_srcdir=$srcdir$ac_dir_suffix;
   1489     ac_top_srcdir=$srcdir
   1490     ac_abs_top_srcdir=$srcdir ;;
   1491   *) # Relative name.
   1492     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1493     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1494     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1495 esac
   1496 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1497 
   1498     cd "$ac_dir" || { ac_status=$?; continue; }
   1499     # Check for configure.gnu first; this name is used for a wrapper for
   1500     # Metaconfig's "Configure" on case-insensitive file systems.
   1501     if test -f "$ac_srcdir/configure.gnu"; then
   1502       echo &&
   1503       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1504     elif test -f "$ac_srcdir/configure"; then
   1505       echo &&
   1506       $SHELL "$ac_srcdir/configure" --help=recursive
   1507     else
   1508       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1509     fi || ac_status=$?
   1510     cd "$ac_pwd" || { ac_status=$?; break; }
   1511   done
   1512 fi
   1513 
   1514 test -n "$ac_init_help" && exit $ac_status
   1515 if $ac_init_version; then
   1516   cat <<\_ACEOF
   1517 smproxy configure 1.0.8
   1518 generated by GNU Autoconf 2.72
   1519 
   1520 Copyright (C) 2023 Free Software Foundation, Inc.
   1521 This configure script is free software; the Free Software Foundation
   1522 gives unlimited permission to copy, distribute and modify it.
   1523 _ACEOF
   1524   exit
   1525 fi
   1526 
   1527 ## ------------------------ ##
   1528 ## Autoconf initialization. ##
   1529 ## ------------------------ ##
   1530 
   1531 # ac_fn_c_try_compile LINENO
   1532 # --------------------------
   1533 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1534 ac_fn_c_try_compile ()
   1535 {
   1536   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1537   rm -f conftest.$ac_objext conftest.beam
   1538   if { { ac_try="$ac_compile"
   1539 case "(($ac_try" in
   1540   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1541   *) ac_try_echo=$ac_try;;
   1542 esac
   1543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1544 printf "%s\n" "$ac_try_echo"; } >&5
   1545   (eval "$ac_compile") 2>conftest.err
   1546   ac_status=$?
   1547   if test -s conftest.err; then
   1548     grep -v '^ *+' conftest.err >conftest.er1
   1549     cat conftest.er1 >&5
   1550     mv -f conftest.er1 conftest.err
   1551   fi
   1552   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1553   test $ac_status = 0; } && {
   1554 	 test -z "$ac_c_werror_flag" ||
   1555 	 test ! -s conftest.err
   1556        } && test -s conftest.$ac_objext
   1557 then :
   1558   ac_retval=0
   1559 else case e in #(
   1560   e) printf "%s\n" "$as_me: failed program was:" >&5
   1561 sed 's/^/| /' conftest.$ac_ext >&5
   1562 
   1563 	ac_retval=1 ;;
   1564 esac
   1565 fi
   1566   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1567   as_fn_set_status $ac_retval
   1568 
   1569 } # ac_fn_c_try_compile
   1570 
   1571 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1572 # -------------------------------------------------------
   1573 # Tests whether HEADER exists and can be compiled using the include files in
   1574 # INCLUDES, setting the cache variable VAR accordingly.
   1575 ac_fn_c_check_header_compile ()
   1576 {
   1577   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1578   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1579 printf %s "checking for $2... " >&6; }
   1580 if eval test \${$3+y}
   1581 then :
   1582   printf %s "(cached) " >&6
   1583 else case e in #(
   1584   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1585 /* end confdefs.h.  */
   1586 $4
   1587 #include <$2>
   1588 _ACEOF
   1589 if ac_fn_c_try_compile "$LINENO"
   1590 then :
   1591   eval "$3=yes"
   1592 else case e in #(
   1593   e) eval "$3=no" ;;
   1594 esac
   1595 fi
   1596 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1597 esac
   1598 fi
   1599 eval ac_res=\$$3
   1600 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1601 printf "%s\n" "$ac_res" >&6; }
   1602   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1603 
   1604 } # ac_fn_c_check_header_compile
   1605 
   1606 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1607 # ------------------------------------------------------------------
   1608 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1609 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1610 ac_fn_check_decl ()
   1611 {
   1612   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1613   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1614   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1615 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1616 if eval test \${$3+y}
   1617 then :
   1618   printf %s "(cached) " >&6
   1619 else case e in #(
   1620   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1621   eval ac_save_FLAGS=\$$6
   1622   as_fn_append $6 " $5"
   1623   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1624 /* end confdefs.h.  */
   1625 $4
   1626 int
   1627 main (void)
   1628 {
   1629 #ifndef $as_decl_name
   1630 #ifdef __cplusplus
   1631   (void) $as_decl_use;
   1632 #else
   1633   (void) $as_decl_name;
   1634 #endif
   1635 #endif
   1636 
   1637   ;
   1638   return 0;
   1639 }
   1640 _ACEOF
   1641 if ac_fn_c_try_compile "$LINENO"
   1642 then :
   1643   eval "$3=yes"
   1644 else case e in #(
   1645   e) eval "$3=no" ;;
   1646 esac
   1647 fi
   1648 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1649   eval $6=\$ac_save_FLAGS
   1650  ;;
   1651 esac
   1652 fi
   1653 eval ac_res=\$$3
   1654 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1655 printf "%s\n" "$ac_res" >&6; }
   1656   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1657 
   1658 } # ac_fn_check_decl
   1659 
   1660 # ac_fn_c_try_link LINENO
   1661 # -----------------------
   1662 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1663 ac_fn_c_try_link ()
   1664 {
   1665   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1666   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1667   if { { ac_try="$ac_link"
   1668 case "(($ac_try" in
   1669   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1670   *) ac_try_echo=$ac_try;;
   1671 esac
   1672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1673 printf "%s\n" "$ac_try_echo"; } >&5
   1674   (eval "$ac_link") 2>conftest.err
   1675   ac_status=$?
   1676   if test -s conftest.err; then
   1677     grep -v '^ *+' conftest.err >conftest.er1
   1678     cat conftest.er1 >&5
   1679     mv -f conftest.er1 conftest.err
   1680   fi
   1681   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1682   test $ac_status = 0; } && {
   1683 	 test -z "$ac_c_werror_flag" ||
   1684 	 test ! -s conftest.err
   1685        } && test -s conftest$ac_exeext && {
   1686 	 test "$cross_compiling" = yes ||
   1687 	 test -x conftest$ac_exeext
   1688        }
   1689 then :
   1690   ac_retval=0
   1691 else case e in #(
   1692   e) printf "%s\n" "$as_me: failed program was:" >&5
   1693 sed 's/^/| /' conftest.$ac_ext >&5
   1694 
   1695 	ac_retval=1 ;;
   1696 esac
   1697 fi
   1698   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1699   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1700   # interfere with the next link command; also delete a directory that is
   1701   # left behind by Apple's compiler.  We do this before executing the actions.
   1702   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1703   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1704   as_fn_set_status $ac_retval
   1705 
   1706 } # ac_fn_c_try_link
   1707 
   1708 # ac_fn_c_check_func LINENO FUNC VAR
   1709 # ----------------------------------
   1710 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1711 ac_fn_c_check_func ()
   1712 {
   1713   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1714   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1715 printf %s "checking for $2... " >&6; }
   1716 if eval test \${$3+y}
   1717 then :
   1718   printf %s "(cached) " >&6
   1719 else case e in #(
   1720   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1721 /* end confdefs.h.  */
   1722 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1723    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1724 #define $2 innocuous_$2
   1725 
   1726 /* System header to define __stub macros and hopefully few prototypes,
   1727    which can conflict with char $2 (void); below.  */
   1728 
   1729 #include <limits.h>
   1730 #undef $2
   1731 
   1732 /* Override any GCC internal prototype to avoid an error.
   1733    Use char because int might match the return type of a GCC
   1734    builtin and then its argument prototype would still apply.  */
   1735 #ifdef __cplusplus
   1736 extern "C"
   1737 #endif
   1738 char $2 (void);
   1739 /* The GNU C library defines this for functions which it implements
   1740     to always fail with ENOSYS.  Some functions are actually named
   1741     something starting with __ and the normal name is an alias.  */
   1742 #if defined __stub_$2 || defined __stub___$2
   1743 choke me
   1744 #endif
   1745 
   1746 int
   1747 main (void)
   1748 {
   1749 return $2 ();
   1750   ;
   1751   return 0;
   1752 }
   1753 _ACEOF
   1754 if ac_fn_c_try_link "$LINENO"
   1755 then :
   1756   eval "$3=yes"
   1757 else case e in #(
   1758   e) eval "$3=no" ;;
   1759 esac
   1760 fi
   1761 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1762     conftest$ac_exeext conftest.$ac_ext ;;
   1763 esac
   1764 fi
   1765 eval ac_res=\$$3
   1766 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1767 printf "%s\n" "$ac_res" >&6; }
   1768   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1769 
   1770 } # ac_fn_c_check_func
   1771 ac_configure_args_raw=
   1772 for ac_arg
   1773 do
   1774   case $ac_arg in
   1775   *\'*)
   1776     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1777   esac
   1778   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1779 done
   1780 
   1781 case $ac_configure_args_raw in
   1782   *$as_nl*)
   1783     ac_safe_unquote= ;;
   1784   *)
   1785     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1786     ac_unsafe_a="$ac_unsafe_z#~"
   1787     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1788     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1789 esac
   1790 
   1791 cat >config.log <<_ACEOF
   1792 This file contains any messages produced by compilers while
   1793 running configure, to aid debugging if configure makes a mistake.
   1794 
   1795 It was created by smproxy $as_me 1.0.8, which was
   1796 generated by GNU Autoconf 2.72.  Invocation command line was
   1797 
   1798   $ $0$ac_configure_args_raw
   1799 
   1800 _ACEOF
   1801 exec 5>>config.log
   1802 {
   1803 cat <<_ASUNAME
   1804 ## --------- ##
   1805 ## Platform. ##
   1806 ## --------- ##
   1807 
   1808 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1809 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1810 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1811 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1812 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1813 
   1814 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1815 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1816 
   1817 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1818 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1819 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1820 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1821 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1822 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1823 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1824 
   1825 _ASUNAME
   1826 
   1827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1828 for as_dir in $PATH
   1829 do
   1830   IFS=$as_save_IFS
   1831   case $as_dir in #(((
   1832     '') as_dir=./ ;;
   1833     */) ;;
   1834     *) as_dir=$as_dir/ ;;
   1835   esac
   1836     printf "%s\n" "PATH: $as_dir"
   1837   done
   1838 IFS=$as_save_IFS
   1839 
   1840 } >&5
   1841 
   1842 cat >&5 <<_ACEOF
   1843 
   1844 
   1845 ## ----------- ##
   1846 ## Core tests. ##
   1847 ## ----------- ##
   1848 
   1849 _ACEOF
   1850 
   1851 
   1852 # Keep a trace of the command line.
   1853 # Strip out --no-create and --no-recursion so they do not pile up.
   1854 # Strip out --silent because we don't want to record it for future runs.
   1855 # Also quote any args containing shell meta-characters.
   1856 # Make two passes to allow for proper duplicate-argument suppression.
   1857 ac_configure_args=
   1858 ac_configure_args0=
   1859 ac_configure_args1=
   1860 ac_must_keep_next=false
   1861 for ac_pass in 1 2
   1862 do
   1863   for ac_arg
   1864   do
   1865     case $ac_arg in
   1866     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1867     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1868     | -silent | --silent | --silen | --sile | --sil)
   1869       continue ;;
   1870     *\'*)
   1871       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1872     esac
   1873     case $ac_pass in
   1874     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1875     2)
   1876       as_fn_append ac_configure_args1 " '$ac_arg'"
   1877       if test $ac_must_keep_next = true; then
   1878 	ac_must_keep_next=false # Got value, back to normal.
   1879       else
   1880 	case $ac_arg in
   1881 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1882 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1883 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1884 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1885 	    case "$ac_configure_args0 " in
   1886 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1887 	    esac
   1888 	    ;;
   1889 	  -* ) ac_must_keep_next=true ;;
   1890 	esac
   1891       fi
   1892       as_fn_append ac_configure_args " '$ac_arg'"
   1893       ;;
   1894     esac
   1895   done
   1896 done
   1897 { ac_configure_args0=; unset ac_configure_args0;}
   1898 { ac_configure_args1=; unset ac_configure_args1;}
   1899 
   1900 # When interrupted or exit'd, cleanup temporary files, and complete
   1901 # config.log.  We remove comments because anyway the quotes in there
   1902 # would cause problems or look ugly.
   1903 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1904 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1905 trap 'exit_status=$?
   1906   # Sanitize IFS.
   1907   IFS=" ""	$as_nl"
   1908   # Save into config.log some information that might help in debugging.
   1909   {
   1910     echo
   1911 
   1912     printf "%s\n" "## ---------------- ##
   1913 ## Cache variables. ##
   1914 ## ---------------- ##"
   1915     echo
   1916     # The following way of writing the cache mishandles newlines in values,
   1917 (
   1918   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1919     eval ac_val=\$$ac_var
   1920     case $ac_val in #(
   1921     *${as_nl}*)
   1922       case $ac_var in #(
   1923       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1924 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1925       esac
   1926       case $ac_var in #(
   1927       _ | IFS | as_nl) ;; #(
   1928       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1929       *) { eval $ac_var=; unset $ac_var;} ;;
   1930       esac ;;
   1931     esac
   1932   done
   1933   (set) 2>&1 |
   1934     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1935     *${as_nl}ac_space=\ *)
   1936       sed -n \
   1937 	"s/'\''/'\''\\\\'\'''\''/g;
   1938 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1939       ;; #(
   1940     *)
   1941       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1942       ;;
   1943     esac |
   1944     sort
   1945 )
   1946     echo
   1947 
   1948     printf "%s\n" "## ----------------- ##
   1949 ## Output variables. ##
   1950 ## ----------------- ##"
   1951     echo
   1952     for ac_var in $ac_subst_vars
   1953     do
   1954       eval ac_val=\$$ac_var
   1955       case $ac_val in
   1956       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1957       esac
   1958       printf "%s\n" "$ac_var='\''$ac_val'\''"
   1959     done | sort
   1960     echo
   1961 
   1962     if test -n "$ac_subst_files"; then
   1963       printf "%s\n" "## ------------------- ##
   1964 ## File substitutions. ##
   1965 ## ------------------- ##"
   1966       echo
   1967       for ac_var in $ac_subst_files
   1968       do
   1969 	eval ac_val=\$$ac_var
   1970 	case $ac_val in
   1971 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1972 	esac
   1973 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   1974       done | sort
   1975       echo
   1976     fi
   1977 
   1978     if test -s confdefs.h; then
   1979       printf "%s\n" "## ----------- ##
   1980 ## confdefs.h. ##
   1981 ## ----------- ##"
   1982       echo
   1983       cat confdefs.h
   1984       echo
   1985     fi
   1986     test "$ac_signal" != 0 &&
   1987       printf "%s\n" "$as_me: caught signal $ac_signal"
   1988     printf "%s\n" "$as_me: exit $exit_status"
   1989   } >&5
   1990   rm -f core *.core core.conftest.* &&
   1991     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1992     exit $exit_status
   1993 ' 0
   1994 for ac_signal in 1 2 13 15; do
   1995   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1996 done
   1997 ac_signal=0
   1998 
   1999 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2000 rm -f -r conftest* confdefs.h
   2001 
   2002 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2003 
   2004 # Predefined preprocessor variables.
   2005 
   2006 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2007 
   2008 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2009 
   2010 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2011 
   2012 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2013 
   2014 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2015 
   2016 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2017 
   2018 
   2019 # Let the site file select an alternate cache file if it wants to.
   2020 # Prefer an explicitly selected file to automatically selected ones.
   2021 if test -n "$CONFIG_SITE"; then
   2022   ac_site_files="$CONFIG_SITE"
   2023 elif test "x$prefix" != xNONE; then
   2024   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2025 else
   2026   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2027 fi
   2028 
   2029 for ac_site_file in $ac_site_files
   2030 do
   2031   case $ac_site_file in #(
   2032   */*) :
   2033      ;; #(
   2034   *) :
   2035     ac_site_file=./$ac_site_file ;;
   2036 esac
   2037   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2038     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2039 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2040     sed 's/^/| /' "$ac_site_file" >&5
   2041     . "$ac_site_file" \
   2042       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2043 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2044 as_fn_error $? "failed to load site script $ac_site_file
   2045 See 'config.log' for more details" "$LINENO" 5; }
   2046   fi
   2047 done
   2048 
   2049 if test -r "$cache_file"; then
   2050   # Some versions of bash will fail to source /dev/null (special files
   2051   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2052   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2053     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2054 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2055     case $cache_file in
   2056       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2057       *)                      . "./$cache_file";;
   2058     esac
   2059   fi
   2060 else
   2061   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2062 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2063   >$cache_file
   2064 fi
   2065 
   2066 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2067 # Test code for whether the C compiler supports C89 (global declarations)
   2068 ac_c_conftest_c89_globals='
   2069 /* Does the compiler advertise C89 conformance?
   2070    Do not test the value of __STDC__, because some compilers set it to 0
   2071    while being otherwise adequately conformant. */
   2072 #if !defined __STDC__
   2073 # error "Compiler does not advertise C89 conformance"
   2074 #endif
   2075 
   2076 #include <stddef.h>
   2077 #include <stdarg.h>
   2078 struct stat;
   2079 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2080 struct buf { int x; };
   2081 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2082 static char *e (char **p, int i)
   2083 {
   2084   return p[i];
   2085 }
   2086 static char *f (char * (*g) (char **, int), char **p, ...)
   2087 {
   2088   char *s;
   2089   va_list v;
   2090   va_start (v,p);
   2091   s = g (p, va_arg (v,int));
   2092   va_end (v);
   2093   return s;
   2094 }
   2095 
   2096 /* C89 style stringification. */
   2097 #define noexpand_stringify(a) #a
   2098 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2099 
   2100 /* C89 style token pasting.  Exercises some of the corner cases that
   2101    e.g. old MSVC gets wrong, but not very hard. */
   2102 #define noexpand_concat(a,b) a##b
   2103 #define expand_concat(a,b) noexpand_concat(a,b)
   2104 extern int vA;
   2105 extern int vbee;
   2106 #define aye A
   2107 #define bee B
   2108 int *pvA = &expand_concat(v,aye);
   2109 int *pvbee = &noexpand_concat(v,bee);
   2110 
   2111 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2112    function prototypes and stuff, but not \xHH hex character constants.
   2113    These do not provoke an error unfortunately, instead are silently treated
   2114    as an "x".  The following induces an error, until -std is added to get
   2115    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2116    array size at least.  It is necessary to write \x00 == 0 to get something
   2117    that is true only with -std.  */
   2118 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2119 
   2120 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2121    inside strings and character constants.  */
   2122 #define FOO(x) '\''x'\''
   2123 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2124 
   2125 int test (int i, double x);
   2126 struct s1 {int (*f) (int a);};
   2127 struct s2 {int (*f) (double a);};
   2128 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2129                int, int);'
   2130 
   2131 # Test code for whether the C compiler supports C89 (body of main).
   2132 ac_c_conftest_c89_main='
   2133 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2134 '
   2135 
   2136 # Test code for whether the C compiler supports C99 (global declarations)
   2137 ac_c_conftest_c99_globals='
   2138 /* Does the compiler advertise C99 conformance? */
   2139 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2140 # error "Compiler does not advertise C99 conformance"
   2141 #endif
   2142 
   2143 // See if C++-style comments work.
   2144 
   2145 #include <stdbool.h>
   2146 extern int puts (const char *);
   2147 extern int printf (const char *, ...);
   2148 extern int dprintf (int, const char *, ...);
   2149 extern void *malloc (size_t);
   2150 extern void free (void *);
   2151 
   2152 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2153 // dprintf is used instead of fprintf to avoid needing to declare
   2154 // FILE and stderr.
   2155 #define debug(...) dprintf (2, __VA_ARGS__)
   2156 #define showlist(...) puts (#__VA_ARGS__)
   2157 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2158 static void
   2159 test_varargs_macros (void)
   2160 {
   2161   int x = 1234;
   2162   int y = 5678;
   2163   debug ("Flag");
   2164   debug ("X = %d\n", x);
   2165   showlist (The first, second, and third items.);
   2166   report (x>y, "x is %d but y is %d", x, y);
   2167 }
   2168 
   2169 // Check long long types.
   2170 #define BIG64 18446744073709551615ull
   2171 #define BIG32 4294967295ul
   2172 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2173 #if !BIG_OK
   2174   #error "your preprocessor is broken"
   2175 #endif
   2176 #if BIG_OK
   2177 #else
   2178   #error "your preprocessor is broken"
   2179 #endif
   2180 static long long int bignum = -9223372036854775807LL;
   2181 static unsigned long long int ubignum = BIG64;
   2182 
   2183 struct incomplete_array
   2184 {
   2185   int datasize;
   2186   double data[];
   2187 };
   2188 
   2189 struct named_init {
   2190   int number;
   2191   const wchar_t *name;
   2192   double average;
   2193 };
   2194 
   2195 typedef const char *ccp;
   2196 
   2197 static inline int
   2198 test_restrict (ccp restrict text)
   2199 {
   2200   // Iterate through items via the restricted pointer.
   2201   // Also check for declarations in for loops.
   2202   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2203     continue;
   2204   return 0;
   2205 }
   2206 
   2207 // Check varargs and va_copy.
   2208 static bool
   2209 test_varargs (const char *format, ...)
   2210 {
   2211   va_list args;
   2212   va_start (args, format);
   2213   va_list args_copy;
   2214   va_copy (args_copy, args);
   2215 
   2216   const char *str = "";
   2217   int number = 0;
   2218   float fnumber = 0;
   2219 
   2220   while (*format)
   2221     {
   2222       switch (*format++)
   2223 	{
   2224 	case '\''s'\'': // string
   2225 	  str = va_arg (args_copy, const char *);
   2226 	  break;
   2227 	case '\''d'\'': // int
   2228 	  number = va_arg (args_copy, int);
   2229 	  break;
   2230 	case '\''f'\'': // float
   2231 	  fnumber = va_arg (args_copy, double);
   2232 	  break;
   2233 	default:
   2234 	  break;
   2235 	}
   2236     }
   2237   va_end (args_copy);
   2238   va_end (args);
   2239 
   2240   return *str && number && fnumber;
   2241 }
   2242 '
   2243 
   2244 # Test code for whether the C compiler supports C99 (body of main).
   2245 ac_c_conftest_c99_main='
   2246   // Check bool.
   2247   _Bool success = false;
   2248   success |= (argc != 0);
   2249 
   2250   // Check restrict.
   2251   if (test_restrict ("String literal") == 0)
   2252     success = true;
   2253   char *restrict newvar = "Another string";
   2254 
   2255   // Check varargs.
   2256   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2257   test_varargs_macros ();
   2258 
   2259   // Check flexible array members.
   2260   struct incomplete_array *ia =
   2261     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2262   ia->datasize = 10;
   2263   for (int i = 0; i < ia->datasize; ++i)
   2264     ia->data[i] = i * 1.234;
   2265   // Work around memory leak warnings.
   2266   free (ia);
   2267 
   2268   // Check named initializers.
   2269   struct named_init ni = {
   2270     .number = 34,
   2271     .name = L"Test wide string",
   2272     .average = 543.34343,
   2273   };
   2274 
   2275   ni.number = 58;
   2276 
   2277   int dynamic_array[ni.number];
   2278   dynamic_array[0] = argv[0][0];
   2279   dynamic_array[ni.number - 1] = 543;
   2280 
   2281   // work around unused variable warnings
   2282   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2283 	 || dynamic_array[ni.number - 1] != 543);
   2284 '
   2285 
   2286 # Test code for whether the C compiler supports C11 (global declarations)
   2287 ac_c_conftest_c11_globals='
   2288 /* Does the compiler advertise C11 conformance? */
   2289 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2290 # error "Compiler does not advertise C11 conformance"
   2291 #endif
   2292 
   2293 // Check _Alignas.
   2294 char _Alignas (double) aligned_as_double;
   2295 char _Alignas (0) no_special_alignment;
   2296 extern char aligned_as_int;
   2297 char _Alignas (0) _Alignas (int) aligned_as_int;
   2298 
   2299 // Check _Alignof.
   2300 enum
   2301 {
   2302   int_alignment = _Alignof (int),
   2303   int_array_alignment = _Alignof (int[100]),
   2304   char_alignment = _Alignof (char)
   2305 };
   2306 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2307 
   2308 // Check _Noreturn.
   2309 int _Noreturn does_not_return (void) { for (;;) continue; }
   2310 
   2311 // Check _Static_assert.
   2312 struct test_static_assert
   2313 {
   2314   int x;
   2315   _Static_assert (sizeof (int) <= sizeof (long int),
   2316                   "_Static_assert does not work in struct");
   2317   long int y;
   2318 };
   2319 
   2320 // Check UTF-8 literals.
   2321 #define u8 syntax error!
   2322 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2323 
   2324 // Check duplicate typedefs.
   2325 typedef long *long_ptr;
   2326 typedef long int *long_ptr;
   2327 typedef long_ptr long_ptr;
   2328 
   2329 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2330 struct anonymous
   2331 {
   2332   union {
   2333     struct { int i; int j; };
   2334     struct { int k; long int l; } w;
   2335   };
   2336   int m;
   2337 } v1;
   2338 '
   2339 
   2340 # Test code for whether the C compiler supports C11 (body of main).
   2341 ac_c_conftest_c11_main='
   2342   _Static_assert ((offsetof (struct anonymous, i)
   2343 		   == offsetof (struct anonymous, w.k)),
   2344 		  "Anonymous union alignment botch");
   2345   v1.i = 2;
   2346   v1.w.k = 5;
   2347   ok |= v1.i != 5;
   2348 '
   2349 
   2350 # Test code for whether the C compiler supports C11 (complete).
   2351 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2352 ${ac_c_conftest_c99_globals}
   2353 ${ac_c_conftest_c11_globals}
   2354 
   2355 int
   2356 main (int argc, char **argv)
   2357 {
   2358   int ok = 0;
   2359   ${ac_c_conftest_c89_main}
   2360   ${ac_c_conftest_c99_main}
   2361   ${ac_c_conftest_c11_main}
   2362   return ok;
   2363 }
   2364 "
   2365 
   2366 # Test code for whether the C compiler supports C99 (complete).
   2367 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2368 ${ac_c_conftest_c99_globals}
   2369 
   2370 int
   2371 main (int argc, char **argv)
   2372 {
   2373   int ok = 0;
   2374   ${ac_c_conftest_c89_main}
   2375   ${ac_c_conftest_c99_main}
   2376   return ok;
   2377 }
   2378 "
   2379 
   2380 # Test code for whether the C compiler supports C89 (complete).
   2381 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2382 
   2383 int
   2384 main (int argc, char **argv)
   2385 {
   2386   int ok = 0;
   2387   ${ac_c_conftest_c89_main}
   2388   return ok;
   2389 }
   2390 "
   2391 
   2392 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2393 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2394 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2395 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2396 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2397 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2398 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2399 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2400 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
   2401 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
   2402 
   2403 # Auxiliary files required by this configure script.
   2404 ac_aux_files="config.guess config.sub compile missing install-sh"
   2405 
   2406 # Locations in which to look for auxiliary files.
   2407 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2408 
   2409 # Search for a directory containing all of the required auxiliary files,
   2410 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2411 # If we don't find one directory that contains all the files we need,
   2412 # we report the set of missing files from the *first* directory in
   2413 # $ac_aux_dir_candidates and give up.
   2414 ac_missing_aux_files=""
   2415 ac_first_candidate=:
   2416 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2418 as_found=false
   2419 for as_dir in $ac_aux_dir_candidates
   2420 do
   2421   IFS=$as_save_IFS
   2422   case $as_dir in #(((
   2423     '') as_dir=./ ;;
   2424     */) ;;
   2425     *) as_dir=$as_dir/ ;;
   2426   esac
   2427   as_found=:
   2428 
   2429   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2430   ac_aux_dir_found=yes
   2431   ac_install_sh=
   2432   for ac_aux in $ac_aux_files
   2433   do
   2434     # As a special case, if "install-sh" is required, that requirement
   2435     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2436     # and $ac_install_sh is set appropriately for whichever one is found.
   2437     if test x"$ac_aux" = x"install-sh"
   2438     then
   2439       if test -f "${as_dir}install-sh"; then
   2440         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2441         ac_install_sh="${as_dir}install-sh -c"
   2442       elif test -f "${as_dir}install.sh"; then
   2443         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2444         ac_install_sh="${as_dir}install.sh -c"
   2445       elif test -f "${as_dir}shtool"; then
   2446         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2447         ac_install_sh="${as_dir}shtool install -c"
   2448       else
   2449         ac_aux_dir_found=no
   2450         if $ac_first_candidate; then
   2451           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2452         else
   2453           break
   2454         fi
   2455       fi
   2456     else
   2457       if test -f "${as_dir}${ac_aux}"; then
   2458         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2459       else
   2460         ac_aux_dir_found=no
   2461         if $ac_first_candidate; then
   2462           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2463         else
   2464           break
   2465         fi
   2466       fi
   2467     fi
   2468   done
   2469   if test "$ac_aux_dir_found" = yes; then
   2470     ac_aux_dir="$as_dir"
   2471     break
   2472   fi
   2473   ac_first_candidate=false
   2474 
   2475   as_found=false
   2476 done
   2477 IFS=$as_save_IFS
   2478 if $as_found
   2479 then :
   2480 
   2481 else case e in #(
   2482   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2483 esac
   2484 fi
   2485 
   2486 
   2487 # These three variables are undocumented and unsupported,
   2488 # and are intended to be withdrawn in a future Autoconf release.
   2489 # They can cause serious problems if a builder's source tree is in a directory
   2490 # whose full name contains unusual characters.
   2491 if test -f "${ac_aux_dir}config.guess"; then
   2492   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2493 fi
   2494 if test -f "${ac_aux_dir}config.sub"; then
   2495   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2496 fi
   2497 if test -f "$ac_aux_dir/configure"; then
   2498   ac_configure="$SHELL ${ac_aux_dir}configure"
   2499 fi
   2500 
   2501 # Check that the precious variables saved in the cache have kept the same
   2502 # value.
   2503 ac_cache_corrupted=false
   2504 for ac_var in $ac_precious_vars; do
   2505   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2506   eval ac_new_set=\$ac_env_${ac_var}_set
   2507   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2508   eval ac_new_val=\$ac_env_${ac_var}_value
   2509   case $ac_old_set,$ac_new_set in
   2510     set,)
   2511       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2512 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2513       ac_cache_corrupted=: ;;
   2514     ,set)
   2515       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2516 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2517       ac_cache_corrupted=: ;;
   2518     ,);;
   2519     *)
   2520       if test "x$ac_old_val" != "x$ac_new_val"; then
   2521 	# differences in whitespace do not lead to failure.
   2522 	ac_old_val_w=`echo x $ac_old_val`
   2523 	ac_new_val_w=`echo x $ac_new_val`
   2524 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2525 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2526 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2527 	  ac_cache_corrupted=:
   2528 	else
   2529 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2530 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2531 	  eval $ac_var=\$ac_old_val
   2532 	fi
   2533 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2534 printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
   2535 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2536 printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
   2537       fi;;
   2538   esac
   2539   # Pass precious variables to config.status.
   2540   if test "$ac_new_set" = set; then
   2541     case $ac_new_val in
   2542     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2543     *) ac_arg=$ac_var=$ac_new_val ;;
   2544     esac
   2545     case " $ac_configure_args " in
   2546       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2547       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2548     esac
   2549   fi
   2550 done
   2551 if $ac_cache_corrupted; then
   2552   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2553 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2554   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2555 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2556   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2557 	    and start over" "$LINENO" 5
   2558 fi
   2559 ## -------------------- ##
   2560 ## Main body of script. ##
   2561 ## -------------------- ##
   2562 
   2563 ac_ext=c
   2564 ac_cpp='$CPP $CPPFLAGS'
   2565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2568 
   2569 
   2570 
   2571 ac_config_headers="$ac_config_headers config.h"
   2572 
   2573 
   2574 # Initialize Automake
   2575 am__api_version='1.17'
   2576 
   2577 
   2578 
   2579   # Find a good install program.  We prefer a C program (faster),
   2580 # so one script is as good as another.  But avoid the broken or
   2581 # incompatible versions:
   2582 # SysV /etc/install, /usr/sbin/install
   2583 # SunOS /usr/etc/install
   2584 # IRIX /sbin/install
   2585 # AIX /bin/install
   2586 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2587 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2588 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2589 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2590 # OS/2's system install, which has a completely different semantic
   2591 # ./install, which can be erroneously created by make from ./install.sh.
   2592 # Reject install programs that cannot install multiple files.
   2593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2594 printf %s "checking for a BSD-compatible install... " >&6; }
   2595 if test -z "$INSTALL"; then
   2596 if test ${ac_cv_path_install+y}
   2597 then :
   2598   printf %s "(cached) " >&6
   2599 else case e in #(
   2600   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2601 for as_dir in $PATH
   2602 do
   2603   IFS=$as_save_IFS
   2604   case $as_dir in #(((
   2605     '') as_dir=./ ;;
   2606     */) ;;
   2607     *) as_dir=$as_dir/ ;;
   2608   esac
   2609     # Account for fact that we put trailing slashes in our PATH walk.
   2610 case $as_dir in #((
   2611   ./ | /[cC]/* | \
   2612   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2613   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2614   /usr/ucb/* ) ;;
   2615   *)
   2616     # OSF1 and SCO ODT 3.0 have their own names for install.
   2617     # Don't use installbsd from OSF since it installs stuff as root
   2618     # by default.
   2619     for ac_prog in ginstall scoinst install; do
   2620       for ac_exec_ext in '' $ac_executable_extensions; do
   2621 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2622 	  if test $ac_prog = install &&
   2623 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2624 	    # AIX install.  It has an incompatible calling convention.
   2625 	    :
   2626 	  elif test $ac_prog = install &&
   2627 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2628 	    # program-specific install script used by HP pwplus--don't use.
   2629 	    :
   2630 	  else
   2631 	    rm -rf conftest.one conftest.two conftest.dir
   2632 	    echo one > conftest.one
   2633 	    echo two > conftest.two
   2634 	    mkdir conftest.dir
   2635 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2636 	      test -s conftest.one && test -s conftest.two &&
   2637 	      test -s conftest.dir/conftest.one &&
   2638 	      test -s conftest.dir/conftest.two
   2639 	    then
   2640 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2641 	      break 3
   2642 	    fi
   2643 	  fi
   2644 	fi
   2645       done
   2646     done
   2647     ;;
   2648 esac
   2649 
   2650   done
   2651 IFS=$as_save_IFS
   2652 
   2653 rm -rf conftest.one conftest.two conftest.dir
   2654  ;;
   2655 esac
   2656 fi
   2657   if test ${ac_cv_path_install+y}; then
   2658     INSTALL=$ac_cv_path_install
   2659   else
   2660     # As a last resort, use the slow shell script.  Don't cache a
   2661     # value for INSTALL within a source directory, because that will
   2662     # break other packages using the cache if that directory is
   2663     # removed, or if the value is a relative name.
   2664     INSTALL=$ac_install_sh
   2665   fi
   2666 fi
   2667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2668 printf "%s\n" "$INSTALL" >&6; }
   2669 
   2670 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2671 # It thinks the first close brace ends the variable substitution.
   2672 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2673 
   2674 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2675 
   2676 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2677 
   2678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   2679 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   2680 if test ${am_cv_sleep_fractional_seconds+y}
   2681 then :
   2682   printf %s "(cached) " >&6
   2683 else case e in #(
   2684   e) if sleep 0.001 2>/dev/null
   2685 then :
   2686   am_cv_sleep_fractional_seconds=yes
   2687 else case e in #(
   2688   e) am_cv_sleep_fractional_seconds=no ;;
   2689 esac
   2690 fi
   2691  ;;
   2692 esac
   2693 fi
   2694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   2695 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
   2696 
   2697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   2698 printf %s "checking filesystem timestamp resolution... " >&6; }
   2699 if test ${am_cv_filesystem_timestamp_resolution+y}
   2700 then :
   2701   printf %s "(cached) " >&6
   2702 else case e in #(
   2703   e) # Default to the worst case.
   2704 am_cv_filesystem_timestamp_resolution=2
   2705 
   2706 # Only try to go finer than 1 sec if sleep can do it.
   2707 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   2708 # - 1 sec is not much of a win compared to 2 sec, and
   2709 # - it takes 2 seconds to perform the test whether 1 sec works.
   2710 #
   2711 # Instead, just use the default 2s on platforms that have 1s resolution,
   2712 # accept the extra 1s delay when using $sleep in the Automake tests, in
   2713 # exchange for not incurring the 2s delay for running the test for all
   2714 # packages.
   2715 #
   2716 am_try_resolutions=
   2717 if test "$am_cv_sleep_fractional_seconds" = yes; then
   2718   # Even a millisecond often causes a bunch of false positives,
   2719   # so just try a hundredth of a second. The time saved between .001 and
   2720   # .01 is not terribly consequential.
   2721   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   2722 fi
   2723 
   2724 # In order to catch current-generation FAT out, we must *modify* files
   2725 # that already exist; the *creation* timestamp is finer.  Use names
   2726 # that make ls -t sort them differently when they have equal
   2727 # timestamps than when they have distinct timestamps, keeping
   2728 # in mind that ls -t prints the *newest* file first.
   2729 rm -f conftest.ts?
   2730 : > conftest.ts1
   2731 : > conftest.ts2
   2732 : > conftest.ts3
   2733 
   2734 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   2735 # clobber the current shell's arguments. (Outer-level square brackets
   2736 # are removed by m4; they're present so that m4 does not expand
   2737 # <dollar><star>; be careful, easy to get confused.)
   2738 if (
   2739      set X `ls -t conftest.ts[12]` &&
   2740      {
   2741        test "$*" != "X conftest.ts1 conftest.ts2" ||
   2742        test "$*" != "X conftest.ts2 conftest.ts1";
   2743      }
   2744 ); then :; else
   2745   # If neither matched, then we have a broken ls.  This can happen
   2746   # if, for instance, CONFIG_SHELL is bash and it inherits a
   2747   # broken ls alias from the environment.  This has actually
   2748   # happened.  Such a system could not be considered "sane".
   2749   printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   2750   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2751 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2752 as_fn_error $? "ls -t produces unexpected output.
   2753 Make sure there is not a broken ls alias in your environment.
   2754 See 'config.log' for more details" "$LINENO" 5; }
   2755 fi
   2756 
   2757 for am_try_res in $am_try_resolutions; do
   2758   # Any one fine-grained sleep might happen to cross the boundary
   2759   # between two values of a coarser actual resolution, but if we do
   2760   # two fine-grained sleeps in a row, at least one of them will fall
   2761   # entirely within a coarse interval.
   2762   echo alpha > conftest.ts1
   2763   sleep $am_try_res
   2764   echo beta > conftest.ts2
   2765   sleep $am_try_res
   2766   echo gamma > conftest.ts3
   2767 
   2768   # We assume that 'ls -t' will make use of high-resolution
   2769   # timestamps if the operating system supports them at all.
   2770   if (set X `ls -t conftest.ts?` &&
   2771       test "$2" = conftest.ts3 &&
   2772       test "$3" = conftest.ts2 &&
   2773       test "$4" = conftest.ts1); then
   2774     #
   2775     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   2776     # because we don't need to test make.
   2777     make_ok=true
   2778     if test $am_try_res != 1; then
   2779       # But if we've succeeded so far with a subsecond resolution, we
   2780       # have one more thing to check: make. It can happen that
   2781       # everything else supports the subsecond mtimes, but make doesn't;
   2782       # notably on macOS, which ships make 3.81 from 2006 (the last one
   2783       # released under GPLv2). https://bugs.gnu.org/68808
   2784       #
   2785       # We test $MAKE if it is defined in the environment, else "make".
   2786       # It might get overridden later, but our hope is that in practice
   2787       # it does not matter: it is the system "make" which is (by far)
   2788       # the most likely to be broken, whereas if the user overrides it,
   2789       # probably they did so with a better, or at least not worse, make.
   2790       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   2791       #
   2792       # Create a Makefile (real tab character here):
   2793       rm -f conftest.mk
   2794       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   2795       echo '	touch conftest.ts2' >>conftest.mk
   2796       #
   2797       # Now, running
   2798       #   touch conftest.ts1; touch conftest.ts2; make
   2799       # should touch ts1 because ts2 is newer. This could happen by luck,
   2800       # but most often, it will fail if make's support is insufficient. So
   2801       # test for several consecutive successes.
   2802       #
   2803       # (We reuse conftest.ts[12] because we still want to modify existing
   2804       # files, not create new ones, per above.)
   2805       n=0
   2806       make=${MAKE-make}
   2807       until test $n -eq 3; do
   2808         echo one > conftest.ts1
   2809         sleep $am_try_res
   2810         echo two > conftest.ts2 # ts2 should now be newer than ts1
   2811         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   2812           make_ok=false
   2813           break # out of $n loop
   2814         fi
   2815         n=`expr $n + 1`
   2816       done
   2817     fi
   2818     #
   2819     if $make_ok; then
   2820       # Everything we know to check worked out, so call this resolution good.
   2821       am_cv_filesystem_timestamp_resolution=$am_try_res
   2822       break # out of $am_try_res loop
   2823     fi
   2824     # Otherwise, we'll go on to check the next resolution.
   2825   fi
   2826 done
   2827 rm -f conftest.ts?
   2828 # (end _am_filesystem_timestamp_resolution)
   2829  ;;
   2830 esac
   2831 fi
   2832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   2833 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
   2834 
   2835 # This check should not be cached, as it may vary across builds of
   2836 # different projects.
   2837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2838 printf %s "checking whether build environment is sane... " >&6; }
   2839 # Reject unsafe characters in $srcdir or the absolute working directory
   2840 # name.  Accept space and tab only in the latter.
   2841 am_lf='
   2842 '
   2843 case `pwd` in
   2844   *[\\\"\#\$\&\'\`$am_lf]*)
   2845     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2846 esac
   2847 case $srcdir in
   2848   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2849     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2850 esac
   2851 
   2852 # Do 'set' in a subshell so we don't clobber the current shell's
   2853 # arguments.  Must try -L first in case configure is actually a
   2854 # symlink; some systems play weird games with the mod time of symlinks
   2855 # (eg FreeBSD returns the mod time of the symlink's containing
   2856 # directory).
   2857 am_build_env_is_sane=no
   2858 am_has_slept=no
   2859 rm -f conftest.file
   2860 for am_try in 1 2; do
   2861   echo "timestamp, slept: $am_has_slept" > conftest.file
   2862   if (
   2863     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2864     if test "$*" = "X"; then
   2865       # -L didn't work.
   2866       set X `ls -t "$srcdir/configure" conftest.file`
   2867     fi
   2868     test "$2" = conftest.file
   2869   ); then
   2870     am_build_env_is_sane=yes
   2871     break
   2872   fi
   2873   # Just in case.
   2874   sleep "$am_cv_filesystem_timestamp_resolution"
   2875   am_has_slept=yes
   2876 done
   2877 
   2878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   2879 printf "%s\n" "$am_build_env_is_sane" >&6; }
   2880 if test "$am_build_env_is_sane" = no; then
   2881   as_fn_error $? "newly created file is older than distributed files!
   2882 Check your system clock" "$LINENO" 5
   2883 fi
   2884 
   2885 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2886 # generated files are strictly newer.
   2887 am_sleep_pid=
   2888 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   2889 then :
   2890 
   2891 else case e in #(
   2892   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   2893   am_sleep_pid=$!
   2894  ;;
   2895 esac
   2896 fi
   2897 
   2898 rm -f conftest.file
   2899 
   2900 test "$program_prefix" != NONE &&
   2901   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2902 # Use a double $ so make ignores it.
   2903 test "$program_suffix" != NONE &&
   2904   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2905 # Double any \ or $.
   2906 # By default was 's,x,x', remove it if useless.
   2907 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2908 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2909 
   2910 
   2911 # Expand $ac_aux_dir to an absolute path.
   2912 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2913 
   2914 
   2915   if test x"${MISSING+set}" != xset; then
   2916   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2917 fi
   2918 # Use eval to expand $SHELL
   2919 if eval "$MISSING --is-lightweight"; then
   2920   am_missing_run="$MISSING "
   2921 else
   2922   am_missing_run=
   2923   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2924 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2925 fi
   2926 
   2927 if test x"${install_sh+set}" != xset; then
   2928   case $am_aux_dir in
   2929   *\ * | *\	*)
   2930     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2931   *)
   2932     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2933   esac
   2934 fi
   2935 
   2936 # Installed binaries are usually stripped using 'strip' when the user
   2937 # run "make install-strip".  However 'strip' might not be the right
   2938 # tool to use in cross-compilation environments, therefore Automake
   2939 # will honor the 'STRIP' environment variable to overrule this program.
   2940 if test "$cross_compiling" != no; then
   2941   if test -n "$ac_tool_prefix"; then
   2942   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2943 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2945 printf %s "checking for $ac_word... " >&6; }
   2946 if test ${ac_cv_prog_STRIP+y}
   2947 then :
   2948   printf %s "(cached) " >&6
   2949 else case e in #(
   2950   e) if test -n "$STRIP"; then
   2951   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2952 else
   2953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2954 for as_dir in $PATH
   2955 do
   2956   IFS=$as_save_IFS
   2957   case $as_dir in #(((
   2958     '') as_dir=./ ;;
   2959     */) ;;
   2960     *) as_dir=$as_dir/ ;;
   2961   esac
   2962     for ac_exec_ext in '' $ac_executable_extensions; do
   2963   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2964     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2965     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2966     break 2
   2967   fi
   2968 done
   2969   done
   2970 IFS=$as_save_IFS
   2971 
   2972 fi ;;
   2973 esac
   2974 fi
   2975 STRIP=$ac_cv_prog_STRIP
   2976 if test -n "$STRIP"; then
   2977   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2978 printf "%s\n" "$STRIP" >&6; }
   2979 else
   2980   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2981 printf "%s\n" "no" >&6; }
   2982 fi
   2983 
   2984 
   2985 fi
   2986 if test -z "$ac_cv_prog_STRIP"; then
   2987   ac_ct_STRIP=$STRIP
   2988   # Extract the first word of "strip", so it can be a program name with args.
   2989 set dummy strip; ac_word=$2
   2990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2991 printf %s "checking for $ac_word... " >&6; }
   2992 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2993 then :
   2994   printf %s "(cached) " >&6
   2995 else case e in #(
   2996   e) if test -n "$ac_ct_STRIP"; then
   2997   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2998 else
   2999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3000 for as_dir in $PATH
   3001 do
   3002   IFS=$as_save_IFS
   3003   case $as_dir in #(((
   3004     '') as_dir=./ ;;
   3005     */) ;;
   3006     *) as_dir=$as_dir/ ;;
   3007   esac
   3008     for ac_exec_ext in '' $ac_executable_extensions; do
   3009   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3010     ac_cv_prog_ac_ct_STRIP="strip"
   3011     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3012     break 2
   3013   fi
   3014 done
   3015   done
   3016 IFS=$as_save_IFS
   3017 
   3018 fi ;;
   3019 esac
   3020 fi
   3021 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3022 if test -n "$ac_ct_STRIP"; then
   3023   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3024 printf "%s\n" "$ac_ct_STRIP" >&6; }
   3025 else
   3026   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3027 printf "%s\n" "no" >&6; }
   3028 fi
   3029 
   3030   if test "x$ac_ct_STRIP" = x; then
   3031     STRIP=":"
   3032   else
   3033     case $cross_compiling:$ac_tool_warned in
   3034 yes:)
   3035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3036 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3037 ac_tool_warned=yes ;;
   3038 esac
   3039     STRIP=$ac_ct_STRIP
   3040   fi
   3041 else
   3042   STRIP="$ac_cv_prog_STRIP"
   3043 fi
   3044 
   3045 fi
   3046 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3047 
   3048 
   3049   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   3050 printf %s "checking for a race-free mkdir -p... " >&6; }
   3051 if test -z "$MKDIR_P"; then
   3052   if test ${ac_cv_path_mkdir+y}
   3053 then :
   3054   printf %s "(cached) " >&6
   3055 else case e in #(
   3056   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3057 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3058 do
   3059   IFS=$as_save_IFS
   3060   case $as_dir in #(((
   3061     '') as_dir=./ ;;
   3062     */) ;;
   3063     *) as_dir=$as_dir/ ;;
   3064   esac
   3065     for ac_prog in mkdir gmkdir; do
   3066 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3067 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3068 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3069 	     'mkdir ('*'coreutils) '* | \
   3070 	     *'BusyBox '* | \
   3071 	     'mkdir (fileutils) '4.1*)
   3072 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3073 	       break 3;;
   3074 	   esac
   3075 	 done
   3076        done
   3077   done
   3078 IFS=$as_save_IFS
   3079  ;;
   3080 esac
   3081 fi
   3082 
   3083   test -d ./--version && rmdir ./--version
   3084   if test ${ac_cv_path_mkdir+y}; then
   3085     MKDIR_P="$ac_cv_path_mkdir -p"
   3086   else
   3087     # As a last resort, use plain mkdir -p,
   3088     # in the hope it doesn't have the bugs of ancient mkdir.
   3089     MKDIR_P='mkdir -p'
   3090   fi
   3091 fi
   3092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3093 printf "%s\n" "$MKDIR_P" >&6; }
   3094 
   3095 for ac_prog in gawk mawk nawk awk
   3096 do
   3097   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3098 set dummy $ac_prog; ac_word=$2
   3099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3100 printf %s "checking for $ac_word... " >&6; }
   3101 if test ${ac_cv_prog_AWK+y}
   3102 then :
   3103   printf %s "(cached) " >&6
   3104 else case e in #(
   3105   e) if test -n "$AWK"; then
   3106   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3107 else
   3108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3109 for as_dir in $PATH
   3110 do
   3111   IFS=$as_save_IFS
   3112   case $as_dir in #(((
   3113     '') as_dir=./ ;;
   3114     */) ;;
   3115     *) as_dir=$as_dir/ ;;
   3116   esac
   3117     for ac_exec_ext in '' $ac_executable_extensions; do
   3118   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3119     ac_cv_prog_AWK="$ac_prog"
   3120     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3121     break 2
   3122   fi
   3123 done
   3124   done
   3125 IFS=$as_save_IFS
   3126 
   3127 fi ;;
   3128 esac
   3129 fi
   3130 AWK=$ac_cv_prog_AWK
   3131 if test -n "$AWK"; then
   3132   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3133 printf "%s\n" "$AWK" >&6; }
   3134 else
   3135   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3136 printf "%s\n" "no" >&6; }
   3137 fi
   3138 
   3139 
   3140   test -n "$AWK" && break
   3141 done
   3142 
   3143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3144 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3145 set x ${MAKE-make}
   3146 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3147 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3148 then :
   3149   printf %s "(cached) " >&6
   3150 else case e in #(
   3151   e) cat >conftest.make <<\_ACEOF
   3152 SHELL = /bin/sh
   3153 all:
   3154 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3155 _ACEOF
   3156 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3157 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3158   *@@@%%%=?*=@@@%%%*)
   3159     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3160   *)
   3161     eval ac_cv_prog_make_${ac_make}_set=no;;
   3162 esac
   3163 rm -f conftest.make ;;
   3164 esac
   3165 fi
   3166 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3167   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3168 printf "%s\n" "yes" >&6; }
   3169   SET_MAKE=
   3170 else
   3171   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3172 printf "%s\n" "no" >&6; }
   3173   SET_MAKE="MAKE=${MAKE-make}"
   3174 fi
   3175 
   3176 rm -rf .tst 2>/dev/null
   3177 mkdir .tst 2>/dev/null
   3178 if test -d .tst; then
   3179   am__leading_dot=.
   3180 else
   3181   am__leading_dot=_
   3182 fi
   3183 rmdir .tst 2>/dev/null
   3184 
   3185 AM_DEFAULT_VERBOSITY=1
   3186 # Check whether --enable-silent-rules was given.
   3187 if test ${enable_silent_rules+y}
   3188 then :
   3189   enableval=$enable_silent_rules;
   3190 fi
   3191 
   3192 am_make=${MAKE-make}
   3193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3194 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3195 if test ${am_cv_make_support_nested_variables+y}
   3196 then :
   3197   printf %s "(cached) " >&6
   3198 else case e in #(
   3199   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   3200 BAR0=false
   3201 BAR1=true
   3202 V=1
   3203 am__doit:
   3204 	@$(TRUE)
   3205 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3206   am_cv_make_support_nested_variables=yes
   3207 else
   3208   am_cv_make_support_nested_variables=no
   3209 fi ;;
   3210 esac
   3211 fi
   3212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3213 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3214 AM_BACKSLASH='\'
   3215 
   3216 am__rm_f_notfound=
   3217 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   3218 then :
   3219 
   3220 else case e in #(
   3221   e) am__rm_f_notfound='""' ;;
   3222 esac
   3223 fi
   3224 
   3225 
   3226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   3227 printf %s "checking xargs -n works... " >&6; }
   3228 if test ${am_cv_xargs_n_works+y}
   3229 then :
   3230   printf %s "(cached) " >&6
   3231 else case e in #(
   3232   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   3233 3"
   3234 then :
   3235   am_cv_xargs_n_works=yes
   3236 else case e in #(
   3237   e) am_cv_xargs_n_works=no ;;
   3238 esac
   3239 fi ;;
   3240 esac
   3241 fi
   3242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   3243 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
   3244 if test "$am_cv_xargs_n_works" = yes
   3245 then :
   3246   am__xargs_n='xargs -n'
   3247 else case e in #(
   3248   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   3249  ;;
   3250 esac
   3251 fi
   3252 
   3253 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3254   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3255   # is not polluted with repeated "-I."
   3256   am__isrc=' -I$(srcdir)'
   3257   # test to see if srcdir already configured
   3258   if test -f $srcdir/config.status; then
   3259     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3260   fi
   3261 fi
   3262 
   3263 # test whether we have cygpath
   3264 if test -z "$CYGPATH_W"; then
   3265   if (cygpath --version) >/dev/null 2>/dev/null; then
   3266     CYGPATH_W='cygpath -w'
   3267   else
   3268     CYGPATH_W=echo
   3269   fi
   3270 fi
   3271 
   3272 
   3273 # Define the identity of the package.
   3274  PACKAGE='smproxy'
   3275  VERSION='1.0.8'
   3276 
   3277 
   3278 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3279 
   3280 
   3281 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3282 
   3283 # Some tools Automake needs.
   3284 
   3285 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3286 
   3287 
   3288 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3289 
   3290 
   3291 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3292 
   3293 
   3294 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3295 
   3296 
   3297 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3298 
   3299 # For better backward compatibility.  To be removed once Automake 1.9.x
   3300 # dies out for good.  For more background, see:
   3301 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3302 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3303 mkdir_p='$(MKDIR_P)'
   3304 
   3305 # We need awk for the "check" target (and possibly the TAP driver).  The
   3306 # system "awk" is bad on some platforms.
   3307 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3308 # in the wild :-(  We should find a proper way to deprecate it ...
   3309 AMTAR='$${TAR-tar}'
   3310 
   3311 
   3312 # We'll loop over all known methods to create a tar archive until one works.
   3313 _am_tools='gnutar  pax cpio none'
   3314 
   3315 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3316 
   3317 
   3318 
   3319 
   3320 
   3321 # Variables for tags utilities; see am/tags.am
   3322 if test -z "$CTAGS"; then
   3323   CTAGS=ctags
   3324 fi
   3325 
   3326 if test -z "$ETAGS"; then
   3327   ETAGS=etags
   3328 fi
   3329 
   3330 if test -z "$CSCOPE"; then
   3331   CSCOPE=cscope
   3332 fi
   3333 
   3334 
   3335 
   3336 
   3337 
   3338 
   3339 
   3340 
   3341 # Set common system defines for POSIX extensions, such as _GNU_SOURCE
   3342 # Must be called before any macros that run the compiler (like
   3343 # AC_PROG_LIBTOOL or XORG_DEFAULT_OPTIONS) to avoid autoconf errors.
   3344 
   3345 
   3346 
   3347 
   3348 
   3349 
   3350 
   3351 
   3352 
   3353 DEPDIR="${am__leading_dot}deps"
   3354 
   3355 ac_config_commands="$ac_config_commands depfiles"
   3356 
   3357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3358 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3359 cat > confinc.mk << 'END'
   3360 am__doit:
   3361 	@echo this is the am__doit target >confinc.out
   3362 .PHONY: am__doit
   3363 END
   3364 am__include="#"
   3365 am__quote=
   3366 # BSD make does it like this.
   3367 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3368 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3369 echo 'include confinc.mk # ignored' > confmf.GNU
   3370 _am_result=no
   3371 for s in GNU BSD; do
   3372   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3373    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3374    ac_status=$?
   3375    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3376    (exit $ac_status); }
   3377   case $?:`cat confinc.out 2>/dev/null` in #(
   3378   '0:this is the am__doit target') :
   3379     case $s in #(
   3380   BSD) :
   3381     am__include='.include' am__quote='"' ;; #(
   3382   *) :
   3383     am__include='include' am__quote='' ;;
   3384 esac ;; #(
   3385   *) :
   3386      ;;
   3387 esac
   3388   if test "$am__include" != "#"; then
   3389     _am_result="yes ($s style)"
   3390     break
   3391   fi
   3392 done
   3393 rm -f confinc.* confmf.*
   3394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3395 printf "%s\n" "${_am_result}" >&6; }
   3396 
   3397 # Check whether --enable-dependency-tracking was given.
   3398 if test ${enable_dependency_tracking+y}
   3399 then :
   3400   enableval=$enable_dependency_tracking;
   3401 fi
   3402 
   3403 if test "x$enable_dependency_tracking" != xno; then
   3404   am_depcomp="$ac_aux_dir/depcomp"
   3405   AMDEPBACKSLASH='\'
   3406   am__nodep='_no'
   3407 fi
   3408  if test "x$enable_dependency_tracking" != xno; then
   3409   AMDEP_TRUE=
   3410   AMDEP_FALSE='#'
   3411 else
   3412   AMDEP_TRUE='#'
   3413   AMDEP_FALSE=
   3414 fi
   3415 
   3416 
   3417 ac_ext=c
   3418 ac_cpp='$CPP $CPPFLAGS'
   3419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3422 if test -n "$ac_tool_prefix"; then
   3423   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3424 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3426 printf %s "checking for $ac_word... " >&6; }
   3427 if test ${ac_cv_prog_CC+y}
   3428 then :
   3429   printf %s "(cached) " >&6
   3430 else case e in #(
   3431   e) if test -n "$CC"; then
   3432   ac_cv_prog_CC="$CC" # Let the user override the test.
   3433 else
   3434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3435 for as_dir in $PATH
   3436 do
   3437   IFS=$as_save_IFS
   3438   case $as_dir in #(((
   3439     '') as_dir=./ ;;
   3440     */) ;;
   3441     *) as_dir=$as_dir/ ;;
   3442   esac
   3443     for ac_exec_ext in '' $ac_executable_extensions; do
   3444   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3445     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3446     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3447     break 2
   3448   fi
   3449 done
   3450   done
   3451 IFS=$as_save_IFS
   3452 
   3453 fi ;;
   3454 esac
   3455 fi
   3456 CC=$ac_cv_prog_CC
   3457 if test -n "$CC"; then
   3458   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3459 printf "%s\n" "$CC" >&6; }
   3460 else
   3461   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3462 printf "%s\n" "no" >&6; }
   3463 fi
   3464 
   3465 
   3466 fi
   3467 if test -z "$ac_cv_prog_CC"; then
   3468   ac_ct_CC=$CC
   3469   # Extract the first word of "gcc", so it can be a program name with args.
   3470 set dummy gcc; ac_word=$2
   3471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3472 printf %s "checking for $ac_word... " >&6; }
   3473 if test ${ac_cv_prog_ac_ct_CC+y}
   3474 then :
   3475   printf %s "(cached) " >&6
   3476 else case e in #(
   3477   e) if test -n "$ac_ct_CC"; then
   3478   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3479 else
   3480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3481 for as_dir in $PATH
   3482 do
   3483   IFS=$as_save_IFS
   3484   case $as_dir in #(((
   3485     '') as_dir=./ ;;
   3486     */) ;;
   3487     *) as_dir=$as_dir/ ;;
   3488   esac
   3489     for ac_exec_ext in '' $ac_executable_extensions; do
   3490   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3491     ac_cv_prog_ac_ct_CC="gcc"
   3492     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3493     break 2
   3494   fi
   3495 done
   3496   done
   3497 IFS=$as_save_IFS
   3498 
   3499 fi ;;
   3500 esac
   3501 fi
   3502 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3503 if test -n "$ac_ct_CC"; then
   3504   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3505 printf "%s\n" "$ac_ct_CC" >&6; }
   3506 else
   3507   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3508 printf "%s\n" "no" >&6; }
   3509 fi
   3510 
   3511   if test "x$ac_ct_CC" = x; then
   3512     CC=""
   3513   else
   3514     case $cross_compiling:$ac_tool_warned in
   3515 yes:)
   3516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3517 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3518 ac_tool_warned=yes ;;
   3519 esac
   3520     CC=$ac_ct_CC
   3521   fi
   3522 else
   3523   CC="$ac_cv_prog_CC"
   3524 fi
   3525 
   3526 if test -z "$CC"; then
   3527           if test -n "$ac_tool_prefix"; then
   3528     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3529 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3531 printf %s "checking for $ac_word... " >&6; }
   3532 if test ${ac_cv_prog_CC+y}
   3533 then :
   3534   printf %s "(cached) " >&6
   3535 else case e in #(
   3536   e) if test -n "$CC"; then
   3537   ac_cv_prog_CC="$CC" # Let the user override the test.
   3538 else
   3539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3540 for as_dir in $PATH
   3541 do
   3542   IFS=$as_save_IFS
   3543   case $as_dir in #(((
   3544     '') as_dir=./ ;;
   3545     */) ;;
   3546     *) as_dir=$as_dir/ ;;
   3547   esac
   3548     for ac_exec_ext in '' $ac_executable_extensions; do
   3549   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3550     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3551     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3552     break 2
   3553   fi
   3554 done
   3555   done
   3556 IFS=$as_save_IFS
   3557 
   3558 fi ;;
   3559 esac
   3560 fi
   3561 CC=$ac_cv_prog_CC
   3562 if test -n "$CC"; then
   3563   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3564 printf "%s\n" "$CC" >&6; }
   3565 else
   3566   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3567 printf "%s\n" "no" >&6; }
   3568 fi
   3569 
   3570 
   3571   fi
   3572 fi
   3573 if test -z "$CC"; then
   3574   # Extract the first word of "cc", so it can be a program name with args.
   3575 set dummy cc; ac_word=$2
   3576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3577 printf %s "checking for $ac_word... " >&6; }
   3578 if test ${ac_cv_prog_CC+y}
   3579 then :
   3580   printf %s "(cached) " >&6
   3581 else case e in #(
   3582   e) if test -n "$CC"; then
   3583   ac_cv_prog_CC="$CC" # Let the user override the test.
   3584 else
   3585   ac_prog_rejected=no
   3586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3587 for as_dir in $PATH
   3588 do
   3589   IFS=$as_save_IFS
   3590   case $as_dir in #(((
   3591     '') as_dir=./ ;;
   3592     */) ;;
   3593     *) as_dir=$as_dir/ ;;
   3594   esac
   3595     for ac_exec_ext in '' $ac_executable_extensions; do
   3596   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3597     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3598        ac_prog_rejected=yes
   3599        continue
   3600      fi
   3601     ac_cv_prog_CC="cc"
   3602     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3603     break 2
   3604   fi
   3605 done
   3606   done
   3607 IFS=$as_save_IFS
   3608 
   3609 if test $ac_prog_rejected = yes; then
   3610   # We found a bogon in the path, so make sure we never use it.
   3611   set dummy $ac_cv_prog_CC
   3612   shift
   3613   if test $# != 0; then
   3614     # We chose a different compiler from the bogus one.
   3615     # However, it has the same basename, so the bogon will be chosen
   3616     # first if we set CC to just the basename; use the full file name.
   3617     shift
   3618     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3619   fi
   3620 fi
   3621 fi ;;
   3622 esac
   3623 fi
   3624 CC=$ac_cv_prog_CC
   3625 if test -n "$CC"; then
   3626   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3627 printf "%s\n" "$CC" >&6; }
   3628 else
   3629   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3630 printf "%s\n" "no" >&6; }
   3631 fi
   3632 
   3633 
   3634 fi
   3635 if test -z "$CC"; then
   3636   if test -n "$ac_tool_prefix"; then
   3637   for ac_prog in cl.exe
   3638   do
   3639     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3640 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3642 printf %s "checking for $ac_word... " >&6; }
   3643 if test ${ac_cv_prog_CC+y}
   3644 then :
   3645   printf %s "(cached) " >&6
   3646 else case e in #(
   3647   e) if test -n "$CC"; then
   3648   ac_cv_prog_CC="$CC" # Let the user override the test.
   3649 else
   3650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3651 for as_dir in $PATH
   3652 do
   3653   IFS=$as_save_IFS
   3654   case $as_dir in #(((
   3655     '') as_dir=./ ;;
   3656     */) ;;
   3657     *) as_dir=$as_dir/ ;;
   3658   esac
   3659     for ac_exec_ext in '' $ac_executable_extensions; do
   3660   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3661     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3662     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3663     break 2
   3664   fi
   3665 done
   3666   done
   3667 IFS=$as_save_IFS
   3668 
   3669 fi ;;
   3670 esac
   3671 fi
   3672 CC=$ac_cv_prog_CC
   3673 if test -n "$CC"; then
   3674   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3675 printf "%s\n" "$CC" >&6; }
   3676 else
   3677   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3678 printf "%s\n" "no" >&6; }
   3679 fi
   3680 
   3681 
   3682     test -n "$CC" && break
   3683   done
   3684 fi
   3685 if test -z "$CC"; then
   3686   ac_ct_CC=$CC
   3687   for ac_prog in cl.exe
   3688 do
   3689   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3690 set dummy $ac_prog; ac_word=$2
   3691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3692 printf %s "checking for $ac_word... " >&6; }
   3693 if test ${ac_cv_prog_ac_ct_CC+y}
   3694 then :
   3695   printf %s "(cached) " >&6
   3696 else case e in #(
   3697   e) if test -n "$ac_ct_CC"; then
   3698   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3699 else
   3700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3701 for as_dir in $PATH
   3702 do
   3703   IFS=$as_save_IFS
   3704   case $as_dir in #(((
   3705     '') as_dir=./ ;;
   3706     */) ;;
   3707     *) as_dir=$as_dir/ ;;
   3708   esac
   3709     for ac_exec_ext in '' $ac_executable_extensions; do
   3710   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3711     ac_cv_prog_ac_ct_CC="$ac_prog"
   3712     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3713     break 2
   3714   fi
   3715 done
   3716   done
   3717 IFS=$as_save_IFS
   3718 
   3719 fi ;;
   3720 esac
   3721 fi
   3722 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3723 if test -n "$ac_ct_CC"; then
   3724   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3725 printf "%s\n" "$ac_ct_CC" >&6; }
   3726 else
   3727   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3728 printf "%s\n" "no" >&6; }
   3729 fi
   3730 
   3731 
   3732   test -n "$ac_ct_CC" && break
   3733 done
   3734 
   3735   if test "x$ac_ct_CC" = x; then
   3736     CC=""
   3737   else
   3738     case $cross_compiling:$ac_tool_warned in
   3739 yes:)
   3740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3741 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3742 ac_tool_warned=yes ;;
   3743 esac
   3744     CC=$ac_ct_CC
   3745   fi
   3746 fi
   3747 
   3748 fi
   3749 if test -z "$CC"; then
   3750   if test -n "$ac_tool_prefix"; then
   3751   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3752 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3754 printf %s "checking for $ac_word... " >&6; }
   3755 if test ${ac_cv_prog_CC+y}
   3756 then :
   3757   printf %s "(cached) " >&6
   3758 else case e in #(
   3759   e) if test -n "$CC"; then
   3760   ac_cv_prog_CC="$CC" # Let the user override the test.
   3761 else
   3762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3763 for as_dir in $PATH
   3764 do
   3765   IFS=$as_save_IFS
   3766   case $as_dir in #(((
   3767     '') as_dir=./ ;;
   3768     */) ;;
   3769     *) as_dir=$as_dir/ ;;
   3770   esac
   3771     for ac_exec_ext in '' $ac_executable_extensions; do
   3772   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3773     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3774     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3775     break 2
   3776   fi
   3777 done
   3778   done
   3779 IFS=$as_save_IFS
   3780 
   3781 fi ;;
   3782 esac
   3783 fi
   3784 CC=$ac_cv_prog_CC
   3785 if test -n "$CC"; then
   3786   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3787 printf "%s\n" "$CC" >&6; }
   3788 else
   3789   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3790 printf "%s\n" "no" >&6; }
   3791 fi
   3792 
   3793 
   3794 fi
   3795 if test -z "$ac_cv_prog_CC"; then
   3796   ac_ct_CC=$CC
   3797   # Extract the first word of "clang", so it can be a program name with args.
   3798 set dummy clang; ac_word=$2
   3799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3800 printf %s "checking for $ac_word... " >&6; }
   3801 if test ${ac_cv_prog_ac_ct_CC+y}
   3802 then :
   3803   printf %s "(cached) " >&6
   3804 else case e in #(
   3805   e) if test -n "$ac_ct_CC"; then
   3806   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3807 else
   3808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3809 for as_dir in $PATH
   3810 do
   3811   IFS=$as_save_IFS
   3812   case $as_dir in #(((
   3813     '') as_dir=./ ;;
   3814     */) ;;
   3815     *) as_dir=$as_dir/ ;;
   3816   esac
   3817     for ac_exec_ext in '' $ac_executable_extensions; do
   3818   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3819     ac_cv_prog_ac_ct_CC="clang"
   3820     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3821     break 2
   3822   fi
   3823 done
   3824   done
   3825 IFS=$as_save_IFS
   3826 
   3827 fi ;;
   3828 esac
   3829 fi
   3830 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3831 if test -n "$ac_ct_CC"; then
   3832   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3833 printf "%s\n" "$ac_ct_CC" >&6; }
   3834 else
   3835   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3836 printf "%s\n" "no" >&6; }
   3837 fi
   3838 
   3839   if test "x$ac_ct_CC" = x; then
   3840     CC=""
   3841   else
   3842     case $cross_compiling:$ac_tool_warned in
   3843 yes:)
   3844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3845 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3846 ac_tool_warned=yes ;;
   3847 esac
   3848     CC=$ac_ct_CC
   3849   fi
   3850 else
   3851   CC="$ac_cv_prog_CC"
   3852 fi
   3853 
   3854 fi
   3855 
   3856 
   3857 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3858 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3859 as_fn_error $? "no acceptable C compiler found in \$PATH
   3860 See 'config.log' for more details" "$LINENO" 5; }
   3861 
   3862 # Provide some information about the compiler.
   3863 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3864 set X $ac_compile
   3865 ac_compiler=$2
   3866 for ac_option in --version -v -V -qversion -version; do
   3867   { { ac_try="$ac_compiler $ac_option >&5"
   3868 case "(($ac_try" in
   3869   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3870   *) ac_try_echo=$ac_try;;
   3871 esac
   3872 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3873 printf "%s\n" "$ac_try_echo"; } >&5
   3874   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3875   ac_status=$?
   3876   if test -s conftest.err; then
   3877     sed '10a\
   3878 ... rest of stderr output deleted ...
   3879          10q' conftest.err >conftest.er1
   3880     cat conftest.er1 >&5
   3881   fi
   3882   rm -f conftest.er1 conftest.err
   3883   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3884   test $ac_status = 0; }
   3885 done
   3886 
   3887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3888 /* end confdefs.h.  */
   3889 
   3890 int
   3891 main (void)
   3892 {
   3893 
   3894   ;
   3895   return 0;
   3896 }
   3897 _ACEOF
   3898 ac_clean_files_save=$ac_clean_files
   3899 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3900 # Try to create an executable without -o first, disregard a.out.
   3901 # It will help us diagnose broken compilers, and finding out an intuition
   3902 # of exeext.
   3903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3904 printf %s "checking whether the C compiler works... " >&6; }
   3905 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3906 
   3907 # The possible output files:
   3908 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3909 
   3910 ac_rmfiles=
   3911 for ac_file in $ac_files
   3912 do
   3913   case $ac_file in
   3914     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3915     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3916   esac
   3917 done
   3918 rm -f $ac_rmfiles
   3919 
   3920 if { { ac_try="$ac_link_default"
   3921 case "(($ac_try" in
   3922   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3923   *) ac_try_echo=$ac_try;;
   3924 esac
   3925 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3926 printf "%s\n" "$ac_try_echo"; } >&5
   3927   (eval "$ac_link_default") 2>&5
   3928   ac_status=$?
   3929   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3930   test $ac_status = 0; }
   3931 then :
   3932   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   3933 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   3934 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3935 # so that the user can short-circuit this test for compilers unknown to
   3936 # Autoconf.
   3937 for ac_file in $ac_files ''
   3938 do
   3939   test -f "$ac_file" || continue
   3940   case $ac_file in
   3941     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3942 	;;
   3943     [ab].out )
   3944 	# We found the default executable, but exeext='' is most
   3945 	# certainly right.
   3946 	break;;
   3947     *.* )
   3948 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3949 	then :; else
   3950 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3951 	fi
   3952 	# We set ac_cv_exeext here because the later test for it is not
   3953 	# safe: cross compilers may not add the suffix if given an '-o'
   3954 	# argument, so we may need to know it at that point already.
   3955 	# Even if this section looks crufty: it has the advantage of
   3956 	# actually working.
   3957 	break;;
   3958     * )
   3959 	break;;
   3960   esac
   3961 done
   3962 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3963 
   3964 else case e in #(
   3965   e) ac_file='' ;;
   3966 esac
   3967 fi
   3968 if test -z "$ac_file"
   3969 then :
   3970   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3971 printf "%s\n" "no" >&6; }
   3972 printf "%s\n" "$as_me: failed program was:" >&5
   3973 sed 's/^/| /' conftest.$ac_ext >&5
   3974 
   3975 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3976 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3977 as_fn_error 77 "C compiler cannot create executables
   3978 See 'config.log' for more details" "$LINENO" 5; }
   3979 else case e in #(
   3980   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3981 printf "%s\n" "yes" >&6; } ;;
   3982 esac
   3983 fi
   3984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3985 printf %s "checking for C compiler default output file name... " >&6; }
   3986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3987 printf "%s\n" "$ac_file" >&6; }
   3988 ac_exeext=$ac_cv_exeext
   3989 
   3990 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3991 ac_clean_files=$ac_clean_files_save
   3992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3993 printf %s "checking for suffix of executables... " >&6; }
   3994 if { { ac_try="$ac_link"
   3995 case "(($ac_try" in
   3996   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3997   *) ac_try_echo=$ac_try;;
   3998 esac
   3999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4000 printf "%s\n" "$ac_try_echo"; } >&5
   4001   (eval "$ac_link") 2>&5
   4002   ac_status=$?
   4003   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4004   test $ac_status = 0; }
   4005 then :
   4006   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   4007 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   4008 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   4009 # 'rm'.
   4010 for ac_file in conftest.exe conftest conftest.*; do
   4011   test -f "$ac_file" || continue
   4012   case $ac_file in
   4013     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4014     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4015 	  break;;
   4016     * ) break;;
   4017   esac
   4018 done
   4019 else case e in #(
   4020   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4021 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4022 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4023 See 'config.log' for more details" "$LINENO" 5; } ;;
   4024 esac
   4025 fi
   4026 rm -f conftest conftest$ac_cv_exeext
   4027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4028 printf "%s\n" "$ac_cv_exeext" >&6; }
   4029 
   4030 rm -f conftest.$ac_ext
   4031 EXEEXT=$ac_cv_exeext
   4032 ac_exeext=$EXEEXT
   4033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4034 /* end confdefs.h.  */
   4035 #include <stdio.h>
   4036 int
   4037 main (void)
   4038 {
   4039 FILE *f = fopen ("conftest.out", "w");
   4040  if (!f)
   4041   return 1;
   4042  return ferror (f) || fclose (f) != 0;
   4043 
   4044   ;
   4045   return 0;
   4046 }
   4047 _ACEOF
   4048 ac_clean_files="$ac_clean_files conftest.out"
   4049 # Check that the compiler produces executables we can run.  If not, either
   4050 # the compiler is broken, or we cross compile.
   4051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4052 printf %s "checking whether we are cross compiling... " >&6; }
   4053 if test "$cross_compiling" != yes; then
   4054   { { ac_try="$ac_link"
   4055 case "(($ac_try" in
   4056   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4057   *) ac_try_echo=$ac_try;;
   4058 esac
   4059 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4060 printf "%s\n" "$ac_try_echo"; } >&5
   4061   (eval "$ac_link") 2>&5
   4062   ac_status=$?
   4063   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4064   test $ac_status = 0; }
   4065   if { ac_try='./conftest$ac_cv_exeext'
   4066   { { case "(($ac_try" in
   4067   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4068   *) ac_try_echo=$ac_try;;
   4069 esac
   4070 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4071 printf "%s\n" "$ac_try_echo"; } >&5
   4072   (eval "$ac_try") 2>&5
   4073   ac_status=$?
   4074   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4075   test $ac_status = 0; }; }; then
   4076     cross_compiling=no
   4077   else
   4078     if test "$cross_compiling" = maybe; then
   4079 	cross_compiling=yes
   4080     else
   4081 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4082 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4083 as_fn_error 77 "cannot run C compiled programs.
   4084 If you meant to cross compile, use '--host'.
   4085 See 'config.log' for more details" "$LINENO" 5; }
   4086     fi
   4087   fi
   4088 fi
   4089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4090 printf "%s\n" "$cross_compiling" >&6; }
   4091 
   4092 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   4093   conftest.o conftest.obj conftest.out
   4094 ac_clean_files=$ac_clean_files_save
   4095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4096 printf %s "checking for suffix of object files... " >&6; }
   4097 if test ${ac_cv_objext+y}
   4098 then :
   4099   printf %s "(cached) " >&6
   4100 else case e in #(
   4101   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4102 /* end confdefs.h.  */
   4103 
   4104 int
   4105 main (void)
   4106 {
   4107 
   4108   ;
   4109   return 0;
   4110 }
   4111 _ACEOF
   4112 rm -f conftest.o conftest.obj
   4113 if { { ac_try="$ac_compile"
   4114 case "(($ac_try" in
   4115   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4116   *) ac_try_echo=$ac_try;;
   4117 esac
   4118 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4119 printf "%s\n" "$ac_try_echo"; } >&5
   4120   (eval "$ac_compile") 2>&5
   4121   ac_status=$?
   4122   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4123   test $ac_status = 0; }
   4124 then :
   4125   for ac_file in conftest.o conftest.obj conftest.*; do
   4126   test -f "$ac_file" || continue;
   4127   case $ac_file in
   4128     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4129     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4130        break;;
   4131   esac
   4132 done
   4133 else case e in #(
   4134   e) printf "%s\n" "$as_me: failed program was:" >&5
   4135 sed 's/^/| /' conftest.$ac_ext >&5
   4136 
   4137 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4138 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4139 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4140 See 'config.log' for more details" "$LINENO" 5; } ;;
   4141 esac
   4142 fi
   4143 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   4144 esac
   4145 fi
   4146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4147 printf "%s\n" "$ac_cv_objext" >&6; }
   4148 OBJEXT=$ac_cv_objext
   4149 ac_objext=$OBJEXT
   4150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4151 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4152 if test ${ac_cv_c_compiler_gnu+y}
   4153 then :
   4154   printf %s "(cached) " >&6
   4155 else case e in #(
   4156   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4157 /* end confdefs.h.  */
   4158 
   4159 int
   4160 main (void)
   4161 {
   4162 #ifndef __GNUC__
   4163        choke me
   4164 #endif
   4165 
   4166   ;
   4167   return 0;
   4168 }
   4169 _ACEOF
   4170 if ac_fn_c_try_compile "$LINENO"
   4171 then :
   4172   ac_compiler_gnu=yes
   4173 else case e in #(
   4174   e) ac_compiler_gnu=no ;;
   4175 esac
   4176 fi
   4177 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4178 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4179  ;;
   4180 esac
   4181 fi
   4182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4183 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4185 
   4186 if test $ac_compiler_gnu = yes; then
   4187   GCC=yes
   4188 else
   4189   GCC=
   4190 fi
   4191 ac_test_CFLAGS=${CFLAGS+y}
   4192 ac_save_CFLAGS=$CFLAGS
   4193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4194 printf %s "checking whether $CC accepts -g... " >&6; }
   4195 if test ${ac_cv_prog_cc_g+y}
   4196 then :
   4197   printf %s "(cached) " >&6
   4198 else case e in #(
   4199   e) ac_save_c_werror_flag=$ac_c_werror_flag
   4200    ac_c_werror_flag=yes
   4201    ac_cv_prog_cc_g=no
   4202    CFLAGS="-g"
   4203    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4204 /* end confdefs.h.  */
   4205 
   4206 int
   4207 main (void)
   4208 {
   4209 
   4210   ;
   4211   return 0;
   4212 }
   4213 _ACEOF
   4214 if ac_fn_c_try_compile "$LINENO"
   4215 then :
   4216   ac_cv_prog_cc_g=yes
   4217 else case e in #(
   4218   e) CFLAGS=""
   4219       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4220 /* end confdefs.h.  */
   4221 
   4222 int
   4223 main (void)
   4224 {
   4225 
   4226   ;
   4227   return 0;
   4228 }
   4229 _ACEOF
   4230 if ac_fn_c_try_compile "$LINENO"
   4231 then :
   4232 
   4233 else case e in #(
   4234   e) ac_c_werror_flag=$ac_save_c_werror_flag
   4235 	 CFLAGS="-g"
   4236 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4237 /* end confdefs.h.  */
   4238 
   4239 int
   4240 main (void)
   4241 {
   4242 
   4243   ;
   4244   return 0;
   4245 }
   4246 _ACEOF
   4247 if ac_fn_c_try_compile "$LINENO"
   4248 then :
   4249   ac_cv_prog_cc_g=yes
   4250 fi
   4251 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4252 esac
   4253 fi
   4254 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4255 esac
   4256 fi
   4257 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4258    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   4259 esac
   4260 fi
   4261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4262 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4263 if test $ac_test_CFLAGS; then
   4264   CFLAGS=$ac_save_CFLAGS
   4265 elif test $ac_cv_prog_cc_g = yes; then
   4266   if test "$GCC" = yes; then
   4267     CFLAGS="-g -O2"
   4268   else
   4269     CFLAGS="-g"
   4270   fi
   4271 else
   4272   if test "$GCC" = yes; then
   4273     CFLAGS="-O2"
   4274   else
   4275     CFLAGS=
   4276   fi
   4277 fi
   4278 ac_prog_cc_stdc=no
   4279 if test x$ac_prog_cc_stdc = xno
   4280 then :
   4281   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4282 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4283 if test ${ac_cv_prog_cc_c11+y}
   4284 then :
   4285   printf %s "(cached) " >&6
   4286 else case e in #(
   4287   e) ac_cv_prog_cc_c11=no
   4288 ac_save_CC=$CC
   4289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4290 /* end confdefs.h.  */
   4291 $ac_c_conftest_c11_program
   4292 _ACEOF
   4293 for ac_arg in '' -std=gnu11
   4294 do
   4295   CC="$ac_save_CC $ac_arg"
   4296   if ac_fn_c_try_compile "$LINENO"
   4297 then :
   4298   ac_cv_prog_cc_c11=$ac_arg
   4299 fi
   4300 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4301   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4302 done
   4303 rm -f conftest.$ac_ext
   4304 CC=$ac_save_CC ;;
   4305 esac
   4306 fi
   4307 
   4308 if test "x$ac_cv_prog_cc_c11" = xno
   4309 then :
   4310   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4311 printf "%s\n" "unsupported" >&6; }
   4312 else case e in #(
   4313   e) if test "x$ac_cv_prog_cc_c11" = x
   4314 then :
   4315   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4316 printf "%s\n" "none needed" >&6; }
   4317 else case e in #(
   4318   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4319 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4320      CC="$CC $ac_cv_prog_cc_c11" ;;
   4321 esac
   4322 fi
   4323   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4324   ac_prog_cc_stdc=c11 ;;
   4325 esac
   4326 fi
   4327 fi
   4328 if test x$ac_prog_cc_stdc = xno
   4329 then :
   4330   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4331 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4332 if test ${ac_cv_prog_cc_c99+y}
   4333 then :
   4334   printf %s "(cached) " >&6
   4335 else case e in #(
   4336   e) ac_cv_prog_cc_c99=no
   4337 ac_save_CC=$CC
   4338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4339 /* end confdefs.h.  */
   4340 $ac_c_conftest_c99_program
   4341 _ACEOF
   4342 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4343 do
   4344   CC="$ac_save_CC $ac_arg"
   4345   if ac_fn_c_try_compile "$LINENO"
   4346 then :
   4347   ac_cv_prog_cc_c99=$ac_arg
   4348 fi
   4349 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4350   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4351 done
   4352 rm -f conftest.$ac_ext
   4353 CC=$ac_save_CC ;;
   4354 esac
   4355 fi
   4356 
   4357 if test "x$ac_cv_prog_cc_c99" = xno
   4358 then :
   4359   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4360 printf "%s\n" "unsupported" >&6; }
   4361 else case e in #(
   4362   e) if test "x$ac_cv_prog_cc_c99" = x
   4363 then :
   4364   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4365 printf "%s\n" "none needed" >&6; }
   4366 else case e in #(
   4367   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4368 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4369      CC="$CC $ac_cv_prog_cc_c99" ;;
   4370 esac
   4371 fi
   4372   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4373   ac_prog_cc_stdc=c99 ;;
   4374 esac
   4375 fi
   4376 fi
   4377 if test x$ac_prog_cc_stdc = xno
   4378 then :
   4379   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4380 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4381 if test ${ac_cv_prog_cc_c89+y}
   4382 then :
   4383   printf %s "(cached) " >&6
   4384 else case e in #(
   4385   e) ac_cv_prog_cc_c89=no
   4386 ac_save_CC=$CC
   4387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4388 /* end confdefs.h.  */
   4389 $ac_c_conftest_c89_program
   4390 _ACEOF
   4391 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4392 do
   4393   CC="$ac_save_CC $ac_arg"
   4394   if ac_fn_c_try_compile "$LINENO"
   4395 then :
   4396   ac_cv_prog_cc_c89=$ac_arg
   4397 fi
   4398 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4399   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4400 done
   4401 rm -f conftest.$ac_ext
   4402 CC=$ac_save_CC ;;
   4403 esac
   4404 fi
   4405 
   4406 if test "x$ac_cv_prog_cc_c89" = xno
   4407 then :
   4408   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4409 printf "%s\n" "unsupported" >&6; }
   4410 else case e in #(
   4411   e) if test "x$ac_cv_prog_cc_c89" = x
   4412 then :
   4413   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4414 printf "%s\n" "none needed" >&6; }
   4415 else case e in #(
   4416   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4417 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4418      CC="$CC $ac_cv_prog_cc_c89" ;;
   4419 esac
   4420 fi
   4421   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4422   ac_prog_cc_stdc=c89 ;;
   4423 esac
   4424 fi
   4425 fi
   4426 
   4427 ac_ext=c
   4428 ac_cpp='$CPP $CPPFLAGS'
   4429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4432 
   4433 
   4434   ac_ext=c
   4435 ac_cpp='$CPP $CPPFLAGS'
   4436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4440 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4441 if test ${am_cv_prog_cc_c_o+y}
   4442 then :
   4443   printf %s "(cached) " >&6
   4444 else case e in #(
   4445   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4446 /* end confdefs.h.  */
   4447 
   4448 int
   4449 main (void)
   4450 {
   4451 
   4452   ;
   4453   return 0;
   4454 }
   4455 _ACEOF
   4456   # Make sure it works both with $CC and with simple cc.
   4457   # Following AC_PROG_CC_C_O, we do the test twice because some
   4458   # compilers refuse to overwrite an existing .o file with -o,
   4459   # though they will create one.
   4460   am_cv_prog_cc_c_o=yes
   4461   for am_i in 1 2; do
   4462     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4463    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4464    ac_status=$?
   4465    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4466    (exit $ac_status); } \
   4467          && test -f conftest2.$ac_objext; then
   4468       : OK
   4469     else
   4470       am_cv_prog_cc_c_o=no
   4471       break
   4472     fi
   4473   done
   4474   rm -f core conftest*
   4475   unset am_i ;;
   4476 esac
   4477 fi
   4478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4479 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4480 if test "$am_cv_prog_cc_c_o" != yes; then
   4481    # Losing compiler, so override with the script.
   4482    # FIXME: It is wrong to rewrite CC.
   4483    # But if we don't then we get into trouble of one sort or another.
   4484    # A longer-term fix would be to have automake use am__CC in this case,
   4485    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4486    CC="$am_aux_dir/compile $CC"
   4487 fi
   4488 ac_ext=c
   4489 ac_cpp='$CPP $CPPFLAGS'
   4490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   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 thus:
   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 
   4626 ac_header= ac_cache=
   4627 for ac_item in $ac_header_c_list
   4628 do
   4629   if test $ac_cache; then
   4630     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4631     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4632       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4633     fi
   4634     ac_header= ac_cache=
   4635   elif test $ac_header; then
   4636     ac_cache=$ac_item
   4637   else
   4638     ac_header=$ac_item
   4639   fi
   4640 done
   4641 
   4642 
   4643 
   4644 
   4645 
   4646 
   4647 
   4648 
   4649 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4650 then :
   4651 
   4652 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4653 
   4654 fi
   4655 
   4656 
   4657 
   4658 
   4659 
   4660 
   4661   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   4662 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   4663 if test ${ac_cv_safe_to_define___extensions__+y}
   4664 then :
   4665   printf %s "(cached) " >&6
   4666 else case e in #(
   4667   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4668 /* end confdefs.h.  */
   4669 
   4670 #         define __EXTENSIONS__ 1
   4671           $ac_includes_default
   4672 int
   4673 main (void)
   4674 {
   4675 
   4676   ;
   4677   return 0;
   4678 }
   4679 _ACEOF
   4680 if ac_fn_c_try_compile "$LINENO"
   4681 then :
   4682   ac_cv_safe_to_define___extensions__=yes
   4683 else case e in #(
   4684   e) ac_cv_safe_to_define___extensions__=no ;;
   4685 esac
   4686 fi
   4687 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4688 esac
   4689 fi
   4690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   4691 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
   4692 
   4693   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
   4694 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
   4695 if test ${ac_cv_should_define__xopen_source+y}
   4696 then :
   4697   printf %s "(cached) " >&6
   4698 else case e in #(
   4699   e) ac_cv_should_define__xopen_source=no
   4700     if test $ac_cv_header_wchar_h = yes
   4701 then :
   4702   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4703 /* end confdefs.h.  */
   4704 
   4705           #include <wchar.h>
   4706           mbstate_t x;
   4707 int
   4708 main (void)
   4709 {
   4710 
   4711   ;
   4712   return 0;
   4713 }
   4714 _ACEOF
   4715 if ac_fn_c_try_compile "$LINENO"
   4716 then :
   4717 
   4718 else case e in #(
   4719   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4720 /* end confdefs.h.  */
   4721 
   4722             #define _XOPEN_SOURCE 500
   4723             #include <wchar.h>
   4724             mbstate_t x;
   4725 int
   4726 main (void)
   4727 {
   4728 
   4729   ;
   4730   return 0;
   4731 }
   4732 _ACEOF
   4733 if ac_fn_c_try_compile "$LINENO"
   4734 then :
   4735   ac_cv_should_define__xopen_source=yes
   4736 fi
   4737 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4738 esac
   4739 fi
   4740 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4741 fi ;;
   4742 esac
   4743 fi
   4744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
   4745 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
   4746 
   4747   printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
   4748 
   4749   printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
   4750 
   4751   printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
   4752 
   4753   printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
   4754 
   4755   printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
   4756 
   4757   printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
   4758 
   4759   printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4760 
   4761   printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
   4762 
   4763   printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
   4764 
   4765   printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
   4766 
   4767   printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h
   4768 
   4769   printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
   4770 
   4771   printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
   4772 
   4773   printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
   4774 
   4775   printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
   4776 
   4777   printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
   4778 
   4779   if test $ac_cv_header_minix_config_h = yes
   4780 then :
   4781   MINIX=yes
   4782     printf "%s\n" "#define _MINIX 1" >>confdefs.h
   4783 
   4784     printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
   4785 
   4786     printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4787 
   4788 else case e in #(
   4789   e) MINIX= ;;
   4790 esac
   4791 fi
   4792   if test $ac_cv_safe_to_define___extensions__ = yes
   4793 then :
   4794   printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
   4795 
   4796 fi
   4797   if test $ac_cv_should_define__xopen_source = yes
   4798 then :
   4799   printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   4800 
   4801 fi
   4802 
   4803 
   4804 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   4805 
   4806 
   4807 
   4808 
   4809 
   4810 
   4811 
   4812 
   4813 
   4814 
   4815 
   4816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4817 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4818 if test ${ac_cv_c_undeclared_builtin_options+y}
   4819 then :
   4820   printf %s "(cached) " >&6
   4821 else case e in #(
   4822   e) ac_save_CFLAGS=$CFLAGS
   4823    ac_cv_c_undeclared_builtin_options='cannot detect'
   4824    for ac_arg in '' -fno-builtin; do
   4825      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4826      # This test program should *not* compile successfully.
   4827      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4828 /* end confdefs.h.  */
   4829 
   4830 int
   4831 main (void)
   4832 {
   4833 (void) strchr;
   4834   ;
   4835   return 0;
   4836 }
   4837 _ACEOF
   4838 if ac_fn_c_try_compile "$LINENO"
   4839 then :
   4840 
   4841 else case e in #(
   4842   e) # This test program should compile successfully.
   4843         # No library function is consistently available on
   4844         # freestanding implementations, so test against a dummy
   4845         # declaration.  Include always-available headers on the
   4846         # off chance that they somehow elicit warnings.
   4847         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4848 /* end confdefs.h.  */
   4849 #include <float.h>
   4850 #include <limits.h>
   4851 #include <stdarg.h>
   4852 #include <stddef.h>
   4853 extern void ac_decl (int, char *);
   4854 
   4855 int
   4856 main (void)
   4857 {
   4858 (void) ac_decl (0, (char *) 0);
   4859   (void) ac_decl;
   4860 
   4861   ;
   4862   return 0;
   4863 }
   4864 _ACEOF
   4865 if ac_fn_c_try_compile "$LINENO"
   4866 then :
   4867   if test x"$ac_arg" = x
   4868 then :
   4869   ac_cv_c_undeclared_builtin_options='none needed'
   4870 else case e in #(
   4871   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   4872 esac
   4873 fi
   4874           break
   4875 fi
   4876 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4877 esac
   4878 fi
   4879 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4880     done
   4881     CFLAGS=$ac_save_CFLAGS
   4882    ;;
   4883 esac
   4884 fi
   4885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4886 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4887   case $ac_cv_c_undeclared_builtin_options in #(
   4888   'cannot detect') :
   4889     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4890 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4891 as_fn_error $? "cannot make $CC report undeclared builtins
   4892 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   4893   'none needed') :
   4894     ac_c_undeclared_builtin_options='' ;; #(
   4895   *) :
   4896     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4897 esac
   4898 
   4899 
   4900 
   4901 
   4902 
   4903 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4904 if test "x$ac_cv_have_decl___clang__" = xyes
   4905 then :
   4906   CLANGCC="yes"
   4907 else case e in #(
   4908   e) CLANGCC="no" ;;
   4909 esac
   4910 fi
   4911 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4912 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4913 then :
   4914   INTELCC="yes"
   4915 else case e in #(
   4916   e) INTELCC="no" ;;
   4917 esac
   4918 fi
   4919 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4920 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4921 then :
   4922   SUNCC="yes"
   4923 else case e in #(
   4924   e) SUNCC="no" ;;
   4925 esac
   4926 fi
   4927 
   4928 
   4929 
   4930 
   4931 
   4932 
   4933 
   4934 
   4935 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4936 	if test -n "$ac_tool_prefix"; then
   4937   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4938 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4940 printf %s "checking for $ac_word... " >&6; }
   4941 if test ${ac_cv_path_PKG_CONFIG+y}
   4942 then :
   4943   printf %s "(cached) " >&6
   4944 else case e in #(
   4945   e) case $PKG_CONFIG in
   4946   [\\/]* | ?:[\\/]*)
   4947   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4948   ;;
   4949   *)
   4950   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4951 for as_dir in $PATH
   4952 do
   4953   IFS=$as_save_IFS
   4954   case $as_dir in #(((
   4955     '') as_dir=./ ;;
   4956     */) ;;
   4957     *) as_dir=$as_dir/ ;;
   4958   esac
   4959     for ac_exec_ext in '' $ac_executable_extensions; do
   4960   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4961     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4962     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4963     break 2
   4964   fi
   4965 done
   4966   done
   4967 IFS=$as_save_IFS
   4968 
   4969   ;;
   4970 esac ;;
   4971 esac
   4972 fi
   4973 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4974 if test -n "$PKG_CONFIG"; then
   4975   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4976 printf "%s\n" "$PKG_CONFIG" >&6; }
   4977 else
   4978   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4979 printf "%s\n" "no" >&6; }
   4980 fi
   4981 
   4982 
   4983 fi
   4984 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4985   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4986   # Extract the first word of "pkg-config", so it can be a program name with args.
   4987 set dummy pkg-config; ac_word=$2
   4988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4989 printf %s "checking for $ac_word... " >&6; }
   4990 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4991 then :
   4992   printf %s "(cached) " >&6
   4993 else case e in #(
   4994   e) case $ac_pt_PKG_CONFIG in
   4995   [\\/]* | ?:[\\/]*)
   4996   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4997   ;;
   4998   *)
   4999   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5000 for as_dir in $PATH
   5001 do
   5002   IFS=$as_save_IFS
   5003   case $as_dir in #(((
   5004     '') as_dir=./ ;;
   5005     */) ;;
   5006     *) as_dir=$as_dir/ ;;
   5007   esac
   5008     for ac_exec_ext in '' $ac_executable_extensions; do
   5009   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5010     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   5011     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5012     break 2
   5013   fi
   5014 done
   5015   done
   5016 IFS=$as_save_IFS
   5017 
   5018   ;;
   5019 esac ;;
   5020 esac
   5021 fi
   5022 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   5023 if test -n "$ac_pt_PKG_CONFIG"; then
   5024   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   5025 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   5026 else
   5027   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5028 printf "%s\n" "no" >&6; }
   5029 fi
   5030 
   5031   if test "x$ac_pt_PKG_CONFIG" = x; then
   5032     PKG_CONFIG=""
   5033   else
   5034     case $cross_compiling:$ac_tool_warned in
   5035 yes:)
   5036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5037 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5038 ac_tool_warned=yes ;;
   5039 esac
   5040     PKG_CONFIG=$ac_pt_PKG_CONFIG
   5041   fi
   5042 else
   5043   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   5044 fi
   5045 
   5046 fi
   5047 if test -n "$PKG_CONFIG"; then
   5048 	_pkg_min_version=0.9.0
   5049 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   5050 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   5051 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   5052 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5053 printf "%s\n" "yes" >&6; }
   5054 	else
   5055 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5056 printf "%s\n" "no" >&6; }
   5057 		PKG_CONFIG=""
   5058 	fi
   5059 fi
   5060 
   5061 
   5062   # Make sure we can run config.sub.
   5063 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   5064   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   5065 
   5066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   5067 printf %s "checking build system type... " >&6; }
   5068 if test ${ac_cv_build+y}
   5069 then :
   5070   printf %s "(cached) " >&6
   5071 else case e in #(
   5072   e) ac_build_alias=$build_alias
   5073 test "x$ac_build_alias" = x &&
   5074   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   5075 test "x$ac_build_alias" = x &&
   5076   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   5077 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   5078   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   5079  ;;
   5080 esac
   5081 fi
   5082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   5083 printf "%s\n" "$ac_cv_build" >&6; }
   5084 case $ac_cv_build in
   5085 *-*-*) ;;
   5086 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   5087 esac
   5088 build=$ac_cv_build
   5089 ac_save_IFS=$IFS; IFS='-'
   5090 set x $ac_cv_build
   5091 shift
   5092 build_cpu=$1
   5093 build_vendor=$2
   5094 shift; shift
   5095 # Remember, the first character of IFS is used to create $*,
   5096 # except with old shells:
   5097 build_os=$*
   5098 IFS=$ac_save_IFS
   5099 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   5100 
   5101 
   5102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   5103 printf %s "checking host system type... " >&6; }
   5104 if test ${ac_cv_host+y}
   5105 then :
   5106   printf %s "(cached) " >&6
   5107 else case e in #(
   5108   e) if test "x$host_alias" = x; then
   5109   ac_cv_host=$ac_cv_build
   5110 else
   5111   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   5112     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   5113 fi
   5114  ;;
   5115 esac
   5116 fi
   5117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   5118 printf "%s\n" "$ac_cv_host" >&6; }
   5119 case $ac_cv_host in
   5120 *-*-*) ;;
   5121 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   5122 esac
   5123 host=$ac_cv_host
   5124 ac_save_IFS=$IFS; IFS='-'
   5125 set x $ac_cv_host
   5126 shift
   5127 host_cpu=$1
   5128 host_vendor=$2
   5129 shift; shift
   5130 # Remember, the first character of IFS is used to create $*,
   5131 # except with old shells:
   5132 host_os=$*
   5133 IFS=$ac_save_IFS
   5134 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   5135 
   5136 
   5137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5138 printf %s "checking for a sed that does not truncate output... " >&6; }
   5139 if test ${ac_cv_path_SED+y}
   5140 then :
   5141   printf %s "(cached) " >&6
   5142 else case e in #(
   5143   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5144      for ac_i in 1 2 3 4 5 6 7; do
   5145        ac_script="$ac_script$as_nl$ac_script"
   5146      done
   5147      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5148      { ac_script=; unset ac_script;}
   5149      if test -z "$SED"; then
   5150   ac_path_SED_found=false
   5151   # Loop through the user's path and test for each of PROGNAME-LIST
   5152   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5153 for as_dir in $PATH
   5154 do
   5155   IFS=$as_save_IFS
   5156   case $as_dir in #(((
   5157     '') as_dir=./ ;;
   5158     */) ;;
   5159     *) as_dir=$as_dir/ ;;
   5160   esac
   5161     for ac_prog in sed gsed
   5162    do
   5163     for ac_exec_ext in '' $ac_executable_extensions; do
   5164       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5165       as_fn_executable_p "$ac_path_SED" || continue
   5166 # Check for GNU ac_path_SED and select it if it is found.
   5167   # Check for GNU $ac_path_SED
   5168 case `"$ac_path_SED" --version 2>&1` in #(
   5169 *GNU*)
   5170   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5171 #(
   5172 *)
   5173   ac_count=0
   5174   printf %s 0123456789 >"conftest.in"
   5175   while :
   5176   do
   5177     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5178     mv "conftest.tmp" "conftest.in"
   5179     cp "conftest.in" "conftest.nl"
   5180     printf "%s\n" '' >> "conftest.nl"
   5181     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5182     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5183     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5184     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5185       # Best one so far, save it but keep looking for a better one
   5186       ac_cv_path_SED="$ac_path_SED"
   5187       ac_path_SED_max=$ac_count
   5188     fi
   5189     # 10*(2^10) chars as input seems more than enough
   5190     test $ac_count -gt 10 && break
   5191   done
   5192   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5193 esac
   5194 
   5195       $ac_path_SED_found && break 3
   5196     done
   5197   done
   5198   done
   5199 IFS=$as_save_IFS
   5200   if test -z "$ac_cv_path_SED"; then
   5201     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5202   fi
   5203 else
   5204   ac_cv_path_SED=$SED
   5205 fi
   5206  ;;
   5207 esac
   5208 fi
   5209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5210 printf "%s\n" "$ac_cv_path_SED" >&6; }
   5211  SED="$ac_cv_path_SED"
   5212   rm -f conftest.sed
   5213 
   5214 
   5215 
   5216 
   5217 
   5218 
   5219 # Check whether --enable-selective-werror was given.
   5220 if test ${enable_selective_werror+y}
   5221 then :
   5222   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   5223 else case e in #(
   5224   e) SELECTIVE_WERROR=yes ;;
   5225 esac
   5226 fi
   5227 
   5228 
   5229 
   5230 
   5231 
   5232 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5233 if test "x$SUNCC" = "xyes"; then
   5234     BASE_CFLAGS="-v"
   5235 else
   5236     BASE_CFLAGS=""
   5237 fi
   5238 
   5239 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5240 
   5241 
   5242 
   5243 
   5244 
   5245 
   5246 
   5247 
   5248 
   5249 
   5250 
   5251 
   5252 
   5253 xorg_testset_save_CFLAGS="$CFLAGS"
   5254 
   5255 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5256 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5257 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5258 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5259 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5260 then :
   5261   printf %s "(cached) " >&6
   5262 else case e in #(
   5263   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5264 /* end confdefs.h.  */
   5265 int i;
   5266 _ACEOF
   5267 if ac_fn_c_try_compile "$LINENO"
   5268 then :
   5269   xorg_cv_cc_flag_unknown_warning_option=yes
   5270 else case e in #(
   5271   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5272 esac
   5273 fi
   5274 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5275 esac
   5276 fi
   5277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5278 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5279 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5280 	CFLAGS="$xorg_testset_save_CFLAGS"
   5281 fi
   5282 
   5283 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5284 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5285 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5286 	fi
   5287 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5288 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5289 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5290 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5291 then :
   5292   printf %s "(cached) " >&6
   5293 else case e in #(
   5294   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5295 /* end confdefs.h.  */
   5296 int i;
   5297 _ACEOF
   5298 if ac_fn_c_try_compile "$LINENO"
   5299 then :
   5300   xorg_cv_cc_flag_unused_command_line_argument=yes
   5301 else case e in #(
   5302   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5303 esac
   5304 fi
   5305 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5306 esac
   5307 fi
   5308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5309 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5310 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5311 	CFLAGS="$xorg_testset_save_CFLAGS"
   5312 fi
   5313 
   5314 found="no"
   5315 
   5316 	if test $found = "no" ; then
   5317 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5318 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5319 		fi
   5320 
   5321 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5322 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5323 		fi
   5324 
   5325 		CFLAGS="$CFLAGS -Wall"
   5326 
   5327 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5328 printf %s "checking if $CC supports -Wall... " >&6; }
   5329 		cacheid=xorg_cv_cc_flag__Wall
   5330 		if eval test \${$cacheid+y}
   5331 then :
   5332   printf %s "(cached) " >&6
   5333 else case e in #(
   5334   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5335 /* end confdefs.h.  */
   5336 int i;
   5337 int
   5338 main (void)
   5339 {
   5340 
   5341   ;
   5342   return 0;
   5343 }
   5344 _ACEOF
   5345 if ac_fn_c_try_link "$LINENO"
   5346 then :
   5347   eval $cacheid=yes
   5348 else case e in #(
   5349   e) eval $cacheid=no ;;
   5350 esac
   5351 fi
   5352 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5353     conftest$ac_exeext conftest.$ac_ext ;;
   5354 esac
   5355 fi
   5356 
   5357 
   5358 		CFLAGS="$xorg_testset_save_CFLAGS"
   5359 
   5360 		eval supported=\$$cacheid
   5361 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5362 printf "%s\n" "$supported" >&6; }
   5363 		if test "$supported" = "yes" ; then
   5364 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5365 			found="yes"
   5366 		fi
   5367 	fi
   5368 
   5369 
   5370 
   5371 
   5372 
   5373 
   5374 
   5375 
   5376 
   5377 
   5378 
   5379 
   5380 
   5381 
   5382 
   5383 xorg_testset_save_CFLAGS="$CFLAGS"
   5384 
   5385 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5386 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5387 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5388 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5389 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5390 then :
   5391   printf %s "(cached) " >&6
   5392 else case e in #(
   5393   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5394 /* end confdefs.h.  */
   5395 int i;
   5396 _ACEOF
   5397 if ac_fn_c_try_compile "$LINENO"
   5398 then :
   5399   xorg_cv_cc_flag_unknown_warning_option=yes
   5400 else case e in #(
   5401   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5402 esac
   5403 fi
   5404 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5405 esac
   5406 fi
   5407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5408 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5409 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5410 	CFLAGS="$xorg_testset_save_CFLAGS"
   5411 fi
   5412 
   5413 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5414 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5415 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5416 	fi
   5417 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5418 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5419 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5420 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5421 then :
   5422   printf %s "(cached) " >&6
   5423 else case e in #(
   5424   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5425 /* end confdefs.h.  */
   5426 int i;
   5427 _ACEOF
   5428 if ac_fn_c_try_compile "$LINENO"
   5429 then :
   5430   xorg_cv_cc_flag_unused_command_line_argument=yes
   5431 else case e in #(
   5432   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5433 esac
   5434 fi
   5435 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5436 esac
   5437 fi
   5438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5439 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5440 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5441 	CFLAGS="$xorg_testset_save_CFLAGS"
   5442 fi
   5443 
   5444 found="no"
   5445 
   5446 	if test $found = "no" ; then
   5447 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5448 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5449 		fi
   5450 
   5451 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5452 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5453 		fi
   5454 
   5455 		CFLAGS="$CFLAGS -Wpointer-arith"
   5456 
   5457 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5458 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5459 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5460 		if eval test \${$cacheid+y}
   5461 then :
   5462   printf %s "(cached) " >&6
   5463 else case e in #(
   5464   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5465 /* end confdefs.h.  */
   5466 int i;
   5467 int
   5468 main (void)
   5469 {
   5470 
   5471   ;
   5472   return 0;
   5473 }
   5474 _ACEOF
   5475 if ac_fn_c_try_link "$LINENO"
   5476 then :
   5477   eval $cacheid=yes
   5478 else case e in #(
   5479   e) eval $cacheid=no ;;
   5480 esac
   5481 fi
   5482 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5483     conftest$ac_exeext conftest.$ac_ext ;;
   5484 esac
   5485 fi
   5486 
   5487 
   5488 		CFLAGS="$xorg_testset_save_CFLAGS"
   5489 
   5490 		eval supported=\$$cacheid
   5491 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5492 printf "%s\n" "$supported" >&6; }
   5493 		if test "$supported" = "yes" ; then
   5494 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5495 			found="yes"
   5496 		fi
   5497 	fi
   5498 
   5499 
   5500 
   5501 
   5502 
   5503 
   5504 
   5505 
   5506 
   5507 
   5508 
   5509 
   5510 
   5511 
   5512 
   5513 xorg_testset_save_CFLAGS="$CFLAGS"
   5514 
   5515 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5516 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5517 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5518 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5519 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5520 then :
   5521   printf %s "(cached) " >&6
   5522 else case e in #(
   5523   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5524 /* end confdefs.h.  */
   5525 int i;
   5526 _ACEOF
   5527 if ac_fn_c_try_compile "$LINENO"
   5528 then :
   5529   xorg_cv_cc_flag_unknown_warning_option=yes
   5530 else case e in #(
   5531   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5532 esac
   5533 fi
   5534 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5535 esac
   5536 fi
   5537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5538 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5539 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5540 	CFLAGS="$xorg_testset_save_CFLAGS"
   5541 fi
   5542 
   5543 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5544 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5545 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5546 	fi
   5547 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5548 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5549 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5550 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5551 then :
   5552   printf %s "(cached) " >&6
   5553 else case e in #(
   5554   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5555 /* end confdefs.h.  */
   5556 int i;
   5557 _ACEOF
   5558 if ac_fn_c_try_compile "$LINENO"
   5559 then :
   5560   xorg_cv_cc_flag_unused_command_line_argument=yes
   5561 else case e in #(
   5562   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5563 esac
   5564 fi
   5565 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5566 esac
   5567 fi
   5568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5569 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5570 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5571 	CFLAGS="$xorg_testset_save_CFLAGS"
   5572 fi
   5573 
   5574 found="no"
   5575 
   5576 	if test $found = "no" ; then
   5577 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5578 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5579 		fi
   5580 
   5581 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5582 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5583 		fi
   5584 
   5585 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5586 
   5587 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5588 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5589 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5590 		if eval test \${$cacheid+y}
   5591 then :
   5592   printf %s "(cached) " >&6
   5593 else case e in #(
   5594   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5595 /* end confdefs.h.  */
   5596 int i;
   5597 int
   5598 main (void)
   5599 {
   5600 
   5601   ;
   5602   return 0;
   5603 }
   5604 _ACEOF
   5605 if ac_fn_c_try_link "$LINENO"
   5606 then :
   5607   eval $cacheid=yes
   5608 else case e in #(
   5609   e) eval $cacheid=no ;;
   5610 esac
   5611 fi
   5612 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5613     conftest$ac_exeext conftest.$ac_ext ;;
   5614 esac
   5615 fi
   5616 
   5617 
   5618 		CFLAGS="$xorg_testset_save_CFLAGS"
   5619 
   5620 		eval supported=\$$cacheid
   5621 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5622 printf "%s\n" "$supported" >&6; }
   5623 		if test "$supported" = "yes" ; then
   5624 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5625 			found="yes"
   5626 		fi
   5627 	fi
   5628 
   5629 
   5630 
   5631 
   5632 
   5633 
   5634 
   5635 
   5636 
   5637 
   5638 
   5639 
   5640 
   5641 
   5642 
   5643 xorg_testset_save_CFLAGS="$CFLAGS"
   5644 
   5645 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5646 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5647 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5648 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5649 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5650 then :
   5651   printf %s "(cached) " >&6
   5652 else case e in #(
   5653   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5654 /* end confdefs.h.  */
   5655 int i;
   5656 _ACEOF
   5657 if ac_fn_c_try_compile "$LINENO"
   5658 then :
   5659   xorg_cv_cc_flag_unknown_warning_option=yes
   5660 else case e in #(
   5661   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5662 esac
   5663 fi
   5664 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5665 esac
   5666 fi
   5667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5668 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5669 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5670 	CFLAGS="$xorg_testset_save_CFLAGS"
   5671 fi
   5672 
   5673 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5674 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5675 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5676 	fi
   5677 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5678 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5679 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5680 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5681 then :
   5682   printf %s "(cached) " >&6
   5683 else case e in #(
   5684   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5685 /* end confdefs.h.  */
   5686 int i;
   5687 _ACEOF
   5688 if ac_fn_c_try_compile "$LINENO"
   5689 then :
   5690   xorg_cv_cc_flag_unused_command_line_argument=yes
   5691 else case e in #(
   5692   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5693 esac
   5694 fi
   5695 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5696 esac
   5697 fi
   5698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5699 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5700 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5701 	CFLAGS="$xorg_testset_save_CFLAGS"
   5702 fi
   5703 
   5704 found="no"
   5705 
   5706 	if test $found = "no" ; then
   5707 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5708 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5709 		fi
   5710 
   5711 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5712 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5713 		fi
   5714 
   5715 		CFLAGS="$CFLAGS -Wformat=2"
   5716 
   5717 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5718 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5719 		cacheid=xorg_cv_cc_flag__Wformat_2
   5720 		if eval test \${$cacheid+y}
   5721 then :
   5722   printf %s "(cached) " >&6
   5723 else case e in #(
   5724   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5725 /* end confdefs.h.  */
   5726 int i;
   5727 int
   5728 main (void)
   5729 {
   5730 
   5731   ;
   5732   return 0;
   5733 }
   5734 _ACEOF
   5735 if ac_fn_c_try_link "$LINENO"
   5736 then :
   5737   eval $cacheid=yes
   5738 else case e in #(
   5739   e) eval $cacheid=no ;;
   5740 esac
   5741 fi
   5742 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5743     conftest$ac_exeext conftest.$ac_ext ;;
   5744 esac
   5745 fi
   5746 
   5747 
   5748 		CFLAGS="$xorg_testset_save_CFLAGS"
   5749 
   5750 		eval supported=\$$cacheid
   5751 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5752 printf "%s\n" "$supported" >&6; }
   5753 		if test "$supported" = "yes" ; then
   5754 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5755 			found="yes"
   5756 		fi
   5757 	fi
   5758 
   5759 	if test $found = "no" ; then
   5760 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5761 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5762 		fi
   5763 
   5764 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5765 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5766 		fi
   5767 
   5768 		CFLAGS="$CFLAGS -Wformat"
   5769 
   5770 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5771 printf %s "checking if $CC supports -Wformat... " >&6; }
   5772 		cacheid=xorg_cv_cc_flag__Wformat
   5773 		if eval test \${$cacheid+y}
   5774 then :
   5775   printf %s "(cached) " >&6
   5776 else case e in #(
   5777   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5778 /* end confdefs.h.  */
   5779 int i;
   5780 int
   5781 main (void)
   5782 {
   5783 
   5784   ;
   5785   return 0;
   5786 }
   5787 _ACEOF
   5788 if ac_fn_c_try_link "$LINENO"
   5789 then :
   5790   eval $cacheid=yes
   5791 else case e in #(
   5792   e) eval $cacheid=no ;;
   5793 esac
   5794 fi
   5795 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5796     conftest$ac_exeext conftest.$ac_ext ;;
   5797 esac
   5798 fi
   5799 
   5800 
   5801 		CFLAGS="$xorg_testset_save_CFLAGS"
   5802 
   5803 		eval supported=\$$cacheid
   5804 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5805 printf "%s\n" "$supported" >&6; }
   5806 		if test "$supported" = "yes" ; then
   5807 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5808 			found="yes"
   5809 		fi
   5810 	fi
   5811 
   5812 
   5813 
   5814 
   5815 
   5816 
   5817 
   5818 
   5819 
   5820 
   5821 
   5822 
   5823 
   5824 
   5825 
   5826 
   5827 
   5828 xorg_testset_save_CFLAGS="$CFLAGS"
   5829 
   5830 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5831 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5832 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5833 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5834 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5835 then :
   5836   printf %s "(cached) " >&6
   5837 else case e in #(
   5838   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5839 /* end confdefs.h.  */
   5840 int i;
   5841 _ACEOF
   5842 if ac_fn_c_try_compile "$LINENO"
   5843 then :
   5844   xorg_cv_cc_flag_unknown_warning_option=yes
   5845 else case e in #(
   5846   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5847 esac
   5848 fi
   5849 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5850 esac
   5851 fi
   5852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5853 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5854 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5855 	CFLAGS="$xorg_testset_save_CFLAGS"
   5856 fi
   5857 
   5858 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5859 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5860 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5861 	fi
   5862 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5863 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5864 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5865 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5866 then :
   5867   printf %s "(cached) " >&6
   5868 else case e in #(
   5869   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5870 /* end confdefs.h.  */
   5871 int i;
   5872 _ACEOF
   5873 if ac_fn_c_try_compile "$LINENO"
   5874 then :
   5875   xorg_cv_cc_flag_unused_command_line_argument=yes
   5876 else case e in #(
   5877   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5878 esac
   5879 fi
   5880 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5881 esac
   5882 fi
   5883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5884 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5885 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5886 	CFLAGS="$xorg_testset_save_CFLAGS"
   5887 fi
   5888 
   5889 found="no"
   5890 
   5891 	if test $found = "no" ; then
   5892 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5893 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5894 		fi
   5895 
   5896 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5897 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5898 		fi
   5899 
   5900 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5901 
   5902 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5903 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5904 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5905 		if eval test \${$cacheid+y}
   5906 then :
   5907   printf %s "(cached) " >&6
   5908 else case e in #(
   5909   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5910 /* end confdefs.h.  */
   5911 int i;
   5912 int
   5913 main (void)
   5914 {
   5915 
   5916   ;
   5917   return 0;
   5918 }
   5919 _ACEOF
   5920 if ac_fn_c_try_link "$LINENO"
   5921 then :
   5922   eval $cacheid=yes
   5923 else case e in #(
   5924   e) eval $cacheid=no ;;
   5925 esac
   5926 fi
   5927 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5928     conftest$ac_exeext conftest.$ac_ext ;;
   5929 esac
   5930 fi
   5931 
   5932 
   5933 		CFLAGS="$xorg_testset_save_CFLAGS"
   5934 
   5935 		eval supported=\$$cacheid
   5936 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5937 printf "%s\n" "$supported" >&6; }
   5938 		if test "$supported" = "yes" ; then
   5939 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5940 			found="yes"
   5941 		fi
   5942 	fi
   5943 
   5944 
   5945 
   5946 
   5947 
   5948 
   5949 
   5950 
   5951 
   5952 
   5953 
   5954 
   5955 
   5956 
   5957 
   5958 xorg_testset_save_CFLAGS="$CFLAGS"
   5959 
   5960 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5961 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5962 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5963 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5964 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5965 then :
   5966   printf %s "(cached) " >&6
   5967 else case e in #(
   5968   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5969 /* end confdefs.h.  */
   5970 int i;
   5971 _ACEOF
   5972 if ac_fn_c_try_compile "$LINENO"
   5973 then :
   5974   xorg_cv_cc_flag_unknown_warning_option=yes
   5975 else case e in #(
   5976   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5977 esac
   5978 fi
   5979 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5980 esac
   5981 fi
   5982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5983 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5984 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5985 	CFLAGS="$xorg_testset_save_CFLAGS"
   5986 fi
   5987 
   5988 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5989 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5990 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5991 	fi
   5992 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5993 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5994 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5995 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5996 then :
   5997   printf %s "(cached) " >&6
   5998 else case e in #(
   5999   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6000 /* end confdefs.h.  */
   6001 int i;
   6002 _ACEOF
   6003 if ac_fn_c_try_compile "$LINENO"
   6004 then :
   6005   xorg_cv_cc_flag_unused_command_line_argument=yes
   6006 else case e in #(
   6007   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6008 esac
   6009 fi
   6010 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6011 esac
   6012 fi
   6013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6014 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6015 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6016 	CFLAGS="$xorg_testset_save_CFLAGS"
   6017 fi
   6018 
   6019 found="no"
   6020 
   6021 	if test $found = "no" ; then
   6022 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6023 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6024 		fi
   6025 
   6026 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6027 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6028 		fi
   6029 
   6030 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   6031 
   6032 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   6033 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   6034 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   6035 		if eval test \${$cacheid+y}
   6036 then :
   6037   printf %s "(cached) " >&6
   6038 else case e in #(
   6039   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6040 /* end confdefs.h.  */
   6041 int i;
   6042 int
   6043 main (void)
   6044 {
   6045 
   6046   ;
   6047   return 0;
   6048 }
   6049 _ACEOF
   6050 if ac_fn_c_try_link "$LINENO"
   6051 then :
   6052   eval $cacheid=yes
   6053 else case e in #(
   6054   e) eval $cacheid=no ;;
   6055 esac
   6056 fi
   6057 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6058     conftest$ac_exeext conftest.$ac_ext ;;
   6059 esac
   6060 fi
   6061 
   6062 
   6063 		CFLAGS="$xorg_testset_save_CFLAGS"
   6064 
   6065 		eval supported=\$$cacheid
   6066 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6067 printf "%s\n" "$supported" >&6; }
   6068 		if test "$supported" = "yes" ; then
   6069 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   6070 			found="yes"
   6071 		fi
   6072 	fi
   6073 
   6074 
   6075 
   6076 
   6077 
   6078 
   6079 
   6080 
   6081 
   6082 
   6083 
   6084 
   6085 
   6086 
   6087 
   6088 xorg_testset_save_CFLAGS="$CFLAGS"
   6089 
   6090 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6091 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6092 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6093 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6094 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6095 then :
   6096   printf %s "(cached) " >&6
   6097 else case e in #(
   6098   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6099 /* end confdefs.h.  */
   6100 int i;
   6101 _ACEOF
   6102 if ac_fn_c_try_compile "$LINENO"
   6103 then :
   6104   xorg_cv_cc_flag_unknown_warning_option=yes
   6105 else case e in #(
   6106   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6107 esac
   6108 fi
   6109 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6110 esac
   6111 fi
   6112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6113 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6114 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6115 	CFLAGS="$xorg_testset_save_CFLAGS"
   6116 fi
   6117 
   6118 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6119 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6120 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6121 	fi
   6122 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6123 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6124 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6125 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6126 then :
   6127   printf %s "(cached) " >&6
   6128 else case e in #(
   6129   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6130 /* end confdefs.h.  */
   6131 int i;
   6132 _ACEOF
   6133 if ac_fn_c_try_compile "$LINENO"
   6134 then :
   6135   xorg_cv_cc_flag_unused_command_line_argument=yes
   6136 else case e in #(
   6137   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6138 esac
   6139 fi
   6140 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6141 esac
   6142 fi
   6143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6144 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6145 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6146 	CFLAGS="$xorg_testset_save_CFLAGS"
   6147 fi
   6148 
   6149 found="no"
   6150 
   6151 	if test $found = "no" ; then
   6152 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6153 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6154 		fi
   6155 
   6156 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6157 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6158 		fi
   6159 
   6160 		CFLAGS="$CFLAGS -Wnested-externs"
   6161 
   6162 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   6163 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   6164 		cacheid=xorg_cv_cc_flag__Wnested_externs
   6165 		if eval test \${$cacheid+y}
   6166 then :
   6167   printf %s "(cached) " >&6
   6168 else case e in #(
   6169   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6170 /* end confdefs.h.  */
   6171 int i;
   6172 int
   6173 main (void)
   6174 {
   6175 
   6176   ;
   6177   return 0;
   6178 }
   6179 _ACEOF
   6180 if ac_fn_c_try_link "$LINENO"
   6181 then :
   6182   eval $cacheid=yes
   6183 else case e in #(
   6184   e) eval $cacheid=no ;;
   6185 esac
   6186 fi
   6187 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6188     conftest$ac_exeext conftest.$ac_ext ;;
   6189 esac
   6190 fi
   6191 
   6192 
   6193 		CFLAGS="$xorg_testset_save_CFLAGS"
   6194 
   6195 		eval supported=\$$cacheid
   6196 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6197 printf "%s\n" "$supported" >&6; }
   6198 		if test "$supported" = "yes" ; then
   6199 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   6200 			found="yes"
   6201 		fi
   6202 	fi
   6203 
   6204 
   6205 
   6206 
   6207 
   6208 
   6209 
   6210 
   6211 
   6212 
   6213 
   6214 
   6215 
   6216 
   6217 
   6218 xorg_testset_save_CFLAGS="$CFLAGS"
   6219 
   6220 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6221 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6222 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6223 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6224 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6225 then :
   6226   printf %s "(cached) " >&6
   6227 else case e in #(
   6228   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6229 /* end confdefs.h.  */
   6230 int i;
   6231 _ACEOF
   6232 if ac_fn_c_try_compile "$LINENO"
   6233 then :
   6234   xorg_cv_cc_flag_unknown_warning_option=yes
   6235 else case e in #(
   6236   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6237 esac
   6238 fi
   6239 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6240 esac
   6241 fi
   6242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6243 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6244 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6245 	CFLAGS="$xorg_testset_save_CFLAGS"
   6246 fi
   6247 
   6248 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6249 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6250 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6251 	fi
   6252 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6253 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6254 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6255 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6256 then :
   6257   printf %s "(cached) " >&6
   6258 else case e in #(
   6259   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6260 /* end confdefs.h.  */
   6261 int i;
   6262 _ACEOF
   6263 if ac_fn_c_try_compile "$LINENO"
   6264 then :
   6265   xorg_cv_cc_flag_unused_command_line_argument=yes
   6266 else case e in #(
   6267   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6268 esac
   6269 fi
   6270 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6271 esac
   6272 fi
   6273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6274 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6275 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6276 	CFLAGS="$xorg_testset_save_CFLAGS"
   6277 fi
   6278 
   6279 found="no"
   6280 
   6281 	if test $found = "no" ; then
   6282 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6283 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6284 		fi
   6285 
   6286 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6287 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6288 		fi
   6289 
   6290 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6291 
   6292 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6293 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   6294 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6295 		if eval test \${$cacheid+y}
   6296 then :
   6297   printf %s "(cached) " >&6
   6298 else case e in #(
   6299   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6300 /* end confdefs.h.  */
   6301 int i;
   6302 int
   6303 main (void)
   6304 {
   6305 
   6306   ;
   6307   return 0;
   6308 }
   6309 _ACEOF
   6310 if ac_fn_c_try_link "$LINENO"
   6311 then :
   6312   eval $cacheid=yes
   6313 else case e in #(
   6314   e) eval $cacheid=no ;;
   6315 esac
   6316 fi
   6317 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6318     conftest$ac_exeext conftest.$ac_ext ;;
   6319 esac
   6320 fi
   6321 
   6322 
   6323 		CFLAGS="$xorg_testset_save_CFLAGS"
   6324 
   6325 		eval supported=\$$cacheid
   6326 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6327 printf "%s\n" "$supported" >&6; }
   6328 		if test "$supported" = "yes" ; then
   6329 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6330 			found="yes"
   6331 		fi
   6332 	fi
   6333 
   6334 
   6335 
   6336 
   6337 
   6338 
   6339 
   6340 
   6341 
   6342 
   6343 
   6344 
   6345 
   6346 
   6347 
   6348 xorg_testset_save_CFLAGS="$CFLAGS"
   6349 
   6350 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6351 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6352 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6353 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6354 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6355 then :
   6356   printf %s "(cached) " >&6
   6357 else case e in #(
   6358   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6359 /* end confdefs.h.  */
   6360 int i;
   6361 _ACEOF
   6362 if ac_fn_c_try_compile "$LINENO"
   6363 then :
   6364   xorg_cv_cc_flag_unknown_warning_option=yes
   6365 else case e in #(
   6366   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6367 esac
   6368 fi
   6369 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6370 esac
   6371 fi
   6372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6373 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6374 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6375 	CFLAGS="$xorg_testset_save_CFLAGS"
   6376 fi
   6377 
   6378 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6379 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6380 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6381 	fi
   6382 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6383 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6384 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6385 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6386 then :
   6387   printf %s "(cached) " >&6
   6388 else case e in #(
   6389   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6390 /* end confdefs.h.  */
   6391 int i;
   6392 _ACEOF
   6393 if ac_fn_c_try_compile "$LINENO"
   6394 then :
   6395   xorg_cv_cc_flag_unused_command_line_argument=yes
   6396 else case e in #(
   6397   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6398 esac
   6399 fi
   6400 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6401 esac
   6402 fi
   6403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6404 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6405 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6406 	CFLAGS="$xorg_testset_save_CFLAGS"
   6407 fi
   6408 
   6409 found="no"
   6410 
   6411 	if test $found = "no" ; then
   6412 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6413 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6414 		fi
   6415 
   6416 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6417 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6418 		fi
   6419 
   6420 		CFLAGS="$CFLAGS -Wold-style-definition"
   6421 
   6422 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6423 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6424 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6425 		if eval test \${$cacheid+y}
   6426 then :
   6427   printf %s "(cached) " >&6
   6428 else case e in #(
   6429   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6430 /* end confdefs.h.  */
   6431 int i;
   6432 int
   6433 main (void)
   6434 {
   6435 
   6436   ;
   6437   return 0;
   6438 }
   6439 _ACEOF
   6440 if ac_fn_c_try_link "$LINENO"
   6441 then :
   6442   eval $cacheid=yes
   6443 else case e in #(
   6444   e) eval $cacheid=no ;;
   6445 esac
   6446 fi
   6447 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6448     conftest$ac_exeext conftest.$ac_ext ;;
   6449 esac
   6450 fi
   6451 
   6452 
   6453 		CFLAGS="$xorg_testset_save_CFLAGS"
   6454 
   6455 		eval supported=\$$cacheid
   6456 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6457 printf "%s\n" "$supported" >&6; }
   6458 		if test "$supported" = "yes" ; then
   6459 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6460 			found="yes"
   6461 		fi
   6462 	fi
   6463 
   6464 	if test $found = "no" ; then
   6465 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6466 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6467 		fi
   6468 
   6469 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6470 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6471 		fi
   6472 
   6473 		CFLAGS="$CFLAGS -fd"
   6474 
   6475 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6476 printf %s "checking if $CC supports -fd... " >&6; }
   6477 		cacheid=xorg_cv_cc_flag__fd
   6478 		if eval test \${$cacheid+y}
   6479 then :
   6480   printf %s "(cached) " >&6
   6481 else case e in #(
   6482   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6483 /* end confdefs.h.  */
   6484 int i;
   6485 int
   6486 main (void)
   6487 {
   6488 
   6489   ;
   6490   return 0;
   6491 }
   6492 _ACEOF
   6493 if ac_fn_c_try_link "$LINENO"
   6494 then :
   6495   eval $cacheid=yes
   6496 else case e in #(
   6497   e) eval $cacheid=no ;;
   6498 esac
   6499 fi
   6500 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6501     conftest$ac_exeext conftest.$ac_ext ;;
   6502 esac
   6503 fi
   6504 
   6505 
   6506 		CFLAGS="$xorg_testset_save_CFLAGS"
   6507 
   6508 		eval supported=\$$cacheid
   6509 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6510 printf "%s\n" "$supported" >&6; }
   6511 		if test "$supported" = "yes" ; then
   6512 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6513 			found="yes"
   6514 		fi
   6515 	fi
   6516 
   6517 
   6518 
   6519 
   6520 
   6521 # This chunk adds additional warnings that could catch undesired effects.
   6522 
   6523 
   6524 
   6525 
   6526 
   6527 
   6528 
   6529 
   6530 
   6531 
   6532 
   6533 
   6534 
   6535 xorg_testset_save_CFLAGS="$CFLAGS"
   6536 
   6537 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6538 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6539 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6540 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6541 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6542 then :
   6543   printf %s "(cached) " >&6
   6544 else case e in #(
   6545   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6546 /* end confdefs.h.  */
   6547 int i;
   6548 _ACEOF
   6549 if ac_fn_c_try_compile "$LINENO"
   6550 then :
   6551   xorg_cv_cc_flag_unknown_warning_option=yes
   6552 else case e in #(
   6553   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6554 esac
   6555 fi
   6556 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6557 esac
   6558 fi
   6559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6560 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6561 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6562 	CFLAGS="$xorg_testset_save_CFLAGS"
   6563 fi
   6564 
   6565 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6566 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6567 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6568 	fi
   6569 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6570 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6571 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6572 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6573 then :
   6574   printf %s "(cached) " >&6
   6575 else case e in #(
   6576   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6577 /* end confdefs.h.  */
   6578 int i;
   6579 _ACEOF
   6580 if ac_fn_c_try_compile "$LINENO"
   6581 then :
   6582   xorg_cv_cc_flag_unused_command_line_argument=yes
   6583 else case e in #(
   6584   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6585 esac
   6586 fi
   6587 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6588 esac
   6589 fi
   6590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6591 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6592 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6593 	CFLAGS="$xorg_testset_save_CFLAGS"
   6594 fi
   6595 
   6596 found="no"
   6597 
   6598 	if test $found = "no" ; then
   6599 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6600 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6601 		fi
   6602 
   6603 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6604 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6605 		fi
   6606 
   6607 		CFLAGS="$CFLAGS -Wunused"
   6608 
   6609 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6610 printf %s "checking if $CC supports -Wunused... " >&6; }
   6611 		cacheid=xorg_cv_cc_flag__Wunused
   6612 		if eval test \${$cacheid+y}
   6613 then :
   6614   printf %s "(cached) " >&6
   6615 else case e in #(
   6616   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6617 /* end confdefs.h.  */
   6618 int i;
   6619 int
   6620 main (void)
   6621 {
   6622 
   6623   ;
   6624   return 0;
   6625 }
   6626 _ACEOF
   6627 if ac_fn_c_try_link "$LINENO"
   6628 then :
   6629   eval $cacheid=yes
   6630 else case e in #(
   6631   e) eval $cacheid=no ;;
   6632 esac
   6633 fi
   6634 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6635     conftest$ac_exeext conftest.$ac_ext ;;
   6636 esac
   6637 fi
   6638 
   6639 
   6640 		CFLAGS="$xorg_testset_save_CFLAGS"
   6641 
   6642 		eval supported=\$$cacheid
   6643 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6644 printf "%s\n" "$supported" >&6; }
   6645 		if test "$supported" = "yes" ; then
   6646 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6647 			found="yes"
   6648 		fi
   6649 	fi
   6650 
   6651 
   6652 
   6653 
   6654 
   6655 
   6656 
   6657 
   6658 
   6659 
   6660 
   6661 
   6662 
   6663 
   6664 
   6665 xorg_testset_save_CFLAGS="$CFLAGS"
   6666 
   6667 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6668 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6669 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6670 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6671 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6672 then :
   6673   printf %s "(cached) " >&6
   6674 else case e in #(
   6675   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6676 /* end confdefs.h.  */
   6677 int i;
   6678 _ACEOF
   6679 if ac_fn_c_try_compile "$LINENO"
   6680 then :
   6681   xorg_cv_cc_flag_unknown_warning_option=yes
   6682 else case e in #(
   6683   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6684 esac
   6685 fi
   6686 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6687 esac
   6688 fi
   6689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6690 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6691 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6692 	CFLAGS="$xorg_testset_save_CFLAGS"
   6693 fi
   6694 
   6695 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6696 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6697 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6698 	fi
   6699 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6700 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6701 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6702 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6703 then :
   6704   printf %s "(cached) " >&6
   6705 else case e in #(
   6706   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6707 /* end confdefs.h.  */
   6708 int i;
   6709 _ACEOF
   6710 if ac_fn_c_try_compile "$LINENO"
   6711 then :
   6712   xorg_cv_cc_flag_unused_command_line_argument=yes
   6713 else case e in #(
   6714   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6715 esac
   6716 fi
   6717 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6718 esac
   6719 fi
   6720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6721 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6722 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6723 	CFLAGS="$xorg_testset_save_CFLAGS"
   6724 fi
   6725 
   6726 found="no"
   6727 
   6728 	if test $found = "no" ; then
   6729 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6730 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6731 		fi
   6732 
   6733 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6734 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6735 		fi
   6736 
   6737 		CFLAGS="$CFLAGS -Wuninitialized"
   6738 
   6739 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6740 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6741 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6742 		if eval test \${$cacheid+y}
   6743 then :
   6744   printf %s "(cached) " >&6
   6745 else case e in #(
   6746   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6747 /* end confdefs.h.  */
   6748 int i;
   6749 int
   6750 main (void)
   6751 {
   6752 
   6753   ;
   6754   return 0;
   6755 }
   6756 _ACEOF
   6757 if ac_fn_c_try_link "$LINENO"
   6758 then :
   6759   eval $cacheid=yes
   6760 else case e in #(
   6761   e) eval $cacheid=no ;;
   6762 esac
   6763 fi
   6764 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6765     conftest$ac_exeext conftest.$ac_ext ;;
   6766 esac
   6767 fi
   6768 
   6769 
   6770 		CFLAGS="$xorg_testset_save_CFLAGS"
   6771 
   6772 		eval supported=\$$cacheid
   6773 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6774 printf "%s\n" "$supported" >&6; }
   6775 		if test "$supported" = "yes" ; then
   6776 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6777 			found="yes"
   6778 		fi
   6779 	fi
   6780 
   6781 
   6782 
   6783 
   6784 
   6785 
   6786 
   6787 
   6788 
   6789 
   6790 
   6791 
   6792 
   6793 
   6794 
   6795 xorg_testset_save_CFLAGS="$CFLAGS"
   6796 
   6797 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6798 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6799 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6800 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6801 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6802 then :
   6803   printf %s "(cached) " >&6
   6804 else case e in #(
   6805   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6806 /* end confdefs.h.  */
   6807 int i;
   6808 _ACEOF
   6809 if ac_fn_c_try_compile "$LINENO"
   6810 then :
   6811   xorg_cv_cc_flag_unknown_warning_option=yes
   6812 else case e in #(
   6813   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6814 esac
   6815 fi
   6816 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6817 esac
   6818 fi
   6819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6820 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6821 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6822 	CFLAGS="$xorg_testset_save_CFLAGS"
   6823 fi
   6824 
   6825 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6826 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6827 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6828 	fi
   6829 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6830 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6831 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6832 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6833 then :
   6834   printf %s "(cached) " >&6
   6835 else case e in #(
   6836   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6837 /* end confdefs.h.  */
   6838 int i;
   6839 _ACEOF
   6840 if ac_fn_c_try_compile "$LINENO"
   6841 then :
   6842   xorg_cv_cc_flag_unused_command_line_argument=yes
   6843 else case e in #(
   6844   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6845 esac
   6846 fi
   6847 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6848 esac
   6849 fi
   6850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6851 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6852 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6853 	CFLAGS="$xorg_testset_save_CFLAGS"
   6854 fi
   6855 
   6856 found="no"
   6857 
   6858 	if test $found = "no" ; then
   6859 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6860 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6861 		fi
   6862 
   6863 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6864 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6865 		fi
   6866 
   6867 		CFLAGS="$CFLAGS -Wshadow"
   6868 
   6869 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6870 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6871 		cacheid=xorg_cv_cc_flag__Wshadow
   6872 		if eval test \${$cacheid+y}
   6873 then :
   6874   printf %s "(cached) " >&6
   6875 else case e in #(
   6876   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6877 /* end confdefs.h.  */
   6878 int i;
   6879 int
   6880 main (void)
   6881 {
   6882 
   6883   ;
   6884   return 0;
   6885 }
   6886 _ACEOF
   6887 if ac_fn_c_try_link "$LINENO"
   6888 then :
   6889   eval $cacheid=yes
   6890 else case e in #(
   6891   e) eval $cacheid=no ;;
   6892 esac
   6893 fi
   6894 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6895     conftest$ac_exeext conftest.$ac_ext ;;
   6896 esac
   6897 fi
   6898 
   6899 
   6900 		CFLAGS="$xorg_testset_save_CFLAGS"
   6901 
   6902 		eval supported=\$$cacheid
   6903 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6904 printf "%s\n" "$supported" >&6; }
   6905 		if test "$supported" = "yes" ; then
   6906 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6907 			found="yes"
   6908 		fi
   6909 	fi
   6910 
   6911 
   6912 
   6913 
   6914 
   6915 
   6916 
   6917 
   6918 
   6919 
   6920 
   6921 
   6922 
   6923 
   6924 
   6925 xorg_testset_save_CFLAGS="$CFLAGS"
   6926 
   6927 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6928 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6929 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6930 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6931 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6932 then :
   6933   printf %s "(cached) " >&6
   6934 else case e in #(
   6935   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6936 /* end confdefs.h.  */
   6937 int i;
   6938 _ACEOF
   6939 if ac_fn_c_try_compile "$LINENO"
   6940 then :
   6941   xorg_cv_cc_flag_unknown_warning_option=yes
   6942 else case e in #(
   6943   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6944 esac
   6945 fi
   6946 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6947 esac
   6948 fi
   6949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6950 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6951 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6952 	CFLAGS="$xorg_testset_save_CFLAGS"
   6953 fi
   6954 
   6955 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6956 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6957 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6958 	fi
   6959 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6960 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6961 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6962 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6963 then :
   6964   printf %s "(cached) " >&6
   6965 else case e in #(
   6966   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6967 /* end confdefs.h.  */
   6968 int i;
   6969 _ACEOF
   6970 if ac_fn_c_try_compile "$LINENO"
   6971 then :
   6972   xorg_cv_cc_flag_unused_command_line_argument=yes
   6973 else case e in #(
   6974   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6975 esac
   6976 fi
   6977 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6978 esac
   6979 fi
   6980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6981 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6982 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6983 	CFLAGS="$xorg_testset_save_CFLAGS"
   6984 fi
   6985 
   6986 found="no"
   6987 
   6988 	if test $found = "no" ; then
   6989 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6990 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6991 		fi
   6992 
   6993 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6994 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6995 		fi
   6996 
   6997 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6998 
   6999 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   7000 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   7001 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   7002 		if eval test \${$cacheid+y}
   7003 then :
   7004   printf %s "(cached) " >&6
   7005 else case e in #(
   7006   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7007 /* end confdefs.h.  */
   7008 int i;
   7009 int
   7010 main (void)
   7011 {
   7012 
   7013   ;
   7014   return 0;
   7015 }
   7016 _ACEOF
   7017 if ac_fn_c_try_link "$LINENO"
   7018 then :
   7019   eval $cacheid=yes
   7020 else case e in #(
   7021   e) eval $cacheid=no ;;
   7022 esac
   7023 fi
   7024 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7025     conftest$ac_exeext conftest.$ac_ext ;;
   7026 esac
   7027 fi
   7028 
   7029 
   7030 		CFLAGS="$xorg_testset_save_CFLAGS"
   7031 
   7032 		eval supported=\$$cacheid
   7033 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7034 printf "%s\n" "$supported" >&6; }
   7035 		if test "$supported" = "yes" ; then
   7036 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   7037 			found="yes"
   7038 		fi
   7039 	fi
   7040 
   7041 
   7042 
   7043 
   7044 
   7045 
   7046 
   7047 
   7048 
   7049 
   7050 
   7051 
   7052 
   7053 
   7054 
   7055 xorg_testset_save_CFLAGS="$CFLAGS"
   7056 
   7057 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7058 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7059 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7060 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7061 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7062 then :
   7063   printf %s "(cached) " >&6
   7064 else case e in #(
   7065   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7066 /* end confdefs.h.  */
   7067 int i;
   7068 _ACEOF
   7069 if ac_fn_c_try_compile "$LINENO"
   7070 then :
   7071   xorg_cv_cc_flag_unknown_warning_option=yes
   7072 else case e in #(
   7073   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7074 esac
   7075 fi
   7076 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7077 esac
   7078 fi
   7079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7080 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7081 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7082 	CFLAGS="$xorg_testset_save_CFLAGS"
   7083 fi
   7084 
   7085 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7086 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7087 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7088 	fi
   7089 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7090 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7091 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7092 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7093 then :
   7094   printf %s "(cached) " >&6
   7095 else case e in #(
   7096   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7097 /* end confdefs.h.  */
   7098 int i;
   7099 _ACEOF
   7100 if ac_fn_c_try_compile "$LINENO"
   7101 then :
   7102   xorg_cv_cc_flag_unused_command_line_argument=yes
   7103 else case e in #(
   7104   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7105 esac
   7106 fi
   7107 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7108 esac
   7109 fi
   7110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7111 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7112 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7113 	CFLAGS="$xorg_testset_save_CFLAGS"
   7114 fi
   7115 
   7116 found="no"
   7117 
   7118 	if test $found = "no" ; then
   7119 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7120 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7121 		fi
   7122 
   7123 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7124 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7125 		fi
   7126 
   7127 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   7128 
   7129 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   7130 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   7131 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   7132 		if eval test \${$cacheid+y}
   7133 then :
   7134   printf %s "(cached) " >&6
   7135 else case e in #(
   7136   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7137 /* end confdefs.h.  */
   7138 int i;
   7139 int
   7140 main (void)
   7141 {
   7142 
   7143   ;
   7144   return 0;
   7145 }
   7146 _ACEOF
   7147 if ac_fn_c_try_link "$LINENO"
   7148 then :
   7149   eval $cacheid=yes
   7150 else case e in #(
   7151   e) eval $cacheid=no ;;
   7152 esac
   7153 fi
   7154 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7155     conftest$ac_exeext conftest.$ac_ext ;;
   7156 esac
   7157 fi
   7158 
   7159 
   7160 		CFLAGS="$xorg_testset_save_CFLAGS"
   7161 
   7162 		eval supported=\$$cacheid
   7163 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7164 printf "%s\n" "$supported" >&6; }
   7165 		if test "$supported" = "yes" ; then
   7166 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   7167 			found="yes"
   7168 		fi
   7169 	fi
   7170 
   7171 
   7172 
   7173 
   7174 
   7175 
   7176 
   7177 
   7178 
   7179 
   7180 
   7181 
   7182 
   7183 
   7184 
   7185 xorg_testset_save_CFLAGS="$CFLAGS"
   7186 
   7187 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7188 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7189 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7190 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7191 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7192 then :
   7193   printf %s "(cached) " >&6
   7194 else case e in #(
   7195   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7196 /* end confdefs.h.  */
   7197 int i;
   7198 _ACEOF
   7199 if ac_fn_c_try_compile "$LINENO"
   7200 then :
   7201   xorg_cv_cc_flag_unknown_warning_option=yes
   7202 else case e in #(
   7203   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7204 esac
   7205 fi
   7206 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7207 esac
   7208 fi
   7209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7210 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7211 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7212 	CFLAGS="$xorg_testset_save_CFLAGS"
   7213 fi
   7214 
   7215 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7216 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7217 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7218 	fi
   7219 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7220 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7221 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7222 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7223 then :
   7224   printf %s "(cached) " >&6
   7225 else case e in #(
   7226   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7227 /* end confdefs.h.  */
   7228 int i;
   7229 _ACEOF
   7230 if ac_fn_c_try_compile "$LINENO"
   7231 then :
   7232   xorg_cv_cc_flag_unused_command_line_argument=yes
   7233 else case e in #(
   7234   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7235 esac
   7236 fi
   7237 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7238 esac
   7239 fi
   7240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7241 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7242 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7243 	CFLAGS="$xorg_testset_save_CFLAGS"
   7244 fi
   7245 
   7246 found="no"
   7247 
   7248 	if test $found = "no" ; then
   7249 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7250 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7251 		fi
   7252 
   7253 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7254 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7255 		fi
   7256 
   7257 		CFLAGS="$CFLAGS -Wredundant-decls"
   7258 
   7259 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7260 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7261 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7262 		if eval test \${$cacheid+y}
   7263 then :
   7264   printf %s "(cached) " >&6
   7265 else case e in #(
   7266   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7267 /* end confdefs.h.  */
   7268 int i;
   7269 int
   7270 main (void)
   7271 {
   7272 
   7273   ;
   7274   return 0;
   7275 }
   7276 _ACEOF
   7277 if ac_fn_c_try_link "$LINENO"
   7278 then :
   7279   eval $cacheid=yes
   7280 else case e in #(
   7281   e) eval $cacheid=no ;;
   7282 esac
   7283 fi
   7284 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7285     conftest$ac_exeext conftest.$ac_ext ;;
   7286 esac
   7287 fi
   7288 
   7289 
   7290 		CFLAGS="$xorg_testset_save_CFLAGS"
   7291 
   7292 		eval supported=\$$cacheid
   7293 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7294 printf "%s\n" "$supported" >&6; }
   7295 		if test "$supported" = "yes" ; then
   7296 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7297 			found="yes"
   7298 		fi
   7299 	fi
   7300 
   7301 
   7302 
   7303 
   7304 
   7305 
   7306 
   7307 
   7308 
   7309 
   7310 
   7311 
   7312 
   7313 
   7314 
   7315 xorg_testset_save_CFLAGS="$CFLAGS"
   7316 
   7317 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7318 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7319 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7320 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7321 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7322 then :
   7323   printf %s "(cached) " >&6
   7324 else case e in #(
   7325   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7326 /* end confdefs.h.  */
   7327 int i;
   7328 _ACEOF
   7329 if ac_fn_c_try_compile "$LINENO"
   7330 then :
   7331   xorg_cv_cc_flag_unknown_warning_option=yes
   7332 else case e in #(
   7333   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7334 esac
   7335 fi
   7336 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7337 esac
   7338 fi
   7339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7340 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7341 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7342 	CFLAGS="$xorg_testset_save_CFLAGS"
   7343 fi
   7344 
   7345 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7346 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7347 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7348 	fi
   7349 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7350 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7351 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7352 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7353 then :
   7354   printf %s "(cached) " >&6
   7355 else case e in #(
   7356   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7357 /* end confdefs.h.  */
   7358 int i;
   7359 _ACEOF
   7360 if ac_fn_c_try_compile "$LINENO"
   7361 then :
   7362   xorg_cv_cc_flag_unused_command_line_argument=yes
   7363 else case e in #(
   7364   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7365 esac
   7366 fi
   7367 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7368 esac
   7369 fi
   7370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7371 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7372 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7373 	CFLAGS="$xorg_testset_save_CFLAGS"
   7374 fi
   7375 
   7376 found="no"
   7377 
   7378 	if test $found = "no" ; then
   7379 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7380 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7381 		fi
   7382 
   7383 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7384 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7385 		fi
   7386 
   7387 		CFLAGS="$CFLAGS -Wlogical-op"
   7388 
   7389 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7390 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7391 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7392 		if eval test \${$cacheid+y}
   7393 then :
   7394   printf %s "(cached) " >&6
   7395 else case e in #(
   7396   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7397 /* end confdefs.h.  */
   7398 int i;
   7399 int
   7400 main (void)
   7401 {
   7402 
   7403   ;
   7404   return 0;
   7405 }
   7406 _ACEOF
   7407 if ac_fn_c_try_link "$LINENO"
   7408 then :
   7409   eval $cacheid=yes
   7410 else case e in #(
   7411   e) eval $cacheid=no ;;
   7412 esac
   7413 fi
   7414 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7415     conftest$ac_exeext conftest.$ac_ext ;;
   7416 esac
   7417 fi
   7418 
   7419 
   7420 		CFLAGS="$xorg_testset_save_CFLAGS"
   7421 
   7422 		eval supported=\$$cacheid
   7423 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7424 printf "%s\n" "$supported" >&6; }
   7425 		if test "$supported" = "yes" ; then
   7426 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7427 			found="yes"
   7428 		fi
   7429 	fi
   7430 
   7431 
   7432 
   7433 # These are currently disabled because they are noisy.  They will be enabled
   7434 # in the future once the codebase is sufficiently modernized to silence
   7435 # them.  For now, I don't want them to drown out the other warnings.
   7436 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7437 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7438 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7439 
   7440 # Turn some warnings into errors, so we don't accidentally get successful builds
   7441 # when there are problems that should be fixed.
   7442 
   7443 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7444 
   7445 
   7446 
   7447 
   7448 
   7449 
   7450 
   7451 
   7452 
   7453 
   7454 
   7455 
   7456 
   7457 xorg_testset_save_CFLAGS="$CFLAGS"
   7458 
   7459 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7460 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7461 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7462 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7463 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7464 then :
   7465   printf %s "(cached) " >&6
   7466 else case e in #(
   7467   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7468 /* end confdefs.h.  */
   7469 int i;
   7470 _ACEOF
   7471 if ac_fn_c_try_compile "$LINENO"
   7472 then :
   7473   xorg_cv_cc_flag_unknown_warning_option=yes
   7474 else case e in #(
   7475   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7476 esac
   7477 fi
   7478 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7479 esac
   7480 fi
   7481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7482 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7483 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7484 	CFLAGS="$xorg_testset_save_CFLAGS"
   7485 fi
   7486 
   7487 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7488 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7489 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7490 	fi
   7491 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7492 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7493 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7494 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7495 then :
   7496   printf %s "(cached) " >&6
   7497 else case e in #(
   7498   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7499 /* end confdefs.h.  */
   7500 int i;
   7501 _ACEOF
   7502 if ac_fn_c_try_compile "$LINENO"
   7503 then :
   7504   xorg_cv_cc_flag_unused_command_line_argument=yes
   7505 else case e in #(
   7506   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7507 esac
   7508 fi
   7509 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7510 esac
   7511 fi
   7512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7513 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7514 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7515 	CFLAGS="$xorg_testset_save_CFLAGS"
   7516 fi
   7517 
   7518 found="no"
   7519 
   7520 	if test $found = "no" ; then
   7521 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7522 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7523 		fi
   7524 
   7525 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7526 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7527 		fi
   7528 
   7529 		CFLAGS="$CFLAGS -Werror=implicit"
   7530 
   7531 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7532 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7533 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7534 		if eval test \${$cacheid+y}
   7535 then :
   7536   printf %s "(cached) " >&6
   7537 else case e in #(
   7538   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7539 /* end confdefs.h.  */
   7540 int i;
   7541 int
   7542 main (void)
   7543 {
   7544 
   7545   ;
   7546   return 0;
   7547 }
   7548 _ACEOF
   7549 if ac_fn_c_try_link "$LINENO"
   7550 then :
   7551   eval $cacheid=yes
   7552 else case e in #(
   7553   e) eval $cacheid=no ;;
   7554 esac
   7555 fi
   7556 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7557     conftest$ac_exeext conftest.$ac_ext ;;
   7558 esac
   7559 fi
   7560 
   7561 
   7562 		CFLAGS="$xorg_testset_save_CFLAGS"
   7563 
   7564 		eval supported=\$$cacheid
   7565 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7566 printf "%s\n" "$supported" >&6; }
   7567 		if test "$supported" = "yes" ; then
   7568 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7569 			found="yes"
   7570 		fi
   7571 	fi
   7572 
   7573 	if test $found = "no" ; then
   7574 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7575 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7576 		fi
   7577 
   7578 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7579 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7580 		fi
   7581 
   7582 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7583 
   7584 		{ 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
   7585 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7586 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7587 		if eval test \${$cacheid+y}
   7588 then :
   7589   printf %s "(cached) " >&6
   7590 else case e in #(
   7591   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7592 /* end confdefs.h.  */
   7593 int i;
   7594 int
   7595 main (void)
   7596 {
   7597 
   7598   ;
   7599   return 0;
   7600 }
   7601 _ACEOF
   7602 if ac_fn_c_try_link "$LINENO"
   7603 then :
   7604   eval $cacheid=yes
   7605 else case e in #(
   7606   e) eval $cacheid=no ;;
   7607 esac
   7608 fi
   7609 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7610     conftest$ac_exeext conftest.$ac_ext ;;
   7611 esac
   7612 fi
   7613 
   7614 
   7615 		CFLAGS="$xorg_testset_save_CFLAGS"
   7616 
   7617 		eval supported=\$$cacheid
   7618 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7619 printf "%s\n" "$supported" >&6; }
   7620 		if test "$supported" = "yes" ; then
   7621 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7622 			found="yes"
   7623 		fi
   7624 	fi
   7625 
   7626 
   7627 
   7628 
   7629 
   7630 
   7631 
   7632 
   7633 
   7634 
   7635 
   7636 
   7637 
   7638 
   7639 
   7640 xorg_testset_save_CFLAGS="$CFLAGS"
   7641 
   7642 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7643 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7644 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7645 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7646 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7647 then :
   7648   printf %s "(cached) " >&6
   7649 else case e in #(
   7650   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7651 /* end confdefs.h.  */
   7652 int i;
   7653 _ACEOF
   7654 if ac_fn_c_try_compile "$LINENO"
   7655 then :
   7656   xorg_cv_cc_flag_unknown_warning_option=yes
   7657 else case e in #(
   7658   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7659 esac
   7660 fi
   7661 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7662 esac
   7663 fi
   7664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7665 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7666 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7667 	CFLAGS="$xorg_testset_save_CFLAGS"
   7668 fi
   7669 
   7670 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7671 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7672 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7673 	fi
   7674 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7675 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7676 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7677 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7678 then :
   7679   printf %s "(cached) " >&6
   7680 else case e in #(
   7681   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7682 /* end confdefs.h.  */
   7683 int i;
   7684 _ACEOF
   7685 if ac_fn_c_try_compile "$LINENO"
   7686 then :
   7687   xorg_cv_cc_flag_unused_command_line_argument=yes
   7688 else case e in #(
   7689   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7690 esac
   7691 fi
   7692 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7693 esac
   7694 fi
   7695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7696 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7697 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7698 	CFLAGS="$xorg_testset_save_CFLAGS"
   7699 fi
   7700 
   7701 found="no"
   7702 
   7703 	if test $found = "no" ; then
   7704 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7705 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7706 		fi
   7707 
   7708 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7709 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7710 		fi
   7711 
   7712 		CFLAGS="$CFLAGS -Werror=nonnull"
   7713 
   7714 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7715 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7716 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7717 		if eval test \${$cacheid+y}
   7718 then :
   7719   printf %s "(cached) " >&6
   7720 else case e in #(
   7721   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7722 /* end confdefs.h.  */
   7723 int i;
   7724 int
   7725 main (void)
   7726 {
   7727 
   7728   ;
   7729   return 0;
   7730 }
   7731 _ACEOF
   7732 if ac_fn_c_try_link "$LINENO"
   7733 then :
   7734   eval $cacheid=yes
   7735 else case e in #(
   7736   e) eval $cacheid=no ;;
   7737 esac
   7738 fi
   7739 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7740     conftest$ac_exeext conftest.$ac_ext ;;
   7741 esac
   7742 fi
   7743 
   7744 
   7745 		CFLAGS="$xorg_testset_save_CFLAGS"
   7746 
   7747 		eval supported=\$$cacheid
   7748 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7749 printf "%s\n" "$supported" >&6; }
   7750 		if test "$supported" = "yes" ; then
   7751 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7752 			found="yes"
   7753 		fi
   7754 	fi
   7755 
   7756 
   7757 
   7758 
   7759 
   7760 
   7761 
   7762 
   7763 
   7764 
   7765 
   7766 
   7767 
   7768 
   7769 
   7770 xorg_testset_save_CFLAGS="$CFLAGS"
   7771 
   7772 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7773 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7774 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7775 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7776 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7777 then :
   7778   printf %s "(cached) " >&6
   7779 else case e in #(
   7780   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7781 /* end confdefs.h.  */
   7782 int i;
   7783 _ACEOF
   7784 if ac_fn_c_try_compile "$LINENO"
   7785 then :
   7786   xorg_cv_cc_flag_unknown_warning_option=yes
   7787 else case e in #(
   7788   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7789 esac
   7790 fi
   7791 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7792 esac
   7793 fi
   7794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7795 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7796 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7797 	CFLAGS="$xorg_testset_save_CFLAGS"
   7798 fi
   7799 
   7800 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7801 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7802 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7803 	fi
   7804 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7805 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7806 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7807 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7808 then :
   7809   printf %s "(cached) " >&6
   7810 else case e in #(
   7811   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7812 /* end confdefs.h.  */
   7813 int i;
   7814 _ACEOF
   7815 if ac_fn_c_try_compile "$LINENO"
   7816 then :
   7817   xorg_cv_cc_flag_unused_command_line_argument=yes
   7818 else case e in #(
   7819   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7820 esac
   7821 fi
   7822 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7823 esac
   7824 fi
   7825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7826 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7827 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7828 	CFLAGS="$xorg_testset_save_CFLAGS"
   7829 fi
   7830 
   7831 found="no"
   7832 
   7833 	if test $found = "no" ; then
   7834 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7835 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7836 		fi
   7837 
   7838 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7839 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7840 		fi
   7841 
   7842 		CFLAGS="$CFLAGS -Werror=init-self"
   7843 
   7844 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7845 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7846 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7847 		if eval test \${$cacheid+y}
   7848 then :
   7849   printf %s "(cached) " >&6
   7850 else case e in #(
   7851   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7852 /* end confdefs.h.  */
   7853 int i;
   7854 int
   7855 main (void)
   7856 {
   7857 
   7858   ;
   7859   return 0;
   7860 }
   7861 _ACEOF
   7862 if ac_fn_c_try_link "$LINENO"
   7863 then :
   7864   eval $cacheid=yes
   7865 else case e in #(
   7866   e) eval $cacheid=no ;;
   7867 esac
   7868 fi
   7869 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7870     conftest$ac_exeext conftest.$ac_ext ;;
   7871 esac
   7872 fi
   7873 
   7874 
   7875 		CFLAGS="$xorg_testset_save_CFLAGS"
   7876 
   7877 		eval supported=\$$cacheid
   7878 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7879 printf "%s\n" "$supported" >&6; }
   7880 		if test "$supported" = "yes" ; then
   7881 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7882 			found="yes"
   7883 		fi
   7884 	fi
   7885 
   7886 
   7887 
   7888 
   7889 
   7890 
   7891 
   7892 
   7893 
   7894 
   7895 
   7896 
   7897 
   7898 
   7899 
   7900 xorg_testset_save_CFLAGS="$CFLAGS"
   7901 
   7902 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7903 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7904 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7905 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7906 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7907 then :
   7908   printf %s "(cached) " >&6
   7909 else case e in #(
   7910   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7911 /* end confdefs.h.  */
   7912 int i;
   7913 _ACEOF
   7914 if ac_fn_c_try_compile "$LINENO"
   7915 then :
   7916   xorg_cv_cc_flag_unknown_warning_option=yes
   7917 else case e in #(
   7918   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7919 esac
   7920 fi
   7921 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7922 esac
   7923 fi
   7924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7925 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7926 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7927 	CFLAGS="$xorg_testset_save_CFLAGS"
   7928 fi
   7929 
   7930 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7931 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7932 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7933 	fi
   7934 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7935 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7936 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7937 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7938 then :
   7939   printf %s "(cached) " >&6
   7940 else case e in #(
   7941   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7942 /* end confdefs.h.  */
   7943 int i;
   7944 _ACEOF
   7945 if ac_fn_c_try_compile "$LINENO"
   7946 then :
   7947   xorg_cv_cc_flag_unused_command_line_argument=yes
   7948 else case e in #(
   7949   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7950 esac
   7951 fi
   7952 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7953 esac
   7954 fi
   7955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7956 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7957 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7958 	CFLAGS="$xorg_testset_save_CFLAGS"
   7959 fi
   7960 
   7961 found="no"
   7962 
   7963 	if test $found = "no" ; then
   7964 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7965 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7966 		fi
   7967 
   7968 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7969 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7970 		fi
   7971 
   7972 		CFLAGS="$CFLAGS -Werror=main"
   7973 
   7974 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7975 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7976 		cacheid=xorg_cv_cc_flag__Werror_main
   7977 		if eval test \${$cacheid+y}
   7978 then :
   7979   printf %s "(cached) " >&6
   7980 else case e in #(
   7981   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7982 /* end confdefs.h.  */
   7983 int i;
   7984 int
   7985 main (void)
   7986 {
   7987 
   7988   ;
   7989   return 0;
   7990 }
   7991 _ACEOF
   7992 if ac_fn_c_try_link "$LINENO"
   7993 then :
   7994   eval $cacheid=yes
   7995 else case e in #(
   7996   e) eval $cacheid=no ;;
   7997 esac
   7998 fi
   7999 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8000     conftest$ac_exeext conftest.$ac_ext ;;
   8001 esac
   8002 fi
   8003 
   8004 
   8005 		CFLAGS="$xorg_testset_save_CFLAGS"
   8006 
   8007 		eval supported=\$$cacheid
   8008 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8009 printf "%s\n" "$supported" >&6; }
   8010 		if test "$supported" = "yes" ; then
   8011 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   8012 			found="yes"
   8013 		fi
   8014 	fi
   8015 
   8016 
   8017 
   8018 
   8019 
   8020 
   8021 
   8022 
   8023 
   8024 
   8025 
   8026 
   8027 
   8028 
   8029 
   8030 xorg_testset_save_CFLAGS="$CFLAGS"
   8031 
   8032 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8033 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8034 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8035 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8036 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8037 then :
   8038   printf %s "(cached) " >&6
   8039 else case e in #(
   8040   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8041 /* end confdefs.h.  */
   8042 int i;
   8043 _ACEOF
   8044 if ac_fn_c_try_compile "$LINENO"
   8045 then :
   8046   xorg_cv_cc_flag_unknown_warning_option=yes
   8047 else case e in #(
   8048   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8049 esac
   8050 fi
   8051 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8052 esac
   8053 fi
   8054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8055 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8056 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8057 	CFLAGS="$xorg_testset_save_CFLAGS"
   8058 fi
   8059 
   8060 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8061 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8062 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8063 	fi
   8064 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8065 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8066 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8067 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8068 then :
   8069   printf %s "(cached) " >&6
   8070 else case e in #(
   8071   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8072 /* end confdefs.h.  */
   8073 int i;
   8074 _ACEOF
   8075 if ac_fn_c_try_compile "$LINENO"
   8076 then :
   8077   xorg_cv_cc_flag_unused_command_line_argument=yes
   8078 else case e in #(
   8079   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8080 esac
   8081 fi
   8082 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8083 esac
   8084 fi
   8085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8086 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8087 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8088 	CFLAGS="$xorg_testset_save_CFLAGS"
   8089 fi
   8090 
   8091 found="no"
   8092 
   8093 	if test $found = "no" ; then
   8094 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8095 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8096 		fi
   8097 
   8098 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8099 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8100 		fi
   8101 
   8102 		CFLAGS="$CFLAGS -Werror=missing-braces"
   8103 
   8104 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   8105 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   8106 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   8107 		if eval test \${$cacheid+y}
   8108 then :
   8109   printf %s "(cached) " >&6
   8110 else case e in #(
   8111   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8112 /* end confdefs.h.  */
   8113 int i;
   8114 int
   8115 main (void)
   8116 {
   8117 
   8118   ;
   8119   return 0;
   8120 }
   8121 _ACEOF
   8122 if ac_fn_c_try_link "$LINENO"
   8123 then :
   8124   eval $cacheid=yes
   8125 else case e in #(
   8126   e) eval $cacheid=no ;;
   8127 esac
   8128 fi
   8129 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8130     conftest$ac_exeext conftest.$ac_ext ;;
   8131 esac
   8132 fi
   8133 
   8134 
   8135 		CFLAGS="$xorg_testset_save_CFLAGS"
   8136 
   8137 		eval supported=\$$cacheid
   8138 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8139 printf "%s\n" "$supported" >&6; }
   8140 		if test "$supported" = "yes" ; then
   8141 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   8142 			found="yes"
   8143 		fi
   8144 	fi
   8145 
   8146 
   8147 
   8148 
   8149 
   8150 
   8151 
   8152 
   8153 
   8154 
   8155 
   8156 
   8157 
   8158 
   8159 
   8160 xorg_testset_save_CFLAGS="$CFLAGS"
   8161 
   8162 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8163 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8164 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8165 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8166 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8167 then :
   8168   printf %s "(cached) " >&6
   8169 else case e in #(
   8170   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8171 /* end confdefs.h.  */
   8172 int i;
   8173 _ACEOF
   8174 if ac_fn_c_try_compile "$LINENO"
   8175 then :
   8176   xorg_cv_cc_flag_unknown_warning_option=yes
   8177 else case e in #(
   8178   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8179 esac
   8180 fi
   8181 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8182 esac
   8183 fi
   8184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8185 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8186 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8187 	CFLAGS="$xorg_testset_save_CFLAGS"
   8188 fi
   8189 
   8190 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8191 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8192 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8193 	fi
   8194 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8195 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8196 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8197 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8198 then :
   8199   printf %s "(cached) " >&6
   8200 else case e in #(
   8201   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8202 /* end confdefs.h.  */
   8203 int i;
   8204 _ACEOF
   8205 if ac_fn_c_try_compile "$LINENO"
   8206 then :
   8207   xorg_cv_cc_flag_unused_command_line_argument=yes
   8208 else case e in #(
   8209   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8210 esac
   8211 fi
   8212 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8213 esac
   8214 fi
   8215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8216 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8217 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8218 	CFLAGS="$xorg_testset_save_CFLAGS"
   8219 fi
   8220 
   8221 found="no"
   8222 
   8223 	if test $found = "no" ; then
   8224 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8225 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8226 		fi
   8227 
   8228 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8229 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8230 		fi
   8231 
   8232 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8233 
   8234 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8235 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   8236 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8237 		if eval test \${$cacheid+y}
   8238 then :
   8239   printf %s "(cached) " >&6
   8240 else case e in #(
   8241   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8242 /* end confdefs.h.  */
   8243 int i;
   8244 int
   8245 main (void)
   8246 {
   8247 
   8248   ;
   8249   return 0;
   8250 }
   8251 _ACEOF
   8252 if ac_fn_c_try_link "$LINENO"
   8253 then :
   8254   eval $cacheid=yes
   8255 else case e in #(
   8256   e) eval $cacheid=no ;;
   8257 esac
   8258 fi
   8259 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8260     conftest$ac_exeext conftest.$ac_ext ;;
   8261 esac
   8262 fi
   8263 
   8264 
   8265 		CFLAGS="$xorg_testset_save_CFLAGS"
   8266 
   8267 		eval supported=\$$cacheid
   8268 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8269 printf "%s\n" "$supported" >&6; }
   8270 		if test "$supported" = "yes" ; then
   8271 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8272 			found="yes"
   8273 		fi
   8274 	fi
   8275 
   8276 
   8277 
   8278 
   8279 
   8280 
   8281 
   8282 
   8283 
   8284 
   8285 
   8286 
   8287 
   8288 
   8289 
   8290 xorg_testset_save_CFLAGS="$CFLAGS"
   8291 
   8292 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8293 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8294 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8295 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8296 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8297 then :
   8298   printf %s "(cached) " >&6
   8299 else case e in #(
   8300   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8301 /* end confdefs.h.  */
   8302 int i;
   8303 _ACEOF
   8304 if ac_fn_c_try_compile "$LINENO"
   8305 then :
   8306   xorg_cv_cc_flag_unknown_warning_option=yes
   8307 else case e in #(
   8308   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8309 esac
   8310 fi
   8311 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8312 esac
   8313 fi
   8314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8315 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8316 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8317 	CFLAGS="$xorg_testset_save_CFLAGS"
   8318 fi
   8319 
   8320 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8321 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8322 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8323 	fi
   8324 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8325 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8326 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8327 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8328 then :
   8329   printf %s "(cached) " >&6
   8330 else case e in #(
   8331   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8332 /* end confdefs.h.  */
   8333 int i;
   8334 _ACEOF
   8335 if ac_fn_c_try_compile "$LINENO"
   8336 then :
   8337   xorg_cv_cc_flag_unused_command_line_argument=yes
   8338 else case e in #(
   8339   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8340 esac
   8341 fi
   8342 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8343 esac
   8344 fi
   8345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8346 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8347 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8348 	CFLAGS="$xorg_testset_save_CFLAGS"
   8349 fi
   8350 
   8351 found="no"
   8352 
   8353 	if test $found = "no" ; then
   8354 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8355 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8356 		fi
   8357 
   8358 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8359 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8360 		fi
   8361 
   8362 		CFLAGS="$CFLAGS -Werror=return-type"
   8363 
   8364 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8365 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8366 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8367 		if eval test \${$cacheid+y}
   8368 then :
   8369   printf %s "(cached) " >&6
   8370 else case e in #(
   8371   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8372 /* end confdefs.h.  */
   8373 int i;
   8374 int
   8375 main (void)
   8376 {
   8377 
   8378   ;
   8379   return 0;
   8380 }
   8381 _ACEOF
   8382 if ac_fn_c_try_link "$LINENO"
   8383 then :
   8384   eval $cacheid=yes
   8385 else case e in #(
   8386   e) eval $cacheid=no ;;
   8387 esac
   8388 fi
   8389 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8390     conftest$ac_exeext conftest.$ac_ext ;;
   8391 esac
   8392 fi
   8393 
   8394 
   8395 		CFLAGS="$xorg_testset_save_CFLAGS"
   8396 
   8397 		eval supported=\$$cacheid
   8398 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8399 printf "%s\n" "$supported" >&6; }
   8400 		if test "$supported" = "yes" ; then
   8401 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8402 			found="yes"
   8403 		fi
   8404 	fi
   8405 
   8406 	if test $found = "no" ; then
   8407 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8408 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8409 		fi
   8410 
   8411 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8412 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8413 		fi
   8414 
   8415 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8416 
   8417 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8418 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8419 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8420 		if eval test \${$cacheid+y}
   8421 then :
   8422   printf %s "(cached) " >&6
   8423 else case e in #(
   8424   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8425 /* end confdefs.h.  */
   8426 int i;
   8427 int
   8428 main (void)
   8429 {
   8430 
   8431   ;
   8432   return 0;
   8433 }
   8434 _ACEOF
   8435 if ac_fn_c_try_link "$LINENO"
   8436 then :
   8437   eval $cacheid=yes
   8438 else case e in #(
   8439   e) eval $cacheid=no ;;
   8440 esac
   8441 fi
   8442 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8443     conftest$ac_exeext conftest.$ac_ext ;;
   8444 esac
   8445 fi
   8446 
   8447 
   8448 		CFLAGS="$xorg_testset_save_CFLAGS"
   8449 
   8450 		eval supported=\$$cacheid
   8451 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8452 printf "%s\n" "$supported" >&6; }
   8453 		if test "$supported" = "yes" ; then
   8454 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8455 			found="yes"
   8456 		fi
   8457 	fi
   8458 
   8459 
   8460 
   8461 
   8462 
   8463 
   8464 
   8465 
   8466 
   8467 
   8468 
   8469 
   8470 
   8471 
   8472 
   8473 xorg_testset_save_CFLAGS="$CFLAGS"
   8474 
   8475 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8476 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8477 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8478 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8479 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8480 then :
   8481   printf %s "(cached) " >&6
   8482 else case e in #(
   8483   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8484 /* end confdefs.h.  */
   8485 int i;
   8486 _ACEOF
   8487 if ac_fn_c_try_compile "$LINENO"
   8488 then :
   8489   xorg_cv_cc_flag_unknown_warning_option=yes
   8490 else case e in #(
   8491   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8492 esac
   8493 fi
   8494 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8495 esac
   8496 fi
   8497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8498 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8499 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8500 	CFLAGS="$xorg_testset_save_CFLAGS"
   8501 fi
   8502 
   8503 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8504 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8505 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8506 	fi
   8507 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8508 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8509 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8510 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8511 then :
   8512   printf %s "(cached) " >&6
   8513 else case e in #(
   8514   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8515 /* end confdefs.h.  */
   8516 int i;
   8517 _ACEOF
   8518 if ac_fn_c_try_compile "$LINENO"
   8519 then :
   8520   xorg_cv_cc_flag_unused_command_line_argument=yes
   8521 else case e in #(
   8522   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8523 esac
   8524 fi
   8525 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8526 esac
   8527 fi
   8528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8529 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8530 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8531 	CFLAGS="$xorg_testset_save_CFLAGS"
   8532 fi
   8533 
   8534 found="no"
   8535 
   8536 	if test $found = "no" ; then
   8537 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8538 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8539 		fi
   8540 
   8541 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8542 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8543 		fi
   8544 
   8545 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8546 
   8547 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8548 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8549 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8550 		if eval test \${$cacheid+y}
   8551 then :
   8552   printf %s "(cached) " >&6
   8553 else case e in #(
   8554   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8555 /* end confdefs.h.  */
   8556 int i;
   8557 int
   8558 main (void)
   8559 {
   8560 
   8561   ;
   8562   return 0;
   8563 }
   8564 _ACEOF
   8565 if ac_fn_c_try_link "$LINENO"
   8566 then :
   8567   eval $cacheid=yes
   8568 else case e in #(
   8569   e) eval $cacheid=no ;;
   8570 esac
   8571 fi
   8572 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8573     conftest$ac_exeext conftest.$ac_ext ;;
   8574 esac
   8575 fi
   8576 
   8577 
   8578 		CFLAGS="$xorg_testset_save_CFLAGS"
   8579 
   8580 		eval supported=\$$cacheid
   8581 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8582 printf "%s\n" "$supported" >&6; }
   8583 		if test "$supported" = "yes" ; then
   8584 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8585 			found="yes"
   8586 		fi
   8587 	fi
   8588 
   8589 
   8590 
   8591 
   8592 
   8593 
   8594 
   8595 
   8596 
   8597 
   8598 
   8599 
   8600 
   8601 
   8602 
   8603 xorg_testset_save_CFLAGS="$CFLAGS"
   8604 
   8605 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8606 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8607 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8608 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8609 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8610 then :
   8611   printf %s "(cached) " >&6
   8612 else case e in #(
   8613   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8614 /* end confdefs.h.  */
   8615 int i;
   8616 _ACEOF
   8617 if ac_fn_c_try_compile "$LINENO"
   8618 then :
   8619   xorg_cv_cc_flag_unknown_warning_option=yes
   8620 else case e in #(
   8621   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8622 esac
   8623 fi
   8624 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8625 esac
   8626 fi
   8627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8628 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8629 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8630 	CFLAGS="$xorg_testset_save_CFLAGS"
   8631 fi
   8632 
   8633 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8634 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8635 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8636 	fi
   8637 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8638 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8639 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8640 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8641 then :
   8642   printf %s "(cached) " >&6
   8643 else case e in #(
   8644   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8645 /* end confdefs.h.  */
   8646 int i;
   8647 _ACEOF
   8648 if ac_fn_c_try_compile "$LINENO"
   8649 then :
   8650   xorg_cv_cc_flag_unused_command_line_argument=yes
   8651 else case e in #(
   8652   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8653 esac
   8654 fi
   8655 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8656 esac
   8657 fi
   8658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8659 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8660 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8661 	CFLAGS="$xorg_testset_save_CFLAGS"
   8662 fi
   8663 
   8664 found="no"
   8665 
   8666 	if test $found = "no" ; then
   8667 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8668 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8669 		fi
   8670 
   8671 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8672 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8673 		fi
   8674 
   8675 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8676 
   8677 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8678 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8679 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8680 		if eval test \${$cacheid+y}
   8681 then :
   8682   printf %s "(cached) " >&6
   8683 else case e in #(
   8684   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8685 /* end confdefs.h.  */
   8686 int i;
   8687 int
   8688 main (void)
   8689 {
   8690 
   8691   ;
   8692   return 0;
   8693 }
   8694 _ACEOF
   8695 if ac_fn_c_try_link "$LINENO"
   8696 then :
   8697   eval $cacheid=yes
   8698 else case e in #(
   8699   e) eval $cacheid=no ;;
   8700 esac
   8701 fi
   8702 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8703     conftest$ac_exeext conftest.$ac_ext ;;
   8704 esac
   8705 fi
   8706 
   8707 
   8708 		CFLAGS="$xorg_testset_save_CFLAGS"
   8709 
   8710 		eval supported=\$$cacheid
   8711 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8712 printf "%s\n" "$supported" >&6; }
   8713 		if test "$supported" = "yes" ; then
   8714 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8715 			found="yes"
   8716 		fi
   8717 	fi
   8718 
   8719 
   8720 
   8721 
   8722 
   8723 
   8724 
   8725 
   8726 
   8727 
   8728 
   8729 
   8730 
   8731 
   8732 
   8733 xorg_testset_save_CFLAGS="$CFLAGS"
   8734 
   8735 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8736 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8737 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8738 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8739 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8740 then :
   8741   printf %s "(cached) " >&6
   8742 else case e in #(
   8743   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8744 /* end confdefs.h.  */
   8745 int i;
   8746 _ACEOF
   8747 if ac_fn_c_try_compile "$LINENO"
   8748 then :
   8749   xorg_cv_cc_flag_unknown_warning_option=yes
   8750 else case e in #(
   8751   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8752 esac
   8753 fi
   8754 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8755 esac
   8756 fi
   8757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8758 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8759 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8760 	CFLAGS="$xorg_testset_save_CFLAGS"
   8761 fi
   8762 
   8763 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8764 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8765 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8766 	fi
   8767 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8768 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8769 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8770 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8771 then :
   8772   printf %s "(cached) " >&6
   8773 else case e in #(
   8774   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8775 /* end confdefs.h.  */
   8776 int i;
   8777 _ACEOF
   8778 if ac_fn_c_try_compile "$LINENO"
   8779 then :
   8780   xorg_cv_cc_flag_unused_command_line_argument=yes
   8781 else case e in #(
   8782   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8783 esac
   8784 fi
   8785 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8786 esac
   8787 fi
   8788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8789 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8790 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8791 	CFLAGS="$xorg_testset_save_CFLAGS"
   8792 fi
   8793 
   8794 found="no"
   8795 
   8796 	if test $found = "no" ; then
   8797 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8798 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8799 		fi
   8800 
   8801 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8802 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8803 		fi
   8804 
   8805 		CFLAGS="$CFLAGS -Werror=write-strings"
   8806 
   8807 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8808 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8809 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8810 		if eval test \${$cacheid+y}
   8811 then :
   8812   printf %s "(cached) " >&6
   8813 else case e in #(
   8814   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8815 /* end confdefs.h.  */
   8816 int i;
   8817 int
   8818 main (void)
   8819 {
   8820 
   8821   ;
   8822   return 0;
   8823 }
   8824 _ACEOF
   8825 if ac_fn_c_try_link "$LINENO"
   8826 then :
   8827   eval $cacheid=yes
   8828 else case e in #(
   8829   e) eval $cacheid=no ;;
   8830 esac
   8831 fi
   8832 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8833     conftest$ac_exeext conftest.$ac_ext ;;
   8834 esac
   8835 fi
   8836 
   8837 
   8838 		CFLAGS="$xorg_testset_save_CFLAGS"
   8839 
   8840 		eval supported=\$$cacheid
   8841 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8842 printf "%s\n" "$supported" >&6; }
   8843 		if test "$supported" = "yes" ; then
   8844 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8845 			found="yes"
   8846 		fi
   8847 	fi
   8848 
   8849 
   8850 
   8851 
   8852 
   8853 
   8854 
   8855 
   8856 
   8857 
   8858 
   8859 
   8860 
   8861 
   8862 
   8863 xorg_testset_save_CFLAGS="$CFLAGS"
   8864 
   8865 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8866 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8867 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8868 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8869 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8870 then :
   8871   printf %s "(cached) " >&6
   8872 else case e in #(
   8873   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8874 /* end confdefs.h.  */
   8875 int i;
   8876 _ACEOF
   8877 if ac_fn_c_try_compile "$LINENO"
   8878 then :
   8879   xorg_cv_cc_flag_unknown_warning_option=yes
   8880 else case e in #(
   8881   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8882 esac
   8883 fi
   8884 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8885 esac
   8886 fi
   8887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8888 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8889 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8890 	CFLAGS="$xorg_testset_save_CFLAGS"
   8891 fi
   8892 
   8893 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8894 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8895 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8896 	fi
   8897 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8898 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8899 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8900 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8901 then :
   8902   printf %s "(cached) " >&6
   8903 else case e in #(
   8904   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8905 /* end confdefs.h.  */
   8906 int i;
   8907 _ACEOF
   8908 if ac_fn_c_try_compile "$LINENO"
   8909 then :
   8910   xorg_cv_cc_flag_unused_command_line_argument=yes
   8911 else case e in #(
   8912   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8913 esac
   8914 fi
   8915 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8916 esac
   8917 fi
   8918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8919 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8920 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8921 	CFLAGS="$xorg_testset_save_CFLAGS"
   8922 fi
   8923 
   8924 found="no"
   8925 
   8926 	if test $found = "no" ; then
   8927 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8928 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8929 		fi
   8930 
   8931 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8932 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8933 		fi
   8934 
   8935 		CFLAGS="$CFLAGS -Werror=address"
   8936 
   8937 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8938 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8939 		cacheid=xorg_cv_cc_flag__Werror_address
   8940 		if eval test \${$cacheid+y}
   8941 then :
   8942   printf %s "(cached) " >&6
   8943 else case e in #(
   8944   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8945 /* end confdefs.h.  */
   8946 int i;
   8947 int
   8948 main (void)
   8949 {
   8950 
   8951   ;
   8952   return 0;
   8953 }
   8954 _ACEOF
   8955 if ac_fn_c_try_link "$LINENO"
   8956 then :
   8957   eval $cacheid=yes
   8958 else case e in #(
   8959   e) eval $cacheid=no ;;
   8960 esac
   8961 fi
   8962 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8963     conftest$ac_exeext conftest.$ac_ext ;;
   8964 esac
   8965 fi
   8966 
   8967 
   8968 		CFLAGS="$xorg_testset_save_CFLAGS"
   8969 
   8970 		eval supported=\$$cacheid
   8971 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8972 printf "%s\n" "$supported" >&6; }
   8973 		if test "$supported" = "yes" ; then
   8974 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8975 			found="yes"
   8976 		fi
   8977 	fi
   8978 
   8979 
   8980 
   8981 
   8982 
   8983 
   8984 
   8985 
   8986 
   8987 
   8988 
   8989 
   8990 
   8991 
   8992 
   8993 xorg_testset_save_CFLAGS="$CFLAGS"
   8994 
   8995 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8996 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8997 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8998 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8999 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9000 then :
   9001   printf %s "(cached) " >&6
   9002 else case e in #(
   9003   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9004 /* end confdefs.h.  */
   9005 int i;
   9006 _ACEOF
   9007 if ac_fn_c_try_compile "$LINENO"
   9008 then :
   9009   xorg_cv_cc_flag_unknown_warning_option=yes
   9010 else case e in #(
   9011   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9012 esac
   9013 fi
   9014 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9015 esac
   9016 fi
   9017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9018 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9019 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9020 	CFLAGS="$xorg_testset_save_CFLAGS"
   9021 fi
   9022 
   9023 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9024 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9025 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9026 	fi
   9027 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9028 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9029 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9030 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9031 then :
   9032   printf %s "(cached) " >&6
   9033 else case e in #(
   9034   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9035 /* end confdefs.h.  */
   9036 int i;
   9037 _ACEOF
   9038 if ac_fn_c_try_compile "$LINENO"
   9039 then :
   9040   xorg_cv_cc_flag_unused_command_line_argument=yes
   9041 else case e in #(
   9042   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9043 esac
   9044 fi
   9045 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9046 esac
   9047 fi
   9048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9049 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9050 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9051 	CFLAGS="$xorg_testset_save_CFLAGS"
   9052 fi
   9053 
   9054 found="no"
   9055 
   9056 	if test $found = "no" ; then
   9057 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9058 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9059 		fi
   9060 
   9061 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9062 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9063 		fi
   9064 
   9065 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   9066 
   9067 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   9068 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   9069 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   9070 		if eval test \${$cacheid+y}
   9071 then :
   9072   printf %s "(cached) " >&6
   9073 else case e in #(
   9074   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9075 /* end confdefs.h.  */
   9076 int i;
   9077 int
   9078 main (void)
   9079 {
   9080 
   9081   ;
   9082   return 0;
   9083 }
   9084 _ACEOF
   9085 if ac_fn_c_try_link "$LINENO"
   9086 then :
   9087   eval $cacheid=yes
   9088 else case e in #(
   9089   e) eval $cacheid=no ;;
   9090 esac
   9091 fi
   9092 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9093     conftest$ac_exeext conftest.$ac_ext ;;
   9094 esac
   9095 fi
   9096 
   9097 
   9098 		CFLAGS="$xorg_testset_save_CFLAGS"
   9099 
   9100 		eval supported=\$$cacheid
   9101 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9102 printf "%s\n" "$supported" >&6; }
   9103 		if test "$supported" = "yes" ; then
   9104 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   9105 			found="yes"
   9106 		fi
   9107 	fi
   9108 
   9109 	if test $found = "no" ; then
   9110 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9111 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9112 		fi
   9113 
   9114 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9115 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9116 		fi
   9117 
   9118 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9119 
   9120 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   9121 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   9122 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   9123 		if eval test \${$cacheid+y}
   9124 then :
   9125   printf %s "(cached) " >&6
   9126 else case e in #(
   9127   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9128 /* end confdefs.h.  */
   9129 int i;
   9130 int
   9131 main (void)
   9132 {
   9133 
   9134   ;
   9135   return 0;
   9136 }
   9137 _ACEOF
   9138 if ac_fn_c_try_link "$LINENO"
   9139 then :
   9140   eval $cacheid=yes
   9141 else case e in #(
   9142   e) eval $cacheid=no ;;
   9143 esac
   9144 fi
   9145 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9146     conftest$ac_exeext conftest.$ac_ext ;;
   9147 esac
   9148 fi
   9149 
   9150 
   9151 		CFLAGS="$xorg_testset_save_CFLAGS"
   9152 
   9153 		eval supported=\$$cacheid
   9154 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9155 printf "%s\n" "$supported" >&6; }
   9156 		if test "$supported" = "yes" ; then
   9157 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9158 			found="yes"
   9159 		fi
   9160 	fi
   9161 
   9162 
   9163 
   9164 
   9165 
   9166 
   9167 
   9168 
   9169 
   9170 
   9171 
   9172 
   9173 
   9174 
   9175 
   9176 xorg_testset_save_CFLAGS="$CFLAGS"
   9177 
   9178 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9179 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9180 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9181 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9182 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9183 then :
   9184   printf %s "(cached) " >&6
   9185 else case e in #(
   9186   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9187 /* end confdefs.h.  */
   9188 int i;
   9189 _ACEOF
   9190 if ac_fn_c_try_compile "$LINENO"
   9191 then :
   9192   xorg_cv_cc_flag_unknown_warning_option=yes
   9193 else case e in #(
   9194   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9195 esac
   9196 fi
   9197 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9198 esac
   9199 fi
   9200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9201 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9202 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9203 	CFLAGS="$xorg_testset_save_CFLAGS"
   9204 fi
   9205 
   9206 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9207 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9208 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9209 	fi
   9210 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9211 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9212 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9213 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9214 then :
   9215   printf %s "(cached) " >&6
   9216 else case e in #(
   9217   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9218 /* end confdefs.h.  */
   9219 int i;
   9220 _ACEOF
   9221 if ac_fn_c_try_compile "$LINENO"
   9222 then :
   9223   xorg_cv_cc_flag_unused_command_line_argument=yes
   9224 else case e in #(
   9225   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9226 esac
   9227 fi
   9228 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9229 esac
   9230 fi
   9231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9232 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9233 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9234 	CFLAGS="$xorg_testset_save_CFLAGS"
   9235 fi
   9236 
   9237 found="no"
   9238 
   9239 	if test $found = "no" ; then
   9240 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9241 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9242 		fi
   9243 
   9244 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9245 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9246 		fi
   9247 
   9248 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   9249 
   9250 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   9251 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   9252 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   9253 		if eval test \${$cacheid+y}
   9254 then :
   9255   printf %s "(cached) " >&6
   9256 else case e in #(
   9257   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9258 /* end confdefs.h.  */
   9259 int i;
   9260 int
   9261 main (void)
   9262 {
   9263 
   9264   ;
   9265   return 0;
   9266 }
   9267 _ACEOF
   9268 if ac_fn_c_try_link "$LINENO"
   9269 then :
   9270   eval $cacheid=yes
   9271 else case e in #(
   9272   e) eval $cacheid=no ;;
   9273 esac
   9274 fi
   9275 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9276     conftest$ac_exeext conftest.$ac_ext ;;
   9277 esac
   9278 fi
   9279 
   9280 
   9281 		CFLAGS="$xorg_testset_save_CFLAGS"
   9282 
   9283 		eval supported=\$$cacheid
   9284 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9285 printf "%s\n" "$supported" >&6; }
   9286 		if test "$supported" = "yes" ; then
   9287 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   9288 			found="yes"
   9289 		fi
   9290 	fi
   9291 
   9292  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   9293 else
   9294 { 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
   9295 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;}
   9296 
   9297 
   9298 
   9299 
   9300 
   9301 
   9302 
   9303 
   9304 
   9305 
   9306 
   9307 
   9308 
   9309 xorg_testset_save_CFLAGS="$CFLAGS"
   9310 
   9311 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9312 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9313 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9314 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9315 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9316 then :
   9317   printf %s "(cached) " >&6
   9318 else case e in #(
   9319   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9320 /* end confdefs.h.  */
   9321 int i;
   9322 _ACEOF
   9323 if ac_fn_c_try_compile "$LINENO"
   9324 then :
   9325   xorg_cv_cc_flag_unknown_warning_option=yes
   9326 else case e in #(
   9327   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9328 esac
   9329 fi
   9330 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9331 esac
   9332 fi
   9333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9334 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9335 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9336 	CFLAGS="$xorg_testset_save_CFLAGS"
   9337 fi
   9338 
   9339 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9340 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9341 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9342 	fi
   9343 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9344 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9345 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9346 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9347 then :
   9348   printf %s "(cached) " >&6
   9349 else case e in #(
   9350   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9351 /* end confdefs.h.  */
   9352 int i;
   9353 _ACEOF
   9354 if ac_fn_c_try_compile "$LINENO"
   9355 then :
   9356   xorg_cv_cc_flag_unused_command_line_argument=yes
   9357 else case e in #(
   9358   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9359 esac
   9360 fi
   9361 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9362 esac
   9363 fi
   9364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9365 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9366 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9367 	CFLAGS="$xorg_testset_save_CFLAGS"
   9368 fi
   9369 
   9370 found="no"
   9371 
   9372 	if test $found = "no" ; then
   9373 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9374 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9375 		fi
   9376 
   9377 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9378 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9379 		fi
   9380 
   9381 		CFLAGS="$CFLAGS -Wimplicit"
   9382 
   9383 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9384 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9385 		cacheid=xorg_cv_cc_flag__Wimplicit
   9386 		if eval test \${$cacheid+y}
   9387 then :
   9388   printf %s "(cached) " >&6
   9389 else case e in #(
   9390   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9391 /* end confdefs.h.  */
   9392 int i;
   9393 int
   9394 main (void)
   9395 {
   9396 
   9397   ;
   9398   return 0;
   9399 }
   9400 _ACEOF
   9401 if ac_fn_c_try_link "$LINENO"
   9402 then :
   9403   eval $cacheid=yes
   9404 else case e in #(
   9405   e) eval $cacheid=no ;;
   9406 esac
   9407 fi
   9408 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9409     conftest$ac_exeext conftest.$ac_ext ;;
   9410 esac
   9411 fi
   9412 
   9413 
   9414 		CFLAGS="$xorg_testset_save_CFLAGS"
   9415 
   9416 		eval supported=\$$cacheid
   9417 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9418 printf "%s\n" "$supported" >&6; }
   9419 		if test "$supported" = "yes" ; then
   9420 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9421 			found="yes"
   9422 		fi
   9423 	fi
   9424 
   9425 
   9426 
   9427 
   9428 
   9429 
   9430 
   9431 
   9432 
   9433 
   9434 
   9435 
   9436 
   9437 
   9438 
   9439 xorg_testset_save_CFLAGS="$CFLAGS"
   9440 
   9441 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9442 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9443 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9444 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9445 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9446 then :
   9447   printf %s "(cached) " >&6
   9448 else case e in #(
   9449   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9450 /* end confdefs.h.  */
   9451 int i;
   9452 _ACEOF
   9453 if ac_fn_c_try_compile "$LINENO"
   9454 then :
   9455   xorg_cv_cc_flag_unknown_warning_option=yes
   9456 else case e in #(
   9457   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9458 esac
   9459 fi
   9460 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9461 esac
   9462 fi
   9463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9464 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9465 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9466 	CFLAGS="$xorg_testset_save_CFLAGS"
   9467 fi
   9468 
   9469 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9470 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9471 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9472 	fi
   9473 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9474 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9475 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9476 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9477 then :
   9478   printf %s "(cached) " >&6
   9479 else case e in #(
   9480   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9481 /* end confdefs.h.  */
   9482 int i;
   9483 _ACEOF
   9484 if ac_fn_c_try_compile "$LINENO"
   9485 then :
   9486   xorg_cv_cc_flag_unused_command_line_argument=yes
   9487 else case e in #(
   9488   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9489 esac
   9490 fi
   9491 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9492 esac
   9493 fi
   9494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9495 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9496 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9497 	CFLAGS="$xorg_testset_save_CFLAGS"
   9498 fi
   9499 
   9500 found="no"
   9501 
   9502 	if test $found = "no" ; then
   9503 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9504 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9505 		fi
   9506 
   9507 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9508 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9509 		fi
   9510 
   9511 		CFLAGS="$CFLAGS -Wnonnull"
   9512 
   9513 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9514 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9515 		cacheid=xorg_cv_cc_flag__Wnonnull
   9516 		if eval test \${$cacheid+y}
   9517 then :
   9518   printf %s "(cached) " >&6
   9519 else case e in #(
   9520   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9521 /* end confdefs.h.  */
   9522 int i;
   9523 int
   9524 main (void)
   9525 {
   9526 
   9527   ;
   9528   return 0;
   9529 }
   9530 _ACEOF
   9531 if ac_fn_c_try_link "$LINENO"
   9532 then :
   9533   eval $cacheid=yes
   9534 else case e in #(
   9535   e) eval $cacheid=no ;;
   9536 esac
   9537 fi
   9538 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9539     conftest$ac_exeext conftest.$ac_ext ;;
   9540 esac
   9541 fi
   9542 
   9543 
   9544 		CFLAGS="$xorg_testset_save_CFLAGS"
   9545 
   9546 		eval supported=\$$cacheid
   9547 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9548 printf "%s\n" "$supported" >&6; }
   9549 		if test "$supported" = "yes" ; then
   9550 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9551 			found="yes"
   9552 		fi
   9553 	fi
   9554 
   9555 
   9556 
   9557 
   9558 
   9559 
   9560 
   9561 
   9562 
   9563 
   9564 
   9565 
   9566 
   9567 
   9568 
   9569 xorg_testset_save_CFLAGS="$CFLAGS"
   9570 
   9571 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9572 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9573 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9574 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9575 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9576 then :
   9577   printf %s "(cached) " >&6
   9578 else case e in #(
   9579   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9580 /* end confdefs.h.  */
   9581 int i;
   9582 _ACEOF
   9583 if ac_fn_c_try_compile "$LINENO"
   9584 then :
   9585   xorg_cv_cc_flag_unknown_warning_option=yes
   9586 else case e in #(
   9587   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9588 esac
   9589 fi
   9590 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9591 esac
   9592 fi
   9593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9594 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9595 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9596 	CFLAGS="$xorg_testset_save_CFLAGS"
   9597 fi
   9598 
   9599 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9600 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9601 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9602 	fi
   9603 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9604 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9605 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9606 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9607 then :
   9608   printf %s "(cached) " >&6
   9609 else case e in #(
   9610   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9611 /* end confdefs.h.  */
   9612 int i;
   9613 _ACEOF
   9614 if ac_fn_c_try_compile "$LINENO"
   9615 then :
   9616   xorg_cv_cc_flag_unused_command_line_argument=yes
   9617 else case e in #(
   9618   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9619 esac
   9620 fi
   9621 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9622 esac
   9623 fi
   9624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9625 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9626 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9627 	CFLAGS="$xorg_testset_save_CFLAGS"
   9628 fi
   9629 
   9630 found="no"
   9631 
   9632 	if test $found = "no" ; then
   9633 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9634 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9635 		fi
   9636 
   9637 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9638 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9639 		fi
   9640 
   9641 		CFLAGS="$CFLAGS -Winit-self"
   9642 
   9643 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9644 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9645 		cacheid=xorg_cv_cc_flag__Winit_self
   9646 		if eval test \${$cacheid+y}
   9647 then :
   9648   printf %s "(cached) " >&6
   9649 else case e in #(
   9650   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9651 /* end confdefs.h.  */
   9652 int i;
   9653 int
   9654 main (void)
   9655 {
   9656 
   9657   ;
   9658   return 0;
   9659 }
   9660 _ACEOF
   9661 if ac_fn_c_try_link "$LINENO"
   9662 then :
   9663   eval $cacheid=yes
   9664 else case e in #(
   9665   e) eval $cacheid=no ;;
   9666 esac
   9667 fi
   9668 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9669     conftest$ac_exeext conftest.$ac_ext ;;
   9670 esac
   9671 fi
   9672 
   9673 
   9674 		CFLAGS="$xorg_testset_save_CFLAGS"
   9675 
   9676 		eval supported=\$$cacheid
   9677 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9678 printf "%s\n" "$supported" >&6; }
   9679 		if test "$supported" = "yes" ; then
   9680 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9681 			found="yes"
   9682 		fi
   9683 	fi
   9684 
   9685 
   9686 
   9687 
   9688 
   9689 
   9690 
   9691 
   9692 
   9693 
   9694 
   9695 
   9696 
   9697 
   9698 
   9699 xorg_testset_save_CFLAGS="$CFLAGS"
   9700 
   9701 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9702 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9703 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9704 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9705 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9706 then :
   9707   printf %s "(cached) " >&6
   9708 else case e in #(
   9709   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9710 /* end confdefs.h.  */
   9711 int i;
   9712 _ACEOF
   9713 if ac_fn_c_try_compile "$LINENO"
   9714 then :
   9715   xorg_cv_cc_flag_unknown_warning_option=yes
   9716 else case e in #(
   9717   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9718 esac
   9719 fi
   9720 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9721 esac
   9722 fi
   9723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9724 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9725 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9726 	CFLAGS="$xorg_testset_save_CFLAGS"
   9727 fi
   9728 
   9729 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9730 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9731 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9732 	fi
   9733 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9734 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9735 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9736 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9737 then :
   9738   printf %s "(cached) " >&6
   9739 else case e in #(
   9740   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9741 /* end confdefs.h.  */
   9742 int i;
   9743 _ACEOF
   9744 if ac_fn_c_try_compile "$LINENO"
   9745 then :
   9746   xorg_cv_cc_flag_unused_command_line_argument=yes
   9747 else case e in #(
   9748   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9749 esac
   9750 fi
   9751 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9752 esac
   9753 fi
   9754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9755 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9756 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9757 	CFLAGS="$xorg_testset_save_CFLAGS"
   9758 fi
   9759 
   9760 found="no"
   9761 
   9762 	if test $found = "no" ; then
   9763 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9764 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9765 		fi
   9766 
   9767 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9768 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9769 		fi
   9770 
   9771 		CFLAGS="$CFLAGS -Wmain"
   9772 
   9773 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9774 printf %s "checking if $CC supports -Wmain... " >&6; }
   9775 		cacheid=xorg_cv_cc_flag__Wmain
   9776 		if eval test \${$cacheid+y}
   9777 then :
   9778   printf %s "(cached) " >&6
   9779 else case e in #(
   9780   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9781 /* end confdefs.h.  */
   9782 int i;
   9783 int
   9784 main (void)
   9785 {
   9786 
   9787   ;
   9788   return 0;
   9789 }
   9790 _ACEOF
   9791 if ac_fn_c_try_link "$LINENO"
   9792 then :
   9793   eval $cacheid=yes
   9794 else case e in #(
   9795   e) eval $cacheid=no ;;
   9796 esac
   9797 fi
   9798 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9799     conftest$ac_exeext conftest.$ac_ext ;;
   9800 esac
   9801 fi
   9802 
   9803 
   9804 		CFLAGS="$xorg_testset_save_CFLAGS"
   9805 
   9806 		eval supported=\$$cacheid
   9807 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9808 printf "%s\n" "$supported" >&6; }
   9809 		if test "$supported" = "yes" ; then
   9810 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9811 			found="yes"
   9812 		fi
   9813 	fi
   9814 
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 
   9826 
   9827 
   9828 
   9829 xorg_testset_save_CFLAGS="$CFLAGS"
   9830 
   9831 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9832 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9833 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9834 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9835 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9836 then :
   9837   printf %s "(cached) " >&6
   9838 else case e in #(
   9839   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9840 /* end confdefs.h.  */
   9841 int i;
   9842 _ACEOF
   9843 if ac_fn_c_try_compile "$LINENO"
   9844 then :
   9845   xorg_cv_cc_flag_unknown_warning_option=yes
   9846 else case e in #(
   9847   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9848 esac
   9849 fi
   9850 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9851 esac
   9852 fi
   9853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9854 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9855 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9856 	CFLAGS="$xorg_testset_save_CFLAGS"
   9857 fi
   9858 
   9859 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9860 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9861 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9862 	fi
   9863 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9864 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9865 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9866 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9867 then :
   9868   printf %s "(cached) " >&6
   9869 else case e in #(
   9870   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9871 /* end confdefs.h.  */
   9872 int i;
   9873 _ACEOF
   9874 if ac_fn_c_try_compile "$LINENO"
   9875 then :
   9876   xorg_cv_cc_flag_unused_command_line_argument=yes
   9877 else case e in #(
   9878   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9879 esac
   9880 fi
   9881 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9882 esac
   9883 fi
   9884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9885 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9886 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9887 	CFLAGS="$xorg_testset_save_CFLAGS"
   9888 fi
   9889 
   9890 found="no"
   9891 
   9892 	if test $found = "no" ; then
   9893 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9894 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9895 		fi
   9896 
   9897 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9898 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9899 		fi
   9900 
   9901 		CFLAGS="$CFLAGS -Wmissing-braces"
   9902 
   9903 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9904 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9905 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9906 		if eval test \${$cacheid+y}
   9907 then :
   9908   printf %s "(cached) " >&6
   9909 else case e in #(
   9910   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9911 /* end confdefs.h.  */
   9912 int i;
   9913 int
   9914 main (void)
   9915 {
   9916 
   9917   ;
   9918   return 0;
   9919 }
   9920 _ACEOF
   9921 if ac_fn_c_try_link "$LINENO"
   9922 then :
   9923   eval $cacheid=yes
   9924 else case e in #(
   9925   e) eval $cacheid=no ;;
   9926 esac
   9927 fi
   9928 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9929     conftest$ac_exeext conftest.$ac_ext ;;
   9930 esac
   9931 fi
   9932 
   9933 
   9934 		CFLAGS="$xorg_testset_save_CFLAGS"
   9935 
   9936 		eval supported=\$$cacheid
   9937 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9938 printf "%s\n" "$supported" >&6; }
   9939 		if test "$supported" = "yes" ; then
   9940 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9941 			found="yes"
   9942 		fi
   9943 	fi
   9944 
   9945 
   9946 
   9947 
   9948 
   9949 
   9950 
   9951 
   9952 
   9953 
   9954 
   9955 
   9956 
   9957 
   9958 
   9959 xorg_testset_save_CFLAGS="$CFLAGS"
   9960 
   9961 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9962 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9963 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9964 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9965 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9966 then :
   9967   printf %s "(cached) " >&6
   9968 else case e in #(
   9969   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9970 /* end confdefs.h.  */
   9971 int i;
   9972 _ACEOF
   9973 if ac_fn_c_try_compile "$LINENO"
   9974 then :
   9975   xorg_cv_cc_flag_unknown_warning_option=yes
   9976 else case e in #(
   9977   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9978 esac
   9979 fi
   9980 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9981 esac
   9982 fi
   9983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9984 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9985 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9986 	CFLAGS="$xorg_testset_save_CFLAGS"
   9987 fi
   9988 
   9989 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9990 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9991 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9992 	fi
   9993 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9994 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9995 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9996 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9997 then :
   9998   printf %s "(cached) " >&6
   9999 else case e in #(
   10000   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10001 /* end confdefs.h.  */
   10002 int i;
   10003 _ACEOF
   10004 if ac_fn_c_try_compile "$LINENO"
   10005 then :
   10006   xorg_cv_cc_flag_unused_command_line_argument=yes
   10007 else case e in #(
   10008   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10009 esac
   10010 fi
   10011 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10012 esac
   10013 fi
   10014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10015 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10016 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10017 	CFLAGS="$xorg_testset_save_CFLAGS"
   10018 fi
   10019 
   10020 found="no"
   10021 
   10022 	if test $found = "no" ; then
   10023 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10024 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10025 		fi
   10026 
   10027 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10028 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10029 		fi
   10030 
   10031 		CFLAGS="$CFLAGS -Wsequence-point"
   10032 
   10033 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   10034 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   10035 		cacheid=xorg_cv_cc_flag__Wsequence_point
   10036 		if eval test \${$cacheid+y}
   10037 then :
   10038   printf %s "(cached) " >&6
   10039 else case e in #(
   10040   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10041 /* end confdefs.h.  */
   10042 int i;
   10043 int
   10044 main (void)
   10045 {
   10046 
   10047   ;
   10048   return 0;
   10049 }
   10050 _ACEOF
   10051 if ac_fn_c_try_link "$LINENO"
   10052 then :
   10053   eval $cacheid=yes
   10054 else case e in #(
   10055   e) eval $cacheid=no ;;
   10056 esac
   10057 fi
   10058 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10059     conftest$ac_exeext conftest.$ac_ext ;;
   10060 esac
   10061 fi
   10062 
   10063 
   10064 		CFLAGS="$xorg_testset_save_CFLAGS"
   10065 
   10066 		eval supported=\$$cacheid
   10067 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10068 printf "%s\n" "$supported" >&6; }
   10069 		if test "$supported" = "yes" ; then
   10070 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   10071 			found="yes"
   10072 		fi
   10073 	fi
   10074 
   10075 
   10076 
   10077 
   10078 
   10079 
   10080 
   10081 
   10082 
   10083 
   10084 
   10085 
   10086 
   10087 
   10088 
   10089 xorg_testset_save_CFLAGS="$CFLAGS"
   10090 
   10091 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10092 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10093 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10094 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10095 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10096 then :
   10097   printf %s "(cached) " >&6
   10098 else case e in #(
   10099   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10100 /* end confdefs.h.  */
   10101 int i;
   10102 _ACEOF
   10103 if ac_fn_c_try_compile "$LINENO"
   10104 then :
   10105   xorg_cv_cc_flag_unknown_warning_option=yes
   10106 else case e in #(
   10107   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10108 esac
   10109 fi
   10110 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10111 esac
   10112 fi
   10113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10114 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10115 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10116 	CFLAGS="$xorg_testset_save_CFLAGS"
   10117 fi
   10118 
   10119 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10120 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10121 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10122 	fi
   10123 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10124 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10125 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10126 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10127 then :
   10128   printf %s "(cached) " >&6
   10129 else case e in #(
   10130   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10131 /* end confdefs.h.  */
   10132 int i;
   10133 _ACEOF
   10134 if ac_fn_c_try_compile "$LINENO"
   10135 then :
   10136   xorg_cv_cc_flag_unused_command_line_argument=yes
   10137 else case e in #(
   10138   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10139 esac
   10140 fi
   10141 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10142 esac
   10143 fi
   10144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10145 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10146 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10147 	CFLAGS="$xorg_testset_save_CFLAGS"
   10148 fi
   10149 
   10150 found="no"
   10151 
   10152 	if test $found = "no" ; then
   10153 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10154 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10155 		fi
   10156 
   10157 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10158 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10159 		fi
   10160 
   10161 		CFLAGS="$CFLAGS -Wreturn-type"
   10162 
   10163 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   10164 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   10165 		cacheid=xorg_cv_cc_flag__Wreturn_type
   10166 		if eval test \${$cacheid+y}
   10167 then :
   10168   printf %s "(cached) " >&6
   10169 else case e in #(
   10170   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10171 /* end confdefs.h.  */
   10172 int i;
   10173 int
   10174 main (void)
   10175 {
   10176 
   10177   ;
   10178   return 0;
   10179 }
   10180 _ACEOF
   10181 if ac_fn_c_try_link "$LINENO"
   10182 then :
   10183   eval $cacheid=yes
   10184 else case e in #(
   10185   e) eval $cacheid=no ;;
   10186 esac
   10187 fi
   10188 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10189     conftest$ac_exeext conftest.$ac_ext ;;
   10190 esac
   10191 fi
   10192 
   10193 
   10194 		CFLAGS="$xorg_testset_save_CFLAGS"
   10195 
   10196 		eval supported=\$$cacheid
   10197 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10198 printf "%s\n" "$supported" >&6; }
   10199 		if test "$supported" = "yes" ; then
   10200 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   10201 			found="yes"
   10202 		fi
   10203 	fi
   10204 
   10205 
   10206 
   10207 
   10208 
   10209 
   10210 
   10211 
   10212 
   10213 
   10214 
   10215 
   10216 
   10217 
   10218 
   10219 xorg_testset_save_CFLAGS="$CFLAGS"
   10220 
   10221 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10222 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10223 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10224 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10225 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10226 then :
   10227   printf %s "(cached) " >&6
   10228 else case e in #(
   10229   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10230 /* end confdefs.h.  */
   10231 int i;
   10232 _ACEOF
   10233 if ac_fn_c_try_compile "$LINENO"
   10234 then :
   10235   xorg_cv_cc_flag_unknown_warning_option=yes
   10236 else case e in #(
   10237   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10238 esac
   10239 fi
   10240 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10241 esac
   10242 fi
   10243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10244 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10245 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10246 	CFLAGS="$xorg_testset_save_CFLAGS"
   10247 fi
   10248 
   10249 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10250 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10251 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10252 	fi
   10253 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10254 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10255 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10256 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10257 then :
   10258   printf %s "(cached) " >&6
   10259 else case e in #(
   10260   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10261 /* end confdefs.h.  */
   10262 int i;
   10263 _ACEOF
   10264 if ac_fn_c_try_compile "$LINENO"
   10265 then :
   10266   xorg_cv_cc_flag_unused_command_line_argument=yes
   10267 else case e in #(
   10268   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10269 esac
   10270 fi
   10271 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10272 esac
   10273 fi
   10274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10275 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10276 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10277 	CFLAGS="$xorg_testset_save_CFLAGS"
   10278 fi
   10279 
   10280 found="no"
   10281 
   10282 	if test $found = "no" ; then
   10283 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10284 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10285 		fi
   10286 
   10287 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10288 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10289 		fi
   10290 
   10291 		CFLAGS="$CFLAGS -Wtrigraphs"
   10292 
   10293 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   10294 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   10295 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   10296 		if eval test \${$cacheid+y}
   10297 then :
   10298   printf %s "(cached) " >&6
   10299 else case e in #(
   10300   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10301 /* end confdefs.h.  */
   10302 int i;
   10303 int
   10304 main (void)
   10305 {
   10306 
   10307   ;
   10308   return 0;
   10309 }
   10310 _ACEOF
   10311 if ac_fn_c_try_link "$LINENO"
   10312 then :
   10313   eval $cacheid=yes
   10314 else case e in #(
   10315   e) eval $cacheid=no ;;
   10316 esac
   10317 fi
   10318 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10319     conftest$ac_exeext conftest.$ac_ext ;;
   10320 esac
   10321 fi
   10322 
   10323 
   10324 		CFLAGS="$xorg_testset_save_CFLAGS"
   10325 
   10326 		eval supported=\$$cacheid
   10327 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10328 printf "%s\n" "$supported" >&6; }
   10329 		if test "$supported" = "yes" ; then
   10330 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   10331 			found="yes"
   10332 		fi
   10333 	fi
   10334 
   10335 
   10336 
   10337 
   10338 
   10339 
   10340 
   10341 
   10342 
   10343 
   10344 
   10345 
   10346 
   10347 
   10348 
   10349 xorg_testset_save_CFLAGS="$CFLAGS"
   10350 
   10351 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10352 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10353 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10354 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10355 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10356 then :
   10357   printf %s "(cached) " >&6
   10358 else case e in #(
   10359   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10360 /* end confdefs.h.  */
   10361 int i;
   10362 _ACEOF
   10363 if ac_fn_c_try_compile "$LINENO"
   10364 then :
   10365   xorg_cv_cc_flag_unknown_warning_option=yes
   10366 else case e in #(
   10367   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10368 esac
   10369 fi
   10370 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10371 esac
   10372 fi
   10373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10374 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10375 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10376 	CFLAGS="$xorg_testset_save_CFLAGS"
   10377 fi
   10378 
   10379 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10380 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10381 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10382 	fi
   10383 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10384 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10385 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10386 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10387 then :
   10388   printf %s "(cached) " >&6
   10389 else case e in #(
   10390   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10391 /* end confdefs.h.  */
   10392 int i;
   10393 _ACEOF
   10394 if ac_fn_c_try_compile "$LINENO"
   10395 then :
   10396   xorg_cv_cc_flag_unused_command_line_argument=yes
   10397 else case e in #(
   10398   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10399 esac
   10400 fi
   10401 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10402 esac
   10403 fi
   10404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10405 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10406 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10407 	CFLAGS="$xorg_testset_save_CFLAGS"
   10408 fi
   10409 
   10410 found="no"
   10411 
   10412 	if test $found = "no" ; then
   10413 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10414 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10415 		fi
   10416 
   10417 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10418 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10419 		fi
   10420 
   10421 		CFLAGS="$CFLAGS -Warray-bounds"
   10422 
   10423 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10424 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10425 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10426 		if eval test \${$cacheid+y}
   10427 then :
   10428   printf %s "(cached) " >&6
   10429 else case e in #(
   10430   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10431 /* end confdefs.h.  */
   10432 int i;
   10433 int
   10434 main (void)
   10435 {
   10436 
   10437   ;
   10438   return 0;
   10439 }
   10440 _ACEOF
   10441 if ac_fn_c_try_link "$LINENO"
   10442 then :
   10443   eval $cacheid=yes
   10444 else case e in #(
   10445   e) eval $cacheid=no ;;
   10446 esac
   10447 fi
   10448 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10449     conftest$ac_exeext conftest.$ac_ext ;;
   10450 esac
   10451 fi
   10452 
   10453 
   10454 		CFLAGS="$xorg_testset_save_CFLAGS"
   10455 
   10456 		eval supported=\$$cacheid
   10457 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10458 printf "%s\n" "$supported" >&6; }
   10459 		if test "$supported" = "yes" ; then
   10460 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10461 			found="yes"
   10462 		fi
   10463 	fi
   10464 
   10465 
   10466 
   10467 
   10468 
   10469 
   10470 
   10471 
   10472 
   10473 
   10474 
   10475 
   10476 
   10477 
   10478 
   10479 xorg_testset_save_CFLAGS="$CFLAGS"
   10480 
   10481 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10482 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10483 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10484 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10485 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10486 then :
   10487   printf %s "(cached) " >&6
   10488 else case e in #(
   10489   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10490 /* end confdefs.h.  */
   10491 int i;
   10492 _ACEOF
   10493 if ac_fn_c_try_compile "$LINENO"
   10494 then :
   10495   xorg_cv_cc_flag_unknown_warning_option=yes
   10496 else case e in #(
   10497   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10498 esac
   10499 fi
   10500 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10501 esac
   10502 fi
   10503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10504 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10505 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10506 	CFLAGS="$xorg_testset_save_CFLAGS"
   10507 fi
   10508 
   10509 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10510 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10511 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10512 	fi
   10513 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10514 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10515 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10516 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10517 then :
   10518   printf %s "(cached) " >&6
   10519 else case e in #(
   10520   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10521 /* end confdefs.h.  */
   10522 int i;
   10523 _ACEOF
   10524 if ac_fn_c_try_compile "$LINENO"
   10525 then :
   10526   xorg_cv_cc_flag_unused_command_line_argument=yes
   10527 else case e in #(
   10528   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10529 esac
   10530 fi
   10531 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10532 esac
   10533 fi
   10534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10535 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10536 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10537 	CFLAGS="$xorg_testset_save_CFLAGS"
   10538 fi
   10539 
   10540 found="no"
   10541 
   10542 	if test $found = "no" ; then
   10543 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10544 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10545 		fi
   10546 
   10547 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10548 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10549 		fi
   10550 
   10551 		CFLAGS="$CFLAGS -Wwrite-strings"
   10552 
   10553 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10554 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10555 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10556 		if eval test \${$cacheid+y}
   10557 then :
   10558   printf %s "(cached) " >&6
   10559 else case e in #(
   10560   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10561 /* end confdefs.h.  */
   10562 int i;
   10563 int
   10564 main (void)
   10565 {
   10566 
   10567   ;
   10568   return 0;
   10569 }
   10570 _ACEOF
   10571 if ac_fn_c_try_link "$LINENO"
   10572 then :
   10573   eval $cacheid=yes
   10574 else case e in #(
   10575   e) eval $cacheid=no ;;
   10576 esac
   10577 fi
   10578 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10579     conftest$ac_exeext conftest.$ac_ext ;;
   10580 esac
   10581 fi
   10582 
   10583 
   10584 		CFLAGS="$xorg_testset_save_CFLAGS"
   10585 
   10586 		eval supported=\$$cacheid
   10587 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10588 printf "%s\n" "$supported" >&6; }
   10589 		if test "$supported" = "yes" ; then
   10590 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10591 			found="yes"
   10592 		fi
   10593 	fi
   10594 
   10595 
   10596 
   10597 
   10598 
   10599 
   10600 
   10601 
   10602 
   10603 
   10604 
   10605 
   10606 
   10607 
   10608 
   10609 xorg_testset_save_CFLAGS="$CFLAGS"
   10610 
   10611 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10612 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10613 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10614 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10615 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10616 then :
   10617   printf %s "(cached) " >&6
   10618 else case e in #(
   10619   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10620 /* end confdefs.h.  */
   10621 int i;
   10622 _ACEOF
   10623 if ac_fn_c_try_compile "$LINENO"
   10624 then :
   10625   xorg_cv_cc_flag_unknown_warning_option=yes
   10626 else case e in #(
   10627   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10628 esac
   10629 fi
   10630 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10631 esac
   10632 fi
   10633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10634 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10635 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10636 	CFLAGS="$xorg_testset_save_CFLAGS"
   10637 fi
   10638 
   10639 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10640 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10641 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10642 	fi
   10643 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10644 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10645 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10646 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10647 then :
   10648   printf %s "(cached) " >&6
   10649 else case e in #(
   10650   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10651 /* end confdefs.h.  */
   10652 int i;
   10653 _ACEOF
   10654 if ac_fn_c_try_compile "$LINENO"
   10655 then :
   10656   xorg_cv_cc_flag_unused_command_line_argument=yes
   10657 else case e in #(
   10658   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10659 esac
   10660 fi
   10661 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10662 esac
   10663 fi
   10664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10665 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10666 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10667 	CFLAGS="$xorg_testset_save_CFLAGS"
   10668 fi
   10669 
   10670 found="no"
   10671 
   10672 	if test $found = "no" ; then
   10673 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10674 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10675 		fi
   10676 
   10677 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10678 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10679 		fi
   10680 
   10681 		CFLAGS="$CFLAGS -Waddress"
   10682 
   10683 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10684 printf %s "checking if $CC supports -Waddress... " >&6; }
   10685 		cacheid=xorg_cv_cc_flag__Waddress
   10686 		if eval test \${$cacheid+y}
   10687 then :
   10688   printf %s "(cached) " >&6
   10689 else case e in #(
   10690   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10691 /* end confdefs.h.  */
   10692 int i;
   10693 int
   10694 main (void)
   10695 {
   10696 
   10697   ;
   10698   return 0;
   10699 }
   10700 _ACEOF
   10701 if ac_fn_c_try_link "$LINENO"
   10702 then :
   10703   eval $cacheid=yes
   10704 else case e in #(
   10705   e) eval $cacheid=no ;;
   10706 esac
   10707 fi
   10708 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10709     conftest$ac_exeext conftest.$ac_ext ;;
   10710 esac
   10711 fi
   10712 
   10713 
   10714 		CFLAGS="$xorg_testset_save_CFLAGS"
   10715 
   10716 		eval supported=\$$cacheid
   10717 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10718 printf "%s\n" "$supported" >&6; }
   10719 		if test "$supported" = "yes" ; then
   10720 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10721 			found="yes"
   10722 		fi
   10723 	fi
   10724 
   10725 
   10726 
   10727 
   10728 
   10729 
   10730 
   10731 
   10732 
   10733 
   10734 
   10735 
   10736 
   10737 
   10738 
   10739 xorg_testset_save_CFLAGS="$CFLAGS"
   10740 
   10741 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10742 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10743 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10744 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10745 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10746 then :
   10747   printf %s "(cached) " >&6
   10748 else case e in #(
   10749   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10750 /* end confdefs.h.  */
   10751 int i;
   10752 _ACEOF
   10753 if ac_fn_c_try_compile "$LINENO"
   10754 then :
   10755   xorg_cv_cc_flag_unknown_warning_option=yes
   10756 else case e in #(
   10757   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10758 esac
   10759 fi
   10760 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10761 esac
   10762 fi
   10763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10764 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10765 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10766 	CFLAGS="$xorg_testset_save_CFLAGS"
   10767 fi
   10768 
   10769 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10770 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10771 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10772 	fi
   10773 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10774 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10775 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10776 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10777 then :
   10778   printf %s "(cached) " >&6
   10779 else case e in #(
   10780   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10781 /* end confdefs.h.  */
   10782 int i;
   10783 _ACEOF
   10784 if ac_fn_c_try_compile "$LINENO"
   10785 then :
   10786   xorg_cv_cc_flag_unused_command_line_argument=yes
   10787 else case e in #(
   10788   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10789 esac
   10790 fi
   10791 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10792 esac
   10793 fi
   10794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10795 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10796 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10797 	CFLAGS="$xorg_testset_save_CFLAGS"
   10798 fi
   10799 
   10800 found="no"
   10801 
   10802 	if test $found = "no" ; then
   10803 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10804 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10805 		fi
   10806 
   10807 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10808 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10809 		fi
   10810 
   10811 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10812 
   10813 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10814 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10815 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10816 		if eval test \${$cacheid+y}
   10817 then :
   10818   printf %s "(cached) " >&6
   10819 else case e in #(
   10820   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10821 /* end confdefs.h.  */
   10822 int i;
   10823 int
   10824 main (void)
   10825 {
   10826 
   10827   ;
   10828   return 0;
   10829 }
   10830 _ACEOF
   10831 if ac_fn_c_try_link "$LINENO"
   10832 then :
   10833   eval $cacheid=yes
   10834 else case e in #(
   10835   e) eval $cacheid=no ;;
   10836 esac
   10837 fi
   10838 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10839     conftest$ac_exeext conftest.$ac_ext ;;
   10840 esac
   10841 fi
   10842 
   10843 
   10844 		CFLAGS="$xorg_testset_save_CFLAGS"
   10845 
   10846 		eval supported=\$$cacheid
   10847 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10848 printf "%s\n" "$supported" >&6; }
   10849 		if test "$supported" = "yes" ; then
   10850 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10851 			found="yes"
   10852 		fi
   10853 	fi
   10854 
   10855 
   10856 
   10857 
   10858 
   10859 
   10860 
   10861 
   10862 
   10863 
   10864 
   10865 
   10866 
   10867 
   10868 
   10869 xorg_testset_save_CFLAGS="$CFLAGS"
   10870 
   10871 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10872 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10873 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10874 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10875 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10876 then :
   10877   printf %s "(cached) " >&6
   10878 else case e in #(
   10879   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10880 /* end confdefs.h.  */
   10881 int i;
   10882 _ACEOF
   10883 if ac_fn_c_try_compile "$LINENO"
   10884 then :
   10885   xorg_cv_cc_flag_unknown_warning_option=yes
   10886 else case e in #(
   10887   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10888 esac
   10889 fi
   10890 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10891 esac
   10892 fi
   10893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10894 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10895 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10896 	CFLAGS="$xorg_testset_save_CFLAGS"
   10897 fi
   10898 
   10899 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10900 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10901 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10902 	fi
   10903 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10904 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10905 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10906 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10907 then :
   10908   printf %s "(cached) " >&6
   10909 else case e in #(
   10910   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10911 /* end confdefs.h.  */
   10912 int i;
   10913 _ACEOF
   10914 if ac_fn_c_try_compile "$LINENO"
   10915 then :
   10916   xorg_cv_cc_flag_unused_command_line_argument=yes
   10917 else case e in #(
   10918   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10919 esac
   10920 fi
   10921 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10922 esac
   10923 fi
   10924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10925 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10926 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10927 	CFLAGS="$xorg_testset_save_CFLAGS"
   10928 fi
   10929 
   10930 found="no"
   10931 
   10932 	if test $found = "no" ; then
   10933 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10934 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10935 		fi
   10936 
   10937 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10938 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10939 		fi
   10940 
   10941 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10942 
   10943 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10944 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10945 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10946 		if eval test \${$cacheid+y}
   10947 then :
   10948   printf %s "(cached) " >&6
   10949 else case e in #(
   10950   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10951 /* end confdefs.h.  */
   10952 int i;
   10953 int
   10954 main (void)
   10955 {
   10956 
   10957   ;
   10958   return 0;
   10959 }
   10960 _ACEOF
   10961 if ac_fn_c_try_link "$LINENO"
   10962 then :
   10963   eval $cacheid=yes
   10964 else case e in #(
   10965   e) eval $cacheid=no ;;
   10966 esac
   10967 fi
   10968 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10969     conftest$ac_exeext conftest.$ac_ext ;;
   10970 esac
   10971 fi
   10972 
   10973 
   10974 		CFLAGS="$xorg_testset_save_CFLAGS"
   10975 
   10976 		eval supported=\$$cacheid
   10977 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10978 printf "%s\n" "$supported" >&6; }
   10979 		if test "$supported" = "yes" ; then
   10980 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10981 			found="yes"
   10982 		fi
   10983 	fi
   10984 
   10985 
   10986 fi
   10987 
   10988 
   10989 
   10990 
   10991 
   10992 
   10993 
   10994 		CWARNFLAGS="$BASE_CFLAGS"
   10995 		if  test "x$GCC" = xyes ; then
   10996 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10997 		fi
   10998 
   10999 
   11000 
   11001 
   11002 
   11003 
   11004 
   11005 
   11006 # Check whether --enable-strict-compilation was given.
   11007 if test ${enable_strict_compilation+y}
   11008 then :
   11009   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   11010 else case e in #(
   11011   e) STRICT_COMPILE=no ;;
   11012 esac
   11013 fi
   11014 
   11015 
   11016 
   11017 
   11018 
   11019 
   11020 STRICT_CFLAGS=""
   11021 
   11022 
   11023 
   11024 
   11025 
   11026 
   11027 
   11028 
   11029 
   11030 
   11031 
   11032 
   11033 
   11034 xorg_testset_save_CFLAGS="$CFLAGS"
   11035 
   11036 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11037 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11038 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11039 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11040 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11041 then :
   11042   printf %s "(cached) " >&6
   11043 else case e in #(
   11044   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11045 /* end confdefs.h.  */
   11046 int i;
   11047 _ACEOF
   11048 if ac_fn_c_try_compile "$LINENO"
   11049 then :
   11050   xorg_cv_cc_flag_unknown_warning_option=yes
   11051 else case e in #(
   11052   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11053 esac
   11054 fi
   11055 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11056 esac
   11057 fi
   11058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11059 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11060 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11061 	CFLAGS="$xorg_testset_save_CFLAGS"
   11062 fi
   11063 
   11064 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11065 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11066 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11067 	fi
   11068 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11069 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11070 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11071 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11072 then :
   11073   printf %s "(cached) " >&6
   11074 else case e in #(
   11075   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11076 /* end confdefs.h.  */
   11077 int i;
   11078 _ACEOF
   11079 if ac_fn_c_try_compile "$LINENO"
   11080 then :
   11081   xorg_cv_cc_flag_unused_command_line_argument=yes
   11082 else case e in #(
   11083   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11084 esac
   11085 fi
   11086 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11087 esac
   11088 fi
   11089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11090 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11091 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11092 	CFLAGS="$xorg_testset_save_CFLAGS"
   11093 fi
   11094 
   11095 found="no"
   11096 
   11097 	if test $found = "no" ; then
   11098 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11099 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11100 		fi
   11101 
   11102 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11103 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11104 		fi
   11105 
   11106 		CFLAGS="$CFLAGS -pedantic"
   11107 
   11108 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   11109 printf %s "checking if $CC supports -pedantic... " >&6; }
   11110 		cacheid=xorg_cv_cc_flag__pedantic
   11111 		if eval test \${$cacheid+y}
   11112 then :
   11113   printf %s "(cached) " >&6
   11114 else case e in #(
   11115   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11116 /* end confdefs.h.  */
   11117 int i;
   11118 int
   11119 main (void)
   11120 {
   11121 
   11122   ;
   11123   return 0;
   11124 }
   11125 _ACEOF
   11126 if ac_fn_c_try_link "$LINENO"
   11127 then :
   11128   eval $cacheid=yes
   11129 else case e in #(
   11130   e) eval $cacheid=no ;;
   11131 esac
   11132 fi
   11133 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11134     conftest$ac_exeext conftest.$ac_ext ;;
   11135 esac
   11136 fi
   11137 
   11138 
   11139 		CFLAGS="$xorg_testset_save_CFLAGS"
   11140 
   11141 		eval supported=\$$cacheid
   11142 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11143 printf "%s\n" "$supported" >&6; }
   11144 		if test "$supported" = "yes" ; then
   11145 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   11146 			found="yes"
   11147 		fi
   11148 	fi
   11149 
   11150 
   11151 
   11152 
   11153 
   11154 
   11155 
   11156 
   11157 
   11158 
   11159 
   11160 
   11161 
   11162 
   11163 
   11164 xorg_testset_save_CFLAGS="$CFLAGS"
   11165 
   11166 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11167 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11168 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11169 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11170 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11171 then :
   11172   printf %s "(cached) " >&6
   11173 else case e in #(
   11174   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11175 /* end confdefs.h.  */
   11176 int i;
   11177 _ACEOF
   11178 if ac_fn_c_try_compile "$LINENO"
   11179 then :
   11180   xorg_cv_cc_flag_unknown_warning_option=yes
   11181 else case e in #(
   11182   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11183 esac
   11184 fi
   11185 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11186 esac
   11187 fi
   11188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11189 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11190 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11191 	CFLAGS="$xorg_testset_save_CFLAGS"
   11192 fi
   11193 
   11194 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11195 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11196 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11197 	fi
   11198 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11199 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11200 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11201 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11202 then :
   11203   printf %s "(cached) " >&6
   11204 else case e in #(
   11205   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11206 /* end confdefs.h.  */
   11207 int i;
   11208 _ACEOF
   11209 if ac_fn_c_try_compile "$LINENO"
   11210 then :
   11211   xorg_cv_cc_flag_unused_command_line_argument=yes
   11212 else case e in #(
   11213   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11214 esac
   11215 fi
   11216 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11217 esac
   11218 fi
   11219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11220 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11221 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11222 	CFLAGS="$xorg_testset_save_CFLAGS"
   11223 fi
   11224 
   11225 found="no"
   11226 
   11227 	if test $found = "no" ; then
   11228 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11229 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11230 		fi
   11231 
   11232 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11233 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11234 		fi
   11235 
   11236 		CFLAGS="$CFLAGS -Werror"
   11237 
   11238 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   11239 printf %s "checking if $CC supports -Werror... " >&6; }
   11240 		cacheid=xorg_cv_cc_flag__Werror
   11241 		if eval test \${$cacheid+y}
   11242 then :
   11243   printf %s "(cached) " >&6
   11244 else case e in #(
   11245   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11246 /* end confdefs.h.  */
   11247 int i;
   11248 int
   11249 main (void)
   11250 {
   11251 
   11252   ;
   11253   return 0;
   11254 }
   11255 _ACEOF
   11256 if ac_fn_c_try_link "$LINENO"
   11257 then :
   11258   eval $cacheid=yes
   11259 else case e in #(
   11260   e) eval $cacheid=no ;;
   11261 esac
   11262 fi
   11263 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11264     conftest$ac_exeext conftest.$ac_ext ;;
   11265 esac
   11266 fi
   11267 
   11268 
   11269 		CFLAGS="$xorg_testset_save_CFLAGS"
   11270 
   11271 		eval supported=\$$cacheid
   11272 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11273 printf "%s\n" "$supported" >&6; }
   11274 		if test "$supported" = "yes" ; then
   11275 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   11276 			found="yes"
   11277 		fi
   11278 	fi
   11279 
   11280 	if test $found = "no" ; then
   11281 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11282 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11283 		fi
   11284 
   11285 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11286 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11287 		fi
   11288 
   11289 		CFLAGS="$CFLAGS -errwarn"
   11290 
   11291 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   11292 printf %s "checking if $CC supports -errwarn... " >&6; }
   11293 		cacheid=xorg_cv_cc_flag__errwarn
   11294 		if eval test \${$cacheid+y}
   11295 then :
   11296   printf %s "(cached) " >&6
   11297 else case e in #(
   11298   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11299 /* end confdefs.h.  */
   11300 int i;
   11301 int
   11302 main (void)
   11303 {
   11304 
   11305   ;
   11306   return 0;
   11307 }
   11308 _ACEOF
   11309 if ac_fn_c_try_link "$LINENO"
   11310 then :
   11311   eval $cacheid=yes
   11312 else case e in #(
   11313   e) eval $cacheid=no ;;
   11314 esac
   11315 fi
   11316 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11317     conftest$ac_exeext conftest.$ac_ext ;;
   11318 esac
   11319 fi
   11320 
   11321 
   11322 		CFLAGS="$xorg_testset_save_CFLAGS"
   11323 
   11324 		eval supported=\$$cacheid
   11325 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11326 printf "%s\n" "$supported" >&6; }
   11327 		if test "$supported" = "yes" ; then
   11328 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   11329 			found="yes"
   11330 		fi
   11331 	fi
   11332 
   11333 
   11334 
   11335 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   11336 # activate it with -Werror, so we add it here explicitly.
   11337 
   11338 
   11339 
   11340 
   11341 
   11342 
   11343 
   11344 
   11345 
   11346 
   11347 
   11348 
   11349 
   11350 xorg_testset_save_CFLAGS="$CFLAGS"
   11351 
   11352 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11353 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11354 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11355 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11356 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11357 then :
   11358   printf %s "(cached) " >&6
   11359 else case e in #(
   11360   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11361 /* end confdefs.h.  */
   11362 int i;
   11363 _ACEOF
   11364 if ac_fn_c_try_compile "$LINENO"
   11365 then :
   11366   xorg_cv_cc_flag_unknown_warning_option=yes
   11367 else case e in #(
   11368   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11369 esac
   11370 fi
   11371 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11372 esac
   11373 fi
   11374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11375 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11376 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11377 	CFLAGS="$xorg_testset_save_CFLAGS"
   11378 fi
   11379 
   11380 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11381 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11382 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11383 	fi
   11384 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11385 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11386 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11387 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11388 then :
   11389   printf %s "(cached) " >&6
   11390 else case e in #(
   11391   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11392 /* end confdefs.h.  */
   11393 int i;
   11394 _ACEOF
   11395 if ac_fn_c_try_compile "$LINENO"
   11396 then :
   11397   xorg_cv_cc_flag_unused_command_line_argument=yes
   11398 else case e in #(
   11399   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11400 esac
   11401 fi
   11402 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11403 esac
   11404 fi
   11405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11406 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11407 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11408 	CFLAGS="$xorg_testset_save_CFLAGS"
   11409 fi
   11410 
   11411 found="no"
   11412 
   11413 	if test $found = "no" ; then
   11414 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11415 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11416 		fi
   11417 
   11418 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11419 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11420 		fi
   11421 
   11422 		CFLAGS="$CFLAGS -Werror=attributes"
   11423 
   11424 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11425 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11426 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11427 		if eval test \${$cacheid+y}
   11428 then :
   11429   printf %s "(cached) " >&6
   11430 else case e in #(
   11431   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11432 /* end confdefs.h.  */
   11433 int i;
   11434 int
   11435 main (void)
   11436 {
   11437 
   11438   ;
   11439   return 0;
   11440 }
   11441 _ACEOF
   11442 if ac_fn_c_try_link "$LINENO"
   11443 then :
   11444   eval $cacheid=yes
   11445 else case e in #(
   11446   e) eval $cacheid=no ;;
   11447 esac
   11448 fi
   11449 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11450     conftest$ac_exeext conftest.$ac_ext ;;
   11451 esac
   11452 fi
   11453 
   11454 
   11455 		CFLAGS="$xorg_testset_save_CFLAGS"
   11456 
   11457 		eval supported=\$$cacheid
   11458 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11459 printf "%s\n" "$supported" >&6; }
   11460 		if test "$supported" = "yes" ; then
   11461 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11462 			found="yes"
   11463 		fi
   11464 	fi
   11465 
   11466 
   11467 
   11468 if test "x$STRICT_COMPILE" = "xyes"; then
   11469     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11470     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11471 fi
   11472 
   11473 
   11474 
   11475 
   11476 
   11477 
   11478 
   11479 
   11480 cat >>confdefs.h <<_ACEOF
   11481 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11482 _ACEOF
   11483 
   11484 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11485 	if test "x$PVM" = "x"; then
   11486 		PVM="0"
   11487 	fi
   11488 
   11489 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11490 
   11491 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11492 	if test "x$PVP" = "x"; then
   11493 		PVP="0"
   11494 	fi
   11495 
   11496 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11497 
   11498 
   11499 
   11500 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11501 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11502 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11503 touch \$(top_srcdir)/ChangeLog; \
   11504 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11505 
   11506 
   11507 
   11508 
   11509 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11510 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11511 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11512 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11513 touch \$(top_srcdir)/INSTALL; \
   11514 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11515 
   11516 
   11517 
   11518 
   11519 
   11520 
   11521 case $host_os in
   11522     solaris*)
   11523         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11524         # check for a man page file found in later versions that use
   11525         # traditional section numbers instead
   11526         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11527 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11528 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11529 then :
   11530   printf %s "(cached) " >&6
   11531 else case e in #(
   11532   e) test "$cross_compiling" = yes &&
   11533   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11534 if test -r "/usr/share/man/man7/attributes.7"; then
   11535   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11536 else
   11537   ac_cv_file__usr_share_man_man7_attributes_7=no
   11538 fi ;;
   11539 esac
   11540 fi
   11541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11542 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11543 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11544 then :
   11545   SYSV_MAN_SECTIONS=false
   11546 else case e in #(
   11547   e) SYSV_MAN_SECTIONS=true ;;
   11548 esac
   11549 fi
   11550 
   11551         ;;
   11552     *) SYSV_MAN_SECTIONS=false ;;
   11553 esac
   11554 
   11555 if test x$APP_MAN_SUFFIX = x    ; then
   11556     APP_MAN_SUFFIX=1
   11557 fi
   11558 if test x$APP_MAN_DIR = x    ; then
   11559     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11560 fi
   11561 
   11562 if test x$LIB_MAN_SUFFIX = x    ; then
   11563     LIB_MAN_SUFFIX=3
   11564 fi
   11565 if test x$LIB_MAN_DIR = x    ; then
   11566     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11567 fi
   11568 
   11569 if test x$FILE_MAN_SUFFIX = x    ; then
   11570     case $SYSV_MAN_SECTIONS in
   11571 	true)				FILE_MAN_SUFFIX=4  ;;
   11572 	*)				FILE_MAN_SUFFIX=5  ;;
   11573     esac
   11574 fi
   11575 if test x$FILE_MAN_DIR = x    ; then
   11576     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11577 fi
   11578 
   11579 if test x$MISC_MAN_SUFFIX = x    ; then
   11580     case $SYSV_MAN_SECTIONS in
   11581 	true)				MISC_MAN_SUFFIX=5  ;;
   11582 	*)				MISC_MAN_SUFFIX=7  ;;
   11583     esac
   11584 fi
   11585 if test x$MISC_MAN_DIR = x    ; then
   11586     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11587 fi
   11588 
   11589 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11590     case $SYSV_MAN_SECTIONS in
   11591 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11592 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11593     esac
   11594 fi
   11595 if test x$DRIVER_MAN_DIR = x    ; then
   11596     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11597 fi
   11598 
   11599 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11600     case $SYSV_MAN_SECTIONS in
   11601 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11602 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11603     esac
   11604 fi
   11605 if test x$ADMIN_MAN_DIR = x    ; then
   11606     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11607 fi
   11608 
   11609 
   11610 
   11611 
   11612 
   11613 
   11614 
   11615 
   11616 
   11617 
   11618 
   11619 
   11620 
   11621 
   11622 
   11623 XORG_MAN_PAGE="X Version 11"
   11624 
   11625 MAN_SUBSTS="\
   11626 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11627 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11628 	-e 's|__xservername__|Xorg|g' \
   11629 	-e 's|__xconfigfile__|xorg.conf|g' \
   11630 	-e 's|__projectroot__|\$(prefix)|g' \
   11631 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11632 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11633 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11634 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11635 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11636 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11637 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11638 
   11639 
   11640 
   11641 
   11642 AM_DEFAULT_VERBOSITY=0
   11643 
   11644 
   11645 
   11646 ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf"
   11647 if test "x$ac_cv_func_asprintf" = xyes
   11648 then :
   11649   printf "%s\n" "#define HAVE_ASPRINTF 1" >>confdefs.h
   11650 
   11651 fi
   11652 ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
   11653 if test "x$ac_cv_func_mkstemp" = xyes
   11654 then :
   11655   printf "%s\n" "#define HAVE_MKSTEMP 1" >>confdefs.h
   11656 
   11657 fi
   11658 ac_fn_c_check_func "$LINENO" "mktemp" "ac_cv_func_mktemp"
   11659 if test "x$ac_cv_func_mktemp" = xyes
   11660 then :
   11661   printf "%s\n" "#define HAVE_MKTEMP 1" >>confdefs.h
   11662 
   11663 fi
   11664 
   11665 
   11666 # Checks for pkg-config packages
   11667 
   11668 pkg_failed=no
   11669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SMPROXY" >&5
   11670 printf %s "checking for SMPROXY... " >&6; }
   11671 
   11672 if test -n "$SMPROXY_CFLAGS"; then
   11673     pkg_cv_SMPROXY_CFLAGS="$SMPROXY_CFLAGS"
   11674  elif test -n "$PKG_CONFIG"; then
   11675     if test -n "$PKG_CONFIG" && \
   11676     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sm ice xt xmuu\""; } >&5
   11677   ($PKG_CONFIG --exists --print-errors "sm ice xt xmuu") 2>&5
   11678   ac_status=$?
   11679   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11680   test $ac_status = 0; }; then
   11681   pkg_cv_SMPROXY_CFLAGS=`$PKG_CONFIG --cflags "sm ice xt xmuu" 2>/dev/null`
   11682 		      test "x$?" != "x0" && pkg_failed=yes
   11683 else
   11684   pkg_failed=yes
   11685 fi
   11686  else
   11687     pkg_failed=untried
   11688 fi
   11689 if test -n "$SMPROXY_LIBS"; then
   11690     pkg_cv_SMPROXY_LIBS="$SMPROXY_LIBS"
   11691  elif test -n "$PKG_CONFIG"; then
   11692     if test -n "$PKG_CONFIG" && \
   11693     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sm ice xt xmuu\""; } >&5
   11694   ($PKG_CONFIG --exists --print-errors "sm ice xt xmuu") 2>&5
   11695   ac_status=$?
   11696   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11697   test $ac_status = 0; }; then
   11698   pkg_cv_SMPROXY_LIBS=`$PKG_CONFIG --libs "sm ice xt xmuu" 2>/dev/null`
   11699 		      test "x$?" != "x0" && pkg_failed=yes
   11700 else
   11701   pkg_failed=yes
   11702 fi
   11703  else
   11704     pkg_failed=untried
   11705 fi
   11706 
   11707 
   11708 
   11709 if test $pkg_failed = yes; then
   11710    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11711 printf "%s\n" "no" >&6; }
   11712 
   11713 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11714         _pkg_short_errors_supported=yes
   11715 else
   11716         _pkg_short_errors_supported=no
   11717 fi
   11718         if test $_pkg_short_errors_supported = yes; then
   11719 	        SMPROXY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sm ice xt xmuu" 2>&1`
   11720         else
   11721 	        SMPROXY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sm ice xt xmuu" 2>&1`
   11722         fi
   11723 	# Put the nasty error message in config.log where it belongs
   11724 	echo "$SMPROXY_PKG_ERRORS" >&5
   11725 
   11726 	as_fn_error $? "Package requirements (sm ice xt xmuu) were not met:
   11727 
   11728 $SMPROXY_PKG_ERRORS
   11729 
   11730 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11731 installed software in a non-standard prefix.
   11732 
   11733 Alternatively, you may set the environment variables SMPROXY_CFLAGS
   11734 and SMPROXY_LIBS to avoid the need to call pkg-config.
   11735 See the pkg-config man page for more details." "$LINENO" 5
   11736 elif test $pkg_failed = untried; then
   11737      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11738 printf "%s\n" "no" >&6; }
   11739 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   11740 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   11741 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11742 is in your PATH or set the PKG_CONFIG environment variable to the full
   11743 path to pkg-config.
   11744 
   11745 Alternatively, you may set the environment variables SMPROXY_CFLAGS
   11746 and SMPROXY_LIBS to avoid the need to call pkg-config.
   11747 See the pkg-config man page for more details.
   11748 
   11749 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11750 See 'config.log' for more details" "$LINENO" 5; }
   11751 else
   11752 	SMPROXY_CFLAGS=$pkg_cv_SMPROXY_CFLAGS
   11753 	SMPROXY_LIBS=$pkg_cv_SMPROXY_LIBS
   11754         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11755 printf "%s\n" "yes" >&6; }
   11756 
   11757 fi
   11758 
   11759 ac_config_files="$ac_config_files Makefile man/Makefile"
   11760 
   11761 cat >confcache <<\_ACEOF
   11762 # This file is a shell script that caches the results of configure
   11763 # tests run on this system so they can be shared between configure
   11764 # scripts and configure runs, see configure's option --config-cache.
   11765 # It is not useful on other systems.  If it contains results you don't
   11766 # want to keep, you may remove or edit it.
   11767 #
   11768 # config.status only pays attention to the cache file if you give it
   11769 # the --recheck option to rerun configure.
   11770 #
   11771 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   11772 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   11773 # following values.
   11774 
   11775 _ACEOF
   11776 
   11777 # The following way of writing the cache mishandles newlines in values,
   11778 # but we know of no workaround that is simple, portable, and efficient.
   11779 # So, we kill variables containing newlines.
   11780 # Ultrix sh set writes to stderr and can't be redirected directly,
   11781 # and sets the high bit in the cache file unless we assign to the vars.
   11782 (
   11783   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11784     eval ac_val=\$$ac_var
   11785     case $ac_val in #(
   11786     *${as_nl}*)
   11787       case $ac_var in #(
   11788       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11789 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11790       esac
   11791       case $ac_var in #(
   11792       _ | IFS | as_nl) ;; #(
   11793       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11794       *) { eval $ac_var=; unset $ac_var;} ;;
   11795       esac ;;
   11796     esac
   11797   done
   11798 
   11799   (set) 2>&1 |
   11800     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11801     *${as_nl}ac_space=\ *)
   11802       # 'set' does not quote correctly, so add quotes: double-quote
   11803       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11804       sed -n \
   11805 	"s/'/'\\\\''/g;
   11806 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11807       ;; #(
   11808     *)
   11809       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   11810       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11811       ;;
   11812     esac |
   11813     sort
   11814 ) |
   11815   sed '
   11816      /^ac_cv_env_/b end
   11817      t clear
   11818      :clear
   11819      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   11820      t end
   11821      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11822      :end' >>confcache
   11823 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11824   if test -w "$cache_file"; then
   11825     if test "x$cache_file" != "x/dev/null"; then
   11826       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11827 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   11828       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11829 	cat confcache >"$cache_file"
   11830       else
   11831         case $cache_file in #(
   11832         */* | ?:*)
   11833 	  mv -f confcache "$cache_file"$$ &&
   11834 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11835         *)
   11836 	  mv -f confcache "$cache_file" ;;
   11837 	esac
   11838       fi
   11839     fi
   11840   else
   11841     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11842 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   11843   fi
   11844 fi
   11845 rm -f confcache
   11846 
   11847 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11848 # Let make expand exec_prefix.
   11849 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11850 
   11851 DEFS=-DHAVE_CONFIG_H
   11852 
   11853 ac_libobjs=
   11854 ac_ltlibobjs=
   11855 U=
   11856 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11857   # 1. Remove the extension, and $U if already installed.
   11858   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11859   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   11860   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11861   #    will be set to the directory where LIBOBJS objects are built.
   11862   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11863   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11864 done
   11865 LIBOBJS=$ac_libobjs
   11866 
   11867 LTLIBOBJS=$ac_ltlibobjs
   11868 
   11869 
   11870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11871 printf %s "checking that generated files are newer than configure... " >&6; }
   11872    if test -n "$am_sleep_pid"; then
   11873      # Hide warnings about reused PIDs.
   11874      wait $am_sleep_pid 2>/dev/null
   11875    fi
   11876    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11877 printf "%s\n" "done" >&6; }
   11878 case $enable_silent_rules in # (((
   11879   yes) AM_DEFAULT_VERBOSITY=0;;
   11880    no) AM_DEFAULT_VERBOSITY=1;;
   11881 esac
   11882 if test $am_cv_make_support_nested_variables = yes; then
   11883     AM_V='$(V)'
   11884   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11885 else
   11886   AM_V=$AM_DEFAULT_VERBOSITY
   11887   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11888 fi
   11889 
   11890  if test -n "$EXEEXT"; then
   11891   am__EXEEXT_TRUE=
   11892   am__EXEEXT_FALSE='#'
   11893 else
   11894   am__EXEEXT_TRUE='#'
   11895   am__EXEEXT_FALSE=
   11896 fi
   11897 
   11898 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11899   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11900 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11901 fi
   11902 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11903   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11904 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11905 fi
   11906 
   11907 : "${CONFIG_STATUS=./config.status}"
   11908 ac_write_fail=0
   11909 ac_clean_files_save=$ac_clean_files
   11910 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11912 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   11913 as_write_fail=0
   11914 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11915 #! $SHELL
   11916 # Generated by $as_me.
   11917 # Run this file to recreate the current configuration.
   11918 # Compiler output produced by configure, useful for debugging
   11919 # configure, is in config.log if it exists.
   11920 
   11921 debug=false
   11922 ac_cs_recheck=false
   11923 ac_cs_silent=false
   11924 
   11925 SHELL=\${CONFIG_SHELL-$SHELL}
   11926 export SHELL
   11927 _ASEOF
   11928 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11929 ## -------------------- ##
   11930 ## M4sh Initialization. ##
   11931 ## -------------------- ##
   11932 
   11933 # Be more Bourne compatible
   11934 DUALCASE=1; export DUALCASE # for MKS sh
   11935 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   11936 then :
   11937   emulate sh
   11938   NULLCMD=:
   11939   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11940   # is contrary to our usage.  Disable this feature.
   11941   alias -g '${1+"$@"}'='"$@"'
   11942   setopt NO_GLOB_SUBST
   11943 else case e in #(
   11944   e) case `(set -o) 2>/dev/null` in #(
   11945   *posix*) :
   11946     set -o posix ;; #(
   11947   *) :
   11948      ;;
   11949 esac ;;
   11950 esac
   11951 fi
   11952 
   11953 
   11954 
   11955 # Reset variables that may have inherited troublesome values from
   11956 # the environment.
   11957 
   11958 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   11959 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   11960 # side effect of setting IFS to empty, thus disabling word splitting.)
   11961 # Quoting is to prevent editors from complaining about space-tab.
   11962 as_nl='
   11963 '
   11964 export as_nl
   11965 IFS=" ""	$as_nl"
   11966 
   11967 PS1='$ '
   11968 PS2='> '
   11969 PS4='+ '
   11970 
   11971 # Ensure predictable behavior from utilities with locale-dependent output.
   11972 LC_ALL=C
   11973 export LC_ALL
   11974 LANGUAGE=C
   11975 export LANGUAGE
   11976 
   11977 # We cannot yet rely on "unset" to work, but we need these variables
   11978 # to be unset--not just set to an empty or harmless value--now, to
   11979 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   11980 # also avoids known problems related to "unset" and subshell syntax
   11981 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   11982 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   11983 do eval test \${$as_var+y} \
   11984   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11985 done
   11986 
   11987 # Ensure that fds 0, 1, and 2 are open.
   11988 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   11989 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   11990 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   11991 
   11992 # The user is always right.
   11993 if ${PATH_SEPARATOR+false} :; then
   11994   PATH_SEPARATOR=:
   11995   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11996     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11997       PATH_SEPARATOR=';'
   11998   }
   11999 fi
   12000 
   12001 
   12002 # Find who we are.  Look in the path if we contain no directory separator.
   12003 as_myself=
   12004 case $0 in #((
   12005   *[\\/]* ) as_myself=$0 ;;
   12006   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12007 for as_dir in $PATH
   12008 do
   12009   IFS=$as_save_IFS
   12010   case $as_dir in #(((
   12011     '') as_dir=./ ;;
   12012     */) ;;
   12013     *) as_dir=$as_dir/ ;;
   12014   esac
   12015     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   12016   done
   12017 IFS=$as_save_IFS
   12018 
   12019      ;;
   12020 esac
   12021 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   12022 # in which case we are not to be found in the path.
   12023 if test "x$as_myself" = x; then
   12024   as_myself=$0
   12025 fi
   12026 if test ! -f "$as_myself"; then
   12027   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   12028   exit 1
   12029 fi
   12030 
   12031 
   12032 
   12033 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   12034 # ----------------------------------------
   12035 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   12036 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   12037 # script with STATUS, using 1 if that was 0.
   12038 as_fn_error ()
   12039 {
   12040   as_status=$1; test $as_status -eq 0 && as_status=1
   12041   if test "$4"; then
   12042     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   12043     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   12044   fi
   12045   printf "%s\n" "$as_me: error: $2" >&2
   12046   as_fn_exit $as_status
   12047 } # as_fn_error
   12048 
   12049 
   12050 # as_fn_set_status STATUS
   12051 # -----------------------
   12052 # Set $? to STATUS, without forking.
   12053 as_fn_set_status ()
   12054 {
   12055   return $1
   12056 } # as_fn_set_status
   12057 
   12058 # as_fn_exit STATUS
   12059 # -----------------
   12060 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   12061 as_fn_exit ()
   12062 {
   12063   set +e
   12064   as_fn_set_status $1
   12065   exit $1
   12066 } # as_fn_exit
   12067 
   12068 # as_fn_unset VAR
   12069 # ---------------
   12070 # Portably unset VAR.
   12071 as_fn_unset ()
   12072 {
   12073   { eval $1=; unset $1;}
   12074 }
   12075 as_unset=as_fn_unset
   12076 
   12077 # as_fn_append VAR VALUE
   12078 # ----------------------
   12079 # Append the text in VALUE to the end of the definition contained in VAR. Take
   12080 # advantage of any shell optimizations that allow amortized linear growth over
   12081 # repeated appends, instead of the typical quadratic growth present in naive
   12082 # implementations.
   12083 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   12084 then :
   12085   eval 'as_fn_append ()
   12086   {
   12087     eval $1+=\$2
   12088   }'
   12089 else case e in #(
   12090   e) as_fn_append ()
   12091   {
   12092     eval $1=\$$1\$2
   12093   } ;;
   12094 esac
   12095 fi # as_fn_append
   12096 
   12097 # as_fn_arith ARG...
   12098 # ------------------
   12099 # Perform arithmetic evaluation on the ARGs, and store the result in the
   12100 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   12101 # must be portable across $(()) and expr.
   12102 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   12103 then :
   12104   eval 'as_fn_arith ()
   12105   {
   12106     as_val=$(( $* ))
   12107   }'
   12108 else case e in #(
   12109   e) as_fn_arith ()
   12110   {
   12111     as_val=`expr "$@" || test $? -eq 1`
   12112   } ;;
   12113 esac
   12114 fi # as_fn_arith
   12115 
   12116 
   12117 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12118    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12119   as_expr=expr
   12120 else
   12121   as_expr=false
   12122 fi
   12123 
   12124 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12125   as_basename=basename
   12126 else
   12127   as_basename=false
   12128 fi
   12129 
   12130 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12131   as_dirname=dirname
   12132 else
   12133   as_dirname=false
   12134 fi
   12135 
   12136 as_me=`$as_basename -- "$0" ||
   12137 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12138 	 X"$0" : 'X\(//\)$' \| \
   12139 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12140 printf "%s\n" X/"$0" |
   12141     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12142 	    s//\1/
   12143 	    q
   12144 	  }
   12145 	  /^X\/\(\/\/\)$/{
   12146 	    s//\1/
   12147 	    q
   12148 	  }
   12149 	  /^X\/\(\/\).*/{
   12150 	    s//\1/
   12151 	    q
   12152 	  }
   12153 	  s/.*/./; q'`
   12154 
   12155 # Avoid depending upon Character Ranges.
   12156 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12157 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12158 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12159 as_cr_digits='0123456789'
   12160 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12161 
   12162 
   12163 # Determine whether it's possible to make 'echo' print without a newline.
   12164 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   12165 # for compatibility with existing Makefiles.
   12166 ECHO_C= ECHO_N= ECHO_T=
   12167 case `echo -n x` in #(((((
   12168 -n*)
   12169   case `echo 'xy\c'` in
   12170   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   12171   xy)  ECHO_C='\c';;
   12172   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   12173        ECHO_T='	';;
   12174   esac;;
   12175 *)
   12176   ECHO_N='-n';;
   12177 esac
   12178 
   12179 # For backward compatibility with old third-party macros, we provide
   12180 # the shell variables $as_echo and $as_echo_n.  New code should use
   12181 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   12182 as_echo='printf %s\n'
   12183 as_echo_n='printf %s'
   12184 
   12185 rm -f conf$$ conf$$.exe conf$$.file
   12186 if test -d conf$$.dir; then
   12187   rm -f conf$$.dir/conf$$.file
   12188 else
   12189   rm -f conf$$.dir
   12190   mkdir conf$$.dir 2>/dev/null
   12191 fi
   12192 if (echo >conf$$.file) 2>/dev/null; then
   12193   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12194     as_ln_s='ln -s'
   12195     # ... but there are two gotchas:
   12196     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   12197     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   12198     # In both cases, we have to default to 'cp -pR'.
   12199     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12200       as_ln_s='cp -pR'
   12201   elif ln conf$$.file conf$$ 2>/dev/null; then
   12202     as_ln_s=ln
   12203   else
   12204     as_ln_s='cp -pR'
   12205   fi
   12206 else
   12207   as_ln_s='cp -pR'
   12208 fi
   12209 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12210 rmdir conf$$.dir 2>/dev/null
   12211 
   12212 
   12213 # as_fn_mkdir_p
   12214 # -------------
   12215 # Create "$as_dir" as a directory, including parents if necessary.
   12216 as_fn_mkdir_p ()
   12217 {
   12218 
   12219   case $as_dir in #(
   12220   -*) as_dir=./$as_dir;;
   12221   esac
   12222   test -d "$as_dir" || eval $as_mkdir_p || {
   12223     as_dirs=
   12224     while :; do
   12225       case $as_dir in #(
   12226       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12227       *) as_qdir=$as_dir;;
   12228       esac
   12229       as_dirs="'$as_qdir' $as_dirs"
   12230       as_dir=`$as_dirname -- "$as_dir" ||
   12231 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12232 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12233 	 X"$as_dir" : 'X\(//\)$' \| \
   12234 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12235 printf "%s\n" X"$as_dir" |
   12236     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12237 	    s//\1/
   12238 	    q
   12239 	  }
   12240 	  /^X\(\/\/\)[^/].*/{
   12241 	    s//\1/
   12242 	    q
   12243 	  }
   12244 	  /^X\(\/\/\)$/{
   12245 	    s//\1/
   12246 	    q
   12247 	  }
   12248 	  /^X\(\/\).*/{
   12249 	    s//\1/
   12250 	    q
   12251 	  }
   12252 	  s/.*/./; q'`
   12253       test -d "$as_dir" && break
   12254     done
   12255     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12256   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12257 
   12258 
   12259 } # as_fn_mkdir_p
   12260 if mkdir -p . 2>/dev/null; then
   12261   as_mkdir_p='mkdir -p "$as_dir"'
   12262 else
   12263   test -d ./-p && rmdir ./-p
   12264   as_mkdir_p=false
   12265 fi
   12266 
   12267 
   12268 # as_fn_executable_p FILE
   12269 # -----------------------
   12270 # Test if FILE is an executable regular file.
   12271 as_fn_executable_p ()
   12272 {
   12273   test -f "$1" && test -x "$1"
   12274 } # as_fn_executable_p
   12275 as_test_x='test -x'
   12276 as_executable_p=as_fn_executable_p
   12277 
   12278 # Sed expression to map a string onto a valid CPP name.
   12279 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   12280 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   12281 
   12282 # Sed expression to map a string onto a valid variable name.
   12283 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   12284 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   12285 
   12286 
   12287 exec 6>&1
   12288 ## ----------------------------------- ##
   12289 ## Main body of $CONFIG_STATUS script. ##
   12290 ## ----------------------------------- ##
   12291 _ASEOF
   12292 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   12293 
   12294 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12295 # Save the log message, to keep $0 and so on meaningful, and to
   12296 # report actual input values of CONFIG_FILES etc. instead of their
   12297 # values after options handling.
   12298 ac_log="
   12299 This file was extended by smproxy $as_me 1.0.8, which was
   12300 generated by GNU Autoconf 2.72.  Invocation command line was
   12301 
   12302   CONFIG_FILES    = $CONFIG_FILES
   12303   CONFIG_HEADERS  = $CONFIG_HEADERS
   12304   CONFIG_LINKS    = $CONFIG_LINKS
   12305   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12306   $ $0 $@
   12307 
   12308 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12309 "
   12310 
   12311 _ACEOF
   12312 
   12313 case $ac_config_files in *"
   12314 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12315 esac
   12316 
   12317 case $ac_config_headers in *"
   12318 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12319 esac
   12320 
   12321 
   12322 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12323 # Files that config.status was made for.
   12324 config_files="$ac_config_files"
   12325 config_headers="$ac_config_headers"
   12326 config_commands="$ac_config_commands"
   12327 
   12328 _ACEOF
   12329 
   12330 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12331 ac_cs_usage="\
   12332 '$as_me' instantiates files and other configuration actions
   12333 from templates according to the current configuration.  Unless the files
   12334 and actions are specified as TAGs, all are instantiated by default.
   12335 
   12336 Usage: $0 [OPTION]... [TAG]...
   12337 
   12338   -h, --help       print this help, then exit
   12339   -V, --version    print version number and configuration settings, then exit
   12340       --config     print configuration, then exit
   12341   -q, --quiet, --silent
   12342                    do not print progress messages
   12343   -d, --debug      don't remove temporary files
   12344       --recheck    update $as_me by reconfiguring in the same conditions
   12345       --file=FILE[:TEMPLATE]
   12346                    instantiate the configuration file FILE
   12347       --header=FILE[:TEMPLATE]
   12348                    instantiate the configuration header FILE
   12349 
   12350 Configuration files:
   12351 $config_files
   12352 
   12353 Configuration headers:
   12354 $config_headers
   12355 
   12356 Configuration commands:
   12357 $config_commands
   12358 
   12359 Report bugs to <https://gitlab.freedesktop.org/xorg/app/smproxy/-/issues>."
   12360 
   12361 _ACEOF
   12362 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   12363 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   12364 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12365 ac_cs_config='$ac_cs_config_escaped'
   12366 ac_cs_version="\\
   12367 smproxy config.status 1.0.8
   12368 configured by $0, generated by GNU Autoconf 2.72,
   12369   with options \\"\$ac_cs_config\\"
   12370 
   12371 Copyright (C) 2023 Free Software Foundation, Inc.
   12372 This config.status script is free software; the Free Software Foundation
   12373 gives unlimited permission to copy, distribute and modify it."
   12374 
   12375 ac_pwd='$ac_pwd'
   12376 srcdir='$srcdir'
   12377 INSTALL='$INSTALL'
   12378 MKDIR_P='$MKDIR_P'
   12379 AWK='$AWK'
   12380 test -n "\$AWK" || AWK=awk
   12381 _ACEOF
   12382 
   12383 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12384 # The default lists apply if the user does not specify any file.
   12385 ac_need_defaults=:
   12386 while test $# != 0
   12387 do
   12388   case $1 in
   12389   --*=?*)
   12390     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12391     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12392     ac_shift=:
   12393     ;;
   12394   --*=)
   12395     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12396     ac_optarg=
   12397     ac_shift=:
   12398     ;;
   12399   *)
   12400     ac_option=$1
   12401     ac_optarg=$2
   12402     ac_shift=shift
   12403     ;;
   12404   esac
   12405 
   12406   case $ac_option in
   12407   # Handling of the options.
   12408   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12409     ac_cs_recheck=: ;;
   12410   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12411     printf "%s\n" "$ac_cs_version"; exit ;;
   12412   --config | --confi | --conf | --con | --co | --c )
   12413     printf "%s\n" "$ac_cs_config"; exit ;;
   12414   --debug | --debu | --deb | --de | --d | -d )
   12415     debug=: ;;
   12416   --file | --fil | --fi | --f )
   12417     $ac_shift
   12418     case $ac_optarg in
   12419     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12420     '') as_fn_error $? "missing file argument" ;;
   12421     esac
   12422     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12423     ac_need_defaults=false;;
   12424   --header | --heade | --head | --hea )
   12425     $ac_shift
   12426     case $ac_optarg in
   12427     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12428     esac
   12429     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12430     ac_need_defaults=false;;
   12431   --he | --h)
   12432     # Conflict between --help and --header
   12433     as_fn_error $? "ambiguous option: '$1'
   12434 Try '$0 --help' for more information.";;
   12435   --help | --hel | -h )
   12436     printf "%s\n" "$ac_cs_usage"; exit ;;
   12437   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12438   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12439     ac_cs_silent=: ;;
   12440 
   12441   # This is an error.
   12442   -*) as_fn_error $? "unrecognized option: '$1'
   12443 Try '$0 --help' for more information." ;;
   12444 
   12445   *) as_fn_append ac_config_targets " $1"
   12446      ac_need_defaults=false ;;
   12447 
   12448   esac
   12449   shift
   12450 done
   12451 
   12452 ac_configure_extra_args=
   12453 
   12454 if $ac_cs_silent; then
   12455   exec 6>/dev/null
   12456   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12457 fi
   12458 
   12459 _ACEOF
   12460 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12461 if \$ac_cs_recheck; then
   12462   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12463   shift
   12464   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   12465   CONFIG_SHELL='$SHELL'
   12466   export CONFIG_SHELL
   12467   exec "\$@"
   12468 fi
   12469 
   12470 _ACEOF
   12471 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12472 exec 5>>config.log
   12473 {
   12474   echo
   12475   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12476 ## Running $as_me. ##
   12477 _ASBOX
   12478   printf "%s\n" "$ac_log"
   12479 } >&5
   12480 
   12481 _ACEOF
   12482 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12483 #
   12484 # INIT-COMMANDS
   12485 #
   12486 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   12487 
   12488 _ACEOF
   12489 
   12490 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12491 
   12492 # Handling of arguments.
   12493 for ac_config_target in $ac_config_targets
   12494 do
   12495   case $ac_config_target in
   12496     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12497     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12498     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12499     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12500 
   12501   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   12502   esac
   12503 done
   12504 
   12505 
   12506 # If the user did not use the arguments to specify the items to instantiate,
   12507 # then the envvar interface is used.  Set only those that are not.
   12508 # We use the long form for the default assignment because of an extremely
   12509 # bizarre bug on SunOS 4.1.3.
   12510 if $ac_need_defaults; then
   12511   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   12512   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   12513   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   12514 fi
   12515 
   12516 # Have a temporary directory for convenience.  Make it in the build tree
   12517 # simply because there is no reason against having it here, and in addition,
   12518 # creating and moving files from /tmp can sometimes cause problems.
   12519 # Hook for its removal unless debugging.
   12520 # Note that there is a small window in which the directory will not be cleaned:
   12521 # after its creation but before its name has been assigned to '$tmp'.
   12522 $debug ||
   12523 {
   12524   tmp= ac_tmp=
   12525   trap 'exit_status=$?
   12526   : "${ac_tmp:=$tmp}"
   12527   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12528 ' 0
   12529   trap 'as_fn_exit 1' 1 2 13 15
   12530 }
   12531 # Create a (secure) tmp directory for tmp files.
   12532 
   12533 {
   12534   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12535   test -d "$tmp"
   12536 }  ||
   12537 {
   12538   tmp=./conf$$-$RANDOM
   12539   (umask 077 && mkdir "$tmp")
   12540 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12541 ac_tmp=$tmp
   12542 
   12543 # Set up the scripts for CONFIG_FILES section.
   12544 # No need to generate them if there are no CONFIG_FILES.
   12545 # This happens for instance with './config.status config.h'.
   12546 if test -n "$CONFIG_FILES"; then
   12547 
   12548 
   12549 ac_cr=`echo X | tr X '\015'`
   12550 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12551 # But we know of no other shell where ac_cr would be empty at this
   12552 # point, so we can use a bashism as a fallback.
   12553 if test "x$ac_cr" = x; then
   12554   eval ac_cr=\$\'\\r\'
   12555 fi
   12556 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12557 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12558   ac_cs_awk_cr='\\r'
   12559 else
   12560   ac_cs_awk_cr=$ac_cr
   12561 fi
   12562 
   12563 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12564 _ACEOF
   12565 
   12566 
   12567 {
   12568   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12569   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12570   echo "_ACEOF"
   12571 } >conf$$subs.sh ||
   12572   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12573 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12574 ac_delim='%!_!# '
   12575 for ac_last_try in false false false false false :; do
   12576   . ./conf$$subs.sh ||
   12577     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12578 
   12579   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12580   if test $ac_delim_n = $ac_delim_num; then
   12581     break
   12582   elif $ac_last_try; then
   12583     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12584   else
   12585     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12586   fi
   12587 done
   12588 rm -f conf$$subs.sh
   12589 
   12590 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12591 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12592 _ACEOF
   12593 sed -n '
   12594 h
   12595 s/^/S["/; s/!.*/"]=/
   12596 p
   12597 g
   12598 s/^[^!]*!//
   12599 :repl
   12600 t repl
   12601 s/'"$ac_delim"'$//
   12602 t delim
   12603 :nl
   12604 h
   12605 s/\(.\{148\}\)..*/\1/
   12606 t more1
   12607 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12608 p
   12609 n
   12610 b repl
   12611 :more1
   12612 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12613 p
   12614 g
   12615 s/.\{148\}//
   12616 t nl
   12617 :delim
   12618 h
   12619 s/\(.\{148\}\)..*/\1/
   12620 t more2
   12621 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12622 p
   12623 b
   12624 :more2
   12625 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12626 p
   12627 g
   12628 s/.\{148\}//
   12629 t delim
   12630 ' <conf$$subs.awk | sed '
   12631 /^[^""]/{
   12632   N
   12633   s/\n//
   12634 }
   12635 ' >>$CONFIG_STATUS || ac_write_fail=1
   12636 rm -f conf$$subs.awk
   12637 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12638 _ACAWK
   12639 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12640   for (key in S) S_is_set[key] = 1
   12641   FS = ""
   12642 
   12643 }
   12644 {
   12645   line = $ 0
   12646   nfields = split(line, field, "@")
   12647   substed = 0
   12648   len = length(field[1])
   12649   for (i = 2; i < nfields; i++) {
   12650     key = field[i]
   12651     keylen = length(key)
   12652     if (S_is_set[key]) {
   12653       value = S[key]
   12654       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12655       len += length(value) + length(field[++i])
   12656       substed = 1
   12657     } else
   12658       len += 1 + keylen
   12659   }
   12660 
   12661   print line
   12662 }
   12663 
   12664 _ACAWK
   12665 _ACEOF
   12666 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12667 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12668   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12669 else
   12670   cat
   12671 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12672   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12673 _ACEOF
   12674 
   12675 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12676 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12677 # trailing colons and then remove the whole line if VPATH becomes empty
   12678 # (actually we leave an empty line to preserve line numbers).
   12679 if test "x$srcdir" = x.; then
   12680   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12681 h
   12682 s///
   12683 s/^/:/
   12684 s/[	 ]*$/:/
   12685 s/:\$(srcdir):/:/g
   12686 s/:\${srcdir}:/:/g
   12687 s/:@srcdir@:/:/g
   12688 s/^:*//
   12689 s/:*$//
   12690 x
   12691 s/\(=[	 ]*\).*/\1/
   12692 G
   12693 s/\n//
   12694 s/^[^=]*=[	 ]*$//
   12695 }'
   12696 fi
   12697 
   12698 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12699 fi # test -n "$CONFIG_FILES"
   12700 
   12701 # Set up the scripts for CONFIG_HEADERS section.
   12702 # No need to generate them if there are no CONFIG_HEADERS.
   12703 # This happens for instance with './config.status Makefile'.
   12704 if test -n "$CONFIG_HEADERS"; then
   12705 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12706 BEGIN {
   12707 _ACEOF
   12708 
   12709 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   12710 # here-document in config.status, that substitutes the proper values into
   12711 # config.h.in to produce config.h.
   12712 
   12713 # Create a delimiter string that does not exist in confdefs.h, to ease
   12714 # handling of long lines.
   12715 ac_delim='%!_!# '
   12716 for ac_last_try in false false :; do
   12717   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12718   if test -z "$ac_tt"; then
   12719     break
   12720   elif $ac_last_try; then
   12721     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12722   else
   12723     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12724   fi
   12725 done
   12726 
   12727 # For the awk script, D is an array of macro values keyed by name,
   12728 # likewise P contains macro parameters if any.  Preserve backslash
   12729 # newline sequences.
   12730 
   12731 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12732 sed -n '
   12733 s/.\{148\}/&'"$ac_delim"'/g
   12734 t rset
   12735 :rset
   12736 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12737 t def
   12738 d
   12739 :def
   12740 s/\\$//
   12741 t bsnl
   12742 s/["\\]/\\&/g
   12743 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12744 D["\1"]=" \3"/p
   12745 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12746 d
   12747 :bsnl
   12748 s/["\\]/\\&/g
   12749 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12750 D["\1"]=" \3\\\\\\n"\\/p
   12751 t cont
   12752 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12753 t cont
   12754 d
   12755 :cont
   12756 n
   12757 s/.\{148\}/&'"$ac_delim"'/g
   12758 t clear
   12759 :clear
   12760 s/\\$//
   12761 t bsnlc
   12762 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12763 d
   12764 :bsnlc
   12765 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12766 b cont
   12767 ' <confdefs.h | sed '
   12768 s/'"$ac_delim"'/"\\\
   12769 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12770 
   12771 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12772   for (key in D) D_is_set[key] = 1
   12773   FS = ""
   12774 }
   12775 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12776   line = \$ 0
   12777   split(line, arg, " ")
   12778   if (arg[1] == "#") {
   12779     defundef = arg[2]
   12780     mac1 = arg[3]
   12781   } else {
   12782     defundef = substr(arg[1], 2)
   12783     mac1 = arg[2]
   12784   }
   12785   split(mac1, mac2, "(") #)
   12786   macro = mac2[1]
   12787   prefix = substr(line, 1, index(line, defundef) - 1)
   12788   if (D_is_set[macro]) {
   12789     # Preserve the white space surrounding the "#".
   12790     print prefix "define", macro P[macro] D[macro]
   12791     next
   12792   } else {
   12793     # Replace #undef with comments.  This is necessary, for example,
   12794     # in the case of _POSIX_SOURCE, which is predefined and required
   12795     # on some systems where configure will not decide to define it.
   12796     if (defundef == "undef") {
   12797       print "/*", prefix defundef, macro, "*/"
   12798       next
   12799     }
   12800   }
   12801 }
   12802 { print }
   12803 _ACAWK
   12804 _ACEOF
   12805 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12806   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12807 fi # test -n "$CONFIG_HEADERS"
   12808 
   12809 
   12810 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12811 shift
   12812 for ac_tag
   12813 do
   12814   case $ac_tag in
   12815   :[FHLC]) ac_mode=$ac_tag; continue;;
   12816   esac
   12817   case $ac_mode$ac_tag in
   12818   :[FHL]*:*);;
   12819   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   12820   :[FH]-) ac_tag=-:-;;
   12821   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12822   esac
   12823   ac_save_IFS=$IFS
   12824   IFS=:
   12825   set x $ac_tag
   12826   IFS=$ac_save_IFS
   12827   shift
   12828   ac_file=$1
   12829   shift
   12830 
   12831   case $ac_mode in
   12832   :L) ac_source=$1;;
   12833   :[FH])
   12834     ac_file_inputs=
   12835     for ac_f
   12836     do
   12837       case $ac_f in
   12838       -) ac_f="$ac_tmp/stdin";;
   12839       *) # Look for the file first in the build tree, then in the source tree
   12840 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12841 	 # because $ac_f cannot contain ':'.
   12842 	 test -f "$ac_f" ||
   12843 	   case $ac_f in
   12844 	   [\\/$]*) false;;
   12845 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12846 	   esac ||
   12847 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   12848       esac
   12849       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12850       as_fn_append ac_file_inputs " '$ac_f'"
   12851     done
   12852 
   12853     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   12854     # use $as_me), people would be surprised to read:
   12855     #    /* config.h.  Generated by config.status.  */
   12856     configure_input='Generated from '`
   12857 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12858 	`' by configure.'
   12859     if test x"$ac_file" != x-; then
   12860       configure_input="$ac_file.  $configure_input"
   12861       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12862 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   12863     fi
   12864     # Neutralize special characters interpreted by sed in replacement strings.
   12865     case $configure_input in #(
   12866     *\&* | *\|* | *\\* )
   12867        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   12868        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12869     *) ac_sed_conf_input=$configure_input;;
   12870     esac
   12871 
   12872     case $ac_tag in
   12873     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12874       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12875     esac
   12876     ;;
   12877   esac
   12878 
   12879   ac_dir=`$as_dirname -- "$ac_file" ||
   12880 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12881 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12882 	 X"$ac_file" : 'X\(//\)$' \| \
   12883 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12884 printf "%s\n" X"$ac_file" |
   12885     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12886 	    s//\1/
   12887 	    q
   12888 	  }
   12889 	  /^X\(\/\/\)[^/].*/{
   12890 	    s//\1/
   12891 	    q
   12892 	  }
   12893 	  /^X\(\/\/\)$/{
   12894 	    s//\1/
   12895 	    q
   12896 	  }
   12897 	  /^X\(\/\).*/{
   12898 	    s//\1/
   12899 	    q
   12900 	  }
   12901 	  s/.*/./; q'`
   12902   as_dir="$ac_dir"; as_fn_mkdir_p
   12903   ac_builddir=.
   12904 
   12905 case "$ac_dir" in
   12906 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12907 *)
   12908   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   12909   # A ".." for each directory in $ac_dir_suffix.
   12910   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12911   case $ac_top_builddir_sub in
   12912   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12913   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12914   esac ;;
   12915 esac
   12916 ac_abs_top_builddir=$ac_pwd
   12917 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12918 # for backward compatibility:
   12919 ac_top_builddir=$ac_top_build_prefix
   12920 
   12921 case $srcdir in
   12922   .)  # We are building in place.
   12923     ac_srcdir=.
   12924     ac_top_srcdir=$ac_top_builddir_sub
   12925     ac_abs_top_srcdir=$ac_pwd ;;
   12926   [\\/]* | ?:[\\/]* )  # Absolute name.
   12927     ac_srcdir=$srcdir$ac_dir_suffix;
   12928     ac_top_srcdir=$srcdir
   12929     ac_abs_top_srcdir=$srcdir ;;
   12930   *) # Relative name.
   12931     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12932     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12933     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12934 esac
   12935 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12936 
   12937 
   12938   case $ac_mode in
   12939   :F)
   12940   #
   12941   # CONFIG_FILE
   12942   #
   12943 
   12944   case $INSTALL in
   12945   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12946   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12947   esac
   12948   ac_MKDIR_P=$MKDIR_P
   12949   case $MKDIR_P in
   12950   [\\/$]* | ?:[\\/]* ) ;;
   12951   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12952   esac
   12953 _ACEOF
   12954 
   12955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12956 # If the template does not know about datarootdir, expand it.
   12957 # FIXME: This hack should be removed a few years after 2.60.
   12958 ac_datarootdir_hack=; ac_datarootdir_seen=
   12959 ac_sed_dataroot='
   12960 /datarootdir/ {
   12961   p
   12962   q
   12963 }
   12964 /@datadir@/p
   12965 /@docdir@/p
   12966 /@infodir@/p
   12967 /@localedir@/p
   12968 /@mandir@/p'
   12969 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12970 *datarootdir*) ac_datarootdir_seen=yes;;
   12971 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12972   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12973 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12974 _ACEOF
   12975 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12976   ac_datarootdir_hack='
   12977   s&@datadir@&$datadir&g
   12978   s&@docdir@&$docdir&g
   12979   s&@infodir@&$infodir&g
   12980   s&@localedir@&$localedir&g
   12981   s&@mandir@&$mandir&g
   12982   s&\\\${datarootdir}&$datarootdir&g' ;;
   12983 esac
   12984 _ACEOF
   12985 
   12986 # Neutralize VPATH when '$srcdir' = '.'.
   12987 # Shell code in configure.ac might set extrasub.
   12988 # FIXME: do we really want to maintain this feature?
   12989 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12990 ac_sed_extra="$ac_vpsub
   12991 $extrasub
   12992 _ACEOF
   12993 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12994 :t
   12995 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12996 s|@configure_input@|$ac_sed_conf_input|;t t
   12997 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12998 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12999 s&@srcdir@&$ac_srcdir&;t t
   13000 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   13001 s&@top_srcdir@&$ac_top_srcdir&;t t
   13002 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   13003 s&@builddir@&$ac_builddir&;t t
   13004 s&@abs_builddir@&$ac_abs_builddir&;t t
   13005 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   13006 s&@INSTALL@&$ac_INSTALL&;t t
   13007 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   13008 $ac_datarootdir_hack
   13009 "
   13010 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   13011   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13012 
   13013 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   13014   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   13015   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   13016       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   13017   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13018 which seems to be undefined.  Please make sure it is defined" >&5
   13019 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13020 which seems to be undefined.  Please make sure it is defined" >&2;}
   13021 
   13022   rm -f "$ac_tmp/stdin"
   13023   case $ac_file in
   13024   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   13025   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   13026   esac \
   13027   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13028  ;;
   13029   :H)
   13030   #
   13031   # CONFIG_HEADER
   13032   #
   13033   if test x"$ac_file" != x-; then
   13034     {
   13035       printf "%s\n" "/* $configure_input  */" >&1 \
   13036       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   13037     } >"$ac_tmp/config.h" \
   13038       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13039     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   13040       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   13041 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   13042     else
   13043       rm -f "$ac_file"
   13044       mv "$ac_tmp/config.h" "$ac_file" \
   13045 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13046     fi
   13047   else
   13048     printf "%s\n" "/* $configure_input  */" >&1 \
   13049       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   13050       || as_fn_error $? "could not create -" "$LINENO" 5
   13051   fi
   13052 # Compute "$ac_file"'s index in $config_headers.
   13053 _am_arg="$ac_file"
   13054 _am_stamp_count=1
   13055 for _am_header in $config_headers :; do
   13056   case $_am_header in
   13057     $_am_arg | $_am_arg:* )
   13058       break ;;
   13059     * )
   13060       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   13061   esac
   13062 done
   13063 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   13064 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13065 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   13066 	 X"$_am_arg" : 'X\(//\)$' \| \
   13067 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   13068 printf "%s\n" X"$_am_arg" |
   13069     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13070 	    s//\1/
   13071 	    q
   13072 	  }
   13073 	  /^X\(\/\/\)[^/].*/{
   13074 	    s//\1/
   13075 	    q
   13076 	  }
   13077 	  /^X\(\/\/\)$/{
   13078 	    s//\1/
   13079 	    q
   13080 	  }
   13081 	  /^X\(\/\).*/{
   13082 	    s//\1/
   13083 	    q
   13084 	  }
   13085 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   13086  ;;
   13087 
   13088   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   13089 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   13090  ;;
   13091   esac
   13092 
   13093 
   13094   case $ac_file$ac_mode in
   13095     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   13096   # Older Autoconf quotes --file arguments for eval, but not when files
   13097   # are listed without --file.  Let's play safe and only enable the eval
   13098   # if we detect the quoting.
   13099   # TODO: see whether this extra hack can be removed once we start
   13100   # requiring Autoconf 2.70 or later.
   13101   case $CONFIG_FILES in #(
   13102   *\'*) :
   13103     eval set x "$CONFIG_FILES" ;; #(
   13104   *) :
   13105     set x $CONFIG_FILES ;; #(
   13106   *) :
   13107      ;;
   13108 esac
   13109   shift
   13110   # Used to flag and report bootstrapping failures.
   13111   am_rc=0
   13112   for am_mf
   13113   do
   13114     # Strip MF so we end up with the name of the file.
   13115     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   13116     # Check whether this is an Automake generated Makefile which includes
   13117     # dependency-tracking related rules and includes.
   13118     # Grep'ing the whole file directly is not great: AIX grep has a line
   13119     # limit of 2048, but all sed's we know have understand at least 4000.
   13120     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   13121       || continue
   13122     am_dirpart=`$as_dirname -- "$am_mf" ||
   13123 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13124 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   13125 	 X"$am_mf" : 'X\(//\)$' \| \
   13126 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13127 printf "%s\n" X"$am_mf" |
   13128     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13129 	    s//\1/
   13130 	    q
   13131 	  }
   13132 	  /^X\(\/\/\)[^/].*/{
   13133 	    s//\1/
   13134 	    q
   13135 	  }
   13136 	  /^X\(\/\/\)$/{
   13137 	    s//\1/
   13138 	    q
   13139 	  }
   13140 	  /^X\(\/\).*/{
   13141 	    s//\1/
   13142 	    q
   13143 	  }
   13144 	  s/.*/./; q'`
   13145     am_filepart=`$as_basename -- "$am_mf" ||
   13146 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   13147 	 X"$am_mf" : 'X\(//\)$' \| \
   13148 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13149 printf "%s\n" X/"$am_mf" |
   13150     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13151 	    s//\1/
   13152 	    q
   13153 	  }
   13154 	  /^X\/\(\/\/\)$/{
   13155 	    s//\1/
   13156 	    q
   13157 	  }
   13158 	  /^X\/\(\/\).*/{
   13159 	    s//\1/
   13160 	    q
   13161 	  }
   13162 	  s/.*/./; q'`
   13163     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   13164       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13165         | $MAKE -f - am--depfiles" >&5
   13166    (cd "$am_dirpart" \
   13167       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13168         | $MAKE -f - am--depfiles) >&5 2>&5
   13169    ac_status=$?
   13170    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13171    (exit $ac_status); } || am_rc=$?
   13172   done
   13173   if test $am_rc -ne 0; then
   13174     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   13175 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   13176 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   13177     for automatic dependency tracking.  If GNU make was not used, consider
   13178     re-running the configure script with MAKE=\"gmake\" (or whatever is
   13179     necessary).  You can also try re-running configure with the
   13180     '--disable-dependency-tracking' option to at least be able to build
   13181     the package (albeit without support for automatic dependency tracking).
   13182 See 'config.log' for more details" "$LINENO" 5; }
   13183   fi
   13184   { am_dirpart=; unset am_dirpart;}
   13185   { am_filepart=; unset am_filepart;}
   13186   { am_mf=; unset am_mf;}
   13187   { am_rc=; unset am_rc;}
   13188   rm -f conftest-deps.mk
   13189 }
   13190  ;;
   13191 
   13192   esac
   13193 done # for ac_tag
   13194 
   13195 
   13196 as_fn_exit 0
   13197 _ACEOF
   13198 ac_clean_files=$ac_clean_files_save
   13199 
   13200 test $ac_write_fail = 0 ||
   13201   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   13202 
   13203 
   13204 # configure is writing to config.log, and then calls config.status.
   13205 # config.status does its own redirection, appending to config.log.
   13206 # Unfortunately, on DOS this fails, as config.log is still kept open
   13207 # by configure, so config.status won't be able to write to it; its
   13208 # output is simply discarded.  So we exec the FD to /dev/null,
   13209 # effectively closing config.log, so it can be properly (re)opened and
   13210 # appended to by config.status.  When coming back to configure, we
   13211 # need to make the FD available again.
   13212 if test "$no_create" != yes; then
   13213   ac_cs_success=:
   13214   ac_config_status_args=
   13215   test "$silent" = yes &&
   13216     ac_config_status_args="$ac_config_status_args --quiet"
   13217   exec 5>/dev/null
   13218   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   13219   exec 5>>config.log
   13220   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   13221   # would make configure fail if this is the last instruction.
   13222   $ac_cs_success || as_fn_exit 1
   13223 fi
   13224 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   13225   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   13226 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   13227 fi
   13228 
   13229 
   13230