Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.6
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for smproxy 1.0.7.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/smproxy/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 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 as_nop=:
     21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     22 then :
     23   emulate sh
     24   NULLCMD=:
     25   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     26   # is contrary to our usage.  Disable this feature.
     27   alias -g '${1+"$@"}'='"$@"'
     28   setopt NO_GLOB_SUBST
     29 else $as_nop
     30   case `(set -o) 2>/dev/null` in #(
     31   *posix*) :
     32     set -o posix ;; #(
     33   *) :
     34      ;;
     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="as_nop=:
    144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    145 then :
    146   emulate sh
    147   NULLCMD=:
    148   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    149   # is contrary to our usage.  Disable this feature.
    150   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    151   setopt NO_GLOB_SUBST
    152 else \$as_nop
    153   case \`(set -o) 2>/dev/null\` in #(
    154   *posix*) :
    155     set -o posix ;; #(
    156   *) :
    157      ;;
    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 \$as_nop
    176   exitcode=1; echo positional parameters were not saved.
    177 fi
    178 test x\$exitcode = x0 || exit 1
    179 blah=\$(echo \$(echo blah))
    180 test x\"\$blah\" = xblah || exit 1
    181 test -x / || exit 1"
    182   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    183   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    184   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    185   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    186 test \$(( 1 + 1 )) = 2 || exit 1"
    187   if (eval "$as_required") 2>/dev/null
    188 then :
    189   as_have_required=yes
    190 else $as_nop
    191   as_have_required=no
    192 fi
    193   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    194 then :
    195 
    196 else $as_nop
    197   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    198 as_found=false
    199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    200 do
    201   IFS=$as_save_IFS
    202   case $as_dir in #(((
    203     '') as_dir=./ ;;
    204     */) ;;
    205     *) as_dir=$as_dir/ ;;
    206   esac
    207   as_found=:
    208   case $as_dir in #(
    209 	 /*)
    210 	   for as_base in sh bash ksh sh5; do
    211 	     # Try only shells that exist, to save several forks.
    212 	     as_shell=$as_dir$as_base
    213 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    214 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    215 then :
    216   CONFIG_SHELL=$as_shell as_have_required=yes
    217 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    218 then :
    219   break 2
    220 fi
    221 fi
    222 	   done;;
    223        esac
    224   as_found=false
    225 done
    226 IFS=$as_save_IFS
    227 if $as_found
    228 then :
    229 
    230 else $as_nop
    231   if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    232 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    233 then :
    234   CONFIG_SHELL=$SHELL as_have_required=yes
    235 fi
    236 fi
    237 
    238 
    239       if test "x$CONFIG_SHELL" != x
    240 then :
    241   export CONFIG_SHELL
    242              # We cannot yet assume a decent shell, so we have to provide a
    243 # neutralization value for shells without unset; and this also
    244 # works around shells that cannot unset nonexistent variables.
    245 # Preserve -v and -x to the replacement shell.
    246 BASH_ENV=/dev/null
    247 ENV=/dev/null
    248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    249 case $- in # ((((
    250   *v*x* | *x*v* ) as_opts=-vx ;;
    251   *v* ) as_opts=-v ;;
    252   *x* ) as_opts=-x ;;
    253   * ) as_opts= ;;
    254 esac
    255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    256 # Admittedly, this is quite paranoid, since all the known shells bail
    257 # out after a failed `exec'.
    258 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    259 exit 255
    260 fi
    261 
    262     if test x$as_have_required = xno
    263 then :
    264   printf "%s\n" "$0: This script requires a shell more modern than all"
    265   printf "%s\n" "$0: the shells that I found on your system."
    266   if test ${ZSH_VERSION+y} ; then
    267     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    268     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    269   else
    270     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    271 $0: https://gitlab.freedesktop.org/xorg/app/smproxy/issues
    272 $0: about your system, including any error possibly output
    273 $0: before this message. Then install a modern shell, or
    274 $0: manually run the script under such a shell if you do
    275 $0: have one."
    276   fi
    277   exit 1
    278 fi
    279 fi
    280 fi
    281 SHELL=${CONFIG_SHELL-/bin/sh}
    282 export SHELL
    283 # Unset more variables known to interfere with behavior of common tools.
    284 CLICOLOR_FORCE= GREP_OPTIONS=
    285 unset CLICOLOR_FORCE GREP_OPTIONS
    286 
    287 ## --------------------- ##
    288 ## M4sh Shell Functions. ##
    289 ## --------------------- ##
    290 # as_fn_unset VAR
    291 # ---------------
    292 # Portably unset VAR.
    293 as_fn_unset ()
    294 {
    295   { eval $1=; unset $1;}
    296 }
    297 as_unset=as_fn_unset
    298 
    299 
    300 # as_fn_set_status STATUS
    301 # -----------------------
    302 # Set $? to STATUS, without forking.
    303 as_fn_set_status ()
    304 {
    305   return $1
    306 } # as_fn_set_status
    307 
    308 # as_fn_exit STATUS
    309 # -----------------
    310 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    311 as_fn_exit ()
    312 {
    313   set +e
    314   as_fn_set_status $1
    315   exit $1
    316 } # as_fn_exit
    317 # as_fn_nop
    318 # ---------
    319 # Do nothing but, unlike ":", preserve the value of $?.
    320 as_fn_nop ()
    321 {
    322   return $?
    323 }
    324 as_nop=as_fn_nop
    325 
    326 # as_fn_mkdir_p
    327 # -------------
    328 # Create "$as_dir" as a directory, including parents if necessary.
    329 as_fn_mkdir_p ()
    330 {
    331 
    332   case $as_dir in #(
    333   -*) as_dir=./$as_dir;;
    334   esac
    335   test -d "$as_dir" || eval $as_mkdir_p || {
    336     as_dirs=
    337     while :; do
    338       case $as_dir in #(
    339       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    340       *) as_qdir=$as_dir;;
    341       esac
    342       as_dirs="'$as_qdir' $as_dirs"
    343       as_dir=`$as_dirname -- "$as_dir" ||
    344 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    345 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    346 	 X"$as_dir" : 'X\(//\)$' \| \
    347 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    348 printf "%s\n" X"$as_dir" |
    349     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    350 	    s//\1/
    351 	    q
    352 	  }
    353 	  /^X\(\/\/\)[^/].*/{
    354 	    s//\1/
    355 	    q
    356 	  }
    357 	  /^X\(\/\/\)$/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  /^X\(\/\).*/{
    362 	    s//\1/
    363 	    q
    364 	  }
    365 	  s/.*/./; q'`
    366       test -d "$as_dir" && break
    367     done
    368     test -z "$as_dirs" || eval "mkdir $as_dirs"
    369   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    370 
    371 
    372 } # as_fn_mkdir_p
    373 
    374 # as_fn_executable_p FILE
    375 # -----------------------
    376 # Test if FILE is an executable regular file.
    377 as_fn_executable_p ()
    378 {
    379   test -f "$1" && test -x "$1"
    380 } # as_fn_executable_p
    381 # as_fn_append VAR VALUE
    382 # ----------------------
    383 # Append the text in VALUE to the end of the definition contained in VAR. Take
    384 # advantage of any shell optimizations that allow amortized linear growth over
    385 # repeated appends, instead of the typical quadratic growth present in naive
    386 # implementations.
    387 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    388 then :
    389   eval 'as_fn_append ()
    390   {
    391     eval $1+=\$2
    392   }'
    393 else $as_nop
    394   as_fn_append ()
    395   {
    396     eval $1=\$$1\$2
    397   }
    398 fi # as_fn_append
    399 
    400 # as_fn_arith ARG...
    401 # ------------------
    402 # Perform arithmetic evaluation on the ARGs, and store the result in the
    403 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    404 # must be portable across $(()) and expr.
    405 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    406 then :
    407   eval 'as_fn_arith ()
    408   {
    409     as_val=$(( $* ))
    410   }'
    411 else $as_nop
    412   as_fn_arith ()
    413   {
    414     as_val=`expr "$@" || test $? -eq 1`
    415   }
    416 fi # as_fn_arith
    417 
    418 # as_fn_nop
    419 # ---------
    420 # Do nothing but, unlike ":", preserve the value of $?.
    421 as_fn_nop ()
    422 {
    423   return $?
    424 }
    425 as_nop=as_fn_nop
    426 
    427 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    428 # ----------------------------------------
    429 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    430 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    431 # script with STATUS, using 1 if that was 0.
    432 as_fn_error ()
    433 {
    434   as_status=$1; test $as_status -eq 0 && as_status=1
    435   if test "$4"; then
    436     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    437     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    438   fi
    439   printf "%s\n" "$as_me: error: $2" >&2
    440   as_fn_exit $as_status
    441 } # as_fn_error
    442 
    443 if expr a : '\(a\)' >/dev/null 2>&1 &&
    444    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    445   as_expr=expr
    446 else
    447   as_expr=false
    448 fi
    449 
    450 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    451   as_basename=basename
    452 else
    453   as_basename=false
    454 fi
    455 
    456 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    457   as_dirname=dirname
    458 else
    459   as_dirname=false
    460 fi
    461 
    462 as_me=`$as_basename -- "$0" ||
    463 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    464 	 X"$0" : 'X\(//\)$' \| \
    465 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    466 printf "%s\n" X/"$0" |
    467     sed '/^.*\/\([^/][^/]*\)\/*$/{
    468 	    s//\1/
    469 	    q
    470 	  }
    471 	  /^X\/\(\/\/\)$/{
    472 	    s//\1/
    473 	    q
    474 	  }
    475 	  /^X\/\(\/\).*/{
    476 	    s//\1/
    477 	    q
    478 	  }
    479 	  s/.*/./; q'`
    480 
    481 # Avoid depending upon Character Ranges.
    482 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    483 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    484 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    485 as_cr_digits='0123456789'
    486 as_cr_alnum=$as_cr_Letters$as_cr_digits
    487 
    488 
    489   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    490   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    491   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    492   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    493   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    494   sed -n '
    495     p
    496     /[$]LINENO/=
    497   ' <$as_myself |
    498     sed '
    499       s/[$]LINENO.*/&-/
    500       t lineno
    501       b
    502       :lineno
    503       N
    504       :loop
    505       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    506       t loop
    507       s/-\n.*//
    508     ' >$as_me.lineno &&
    509   chmod +x "$as_me.lineno" ||
    510     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    511 
    512   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    513   # already done that, so ensure we don't try to do so again and fall
    514   # in an infinite loop.  This has already happened in practice.
    515   _as_can_reexec=no; export _as_can_reexec
    516   # Don't try to exec as it changes $[0], causing all sort of problems
    517   # (the dirname of $[0] is not the place where we might find the
    518   # original and so on.  Autoconf is especially sensitive to this).
    519   . "./$as_me.lineno"
    520   # Exit status is that of the last command.
    521   exit
    522 }
    523 
    524 
    525 # Determine whether it's possible to make 'echo' print without a newline.
    526 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    527 # for compatibility with existing Makefiles.
    528 ECHO_C= ECHO_N= ECHO_T=
    529 case `echo -n x` in #(((((
    530 -n*)
    531   case `echo 'xy\c'` in
    532   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    533   xy)  ECHO_C='\c';;
    534   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    535        ECHO_T='	';;
    536   esac;;
    537 *)
    538   ECHO_N='-n';;
    539 esac
    540 
    541 # For backward compatibility with old third-party macros, we provide
    542 # the shell variables $as_echo and $as_echo_n.  New code should use
    543 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    544 as_echo='printf %s\n'
    545 as_echo_n='printf %s'
    546 
    547 
    548 rm -f conf$$ conf$$.exe conf$$.file
    549 if test -d conf$$.dir; then
    550   rm -f conf$$.dir/conf$$.file
    551 else
    552   rm -f conf$$.dir
    553   mkdir conf$$.dir 2>/dev/null
    554 fi
    555 if (echo >conf$$.file) 2>/dev/null; then
    556   if ln -s conf$$.file conf$$ 2>/dev/null; then
    557     as_ln_s='ln -s'
    558     # ... but there are two gotchas:
    559     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    560     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    561     # In both cases, we have to default to `cp -pR'.
    562     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    563       as_ln_s='cp -pR'
    564   elif ln conf$$.file conf$$ 2>/dev/null; then
    565     as_ln_s=ln
    566   else
    567     as_ln_s='cp -pR'
    568   fi
    569 else
    570   as_ln_s='cp -pR'
    571 fi
    572 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    573 rmdir conf$$.dir 2>/dev/null
    574 
    575 if mkdir -p . 2>/dev/null; then
    576   as_mkdir_p='mkdir -p "$as_dir"'
    577 else
    578   test -d ./-p && rmdir ./-p
    579   as_mkdir_p=false
    580 fi
    581 
    582 as_test_x='test -x'
    583 as_executable_p=as_fn_executable_p
    584 
    585 # Sed expression to map a string onto a valid CPP name.
    586 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    587 
    588 # Sed expression to map a string onto a valid variable name.
    589 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    590 
    591 
    592 test -n "$DJDIR" || exec 7<&0 </dev/null
    593 exec 6>&1
    594 
    595 # Name of the host.
    596 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    597 # so uname gets run too.
    598 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    599 
    600 #
    601 # Initializations.
    602 #
    603 ac_default_prefix=/usr/local
    604 ac_clean_files=
    605 ac_config_libobj_dir=.
    606 LIBOBJS=
    607 cross_compiling=no
    608 subdirs=
    609 MFLAGS=
    610 MAKEFLAGS=
    611 
    612 # Identity of this package.
    613 PACKAGE_NAME='smproxy'
    614 PACKAGE_TARNAME='smproxy'
    615 PACKAGE_VERSION='1.0.7'
    616 PACKAGE_STRING='smproxy 1.0.7'
    617 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/smproxy/issues'
    618 PACKAGE_URL=''
    619 
    620 ac_unique_file="Makefile.am"
    621 # Factoring default headers for most tests.
    622 ac_includes_default="\
    623 #include <stddef.h>
    624 #ifdef HAVE_STDIO_H
    625 # include <stdio.h>
    626 #endif
    627 #ifdef HAVE_STDLIB_H
    628 # include <stdlib.h>
    629 #endif
    630 #ifdef HAVE_STRING_H
    631 # include <string.h>
    632 #endif
    633 #ifdef HAVE_INTTYPES_H
    634 # include <inttypes.h>
    635 #endif
    636 #ifdef HAVE_STDINT_H
    637 # include <stdint.h>
    638 #endif
    639 #ifdef HAVE_STRINGS_H
    640 # include <strings.h>
    641 #endif
    642 #ifdef HAVE_SYS_TYPES_H
    643 # include <sys/types.h>
    644 #endif
    645 #ifdef HAVE_SYS_STAT_H
    646 # include <sys/stat.h>
    647 #endif
    648 #ifdef HAVE_UNISTD_H
    649 # include <unistd.h>
    650 #endif"
    651 
    652 ac_header_c_list=
    653 ac_subst_vars='am__EXEEXT_FALSE
    654 am__EXEEXT_TRUE
    655 LTLIBOBJS
    656 LIBOBJS
    657 SMPROXY_LIBS
    658 SMPROXY_CFLAGS
    659 MAN_SUBSTS
    660 XORG_MAN_PAGE
    661 ADMIN_MAN_DIR
    662 DRIVER_MAN_DIR
    663 MISC_MAN_DIR
    664 FILE_MAN_DIR
    665 LIB_MAN_DIR
    666 APP_MAN_DIR
    667 ADMIN_MAN_SUFFIX
    668 DRIVER_MAN_SUFFIX
    669 MISC_MAN_SUFFIX
    670 FILE_MAN_SUFFIX
    671 LIB_MAN_SUFFIX
    672 APP_MAN_SUFFIX
    673 SED
    674 host_os
    675 host_vendor
    676 host_cpu
    677 host
    678 build_os
    679 build_vendor
    680 build_cpu
    681 build
    682 INSTALL_CMD
    683 PKG_CONFIG_LIBDIR
    684 PKG_CONFIG_PATH
    685 PKG_CONFIG
    686 CHANGELOG_CMD
    687 STRICT_CFLAGS
    688 CWARNFLAGS
    689 BASE_CFLAGS
    690 am__fastdepCC_FALSE
    691 am__fastdepCC_TRUE
    692 CCDEPMODE
    693 am__nodep
    694 AMDEPBACKSLASH
    695 AMDEP_FALSE
    696 AMDEP_TRUE
    697 am__include
    698 DEPDIR
    699 OBJEXT
    700 EXEEXT
    701 ac_ct_CC
    702 CPPFLAGS
    703 LDFLAGS
    704 CFLAGS
    705 CC
    706 AM_BACKSLASH
    707 AM_DEFAULT_VERBOSITY
    708 AM_DEFAULT_V
    709 AM_V
    710 CSCOPE
    711 ETAGS
    712 CTAGS
    713 am__untar
    714 am__tar
    715 AMTAR
    716 am__leading_dot
    717 SET_MAKE
    718 AWK
    719 mkdir_p
    720 MKDIR_P
    721 INSTALL_STRIP_PROGRAM
    722 STRIP
    723 install_sh
    724 MAKEINFO
    725 AUTOHEADER
    726 AUTOMAKE
    727 AUTOCONF
    728 ACLOCAL
    729 VERSION
    730 PACKAGE
    731 CYGPATH_W
    732 am__isrc
    733 INSTALL_DATA
    734 INSTALL_SCRIPT
    735 INSTALL_PROGRAM
    736 target_alias
    737 host_alias
    738 build_alias
    739 LIBS
    740 ECHO_T
    741 ECHO_N
    742 ECHO_C
    743 DEFS
    744 mandir
    745 localedir
    746 libdir
    747 psdir
    748 pdfdir
    749 dvidir
    750 htmldir
    751 infodir
    752 docdir
    753 oldincludedir
    754 includedir
    755 runstatedir
    756 localstatedir
    757 sharedstatedir
    758 sysconfdir
    759 datadir
    760 datarootdir
    761 libexecdir
    762 sbindir
    763 bindir
    764 program_transform_name
    765 prefix
    766 exec_prefix
    767 PACKAGE_URL
    768 PACKAGE_BUGREPORT
    769 PACKAGE_STRING
    770 PACKAGE_VERSION
    771 PACKAGE_TARNAME
    772 PACKAGE_NAME
    773 PATH_SEPARATOR
    774 SHELL
    775 am__quote'
    776 ac_subst_files=''
    777 ac_user_opts='
    778 enable_option_checking
    779 enable_silent_rules
    780 enable_dependency_tracking
    781 enable_selective_werror
    782 enable_strict_compilation
    783 '
    784       ac_precious_vars='build_alias
    785 host_alias
    786 target_alias
    787 CC
    788 CFLAGS
    789 LDFLAGS
    790 LIBS
    791 CPPFLAGS
    792 PKG_CONFIG
    793 PKG_CONFIG_PATH
    794 PKG_CONFIG_LIBDIR
    795 SMPROXY_CFLAGS
    796 SMPROXY_LIBS'
    797 
    798 
    799 # Initialize some variables set by options.
    800 ac_init_help=
    801 ac_init_version=false
    802 ac_unrecognized_opts=
    803 ac_unrecognized_sep=
    804 # The variables have the same names as the options, with
    805 # dashes changed to underlines.
    806 cache_file=/dev/null
    807 exec_prefix=NONE
    808 no_create=
    809 no_recursion=
    810 prefix=NONE
    811 program_prefix=NONE
    812 program_suffix=NONE
    813 program_transform_name=s,x,x,
    814 silent=
    815 site=
    816 srcdir=
    817 verbose=
    818 x_includes=NONE
    819 x_libraries=NONE
    820 
    821 # Installation directory options.
    822 # These are left unexpanded so users can "make install exec_prefix=/foo"
    823 # and all the variables that are supposed to be based on exec_prefix
    824 # by default will actually change.
    825 # Use braces instead of parens because sh, perl, etc. also accept them.
    826 # (The list follows the same order as the GNU Coding Standards.)
    827 bindir='${exec_prefix}/bin'
    828 sbindir='${exec_prefix}/sbin'
    829 libexecdir='${exec_prefix}/libexec'
    830 datarootdir='${prefix}/share'
    831 datadir='${datarootdir}'
    832 sysconfdir='${prefix}/etc'
    833 sharedstatedir='${prefix}/com'
    834 localstatedir='${prefix}/var'
    835 runstatedir='${localstatedir}/run'
    836 includedir='${prefix}/include'
    837 oldincludedir='/usr/include'
    838 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    839 infodir='${datarootdir}/info'
    840 htmldir='${docdir}'
    841 dvidir='${docdir}'
    842 pdfdir='${docdir}'
    843 psdir='${docdir}'
    844 libdir='${exec_prefix}/lib'
    845 localedir='${datarootdir}/locale'
    846 mandir='${datarootdir}/man'
    847 
    848 ac_prev=
    849 ac_dashdash=
    850 for ac_option
    851 do
    852   # If the previous option needs an argument, assign it.
    853   if test -n "$ac_prev"; then
    854     eval $ac_prev=\$ac_option
    855     ac_prev=
    856     continue
    857   fi
    858 
    859   case $ac_option in
    860   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    861   *=)   ac_optarg= ;;
    862   *)    ac_optarg=yes ;;
    863   esac
    864 
    865   case $ac_dashdash$ac_option in
    866   --)
    867     ac_dashdash=yes ;;
    868 
    869   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    870     ac_prev=bindir ;;
    871   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    872     bindir=$ac_optarg ;;
    873 
    874   -build | --build | --buil | --bui | --bu)
    875     ac_prev=build_alias ;;
    876   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    877     build_alias=$ac_optarg ;;
    878 
    879   -cache-file | --cache-file | --cache-fil | --cache-fi \
    880   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    881     ac_prev=cache_file ;;
    882   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    883   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    884     cache_file=$ac_optarg ;;
    885 
    886   --config-cache | -C)
    887     cache_file=config.cache ;;
    888 
    889   -datadir | --datadir | --datadi | --datad)
    890     ac_prev=datadir ;;
    891   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    892     datadir=$ac_optarg ;;
    893 
    894   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    895   | --dataroo | --dataro | --datar)
    896     ac_prev=datarootdir ;;
    897   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    898   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    899     datarootdir=$ac_optarg ;;
    900 
    901   -disable-* | --disable-*)
    902     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    903     # Reject names that are not valid shell variable names.
    904     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    905       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    906     ac_useropt_orig=$ac_useropt
    907     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    908     case $ac_user_opts in
    909       *"
    910 "enable_$ac_useropt"
    911 "*) ;;
    912       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    913 	 ac_unrecognized_sep=', ';;
    914     esac
    915     eval enable_$ac_useropt=no ;;
    916 
    917   -docdir | --docdir | --docdi | --doc | --do)
    918     ac_prev=docdir ;;
    919   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    920     docdir=$ac_optarg ;;
    921 
    922   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    923     ac_prev=dvidir ;;
    924   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    925     dvidir=$ac_optarg ;;
    926 
    927   -enable-* | --enable-*)
    928     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    929     # Reject names that are not valid shell variable names.
    930     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    931       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    932     ac_useropt_orig=$ac_useropt
    933     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    934     case $ac_user_opts in
    935       *"
    936 "enable_$ac_useropt"
    937 "*) ;;
    938       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    939 	 ac_unrecognized_sep=', ';;
    940     esac
    941     eval enable_$ac_useropt=\$ac_optarg ;;
    942 
    943   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    944   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    945   | --exec | --exe | --ex)
    946     ac_prev=exec_prefix ;;
    947   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    948   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    949   | --exec=* | --exe=* | --ex=*)
    950     exec_prefix=$ac_optarg ;;
    951 
    952   -gas | --gas | --ga | --g)
    953     # Obsolete; use --with-gas.
    954     with_gas=yes ;;
    955 
    956   -help | --help | --hel | --he | -h)
    957     ac_init_help=long ;;
    958   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    959     ac_init_help=recursive ;;
    960   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    961     ac_init_help=short ;;
    962 
    963   -host | --host | --hos | --ho)
    964     ac_prev=host_alias ;;
    965   -host=* | --host=* | --hos=* | --ho=*)
    966     host_alias=$ac_optarg ;;
    967 
    968   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    969     ac_prev=htmldir ;;
    970   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    971   | --ht=*)
    972     htmldir=$ac_optarg ;;
    973 
    974   -includedir | --includedir | --includedi | --included | --include \
    975   | --includ | --inclu | --incl | --inc)
    976     ac_prev=includedir ;;
    977   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    978   | --includ=* | --inclu=* | --incl=* | --inc=*)
    979     includedir=$ac_optarg ;;
    980 
    981   -infodir | --infodir | --infodi | --infod | --info | --inf)
    982     ac_prev=infodir ;;
    983   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    984     infodir=$ac_optarg ;;
    985 
    986   -libdir | --libdir | --libdi | --libd)
    987     ac_prev=libdir ;;
    988   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    989     libdir=$ac_optarg ;;
    990 
    991   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    992   | --libexe | --libex | --libe)
    993     ac_prev=libexecdir ;;
    994   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    995   | --libexe=* | --libex=* | --libe=*)
    996     libexecdir=$ac_optarg ;;
    997 
    998   -localedir | --localedir | --localedi | --localed | --locale)
    999     ac_prev=localedir ;;
   1000   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1001     localedir=$ac_optarg ;;
   1002 
   1003   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1004   | --localstate | --localstat | --localsta | --localst | --locals)
   1005     ac_prev=localstatedir ;;
   1006   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1007   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1008     localstatedir=$ac_optarg ;;
   1009 
   1010   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1011     ac_prev=mandir ;;
   1012   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1013     mandir=$ac_optarg ;;
   1014 
   1015   -nfp | --nfp | --nf)
   1016     # Obsolete; use --without-fp.
   1017     with_fp=no ;;
   1018 
   1019   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1020   | --no-cr | --no-c | -n)
   1021     no_create=yes ;;
   1022 
   1023   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1024   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1025     no_recursion=yes ;;
   1026 
   1027   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1028   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1029   | --oldin | --oldi | --old | --ol | --o)
   1030     ac_prev=oldincludedir ;;
   1031   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1032   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1033   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1034     oldincludedir=$ac_optarg ;;
   1035 
   1036   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1037     ac_prev=prefix ;;
   1038   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1039     prefix=$ac_optarg ;;
   1040 
   1041   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1042   | --program-pre | --program-pr | --program-p)
   1043     ac_prev=program_prefix ;;
   1044   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1045   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1046     program_prefix=$ac_optarg ;;
   1047 
   1048   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1049   | --program-suf | --program-su | --program-s)
   1050     ac_prev=program_suffix ;;
   1051   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1052   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1053     program_suffix=$ac_optarg ;;
   1054 
   1055   -program-transform-name | --program-transform-name \
   1056   | --program-transform-nam | --program-transform-na \
   1057   | --program-transform-n | --program-transform- \
   1058   | --program-transform | --program-transfor \
   1059   | --program-transfo | --program-transf \
   1060   | --program-trans | --program-tran \
   1061   | --progr-tra | --program-tr | --program-t)
   1062     ac_prev=program_transform_name ;;
   1063   -program-transform-name=* | --program-transform-name=* \
   1064   | --program-transform-nam=* | --program-transform-na=* \
   1065   | --program-transform-n=* | --program-transform-=* \
   1066   | --program-transform=* | --program-transfor=* \
   1067   | --program-transfo=* | --program-transf=* \
   1068   | --program-trans=* | --program-tran=* \
   1069   | --progr-tra=* | --program-tr=* | --program-t=*)
   1070     program_transform_name=$ac_optarg ;;
   1071 
   1072   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1073     ac_prev=pdfdir ;;
   1074   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1075     pdfdir=$ac_optarg ;;
   1076 
   1077   -psdir | --psdir | --psdi | --psd | --ps)
   1078     ac_prev=psdir ;;
   1079   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1080     psdir=$ac_optarg ;;
   1081 
   1082   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1083   | -silent | --silent | --silen | --sile | --sil)
   1084     silent=yes ;;
   1085 
   1086   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1087   | --runstate | --runstat | --runsta | --runst | --runs \
   1088   | --run | --ru | --r)
   1089     ac_prev=runstatedir ;;
   1090   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1091   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1092   | --run=* | --ru=* | --r=*)
   1093     runstatedir=$ac_optarg ;;
   1094 
   1095   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1096     ac_prev=sbindir ;;
   1097   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1098   | --sbi=* | --sb=*)
   1099     sbindir=$ac_optarg ;;
   1100 
   1101   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1102   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1103   | --sharedst | --shareds | --shared | --share | --shar \
   1104   | --sha | --sh)
   1105     ac_prev=sharedstatedir ;;
   1106   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1107   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1108   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1109   | --sha=* | --sh=*)
   1110     sharedstatedir=$ac_optarg ;;
   1111 
   1112   -site | --site | --sit)
   1113     ac_prev=site ;;
   1114   -site=* | --site=* | --sit=*)
   1115     site=$ac_optarg ;;
   1116 
   1117   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1118     ac_prev=srcdir ;;
   1119   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1120     srcdir=$ac_optarg ;;
   1121 
   1122   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1123   | --syscon | --sysco | --sysc | --sys | --sy)
   1124     ac_prev=sysconfdir ;;
   1125   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1126   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1127     sysconfdir=$ac_optarg ;;
   1128 
   1129   -target | --target | --targe | --targ | --tar | --ta | --t)
   1130     ac_prev=target_alias ;;
   1131   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1132     target_alias=$ac_optarg ;;
   1133 
   1134   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1135     verbose=yes ;;
   1136 
   1137   -version | --version | --versio | --versi | --vers | -V)
   1138     ac_init_version=: ;;
   1139 
   1140   -with-* | --with-*)
   1141     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1142     # Reject names that are not valid shell variable names.
   1143     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1144       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1145     ac_useropt_orig=$ac_useropt
   1146     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1147     case $ac_user_opts in
   1148       *"
   1149 "with_$ac_useropt"
   1150 "*) ;;
   1151       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1152 	 ac_unrecognized_sep=', ';;
   1153     esac
   1154     eval with_$ac_useropt=\$ac_optarg ;;
   1155 
   1156   -without-* | --without-*)
   1157     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1158     # Reject names that are not valid shell variable names.
   1159     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1160       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1161     ac_useropt_orig=$ac_useropt
   1162     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1163     case $ac_user_opts in
   1164       *"
   1165 "with_$ac_useropt"
   1166 "*) ;;
   1167       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1168 	 ac_unrecognized_sep=', ';;
   1169     esac
   1170     eval with_$ac_useropt=no ;;
   1171 
   1172   --x)
   1173     # Obsolete; use --with-x.
   1174     with_x=yes ;;
   1175 
   1176   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1177   | --x-incl | --x-inc | --x-in | --x-i)
   1178     ac_prev=x_includes ;;
   1179   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1180   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1181     x_includes=$ac_optarg ;;
   1182 
   1183   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1184   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1185     ac_prev=x_libraries ;;
   1186   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1187   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1188     x_libraries=$ac_optarg ;;
   1189 
   1190   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1191 Try \`$0 --help' for more information"
   1192     ;;
   1193 
   1194   *=*)
   1195     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1196     # Reject names that are not valid shell variable names.
   1197     case $ac_envvar in #(
   1198       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1199       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1200     esac
   1201     eval $ac_envvar=\$ac_optarg
   1202     export $ac_envvar ;;
   1203 
   1204   *)
   1205     # FIXME: should be removed in autoconf 3.0.
   1206     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1207     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1208       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1209     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1210     ;;
   1211 
   1212   esac
   1213 done
   1214 
   1215 if test -n "$ac_prev"; then
   1216   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1217   as_fn_error $? "missing argument to $ac_option"
   1218 fi
   1219 
   1220 if test -n "$ac_unrecognized_opts"; then
   1221   case $enable_option_checking in
   1222     no) ;;
   1223     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1224     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1225   esac
   1226 fi
   1227 
   1228 # Check all directory arguments for consistency.
   1229 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1230 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1231 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1232 		libdir localedir mandir runstatedir
   1233 do
   1234   eval ac_val=\$$ac_var
   1235   # Remove trailing slashes.
   1236   case $ac_val in
   1237     */ )
   1238       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1239       eval $ac_var=\$ac_val;;
   1240   esac
   1241   # Be sure to have absolute directory names.
   1242   case $ac_val in
   1243     [\\/$]* | ?:[\\/]* )  continue;;
   1244     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1245   esac
   1246   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1247 done
   1248 
   1249 # There might be people who depend on the old broken behavior: `$host'
   1250 # used to hold the argument of --host etc.
   1251 # FIXME: To remove some day.
   1252 build=$build_alias
   1253 host=$host_alias
   1254 target=$target_alias
   1255 
   1256 # FIXME: To remove some day.
   1257 if test "x$host_alias" != x; then
   1258   if test "x$build_alias" = x; then
   1259     cross_compiling=maybe
   1260   elif test "x$build_alias" != "x$host_alias"; then
   1261     cross_compiling=yes
   1262   fi
   1263 fi
   1264 
   1265 ac_tool_prefix=
   1266 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1267 
   1268 test "$silent" = yes && exec 6>/dev/null
   1269 
   1270 
   1271 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1272 ac_ls_di=`ls -di .` &&
   1273 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1274   as_fn_error $? "working directory cannot be determined"
   1275 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1276   as_fn_error $? "pwd does not report name of working directory"
   1277 
   1278 
   1279 # Find the source files, if location was not specified.
   1280 if test -z "$srcdir"; then
   1281   ac_srcdir_defaulted=yes
   1282   # Try the directory containing this script, then the parent directory.
   1283   ac_confdir=`$as_dirname -- "$as_myself" ||
   1284 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1285 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1286 	 X"$as_myself" : 'X\(//\)$' \| \
   1287 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1288 printf "%s\n" X"$as_myself" |
   1289     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1290 	    s//\1/
   1291 	    q
   1292 	  }
   1293 	  /^X\(\/\/\)[^/].*/{
   1294 	    s//\1/
   1295 	    q
   1296 	  }
   1297 	  /^X\(\/\/\)$/{
   1298 	    s//\1/
   1299 	    q
   1300 	  }
   1301 	  /^X\(\/\).*/{
   1302 	    s//\1/
   1303 	    q
   1304 	  }
   1305 	  s/.*/./; q'`
   1306   srcdir=$ac_confdir
   1307   if test ! -r "$srcdir/$ac_unique_file"; then
   1308     srcdir=..
   1309   fi
   1310 else
   1311   ac_srcdir_defaulted=no
   1312 fi
   1313 if test ! -r "$srcdir/$ac_unique_file"; then
   1314   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1315   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1316 fi
   1317 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1318 ac_abs_confdir=`(
   1319 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1320 	pwd)`
   1321 # When building in place, set srcdir=.
   1322 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1323   srcdir=.
   1324 fi
   1325 # Remove unnecessary trailing slashes from srcdir.
   1326 # Double slashes in file names in object file debugging info
   1327 # mess up M-x gdb in Emacs.
   1328 case $srcdir in
   1329 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1330 esac
   1331 for ac_var in $ac_precious_vars; do
   1332   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1333   eval ac_env_${ac_var}_value=\$${ac_var}
   1334   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1335   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1336 done
   1337 
   1338 #
   1339 # Report the --help message.
   1340 #
   1341 if test "$ac_init_help" = "long"; then
   1342   # Omit some internal or obsolete options to make the list less imposing.
   1343   # This message is too long to be a string in the A/UX 3.1 sh.
   1344   cat <<_ACEOF
   1345 \`configure' configures smproxy 1.0.7 to adapt to many kinds of systems.
   1346 
   1347 Usage: $0 [OPTION]... [VAR=VALUE]...
   1348 
   1349 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1350 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1351 
   1352 Defaults for the options are specified in brackets.
   1353 
   1354 Configuration:
   1355   -h, --help              display this help and exit
   1356       --help=short        display options specific to this package
   1357       --help=recursive    display the short help of all the included packages
   1358   -V, --version           display version information and exit
   1359   -q, --quiet, --silent   do not print \`checking ...' messages
   1360       --cache-file=FILE   cache test results in FILE [disabled]
   1361   -C, --config-cache      alias for \`--cache-file=config.cache'
   1362   -n, --no-create         do not create output files
   1363       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1364 
   1365 Installation directories:
   1366   --prefix=PREFIX         install architecture-independent files in PREFIX
   1367                           [$ac_default_prefix]
   1368   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1369                           [PREFIX]
   1370 
   1371 By default, \`make install' will install all the files in
   1372 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1373 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1374 for instance \`--prefix=\$HOME'.
   1375 
   1376 For better control, use the options below.
   1377 
   1378 Fine tuning of the installation directories:
   1379   --bindir=DIR            user executables [EPREFIX/bin]
   1380   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1381   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1382   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1383   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1384   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1385   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1386   --libdir=DIR            object code libraries [EPREFIX/lib]
   1387   --includedir=DIR        C header files [PREFIX/include]
   1388   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1389   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1390   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1391   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1392   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1393   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1394   --docdir=DIR            documentation root [DATAROOTDIR/doc/smproxy]
   1395   --htmldir=DIR           html documentation [DOCDIR]
   1396   --dvidir=DIR            dvi documentation [DOCDIR]
   1397   --pdfdir=DIR            pdf documentation [DOCDIR]
   1398   --psdir=DIR             ps documentation [DOCDIR]
   1399 _ACEOF
   1400 
   1401   cat <<\_ACEOF
   1402 
   1403 Program names:
   1404   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1405   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1406   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1407 
   1408 System types:
   1409   --build=BUILD     configure for building on BUILD [guessed]
   1410   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1411 _ACEOF
   1412 fi
   1413 
   1414 if test -n "$ac_init_help"; then
   1415   case $ac_init_help in
   1416      short | recursive ) echo "Configuration of smproxy 1.0.7:";;
   1417    esac
   1418   cat <<\_ACEOF
   1419 
   1420 Optional Features:
   1421   --disable-option-checking  ignore unrecognized --enable/--with options
   1422   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1423   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1424   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1425   --disable-silent-rules  verbose build output (undo: "make V=0")
   1426   --enable-dependency-tracking
   1427                           do not reject slow dependency extractors
   1428   --disable-dependency-tracking
   1429                           speeds up one-time build
   1430   --disable-selective-werror
   1431                           Turn off selective compiler errors. (default:
   1432                           enabled)
   1433   --enable-strict-compilation
   1434                           Enable all warnings from compiler and make them
   1435                           errors (default: disabled)
   1436 
   1437 Some influential environment variables:
   1438   CC          C compiler command
   1439   CFLAGS      C compiler flags
   1440   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1441               nonstandard directory <lib dir>
   1442   LIBS        libraries to pass to the linker, e.g. -l<library>
   1443   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1444               you have headers in a nonstandard directory <include dir>
   1445   PKG_CONFIG  path to pkg-config utility
   1446   PKG_CONFIG_PATH
   1447               directories to add to pkg-config's search path
   1448   PKG_CONFIG_LIBDIR
   1449               path overriding pkg-config's built-in search path
   1450   SMPROXY_CFLAGS
   1451               C compiler flags for SMPROXY, overriding pkg-config
   1452   SMPROXY_LIBS
   1453               linker flags for SMPROXY, overriding pkg-config
   1454 
   1455 Use these variables to override the choices made by `configure' or to help
   1456 it to find libraries and programs with nonstandard names/locations.
   1457 
   1458 Report bugs to <https://gitlab.freedesktop.org/xorg/app/smproxy/issues>.
   1459 _ACEOF
   1460 ac_status=$?
   1461 fi
   1462 
   1463 if test "$ac_init_help" = "recursive"; then
   1464   # If there are subdirs, report their specific --help.
   1465   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1466     test -d "$ac_dir" ||
   1467       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1468       continue
   1469     ac_builddir=.
   1470 
   1471 case "$ac_dir" in
   1472 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1473 *)
   1474   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1475   # A ".." for each directory in $ac_dir_suffix.
   1476   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1477   case $ac_top_builddir_sub in
   1478   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1479   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1480   esac ;;
   1481 esac
   1482 ac_abs_top_builddir=$ac_pwd
   1483 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1484 # for backward compatibility:
   1485 ac_top_builddir=$ac_top_build_prefix
   1486 
   1487 case $srcdir in
   1488   .)  # We are building in place.
   1489     ac_srcdir=.
   1490     ac_top_srcdir=$ac_top_builddir_sub
   1491     ac_abs_top_srcdir=$ac_pwd ;;
   1492   [\\/]* | ?:[\\/]* )  # Absolute name.
   1493     ac_srcdir=$srcdir$ac_dir_suffix;
   1494     ac_top_srcdir=$srcdir
   1495     ac_abs_top_srcdir=$srcdir ;;
   1496   *) # Relative name.
   1497     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1498     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1499     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1500 esac
   1501 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1502 
   1503     cd "$ac_dir" || { ac_status=$?; continue; }
   1504     # Check for configure.gnu first; this name is used for a wrapper for
   1505     # Metaconfig's "Configure" on case-insensitive file systems.
   1506     if test -f "$ac_srcdir/configure.gnu"; then
   1507       echo &&
   1508       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1509     elif test -f "$ac_srcdir/configure"; then
   1510       echo &&
   1511       $SHELL "$ac_srcdir/configure" --help=recursive
   1512     else
   1513       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1514     fi || ac_status=$?
   1515     cd "$ac_pwd" || { ac_status=$?; break; }
   1516   done
   1517 fi
   1518 
   1519 test -n "$ac_init_help" && exit $ac_status
   1520 if $ac_init_version; then
   1521   cat <<\_ACEOF
   1522 smproxy configure 1.0.7
   1523 generated by GNU Autoconf 2.71
   1524 
   1525 Copyright (C) 2021 Free Software Foundation, Inc.
   1526 This configure script is free software; the Free Software Foundation
   1527 gives unlimited permission to copy, distribute and modify it.
   1528 _ACEOF
   1529   exit
   1530 fi
   1531 
   1532 ## ------------------------ ##
   1533 ## Autoconf initialization. ##
   1534 ## ------------------------ ##
   1535 
   1536 # ac_fn_c_try_compile LINENO
   1537 # --------------------------
   1538 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1539 ac_fn_c_try_compile ()
   1540 {
   1541   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1542   rm -f conftest.$ac_objext conftest.beam
   1543   if { { ac_try="$ac_compile"
   1544 case "(($ac_try" in
   1545   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1546   *) ac_try_echo=$ac_try;;
   1547 esac
   1548 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1549 printf "%s\n" "$ac_try_echo"; } >&5
   1550   (eval "$ac_compile") 2>conftest.err
   1551   ac_status=$?
   1552   if test -s conftest.err; then
   1553     grep -v '^ *+' conftest.err >conftest.er1
   1554     cat conftest.er1 >&5
   1555     mv -f conftest.er1 conftest.err
   1556   fi
   1557   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1558   test $ac_status = 0; } && {
   1559 	 test -z "$ac_c_werror_flag" ||
   1560 	 test ! -s conftest.err
   1561        } && test -s conftest.$ac_objext
   1562 then :
   1563   ac_retval=0
   1564 else $as_nop
   1565   printf "%s\n" "$as_me: failed program was:" >&5
   1566 sed 's/^/| /' conftest.$ac_ext >&5
   1567 
   1568 	ac_retval=1
   1569 fi
   1570   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1571   as_fn_set_status $ac_retval
   1572 
   1573 } # ac_fn_c_try_compile
   1574 
   1575 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1576 # -------------------------------------------------------
   1577 # Tests whether HEADER exists and can be compiled using the include files in
   1578 # INCLUDES, setting the cache variable VAR accordingly.
   1579 ac_fn_c_check_header_compile ()
   1580 {
   1581   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1582   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1583 printf %s "checking for $2... " >&6; }
   1584 if eval test \${$3+y}
   1585 then :
   1586   printf %s "(cached) " >&6
   1587 else $as_nop
   1588   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1589 /* end confdefs.h.  */
   1590 $4
   1591 #include <$2>
   1592 _ACEOF
   1593 if ac_fn_c_try_compile "$LINENO"
   1594 then :
   1595   eval "$3=yes"
   1596 else $as_nop
   1597   eval "$3=no"
   1598 fi
   1599 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1600 fi
   1601 eval ac_res=\$$3
   1602 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1603 printf "%s\n" "$ac_res" >&6; }
   1604   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1605 
   1606 } # ac_fn_c_check_header_compile
   1607 
   1608 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1609 # ------------------------------------------------------------------
   1610 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1611 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1612 ac_fn_check_decl ()
   1613 {
   1614   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1615   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1616   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1617 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1618 if eval test \${$3+y}
   1619 then :
   1620   printf %s "(cached) " >&6
   1621 else $as_nop
   1622   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1623   eval ac_save_FLAGS=\$$6
   1624   as_fn_append $6 " $5"
   1625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1626 /* end confdefs.h.  */
   1627 $4
   1628 int
   1629 main (void)
   1630 {
   1631 #ifndef $as_decl_name
   1632 #ifdef __cplusplus
   1633   (void) $as_decl_use;
   1634 #else
   1635   (void) $as_decl_name;
   1636 #endif
   1637 #endif
   1638 
   1639   ;
   1640   return 0;
   1641 }
   1642 _ACEOF
   1643 if ac_fn_c_try_compile "$LINENO"
   1644 then :
   1645   eval "$3=yes"
   1646 else $as_nop
   1647   eval "$3=no"
   1648 fi
   1649 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1650   eval $6=\$ac_save_FLAGS
   1651 
   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 $as_nop
   1692   printf "%s\n" "$as_me: failed program was:" >&5
   1693 sed 's/^/| /' conftest.$ac_ext >&5
   1694 
   1695 	ac_retval=1
   1696 fi
   1697   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1698   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1699   # interfere with the next link command; also delete a directory that is
   1700   # left behind by Apple's compiler.  We do this before executing the actions.
   1701   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1702   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1703   as_fn_set_status $ac_retval
   1704 
   1705 } # ac_fn_c_try_link
   1706 
   1707 # ac_fn_c_check_func LINENO FUNC VAR
   1708 # ----------------------------------
   1709 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1710 ac_fn_c_check_func ()
   1711 {
   1712   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1713   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1714 printf %s "checking for $2... " >&6; }
   1715 if eval test \${$3+y}
   1716 then :
   1717   printf %s "(cached) " >&6
   1718 else $as_nop
   1719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1720 /* end confdefs.h.  */
   1721 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1722    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1723 #define $2 innocuous_$2
   1724 
   1725 /* System header to define __stub macros and hopefully few prototypes,
   1726    which can conflict with char $2 (); below.  */
   1727 
   1728 #include <limits.h>
   1729 #undef $2
   1730 
   1731 /* Override any GCC internal prototype to avoid an error.
   1732    Use char because int might match the return type of a GCC
   1733    builtin and then its argument prototype would still apply.  */
   1734 #ifdef __cplusplus
   1735 extern "C"
   1736 #endif
   1737 char $2 ();
   1738 /* The GNU C library defines this for functions which it implements
   1739     to always fail with ENOSYS.  Some functions are actually named
   1740     something starting with __ and the normal name is an alias.  */
   1741 #if defined __stub_$2 || defined __stub___$2
   1742 choke me
   1743 #endif
   1744 
   1745 int
   1746 main (void)
   1747 {
   1748 return $2 ();
   1749   ;
   1750   return 0;
   1751 }
   1752 _ACEOF
   1753 if ac_fn_c_try_link "$LINENO"
   1754 then :
   1755   eval "$3=yes"
   1756 else $as_nop
   1757   eval "$3=no"
   1758 fi
   1759 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1760     conftest$ac_exeext conftest.$ac_ext
   1761 fi
   1762 eval ac_res=\$$3
   1763 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1764 printf "%s\n" "$ac_res" >&6; }
   1765   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1766 
   1767 } # ac_fn_c_check_func
   1768 ac_configure_args_raw=
   1769 for ac_arg
   1770 do
   1771   case $ac_arg in
   1772   *\'*)
   1773     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1774   esac
   1775   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1776 done
   1777 
   1778 case $ac_configure_args_raw in
   1779   *$as_nl*)
   1780     ac_safe_unquote= ;;
   1781   *)
   1782     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1783     ac_unsafe_a="$ac_unsafe_z#~"
   1784     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1785     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1786 esac
   1787 
   1788 cat >config.log <<_ACEOF
   1789 This file contains any messages produced by compilers while
   1790 running configure, to aid debugging if configure makes a mistake.
   1791 
   1792 It was created by smproxy $as_me 1.0.7, which was
   1793 generated by GNU Autoconf 2.71.  Invocation command line was
   1794 
   1795   $ $0$ac_configure_args_raw
   1796 
   1797 _ACEOF
   1798 exec 5>>config.log
   1799 {
   1800 cat <<_ASUNAME
   1801 ## --------- ##
   1802 ## Platform. ##
   1803 ## --------- ##
   1804 
   1805 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1806 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1807 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1808 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1809 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1810 
   1811 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1812 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1813 
   1814 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1815 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1816 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1817 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1818 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1819 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1820 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1821 
   1822 _ASUNAME
   1823 
   1824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1825 for as_dir in $PATH
   1826 do
   1827   IFS=$as_save_IFS
   1828   case $as_dir in #(((
   1829     '') as_dir=./ ;;
   1830     */) ;;
   1831     *) as_dir=$as_dir/ ;;
   1832   esac
   1833     printf "%s\n" "PATH: $as_dir"
   1834   done
   1835 IFS=$as_save_IFS
   1836 
   1837 } >&5
   1838 
   1839 cat >&5 <<_ACEOF
   1840 
   1841 
   1842 ## ----------- ##
   1843 ## Core tests. ##
   1844 ## ----------- ##
   1845 
   1846 _ACEOF
   1847 
   1848 
   1849 # Keep a trace of the command line.
   1850 # Strip out --no-create and --no-recursion so they do not pile up.
   1851 # Strip out --silent because we don't want to record it for future runs.
   1852 # Also quote any args containing shell meta-characters.
   1853 # Make two passes to allow for proper duplicate-argument suppression.
   1854 ac_configure_args=
   1855 ac_configure_args0=
   1856 ac_configure_args1=
   1857 ac_must_keep_next=false
   1858 for ac_pass in 1 2
   1859 do
   1860   for ac_arg
   1861   do
   1862     case $ac_arg in
   1863     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1864     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1865     | -silent | --silent | --silen | --sile | --sil)
   1866       continue ;;
   1867     *\'*)
   1868       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1869     esac
   1870     case $ac_pass in
   1871     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1872     2)
   1873       as_fn_append ac_configure_args1 " '$ac_arg'"
   1874       if test $ac_must_keep_next = true; then
   1875 	ac_must_keep_next=false # Got value, back to normal.
   1876       else
   1877 	case $ac_arg in
   1878 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1879 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1880 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1881 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1882 	    case "$ac_configure_args0 " in
   1883 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1884 	    esac
   1885 	    ;;
   1886 	  -* ) ac_must_keep_next=true ;;
   1887 	esac
   1888       fi
   1889       as_fn_append ac_configure_args " '$ac_arg'"
   1890       ;;
   1891     esac
   1892   done
   1893 done
   1894 { ac_configure_args0=; unset ac_configure_args0;}
   1895 { ac_configure_args1=; unset ac_configure_args1;}
   1896 
   1897 # When interrupted or exit'd, cleanup temporary files, and complete
   1898 # config.log.  We remove comments because anyway the quotes in there
   1899 # would cause problems or look ugly.
   1900 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1901 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1902 trap 'exit_status=$?
   1903   # Sanitize IFS.
   1904   IFS=" ""	$as_nl"
   1905   # Save into config.log some information that might help in debugging.
   1906   {
   1907     echo
   1908 
   1909     printf "%s\n" "## ---------------- ##
   1910 ## Cache variables. ##
   1911 ## ---------------- ##"
   1912     echo
   1913     # The following way of writing the cache mishandles newlines in values,
   1914 (
   1915   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1916     eval ac_val=\$$ac_var
   1917     case $ac_val in #(
   1918     *${as_nl}*)
   1919       case $ac_var in #(
   1920       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1921 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1922       esac
   1923       case $ac_var in #(
   1924       _ | IFS | as_nl) ;; #(
   1925       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1926       *) { eval $ac_var=; unset $ac_var;} ;;
   1927       esac ;;
   1928     esac
   1929   done
   1930   (set) 2>&1 |
   1931     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1932     *${as_nl}ac_space=\ *)
   1933       sed -n \
   1934 	"s/'\''/'\''\\\\'\'''\''/g;
   1935 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1936       ;; #(
   1937     *)
   1938       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1939       ;;
   1940     esac |
   1941     sort
   1942 )
   1943     echo
   1944 
   1945     printf "%s\n" "## ----------------- ##
   1946 ## Output variables. ##
   1947 ## ----------------- ##"
   1948     echo
   1949     for ac_var in $ac_subst_vars
   1950     do
   1951       eval ac_val=\$$ac_var
   1952       case $ac_val in
   1953       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1954       esac
   1955       printf "%s\n" "$ac_var='\''$ac_val'\''"
   1956     done | sort
   1957     echo
   1958 
   1959     if test -n "$ac_subst_files"; then
   1960       printf "%s\n" "## ------------------- ##
   1961 ## File substitutions. ##
   1962 ## ------------------- ##"
   1963       echo
   1964       for ac_var in $ac_subst_files
   1965       do
   1966 	eval ac_val=\$$ac_var
   1967 	case $ac_val in
   1968 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1969 	esac
   1970 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   1971       done | sort
   1972       echo
   1973     fi
   1974 
   1975     if test -s confdefs.h; then
   1976       printf "%s\n" "## ----------- ##
   1977 ## confdefs.h. ##
   1978 ## ----------- ##"
   1979       echo
   1980       cat confdefs.h
   1981       echo
   1982     fi
   1983     test "$ac_signal" != 0 &&
   1984       printf "%s\n" "$as_me: caught signal $ac_signal"
   1985     printf "%s\n" "$as_me: exit $exit_status"
   1986   } >&5
   1987   rm -f core *.core core.conftest.* &&
   1988     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1989     exit $exit_status
   1990 ' 0
   1991 for ac_signal in 1 2 13 15; do
   1992   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1993 done
   1994 ac_signal=0
   1995 
   1996 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1997 rm -f -r conftest* confdefs.h
   1998 
   1999 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2000 
   2001 # Predefined preprocessor variables.
   2002 
   2003 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2004 
   2005 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2006 
   2007 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2008 
   2009 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2010 
   2011 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2012 
   2013 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2014 
   2015 
   2016 # Let the site file select an alternate cache file if it wants to.
   2017 # Prefer an explicitly selected file to automatically selected ones.
   2018 if test -n "$CONFIG_SITE"; then
   2019   ac_site_files="$CONFIG_SITE"
   2020 elif test "x$prefix" != xNONE; then
   2021   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2022 else
   2023   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2024 fi
   2025 
   2026 for ac_site_file in $ac_site_files
   2027 do
   2028   case $ac_site_file in #(
   2029   */*) :
   2030      ;; #(
   2031   *) :
   2032     ac_site_file=./$ac_site_file ;;
   2033 esac
   2034   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2035     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2036 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2037     sed 's/^/| /' "$ac_site_file" >&5
   2038     . "$ac_site_file" \
   2039       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2040 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2041 as_fn_error $? "failed to load site script $ac_site_file
   2042 See \`config.log' for more details" "$LINENO" 5; }
   2043   fi
   2044 done
   2045 
   2046 if test -r "$cache_file"; then
   2047   # Some versions of bash will fail to source /dev/null (special files
   2048   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2049   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2050     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2051 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2052     case $cache_file in
   2053       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2054       *)                      . "./$cache_file";;
   2055     esac
   2056   fi
   2057 else
   2058   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2059 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2060   >$cache_file
   2061 fi
   2062 
   2063 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2064 # Test code for whether the C compiler supports C89 (global declarations)
   2065 ac_c_conftest_c89_globals='
   2066 /* Does the compiler advertise C89 conformance?
   2067    Do not test the value of __STDC__, because some compilers set it to 0
   2068    while being otherwise adequately conformant. */
   2069 #if !defined __STDC__
   2070 # error "Compiler does not advertise C89 conformance"
   2071 #endif
   2072 
   2073 #include <stddef.h>
   2074 #include <stdarg.h>
   2075 struct stat;
   2076 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2077 struct buf { int x; };
   2078 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2079 static char *e (p, i)
   2080      char **p;
   2081      int i;
   2082 {
   2083   return p[i];
   2084 }
   2085 static char *f (char * (*g) (char **, int), char **p, ...)
   2086 {
   2087   char *s;
   2088   va_list v;
   2089   va_start (v,p);
   2090   s = g (p, va_arg (v,int));
   2091   va_end (v);
   2092   return s;
   2093 }
   2094 
   2095 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2096    function prototypes and stuff, but not \xHH hex character constants.
   2097    These do not provoke an error unfortunately, instead are silently treated
   2098    as an "x".  The following induces an error, until -std is added to get
   2099    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2100    array size at least.  It is necessary to write \x00 == 0 to get something
   2101    that is true only with -std.  */
   2102 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2103 
   2104 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2105    inside strings and character constants.  */
   2106 #define FOO(x) '\''x'\''
   2107 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2108 
   2109 int test (int i, double x);
   2110 struct s1 {int (*f) (int a);};
   2111 struct s2 {int (*f) (double a);};
   2112 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2113                int, int);'
   2114 
   2115 # Test code for whether the C compiler supports C89 (body of main).
   2116 ac_c_conftest_c89_main='
   2117 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2118 '
   2119 
   2120 # Test code for whether the C compiler supports C99 (global declarations)
   2121 ac_c_conftest_c99_globals='
   2122 // Does the compiler advertise C99 conformance?
   2123 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2124 # error "Compiler does not advertise C99 conformance"
   2125 #endif
   2126 
   2127 #include <stdbool.h>
   2128 extern int puts (const char *);
   2129 extern int printf (const char *, ...);
   2130 extern int dprintf (int, const char *, ...);
   2131 extern void *malloc (size_t);
   2132 
   2133 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2134 // dprintf is used instead of fprintf to avoid needing to declare
   2135 // FILE and stderr.
   2136 #define debug(...) dprintf (2, __VA_ARGS__)
   2137 #define showlist(...) puts (#__VA_ARGS__)
   2138 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2139 static void
   2140 test_varargs_macros (void)
   2141 {
   2142   int x = 1234;
   2143   int y = 5678;
   2144   debug ("Flag");
   2145   debug ("X = %d\n", x);
   2146   showlist (The first, second, and third items.);
   2147   report (x>y, "x is %d but y is %d", x, y);
   2148 }
   2149 
   2150 // Check long long types.
   2151 #define BIG64 18446744073709551615ull
   2152 #define BIG32 4294967295ul
   2153 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2154 #if !BIG_OK
   2155   #error "your preprocessor is broken"
   2156 #endif
   2157 #if BIG_OK
   2158 #else
   2159   #error "your preprocessor is broken"
   2160 #endif
   2161 static long long int bignum = -9223372036854775807LL;
   2162 static unsigned long long int ubignum = BIG64;
   2163 
   2164 struct incomplete_array
   2165 {
   2166   int datasize;
   2167   double data[];
   2168 };
   2169 
   2170 struct named_init {
   2171   int number;
   2172   const wchar_t *name;
   2173   double average;
   2174 };
   2175 
   2176 typedef const char *ccp;
   2177 
   2178 static inline int
   2179 test_restrict (ccp restrict text)
   2180 {
   2181   // See if C++-style comments work.
   2182   // Iterate through items via the restricted pointer.
   2183   // Also check for declarations in for loops.
   2184   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2185     continue;
   2186   return 0;
   2187 }
   2188 
   2189 // Check varargs and va_copy.
   2190 static bool
   2191 test_varargs (const char *format, ...)
   2192 {
   2193   va_list args;
   2194   va_start (args, format);
   2195   va_list args_copy;
   2196   va_copy (args_copy, args);
   2197 
   2198   const char *str = "";
   2199   int number = 0;
   2200   float fnumber = 0;
   2201 
   2202   while (*format)
   2203     {
   2204       switch (*format++)
   2205 	{
   2206 	case '\''s'\'': // string
   2207 	  str = va_arg (args_copy, const char *);
   2208 	  break;
   2209 	case '\''d'\'': // int
   2210 	  number = va_arg (args_copy, int);
   2211 	  break;
   2212 	case '\''f'\'': // float
   2213 	  fnumber = va_arg (args_copy, double);
   2214 	  break;
   2215 	default:
   2216 	  break;
   2217 	}
   2218     }
   2219   va_end (args_copy);
   2220   va_end (args);
   2221 
   2222   return *str && number && fnumber;
   2223 }
   2224 '
   2225 
   2226 # Test code for whether the C compiler supports C99 (body of main).
   2227 ac_c_conftest_c99_main='
   2228   // Check bool.
   2229   _Bool success = false;
   2230   success |= (argc != 0);
   2231 
   2232   // Check restrict.
   2233   if (test_restrict ("String literal") == 0)
   2234     success = true;
   2235   char *restrict newvar = "Another string";
   2236 
   2237   // Check varargs.
   2238   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2239   test_varargs_macros ();
   2240 
   2241   // Check flexible array members.
   2242   struct incomplete_array *ia =
   2243     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2244   ia->datasize = 10;
   2245   for (int i = 0; i < ia->datasize; ++i)
   2246     ia->data[i] = i * 1.234;
   2247 
   2248   // Check named initializers.
   2249   struct named_init ni = {
   2250     .number = 34,
   2251     .name = L"Test wide string",
   2252     .average = 543.34343,
   2253   };
   2254 
   2255   ni.number = 58;
   2256 
   2257   int dynamic_array[ni.number];
   2258   dynamic_array[0] = argv[0][0];
   2259   dynamic_array[ni.number - 1] = 543;
   2260 
   2261   // work around unused variable warnings
   2262   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2263 	 || dynamic_array[ni.number - 1] != 543);
   2264 '
   2265 
   2266 # Test code for whether the C compiler supports C11 (global declarations)
   2267 ac_c_conftest_c11_globals='
   2268 // Does the compiler advertise C11 conformance?
   2269 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2270 # error "Compiler does not advertise C11 conformance"
   2271 #endif
   2272 
   2273 // Check _Alignas.
   2274 char _Alignas (double) aligned_as_double;
   2275 char _Alignas (0) no_special_alignment;
   2276 extern char aligned_as_int;
   2277 char _Alignas (0) _Alignas (int) aligned_as_int;
   2278 
   2279 // Check _Alignof.
   2280 enum
   2281 {
   2282   int_alignment = _Alignof (int),
   2283   int_array_alignment = _Alignof (int[100]),
   2284   char_alignment = _Alignof (char)
   2285 };
   2286 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2287 
   2288 // Check _Noreturn.
   2289 int _Noreturn does_not_return (void) { for (;;) continue; }
   2290 
   2291 // Check _Static_assert.
   2292 struct test_static_assert
   2293 {
   2294   int x;
   2295   _Static_assert (sizeof (int) <= sizeof (long int),
   2296                   "_Static_assert does not work in struct");
   2297   long int y;
   2298 };
   2299 
   2300 // Check UTF-8 literals.
   2301 #define u8 syntax error!
   2302 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2303 
   2304 // Check duplicate typedefs.
   2305 typedef long *long_ptr;
   2306 typedef long int *long_ptr;
   2307 typedef long_ptr long_ptr;
   2308 
   2309 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2310 struct anonymous
   2311 {
   2312   union {
   2313     struct { int i; int j; };
   2314     struct { int k; long int l; } w;
   2315   };
   2316   int m;
   2317 } v1;
   2318 '
   2319 
   2320 # Test code for whether the C compiler supports C11 (body of main).
   2321 ac_c_conftest_c11_main='
   2322   _Static_assert ((offsetof (struct anonymous, i)
   2323 		   == offsetof (struct anonymous, w.k)),
   2324 		  "Anonymous union alignment botch");
   2325   v1.i = 2;
   2326   v1.w.k = 5;
   2327   ok |= v1.i != 5;
   2328 '
   2329 
   2330 # Test code for whether the C compiler supports C11 (complete).
   2331 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2332 ${ac_c_conftest_c99_globals}
   2333 ${ac_c_conftest_c11_globals}
   2334 
   2335 int
   2336 main (int argc, char **argv)
   2337 {
   2338   int ok = 0;
   2339   ${ac_c_conftest_c89_main}
   2340   ${ac_c_conftest_c99_main}
   2341   ${ac_c_conftest_c11_main}
   2342   return ok;
   2343 }
   2344 "
   2345 
   2346 # Test code for whether the C compiler supports C99 (complete).
   2347 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2348 ${ac_c_conftest_c99_globals}
   2349 
   2350 int
   2351 main (int argc, char **argv)
   2352 {
   2353   int ok = 0;
   2354   ${ac_c_conftest_c89_main}
   2355   ${ac_c_conftest_c99_main}
   2356   return ok;
   2357 }
   2358 "
   2359 
   2360 # Test code for whether the C compiler supports C89 (complete).
   2361 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2362 
   2363 int
   2364 main (int argc, char **argv)
   2365 {
   2366   int ok = 0;
   2367   ${ac_c_conftest_c89_main}
   2368   return ok;
   2369 }
   2370 "
   2371 
   2372 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2373 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2374 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2375 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2376 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2377 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2378 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2379 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2380 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
   2381 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
   2382 
   2383 # Auxiliary files required by this configure script.
   2384 ac_aux_files="config.guess config.sub compile missing install-sh"
   2385 
   2386 # Locations in which to look for auxiliary files.
   2387 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2388 
   2389 # Search for a directory containing all of the required auxiliary files,
   2390 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2391 # If we don't find one directory that contains all the files we need,
   2392 # we report the set of missing files from the *first* directory in
   2393 # $ac_aux_dir_candidates and give up.
   2394 ac_missing_aux_files=""
   2395 ac_first_candidate=:
   2396 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2398 as_found=false
   2399 for as_dir in $ac_aux_dir_candidates
   2400 do
   2401   IFS=$as_save_IFS
   2402   case $as_dir in #(((
   2403     '') as_dir=./ ;;
   2404     */) ;;
   2405     *) as_dir=$as_dir/ ;;
   2406   esac
   2407   as_found=:
   2408 
   2409   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2410   ac_aux_dir_found=yes
   2411   ac_install_sh=
   2412   for ac_aux in $ac_aux_files
   2413   do
   2414     # As a special case, if "install-sh" is required, that requirement
   2415     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2416     # and $ac_install_sh is set appropriately for whichever one is found.
   2417     if test x"$ac_aux" = x"install-sh"
   2418     then
   2419       if test -f "${as_dir}install-sh"; then
   2420         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2421         ac_install_sh="${as_dir}install-sh -c"
   2422       elif test -f "${as_dir}install.sh"; then
   2423         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2424         ac_install_sh="${as_dir}install.sh -c"
   2425       elif test -f "${as_dir}shtool"; then
   2426         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2427         ac_install_sh="${as_dir}shtool install -c"
   2428       else
   2429         ac_aux_dir_found=no
   2430         if $ac_first_candidate; then
   2431           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2432         else
   2433           break
   2434         fi
   2435       fi
   2436     else
   2437       if test -f "${as_dir}${ac_aux}"; then
   2438         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2439       else
   2440         ac_aux_dir_found=no
   2441         if $ac_first_candidate; then
   2442           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2443         else
   2444           break
   2445         fi
   2446       fi
   2447     fi
   2448   done
   2449   if test "$ac_aux_dir_found" = yes; then
   2450     ac_aux_dir="$as_dir"
   2451     break
   2452   fi
   2453   ac_first_candidate=false
   2454 
   2455   as_found=false
   2456 done
   2457 IFS=$as_save_IFS
   2458 if $as_found
   2459 then :
   2460 
   2461 else $as_nop
   2462   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2463 fi
   2464 
   2465 
   2466 # These three variables are undocumented and unsupported,
   2467 # and are intended to be withdrawn in a future Autoconf release.
   2468 # They can cause serious problems if a builder's source tree is in a directory
   2469 # whose full name contains unusual characters.
   2470 if test -f "${ac_aux_dir}config.guess"; then
   2471   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2472 fi
   2473 if test -f "${ac_aux_dir}config.sub"; then
   2474   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2475 fi
   2476 if test -f "$ac_aux_dir/configure"; then
   2477   ac_configure="$SHELL ${ac_aux_dir}configure"
   2478 fi
   2479 
   2480 # Check that the precious variables saved in the cache have kept the same
   2481 # value.
   2482 ac_cache_corrupted=false
   2483 for ac_var in $ac_precious_vars; do
   2484   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2485   eval ac_new_set=\$ac_env_${ac_var}_set
   2486   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2487   eval ac_new_val=\$ac_env_${ac_var}_value
   2488   case $ac_old_set,$ac_new_set in
   2489     set,)
   2490       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2491 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2492       ac_cache_corrupted=: ;;
   2493     ,set)
   2494       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2495 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2496       ac_cache_corrupted=: ;;
   2497     ,);;
   2498     *)
   2499       if test "x$ac_old_val" != "x$ac_new_val"; then
   2500 	# differences in whitespace do not lead to failure.
   2501 	ac_old_val_w=`echo x $ac_old_val`
   2502 	ac_new_val_w=`echo x $ac_new_val`
   2503 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2504 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2505 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2506 	  ac_cache_corrupted=:
   2507 	else
   2508 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2509 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2510 	  eval $ac_var=\$ac_old_val
   2511 	fi
   2512 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2513 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2514 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2515 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2516       fi;;
   2517   esac
   2518   # Pass precious variables to config.status.
   2519   if test "$ac_new_set" = set; then
   2520     case $ac_new_val in
   2521     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2522     *) ac_arg=$ac_var=$ac_new_val ;;
   2523     esac
   2524     case " $ac_configure_args " in
   2525       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2526       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2527     esac
   2528   fi
   2529 done
   2530 if $ac_cache_corrupted; then
   2531   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2532 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2533   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2534 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2535   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2536 	    and start over" "$LINENO" 5
   2537 fi
   2538 ## -------------------- ##
   2539 ## Main body of script. ##
   2540 ## -------------------- ##
   2541 
   2542 ac_ext=c
   2543 ac_cpp='$CPP $CPPFLAGS'
   2544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2547 
   2548 
   2549 
   2550 ac_config_headers="$ac_config_headers config.h"
   2551 
   2552 
   2553 # Initialize Automake
   2554 am__api_version='1.16'
   2555 
   2556 
   2557 
   2558   # Find a good install program.  We prefer a C program (faster),
   2559 # so one script is as good as another.  But avoid the broken or
   2560 # incompatible versions:
   2561 # SysV /etc/install, /usr/sbin/install
   2562 # SunOS /usr/etc/install
   2563 # IRIX /sbin/install
   2564 # AIX /bin/install
   2565 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2566 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2567 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2568 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2569 # OS/2's system install, which has a completely different semantic
   2570 # ./install, which can be erroneously created by make from ./install.sh.
   2571 # Reject install programs that cannot install multiple files.
   2572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2573 printf %s "checking for a BSD-compatible install... " >&6; }
   2574 if test -z "$INSTALL"; then
   2575 if test ${ac_cv_path_install+y}
   2576 then :
   2577   printf %s "(cached) " >&6
   2578 else $as_nop
   2579   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2580 for as_dir in $PATH
   2581 do
   2582   IFS=$as_save_IFS
   2583   case $as_dir in #(((
   2584     '') as_dir=./ ;;
   2585     */) ;;
   2586     *) as_dir=$as_dir/ ;;
   2587   esac
   2588     # Account for fact that we put trailing slashes in our PATH walk.
   2589 case $as_dir in #((
   2590   ./ | /[cC]/* | \
   2591   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2592   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2593   /usr/ucb/* ) ;;
   2594   *)
   2595     # OSF1 and SCO ODT 3.0 have their own names for install.
   2596     # Don't use installbsd from OSF since it installs stuff as root
   2597     # by default.
   2598     for ac_prog in ginstall scoinst install; do
   2599       for ac_exec_ext in '' $ac_executable_extensions; do
   2600 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2601 	  if test $ac_prog = install &&
   2602 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2603 	    # AIX install.  It has an incompatible calling convention.
   2604 	    :
   2605 	  elif test $ac_prog = install &&
   2606 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2607 	    # program-specific install script used by HP pwplus--don't use.
   2608 	    :
   2609 	  else
   2610 	    rm -rf conftest.one conftest.two conftest.dir
   2611 	    echo one > conftest.one
   2612 	    echo two > conftest.two
   2613 	    mkdir conftest.dir
   2614 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2615 	      test -s conftest.one && test -s conftest.two &&
   2616 	      test -s conftest.dir/conftest.one &&
   2617 	      test -s conftest.dir/conftest.two
   2618 	    then
   2619 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2620 	      break 3
   2621 	    fi
   2622 	  fi
   2623 	fi
   2624       done
   2625     done
   2626     ;;
   2627 esac
   2628 
   2629   done
   2630 IFS=$as_save_IFS
   2631 
   2632 rm -rf conftest.one conftest.two conftest.dir
   2633 
   2634 fi
   2635   if test ${ac_cv_path_install+y}; then
   2636     INSTALL=$ac_cv_path_install
   2637   else
   2638     # As a last resort, use the slow shell script.  Don't cache a
   2639     # value for INSTALL within a source directory, because that will
   2640     # break other packages using the cache if that directory is
   2641     # removed, or if the value is a relative name.
   2642     INSTALL=$ac_install_sh
   2643   fi
   2644 fi
   2645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2646 printf "%s\n" "$INSTALL" >&6; }
   2647 
   2648 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2649 # It thinks the first close brace ends the variable substitution.
   2650 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2651 
   2652 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2653 
   2654 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2655 
   2656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2657 printf %s "checking whether build environment is sane... " >&6; }
   2658 # Reject unsafe characters in $srcdir or the absolute working directory
   2659 # name.  Accept space and tab only in the latter.
   2660 am_lf='
   2661 '
   2662 case `pwd` in
   2663   *[\\\"\#\$\&\'\`$am_lf]*)
   2664     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2665 esac
   2666 case $srcdir in
   2667   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2668     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2669 esac
   2670 
   2671 # Do 'set' in a subshell so we don't clobber the current shell's
   2672 # arguments.  Must try -L first in case configure is actually a
   2673 # symlink; some systems play weird games with the mod time of symlinks
   2674 # (eg FreeBSD returns the mod time of the symlink's containing
   2675 # directory).
   2676 if (
   2677    am_has_slept=no
   2678    for am_try in 1 2; do
   2679      echo "timestamp, slept: $am_has_slept" > conftest.file
   2680      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2681      if test "$*" = "X"; then
   2682 	# -L didn't work.
   2683 	set X `ls -t "$srcdir/configure" conftest.file`
   2684      fi
   2685      if test "$*" != "X $srcdir/configure conftest.file" \
   2686 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2687 
   2688 	# If neither matched, then we have a broken ls.  This can happen
   2689 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2690 	# broken ls alias from the environment.  This has actually
   2691 	# happened.  Such a system could not be considered "sane".
   2692 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2693   alias in your environment" "$LINENO" 5
   2694      fi
   2695      if test "$2" = conftest.file || test $am_try -eq 2; then
   2696        break
   2697      fi
   2698      # Just in case.
   2699      sleep 1
   2700      am_has_slept=yes
   2701    done
   2702    test "$2" = conftest.file
   2703    )
   2704 then
   2705    # Ok.
   2706    :
   2707 else
   2708    as_fn_error $? "newly created file is older than distributed files!
   2709 Check your system clock" "$LINENO" 5
   2710 fi
   2711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2712 printf "%s\n" "yes" >&6; }
   2713 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2714 # generated files are strictly newer.
   2715 am_sleep_pid=
   2716 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2717   ( sleep 1 ) &
   2718   am_sleep_pid=$!
   2719 fi
   2720 
   2721 rm -f conftest.file
   2722 
   2723 test "$program_prefix" != NONE &&
   2724   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2725 # Use a double $ so make ignores it.
   2726 test "$program_suffix" != NONE &&
   2727   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2728 # Double any \ or $.
   2729 # By default was `s,x,x', remove it if useless.
   2730 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2731 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2732 
   2733 
   2734 # Expand $ac_aux_dir to an absolute path.
   2735 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2736 
   2737 
   2738   if test x"${MISSING+set}" != xset; then
   2739   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2740 fi
   2741 # Use eval to expand $SHELL
   2742 if eval "$MISSING --is-lightweight"; then
   2743   am_missing_run="$MISSING "
   2744 else
   2745   am_missing_run=
   2746   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2747 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2748 fi
   2749 
   2750 if test x"${install_sh+set}" != xset; then
   2751   case $am_aux_dir in
   2752   *\ * | *\	*)
   2753     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2754   *)
   2755     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2756   esac
   2757 fi
   2758 
   2759 # Installed binaries are usually stripped using 'strip' when the user
   2760 # run "make install-strip".  However 'strip' might not be the right
   2761 # tool to use in cross-compilation environments, therefore Automake
   2762 # will honor the 'STRIP' environment variable to overrule this program.
   2763 if test "$cross_compiling" != no; then
   2764   if test -n "$ac_tool_prefix"; then
   2765   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2766 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2768 printf %s "checking for $ac_word... " >&6; }
   2769 if test ${ac_cv_prog_STRIP+y}
   2770 then :
   2771   printf %s "(cached) " >&6
   2772 else $as_nop
   2773   if test -n "$STRIP"; then
   2774   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2775 else
   2776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2777 for as_dir in $PATH
   2778 do
   2779   IFS=$as_save_IFS
   2780   case $as_dir in #(((
   2781     '') as_dir=./ ;;
   2782     */) ;;
   2783     *) as_dir=$as_dir/ ;;
   2784   esac
   2785     for ac_exec_ext in '' $ac_executable_extensions; do
   2786   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2787     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2788     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2789     break 2
   2790   fi
   2791 done
   2792   done
   2793 IFS=$as_save_IFS
   2794 
   2795 fi
   2796 fi
   2797 STRIP=$ac_cv_prog_STRIP
   2798 if test -n "$STRIP"; then
   2799   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2800 printf "%s\n" "$STRIP" >&6; }
   2801 else
   2802   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2803 printf "%s\n" "no" >&6; }
   2804 fi
   2805 
   2806 
   2807 fi
   2808 if test -z "$ac_cv_prog_STRIP"; then
   2809   ac_ct_STRIP=$STRIP
   2810   # Extract the first word of "strip", so it can be a program name with args.
   2811 set dummy strip; ac_word=$2
   2812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2813 printf %s "checking for $ac_word... " >&6; }
   2814 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2815 then :
   2816   printf %s "(cached) " >&6
   2817 else $as_nop
   2818   if test -n "$ac_ct_STRIP"; then
   2819   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2820 else
   2821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2822 for as_dir in $PATH
   2823 do
   2824   IFS=$as_save_IFS
   2825   case $as_dir in #(((
   2826     '') as_dir=./ ;;
   2827     */) ;;
   2828     *) as_dir=$as_dir/ ;;
   2829   esac
   2830     for ac_exec_ext in '' $ac_executable_extensions; do
   2831   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2832     ac_cv_prog_ac_ct_STRIP="strip"
   2833     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2834     break 2
   2835   fi
   2836 done
   2837   done
   2838 IFS=$as_save_IFS
   2839 
   2840 fi
   2841 fi
   2842 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2843 if test -n "$ac_ct_STRIP"; then
   2844   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2845 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2846 else
   2847   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2848 printf "%s\n" "no" >&6; }
   2849 fi
   2850 
   2851   if test "x$ac_ct_STRIP" = x; then
   2852     STRIP=":"
   2853   else
   2854     case $cross_compiling:$ac_tool_warned in
   2855 yes:)
   2856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2857 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2858 ac_tool_warned=yes ;;
   2859 esac
   2860     STRIP=$ac_ct_STRIP
   2861   fi
   2862 else
   2863   STRIP="$ac_cv_prog_STRIP"
   2864 fi
   2865 
   2866 fi
   2867 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2868 
   2869 
   2870   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   2871 printf %s "checking for a race-free mkdir -p... " >&6; }
   2872 if test -z "$MKDIR_P"; then
   2873   if test ${ac_cv_path_mkdir+y}
   2874 then :
   2875   printf %s "(cached) " >&6
   2876 else $as_nop
   2877   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2878 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2879 do
   2880   IFS=$as_save_IFS
   2881   case $as_dir in #(((
   2882     '') as_dir=./ ;;
   2883     */) ;;
   2884     *) as_dir=$as_dir/ ;;
   2885   esac
   2886     for ac_prog in mkdir gmkdir; do
   2887 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2888 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   2889 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2890 	     'mkdir ('*'coreutils) '* | \
   2891 	     'BusyBox '* | \
   2892 	     'mkdir (fileutils) '4.1*)
   2893 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   2894 	       break 3;;
   2895 	   esac
   2896 	 done
   2897        done
   2898   done
   2899 IFS=$as_save_IFS
   2900 
   2901 fi
   2902 
   2903   test -d ./--version && rmdir ./--version
   2904   if test ${ac_cv_path_mkdir+y}; then
   2905     MKDIR_P="$ac_cv_path_mkdir -p"
   2906   else
   2907     # As a last resort, use the slow shell script.  Don't cache a
   2908     # value for MKDIR_P within a source directory, because that will
   2909     # break other packages using the cache if that directory is
   2910     # removed, or if the value is a relative name.
   2911     MKDIR_P="$ac_install_sh -d"
   2912   fi
   2913 fi
   2914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2915 printf "%s\n" "$MKDIR_P" >&6; }
   2916 
   2917 for ac_prog in gawk mawk nawk awk
   2918 do
   2919   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2920 set dummy $ac_prog; ac_word=$2
   2921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2922 printf %s "checking for $ac_word... " >&6; }
   2923 if test ${ac_cv_prog_AWK+y}
   2924 then :
   2925   printf %s "(cached) " >&6
   2926 else $as_nop
   2927   if test -n "$AWK"; then
   2928   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2929 else
   2930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2931 for as_dir in $PATH
   2932 do
   2933   IFS=$as_save_IFS
   2934   case $as_dir in #(((
   2935     '') as_dir=./ ;;
   2936     */) ;;
   2937     *) as_dir=$as_dir/ ;;
   2938   esac
   2939     for ac_exec_ext in '' $ac_executable_extensions; do
   2940   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2941     ac_cv_prog_AWK="$ac_prog"
   2942     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2943     break 2
   2944   fi
   2945 done
   2946   done
   2947 IFS=$as_save_IFS
   2948 
   2949 fi
   2950 fi
   2951 AWK=$ac_cv_prog_AWK
   2952 if test -n "$AWK"; then
   2953   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2954 printf "%s\n" "$AWK" >&6; }
   2955 else
   2956   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2957 printf "%s\n" "no" >&6; }
   2958 fi
   2959 
   2960 
   2961   test -n "$AWK" && break
   2962 done
   2963 
   2964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2965 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2966 set x ${MAKE-make}
   2967 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2968 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   2969 then :
   2970   printf %s "(cached) " >&6
   2971 else $as_nop
   2972   cat >conftest.make <<\_ACEOF
   2973 SHELL = /bin/sh
   2974 all:
   2975 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2976 _ACEOF
   2977 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2978 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2979   *@@@%%%=?*=@@@%%%*)
   2980     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2981   *)
   2982     eval ac_cv_prog_make_${ac_make}_set=no;;
   2983 esac
   2984 rm -f conftest.make
   2985 fi
   2986 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2987   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2988 printf "%s\n" "yes" >&6; }
   2989   SET_MAKE=
   2990 else
   2991   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2992 printf "%s\n" "no" >&6; }
   2993   SET_MAKE="MAKE=${MAKE-make}"
   2994 fi
   2995 
   2996 rm -rf .tst 2>/dev/null
   2997 mkdir .tst 2>/dev/null
   2998 if test -d .tst; then
   2999   am__leading_dot=.
   3000 else
   3001   am__leading_dot=_
   3002 fi
   3003 rmdir .tst 2>/dev/null
   3004 
   3005 # Check whether --enable-silent-rules was given.
   3006 if test ${enable_silent_rules+y}
   3007 then :
   3008   enableval=$enable_silent_rules;
   3009 fi
   3010 
   3011 case $enable_silent_rules in # (((
   3012   yes) AM_DEFAULT_VERBOSITY=0;;
   3013    no) AM_DEFAULT_VERBOSITY=1;;
   3014     *) AM_DEFAULT_VERBOSITY=1;;
   3015 esac
   3016 am_make=${MAKE-make}
   3017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3018 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3019 if test ${am_cv_make_support_nested_variables+y}
   3020 then :
   3021   printf %s "(cached) " >&6
   3022 else $as_nop
   3023   if printf "%s\n" 'TRUE=$(BAR$(V))
   3024 BAR0=false
   3025 BAR1=true
   3026 V=1
   3027 am__doit:
   3028 	@$(TRUE)
   3029 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3030   am_cv_make_support_nested_variables=yes
   3031 else
   3032   am_cv_make_support_nested_variables=no
   3033 fi
   3034 fi
   3035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3036 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3037 if test $am_cv_make_support_nested_variables = yes; then
   3038     AM_V='$(V)'
   3039   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3040 else
   3041   AM_V=$AM_DEFAULT_VERBOSITY
   3042   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3043 fi
   3044 AM_BACKSLASH='\'
   3045 
   3046 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3047   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3048   # is not polluted with repeated "-I."
   3049   am__isrc=' -I$(srcdir)'
   3050   # test to see if srcdir already configured
   3051   if test -f $srcdir/config.status; then
   3052     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3053   fi
   3054 fi
   3055 
   3056 # test whether we have cygpath
   3057 if test -z "$CYGPATH_W"; then
   3058   if (cygpath --version) >/dev/null 2>/dev/null; then
   3059     CYGPATH_W='cygpath -w'
   3060   else
   3061     CYGPATH_W=echo
   3062   fi
   3063 fi
   3064 
   3065 
   3066 # Define the identity of the package.
   3067  PACKAGE='smproxy'
   3068  VERSION='1.0.7'
   3069 
   3070 
   3071 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3072 
   3073 
   3074 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3075 
   3076 # Some tools Automake needs.
   3077 
   3078 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3079 
   3080 
   3081 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3082 
   3083 
   3084 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3085 
   3086 
   3087 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3088 
   3089 
   3090 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3091 
   3092 # For better backward compatibility.  To be removed once Automake 1.9.x
   3093 # dies out for good.  For more background, see:
   3094 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3095 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3096 mkdir_p='$(MKDIR_P)'
   3097 
   3098 # We need awk for the "check" target (and possibly the TAP driver).  The
   3099 # system "awk" is bad on some platforms.
   3100 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3101 # in the wild :-(  We should find a proper way to deprecate it ...
   3102 AMTAR='$${TAR-tar}'
   3103 
   3104 
   3105 # We'll loop over all known methods to create a tar archive until one works.
   3106 _am_tools='gnutar  pax cpio none'
   3107 
   3108 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3109 
   3110 
   3111 
   3112 
   3113 
   3114 # Variables for tags utilities; see am/tags.am
   3115 if test -z "$CTAGS"; then
   3116   CTAGS=ctags
   3117 fi
   3118 
   3119 if test -z "$ETAGS"; then
   3120   ETAGS=etags
   3121 fi
   3122 
   3123 if test -z "$CSCOPE"; then
   3124   CSCOPE=cscope
   3125 fi
   3126 
   3127 
   3128 
   3129 # POSIX will say in a future version that running "rm -f" with no argument
   3130 # is OK; and we want to be able to make that assumption in our Makefile
   3131 # recipes.  So use an aggressive probe to check that the usage we want is
   3132 # actually supported "in the wild" to an acceptable degree.
   3133 # See automake bug#10828.
   3134 # To make any issue more visible, cause the running configure to be aborted
   3135 # by default if the 'rm' program in use doesn't match our expectations; the
   3136 # user can still override this though.
   3137 if rm -f && rm -fr && rm -rf; then : OK; else
   3138   cat >&2 <<'END'
   3139 Oops!
   3140 
   3141 Your 'rm' program seems unable to run without file operands specified
   3142 on the command line, even when the '-f' option is present.  This is contrary
   3143 to the behaviour of most rm programs out there, and not conforming with
   3144 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3145 
   3146 Please tell bug-automake@gnu.org about your system, including the value
   3147 of your $PATH and any error possibly output before this message.  This
   3148 can help us improve future automake versions.
   3149 
   3150 END
   3151   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3152     echo 'Configuration will proceed anyway, since you have set the' >&2
   3153     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3154     echo >&2
   3155   else
   3156     cat >&2 <<'END'
   3157 Aborting the configuration process, to ensure you take notice of the issue.
   3158 
   3159 You can download and install GNU coreutils to get an 'rm' implementation
   3160 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3161 
   3162 If you want to complete the configuration process using your problematic
   3163 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3164 to "yes", and re-run configure.
   3165 
   3166 END
   3167     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3168   fi
   3169 fi
   3170 
   3171 
   3172 # Set common system defines for POSIX extensions, such as _GNU_SOURCE
   3173 # Must be called before any macros that run the compiler (like
   3174 # AC_PROG_LIBTOOL or XORG_DEFAULT_OPTIONS) to avoid autoconf errors.
   3175 
   3176 
   3177 
   3178 
   3179 
   3180 
   3181 
   3182 
   3183 
   3184 DEPDIR="${am__leading_dot}deps"
   3185 
   3186 ac_config_commands="$ac_config_commands depfiles"
   3187 
   3188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3189 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3190 cat > confinc.mk << 'END'
   3191 am__doit:
   3192 	@echo this is the am__doit target >confinc.out
   3193 .PHONY: am__doit
   3194 END
   3195 am__include="#"
   3196 am__quote=
   3197 # BSD make does it like this.
   3198 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3199 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3200 echo 'include confinc.mk # ignored' > confmf.GNU
   3201 _am_result=no
   3202 for s in GNU BSD; do
   3203   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3204    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3205    ac_status=$?
   3206    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3207    (exit $ac_status); }
   3208   case $?:`cat confinc.out 2>/dev/null` in #(
   3209   '0:this is the am__doit target') :
   3210     case $s in #(
   3211   BSD) :
   3212     am__include='.include' am__quote='"' ;; #(
   3213   *) :
   3214     am__include='include' am__quote='' ;;
   3215 esac ;; #(
   3216   *) :
   3217      ;;
   3218 esac
   3219   if test "$am__include" != "#"; then
   3220     _am_result="yes ($s style)"
   3221     break
   3222   fi
   3223 done
   3224 rm -f confinc.* confmf.*
   3225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3226 printf "%s\n" "${_am_result}" >&6; }
   3227 
   3228 # Check whether --enable-dependency-tracking was given.
   3229 if test ${enable_dependency_tracking+y}
   3230 then :
   3231   enableval=$enable_dependency_tracking;
   3232 fi
   3233 
   3234 if test "x$enable_dependency_tracking" != xno; then
   3235   am_depcomp="$ac_aux_dir/depcomp"
   3236   AMDEPBACKSLASH='\'
   3237   am__nodep='_no'
   3238 fi
   3239  if test "x$enable_dependency_tracking" != xno; then
   3240   AMDEP_TRUE=
   3241   AMDEP_FALSE='#'
   3242 else
   3243   AMDEP_TRUE='#'
   3244   AMDEP_FALSE=
   3245 fi
   3246 
   3247 
   3248 ac_ext=c
   3249 ac_cpp='$CPP $CPPFLAGS'
   3250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3253 if test -n "$ac_tool_prefix"; then
   3254   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3255 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3257 printf %s "checking for $ac_word... " >&6; }
   3258 if test ${ac_cv_prog_CC+y}
   3259 then :
   3260   printf %s "(cached) " >&6
   3261 else $as_nop
   3262   if test -n "$CC"; then
   3263   ac_cv_prog_CC="$CC" # Let the user override the test.
   3264 else
   3265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3266 for as_dir in $PATH
   3267 do
   3268   IFS=$as_save_IFS
   3269   case $as_dir in #(((
   3270     '') as_dir=./ ;;
   3271     */) ;;
   3272     *) as_dir=$as_dir/ ;;
   3273   esac
   3274     for ac_exec_ext in '' $ac_executable_extensions; do
   3275   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3276     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3277     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3278     break 2
   3279   fi
   3280 done
   3281   done
   3282 IFS=$as_save_IFS
   3283 
   3284 fi
   3285 fi
   3286 CC=$ac_cv_prog_CC
   3287 if test -n "$CC"; then
   3288   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3289 printf "%s\n" "$CC" >&6; }
   3290 else
   3291   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3292 printf "%s\n" "no" >&6; }
   3293 fi
   3294 
   3295 
   3296 fi
   3297 if test -z "$ac_cv_prog_CC"; then
   3298   ac_ct_CC=$CC
   3299   # Extract the first word of "gcc", so it can be a program name with args.
   3300 set dummy gcc; ac_word=$2
   3301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3302 printf %s "checking for $ac_word... " >&6; }
   3303 if test ${ac_cv_prog_ac_ct_CC+y}
   3304 then :
   3305   printf %s "(cached) " >&6
   3306 else $as_nop
   3307   if test -n "$ac_ct_CC"; then
   3308   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3309 else
   3310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3311 for as_dir in $PATH
   3312 do
   3313   IFS=$as_save_IFS
   3314   case $as_dir in #(((
   3315     '') as_dir=./ ;;
   3316     */) ;;
   3317     *) as_dir=$as_dir/ ;;
   3318   esac
   3319     for ac_exec_ext in '' $ac_executable_extensions; do
   3320   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3321     ac_cv_prog_ac_ct_CC="gcc"
   3322     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3323     break 2
   3324   fi
   3325 done
   3326   done
   3327 IFS=$as_save_IFS
   3328 
   3329 fi
   3330 fi
   3331 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3332 if test -n "$ac_ct_CC"; then
   3333   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3334 printf "%s\n" "$ac_ct_CC" >&6; }
   3335 else
   3336   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3337 printf "%s\n" "no" >&6; }
   3338 fi
   3339 
   3340   if test "x$ac_ct_CC" = x; then
   3341     CC=""
   3342   else
   3343     case $cross_compiling:$ac_tool_warned in
   3344 yes:)
   3345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3346 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3347 ac_tool_warned=yes ;;
   3348 esac
   3349     CC=$ac_ct_CC
   3350   fi
   3351 else
   3352   CC="$ac_cv_prog_CC"
   3353 fi
   3354 
   3355 if test -z "$CC"; then
   3356           if test -n "$ac_tool_prefix"; then
   3357     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3358 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3360 printf %s "checking for $ac_word... " >&6; }
   3361 if test ${ac_cv_prog_CC+y}
   3362 then :
   3363   printf %s "(cached) " >&6
   3364 else $as_nop
   3365   if test -n "$CC"; then
   3366   ac_cv_prog_CC="$CC" # Let the user override the test.
   3367 else
   3368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3369 for as_dir in $PATH
   3370 do
   3371   IFS=$as_save_IFS
   3372   case $as_dir in #(((
   3373     '') as_dir=./ ;;
   3374     */) ;;
   3375     *) as_dir=$as_dir/ ;;
   3376   esac
   3377     for ac_exec_ext in '' $ac_executable_extensions; do
   3378   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3379     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3380     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3381     break 2
   3382   fi
   3383 done
   3384   done
   3385 IFS=$as_save_IFS
   3386 
   3387 fi
   3388 fi
   3389 CC=$ac_cv_prog_CC
   3390 if test -n "$CC"; then
   3391   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3392 printf "%s\n" "$CC" >&6; }
   3393 else
   3394   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3395 printf "%s\n" "no" >&6; }
   3396 fi
   3397 
   3398 
   3399   fi
   3400 fi
   3401 if test -z "$CC"; then
   3402   # Extract the first word of "cc", so it can be a program name with args.
   3403 set dummy cc; ac_word=$2
   3404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3405 printf %s "checking for $ac_word... " >&6; }
   3406 if test ${ac_cv_prog_CC+y}
   3407 then :
   3408   printf %s "(cached) " >&6
   3409 else $as_nop
   3410   if test -n "$CC"; then
   3411   ac_cv_prog_CC="$CC" # Let the user override the test.
   3412 else
   3413   ac_prog_rejected=no
   3414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3415 for as_dir in $PATH
   3416 do
   3417   IFS=$as_save_IFS
   3418   case $as_dir in #(((
   3419     '') as_dir=./ ;;
   3420     */) ;;
   3421     *) as_dir=$as_dir/ ;;
   3422   esac
   3423     for ac_exec_ext in '' $ac_executable_extensions; do
   3424   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3425     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3426        ac_prog_rejected=yes
   3427        continue
   3428      fi
   3429     ac_cv_prog_CC="cc"
   3430     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3431     break 2
   3432   fi
   3433 done
   3434   done
   3435 IFS=$as_save_IFS
   3436 
   3437 if test $ac_prog_rejected = yes; then
   3438   # We found a bogon in the path, so make sure we never use it.
   3439   set dummy $ac_cv_prog_CC
   3440   shift
   3441   if test $# != 0; then
   3442     # We chose a different compiler from the bogus one.
   3443     # However, it has the same basename, so the bogon will be chosen
   3444     # first if we set CC to just the basename; use the full file name.
   3445     shift
   3446     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3447   fi
   3448 fi
   3449 fi
   3450 fi
   3451 CC=$ac_cv_prog_CC
   3452 if test -n "$CC"; then
   3453   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3454 printf "%s\n" "$CC" >&6; }
   3455 else
   3456   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3457 printf "%s\n" "no" >&6; }
   3458 fi
   3459 
   3460 
   3461 fi
   3462 if test -z "$CC"; then
   3463   if test -n "$ac_tool_prefix"; then
   3464   for ac_prog in cl.exe
   3465   do
   3466     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3467 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3469 printf %s "checking for $ac_word... " >&6; }
   3470 if test ${ac_cv_prog_CC+y}
   3471 then :
   3472   printf %s "(cached) " >&6
   3473 else $as_nop
   3474   if test -n "$CC"; then
   3475   ac_cv_prog_CC="$CC" # Let the user override the test.
   3476 else
   3477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3478 for as_dir in $PATH
   3479 do
   3480   IFS=$as_save_IFS
   3481   case $as_dir in #(((
   3482     '') as_dir=./ ;;
   3483     */) ;;
   3484     *) as_dir=$as_dir/ ;;
   3485   esac
   3486     for ac_exec_ext in '' $ac_executable_extensions; do
   3487   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3488     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3489     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3490     break 2
   3491   fi
   3492 done
   3493   done
   3494 IFS=$as_save_IFS
   3495 
   3496 fi
   3497 fi
   3498 CC=$ac_cv_prog_CC
   3499 if test -n "$CC"; then
   3500   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3501 printf "%s\n" "$CC" >&6; }
   3502 else
   3503   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3504 printf "%s\n" "no" >&6; }
   3505 fi
   3506 
   3507 
   3508     test -n "$CC" && break
   3509   done
   3510 fi
   3511 if test -z "$CC"; then
   3512   ac_ct_CC=$CC
   3513   for ac_prog in cl.exe
   3514 do
   3515   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3516 set dummy $ac_prog; ac_word=$2
   3517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3518 printf %s "checking for $ac_word... " >&6; }
   3519 if test ${ac_cv_prog_ac_ct_CC+y}
   3520 then :
   3521   printf %s "(cached) " >&6
   3522 else $as_nop
   3523   if test -n "$ac_ct_CC"; then
   3524   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3525 else
   3526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3527 for as_dir in $PATH
   3528 do
   3529   IFS=$as_save_IFS
   3530   case $as_dir in #(((
   3531     '') as_dir=./ ;;
   3532     */) ;;
   3533     *) as_dir=$as_dir/ ;;
   3534   esac
   3535     for ac_exec_ext in '' $ac_executable_extensions; do
   3536   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3537     ac_cv_prog_ac_ct_CC="$ac_prog"
   3538     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3539     break 2
   3540   fi
   3541 done
   3542   done
   3543 IFS=$as_save_IFS
   3544 
   3545 fi
   3546 fi
   3547 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3548 if test -n "$ac_ct_CC"; then
   3549   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3550 printf "%s\n" "$ac_ct_CC" >&6; }
   3551 else
   3552   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3553 printf "%s\n" "no" >&6; }
   3554 fi
   3555 
   3556 
   3557   test -n "$ac_ct_CC" && break
   3558 done
   3559 
   3560   if test "x$ac_ct_CC" = x; then
   3561     CC=""
   3562   else
   3563     case $cross_compiling:$ac_tool_warned in
   3564 yes:)
   3565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3566 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3567 ac_tool_warned=yes ;;
   3568 esac
   3569     CC=$ac_ct_CC
   3570   fi
   3571 fi
   3572 
   3573 fi
   3574 if test -z "$CC"; then
   3575   if test -n "$ac_tool_prefix"; then
   3576   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3577 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3579 printf %s "checking for $ac_word... " >&6; }
   3580 if test ${ac_cv_prog_CC+y}
   3581 then :
   3582   printf %s "(cached) " >&6
   3583 else $as_nop
   3584   if test -n "$CC"; then
   3585   ac_cv_prog_CC="$CC" # Let the user override the test.
   3586 else
   3587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3588 for as_dir in $PATH
   3589 do
   3590   IFS=$as_save_IFS
   3591   case $as_dir in #(((
   3592     '') as_dir=./ ;;
   3593     */) ;;
   3594     *) as_dir=$as_dir/ ;;
   3595   esac
   3596     for ac_exec_ext in '' $ac_executable_extensions; do
   3597   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3598     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3599     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3600     break 2
   3601   fi
   3602 done
   3603   done
   3604 IFS=$as_save_IFS
   3605 
   3606 fi
   3607 fi
   3608 CC=$ac_cv_prog_CC
   3609 if test -n "$CC"; then
   3610   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3611 printf "%s\n" "$CC" >&6; }
   3612 else
   3613   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3614 printf "%s\n" "no" >&6; }
   3615 fi
   3616 
   3617 
   3618 fi
   3619 if test -z "$ac_cv_prog_CC"; then
   3620   ac_ct_CC=$CC
   3621   # Extract the first word of "clang", so it can be a program name with args.
   3622 set dummy clang; ac_word=$2
   3623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3624 printf %s "checking for $ac_word... " >&6; }
   3625 if test ${ac_cv_prog_ac_ct_CC+y}
   3626 then :
   3627   printf %s "(cached) " >&6
   3628 else $as_nop
   3629   if test -n "$ac_ct_CC"; then
   3630   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3631 else
   3632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3633 for as_dir in $PATH
   3634 do
   3635   IFS=$as_save_IFS
   3636   case $as_dir in #(((
   3637     '') as_dir=./ ;;
   3638     */) ;;
   3639     *) as_dir=$as_dir/ ;;
   3640   esac
   3641     for ac_exec_ext in '' $ac_executable_extensions; do
   3642   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3643     ac_cv_prog_ac_ct_CC="clang"
   3644     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3645     break 2
   3646   fi
   3647 done
   3648   done
   3649 IFS=$as_save_IFS
   3650 
   3651 fi
   3652 fi
   3653 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3654 if test -n "$ac_ct_CC"; then
   3655   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3656 printf "%s\n" "$ac_ct_CC" >&6; }
   3657 else
   3658   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3659 printf "%s\n" "no" >&6; }
   3660 fi
   3661 
   3662   if test "x$ac_ct_CC" = x; then
   3663     CC=""
   3664   else
   3665     case $cross_compiling:$ac_tool_warned in
   3666 yes:)
   3667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3668 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3669 ac_tool_warned=yes ;;
   3670 esac
   3671     CC=$ac_ct_CC
   3672   fi
   3673 else
   3674   CC="$ac_cv_prog_CC"
   3675 fi
   3676 
   3677 fi
   3678 
   3679 
   3680 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3681 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3682 as_fn_error $? "no acceptable C compiler found in \$PATH
   3683 See \`config.log' for more details" "$LINENO" 5; }
   3684 
   3685 # Provide some information about the compiler.
   3686 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3687 set X $ac_compile
   3688 ac_compiler=$2
   3689 for ac_option in --version -v -V -qversion -version; do
   3690   { { ac_try="$ac_compiler $ac_option >&5"
   3691 case "(($ac_try" in
   3692   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3693   *) ac_try_echo=$ac_try;;
   3694 esac
   3695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3696 printf "%s\n" "$ac_try_echo"; } >&5
   3697   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3698   ac_status=$?
   3699   if test -s conftest.err; then
   3700     sed '10a\
   3701 ... rest of stderr output deleted ...
   3702          10q' conftest.err >conftest.er1
   3703     cat conftest.er1 >&5
   3704   fi
   3705   rm -f conftest.er1 conftest.err
   3706   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3707   test $ac_status = 0; }
   3708 done
   3709 
   3710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3711 /* end confdefs.h.  */
   3712 
   3713 int
   3714 main (void)
   3715 {
   3716 
   3717   ;
   3718   return 0;
   3719 }
   3720 _ACEOF
   3721 ac_clean_files_save=$ac_clean_files
   3722 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3723 # Try to create an executable without -o first, disregard a.out.
   3724 # It will help us diagnose broken compilers, and finding out an intuition
   3725 # of exeext.
   3726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3727 printf %s "checking whether the C compiler works... " >&6; }
   3728 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3729 
   3730 # The possible output files:
   3731 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3732 
   3733 ac_rmfiles=
   3734 for ac_file in $ac_files
   3735 do
   3736   case $ac_file in
   3737     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3738     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3739   esac
   3740 done
   3741 rm -f $ac_rmfiles
   3742 
   3743 if { { ac_try="$ac_link_default"
   3744 case "(($ac_try" in
   3745   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3746   *) ac_try_echo=$ac_try;;
   3747 esac
   3748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3749 printf "%s\n" "$ac_try_echo"; } >&5
   3750   (eval "$ac_link_default") 2>&5
   3751   ac_status=$?
   3752   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3753   test $ac_status = 0; }
   3754 then :
   3755   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3756 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3757 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3758 # so that the user can short-circuit this test for compilers unknown to
   3759 # Autoconf.
   3760 for ac_file in $ac_files ''
   3761 do
   3762   test -f "$ac_file" || continue
   3763   case $ac_file in
   3764     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3765 	;;
   3766     [ab].out )
   3767 	# We found the default executable, but exeext='' is most
   3768 	# certainly right.
   3769 	break;;
   3770     *.* )
   3771 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3772 	then :; else
   3773 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3774 	fi
   3775 	# We set ac_cv_exeext here because the later test for it is not
   3776 	# safe: cross compilers may not add the suffix if given an `-o'
   3777 	# argument, so we may need to know it at that point already.
   3778 	# Even if this section looks crufty: it has the advantage of
   3779 	# actually working.
   3780 	break;;
   3781     * )
   3782 	break;;
   3783   esac
   3784 done
   3785 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3786 
   3787 else $as_nop
   3788   ac_file=''
   3789 fi
   3790 if test -z "$ac_file"
   3791 then :
   3792   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3793 printf "%s\n" "no" >&6; }
   3794 printf "%s\n" "$as_me: failed program was:" >&5
   3795 sed 's/^/| /' conftest.$ac_ext >&5
   3796 
   3797 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3798 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3799 as_fn_error 77 "C compiler cannot create executables
   3800 See \`config.log' for more details" "$LINENO" 5; }
   3801 else $as_nop
   3802   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3803 printf "%s\n" "yes" >&6; }
   3804 fi
   3805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3806 printf %s "checking for C compiler default output file name... " >&6; }
   3807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3808 printf "%s\n" "$ac_file" >&6; }
   3809 ac_exeext=$ac_cv_exeext
   3810 
   3811 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3812 ac_clean_files=$ac_clean_files_save
   3813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3814 printf %s "checking for suffix of executables... " >&6; }
   3815 if { { ac_try="$ac_link"
   3816 case "(($ac_try" in
   3817   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3818   *) ac_try_echo=$ac_try;;
   3819 esac
   3820 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3821 printf "%s\n" "$ac_try_echo"; } >&5
   3822   (eval "$ac_link") 2>&5
   3823   ac_status=$?
   3824   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3825   test $ac_status = 0; }
   3826 then :
   3827   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3828 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3829 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3830 # `rm'.
   3831 for ac_file in conftest.exe conftest conftest.*; do
   3832   test -f "$ac_file" || continue
   3833   case $ac_file in
   3834     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3835     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3836 	  break;;
   3837     * ) break;;
   3838   esac
   3839 done
   3840 else $as_nop
   3841   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3842 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3843 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3844 See \`config.log' for more details" "$LINENO" 5; }
   3845 fi
   3846 rm -f conftest conftest$ac_cv_exeext
   3847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3848 printf "%s\n" "$ac_cv_exeext" >&6; }
   3849 
   3850 rm -f conftest.$ac_ext
   3851 EXEEXT=$ac_cv_exeext
   3852 ac_exeext=$EXEEXT
   3853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3854 /* end confdefs.h.  */
   3855 #include <stdio.h>
   3856 int
   3857 main (void)
   3858 {
   3859 FILE *f = fopen ("conftest.out", "w");
   3860  return ferror (f) || fclose (f) != 0;
   3861 
   3862   ;
   3863   return 0;
   3864 }
   3865 _ACEOF
   3866 ac_clean_files="$ac_clean_files conftest.out"
   3867 # Check that the compiler produces executables we can run.  If not, either
   3868 # the compiler is broken, or we cross compile.
   3869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3870 printf %s "checking whether we are cross compiling... " >&6; }
   3871 if test "$cross_compiling" != yes; then
   3872   { { ac_try="$ac_link"
   3873 case "(($ac_try" in
   3874   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3875   *) ac_try_echo=$ac_try;;
   3876 esac
   3877 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3878 printf "%s\n" "$ac_try_echo"; } >&5
   3879   (eval "$ac_link") 2>&5
   3880   ac_status=$?
   3881   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3882   test $ac_status = 0; }
   3883   if { ac_try='./conftest$ac_cv_exeext'
   3884   { { case "(($ac_try" in
   3885   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3886   *) ac_try_echo=$ac_try;;
   3887 esac
   3888 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3889 printf "%s\n" "$ac_try_echo"; } >&5
   3890   (eval "$ac_try") 2>&5
   3891   ac_status=$?
   3892   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3893   test $ac_status = 0; }; }; then
   3894     cross_compiling=no
   3895   else
   3896     if test "$cross_compiling" = maybe; then
   3897 	cross_compiling=yes
   3898     else
   3899 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3900 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3901 as_fn_error 77 "cannot run C compiled programs.
   3902 If you meant to cross compile, use \`--host'.
   3903 See \`config.log' for more details" "$LINENO" 5; }
   3904     fi
   3905   fi
   3906 fi
   3907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3908 printf "%s\n" "$cross_compiling" >&6; }
   3909 
   3910 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3911 ac_clean_files=$ac_clean_files_save
   3912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3913 printf %s "checking for suffix of object files... " >&6; }
   3914 if test ${ac_cv_objext+y}
   3915 then :
   3916   printf %s "(cached) " >&6
   3917 else $as_nop
   3918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3919 /* end confdefs.h.  */
   3920 
   3921 int
   3922 main (void)
   3923 {
   3924 
   3925   ;
   3926   return 0;
   3927 }
   3928 _ACEOF
   3929 rm -f conftest.o conftest.obj
   3930 if { { ac_try="$ac_compile"
   3931 case "(($ac_try" in
   3932   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3933   *) ac_try_echo=$ac_try;;
   3934 esac
   3935 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3936 printf "%s\n" "$ac_try_echo"; } >&5
   3937   (eval "$ac_compile") 2>&5
   3938   ac_status=$?
   3939   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3940   test $ac_status = 0; }
   3941 then :
   3942   for ac_file in conftest.o conftest.obj conftest.*; do
   3943   test -f "$ac_file" || continue;
   3944   case $ac_file in
   3945     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3946     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3947        break;;
   3948   esac
   3949 done
   3950 else $as_nop
   3951   printf "%s\n" "$as_me: failed program was:" >&5
   3952 sed 's/^/| /' conftest.$ac_ext >&5
   3953 
   3954 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3955 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3956 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3957 See \`config.log' for more details" "$LINENO" 5; }
   3958 fi
   3959 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3960 fi
   3961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3962 printf "%s\n" "$ac_cv_objext" >&6; }
   3963 OBJEXT=$ac_cv_objext
   3964 ac_objext=$OBJEXT
   3965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   3966 printf %s "checking whether the compiler supports GNU C... " >&6; }
   3967 if test ${ac_cv_c_compiler_gnu+y}
   3968 then :
   3969   printf %s "(cached) " >&6
   3970 else $as_nop
   3971   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3972 /* end confdefs.h.  */
   3973 
   3974 int
   3975 main (void)
   3976 {
   3977 #ifndef __GNUC__
   3978        choke me
   3979 #endif
   3980 
   3981   ;
   3982   return 0;
   3983 }
   3984 _ACEOF
   3985 if ac_fn_c_try_compile "$LINENO"
   3986 then :
   3987   ac_compiler_gnu=yes
   3988 else $as_nop
   3989   ac_compiler_gnu=no
   3990 fi
   3991 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3992 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3993 
   3994 fi
   3995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3996 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   3997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3998 
   3999 if test $ac_compiler_gnu = yes; then
   4000   GCC=yes
   4001 else
   4002   GCC=
   4003 fi
   4004 ac_test_CFLAGS=${CFLAGS+y}
   4005 ac_save_CFLAGS=$CFLAGS
   4006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4007 printf %s "checking whether $CC accepts -g... " >&6; }
   4008 if test ${ac_cv_prog_cc_g+y}
   4009 then :
   4010   printf %s "(cached) " >&6
   4011 else $as_nop
   4012   ac_save_c_werror_flag=$ac_c_werror_flag
   4013    ac_c_werror_flag=yes
   4014    ac_cv_prog_cc_g=no
   4015    CFLAGS="-g"
   4016    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4017 /* end confdefs.h.  */
   4018 
   4019 int
   4020 main (void)
   4021 {
   4022 
   4023   ;
   4024   return 0;
   4025 }
   4026 _ACEOF
   4027 if ac_fn_c_try_compile "$LINENO"
   4028 then :
   4029   ac_cv_prog_cc_g=yes
   4030 else $as_nop
   4031   CFLAGS=""
   4032       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4033 /* end confdefs.h.  */
   4034 
   4035 int
   4036 main (void)
   4037 {
   4038 
   4039   ;
   4040   return 0;
   4041 }
   4042 _ACEOF
   4043 if ac_fn_c_try_compile "$LINENO"
   4044 then :
   4045 
   4046 else $as_nop
   4047   ac_c_werror_flag=$ac_save_c_werror_flag
   4048 	 CFLAGS="-g"
   4049 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4050 /* end confdefs.h.  */
   4051 
   4052 int
   4053 main (void)
   4054 {
   4055 
   4056   ;
   4057   return 0;
   4058 }
   4059 _ACEOF
   4060 if ac_fn_c_try_compile "$LINENO"
   4061 then :
   4062   ac_cv_prog_cc_g=yes
   4063 fi
   4064 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4065 fi
   4066 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4067 fi
   4068 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4069    ac_c_werror_flag=$ac_save_c_werror_flag
   4070 fi
   4071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4072 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4073 if test $ac_test_CFLAGS; then
   4074   CFLAGS=$ac_save_CFLAGS
   4075 elif test $ac_cv_prog_cc_g = yes; then
   4076   if test "$GCC" = yes; then
   4077     CFLAGS="-g -O2"
   4078   else
   4079     CFLAGS="-g"
   4080   fi
   4081 else
   4082   if test "$GCC" = yes; then
   4083     CFLAGS="-O2"
   4084   else
   4085     CFLAGS=
   4086   fi
   4087 fi
   4088 ac_prog_cc_stdc=no
   4089 if test x$ac_prog_cc_stdc = xno
   4090 then :
   4091   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4092 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4093 if test ${ac_cv_prog_cc_c11+y}
   4094 then :
   4095   printf %s "(cached) " >&6
   4096 else $as_nop
   4097   ac_cv_prog_cc_c11=no
   4098 ac_save_CC=$CC
   4099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4100 /* end confdefs.h.  */
   4101 $ac_c_conftest_c11_program
   4102 _ACEOF
   4103 for ac_arg in '' -std=gnu11
   4104 do
   4105   CC="$ac_save_CC $ac_arg"
   4106   if ac_fn_c_try_compile "$LINENO"
   4107 then :
   4108   ac_cv_prog_cc_c11=$ac_arg
   4109 fi
   4110 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4111   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4112 done
   4113 rm -f conftest.$ac_ext
   4114 CC=$ac_save_CC
   4115 fi
   4116 
   4117 if test "x$ac_cv_prog_cc_c11" = xno
   4118 then :
   4119   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4120 printf "%s\n" "unsupported" >&6; }
   4121 else $as_nop
   4122   if test "x$ac_cv_prog_cc_c11" = x
   4123 then :
   4124   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4125 printf "%s\n" "none needed" >&6; }
   4126 else $as_nop
   4127   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4128 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4129      CC="$CC $ac_cv_prog_cc_c11"
   4130 fi
   4131   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4132   ac_prog_cc_stdc=c11
   4133 fi
   4134 fi
   4135 if test x$ac_prog_cc_stdc = xno
   4136 then :
   4137   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4138 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4139 if test ${ac_cv_prog_cc_c99+y}
   4140 then :
   4141   printf %s "(cached) " >&6
   4142 else $as_nop
   4143   ac_cv_prog_cc_c99=no
   4144 ac_save_CC=$CC
   4145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4146 /* end confdefs.h.  */
   4147 $ac_c_conftest_c99_program
   4148 _ACEOF
   4149 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4150 do
   4151   CC="$ac_save_CC $ac_arg"
   4152   if ac_fn_c_try_compile "$LINENO"
   4153 then :
   4154   ac_cv_prog_cc_c99=$ac_arg
   4155 fi
   4156 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4157   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4158 done
   4159 rm -f conftest.$ac_ext
   4160 CC=$ac_save_CC
   4161 fi
   4162 
   4163 if test "x$ac_cv_prog_cc_c99" = xno
   4164 then :
   4165   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4166 printf "%s\n" "unsupported" >&6; }
   4167 else $as_nop
   4168   if test "x$ac_cv_prog_cc_c99" = x
   4169 then :
   4170   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4171 printf "%s\n" "none needed" >&6; }
   4172 else $as_nop
   4173   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4174 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4175      CC="$CC $ac_cv_prog_cc_c99"
   4176 fi
   4177   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4178   ac_prog_cc_stdc=c99
   4179 fi
   4180 fi
   4181 if test x$ac_prog_cc_stdc = xno
   4182 then :
   4183   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4184 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4185 if test ${ac_cv_prog_cc_c89+y}
   4186 then :
   4187   printf %s "(cached) " >&6
   4188 else $as_nop
   4189   ac_cv_prog_cc_c89=no
   4190 ac_save_CC=$CC
   4191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4192 /* end confdefs.h.  */
   4193 $ac_c_conftest_c89_program
   4194 _ACEOF
   4195 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4196 do
   4197   CC="$ac_save_CC $ac_arg"
   4198   if ac_fn_c_try_compile "$LINENO"
   4199 then :
   4200   ac_cv_prog_cc_c89=$ac_arg
   4201 fi
   4202 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4203   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4204 done
   4205 rm -f conftest.$ac_ext
   4206 CC=$ac_save_CC
   4207 fi
   4208 
   4209 if test "x$ac_cv_prog_cc_c89" = xno
   4210 then :
   4211   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4212 printf "%s\n" "unsupported" >&6; }
   4213 else $as_nop
   4214   if test "x$ac_cv_prog_cc_c89" = x
   4215 then :
   4216   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4217 printf "%s\n" "none needed" >&6; }
   4218 else $as_nop
   4219   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4220 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4221      CC="$CC $ac_cv_prog_cc_c89"
   4222 fi
   4223   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4224   ac_prog_cc_stdc=c89
   4225 fi
   4226 fi
   4227 
   4228 ac_ext=c
   4229 ac_cpp='$CPP $CPPFLAGS'
   4230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4233 
   4234 
   4235   ac_ext=c
   4236 ac_cpp='$CPP $CPPFLAGS'
   4237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4241 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4242 if test ${am_cv_prog_cc_c_o+y}
   4243 then :
   4244   printf %s "(cached) " >&6
   4245 else $as_nop
   4246   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4247 /* end confdefs.h.  */
   4248 
   4249 int
   4250 main (void)
   4251 {
   4252 
   4253   ;
   4254   return 0;
   4255 }
   4256 _ACEOF
   4257   # Make sure it works both with $CC and with simple cc.
   4258   # Following AC_PROG_CC_C_O, we do the test twice because some
   4259   # compilers refuse to overwrite an existing .o file with -o,
   4260   # though they will create one.
   4261   am_cv_prog_cc_c_o=yes
   4262   for am_i in 1 2; do
   4263     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4264    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4265    ac_status=$?
   4266    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4267    (exit $ac_status); } \
   4268          && test -f conftest2.$ac_objext; then
   4269       : OK
   4270     else
   4271       am_cv_prog_cc_c_o=no
   4272       break
   4273     fi
   4274   done
   4275   rm -f core conftest*
   4276   unset am_i
   4277 fi
   4278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4279 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4280 if test "$am_cv_prog_cc_c_o" != yes; then
   4281    # Losing compiler, so override with the script.
   4282    # FIXME: It is wrong to rewrite CC.
   4283    # But if we don't then we get into trouble of one sort or another.
   4284    # A longer-term fix would be to have automake use am__CC in this case,
   4285    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4286    CC="$am_aux_dir/compile $CC"
   4287 fi
   4288 ac_ext=c
   4289 ac_cpp='$CPP $CPPFLAGS'
   4290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4293 
   4294 
   4295 depcc="$CC"   am_compiler_list=
   4296 
   4297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4298 printf %s "checking dependency style of $depcc... " >&6; }
   4299 if test ${am_cv_CC_dependencies_compiler_type+y}
   4300 then :
   4301   printf %s "(cached) " >&6
   4302 else $as_nop
   4303   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4304   # We make a subdir and do the tests there.  Otherwise we can end up
   4305   # making bogus files that we don't know about and never remove.  For
   4306   # instance it was reported that on HP-UX the gcc test will end up
   4307   # making a dummy file named 'D' -- because '-MD' means "put the output
   4308   # in D".
   4309   rm -rf conftest.dir
   4310   mkdir conftest.dir
   4311   # Copy depcomp to subdir because otherwise we won't find it if we're
   4312   # using a relative directory.
   4313   cp "$am_depcomp" conftest.dir
   4314   cd conftest.dir
   4315   # We will build objects and dependencies in a subdirectory because
   4316   # it helps to detect inapplicable dependency modes.  For instance
   4317   # both Tru64's cc and ICC support -MD to output dependencies as a
   4318   # side effect of compilation, but ICC will put the dependencies in
   4319   # the current directory while Tru64 will put them in the object
   4320   # directory.
   4321   mkdir sub
   4322 
   4323   am_cv_CC_dependencies_compiler_type=none
   4324   if test "$am_compiler_list" = ""; then
   4325      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4326   fi
   4327   am__universal=false
   4328   case " $depcc " in #(
   4329      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4330      esac
   4331 
   4332   for depmode in $am_compiler_list; do
   4333     # Setup a source with many dependencies, because some compilers
   4334     # like to wrap large dependency lists on column 80 (with \), and
   4335     # we should not choose a depcomp mode which is confused by this.
   4336     #
   4337     # We need to recreate these files for each test, as the compiler may
   4338     # overwrite some of them when testing with obscure command lines.
   4339     # This happens at least with the AIX C compiler.
   4340     : > sub/conftest.c
   4341     for i in 1 2 3 4 5 6; do
   4342       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4343       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4344       # Solaris 10 /bin/sh.
   4345       echo '/* dummy */' > sub/conftst$i.h
   4346     done
   4347     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4348 
   4349     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4350     # mode.  It turns out that the SunPro C++ compiler does not properly
   4351     # handle '-M -o', and we need to detect this.  Also, some Intel
   4352     # versions had trouble with output in subdirs.
   4353     am__obj=sub/conftest.${OBJEXT-o}
   4354     am__minus_obj="-o $am__obj"
   4355     case $depmode in
   4356     gcc)
   4357       # This depmode causes a compiler race in universal mode.
   4358       test "$am__universal" = false || continue
   4359       ;;
   4360     nosideeffect)
   4361       # After this tag, mechanisms are not by side-effect, so they'll
   4362       # only be used when explicitly requested.
   4363       if test "x$enable_dependency_tracking" = xyes; then
   4364 	continue
   4365       else
   4366 	break
   4367       fi
   4368       ;;
   4369     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4370       # This compiler won't grok '-c -o', but also, the minuso test has
   4371       # not run yet.  These depmodes are late enough in the game, and
   4372       # so weak that their functioning should not be impacted.
   4373       am__obj=conftest.${OBJEXT-o}
   4374       am__minus_obj=
   4375       ;;
   4376     none) break ;;
   4377     esac
   4378     if depmode=$depmode \
   4379        source=sub/conftest.c object=$am__obj \
   4380        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4381        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4382          >/dev/null 2>conftest.err &&
   4383        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4384        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4385        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4386        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4387       # icc doesn't choke on unknown options, it will just issue warnings
   4388       # or remarks (even with -Werror).  So we grep stderr for any message
   4389       # that says an option was ignored or not supported.
   4390       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4391       #   icc: Command line warning: ignoring option '-M'; no argument required
   4392       # The diagnosis changed in icc 8.0:
   4393       #   icc: Command line remark: option '-MP' not supported
   4394       if (grep 'ignoring option' conftest.err ||
   4395           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4396         am_cv_CC_dependencies_compiler_type=$depmode
   4397         break
   4398       fi
   4399     fi
   4400   done
   4401 
   4402   cd ..
   4403   rm -rf conftest.dir
   4404 else
   4405   am_cv_CC_dependencies_compiler_type=none
   4406 fi
   4407 
   4408 fi
   4409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4410 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4411 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4412 
   4413  if
   4414   test "x$enable_dependency_tracking" != xno \
   4415   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4416   am__fastdepCC_TRUE=
   4417   am__fastdepCC_FALSE='#'
   4418 else
   4419   am__fastdepCC_TRUE='#'
   4420   am__fastdepCC_FALSE=
   4421 fi
   4422 
   4423 
   4424 
   4425 ac_header= ac_cache=
   4426 for ac_item in $ac_header_c_list
   4427 do
   4428   if test $ac_cache; then
   4429     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4430     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4431       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4432     fi
   4433     ac_header= ac_cache=
   4434   elif test $ac_header; then
   4435     ac_cache=$ac_item
   4436   else
   4437     ac_header=$ac_item
   4438   fi
   4439 done
   4440 
   4441 
   4442 
   4443 
   4444 
   4445 
   4446 
   4447 
   4448 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4449 then :
   4450 
   4451 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4452 
   4453 fi
   4454 
   4455 
   4456 
   4457 
   4458 
   4459 
   4460   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   4461 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   4462 if test ${ac_cv_safe_to_define___extensions__+y}
   4463 then :
   4464   printf %s "(cached) " >&6
   4465 else $as_nop
   4466   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4467 /* end confdefs.h.  */
   4468 
   4469 #         define __EXTENSIONS__ 1
   4470           $ac_includes_default
   4471 int
   4472 main (void)
   4473 {
   4474 
   4475   ;
   4476   return 0;
   4477 }
   4478 _ACEOF
   4479 if ac_fn_c_try_compile "$LINENO"
   4480 then :
   4481   ac_cv_safe_to_define___extensions__=yes
   4482 else $as_nop
   4483   ac_cv_safe_to_define___extensions__=no
   4484 fi
   4485 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4486 fi
   4487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   4488 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
   4489 
   4490   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
   4491 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
   4492 if test ${ac_cv_should_define__xopen_source+y}
   4493 then :
   4494   printf %s "(cached) " >&6
   4495 else $as_nop
   4496   ac_cv_should_define__xopen_source=no
   4497     if test $ac_cv_header_wchar_h = yes
   4498 then :
   4499   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4500 /* end confdefs.h.  */
   4501 
   4502           #include <wchar.h>
   4503           mbstate_t x;
   4504 int
   4505 main (void)
   4506 {
   4507 
   4508   ;
   4509   return 0;
   4510 }
   4511 _ACEOF
   4512 if ac_fn_c_try_compile "$LINENO"
   4513 then :
   4514 
   4515 else $as_nop
   4516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4517 /* end confdefs.h.  */
   4518 
   4519             #define _XOPEN_SOURCE 500
   4520             #include <wchar.h>
   4521             mbstate_t x;
   4522 int
   4523 main (void)
   4524 {
   4525 
   4526   ;
   4527   return 0;
   4528 }
   4529 _ACEOF
   4530 if ac_fn_c_try_compile "$LINENO"
   4531 then :
   4532   ac_cv_should_define__xopen_source=yes
   4533 fi
   4534 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4535 fi
   4536 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4537 fi
   4538 fi
   4539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
   4540 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
   4541 
   4542   printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
   4543 
   4544   printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
   4545 
   4546   printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
   4547 
   4548   printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
   4549 
   4550   printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
   4551 
   4552   printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
   4553 
   4554   printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4555 
   4556   printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
   4557 
   4558   printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
   4559 
   4560   printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
   4561 
   4562   printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
   4563 
   4564   printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
   4565 
   4566   printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
   4567 
   4568   printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
   4569 
   4570   printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
   4571 
   4572   if test $ac_cv_header_minix_config_h = yes
   4573 then :
   4574   MINIX=yes
   4575     printf "%s\n" "#define _MINIX 1" >>confdefs.h
   4576 
   4577     printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
   4578 
   4579     printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4580 
   4581 else $as_nop
   4582   MINIX=
   4583 fi
   4584   if test $ac_cv_safe_to_define___extensions__ = yes
   4585 then :
   4586   printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
   4587 
   4588 fi
   4589   if test $ac_cv_should_define__xopen_source = yes
   4590 then :
   4591   printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   4592 
   4593 fi
   4594 
   4595 
   4596 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   4597 
   4598 
   4599 
   4600 
   4601 
   4602 
   4603 
   4604 
   4605 
   4606 
   4607 
   4608 
   4609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4610 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4611 if test ${ac_cv_c_undeclared_builtin_options+y}
   4612 then :
   4613   printf %s "(cached) " >&6
   4614 else $as_nop
   4615   ac_save_CFLAGS=$CFLAGS
   4616    ac_cv_c_undeclared_builtin_options='cannot detect'
   4617    for ac_arg in '' -fno-builtin; do
   4618      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4619      # This test program should *not* compile successfully.
   4620      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4621 /* end confdefs.h.  */
   4622 
   4623 int
   4624 main (void)
   4625 {
   4626 (void) strchr;
   4627   ;
   4628   return 0;
   4629 }
   4630 _ACEOF
   4631 if ac_fn_c_try_compile "$LINENO"
   4632 then :
   4633 
   4634 else $as_nop
   4635   # This test program should compile successfully.
   4636         # No library function is consistently available on
   4637         # freestanding implementations, so test against a dummy
   4638         # declaration.  Include always-available headers on the
   4639         # off chance that they somehow elicit warnings.
   4640         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4641 /* end confdefs.h.  */
   4642 #include <float.h>
   4643 #include <limits.h>
   4644 #include <stdarg.h>
   4645 #include <stddef.h>
   4646 extern void ac_decl (int, char *);
   4647 
   4648 int
   4649 main (void)
   4650 {
   4651 (void) ac_decl (0, (char *) 0);
   4652   (void) ac_decl;
   4653 
   4654   ;
   4655   return 0;
   4656 }
   4657 _ACEOF
   4658 if ac_fn_c_try_compile "$LINENO"
   4659 then :
   4660   if test x"$ac_arg" = x
   4661 then :
   4662   ac_cv_c_undeclared_builtin_options='none needed'
   4663 else $as_nop
   4664   ac_cv_c_undeclared_builtin_options=$ac_arg
   4665 fi
   4666           break
   4667 fi
   4668 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4669 fi
   4670 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4671     done
   4672     CFLAGS=$ac_save_CFLAGS
   4673 
   4674 fi
   4675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4676 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4677   case $ac_cv_c_undeclared_builtin_options in #(
   4678   'cannot detect') :
   4679     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4680 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4681 as_fn_error $? "cannot make $CC report undeclared builtins
   4682 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   4683   'none needed') :
   4684     ac_c_undeclared_builtin_options='' ;; #(
   4685   *) :
   4686     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4687 esac
   4688 
   4689 
   4690 
   4691 
   4692 
   4693 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4694 if test "x$ac_cv_have_decl___clang__" = xyes
   4695 then :
   4696   CLANGCC="yes"
   4697 else $as_nop
   4698   CLANGCC="no"
   4699 fi
   4700 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4701 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4702 then :
   4703   INTELCC="yes"
   4704 else $as_nop
   4705   INTELCC="no"
   4706 fi
   4707 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4708 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4709 then :
   4710   SUNCC="yes"
   4711 else $as_nop
   4712   SUNCC="no"
   4713 fi
   4714 
   4715 
   4716 
   4717 
   4718 
   4719 
   4720 
   4721 
   4722 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4723 	if test -n "$ac_tool_prefix"; then
   4724   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4725 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4727 printf %s "checking for $ac_word... " >&6; }
   4728 if test ${ac_cv_path_PKG_CONFIG+y}
   4729 then :
   4730   printf %s "(cached) " >&6
   4731 else $as_nop
   4732   case $PKG_CONFIG in
   4733   [\\/]* | ?:[\\/]*)
   4734   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4735   ;;
   4736   *)
   4737   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4738 for as_dir in $PATH
   4739 do
   4740   IFS=$as_save_IFS
   4741   case $as_dir in #(((
   4742     '') as_dir=./ ;;
   4743     */) ;;
   4744     *) as_dir=$as_dir/ ;;
   4745   esac
   4746     for ac_exec_ext in '' $ac_executable_extensions; do
   4747   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4748     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4749     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4750     break 2
   4751   fi
   4752 done
   4753   done
   4754 IFS=$as_save_IFS
   4755 
   4756   ;;
   4757 esac
   4758 fi
   4759 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4760 if test -n "$PKG_CONFIG"; then
   4761   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4762 printf "%s\n" "$PKG_CONFIG" >&6; }
   4763 else
   4764   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4765 printf "%s\n" "no" >&6; }
   4766 fi
   4767 
   4768 
   4769 fi
   4770 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4771   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4772   # Extract the first word of "pkg-config", so it can be a program name with args.
   4773 set dummy pkg-config; ac_word=$2
   4774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4775 printf %s "checking for $ac_word... " >&6; }
   4776 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4777 then :
   4778   printf %s "(cached) " >&6
   4779 else $as_nop
   4780   case $ac_pt_PKG_CONFIG in
   4781   [\\/]* | ?:[\\/]*)
   4782   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4783   ;;
   4784   *)
   4785   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4786 for as_dir in $PATH
   4787 do
   4788   IFS=$as_save_IFS
   4789   case $as_dir in #(((
   4790     '') as_dir=./ ;;
   4791     */) ;;
   4792     *) as_dir=$as_dir/ ;;
   4793   esac
   4794     for ac_exec_ext in '' $ac_executable_extensions; do
   4795   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4796     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4797     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4798     break 2
   4799   fi
   4800 done
   4801   done
   4802 IFS=$as_save_IFS
   4803 
   4804   ;;
   4805 esac
   4806 fi
   4807 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4808 if test -n "$ac_pt_PKG_CONFIG"; then
   4809   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4810 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4811 else
   4812   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4813 printf "%s\n" "no" >&6; }
   4814 fi
   4815 
   4816   if test "x$ac_pt_PKG_CONFIG" = x; then
   4817     PKG_CONFIG=""
   4818   else
   4819     case $cross_compiling:$ac_tool_warned in
   4820 yes:)
   4821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4822 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4823 ac_tool_warned=yes ;;
   4824 esac
   4825     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4826   fi
   4827 else
   4828   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4829 fi
   4830 
   4831 fi
   4832 if test -n "$PKG_CONFIG"; then
   4833 	_pkg_min_version=0.9.0
   4834 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4835 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4836 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4837 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4838 printf "%s\n" "yes" >&6; }
   4839 	else
   4840 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4841 printf "%s\n" "no" >&6; }
   4842 		PKG_CONFIG=""
   4843 	fi
   4844 fi
   4845 
   4846 
   4847   # Make sure we can run config.sub.
   4848 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4849   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4850 
   4851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4852 printf %s "checking build system type... " >&6; }
   4853 if test ${ac_cv_build+y}
   4854 then :
   4855   printf %s "(cached) " >&6
   4856 else $as_nop
   4857   ac_build_alias=$build_alias
   4858 test "x$ac_build_alias" = x &&
   4859   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4860 test "x$ac_build_alias" = x &&
   4861   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4862 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4863   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4864 
   4865 fi
   4866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4867 printf "%s\n" "$ac_cv_build" >&6; }
   4868 case $ac_cv_build in
   4869 *-*-*) ;;
   4870 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4871 esac
   4872 build=$ac_cv_build
   4873 ac_save_IFS=$IFS; IFS='-'
   4874 set x $ac_cv_build
   4875 shift
   4876 build_cpu=$1
   4877 build_vendor=$2
   4878 shift; shift
   4879 # Remember, the first character of IFS is used to create $*,
   4880 # except with old shells:
   4881 build_os=$*
   4882 IFS=$ac_save_IFS
   4883 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4884 
   4885 
   4886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4887 printf %s "checking host system type... " >&6; }
   4888 if test ${ac_cv_host+y}
   4889 then :
   4890   printf %s "(cached) " >&6
   4891 else $as_nop
   4892   if test "x$host_alias" = x; then
   4893   ac_cv_host=$ac_cv_build
   4894 else
   4895   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4896     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4897 fi
   4898 
   4899 fi
   4900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4901 printf "%s\n" "$ac_cv_host" >&6; }
   4902 case $ac_cv_host in
   4903 *-*-*) ;;
   4904 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4905 esac
   4906 host=$ac_cv_host
   4907 ac_save_IFS=$IFS; IFS='-'
   4908 set x $ac_cv_host
   4909 shift
   4910 host_cpu=$1
   4911 host_vendor=$2
   4912 shift; shift
   4913 # Remember, the first character of IFS is used to create $*,
   4914 # except with old shells:
   4915 host_os=$*
   4916 IFS=$ac_save_IFS
   4917 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4918 
   4919 
   4920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4921 printf %s "checking for a sed that does not truncate output... " >&6; }
   4922 if test ${ac_cv_path_SED+y}
   4923 then :
   4924   printf %s "(cached) " >&6
   4925 else $as_nop
   4926             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4927      for ac_i in 1 2 3 4 5 6 7; do
   4928        ac_script="$ac_script$as_nl$ac_script"
   4929      done
   4930      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4931      { ac_script=; unset ac_script;}
   4932      if test -z "$SED"; then
   4933   ac_path_SED_found=false
   4934   # Loop through the user's path and test for each of PROGNAME-LIST
   4935   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4936 for as_dir in $PATH
   4937 do
   4938   IFS=$as_save_IFS
   4939   case $as_dir in #(((
   4940     '') as_dir=./ ;;
   4941     */) ;;
   4942     *) as_dir=$as_dir/ ;;
   4943   esac
   4944     for ac_prog in sed gsed
   4945    do
   4946     for ac_exec_ext in '' $ac_executable_extensions; do
   4947       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4948       as_fn_executable_p "$ac_path_SED" || continue
   4949 # Check for GNU ac_path_SED and select it if it is found.
   4950   # Check for GNU $ac_path_SED
   4951 case `"$ac_path_SED" --version 2>&1` in
   4952 *GNU*)
   4953   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4954 *)
   4955   ac_count=0
   4956   printf %s 0123456789 >"conftest.in"
   4957   while :
   4958   do
   4959     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4960     mv "conftest.tmp" "conftest.in"
   4961     cp "conftest.in" "conftest.nl"
   4962     printf "%s\n" '' >> "conftest.nl"
   4963     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4964     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4965     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4966     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4967       # Best one so far, save it but keep looking for a better one
   4968       ac_cv_path_SED="$ac_path_SED"
   4969       ac_path_SED_max=$ac_count
   4970     fi
   4971     # 10*(2^10) chars as input seems more than enough
   4972     test $ac_count -gt 10 && break
   4973   done
   4974   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4975 esac
   4976 
   4977       $ac_path_SED_found && break 3
   4978     done
   4979   done
   4980   done
   4981 IFS=$as_save_IFS
   4982   if test -z "$ac_cv_path_SED"; then
   4983     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4984   fi
   4985 else
   4986   ac_cv_path_SED=$SED
   4987 fi
   4988 
   4989 fi
   4990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4991 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4992  SED="$ac_cv_path_SED"
   4993   rm -f conftest.sed
   4994 
   4995 
   4996 
   4997 
   4998 
   4999 
   5000 # Check whether --enable-selective-werror was given.
   5001 if test ${enable_selective_werror+y}
   5002 then :
   5003   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   5004 else $as_nop
   5005   SELECTIVE_WERROR=yes
   5006 fi
   5007 
   5008 
   5009 
   5010 
   5011 
   5012 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5013 if test "x$SUNCC" = "xyes"; then
   5014     BASE_CFLAGS="-v"
   5015 else
   5016     BASE_CFLAGS=""
   5017 fi
   5018 
   5019 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5020 
   5021 
   5022 
   5023 
   5024 
   5025 
   5026 
   5027 
   5028 
   5029 
   5030 
   5031 
   5032 
   5033 xorg_testset_save_CFLAGS="$CFLAGS"
   5034 
   5035 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5036 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5037 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5038 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5039 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5040 then :
   5041   printf %s "(cached) " >&6
   5042 else $as_nop
   5043   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5044 /* end confdefs.h.  */
   5045 int i;
   5046 _ACEOF
   5047 if ac_fn_c_try_compile "$LINENO"
   5048 then :
   5049   xorg_cv_cc_flag_unknown_warning_option=yes
   5050 else $as_nop
   5051   xorg_cv_cc_flag_unknown_warning_option=no
   5052 fi
   5053 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5054 fi
   5055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5056 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5057 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5058 	CFLAGS="$xorg_testset_save_CFLAGS"
   5059 fi
   5060 
   5061 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5062 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5063 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5064 	fi
   5065 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5066 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5067 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5068 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5069 then :
   5070   printf %s "(cached) " >&6
   5071 else $as_nop
   5072   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5073 /* end confdefs.h.  */
   5074 int i;
   5075 _ACEOF
   5076 if ac_fn_c_try_compile "$LINENO"
   5077 then :
   5078   xorg_cv_cc_flag_unused_command_line_argument=yes
   5079 else $as_nop
   5080   xorg_cv_cc_flag_unused_command_line_argument=no
   5081 fi
   5082 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5083 fi
   5084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5085 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5086 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5087 	CFLAGS="$xorg_testset_save_CFLAGS"
   5088 fi
   5089 
   5090 found="no"
   5091 
   5092 	if test $found = "no" ; then
   5093 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5094 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5095 		fi
   5096 
   5097 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5098 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5099 		fi
   5100 
   5101 		CFLAGS="$CFLAGS -Wall"
   5102 
   5103 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5104 printf %s "checking if $CC supports -Wall... " >&6; }
   5105 		cacheid=xorg_cv_cc_flag__Wall
   5106 		if eval test \${$cacheid+y}
   5107 then :
   5108   printf %s "(cached) " >&6
   5109 else $as_nop
   5110   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5111 /* end confdefs.h.  */
   5112 int i;
   5113 int
   5114 main (void)
   5115 {
   5116 
   5117   ;
   5118   return 0;
   5119 }
   5120 _ACEOF
   5121 if ac_fn_c_try_link "$LINENO"
   5122 then :
   5123   eval $cacheid=yes
   5124 else $as_nop
   5125   eval $cacheid=no
   5126 fi
   5127 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5128     conftest$ac_exeext conftest.$ac_ext
   5129 fi
   5130 
   5131 
   5132 		CFLAGS="$xorg_testset_save_CFLAGS"
   5133 
   5134 		eval supported=\$$cacheid
   5135 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5136 printf "%s\n" "$supported" >&6; }
   5137 		if test "$supported" = "yes" ; then
   5138 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5139 			found="yes"
   5140 		fi
   5141 	fi
   5142 
   5143 
   5144 
   5145 
   5146 
   5147 
   5148 
   5149 
   5150 
   5151 
   5152 
   5153 
   5154 
   5155 
   5156 
   5157 xorg_testset_save_CFLAGS="$CFLAGS"
   5158 
   5159 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5160 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5161 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5162 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5163 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5164 then :
   5165   printf %s "(cached) " >&6
   5166 else $as_nop
   5167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5168 /* end confdefs.h.  */
   5169 int i;
   5170 _ACEOF
   5171 if ac_fn_c_try_compile "$LINENO"
   5172 then :
   5173   xorg_cv_cc_flag_unknown_warning_option=yes
   5174 else $as_nop
   5175   xorg_cv_cc_flag_unknown_warning_option=no
   5176 fi
   5177 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5178 fi
   5179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5180 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5181 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5182 	CFLAGS="$xorg_testset_save_CFLAGS"
   5183 fi
   5184 
   5185 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5186 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5187 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5188 	fi
   5189 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5190 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5191 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5192 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5193 then :
   5194   printf %s "(cached) " >&6
   5195 else $as_nop
   5196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5197 /* end confdefs.h.  */
   5198 int i;
   5199 _ACEOF
   5200 if ac_fn_c_try_compile "$LINENO"
   5201 then :
   5202   xorg_cv_cc_flag_unused_command_line_argument=yes
   5203 else $as_nop
   5204   xorg_cv_cc_flag_unused_command_line_argument=no
   5205 fi
   5206 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5207 fi
   5208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5209 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5210 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5211 	CFLAGS="$xorg_testset_save_CFLAGS"
   5212 fi
   5213 
   5214 found="no"
   5215 
   5216 	if test $found = "no" ; then
   5217 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5218 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5219 		fi
   5220 
   5221 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5222 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5223 		fi
   5224 
   5225 		CFLAGS="$CFLAGS -Wpointer-arith"
   5226 
   5227 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5228 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5229 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5230 		if eval test \${$cacheid+y}
   5231 then :
   5232   printf %s "(cached) " >&6
   5233 else $as_nop
   5234   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5235 /* end confdefs.h.  */
   5236 int i;
   5237 int
   5238 main (void)
   5239 {
   5240 
   5241   ;
   5242   return 0;
   5243 }
   5244 _ACEOF
   5245 if ac_fn_c_try_link "$LINENO"
   5246 then :
   5247   eval $cacheid=yes
   5248 else $as_nop
   5249   eval $cacheid=no
   5250 fi
   5251 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5252     conftest$ac_exeext conftest.$ac_ext
   5253 fi
   5254 
   5255 
   5256 		CFLAGS="$xorg_testset_save_CFLAGS"
   5257 
   5258 		eval supported=\$$cacheid
   5259 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5260 printf "%s\n" "$supported" >&6; }
   5261 		if test "$supported" = "yes" ; then
   5262 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5263 			found="yes"
   5264 		fi
   5265 	fi
   5266 
   5267 
   5268 
   5269 
   5270 
   5271 
   5272 
   5273 
   5274 
   5275 
   5276 
   5277 
   5278 
   5279 
   5280 
   5281 xorg_testset_save_CFLAGS="$CFLAGS"
   5282 
   5283 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5284 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5285 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5286 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5287 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5288 then :
   5289   printf %s "(cached) " >&6
   5290 else $as_nop
   5291   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5292 /* end confdefs.h.  */
   5293 int i;
   5294 _ACEOF
   5295 if ac_fn_c_try_compile "$LINENO"
   5296 then :
   5297   xorg_cv_cc_flag_unknown_warning_option=yes
   5298 else $as_nop
   5299   xorg_cv_cc_flag_unknown_warning_option=no
   5300 fi
   5301 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5302 fi
   5303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5304 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5305 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5306 	CFLAGS="$xorg_testset_save_CFLAGS"
   5307 fi
   5308 
   5309 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5310 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5311 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5312 	fi
   5313 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5314 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5315 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5316 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5317 then :
   5318   printf %s "(cached) " >&6
   5319 else $as_nop
   5320   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5321 /* end confdefs.h.  */
   5322 int i;
   5323 _ACEOF
   5324 if ac_fn_c_try_compile "$LINENO"
   5325 then :
   5326   xorg_cv_cc_flag_unused_command_line_argument=yes
   5327 else $as_nop
   5328   xorg_cv_cc_flag_unused_command_line_argument=no
   5329 fi
   5330 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5331 fi
   5332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5333 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5334 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5335 	CFLAGS="$xorg_testset_save_CFLAGS"
   5336 fi
   5337 
   5338 found="no"
   5339 
   5340 	if test $found = "no" ; then
   5341 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5342 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5343 		fi
   5344 
   5345 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5346 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5347 		fi
   5348 
   5349 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5350 
   5351 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5352 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5353 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5354 		if eval test \${$cacheid+y}
   5355 then :
   5356   printf %s "(cached) " >&6
   5357 else $as_nop
   5358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5359 /* end confdefs.h.  */
   5360 int i;
   5361 int
   5362 main (void)
   5363 {
   5364 
   5365   ;
   5366   return 0;
   5367 }
   5368 _ACEOF
   5369 if ac_fn_c_try_link "$LINENO"
   5370 then :
   5371   eval $cacheid=yes
   5372 else $as_nop
   5373   eval $cacheid=no
   5374 fi
   5375 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5376     conftest$ac_exeext conftest.$ac_ext
   5377 fi
   5378 
   5379 
   5380 		CFLAGS="$xorg_testset_save_CFLAGS"
   5381 
   5382 		eval supported=\$$cacheid
   5383 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5384 printf "%s\n" "$supported" >&6; }
   5385 		if test "$supported" = "yes" ; then
   5386 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5387 			found="yes"
   5388 		fi
   5389 	fi
   5390 
   5391 
   5392 
   5393 
   5394 
   5395 
   5396 
   5397 
   5398 
   5399 
   5400 
   5401 
   5402 
   5403 
   5404 
   5405 xorg_testset_save_CFLAGS="$CFLAGS"
   5406 
   5407 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5408 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5409 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5410 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5411 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5412 then :
   5413   printf %s "(cached) " >&6
   5414 else $as_nop
   5415   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5416 /* end confdefs.h.  */
   5417 int i;
   5418 _ACEOF
   5419 if ac_fn_c_try_compile "$LINENO"
   5420 then :
   5421   xorg_cv_cc_flag_unknown_warning_option=yes
   5422 else $as_nop
   5423   xorg_cv_cc_flag_unknown_warning_option=no
   5424 fi
   5425 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5426 fi
   5427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5428 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5429 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5430 	CFLAGS="$xorg_testset_save_CFLAGS"
   5431 fi
   5432 
   5433 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5434 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5435 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5436 	fi
   5437 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5438 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5439 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5440 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5441 then :
   5442   printf %s "(cached) " >&6
   5443 else $as_nop
   5444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5445 /* end confdefs.h.  */
   5446 int i;
   5447 _ACEOF
   5448 if ac_fn_c_try_compile "$LINENO"
   5449 then :
   5450   xorg_cv_cc_flag_unused_command_line_argument=yes
   5451 else $as_nop
   5452   xorg_cv_cc_flag_unused_command_line_argument=no
   5453 fi
   5454 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5455 fi
   5456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5457 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5458 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5459 	CFLAGS="$xorg_testset_save_CFLAGS"
   5460 fi
   5461 
   5462 found="no"
   5463 
   5464 	if test $found = "no" ; then
   5465 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5466 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5467 		fi
   5468 
   5469 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5470 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5471 		fi
   5472 
   5473 		CFLAGS="$CFLAGS -Wformat=2"
   5474 
   5475 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5476 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5477 		cacheid=xorg_cv_cc_flag__Wformat_2
   5478 		if eval test \${$cacheid+y}
   5479 then :
   5480   printf %s "(cached) " >&6
   5481 else $as_nop
   5482   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5483 /* end confdefs.h.  */
   5484 int i;
   5485 int
   5486 main (void)
   5487 {
   5488 
   5489   ;
   5490   return 0;
   5491 }
   5492 _ACEOF
   5493 if ac_fn_c_try_link "$LINENO"
   5494 then :
   5495   eval $cacheid=yes
   5496 else $as_nop
   5497   eval $cacheid=no
   5498 fi
   5499 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5500     conftest$ac_exeext conftest.$ac_ext
   5501 fi
   5502 
   5503 
   5504 		CFLAGS="$xorg_testset_save_CFLAGS"
   5505 
   5506 		eval supported=\$$cacheid
   5507 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5508 printf "%s\n" "$supported" >&6; }
   5509 		if test "$supported" = "yes" ; then
   5510 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5511 			found="yes"
   5512 		fi
   5513 	fi
   5514 
   5515 	if test $found = "no" ; then
   5516 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5517 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5518 		fi
   5519 
   5520 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5521 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5522 		fi
   5523 
   5524 		CFLAGS="$CFLAGS -Wformat"
   5525 
   5526 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5527 printf %s "checking if $CC supports -Wformat... " >&6; }
   5528 		cacheid=xorg_cv_cc_flag__Wformat
   5529 		if eval test \${$cacheid+y}
   5530 then :
   5531   printf %s "(cached) " >&6
   5532 else $as_nop
   5533   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5534 /* end confdefs.h.  */
   5535 int i;
   5536 int
   5537 main (void)
   5538 {
   5539 
   5540   ;
   5541   return 0;
   5542 }
   5543 _ACEOF
   5544 if ac_fn_c_try_link "$LINENO"
   5545 then :
   5546   eval $cacheid=yes
   5547 else $as_nop
   5548   eval $cacheid=no
   5549 fi
   5550 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5551     conftest$ac_exeext conftest.$ac_ext
   5552 fi
   5553 
   5554 
   5555 		CFLAGS="$xorg_testset_save_CFLAGS"
   5556 
   5557 		eval supported=\$$cacheid
   5558 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5559 printf "%s\n" "$supported" >&6; }
   5560 		if test "$supported" = "yes" ; then
   5561 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5562 			found="yes"
   5563 		fi
   5564 	fi
   5565 
   5566 
   5567 
   5568 
   5569 
   5570 
   5571 
   5572 
   5573 
   5574 
   5575 
   5576 
   5577 
   5578 
   5579 
   5580 
   5581 
   5582 xorg_testset_save_CFLAGS="$CFLAGS"
   5583 
   5584 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5585 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5586 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5587 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5588 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5589 then :
   5590   printf %s "(cached) " >&6
   5591 else $as_nop
   5592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5593 /* end confdefs.h.  */
   5594 int i;
   5595 _ACEOF
   5596 if ac_fn_c_try_compile "$LINENO"
   5597 then :
   5598   xorg_cv_cc_flag_unknown_warning_option=yes
   5599 else $as_nop
   5600   xorg_cv_cc_flag_unknown_warning_option=no
   5601 fi
   5602 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5603 fi
   5604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5605 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5606 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5607 	CFLAGS="$xorg_testset_save_CFLAGS"
   5608 fi
   5609 
   5610 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5611 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5612 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5613 	fi
   5614 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5615 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5616 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5617 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5618 then :
   5619   printf %s "(cached) " >&6
   5620 else $as_nop
   5621   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5622 /* end confdefs.h.  */
   5623 int i;
   5624 _ACEOF
   5625 if ac_fn_c_try_compile "$LINENO"
   5626 then :
   5627   xorg_cv_cc_flag_unused_command_line_argument=yes
   5628 else $as_nop
   5629   xorg_cv_cc_flag_unused_command_line_argument=no
   5630 fi
   5631 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5632 fi
   5633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5634 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5635 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5636 	CFLAGS="$xorg_testset_save_CFLAGS"
   5637 fi
   5638 
   5639 found="no"
   5640 
   5641 	if test $found = "no" ; then
   5642 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5643 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5644 		fi
   5645 
   5646 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5647 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5648 		fi
   5649 
   5650 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5651 
   5652 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5653 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5654 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5655 		if eval test \${$cacheid+y}
   5656 then :
   5657   printf %s "(cached) " >&6
   5658 else $as_nop
   5659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5660 /* end confdefs.h.  */
   5661 int i;
   5662 int
   5663 main (void)
   5664 {
   5665 
   5666   ;
   5667   return 0;
   5668 }
   5669 _ACEOF
   5670 if ac_fn_c_try_link "$LINENO"
   5671 then :
   5672   eval $cacheid=yes
   5673 else $as_nop
   5674   eval $cacheid=no
   5675 fi
   5676 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5677     conftest$ac_exeext conftest.$ac_ext
   5678 fi
   5679 
   5680 
   5681 		CFLAGS="$xorg_testset_save_CFLAGS"
   5682 
   5683 		eval supported=\$$cacheid
   5684 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5685 printf "%s\n" "$supported" >&6; }
   5686 		if test "$supported" = "yes" ; then
   5687 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5688 			found="yes"
   5689 		fi
   5690 	fi
   5691 
   5692 
   5693 
   5694 
   5695 
   5696 
   5697 
   5698 
   5699 
   5700 
   5701 
   5702 
   5703 
   5704 
   5705 
   5706 xorg_testset_save_CFLAGS="$CFLAGS"
   5707 
   5708 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5709 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5710 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5711 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5712 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5713 then :
   5714   printf %s "(cached) " >&6
   5715 else $as_nop
   5716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5717 /* end confdefs.h.  */
   5718 int i;
   5719 _ACEOF
   5720 if ac_fn_c_try_compile "$LINENO"
   5721 then :
   5722   xorg_cv_cc_flag_unknown_warning_option=yes
   5723 else $as_nop
   5724   xorg_cv_cc_flag_unknown_warning_option=no
   5725 fi
   5726 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5727 fi
   5728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5729 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5730 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5731 	CFLAGS="$xorg_testset_save_CFLAGS"
   5732 fi
   5733 
   5734 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5735 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5736 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5737 	fi
   5738 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5739 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5740 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5741 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5742 then :
   5743   printf %s "(cached) " >&6
   5744 else $as_nop
   5745   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5746 /* end confdefs.h.  */
   5747 int i;
   5748 _ACEOF
   5749 if ac_fn_c_try_compile "$LINENO"
   5750 then :
   5751   xorg_cv_cc_flag_unused_command_line_argument=yes
   5752 else $as_nop
   5753   xorg_cv_cc_flag_unused_command_line_argument=no
   5754 fi
   5755 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5756 fi
   5757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5758 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5759 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5760 	CFLAGS="$xorg_testset_save_CFLAGS"
   5761 fi
   5762 
   5763 found="no"
   5764 
   5765 	if test $found = "no" ; then
   5766 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5767 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5768 		fi
   5769 
   5770 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5771 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5772 		fi
   5773 
   5774 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5775 
   5776 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5777 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5778 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5779 		if eval test \${$cacheid+y}
   5780 then :
   5781   printf %s "(cached) " >&6
   5782 else $as_nop
   5783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5784 /* end confdefs.h.  */
   5785 int i;
   5786 int
   5787 main (void)
   5788 {
   5789 
   5790   ;
   5791   return 0;
   5792 }
   5793 _ACEOF
   5794 if ac_fn_c_try_link "$LINENO"
   5795 then :
   5796   eval $cacheid=yes
   5797 else $as_nop
   5798   eval $cacheid=no
   5799 fi
   5800 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5801     conftest$ac_exeext conftest.$ac_ext
   5802 fi
   5803 
   5804 
   5805 		CFLAGS="$xorg_testset_save_CFLAGS"
   5806 
   5807 		eval supported=\$$cacheid
   5808 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5809 printf "%s\n" "$supported" >&6; }
   5810 		if test "$supported" = "yes" ; then
   5811 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5812 			found="yes"
   5813 		fi
   5814 	fi
   5815 
   5816 
   5817 
   5818 
   5819 
   5820 
   5821 
   5822 
   5823 
   5824 
   5825 
   5826 
   5827 
   5828 
   5829 
   5830 xorg_testset_save_CFLAGS="$CFLAGS"
   5831 
   5832 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5833 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5834 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5835 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5836 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5837 then :
   5838   printf %s "(cached) " >&6
   5839 else $as_nop
   5840   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5841 /* end confdefs.h.  */
   5842 int i;
   5843 _ACEOF
   5844 if ac_fn_c_try_compile "$LINENO"
   5845 then :
   5846   xorg_cv_cc_flag_unknown_warning_option=yes
   5847 else $as_nop
   5848   xorg_cv_cc_flag_unknown_warning_option=no
   5849 fi
   5850 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   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 $as_nop
   5869   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 $as_nop
   5877   xorg_cv_cc_flag_unused_command_line_argument=no
   5878 fi
   5879 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5880 fi
   5881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5882 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5883 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5884 	CFLAGS="$xorg_testset_save_CFLAGS"
   5885 fi
   5886 
   5887 found="no"
   5888 
   5889 	if test $found = "no" ; then
   5890 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5891 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5892 		fi
   5893 
   5894 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5895 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5896 		fi
   5897 
   5898 		CFLAGS="$CFLAGS -Wnested-externs"
   5899 
   5900 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5901 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   5902 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5903 		if eval test \${$cacheid+y}
   5904 then :
   5905   printf %s "(cached) " >&6
   5906 else $as_nop
   5907   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5908 /* end confdefs.h.  */
   5909 int i;
   5910 int
   5911 main (void)
   5912 {
   5913 
   5914   ;
   5915   return 0;
   5916 }
   5917 _ACEOF
   5918 if ac_fn_c_try_link "$LINENO"
   5919 then :
   5920   eval $cacheid=yes
   5921 else $as_nop
   5922   eval $cacheid=no
   5923 fi
   5924 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5925     conftest$ac_exeext conftest.$ac_ext
   5926 fi
   5927 
   5928 
   5929 		CFLAGS="$xorg_testset_save_CFLAGS"
   5930 
   5931 		eval supported=\$$cacheid
   5932 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5933 printf "%s\n" "$supported" >&6; }
   5934 		if test "$supported" = "yes" ; then
   5935 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5936 			found="yes"
   5937 		fi
   5938 	fi
   5939 
   5940 
   5941 
   5942 
   5943 
   5944 
   5945 
   5946 
   5947 
   5948 
   5949 
   5950 
   5951 
   5952 
   5953 
   5954 xorg_testset_save_CFLAGS="$CFLAGS"
   5955 
   5956 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5957 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5958 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5959 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5960 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5961 then :
   5962   printf %s "(cached) " >&6
   5963 else $as_nop
   5964   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5965 /* end confdefs.h.  */
   5966 int i;
   5967 _ACEOF
   5968 if ac_fn_c_try_compile "$LINENO"
   5969 then :
   5970   xorg_cv_cc_flag_unknown_warning_option=yes
   5971 else $as_nop
   5972   xorg_cv_cc_flag_unknown_warning_option=no
   5973 fi
   5974 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5975 fi
   5976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5977 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5978 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5979 	CFLAGS="$xorg_testset_save_CFLAGS"
   5980 fi
   5981 
   5982 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5983 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5984 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5985 	fi
   5986 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5987 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5988 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5989 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5990 then :
   5991   printf %s "(cached) " >&6
   5992 else $as_nop
   5993   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5994 /* end confdefs.h.  */
   5995 int i;
   5996 _ACEOF
   5997 if ac_fn_c_try_compile "$LINENO"
   5998 then :
   5999   xorg_cv_cc_flag_unused_command_line_argument=yes
   6000 else $as_nop
   6001   xorg_cv_cc_flag_unused_command_line_argument=no
   6002 fi
   6003 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6004 fi
   6005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6006 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6007 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6008 	CFLAGS="$xorg_testset_save_CFLAGS"
   6009 fi
   6010 
   6011 found="no"
   6012 
   6013 	if test $found = "no" ; then
   6014 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6015 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6016 		fi
   6017 
   6018 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6019 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6020 		fi
   6021 
   6022 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6023 
   6024 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6025 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   6026 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6027 		if eval test \${$cacheid+y}
   6028 then :
   6029   printf %s "(cached) " >&6
   6030 else $as_nop
   6031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6032 /* end confdefs.h.  */
   6033 int i;
   6034 int
   6035 main (void)
   6036 {
   6037 
   6038   ;
   6039   return 0;
   6040 }
   6041 _ACEOF
   6042 if ac_fn_c_try_link "$LINENO"
   6043 then :
   6044   eval $cacheid=yes
   6045 else $as_nop
   6046   eval $cacheid=no
   6047 fi
   6048 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6049     conftest$ac_exeext conftest.$ac_ext
   6050 fi
   6051 
   6052 
   6053 		CFLAGS="$xorg_testset_save_CFLAGS"
   6054 
   6055 		eval supported=\$$cacheid
   6056 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6057 printf "%s\n" "$supported" >&6; }
   6058 		if test "$supported" = "yes" ; then
   6059 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6060 			found="yes"
   6061 		fi
   6062 	fi
   6063 
   6064 
   6065 
   6066 
   6067 
   6068 
   6069 
   6070 
   6071 
   6072 
   6073 
   6074 
   6075 
   6076 
   6077 
   6078 xorg_testset_save_CFLAGS="$CFLAGS"
   6079 
   6080 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6081 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6082 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6083 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6084 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6085 then :
   6086   printf %s "(cached) " >&6
   6087 else $as_nop
   6088   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6089 /* end confdefs.h.  */
   6090 int i;
   6091 _ACEOF
   6092 if ac_fn_c_try_compile "$LINENO"
   6093 then :
   6094   xorg_cv_cc_flag_unknown_warning_option=yes
   6095 else $as_nop
   6096   xorg_cv_cc_flag_unknown_warning_option=no
   6097 fi
   6098 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6099 fi
   6100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6101 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6102 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6103 	CFLAGS="$xorg_testset_save_CFLAGS"
   6104 fi
   6105 
   6106 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6107 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6108 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6109 	fi
   6110 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6111 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6112 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6113 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6114 then :
   6115   printf %s "(cached) " >&6
   6116 else $as_nop
   6117   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6118 /* end confdefs.h.  */
   6119 int i;
   6120 _ACEOF
   6121 if ac_fn_c_try_compile "$LINENO"
   6122 then :
   6123   xorg_cv_cc_flag_unused_command_line_argument=yes
   6124 else $as_nop
   6125   xorg_cv_cc_flag_unused_command_line_argument=no
   6126 fi
   6127 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6128 fi
   6129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6130 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6131 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6132 	CFLAGS="$xorg_testset_save_CFLAGS"
   6133 fi
   6134 
   6135 found="no"
   6136 
   6137 	if test $found = "no" ; then
   6138 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6139 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6140 		fi
   6141 
   6142 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6143 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6144 		fi
   6145 
   6146 		CFLAGS="$CFLAGS -Wold-style-definition"
   6147 
   6148 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6149 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6150 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6151 		if eval test \${$cacheid+y}
   6152 then :
   6153   printf %s "(cached) " >&6
   6154 else $as_nop
   6155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6156 /* end confdefs.h.  */
   6157 int i;
   6158 int
   6159 main (void)
   6160 {
   6161 
   6162   ;
   6163   return 0;
   6164 }
   6165 _ACEOF
   6166 if ac_fn_c_try_link "$LINENO"
   6167 then :
   6168   eval $cacheid=yes
   6169 else $as_nop
   6170   eval $cacheid=no
   6171 fi
   6172 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6173     conftest$ac_exeext conftest.$ac_ext
   6174 fi
   6175 
   6176 
   6177 		CFLAGS="$xorg_testset_save_CFLAGS"
   6178 
   6179 		eval supported=\$$cacheid
   6180 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6181 printf "%s\n" "$supported" >&6; }
   6182 		if test "$supported" = "yes" ; then
   6183 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6184 			found="yes"
   6185 		fi
   6186 	fi
   6187 
   6188 	if test $found = "no" ; then
   6189 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6190 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6191 		fi
   6192 
   6193 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6194 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6195 		fi
   6196 
   6197 		CFLAGS="$CFLAGS -fd"
   6198 
   6199 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6200 printf %s "checking if $CC supports -fd... " >&6; }
   6201 		cacheid=xorg_cv_cc_flag__fd
   6202 		if eval test \${$cacheid+y}
   6203 then :
   6204   printf %s "(cached) " >&6
   6205 else $as_nop
   6206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6207 /* end confdefs.h.  */
   6208 int i;
   6209 int
   6210 main (void)
   6211 {
   6212 
   6213   ;
   6214   return 0;
   6215 }
   6216 _ACEOF
   6217 if ac_fn_c_try_link "$LINENO"
   6218 then :
   6219   eval $cacheid=yes
   6220 else $as_nop
   6221   eval $cacheid=no
   6222 fi
   6223 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6224     conftest$ac_exeext conftest.$ac_ext
   6225 fi
   6226 
   6227 
   6228 		CFLAGS="$xorg_testset_save_CFLAGS"
   6229 
   6230 		eval supported=\$$cacheid
   6231 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6232 printf "%s\n" "$supported" >&6; }
   6233 		if test "$supported" = "yes" ; then
   6234 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6235 			found="yes"
   6236 		fi
   6237 	fi
   6238 
   6239 
   6240 
   6241 
   6242 
   6243 
   6244 
   6245 
   6246 
   6247 
   6248 
   6249 
   6250 
   6251 
   6252 
   6253 xorg_testset_save_CFLAGS="$CFLAGS"
   6254 
   6255 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6256 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6257 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6258 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6259 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6260 then :
   6261   printf %s "(cached) " >&6
   6262 else $as_nop
   6263   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6264 /* end confdefs.h.  */
   6265 int i;
   6266 _ACEOF
   6267 if ac_fn_c_try_compile "$LINENO"
   6268 then :
   6269   xorg_cv_cc_flag_unknown_warning_option=yes
   6270 else $as_nop
   6271   xorg_cv_cc_flag_unknown_warning_option=no
   6272 fi
   6273 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6274 fi
   6275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6276 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6277 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6278 	CFLAGS="$xorg_testset_save_CFLAGS"
   6279 fi
   6280 
   6281 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6282 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6283 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6284 	fi
   6285 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6286 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6287 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6288 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6289 then :
   6290   printf %s "(cached) " >&6
   6291 else $as_nop
   6292   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6293 /* end confdefs.h.  */
   6294 int i;
   6295 _ACEOF
   6296 if ac_fn_c_try_compile "$LINENO"
   6297 then :
   6298   xorg_cv_cc_flag_unused_command_line_argument=yes
   6299 else $as_nop
   6300   xorg_cv_cc_flag_unused_command_line_argument=no
   6301 fi
   6302 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6303 fi
   6304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6305 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6306 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6307 	CFLAGS="$xorg_testset_save_CFLAGS"
   6308 fi
   6309 
   6310 found="no"
   6311 
   6312 	if test $found = "no" ; then
   6313 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6314 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6315 		fi
   6316 
   6317 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6318 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6319 		fi
   6320 
   6321 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6322 
   6323 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6324 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6325 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6326 		if eval test \${$cacheid+y}
   6327 then :
   6328   printf %s "(cached) " >&6
   6329 else $as_nop
   6330   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6331 /* end confdefs.h.  */
   6332 int i;
   6333 int
   6334 main (void)
   6335 {
   6336 
   6337   ;
   6338   return 0;
   6339 }
   6340 _ACEOF
   6341 if ac_fn_c_try_link "$LINENO"
   6342 then :
   6343   eval $cacheid=yes
   6344 else $as_nop
   6345   eval $cacheid=no
   6346 fi
   6347 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6348     conftest$ac_exeext conftest.$ac_ext
   6349 fi
   6350 
   6351 
   6352 		CFLAGS="$xorg_testset_save_CFLAGS"
   6353 
   6354 		eval supported=\$$cacheid
   6355 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6356 printf "%s\n" "$supported" >&6; }
   6357 		if test "$supported" = "yes" ; then
   6358 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6359 			found="yes"
   6360 		fi
   6361 	fi
   6362 
   6363 
   6364 
   6365 
   6366 
   6367 # This chunk adds additional warnings that could catch undesired effects.
   6368 
   6369 
   6370 
   6371 
   6372 
   6373 
   6374 
   6375 
   6376 
   6377 
   6378 
   6379 
   6380 
   6381 xorg_testset_save_CFLAGS="$CFLAGS"
   6382 
   6383 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6384 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6385 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6386 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6387 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6388 then :
   6389   printf %s "(cached) " >&6
   6390 else $as_nop
   6391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6392 /* end confdefs.h.  */
   6393 int i;
   6394 _ACEOF
   6395 if ac_fn_c_try_compile "$LINENO"
   6396 then :
   6397   xorg_cv_cc_flag_unknown_warning_option=yes
   6398 else $as_nop
   6399   xorg_cv_cc_flag_unknown_warning_option=no
   6400 fi
   6401 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6402 fi
   6403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6404 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6405 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6406 	CFLAGS="$xorg_testset_save_CFLAGS"
   6407 fi
   6408 
   6409 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6410 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6411 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6412 	fi
   6413 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6414 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6415 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6416 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6417 then :
   6418   printf %s "(cached) " >&6
   6419 else $as_nop
   6420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6421 /* end confdefs.h.  */
   6422 int i;
   6423 _ACEOF
   6424 if ac_fn_c_try_compile "$LINENO"
   6425 then :
   6426   xorg_cv_cc_flag_unused_command_line_argument=yes
   6427 else $as_nop
   6428   xorg_cv_cc_flag_unused_command_line_argument=no
   6429 fi
   6430 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6431 fi
   6432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6433 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6434 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6435 	CFLAGS="$xorg_testset_save_CFLAGS"
   6436 fi
   6437 
   6438 found="no"
   6439 
   6440 	if test $found = "no" ; then
   6441 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6442 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6443 		fi
   6444 
   6445 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6446 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6447 		fi
   6448 
   6449 		CFLAGS="$CFLAGS -Wunused"
   6450 
   6451 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6452 printf %s "checking if $CC supports -Wunused... " >&6; }
   6453 		cacheid=xorg_cv_cc_flag__Wunused
   6454 		if eval test \${$cacheid+y}
   6455 then :
   6456   printf %s "(cached) " >&6
   6457 else $as_nop
   6458   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6459 /* end confdefs.h.  */
   6460 int i;
   6461 int
   6462 main (void)
   6463 {
   6464 
   6465   ;
   6466   return 0;
   6467 }
   6468 _ACEOF
   6469 if ac_fn_c_try_link "$LINENO"
   6470 then :
   6471   eval $cacheid=yes
   6472 else $as_nop
   6473   eval $cacheid=no
   6474 fi
   6475 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6476     conftest$ac_exeext conftest.$ac_ext
   6477 fi
   6478 
   6479 
   6480 		CFLAGS="$xorg_testset_save_CFLAGS"
   6481 
   6482 		eval supported=\$$cacheid
   6483 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6484 printf "%s\n" "$supported" >&6; }
   6485 		if test "$supported" = "yes" ; then
   6486 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6487 			found="yes"
   6488 		fi
   6489 	fi
   6490 
   6491 
   6492 
   6493 
   6494 
   6495 
   6496 
   6497 
   6498 
   6499 
   6500 
   6501 
   6502 
   6503 
   6504 
   6505 xorg_testset_save_CFLAGS="$CFLAGS"
   6506 
   6507 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6508 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6509 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6510 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6511 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6512 then :
   6513   printf %s "(cached) " >&6
   6514 else $as_nop
   6515   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6516 /* end confdefs.h.  */
   6517 int i;
   6518 _ACEOF
   6519 if ac_fn_c_try_compile "$LINENO"
   6520 then :
   6521   xorg_cv_cc_flag_unknown_warning_option=yes
   6522 else $as_nop
   6523   xorg_cv_cc_flag_unknown_warning_option=no
   6524 fi
   6525 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6526 fi
   6527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6528 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6529 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6530 	CFLAGS="$xorg_testset_save_CFLAGS"
   6531 fi
   6532 
   6533 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6534 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6535 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6536 	fi
   6537 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6538 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6539 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6540 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6541 then :
   6542   printf %s "(cached) " >&6
   6543 else $as_nop
   6544   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6545 /* end confdefs.h.  */
   6546 int i;
   6547 _ACEOF
   6548 if ac_fn_c_try_compile "$LINENO"
   6549 then :
   6550   xorg_cv_cc_flag_unused_command_line_argument=yes
   6551 else $as_nop
   6552   xorg_cv_cc_flag_unused_command_line_argument=no
   6553 fi
   6554 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6555 fi
   6556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6557 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6558 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6559 	CFLAGS="$xorg_testset_save_CFLAGS"
   6560 fi
   6561 
   6562 found="no"
   6563 
   6564 	if test $found = "no" ; then
   6565 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6566 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6567 		fi
   6568 
   6569 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6570 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6571 		fi
   6572 
   6573 		CFLAGS="$CFLAGS -Wuninitialized"
   6574 
   6575 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6576 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6577 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6578 		if eval test \${$cacheid+y}
   6579 then :
   6580   printf %s "(cached) " >&6
   6581 else $as_nop
   6582   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6583 /* end confdefs.h.  */
   6584 int i;
   6585 int
   6586 main (void)
   6587 {
   6588 
   6589   ;
   6590   return 0;
   6591 }
   6592 _ACEOF
   6593 if ac_fn_c_try_link "$LINENO"
   6594 then :
   6595   eval $cacheid=yes
   6596 else $as_nop
   6597   eval $cacheid=no
   6598 fi
   6599 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6600     conftest$ac_exeext conftest.$ac_ext
   6601 fi
   6602 
   6603 
   6604 		CFLAGS="$xorg_testset_save_CFLAGS"
   6605 
   6606 		eval supported=\$$cacheid
   6607 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6608 printf "%s\n" "$supported" >&6; }
   6609 		if test "$supported" = "yes" ; then
   6610 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6611 			found="yes"
   6612 		fi
   6613 	fi
   6614 
   6615 
   6616 
   6617 
   6618 
   6619 
   6620 
   6621 
   6622 
   6623 
   6624 
   6625 
   6626 
   6627 
   6628 
   6629 xorg_testset_save_CFLAGS="$CFLAGS"
   6630 
   6631 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6632 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6633 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6634 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6635 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6636 then :
   6637   printf %s "(cached) " >&6
   6638 else $as_nop
   6639   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6640 /* end confdefs.h.  */
   6641 int i;
   6642 _ACEOF
   6643 if ac_fn_c_try_compile "$LINENO"
   6644 then :
   6645   xorg_cv_cc_flag_unknown_warning_option=yes
   6646 else $as_nop
   6647   xorg_cv_cc_flag_unknown_warning_option=no
   6648 fi
   6649 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6650 fi
   6651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6652 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6653 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6654 	CFLAGS="$xorg_testset_save_CFLAGS"
   6655 fi
   6656 
   6657 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6658 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6659 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6660 	fi
   6661 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6662 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6663 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6664 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6665 then :
   6666   printf %s "(cached) " >&6
   6667 else $as_nop
   6668   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6669 /* end confdefs.h.  */
   6670 int i;
   6671 _ACEOF
   6672 if ac_fn_c_try_compile "$LINENO"
   6673 then :
   6674   xorg_cv_cc_flag_unused_command_line_argument=yes
   6675 else $as_nop
   6676   xorg_cv_cc_flag_unused_command_line_argument=no
   6677 fi
   6678 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6679 fi
   6680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6681 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6682 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6683 	CFLAGS="$xorg_testset_save_CFLAGS"
   6684 fi
   6685 
   6686 found="no"
   6687 
   6688 	if test $found = "no" ; then
   6689 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6690 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6691 		fi
   6692 
   6693 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6694 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6695 		fi
   6696 
   6697 		CFLAGS="$CFLAGS -Wshadow"
   6698 
   6699 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6700 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6701 		cacheid=xorg_cv_cc_flag__Wshadow
   6702 		if eval test \${$cacheid+y}
   6703 then :
   6704   printf %s "(cached) " >&6
   6705 else $as_nop
   6706   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6707 /* end confdefs.h.  */
   6708 int i;
   6709 int
   6710 main (void)
   6711 {
   6712 
   6713   ;
   6714   return 0;
   6715 }
   6716 _ACEOF
   6717 if ac_fn_c_try_link "$LINENO"
   6718 then :
   6719   eval $cacheid=yes
   6720 else $as_nop
   6721   eval $cacheid=no
   6722 fi
   6723 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6724     conftest$ac_exeext conftest.$ac_ext
   6725 fi
   6726 
   6727 
   6728 		CFLAGS="$xorg_testset_save_CFLAGS"
   6729 
   6730 		eval supported=\$$cacheid
   6731 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6732 printf "%s\n" "$supported" >&6; }
   6733 		if test "$supported" = "yes" ; then
   6734 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6735 			found="yes"
   6736 		fi
   6737 	fi
   6738 
   6739 
   6740 
   6741 
   6742 
   6743 
   6744 
   6745 
   6746 
   6747 
   6748 
   6749 
   6750 
   6751 
   6752 
   6753 xorg_testset_save_CFLAGS="$CFLAGS"
   6754 
   6755 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6756 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6757 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6758 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6759 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6760 then :
   6761   printf %s "(cached) " >&6
   6762 else $as_nop
   6763   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6764 /* end confdefs.h.  */
   6765 int i;
   6766 _ACEOF
   6767 if ac_fn_c_try_compile "$LINENO"
   6768 then :
   6769   xorg_cv_cc_flag_unknown_warning_option=yes
   6770 else $as_nop
   6771   xorg_cv_cc_flag_unknown_warning_option=no
   6772 fi
   6773 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6774 fi
   6775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6776 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6777 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6778 	CFLAGS="$xorg_testset_save_CFLAGS"
   6779 fi
   6780 
   6781 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6782 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6783 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6784 	fi
   6785 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6786 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6787 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6788 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6789 then :
   6790   printf %s "(cached) " >&6
   6791 else $as_nop
   6792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6793 /* end confdefs.h.  */
   6794 int i;
   6795 _ACEOF
   6796 if ac_fn_c_try_compile "$LINENO"
   6797 then :
   6798   xorg_cv_cc_flag_unused_command_line_argument=yes
   6799 else $as_nop
   6800   xorg_cv_cc_flag_unused_command_line_argument=no
   6801 fi
   6802 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6803 fi
   6804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6805 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6806 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6807 	CFLAGS="$xorg_testset_save_CFLAGS"
   6808 fi
   6809 
   6810 found="no"
   6811 
   6812 	if test $found = "no" ; then
   6813 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6814 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6815 		fi
   6816 
   6817 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6818 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6819 		fi
   6820 
   6821 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6822 
   6823 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6824 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6825 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6826 		if eval test \${$cacheid+y}
   6827 then :
   6828   printf %s "(cached) " >&6
   6829 else $as_nop
   6830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6831 /* end confdefs.h.  */
   6832 int i;
   6833 int
   6834 main (void)
   6835 {
   6836 
   6837   ;
   6838   return 0;
   6839 }
   6840 _ACEOF
   6841 if ac_fn_c_try_link "$LINENO"
   6842 then :
   6843   eval $cacheid=yes
   6844 else $as_nop
   6845   eval $cacheid=no
   6846 fi
   6847 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6848     conftest$ac_exeext conftest.$ac_ext
   6849 fi
   6850 
   6851 
   6852 		CFLAGS="$xorg_testset_save_CFLAGS"
   6853 
   6854 		eval supported=\$$cacheid
   6855 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6856 printf "%s\n" "$supported" >&6; }
   6857 		if test "$supported" = "yes" ; then
   6858 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6859 			found="yes"
   6860 		fi
   6861 	fi
   6862 
   6863 
   6864 
   6865 
   6866 
   6867 
   6868 
   6869 
   6870 
   6871 
   6872 
   6873 
   6874 
   6875 
   6876 
   6877 xorg_testset_save_CFLAGS="$CFLAGS"
   6878 
   6879 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6880 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6881 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6882 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6883 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6884 then :
   6885   printf %s "(cached) " >&6
   6886 else $as_nop
   6887   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6888 /* end confdefs.h.  */
   6889 int i;
   6890 _ACEOF
   6891 if ac_fn_c_try_compile "$LINENO"
   6892 then :
   6893   xorg_cv_cc_flag_unknown_warning_option=yes
   6894 else $as_nop
   6895   xorg_cv_cc_flag_unknown_warning_option=no
   6896 fi
   6897 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6898 fi
   6899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6900 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6901 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6902 	CFLAGS="$xorg_testset_save_CFLAGS"
   6903 fi
   6904 
   6905 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6906 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6907 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6908 	fi
   6909 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6910 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6911 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6912 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6913 then :
   6914   printf %s "(cached) " >&6
   6915 else $as_nop
   6916   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6917 /* end confdefs.h.  */
   6918 int i;
   6919 _ACEOF
   6920 if ac_fn_c_try_compile "$LINENO"
   6921 then :
   6922   xorg_cv_cc_flag_unused_command_line_argument=yes
   6923 else $as_nop
   6924   xorg_cv_cc_flag_unused_command_line_argument=no
   6925 fi
   6926 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6927 fi
   6928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6929 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6930 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6931 	CFLAGS="$xorg_testset_save_CFLAGS"
   6932 fi
   6933 
   6934 found="no"
   6935 
   6936 	if test $found = "no" ; then
   6937 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6938 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6939 		fi
   6940 
   6941 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6942 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6943 		fi
   6944 
   6945 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6946 
   6947 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6948 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6949 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6950 		if eval test \${$cacheid+y}
   6951 then :
   6952   printf %s "(cached) " >&6
   6953 else $as_nop
   6954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6955 /* end confdefs.h.  */
   6956 int i;
   6957 int
   6958 main (void)
   6959 {
   6960 
   6961   ;
   6962   return 0;
   6963 }
   6964 _ACEOF
   6965 if ac_fn_c_try_link "$LINENO"
   6966 then :
   6967   eval $cacheid=yes
   6968 else $as_nop
   6969   eval $cacheid=no
   6970 fi
   6971 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6972     conftest$ac_exeext conftest.$ac_ext
   6973 fi
   6974 
   6975 
   6976 		CFLAGS="$xorg_testset_save_CFLAGS"
   6977 
   6978 		eval supported=\$$cacheid
   6979 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6980 printf "%s\n" "$supported" >&6; }
   6981 		if test "$supported" = "yes" ; then
   6982 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6983 			found="yes"
   6984 		fi
   6985 	fi
   6986 
   6987 
   6988 
   6989 
   6990 
   6991 
   6992 
   6993 
   6994 
   6995 
   6996 
   6997 
   6998 
   6999 
   7000 
   7001 xorg_testset_save_CFLAGS="$CFLAGS"
   7002 
   7003 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7004 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7005 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7006 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7007 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7008 then :
   7009   printf %s "(cached) " >&6
   7010 else $as_nop
   7011   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7012 /* end confdefs.h.  */
   7013 int i;
   7014 _ACEOF
   7015 if ac_fn_c_try_compile "$LINENO"
   7016 then :
   7017   xorg_cv_cc_flag_unknown_warning_option=yes
   7018 else $as_nop
   7019   xorg_cv_cc_flag_unknown_warning_option=no
   7020 fi
   7021 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7022 fi
   7023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7024 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7025 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7026 	CFLAGS="$xorg_testset_save_CFLAGS"
   7027 fi
   7028 
   7029 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7030 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7031 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7032 	fi
   7033 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7034 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7035 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7036 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7037 then :
   7038   printf %s "(cached) " >&6
   7039 else $as_nop
   7040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7041 /* end confdefs.h.  */
   7042 int i;
   7043 _ACEOF
   7044 if ac_fn_c_try_compile "$LINENO"
   7045 then :
   7046   xorg_cv_cc_flag_unused_command_line_argument=yes
   7047 else $as_nop
   7048   xorg_cv_cc_flag_unused_command_line_argument=no
   7049 fi
   7050 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7051 fi
   7052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7053 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7054 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7055 	CFLAGS="$xorg_testset_save_CFLAGS"
   7056 fi
   7057 
   7058 found="no"
   7059 
   7060 	if test $found = "no" ; then
   7061 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7062 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7063 		fi
   7064 
   7065 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7066 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7067 		fi
   7068 
   7069 		CFLAGS="$CFLAGS -Wredundant-decls"
   7070 
   7071 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7072 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7073 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7074 		if eval test \${$cacheid+y}
   7075 then :
   7076   printf %s "(cached) " >&6
   7077 else $as_nop
   7078   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7079 /* end confdefs.h.  */
   7080 int i;
   7081 int
   7082 main (void)
   7083 {
   7084 
   7085   ;
   7086   return 0;
   7087 }
   7088 _ACEOF
   7089 if ac_fn_c_try_link "$LINENO"
   7090 then :
   7091   eval $cacheid=yes
   7092 else $as_nop
   7093   eval $cacheid=no
   7094 fi
   7095 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7096     conftest$ac_exeext conftest.$ac_ext
   7097 fi
   7098 
   7099 
   7100 		CFLAGS="$xorg_testset_save_CFLAGS"
   7101 
   7102 		eval supported=\$$cacheid
   7103 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7104 printf "%s\n" "$supported" >&6; }
   7105 		if test "$supported" = "yes" ; then
   7106 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7107 			found="yes"
   7108 		fi
   7109 	fi
   7110 
   7111 
   7112 
   7113 
   7114 
   7115 
   7116 
   7117 
   7118 
   7119 
   7120 
   7121 
   7122 
   7123 
   7124 
   7125 xorg_testset_save_CFLAGS="$CFLAGS"
   7126 
   7127 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7128 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7129 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7130 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7131 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7132 then :
   7133   printf %s "(cached) " >&6
   7134 else $as_nop
   7135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7136 /* end confdefs.h.  */
   7137 int i;
   7138 _ACEOF
   7139 if ac_fn_c_try_compile "$LINENO"
   7140 then :
   7141   xorg_cv_cc_flag_unknown_warning_option=yes
   7142 else $as_nop
   7143   xorg_cv_cc_flag_unknown_warning_option=no
   7144 fi
   7145 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7146 fi
   7147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7148 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7149 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7150 	CFLAGS="$xorg_testset_save_CFLAGS"
   7151 fi
   7152 
   7153 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7154 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7155 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7156 	fi
   7157 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7158 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7159 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7160 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7161 then :
   7162   printf %s "(cached) " >&6
   7163 else $as_nop
   7164   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7165 /* end confdefs.h.  */
   7166 int i;
   7167 _ACEOF
   7168 if ac_fn_c_try_compile "$LINENO"
   7169 then :
   7170   xorg_cv_cc_flag_unused_command_line_argument=yes
   7171 else $as_nop
   7172   xorg_cv_cc_flag_unused_command_line_argument=no
   7173 fi
   7174 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7175 fi
   7176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7177 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7178 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7179 	CFLAGS="$xorg_testset_save_CFLAGS"
   7180 fi
   7181 
   7182 found="no"
   7183 
   7184 	if test $found = "no" ; then
   7185 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7186 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7187 		fi
   7188 
   7189 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7190 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7191 		fi
   7192 
   7193 		CFLAGS="$CFLAGS -Wlogical-op"
   7194 
   7195 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7196 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7197 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7198 		if eval test \${$cacheid+y}
   7199 then :
   7200   printf %s "(cached) " >&6
   7201 else $as_nop
   7202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7203 /* end confdefs.h.  */
   7204 int i;
   7205 int
   7206 main (void)
   7207 {
   7208 
   7209   ;
   7210   return 0;
   7211 }
   7212 _ACEOF
   7213 if ac_fn_c_try_link "$LINENO"
   7214 then :
   7215   eval $cacheid=yes
   7216 else $as_nop
   7217   eval $cacheid=no
   7218 fi
   7219 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7220     conftest$ac_exeext conftest.$ac_ext
   7221 fi
   7222 
   7223 
   7224 		CFLAGS="$xorg_testset_save_CFLAGS"
   7225 
   7226 		eval supported=\$$cacheid
   7227 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7228 printf "%s\n" "$supported" >&6; }
   7229 		if test "$supported" = "yes" ; then
   7230 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7231 			found="yes"
   7232 		fi
   7233 	fi
   7234 
   7235 
   7236 
   7237 # These are currently disabled because they are noisy.  They will be enabled
   7238 # in the future once the codebase is sufficiently modernized to silence
   7239 # them.  For now, I don't want them to drown out the other warnings.
   7240 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7241 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7242 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7243 
   7244 # Turn some warnings into errors, so we don't accidently get successful builds
   7245 # when there are problems that should be fixed.
   7246 
   7247 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7248 
   7249 
   7250 
   7251 
   7252 
   7253 
   7254 
   7255 
   7256 
   7257 
   7258 
   7259 
   7260 
   7261 xorg_testset_save_CFLAGS="$CFLAGS"
   7262 
   7263 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7264 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7265 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7266 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7267 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7268 then :
   7269   printf %s "(cached) " >&6
   7270 else $as_nop
   7271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7272 /* end confdefs.h.  */
   7273 int i;
   7274 _ACEOF
   7275 if ac_fn_c_try_compile "$LINENO"
   7276 then :
   7277   xorg_cv_cc_flag_unknown_warning_option=yes
   7278 else $as_nop
   7279   xorg_cv_cc_flag_unknown_warning_option=no
   7280 fi
   7281 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7282 fi
   7283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7284 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7285 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7286 	CFLAGS="$xorg_testset_save_CFLAGS"
   7287 fi
   7288 
   7289 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7290 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7291 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7292 	fi
   7293 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7294 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7295 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7296 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7297 then :
   7298   printf %s "(cached) " >&6
   7299 else $as_nop
   7300   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7301 /* end confdefs.h.  */
   7302 int i;
   7303 _ACEOF
   7304 if ac_fn_c_try_compile "$LINENO"
   7305 then :
   7306   xorg_cv_cc_flag_unused_command_line_argument=yes
   7307 else $as_nop
   7308   xorg_cv_cc_flag_unused_command_line_argument=no
   7309 fi
   7310 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7311 fi
   7312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7313 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7314 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7315 	CFLAGS="$xorg_testset_save_CFLAGS"
   7316 fi
   7317 
   7318 found="no"
   7319 
   7320 	if test $found = "no" ; then
   7321 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7322 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7323 		fi
   7324 
   7325 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7326 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7327 		fi
   7328 
   7329 		CFLAGS="$CFLAGS -Werror=implicit"
   7330 
   7331 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7332 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7333 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7334 		if eval test \${$cacheid+y}
   7335 then :
   7336   printf %s "(cached) " >&6
   7337 else $as_nop
   7338   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7339 /* end confdefs.h.  */
   7340 int i;
   7341 int
   7342 main (void)
   7343 {
   7344 
   7345   ;
   7346   return 0;
   7347 }
   7348 _ACEOF
   7349 if ac_fn_c_try_link "$LINENO"
   7350 then :
   7351   eval $cacheid=yes
   7352 else $as_nop
   7353   eval $cacheid=no
   7354 fi
   7355 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7356     conftest$ac_exeext conftest.$ac_ext
   7357 fi
   7358 
   7359 
   7360 		CFLAGS="$xorg_testset_save_CFLAGS"
   7361 
   7362 		eval supported=\$$cacheid
   7363 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7364 printf "%s\n" "$supported" >&6; }
   7365 		if test "$supported" = "yes" ; then
   7366 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7367 			found="yes"
   7368 		fi
   7369 	fi
   7370 
   7371 	if test $found = "no" ; then
   7372 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7373 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7374 		fi
   7375 
   7376 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7377 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7378 		fi
   7379 
   7380 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7381 
   7382 		{ 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
   7383 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7384 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7385 		if eval test \${$cacheid+y}
   7386 then :
   7387   printf %s "(cached) " >&6
   7388 else $as_nop
   7389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7390 /* end confdefs.h.  */
   7391 int i;
   7392 int
   7393 main (void)
   7394 {
   7395 
   7396   ;
   7397   return 0;
   7398 }
   7399 _ACEOF
   7400 if ac_fn_c_try_link "$LINENO"
   7401 then :
   7402   eval $cacheid=yes
   7403 else $as_nop
   7404   eval $cacheid=no
   7405 fi
   7406 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7407     conftest$ac_exeext conftest.$ac_ext
   7408 fi
   7409 
   7410 
   7411 		CFLAGS="$xorg_testset_save_CFLAGS"
   7412 
   7413 		eval supported=\$$cacheid
   7414 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7415 printf "%s\n" "$supported" >&6; }
   7416 		if test "$supported" = "yes" ; then
   7417 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7418 			found="yes"
   7419 		fi
   7420 	fi
   7421 
   7422 
   7423 
   7424 
   7425 
   7426 
   7427 
   7428 
   7429 
   7430 
   7431 
   7432 
   7433 
   7434 
   7435 
   7436 xorg_testset_save_CFLAGS="$CFLAGS"
   7437 
   7438 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7439 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7440 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7441 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7442 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7443 then :
   7444   printf %s "(cached) " >&6
   7445 else $as_nop
   7446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7447 /* end confdefs.h.  */
   7448 int i;
   7449 _ACEOF
   7450 if ac_fn_c_try_compile "$LINENO"
   7451 then :
   7452   xorg_cv_cc_flag_unknown_warning_option=yes
   7453 else $as_nop
   7454   xorg_cv_cc_flag_unknown_warning_option=no
   7455 fi
   7456 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7457 fi
   7458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7459 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7460 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7461 	CFLAGS="$xorg_testset_save_CFLAGS"
   7462 fi
   7463 
   7464 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7465 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7466 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7467 	fi
   7468 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7469 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7470 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7471 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7472 then :
   7473   printf %s "(cached) " >&6
   7474 else $as_nop
   7475   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7476 /* end confdefs.h.  */
   7477 int i;
   7478 _ACEOF
   7479 if ac_fn_c_try_compile "$LINENO"
   7480 then :
   7481   xorg_cv_cc_flag_unused_command_line_argument=yes
   7482 else $as_nop
   7483   xorg_cv_cc_flag_unused_command_line_argument=no
   7484 fi
   7485 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7486 fi
   7487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7488 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7489 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7490 	CFLAGS="$xorg_testset_save_CFLAGS"
   7491 fi
   7492 
   7493 found="no"
   7494 
   7495 	if test $found = "no" ; then
   7496 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7497 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7498 		fi
   7499 
   7500 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7501 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7502 		fi
   7503 
   7504 		CFLAGS="$CFLAGS -Werror=nonnull"
   7505 
   7506 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7507 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7508 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7509 		if eval test \${$cacheid+y}
   7510 then :
   7511   printf %s "(cached) " >&6
   7512 else $as_nop
   7513   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7514 /* end confdefs.h.  */
   7515 int i;
   7516 int
   7517 main (void)
   7518 {
   7519 
   7520   ;
   7521   return 0;
   7522 }
   7523 _ACEOF
   7524 if ac_fn_c_try_link "$LINENO"
   7525 then :
   7526   eval $cacheid=yes
   7527 else $as_nop
   7528   eval $cacheid=no
   7529 fi
   7530 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7531     conftest$ac_exeext conftest.$ac_ext
   7532 fi
   7533 
   7534 
   7535 		CFLAGS="$xorg_testset_save_CFLAGS"
   7536 
   7537 		eval supported=\$$cacheid
   7538 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7539 printf "%s\n" "$supported" >&6; }
   7540 		if test "$supported" = "yes" ; then
   7541 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7542 			found="yes"
   7543 		fi
   7544 	fi
   7545 
   7546 
   7547 
   7548 
   7549 
   7550 
   7551 
   7552 
   7553 
   7554 
   7555 
   7556 
   7557 
   7558 
   7559 
   7560 xorg_testset_save_CFLAGS="$CFLAGS"
   7561 
   7562 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7563 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7564 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7565 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7566 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7567 then :
   7568   printf %s "(cached) " >&6
   7569 else $as_nop
   7570   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7571 /* end confdefs.h.  */
   7572 int i;
   7573 _ACEOF
   7574 if ac_fn_c_try_compile "$LINENO"
   7575 then :
   7576   xorg_cv_cc_flag_unknown_warning_option=yes
   7577 else $as_nop
   7578   xorg_cv_cc_flag_unknown_warning_option=no
   7579 fi
   7580 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7581 fi
   7582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7583 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7584 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7585 	CFLAGS="$xorg_testset_save_CFLAGS"
   7586 fi
   7587 
   7588 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7589 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7590 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7591 	fi
   7592 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7593 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7594 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7595 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7596 then :
   7597   printf %s "(cached) " >&6
   7598 else $as_nop
   7599   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7600 /* end confdefs.h.  */
   7601 int i;
   7602 _ACEOF
   7603 if ac_fn_c_try_compile "$LINENO"
   7604 then :
   7605   xorg_cv_cc_flag_unused_command_line_argument=yes
   7606 else $as_nop
   7607   xorg_cv_cc_flag_unused_command_line_argument=no
   7608 fi
   7609 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7610 fi
   7611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7612 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7613 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7614 	CFLAGS="$xorg_testset_save_CFLAGS"
   7615 fi
   7616 
   7617 found="no"
   7618 
   7619 	if test $found = "no" ; then
   7620 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7621 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7622 		fi
   7623 
   7624 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7625 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7626 		fi
   7627 
   7628 		CFLAGS="$CFLAGS -Werror=init-self"
   7629 
   7630 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7631 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7632 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7633 		if eval test \${$cacheid+y}
   7634 then :
   7635   printf %s "(cached) " >&6
   7636 else $as_nop
   7637   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7638 /* end confdefs.h.  */
   7639 int i;
   7640 int
   7641 main (void)
   7642 {
   7643 
   7644   ;
   7645   return 0;
   7646 }
   7647 _ACEOF
   7648 if ac_fn_c_try_link "$LINENO"
   7649 then :
   7650   eval $cacheid=yes
   7651 else $as_nop
   7652   eval $cacheid=no
   7653 fi
   7654 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7655     conftest$ac_exeext conftest.$ac_ext
   7656 fi
   7657 
   7658 
   7659 		CFLAGS="$xorg_testset_save_CFLAGS"
   7660 
   7661 		eval supported=\$$cacheid
   7662 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7663 printf "%s\n" "$supported" >&6; }
   7664 		if test "$supported" = "yes" ; then
   7665 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7666 			found="yes"
   7667 		fi
   7668 	fi
   7669 
   7670 
   7671 
   7672 
   7673 
   7674 
   7675 
   7676 
   7677 
   7678 
   7679 
   7680 
   7681 
   7682 
   7683 
   7684 xorg_testset_save_CFLAGS="$CFLAGS"
   7685 
   7686 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7687 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7688 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7689 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7690 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7691 then :
   7692   printf %s "(cached) " >&6
   7693 else $as_nop
   7694   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7695 /* end confdefs.h.  */
   7696 int i;
   7697 _ACEOF
   7698 if ac_fn_c_try_compile "$LINENO"
   7699 then :
   7700   xorg_cv_cc_flag_unknown_warning_option=yes
   7701 else $as_nop
   7702   xorg_cv_cc_flag_unknown_warning_option=no
   7703 fi
   7704 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7705 fi
   7706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7707 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7708 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7709 	CFLAGS="$xorg_testset_save_CFLAGS"
   7710 fi
   7711 
   7712 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7713 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7714 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7715 	fi
   7716 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7717 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7718 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7719 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7720 then :
   7721   printf %s "(cached) " >&6
   7722 else $as_nop
   7723   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7724 /* end confdefs.h.  */
   7725 int i;
   7726 _ACEOF
   7727 if ac_fn_c_try_compile "$LINENO"
   7728 then :
   7729   xorg_cv_cc_flag_unused_command_line_argument=yes
   7730 else $as_nop
   7731   xorg_cv_cc_flag_unused_command_line_argument=no
   7732 fi
   7733 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7734 fi
   7735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7736 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7737 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7738 	CFLAGS="$xorg_testset_save_CFLAGS"
   7739 fi
   7740 
   7741 found="no"
   7742 
   7743 	if test $found = "no" ; then
   7744 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7745 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7746 		fi
   7747 
   7748 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7749 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7750 		fi
   7751 
   7752 		CFLAGS="$CFLAGS -Werror=main"
   7753 
   7754 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7755 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7756 		cacheid=xorg_cv_cc_flag__Werror_main
   7757 		if eval test \${$cacheid+y}
   7758 then :
   7759   printf %s "(cached) " >&6
   7760 else $as_nop
   7761   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7762 /* end confdefs.h.  */
   7763 int i;
   7764 int
   7765 main (void)
   7766 {
   7767 
   7768   ;
   7769   return 0;
   7770 }
   7771 _ACEOF
   7772 if ac_fn_c_try_link "$LINENO"
   7773 then :
   7774   eval $cacheid=yes
   7775 else $as_nop
   7776   eval $cacheid=no
   7777 fi
   7778 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7779     conftest$ac_exeext conftest.$ac_ext
   7780 fi
   7781 
   7782 
   7783 		CFLAGS="$xorg_testset_save_CFLAGS"
   7784 
   7785 		eval supported=\$$cacheid
   7786 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7787 printf "%s\n" "$supported" >&6; }
   7788 		if test "$supported" = "yes" ; then
   7789 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7790 			found="yes"
   7791 		fi
   7792 	fi
   7793 
   7794 
   7795 
   7796 
   7797 
   7798 
   7799 
   7800 
   7801 
   7802 
   7803 
   7804 
   7805 
   7806 
   7807 
   7808 xorg_testset_save_CFLAGS="$CFLAGS"
   7809 
   7810 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7811 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7812 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7813 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7814 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7815 then :
   7816   printf %s "(cached) " >&6
   7817 else $as_nop
   7818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7819 /* end confdefs.h.  */
   7820 int i;
   7821 _ACEOF
   7822 if ac_fn_c_try_compile "$LINENO"
   7823 then :
   7824   xorg_cv_cc_flag_unknown_warning_option=yes
   7825 else $as_nop
   7826   xorg_cv_cc_flag_unknown_warning_option=no
   7827 fi
   7828 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7829 fi
   7830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7831 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7832 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7833 	CFLAGS="$xorg_testset_save_CFLAGS"
   7834 fi
   7835 
   7836 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7837 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7838 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7839 	fi
   7840 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7841 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7842 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7843 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7844 then :
   7845   printf %s "(cached) " >&6
   7846 else $as_nop
   7847   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7848 /* end confdefs.h.  */
   7849 int i;
   7850 _ACEOF
   7851 if ac_fn_c_try_compile "$LINENO"
   7852 then :
   7853   xorg_cv_cc_flag_unused_command_line_argument=yes
   7854 else $as_nop
   7855   xorg_cv_cc_flag_unused_command_line_argument=no
   7856 fi
   7857 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7858 fi
   7859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7860 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7861 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7862 	CFLAGS="$xorg_testset_save_CFLAGS"
   7863 fi
   7864 
   7865 found="no"
   7866 
   7867 	if test $found = "no" ; then
   7868 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7869 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7870 		fi
   7871 
   7872 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7873 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7874 		fi
   7875 
   7876 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7877 
   7878 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7879 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   7880 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7881 		if eval test \${$cacheid+y}
   7882 then :
   7883   printf %s "(cached) " >&6
   7884 else $as_nop
   7885   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7886 /* end confdefs.h.  */
   7887 int i;
   7888 int
   7889 main (void)
   7890 {
   7891 
   7892   ;
   7893   return 0;
   7894 }
   7895 _ACEOF
   7896 if ac_fn_c_try_link "$LINENO"
   7897 then :
   7898   eval $cacheid=yes
   7899 else $as_nop
   7900   eval $cacheid=no
   7901 fi
   7902 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7903     conftest$ac_exeext conftest.$ac_ext
   7904 fi
   7905 
   7906 
   7907 		CFLAGS="$xorg_testset_save_CFLAGS"
   7908 
   7909 		eval supported=\$$cacheid
   7910 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7911 printf "%s\n" "$supported" >&6; }
   7912 		if test "$supported" = "yes" ; then
   7913 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7914 			found="yes"
   7915 		fi
   7916 	fi
   7917 
   7918 
   7919 
   7920 
   7921 
   7922 
   7923 
   7924 
   7925 
   7926 
   7927 
   7928 
   7929 
   7930 
   7931 
   7932 xorg_testset_save_CFLAGS="$CFLAGS"
   7933 
   7934 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7935 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7936 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7937 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7938 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7939 then :
   7940   printf %s "(cached) " >&6
   7941 else $as_nop
   7942   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7943 /* end confdefs.h.  */
   7944 int i;
   7945 _ACEOF
   7946 if ac_fn_c_try_compile "$LINENO"
   7947 then :
   7948   xorg_cv_cc_flag_unknown_warning_option=yes
   7949 else $as_nop
   7950   xorg_cv_cc_flag_unknown_warning_option=no
   7951 fi
   7952 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7953 fi
   7954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7955 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7956 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7957 	CFLAGS="$xorg_testset_save_CFLAGS"
   7958 fi
   7959 
   7960 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7961 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7962 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7963 	fi
   7964 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7965 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7966 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7967 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7968 then :
   7969   printf %s "(cached) " >&6
   7970 else $as_nop
   7971   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7972 /* end confdefs.h.  */
   7973 int i;
   7974 _ACEOF
   7975 if ac_fn_c_try_compile "$LINENO"
   7976 then :
   7977   xorg_cv_cc_flag_unused_command_line_argument=yes
   7978 else $as_nop
   7979   xorg_cv_cc_flag_unused_command_line_argument=no
   7980 fi
   7981 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7982 fi
   7983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7984 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7985 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7986 	CFLAGS="$xorg_testset_save_CFLAGS"
   7987 fi
   7988 
   7989 found="no"
   7990 
   7991 	if test $found = "no" ; then
   7992 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7993 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7994 		fi
   7995 
   7996 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7997 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7998 		fi
   7999 
   8000 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8001 
   8002 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8003 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   8004 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8005 		if eval test \${$cacheid+y}
   8006 then :
   8007   printf %s "(cached) " >&6
   8008 else $as_nop
   8009   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8010 /* end confdefs.h.  */
   8011 int i;
   8012 int
   8013 main (void)
   8014 {
   8015 
   8016   ;
   8017   return 0;
   8018 }
   8019 _ACEOF
   8020 if ac_fn_c_try_link "$LINENO"
   8021 then :
   8022   eval $cacheid=yes
   8023 else $as_nop
   8024   eval $cacheid=no
   8025 fi
   8026 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8027     conftest$ac_exeext conftest.$ac_ext
   8028 fi
   8029 
   8030 
   8031 		CFLAGS="$xorg_testset_save_CFLAGS"
   8032 
   8033 		eval supported=\$$cacheid
   8034 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8035 printf "%s\n" "$supported" >&6; }
   8036 		if test "$supported" = "yes" ; then
   8037 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8038 			found="yes"
   8039 		fi
   8040 	fi
   8041 
   8042 
   8043 
   8044 
   8045 
   8046 
   8047 
   8048 
   8049 
   8050 
   8051 
   8052 
   8053 
   8054 
   8055 
   8056 xorg_testset_save_CFLAGS="$CFLAGS"
   8057 
   8058 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8059 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8060 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8061 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8062 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8063 then :
   8064   printf %s "(cached) " >&6
   8065 else $as_nop
   8066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8067 /* end confdefs.h.  */
   8068 int i;
   8069 _ACEOF
   8070 if ac_fn_c_try_compile "$LINENO"
   8071 then :
   8072   xorg_cv_cc_flag_unknown_warning_option=yes
   8073 else $as_nop
   8074   xorg_cv_cc_flag_unknown_warning_option=no
   8075 fi
   8076 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8077 fi
   8078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8079 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8080 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8081 	CFLAGS="$xorg_testset_save_CFLAGS"
   8082 fi
   8083 
   8084 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8085 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8086 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8087 	fi
   8088 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8089 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8090 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8091 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8092 then :
   8093   printf %s "(cached) " >&6
   8094 else $as_nop
   8095   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8096 /* end confdefs.h.  */
   8097 int i;
   8098 _ACEOF
   8099 if ac_fn_c_try_compile "$LINENO"
   8100 then :
   8101   xorg_cv_cc_flag_unused_command_line_argument=yes
   8102 else $as_nop
   8103   xorg_cv_cc_flag_unused_command_line_argument=no
   8104 fi
   8105 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8106 fi
   8107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8108 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8109 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8110 	CFLAGS="$xorg_testset_save_CFLAGS"
   8111 fi
   8112 
   8113 found="no"
   8114 
   8115 	if test $found = "no" ; then
   8116 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8117 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8118 		fi
   8119 
   8120 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8121 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8122 		fi
   8123 
   8124 		CFLAGS="$CFLAGS -Werror=return-type"
   8125 
   8126 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8127 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8128 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8129 		if eval test \${$cacheid+y}
   8130 then :
   8131   printf %s "(cached) " >&6
   8132 else $as_nop
   8133   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8134 /* end confdefs.h.  */
   8135 int i;
   8136 int
   8137 main (void)
   8138 {
   8139 
   8140   ;
   8141   return 0;
   8142 }
   8143 _ACEOF
   8144 if ac_fn_c_try_link "$LINENO"
   8145 then :
   8146   eval $cacheid=yes
   8147 else $as_nop
   8148   eval $cacheid=no
   8149 fi
   8150 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8151     conftest$ac_exeext conftest.$ac_ext
   8152 fi
   8153 
   8154 
   8155 		CFLAGS="$xorg_testset_save_CFLAGS"
   8156 
   8157 		eval supported=\$$cacheid
   8158 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8159 printf "%s\n" "$supported" >&6; }
   8160 		if test "$supported" = "yes" ; then
   8161 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8162 			found="yes"
   8163 		fi
   8164 	fi
   8165 
   8166 	if test $found = "no" ; then
   8167 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8168 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8169 		fi
   8170 
   8171 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8172 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8173 		fi
   8174 
   8175 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8176 
   8177 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8178 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8179 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8180 		if eval test \${$cacheid+y}
   8181 then :
   8182   printf %s "(cached) " >&6
   8183 else $as_nop
   8184   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8185 /* end confdefs.h.  */
   8186 int i;
   8187 int
   8188 main (void)
   8189 {
   8190 
   8191   ;
   8192   return 0;
   8193 }
   8194 _ACEOF
   8195 if ac_fn_c_try_link "$LINENO"
   8196 then :
   8197   eval $cacheid=yes
   8198 else $as_nop
   8199   eval $cacheid=no
   8200 fi
   8201 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8202     conftest$ac_exeext conftest.$ac_ext
   8203 fi
   8204 
   8205 
   8206 		CFLAGS="$xorg_testset_save_CFLAGS"
   8207 
   8208 		eval supported=\$$cacheid
   8209 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8210 printf "%s\n" "$supported" >&6; }
   8211 		if test "$supported" = "yes" ; then
   8212 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8213 			found="yes"
   8214 		fi
   8215 	fi
   8216 
   8217 
   8218 
   8219 
   8220 
   8221 
   8222 
   8223 
   8224 
   8225 
   8226 
   8227 
   8228 
   8229 
   8230 
   8231 xorg_testset_save_CFLAGS="$CFLAGS"
   8232 
   8233 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8234 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8235 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8236 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8237 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8238 then :
   8239   printf %s "(cached) " >&6
   8240 else $as_nop
   8241   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8242 /* end confdefs.h.  */
   8243 int i;
   8244 _ACEOF
   8245 if ac_fn_c_try_compile "$LINENO"
   8246 then :
   8247   xorg_cv_cc_flag_unknown_warning_option=yes
   8248 else $as_nop
   8249   xorg_cv_cc_flag_unknown_warning_option=no
   8250 fi
   8251 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8252 fi
   8253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8254 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8255 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8256 	CFLAGS="$xorg_testset_save_CFLAGS"
   8257 fi
   8258 
   8259 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8260 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8261 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8262 	fi
   8263 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8264 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8265 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8266 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8267 then :
   8268   printf %s "(cached) " >&6
   8269 else $as_nop
   8270   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8271 /* end confdefs.h.  */
   8272 int i;
   8273 _ACEOF
   8274 if ac_fn_c_try_compile "$LINENO"
   8275 then :
   8276   xorg_cv_cc_flag_unused_command_line_argument=yes
   8277 else $as_nop
   8278   xorg_cv_cc_flag_unused_command_line_argument=no
   8279 fi
   8280 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8281 fi
   8282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8283 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8284 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8285 	CFLAGS="$xorg_testset_save_CFLAGS"
   8286 fi
   8287 
   8288 found="no"
   8289 
   8290 	if test $found = "no" ; then
   8291 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8292 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8293 		fi
   8294 
   8295 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8296 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8297 		fi
   8298 
   8299 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8300 
   8301 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8302 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8303 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8304 		if eval test \${$cacheid+y}
   8305 then :
   8306   printf %s "(cached) " >&6
   8307 else $as_nop
   8308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8309 /* end confdefs.h.  */
   8310 int i;
   8311 int
   8312 main (void)
   8313 {
   8314 
   8315   ;
   8316   return 0;
   8317 }
   8318 _ACEOF
   8319 if ac_fn_c_try_link "$LINENO"
   8320 then :
   8321   eval $cacheid=yes
   8322 else $as_nop
   8323   eval $cacheid=no
   8324 fi
   8325 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8326     conftest$ac_exeext conftest.$ac_ext
   8327 fi
   8328 
   8329 
   8330 		CFLAGS="$xorg_testset_save_CFLAGS"
   8331 
   8332 		eval supported=\$$cacheid
   8333 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8334 printf "%s\n" "$supported" >&6; }
   8335 		if test "$supported" = "yes" ; then
   8336 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8337 			found="yes"
   8338 		fi
   8339 	fi
   8340 
   8341 
   8342 
   8343 
   8344 
   8345 
   8346 
   8347 
   8348 
   8349 
   8350 
   8351 
   8352 
   8353 
   8354 
   8355 xorg_testset_save_CFLAGS="$CFLAGS"
   8356 
   8357 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8358 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8359 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8360 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8361 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8362 then :
   8363   printf %s "(cached) " >&6
   8364 else $as_nop
   8365   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8366 /* end confdefs.h.  */
   8367 int i;
   8368 _ACEOF
   8369 if ac_fn_c_try_compile "$LINENO"
   8370 then :
   8371   xorg_cv_cc_flag_unknown_warning_option=yes
   8372 else $as_nop
   8373   xorg_cv_cc_flag_unknown_warning_option=no
   8374 fi
   8375 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8376 fi
   8377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8378 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8379 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8380 	CFLAGS="$xorg_testset_save_CFLAGS"
   8381 fi
   8382 
   8383 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8384 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8385 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8386 	fi
   8387 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8388 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8389 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8390 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8391 then :
   8392   printf %s "(cached) " >&6
   8393 else $as_nop
   8394   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8395 /* end confdefs.h.  */
   8396 int i;
   8397 _ACEOF
   8398 if ac_fn_c_try_compile "$LINENO"
   8399 then :
   8400   xorg_cv_cc_flag_unused_command_line_argument=yes
   8401 else $as_nop
   8402   xorg_cv_cc_flag_unused_command_line_argument=no
   8403 fi
   8404 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8405 fi
   8406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8407 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8408 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8409 	CFLAGS="$xorg_testset_save_CFLAGS"
   8410 fi
   8411 
   8412 found="no"
   8413 
   8414 	if test $found = "no" ; then
   8415 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8416 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8417 		fi
   8418 
   8419 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8420 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8421 		fi
   8422 
   8423 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8424 
   8425 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8426 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8427 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8428 		if eval test \${$cacheid+y}
   8429 then :
   8430   printf %s "(cached) " >&6
   8431 else $as_nop
   8432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8433 /* end confdefs.h.  */
   8434 int i;
   8435 int
   8436 main (void)
   8437 {
   8438 
   8439   ;
   8440   return 0;
   8441 }
   8442 _ACEOF
   8443 if ac_fn_c_try_link "$LINENO"
   8444 then :
   8445   eval $cacheid=yes
   8446 else $as_nop
   8447   eval $cacheid=no
   8448 fi
   8449 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8450     conftest$ac_exeext conftest.$ac_ext
   8451 fi
   8452 
   8453 
   8454 		CFLAGS="$xorg_testset_save_CFLAGS"
   8455 
   8456 		eval supported=\$$cacheid
   8457 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8458 printf "%s\n" "$supported" >&6; }
   8459 		if test "$supported" = "yes" ; then
   8460 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8461 			found="yes"
   8462 		fi
   8463 	fi
   8464 
   8465 
   8466 
   8467 
   8468 
   8469 
   8470 
   8471 
   8472 
   8473 
   8474 
   8475 
   8476 
   8477 
   8478 
   8479 xorg_testset_save_CFLAGS="$CFLAGS"
   8480 
   8481 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8482 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8483 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8484 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8485 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8486 then :
   8487   printf %s "(cached) " >&6
   8488 else $as_nop
   8489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8490 /* end confdefs.h.  */
   8491 int i;
   8492 _ACEOF
   8493 if ac_fn_c_try_compile "$LINENO"
   8494 then :
   8495   xorg_cv_cc_flag_unknown_warning_option=yes
   8496 else $as_nop
   8497   xorg_cv_cc_flag_unknown_warning_option=no
   8498 fi
   8499 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8500 fi
   8501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8502 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8503 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8504 	CFLAGS="$xorg_testset_save_CFLAGS"
   8505 fi
   8506 
   8507 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8508 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8509 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8510 	fi
   8511 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8512 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8513 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8514 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8515 then :
   8516   printf %s "(cached) " >&6
   8517 else $as_nop
   8518   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8519 /* end confdefs.h.  */
   8520 int i;
   8521 _ACEOF
   8522 if ac_fn_c_try_compile "$LINENO"
   8523 then :
   8524   xorg_cv_cc_flag_unused_command_line_argument=yes
   8525 else $as_nop
   8526   xorg_cv_cc_flag_unused_command_line_argument=no
   8527 fi
   8528 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8529 fi
   8530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8531 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8532 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8533 	CFLAGS="$xorg_testset_save_CFLAGS"
   8534 fi
   8535 
   8536 found="no"
   8537 
   8538 	if test $found = "no" ; then
   8539 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8540 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8541 		fi
   8542 
   8543 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8544 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8545 		fi
   8546 
   8547 		CFLAGS="$CFLAGS -Werror=write-strings"
   8548 
   8549 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8550 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8551 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8552 		if eval test \${$cacheid+y}
   8553 then :
   8554   printf %s "(cached) " >&6
   8555 else $as_nop
   8556   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8557 /* end confdefs.h.  */
   8558 int i;
   8559 int
   8560 main (void)
   8561 {
   8562 
   8563   ;
   8564   return 0;
   8565 }
   8566 _ACEOF
   8567 if ac_fn_c_try_link "$LINENO"
   8568 then :
   8569   eval $cacheid=yes
   8570 else $as_nop
   8571   eval $cacheid=no
   8572 fi
   8573 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8574     conftest$ac_exeext conftest.$ac_ext
   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=write-strings"
   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 $as_nop
   8613   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 $as_nop
   8621   xorg_cv_cc_flag_unknown_warning_option=no
   8622 fi
   8623 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8624 fi
   8625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8626 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8627 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8628 	CFLAGS="$xorg_testset_save_CFLAGS"
   8629 fi
   8630 
   8631 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8632 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8633 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8634 	fi
   8635 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8636 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8637 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8638 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8639 then :
   8640   printf %s "(cached) " >&6
   8641 else $as_nop
   8642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8643 /* end confdefs.h.  */
   8644 int i;
   8645 _ACEOF
   8646 if ac_fn_c_try_compile "$LINENO"
   8647 then :
   8648   xorg_cv_cc_flag_unused_command_line_argument=yes
   8649 else $as_nop
   8650   xorg_cv_cc_flag_unused_command_line_argument=no
   8651 fi
   8652 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8653 fi
   8654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8655 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8656 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8657 	CFLAGS="$xorg_testset_save_CFLAGS"
   8658 fi
   8659 
   8660 found="no"
   8661 
   8662 	if test $found = "no" ; then
   8663 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8664 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8665 		fi
   8666 
   8667 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8668 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8669 		fi
   8670 
   8671 		CFLAGS="$CFLAGS -Werror=address"
   8672 
   8673 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8674 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8675 		cacheid=xorg_cv_cc_flag__Werror_address
   8676 		if eval test \${$cacheid+y}
   8677 then :
   8678   printf %s "(cached) " >&6
   8679 else $as_nop
   8680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8681 /* end confdefs.h.  */
   8682 int i;
   8683 int
   8684 main (void)
   8685 {
   8686 
   8687   ;
   8688   return 0;
   8689 }
   8690 _ACEOF
   8691 if ac_fn_c_try_link "$LINENO"
   8692 then :
   8693   eval $cacheid=yes
   8694 else $as_nop
   8695   eval $cacheid=no
   8696 fi
   8697 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8698     conftest$ac_exeext conftest.$ac_ext
   8699 fi
   8700 
   8701 
   8702 		CFLAGS="$xorg_testset_save_CFLAGS"
   8703 
   8704 		eval supported=\$$cacheid
   8705 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8706 printf "%s\n" "$supported" >&6; }
   8707 		if test "$supported" = "yes" ; then
   8708 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8709 			found="yes"
   8710 		fi
   8711 	fi
   8712 
   8713 
   8714 
   8715 
   8716 
   8717 
   8718 
   8719 
   8720 
   8721 
   8722 
   8723 
   8724 
   8725 
   8726 
   8727 xorg_testset_save_CFLAGS="$CFLAGS"
   8728 
   8729 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8730 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8731 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8732 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8733 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8734 then :
   8735   printf %s "(cached) " >&6
   8736 else $as_nop
   8737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8738 /* end confdefs.h.  */
   8739 int i;
   8740 _ACEOF
   8741 if ac_fn_c_try_compile "$LINENO"
   8742 then :
   8743   xorg_cv_cc_flag_unknown_warning_option=yes
   8744 else $as_nop
   8745   xorg_cv_cc_flag_unknown_warning_option=no
   8746 fi
   8747 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8748 fi
   8749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8750 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8751 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8752 	CFLAGS="$xorg_testset_save_CFLAGS"
   8753 fi
   8754 
   8755 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8756 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8757 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8758 	fi
   8759 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8760 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8761 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8762 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8763 then :
   8764   printf %s "(cached) " >&6
   8765 else $as_nop
   8766   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8767 /* end confdefs.h.  */
   8768 int i;
   8769 _ACEOF
   8770 if ac_fn_c_try_compile "$LINENO"
   8771 then :
   8772   xorg_cv_cc_flag_unused_command_line_argument=yes
   8773 else $as_nop
   8774   xorg_cv_cc_flag_unused_command_line_argument=no
   8775 fi
   8776 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8777 fi
   8778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8779 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8780 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8781 	CFLAGS="$xorg_testset_save_CFLAGS"
   8782 fi
   8783 
   8784 found="no"
   8785 
   8786 	if test $found = "no" ; then
   8787 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8788 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8789 		fi
   8790 
   8791 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8792 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8793 		fi
   8794 
   8795 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8796 
   8797 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8798 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8799 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8800 		if eval test \${$cacheid+y}
   8801 then :
   8802   printf %s "(cached) " >&6
   8803 else $as_nop
   8804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8805 /* end confdefs.h.  */
   8806 int i;
   8807 int
   8808 main (void)
   8809 {
   8810 
   8811   ;
   8812   return 0;
   8813 }
   8814 _ACEOF
   8815 if ac_fn_c_try_link "$LINENO"
   8816 then :
   8817   eval $cacheid=yes
   8818 else $as_nop
   8819   eval $cacheid=no
   8820 fi
   8821 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8822     conftest$ac_exeext conftest.$ac_ext
   8823 fi
   8824 
   8825 
   8826 		CFLAGS="$xorg_testset_save_CFLAGS"
   8827 
   8828 		eval supported=\$$cacheid
   8829 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8830 printf "%s\n" "$supported" >&6; }
   8831 		if test "$supported" = "yes" ; then
   8832 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8833 			found="yes"
   8834 		fi
   8835 	fi
   8836 
   8837 	if test $found = "no" ; then
   8838 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8839 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8840 		fi
   8841 
   8842 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8843 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8844 		fi
   8845 
   8846 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8847 
   8848 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8849 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8850 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8851 		if eval test \${$cacheid+y}
   8852 then :
   8853   printf %s "(cached) " >&6
   8854 else $as_nop
   8855   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8856 /* end confdefs.h.  */
   8857 int i;
   8858 int
   8859 main (void)
   8860 {
   8861 
   8862   ;
   8863   return 0;
   8864 }
   8865 _ACEOF
   8866 if ac_fn_c_try_link "$LINENO"
   8867 then :
   8868   eval $cacheid=yes
   8869 else $as_nop
   8870   eval $cacheid=no
   8871 fi
   8872 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8873     conftest$ac_exeext conftest.$ac_ext
   8874 fi
   8875 
   8876 
   8877 		CFLAGS="$xorg_testset_save_CFLAGS"
   8878 
   8879 		eval supported=\$$cacheid
   8880 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8881 printf "%s\n" "$supported" >&6; }
   8882 		if test "$supported" = "yes" ; then
   8883 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8884 			found="yes"
   8885 		fi
   8886 	fi
   8887 
   8888 
   8889 
   8890 
   8891 
   8892 
   8893 
   8894 
   8895 
   8896 
   8897 
   8898 
   8899 
   8900 
   8901 
   8902 xorg_testset_save_CFLAGS="$CFLAGS"
   8903 
   8904 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8905 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8906 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8907 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8908 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8909 then :
   8910   printf %s "(cached) " >&6
   8911 else $as_nop
   8912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8913 /* end confdefs.h.  */
   8914 int i;
   8915 _ACEOF
   8916 if ac_fn_c_try_compile "$LINENO"
   8917 then :
   8918   xorg_cv_cc_flag_unknown_warning_option=yes
   8919 else $as_nop
   8920   xorg_cv_cc_flag_unknown_warning_option=no
   8921 fi
   8922 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8923 fi
   8924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8925 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8926 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8927 	CFLAGS="$xorg_testset_save_CFLAGS"
   8928 fi
   8929 
   8930 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8931 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8932 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8933 	fi
   8934 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8935 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8936 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8937 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8938 then :
   8939   printf %s "(cached) " >&6
   8940 else $as_nop
   8941   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8942 /* end confdefs.h.  */
   8943 int i;
   8944 _ACEOF
   8945 if ac_fn_c_try_compile "$LINENO"
   8946 then :
   8947   xorg_cv_cc_flag_unused_command_line_argument=yes
   8948 else $as_nop
   8949   xorg_cv_cc_flag_unused_command_line_argument=no
   8950 fi
   8951 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8952 fi
   8953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8954 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8955 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8956 	CFLAGS="$xorg_testset_save_CFLAGS"
   8957 fi
   8958 
   8959 found="no"
   8960 
   8961 	if test $found = "no" ; then
   8962 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8963 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8964 		fi
   8965 
   8966 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8967 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8968 		fi
   8969 
   8970 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8971 
   8972 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8973 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8974 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8975 		if eval test \${$cacheid+y}
   8976 then :
   8977   printf %s "(cached) " >&6
   8978 else $as_nop
   8979   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8980 /* end confdefs.h.  */
   8981 int i;
   8982 int
   8983 main (void)
   8984 {
   8985 
   8986   ;
   8987   return 0;
   8988 }
   8989 _ACEOF
   8990 if ac_fn_c_try_link "$LINENO"
   8991 then :
   8992   eval $cacheid=yes
   8993 else $as_nop
   8994   eval $cacheid=no
   8995 fi
   8996 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8997     conftest$ac_exeext conftest.$ac_ext
   8998 fi
   8999 
   9000 
   9001 		CFLAGS="$xorg_testset_save_CFLAGS"
   9002 
   9003 		eval supported=\$$cacheid
   9004 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9005 printf "%s\n" "$supported" >&6; }
   9006 		if test "$supported" = "yes" ; then
   9007 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   9008 			found="yes"
   9009 		fi
   9010 	fi
   9011 
   9012  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   9013 else
   9014 { 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
   9015 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;}
   9016 
   9017 
   9018 
   9019 
   9020 
   9021 
   9022 
   9023 
   9024 
   9025 
   9026 
   9027 
   9028 
   9029 xorg_testset_save_CFLAGS="$CFLAGS"
   9030 
   9031 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9032 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9033 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9034 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9035 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9036 then :
   9037   printf %s "(cached) " >&6
   9038 else $as_nop
   9039   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9040 /* end confdefs.h.  */
   9041 int i;
   9042 _ACEOF
   9043 if ac_fn_c_try_compile "$LINENO"
   9044 then :
   9045   xorg_cv_cc_flag_unknown_warning_option=yes
   9046 else $as_nop
   9047   xorg_cv_cc_flag_unknown_warning_option=no
   9048 fi
   9049 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9050 fi
   9051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9052 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9053 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9054 	CFLAGS="$xorg_testset_save_CFLAGS"
   9055 fi
   9056 
   9057 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9058 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9059 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9060 	fi
   9061 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9062 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9063 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9064 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9065 then :
   9066   printf %s "(cached) " >&6
   9067 else $as_nop
   9068   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9069 /* end confdefs.h.  */
   9070 int i;
   9071 _ACEOF
   9072 if ac_fn_c_try_compile "$LINENO"
   9073 then :
   9074   xorg_cv_cc_flag_unused_command_line_argument=yes
   9075 else $as_nop
   9076   xorg_cv_cc_flag_unused_command_line_argument=no
   9077 fi
   9078 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9079 fi
   9080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9081 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9082 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9083 	CFLAGS="$xorg_testset_save_CFLAGS"
   9084 fi
   9085 
   9086 found="no"
   9087 
   9088 	if test $found = "no" ; then
   9089 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9090 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9091 		fi
   9092 
   9093 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9094 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9095 		fi
   9096 
   9097 		CFLAGS="$CFLAGS -Wimplicit"
   9098 
   9099 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9100 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9101 		cacheid=xorg_cv_cc_flag__Wimplicit
   9102 		if eval test \${$cacheid+y}
   9103 then :
   9104   printf %s "(cached) " >&6
   9105 else $as_nop
   9106   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9107 /* end confdefs.h.  */
   9108 int i;
   9109 int
   9110 main (void)
   9111 {
   9112 
   9113   ;
   9114   return 0;
   9115 }
   9116 _ACEOF
   9117 if ac_fn_c_try_link "$LINENO"
   9118 then :
   9119   eval $cacheid=yes
   9120 else $as_nop
   9121   eval $cacheid=no
   9122 fi
   9123 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9124     conftest$ac_exeext conftest.$ac_ext
   9125 fi
   9126 
   9127 
   9128 		CFLAGS="$xorg_testset_save_CFLAGS"
   9129 
   9130 		eval supported=\$$cacheid
   9131 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9132 printf "%s\n" "$supported" >&6; }
   9133 		if test "$supported" = "yes" ; then
   9134 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9135 			found="yes"
   9136 		fi
   9137 	fi
   9138 
   9139 
   9140 
   9141 
   9142 
   9143 
   9144 
   9145 
   9146 
   9147 
   9148 
   9149 
   9150 
   9151 
   9152 
   9153 xorg_testset_save_CFLAGS="$CFLAGS"
   9154 
   9155 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9156 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9157 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9158 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9159 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9160 then :
   9161   printf %s "(cached) " >&6
   9162 else $as_nop
   9163   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9164 /* end confdefs.h.  */
   9165 int i;
   9166 _ACEOF
   9167 if ac_fn_c_try_compile "$LINENO"
   9168 then :
   9169   xorg_cv_cc_flag_unknown_warning_option=yes
   9170 else $as_nop
   9171   xorg_cv_cc_flag_unknown_warning_option=no
   9172 fi
   9173 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9174 fi
   9175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9176 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9177 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9178 	CFLAGS="$xorg_testset_save_CFLAGS"
   9179 fi
   9180 
   9181 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9182 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9183 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9184 	fi
   9185 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9186 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9187 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9188 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9189 then :
   9190   printf %s "(cached) " >&6
   9191 else $as_nop
   9192   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9193 /* end confdefs.h.  */
   9194 int i;
   9195 _ACEOF
   9196 if ac_fn_c_try_compile "$LINENO"
   9197 then :
   9198   xorg_cv_cc_flag_unused_command_line_argument=yes
   9199 else $as_nop
   9200   xorg_cv_cc_flag_unused_command_line_argument=no
   9201 fi
   9202 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9203 fi
   9204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9205 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9206 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9207 	CFLAGS="$xorg_testset_save_CFLAGS"
   9208 fi
   9209 
   9210 found="no"
   9211 
   9212 	if test $found = "no" ; then
   9213 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9214 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9215 		fi
   9216 
   9217 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9218 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9219 		fi
   9220 
   9221 		CFLAGS="$CFLAGS -Wnonnull"
   9222 
   9223 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9224 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9225 		cacheid=xorg_cv_cc_flag__Wnonnull
   9226 		if eval test \${$cacheid+y}
   9227 then :
   9228   printf %s "(cached) " >&6
   9229 else $as_nop
   9230   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9231 /* end confdefs.h.  */
   9232 int i;
   9233 int
   9234 main (void)
   9235 {
   9236 
   9237   ;
   9238   return 0;
   9239 }
   9240 _ACEOF
   9241 if ac_fn_c_try_link "$LINENO"
   9242 then :
   9243   eval $cacheid=yes
   9244 else $as_nop
   9245   eval $cacheid=no
   9246 fi
   9247 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9248     conftest$ac_exeext conftest.$ac_ext
   9249 fi
   9250 
   9251 
   9252 		CFLAGS="$xorg_testset_save_CFLAGS"
   9253 
   9254 		eval supported=\$$cacheid
   9255 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9256 printf "%s\n" "$supported" >&6; }
   9257 		if test "$supported" = "yes" ; then
   9258 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9259 			found="yes"
   9260 		fi
   9261 	fi
   9262 
   9263 
   9264 
   9265 
   9266 
   9267 
   9268 
   9269 
   9270 
   9271 
   9272 
   9273 
   9274 
   9275 
   9276 
   9277 xorg_testset_save_CFLAGS="$CFLAGS"
   9278 
   9279 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9280 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9281 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9282 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9283 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9284 then :
   9285   printf %s "(cached) " >&6
   9286 else $as_nop
   9287   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9288 /* end confdefs.h.  */
   9289 int i;
   9290 _ACEOF
   9291 if ac_fn_c_try_compile "$LINENO"
   9292 then :
   9293   xorg_cv_cc_flag_unknown_warning_option=yes
   9294 else $as_nop
   9295   xorg_cv_cc_flag_unknown_warning_option=no
   9296 fi
   9297 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9298 fi
   9299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9300 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9301 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9302 	CFLAGS="$xorg_testset_save_CFLAGS"
   9303 fi
   9304 
   9305 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9306 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9307 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9308 	fi
   9309 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9310 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9311 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9312 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9313 then :
   9314   printf %s "(cached) " >&6
   9315 else $as_nop
   9316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9317 /* end confdefs.h.  */
   9318 int i;
   9319 _ACEOF
   9320 if ac_fn_c_try_compile "$LINENO"
   9321 then :
   9322   xorg_cv_cc_flag_unused_command_line_argument=yes
   9323 else $as_nop
   9324   xorg_cv_cc_flag_unused_command_line_argument=no
   9325 fi
   9326 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9327 fi
   9328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9329 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9330 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9331 	CFLAGS="$xorg_testset_save_CFLAGS"
   9332 fi
   9333 
   9334 found="no"
   9335 
   9336 	if test $found = "no" ; then
   9337 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9338 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9339 		fi
   9340 
   9341 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9342 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9343 		fi
   9344 
   9345 		CFLAGS="$CFLAGS -Winit-self"
   9346 
   9347 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9348 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9349 		cacheid=xorg_cv_cc_flag__Winit_self
   9350 		if eval test \${$cacheid+y}
   9351 then :
   9352   printf %s "(cached) " >&6
   9353 else $as_nop
   9354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9355 /* end confdefs.h.  */
   9356 int i;
   9357 int
   9358 main (void)
   9359 {
   9360 
   9361   ;
   9362   return 0;
   9363 }
   9364 _ACEOF
   9365 if ac_fn_c_try_link "$LINENO"
   9366 then :
   9367   eval $cacheid=yes
   9368 else $as_nop
   9369   eval $cacheid=no
   9370 fi
   9371 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9372     conftest$ac_exeext conftest.$ac_ext
   9373 fi
   9374 
   9375 
   9376 		CFLAGS="$xorg_testset_save_CFLAGS"
   9377 
   9378 		eval supported=\$$cacheid
   9379 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9380 printf "%s\n" "$supported" >&6; }
   9381 		if test "$supported" = "yes" ; then
   9382 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9383 			found="yes"
   9384 		fi
   9385 	fi
   9386 
   9387 
   9388 
   9389 
   9390 
   9391 
   9392 
   9393 
   9394 
   9395 
   9396 
   9397 
   9398 
   9399 
   9400 
   9401 xorg_testset_save_CFLAGS="$CFLAGS"
   9402 
   9403 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9404 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9405 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9406 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9407 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9408 then :
   9409   printf %s "(cached) " >&6
   9410 else $as_nop
   9411   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9412 /* end confdefs.h.  */
   9413 int i;
   9414 _ACEOF
   9415 if ac_fn_c_try_compile "$LINENO"
   9416 then :
   9417   xorg_cv_cc_flag_unknown_warning_option=yes
   9418 else $as_nop
   9419   xorg_cv_cc_flag_unknown_warning_option=no
   9420 fi
   9421 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9422 fi
   9423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9424 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9425 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9426 	CFLAGS="$xorg_testset_save_CFLAGS"
   9427 fi
   9428 
   9429 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9430 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9431 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9432 	fi
   9433 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9434 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9435 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9436 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9437 then :
   9438   printf %s "(cached) " >&6
   9439 else $as_nop
   9440   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9441 /* end confdefs.h.  */
   9442 int i;
   9443 _ACEOF
   9444 if ac_fn_c_try_compile "$LINENO"
   9445 then :
   9446   xorg_cv_cc_flag_unused_command_line_argument=yes
   9447 else $as_nop
   9448   xorg_cv_cc_flag_unused_command_line_argument=no
   9449 fi
   9450 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9451 fi
   9452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9453 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9454 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9455 	CFLAGS="$xorg_testset_save_CFLAGS"
   9456 fi
   9457 
   9458 found="no"
   9459 
   9460 	if test $found = "no" ; then
   9461 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9462 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9463 		fi
   9464 
   9465 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9466 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9467 		fi
   9468 
   9469 		CFLAGS="$CFLAGS -Wmain"
   9470 
   9471 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9472 printf %s "checking if $CC supports -Wmain... " >&6; }
   9473 		cacheid=xorg_cv_cc_flag__Wmain
   9474 		if eval test \${$cacheid+y}
   9475 then :
   9476   printf %s "(cached) " >&6
   9477 else $as_nop
   9478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9479 /* end confdefs.h.  */
   9480 int i;
   9481 int
   9482 main (void)
   9483 {
   9484 
   9485   ;
   9486   return 0;
   9487 }
   9488 _ACEOF
   9489 if ac_fn_c_try_link "$LINENO"
   9490 then :
   9491   eval $cacheid=yes
   9492 else $as_nop
   9493   eval $cacheid=no
   9494 fi
   9495 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9496     conftest$ac_exeext conftest.$ac_ext
   9497 fi
   9498 
   9499 
   9500 		CFLAGS="$xorg_testset_save_CFLAGS"
   9501 
   9502 		eval supported=\$$cacheid
   9503 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9504 printf "%s\n" "$supported" >&6; }
   9505 		if test "$supported" = "yes" ; then
   9506 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9507 			found="yes"
   9508 		fi
   9509 	fi
   9510 
   9511 
   9512 
   9513 
   9514 
   9515 
   9516 
   9517 
   9518 
   9519 
   9520 
   9521 
   9522 
   9523 
   9524 
   9525 xorg_testset_save_CFLAGS="$CFLAGS"
   9526 
   9527 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9528 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9529 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9530 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9531 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9532 then :
   9533   printf %s "(cached) " >&6
   9534 else $as_nop
   9535   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9536 /* end confdefs.h.  */
   9537 int i;
   9538 _ACEOF
   9539 if ac_fn_c_try_compile "$LINENO"
   9540 then :
   9541   xorg_cv_cc_flag_unknown_warning_option=yes
   9542 else $as_nop
   9543   xorg_cv_cc_flag_unknown_warning_option=no
   9544 fi
   9545 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9546 fi
   9547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9548 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9549 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9550 	CFLAGS="$xorg_testset_save_CFLAGS"
   9551 fi
   9552 
   9553 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9554 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9555 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9556 	fi
   9557 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9558 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9559 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9560 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9561 then :
   9562   printf %s "(cached) " >&6
   9563 else $as_nop
   9564   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9565 /* end confdefs.h.  */
   9566 int i;
   9567 _ACEOF
   9568 if ac_fn_c_try_compile "$LINENO"
   9569 then :
   9570   xorg_cv_cc_flag_unused_command_line_argument=yes
   9571 else $as_nop
   9572   xorg_cv_cc_flag_unused_command_line_argument=no
   9573 fi
   9574 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9575 fi
   9576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9577 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9578 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9579 	CFLAGS="$xorg_testset_save_CFLAGS"
   9580 fi
   9581 
   9582 found="no"
   9583 
   9584 	if test $found = "no" ; then
   9585 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9586 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9587 		fi
   9588 
   9589 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9590 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9591 		fi
   9592 
   9593 		CFLAGS="$CFLAGS -Wmissing-braces"
   9594 
   9595 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9596 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9597 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9598 		if eval test \${$cacheid+y}
   9599 then :
   9600   printf %s "(cached) " >&6
   9601 else $as_nop
   9602   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9603 /* end confdefs.h.  */
   9604 int i;
   9605 int
   9606 main (void)
   9607 {
   9608 
   9609   ;
   9610   return 0;
   9611 }
   9612 _ACEOF
   9613 if ac_fn_c_try_link "$LINENO"
   9614 then :
   9615   eval $cacheid=yes
   9616 else $as_nop
   9617   eval $cacheid=no
   9618 fi
   9619 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9620     conftest$ac_exeext conftest.$ac_ext
   9621 fi
   9622 
   9623 
   9624 		CFLAGS="$xorg_testset_save_CFLAGS"
   9625 
   9626 		eval supported=\$$cacheid
   9627 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9628 printf "%s\n" "$supported" >&6; }
   9629 		if test "$supported" = "yes" ; then
   9630 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9631 			found="yes"
   9632 		fi
   9633 	fi
   9634 
   9635 
   9636 
   9637 
   9638 
   9639 
   9640 
   9641 
   9642 
   9643 
   9644 
   9645 
   9646 
   9647 
   9648 
   9649 xorg_testset_save_CFLAGS="$CFLAGS"
   9650 
   9651 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9652 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9653 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9654 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9655 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9656 then :
   9657   printf %s "(cached) " >&6
   9658 else $as_nop
   9659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9660 /* end confdefs.h.  */
   9661 int i;
   9662 _ACEOF
   9663 if ac_fn_c_try_compile "$LINENO"
   9664 then :
   9665   xorg_cv_cc_flag_unknown_warning_option=yes
   9666 else $as_nop
   9667   xorg_cv_cc_flag_unknown_warning_option=no
   9668 fi
   9669 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9670 fi
   9671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9672 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9673 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9674 	CFLAGS="$xorg_testset_save_CFLAGS"
   9675 fi
   9676 
   9677 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9678 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9679 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9680 	fi
   9681 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9682 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9683 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9684 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9685 then :
   9686   printf %s "(cached) " >&6
   9687 else $as_nop
   9688   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9689 /* end confdefs.h.  */
   9690 int i;
   9691 _ACEOF
   9692 if ac_fn_c_try_compile "$LINENO"
   9693 then :
   9694   xorg_cv_cc_flag_unused_command_line_argument=yes
   9695 else $as_nop
   9696   xorg_cv_cc_flag_unused_command_line_argument=no
   9697 fi
   9698 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9699 fi
   9700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9701 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9702 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9703 	CFLAGS="$xorg_testset_save_CFLAGS"
   9704 fi
   9705 
   9706 found="no"
   9707 
   9708 	if test $found = "no" ; then
   9709 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9710 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9711 		fi
   9712 
   9713 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9714 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9715 		fi
   9716 
   9717 		CFLAGS="$CFLAGS -Wsequence-point"
   9718 
   9719 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9720 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9721 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9722 		if eval test \${$cacheid+y}
   9723 then :
   9724   printf %s "(cached) " >&6
   9725 else $as_nop
   9726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9727 /* end confdefs.h.  */
   9728 int i;
   9729 int
   9730 main (void)
   9731 {
   9732 
   9733   ;
   9734   return 0;
   9735 }
   9736 _ACEOF
   9737 if ac_fn_c_try_link "$LINENO"
   9738 then :
   9739   eval $cacheid=yes
   9740 else $as_nop
   9741   eval $cacheid=no
   9742 fi
   9743 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9744     conftest$ac_exeext conftest.$ac_ext
   9745 fi
   9746 
   9747 
   9748 		CFLAGS="$xorg_testset_save_CFLAGS"
   9749 
   9750 		eval supported=\$$cacheid
   9751 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9752 printf "%s\n" "$supported" >&6; }
   9753 		if test "$supported" = "yes" ; then
   9754 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9755 			found="yes"
   9756 		fi
   9757 	fi
   9758 
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 
   9765 
   9766 
   9767 
   9768 
   9769 
   9770 
   9771 
   9772 
   9773 xorg_testset_save_CFLAGS="$CFLAGS"
   9774 
   9775 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9776 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9777 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9778 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9779 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9780 then :
   9781   printf %s "(cached) " >&6
   9782 else $as_nop
   9783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9784 /* end confdefs.h.  */
   9785 int i;
   9786 _ACEOF
   9787 if ac_fn_c_try_compile "$LINENO"
   9788 then :
   9789   xorg_cv_cc_flag_unknown_warning_option=yes
   9790 else $as_nop
   9791   xorg_cv_cc_flag_unknown_warning_option=no
   9792 fi
   9793 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9794 fi
   9795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9796 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9797 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9798 	CFLAGS="$xorg_testset_save_CFLAGS"
   9799 fi
   9800 
   9801 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9802 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9803 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9804 	fi
   9805 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9806 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9807 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9808 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9809 then :
   9810   printf %s "(cached) " >&6
   9811 else $as_nop
   9812   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9813 /* end confdefs.h.  */
   9814 int i;
   9815 _ACEOF
   9816 if ac_fn_c_try_compile "$LINENO"
   9817 then :
   9818   xorg_cv_cc_flag_unused_command_line_argument=yes
   9819 else $as_nop
   9820   xorg_cv_cc_flag_unused_command_line_argument=no
   9821 fi
   9822 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9823 fi
   9824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9825 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9826 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9827 	CFLAGS="$xorg_testset_save_CFLAGS"
   9828 fi
   9829 
   9830 found="no"
   9831 
   9832 	if test $found = "no" ; then
   9833 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9834 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9835 		fi
   9836 
   9837 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9838 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9839 		fi
   9840 
   9841 		CFLAGS="$CFLAGS -Wreturn-type"
   9842 
   9843 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9844 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   9845 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9846 		if eval test \${$cacheid+y}
   9847 then :
   9848   printf %s "(cached) " >&6
   9849 else $as_nop
   9850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9851 /* end confdefs.h.  */
   9852 int i;
   9853 int
   9854 main (void)
   9855 {
   9856 
   9857   ;
   9858   return 0;
   9859 }
   9860 _ACEOF
   9861 if ac_fn_c_try_link "$LINENO"
   9862 then :
   9863   eval $cacheid=yes
   9864 else $as_nop
   9865   eval $cacheid=no
   9866 fi
   9867 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9868     conftest$ac_exeext conftest.$ac_ext
   9869 fi
   9870 
   9871 
   9872 		CFLAGS="$xorg_testset_save_CFLAGS"
   9873 
   9874 		eval supported=\$$cacheid
   9875 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9876 printf "%s\n" "$supported" >&6; }
   9877 		if test "$supported" = "yes" ; then
   9878 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9879 			found="yes"
   9880 		fi
   9881 	fi
   9882 
   9883 
   9884 
   9885 
   9886 
   9887 
   9888 
   9889 
   9890 
   9891 
   9892 
   9893 
   9894 
   9895 
   9896 
   9897 xorg_testset_save_CFLAGS="$CFLAGS"
   9898 
   9899 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9900 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9901 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9902 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9903 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9904 then :
   9905   printf %s "(cached) " >&6
   9906 else $as_nop
   9907   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9908 /* end confdefs.h.  */
   9909 int i;
   9910 _ACEOF
   9911 if ac_fn_c_try_compile "$LINENO"
   9912 then :
   9913   xorg_cv_cc_flag_unknown_warning_option=yes
   9914 else $as_nop
   9915   xorg_cv_cc_flag_unknown_warning_option=no
   9916 fi
   9917 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9918 fi
   9919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9920 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9921 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9922 	CFLAGS="$xorg_testset_save_CFLAGS"
   9923 fi
   9924 
   9925 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9926 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9927 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9928 	fi
   9929 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9930 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9931 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9932 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9933 then :
   9934   printf %s "(cached) " >&6
   9935 else $as_nop
   9936   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9937 /* end confdefs.h.  */
   9938 int i;
   9939 _ACEOF
   9940 if ac_fn_c_try_compile "$LINENO"
   9941 then :
   9942   xorg_cv_cc_flag_unused_command_line_argument=yes
   9943 else $as_nop
   9944   xorg_cv_cc_flag_unused_command_line_argument=no
   9945 fi
   9946 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9947 fi
   9948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9949 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9950 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9951 	CFLAGS="$xorg_testset_save_CFLAGS"
   9952 fi
   9953 
   9954 found="no"
   9955 
   9956 	if test $found = "no" ; then
   9957 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9958 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9959 		fi
   9960 
   9961 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9962 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9963 		fi
   9964 
   9965 		CFLAGS="$CFLAGS -Wtrigraphs"
   9966 
   9967 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9968 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   9969 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9970 		if eval test \${$cacheid+y}
   9971 then :
   9972   printf %s "(cached) " >&6
   9973 else $as_nop
   9974   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9975 /* end confdefs.h.  */
   9976 int i;
   9977 int
   9978 main (void)
   9979 {
   9980 
   9981   ;
   9982   return 0;
   9983 }
   9984 _ACEOF
   9985 if ac_fn_c_try_link "$LINENO"
   9986 then :
   9987   eval $cacheid=yes
   9988 else $as_nop
   9989   eval $cacheid=no
   9990 fi
   9991 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9992     conftest$ac_exeext conftest.$ac_ext
   9993 fi
   9994 
   9995 
   9996 		CFLAGS="$xorg_testset_save_CFLAGS"
   9997 
   9998 		eval supported=\$$cacheid
   9999 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10000 printf "%s\n" "$supported" >&6; }
   10001 		if test "$supported" = "yes" ; then
   10002 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   10003 			found="yes"
   10004 		fi
   10005 	fi
   10006 
   10007 
   10008 
   10009 
   10010 
   10011 
   10012 
   10013 
   10014 
   10015 
   10016 
   10017 
   10018 
   10019 
   10020 
   10021 xorg_testset_save_CFLAGS="$CFLAGS"
   10022 
   10023 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10024 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10025 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10026 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10027 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10028 then :
   10029   printf %s "(cached) " >&6
   10030 else $as_nop
   10031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10032 /* end confdefs.h.  */
   10033 int i;
   10034 _ACEOF
   10035 if ac_fn_c_try_compile "$LINENO"
   10036 then :
   10037   xorg_cv_cc_flag_unknown_warning_option=yes
   10038 else $as_nop
   10039   xorg_cv_cc_flag_unknown_warning_option=no
   10040 fi
   10041 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10042 fi
   10043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10044 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10045 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10046 	CFLAGS="$xorg_testset_save_CFLAGS"
   10047 fi
   10048 
   10049 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10050 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10051 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10052 	fi
   10053 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10054 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10055 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10056 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10057 then :
   10058   printf %s "(cached) " >&6
   10059 else $as_nop
   10060   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10061 /* end confdefs.h.  */
   10062 int i;
   10063 _ACEOF
   10064 if ac_fn_c_try_compile "$LINENO"
   10065 then :
   10066   xorg_cv_cc_flag_unused_command_line_argument=yes
   10067 else $as_nop
   10068   xorg_cv_cc_flag_unused_command_line_argument=no
   10069 fi
   10070 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10071 fi
   10072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10073 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10074 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10075 	CFLAGS="$xorg_testset_save_CFLAGS"
   10076 fi
   10077 
   10078 found="no"
   10079 
   10080 	if test $found = "no" ; then
   10081 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10082 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10083 		fi
   10084 
   10085 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10086 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10087 		fi
   10088 
   10089 		CFLAGS="$CFLAGS -Warray-bounds"
   10090 
   10091 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10092 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10093 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10094 		if eval test \${$cacheid+y}
   10095 then :
   10096   printf %s "(cached) " >&6
   10097 else $as_nop
   10098   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10099 /* end confdefs.h.  */
   10100 int i;
   10101 int
   10102 main (void)
   10103 {
   10104 
   10105   ;
   10106   return 0;
   10107 }
   10108 _ACEOF
   10109 if ac_fn_c_try_link "$LINENO"
   10110 then :
   10111   eval $cacheid=yes
   10112 else $as_nop
   10113   eval $cacheid=no
   10114 fi
   10115 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10116     conftest$ac_exeext conftest.$ac_ext
   10117 fi
   10118 
   10119 
   10120 		CFLAGS="$xorg_testset_save_CFLAGS"
   10121 
   10122 		eval supported=\$$cacheid
   10123 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10124 printf "%s\n" "$supported" >&6; }
   10125 		if test "$supported" = "yes" ; then
   10126 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10127 			found="yes"
   10128 		fi
   10129 	fi
   10130 
   10131 
   10132 
   10133 
   10134 
   10135 
   10136 
   10137 
   10138 
   10139 
   10140 
   10141 
   10142 
   10143 
   10144 
   10145 xorg_testset_save_CFLAGS="$CFLAGS"
   10146 
   10147 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10148 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10149 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10150 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10151 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10152 then :
   10153   printf %s "(cached) " >&6
   10154 else $as_nop
   10155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10156 /* end confdefs.h.  */
   10157 int i;
   10158 _ACEOF
   10159 if ac_fn_c_try_compile "$LINENO"
   10160 then :
   10161   xorg_cv_cc_flag_unknown_warning_option=yes
   10162 else $as_nop
   10163   xorg_cv_cc_flag_unknown_warning_option=no
   10164 fi
   10165 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10166 fi
   10167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10168 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10169 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10170 	CFLAGS="$xorg_testset_save_CFLAGS"
   10171 fi
   10172 
   10173 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10174 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10175 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10176 	fi
   10177 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10178 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10179 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10180 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10181 then :
   10182   printf %s "(cached) " >&6
   10183 else $as_nop
   10184   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10185 /* end confdefs.h.  */
   10186 int i;
   10187 _ACEOF
   10188 if ac_fn_c_try_compile "$LINENO"
   10189 then :
   10190   xorg_cv_cc_flag_unused_command_line_argument=yes
   10191 else $as_nop
   10192   xorg_cv_cc_flag_unused_command_line_argument=no
   10193 fi
   10194 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10195 fi
   10196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10197 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10198 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10199 	CFLAGS="$xorg_testset_save_CFLAGS"
   10200 fi
   10201 
   10202 found="no"
   10203 
   10204 	if test $found = "no" ; then
   10205 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10206 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10207 		fi
   10208 
   10209 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10210 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10211 		fi
   10212 
   10213 		CFLAGS="$CFLAGS -Wwrite-strings"
   10214 
   10215 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10216 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10217 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10218 		if eval test \${$cacheid+y}
   10219 then :
   10220   printf %s "(cached) " >&6
   10221 else $as_nop
   10222   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10223 /* end confdefs.h.  */
   10224 int i;
   10225 int
   10226 main (void)
   10227 {
   10228 
   10229   ;
   10230   return 0;
   10231 }
   10232 _ACEOF
   10233 if ac_fn_c_try_link "$LINENO"
   10234 then :
   10235   eval $cacheid=yes
   10236 else $as_nop
   10237   eval $cacheid=no
   10238 fi
   10239 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10240     conftest$ac_exeext conftest.$ac_ext
   10241 fi
   10242 
   10243 
   10244 		CFLAGS="$xorg_testset_save_CFLAGS"
   10245 
   10246 		eval supported=\$$cacheid
   10247 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10248 printf "%s\n" "$supported" >&6; }
   10249 		if test "$supported" = "yes" ; then
   10250 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10251 			found="yes"
   10252 		fi
   10253 	fi
   10254 
   10255 
   10256 
   10257 
   10258 
   10259 
   10260 
   10261 
   10262 
   10263 
   10264 
   10265 
   10266 
   10267 
   10268 
   10269 xorg_testset_save_CFLAGS="$CFLAGS"
   10270 
   10271 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10272 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10273 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10274 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10275 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10276 then :
   10277   printf %s "(cached) " >&6
   10278 else $as_nop
   10279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10280 /* end confdefs.h.  */
   10281 int i;
   10282 _ACEOF
   10283 if ac_fn_c_try_compile "$LINENO"
   10284 then :
   10285   xorg_cv_cc_flag_unknown_warning_option=yes
   10286 else $as_nop
   10287   xorg_cv_cc_flag_unknown_warning_option=no
   10288 fi
   10289 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10290 fi
   10291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10292 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10293 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10294 	CFLAGS="$xorg_testset_save_CFLAGS"
   10295 fi
   10296 
   10297 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10298 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10299 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10300 	fi
   10301 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10302 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10303 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10304 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10305 then :
   10306   printf %s "(cached) " >&6
   10307 else $as_nop
   10308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10309 /* end confdefs.h.  */
   10310 int i;
   10311 _ACEOF
   10312 if ac_fn_c_try_compile "$LINENO"
   10313 then :
   10314   xorg_cv_cc_flag_unused_command_line_argument=yes
   10315 else $as_nop
   10316   xorg_cv_cc_flag_unused_command_line_argument=no
   10317 fi
   10318 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10319 fi
   10320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10321 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10322 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10323 	CFLAGS="$xorg_testset_save_CFLAGS"
   10324 fi
   10325 
   10326 found="no"
   10327 
   10328 	if test $found = "no" ; then
   10329 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10330 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10331 		fi
   10332 
   10333 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10334 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10335 		fi
   10336 
   10337 		CFLAGS="$CFLAGS -Waddress"
   10338 
   10339 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10340 printf %s "checking if $CC supports -Waddress... " >&6; }
   10341 		cacheid=xorg_cv_cc_flag__Waddress
   10342 		if eval test \${$cacheid+y}
   10343 then :
   10344   printf %s "(cached) " >&6
   10345 else $as_nop
   10346   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10347 /* end confdefs.h.  */
   10348 int i;
   10349 int
   10350 main (void)
   10351 {
   10352 
   10353   ;
   10354   return 0;
   10355 }
   10356 _ACEOF
   10357 if ac_fn_c_try_link "$LINENO"
   10358 then :
   10359   eval $cacheid=yes
   10360 else $as_nop
   10361   eval $cacheid=no
   10362 fi
   10363 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10364     conftest$ac_exeext conftest.$ac_ext
   10365 fi
   10366 
   10367 
   10368 		CFLAGS="$xorg_testset_save_CFLAGS"
   10369 
   10370 		eval supported=\$$cacheid
   10371 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10372 printf "%s\n" "$supported" >&6; }
   10373 		if test "$supported" = "yes" ; then
   10374 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10375 			found="yes"
   10376 		fi
   10377 	fi
   10378 
   10379 
   10380 
   10381 
   10382 
   10383 
   10384 
   10385 
   10386 
   10387 
   10388 
   10389 
   10390 
   10391 
   10392 
   10393 xorg_testset_save_CFLAGS="$CFLAGS"
   10394 
   10395 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10396 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10397 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10398 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10399 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10400 then :
   10401   printf %s "(cached) " >&6
   10402 else $as_nop
   10403   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10404 /* end confdefs.h.  */
   10405 int i;
   10406 _ACEOF
   10407 if ac_fn_c_try_compile "$LINENO"
   10408 then :
   10409   xorg_cv_cc_flag_unknown_warning_option=yes
   10410 else $as_nop
   10411   xorg_cv_cc_flag_unknown_warning_option=no
   10412 fi
   10413 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10414 fi
   10415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10416 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10417 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10418 	CFLAGS="$xorg_testset_save_CFLAGS"
   10419 fi
   10420 
   10421 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10422 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10423 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10424 	fi
   10425 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10426 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10427 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10428 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10429 then :
   10430   printf %s "(cached) " >&6
   10431 else $as_nop
   10432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10433 /* end confdefs.h.  */
   10434 int i;
   10435 _ACEOF
   10436 if ac_fn_c_try_compile "$LINENO"
   10437 then :
   10438   xorg_cv_cc_flag_unused_command_line_argument=yes
   10439 else $as_nop
   10440   xorg_cv_cc_flag_unused_command_line_argument=no
   10441 fi
   10442 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10443 fi
   10444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10445 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10446 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10447 	CFLAGS="$xorg_testset_save_CFLAGS"
   10448 fi
   10449 
   10450 found="no"
   10451 
   10452 	if test $found = "no" ; then
   10453 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10454 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10455 		fi
   10456 
   10457 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10458 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10459 		fi
   10460 
   10461 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10462 
   10463 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10464 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10465 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10466 		if eval test \${$cacheid+y}
   10467 then :
   10468   printf %s "(cached) " >&6
   10469 else $as_nop
   10470   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10471 /* end confdefs.h.  */
   10472 int i;
   10473 int
   10474 main (void)
   10475 {
   10476 
   10477   ;
   10478   return 0;
   10479 }
   10480 _ACEOF
   10481 if ac_fn_c_try_link "$LINENO"
   10482 then :
   10483   eval $cacheid=yes
   10484 else $as_nop
   10485   eval $cacheid=no
   10486 fi
   10487 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10488     conftest$ac_exeext conftest.$ac_ext
   10489 fi
   10490 
   10491 
   10492 		CFLAGS="$xorg_testset_save_CFLAGS"
   10493 
   10494 		eval supported=\$$cacheid
   10495 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10496 printf "%s\n" "$supported" >&6; }
   10497 		if test "$supported" = "yes" ; then
   10498 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10499 			found="yes"
   10500 		fi
   10501 	fi
   10502 
   10503 
   10504 
   10505 
   10506 
   10507 
   10508 
   10509 
   10510 
   10511 
   10512 
   10513 
   10514 
   10515 
   10516 
   10517 xorg_testset_save_CFLAGS="$CFLAGS"
   10518 
   10519 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10520 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10521 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10522 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10523 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10524 then :
   10525   printf %s "(cached) " >&6
   10526 else $as_nop
   10527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10528 /* end confdefs.h.  */
   10529 int i;
   10530 _ACEOF
   10531 if ac_fn_c_try_compile "$LINENO"
   10532 then :
   10533   xorg_cv_cc_flag_unknown_warning_option=yes
   10534 else $as_nop
   10535   xorg_cv_cc_flag_unknown_warning_option=no
   10536 fi
   10537 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10538 fi
   10539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10540 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10541 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10542 	CFLAGS="$xorg_testset_save_CFLAGS"
   10543 fi
   10544 
   10545 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10546 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10547 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10548 	fi
   10549 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10550 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10551 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10552 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10553 then :
   10554   printf %s "(cached) " >&6
   10555 else $as_nop
   10556   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10557 /* end confdefs.h.  */
   10558 int i;
   10559 _ACEOF
   10560 if ac_fn_c_try_compile "$LINENO"
   10561 then :
   10562   xorg_cv_cc_flag_unused_command_line_argument=yes
   10563 else $as_nop
   10564   xorg_cv_cc_flag_unused_command_line_argument=no
   10565 fi
   10566 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10567 fi
   10568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10569 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10570 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10571 	CFLAGS="$xorg_testset_save_CFLAGS"
   10572 fi
   10573 
   10574 found="no"
   10575 
   10576 	if test $found = "no" ; then
   10577 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10578 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10579 		fi
   10580 
   10581 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10582 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10583 		fi
   10584 
   10585 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10586 
   10587 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10588 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10589 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10590 		if eval test \${$cacheid+y}
   10591 then :
   10592   printf %s "(cached) " >&6
   10593 else $as_nop
   10594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10595 /* end confdefs.h.  */
   10596 int i;
   10597 int
   10598 main (void)
   10599 {
   10600 
   10601   ;
   10602   return 0;
   10603 }
   10604 _ACEOF
   10605 if ac_fn_c_try_link "$LINENO"
   10606 then :
   10607   eval $cacheid=yes
   10608 else $as_nop
   10609   eval $cacheid=no
   10610 fi
   10611 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10612     conftest$ac_exeext conftest.$ac_ext
   10613 fi
   10614 
   10615 
   10616 		CFLAGS="$xorg_testset_save_CFLAGS"
   10617 
   10618 		eval supported=\$$cacheid
   10619 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10620 printf "%s\n" "$supported" >&6; }
   10621 		if test "$supported" = "yes" ; then
   10622 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10623 			found="yes"
   10624 		fi
   10625 	fi
   10626 
   10627 
   10628 fi
   10629 
   10630 
   10631 
   10632 
   10633 
   10634 
   10635 
   10636 		CWARNFLAGS="$BASE_CFLAGS"
   10637 		if  test "x$GCC" = xyes ; then
   10638 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10639 		fi
   10640 
   10641 
   10642 
   10643 
   10644 
   10645 
   10646 
   10647 
   10648 # Check whether --enable-strict-compilation was given.
   10649 if test ${enable_strict_compilation+y}
   10650 then :
   10651   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10652 else $as_nop
   10653   STRICT_COMPILE=no
   10654 fi
   10655 
   10656 
   10657 
   10658 
   10659 
   10660 
   10661 STRICT_CFLAGS=""
   10662 
   10663 
   10664 
   10665 
   10666 
   10667 
   10668 
   10669 
   10670 
   10671 
   10672 
   10673 
   10674 
   10675 xorg_testset_save_CFLAGS="$CFLAGS"
   10676 
   10677 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10678 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10679 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10680 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10681 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10682 then :
   10683   printf %s "(cached) " >&6
   10684 else $as_nop
   10685   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10686 /* end confdefs.h.  */
   10687 int i;
   10688 _ACEOF
   10689 if ac_fn_c_try_compile "$LINENO"
   10690 then :
   10691   xorg_cv_cc_flag_unknown_warning_option=yes
   10692 else $as_nop
   10693   xorg_cv_cc_flag_unknown_warning_option=no
   10694 fi
   10695 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10696 fi
   10697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10698 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10699 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10700 	CFLAGS="$xorg_testset_save_CFLAGS"
   10701 fi
   10702 
   10703 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10704 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10705 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10706 	fi
   10707 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10708 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10709 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10710 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10711 then :
   10712   printf %s "(cached) " >&6
   10713 else $as_nop
   10714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10715 /* end confdefs.h.  */
   10716 int i;
   10717 _ACEOF
   10718 if ac_fn_c_try_compile "$LINENO"
   10719 then :
   10720   xorg_cv_cc_flag_unused_command_line_argument=yes
   10721 else $as_nop
   10722   xorg_cv_cc_flag_unused_command_line_argument=no
   10723 fi
   10724 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10725 fi
   10726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10727 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10728 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10729 	CFLAGS="$xorg_testset_save_CFLAGS"
   10730 fi
   10731 
   10732 found="no"
   10733 
   10734 	if test $found = "no" ; then
   10735 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10736 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10737 		fi
   10738 
   10739 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10740 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10741 		fi
   10742 
   10743 		CFLAGS="$CFLAGS -pedantic"
   10744 
   10745 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10746 printf %s "checking if $CC supports -pedantic... " >&6; }
   10747 		cacheid=xorg_cv_cc_flag__pedantic
   10748 		if eval test \${$cacheid+y}
   10749 then :
   10750   printf %s "(cached) " >&6
   10751 else $as_nop
   10752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10753 /* end confdefs.h.  */
   10754 int i;
   10755 int
   10756 main (void)
   10757 {
   10758 
   10759   ;
   10760   return 0;
   10761 }
   10762 _ACEOF
   10763 if ac_fn_c_try_link "$LINENO"
   10764 then :
   10765   eval $cacheid=yes
   10766 else $as_nop
   10767   eval $cacheid=no
   10768 fi
   10769 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10770     conftest$ac_exeext conftest.$ac_ext
   10771 fi
   10772 
   10773 
   10774 		CFLAGS="$xorg_testset_save_CFLAGS"
   10775 
   10776 		eval supported=\$$cacheid
   10777 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10778 printf "%s\n" "$supported" >&6; }
   10779 		if test "$supported" = "yes" ; then
   10780 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10781 			found="yes"
   10782 		fi
   10783 	fi
   10784 
   10785 
   10786 
   10787 
   10788 
   10789 
   10790 
   10791 
   10792 
   10793 
   10794 
   10795 
   10796 
   10797 
   10798 
   10799 xorg_testset_save_CFLAGS="$CFLAGS"
   10800 
   10801 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10802 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10803 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10804 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10805 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10806 then :
   10807   printf %s "(cached) " >&6
   10808 else $as_nop
   10809   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10810 /* end confdefs.h.  */
   10811 int i;
   10812 _ACEOF
   10813 if ac_fn_c_try_compile "$LINENO"
   10814 then :
   10815   xorg_cv_cc_flag_unknown_warning_option=yes
   10816 else $as_nop
   10817   xorg_cv_cc_flag_unknown_warning_option=no
   10818 fi
   10819 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10820 fi
   10821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10822 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10823 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10824 	CFLAGS="$xorg_testset_save_CFLAGS"
   10825 fi
   10826 
   10827 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10828 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10829 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10830 	fi
   10831 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10832 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10833 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10834 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10835 then :
   10836   printf %s "(cached) " >&6
   10837 else $as_nop
   10838   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10839 /* end confdefs.h.  */
   10840 int i;
   10841 _ACEOF
   10842 if ac_fn_c_try_compile "$LINENO"
   10843 then :
   10844   xorg_cv_cc_flag_unused_command_line_argument=yes
   10845 else $as_nop
   10846   xorg_cv_cc_flag_unused_command_line_argument=no
   10847 fi
   10848 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10849 fi
   10850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10851 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10852 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10853 	CFLAGS="$xorg_testset_save_CFLAGS"
   10854 fi
   10855 
   10856 found="no"
   10857 
   10858 	if test $found = "no" ; then
   10859 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10860 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10861 		fi
   10862 
   10863 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10864 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10865 		fi
   10866 
   10867 		CFLAGS="$CFLAGS -Werror"
   10868 
   10869 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10870 printf %s "checking if $CC supports -Werror... " >&6; }
   10871 		cacheid=xorg_cv_cc_flag__Werror
   10872 		if eval test \${$cacheid+y}
   10873 then :
   10874   printf %s "(cached) " >&6
   10875 else $as_nop
   10876   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10877 /* end confdefs.h.  */
   10878 int i;
   10879 int
   10880 main (void)
   10881 {
   10882 
   10883   ;
   10884   return 0;
   10885 }
   10886 _ACEOF
   10887 if ac_fn_c_try_link "$LINENO"
   10888 then :
   10889   eval $cacheid=yes
   10890 else $as_nop
   10891   eval $cacheid=no
   10892 fi
   10893 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10894     conftest$ac_exeext conftest.$ac_ext
   10895 fi
   10896 
   10897 
   10898 		CFLAGS="$xorg_testset_save_CFLAGS"
   10899 
   10900 		eval supported=\$$cacheid
   10901 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10902 printf "%s\n" "$supported" >&6; }
   10903 		if test "$supported" = "yes" ; then
   10904 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10905 			found="yes"
   10906 		fi
   10907 	fi
   10908 
   10909 	if test $found = "no" ; then
   10910 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10911 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10912 		fi
   10913 
   10914 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10915 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10916 		fi
   10917 
   10918 		CFLAGS="$CFLAGS -errwarn"
   10919 
   10920 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10921 printf %s "checking if $CC supports -errwarn... " >&6; }
   10922 		cacheid=xorg_cv_cc_flag__errwarn
   10923 		if eval test \${$cacheid+y}
   10924 then :
   10925   printf %s "(cached) " >&6
   10926 else $as_nop
   10927   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10928 /* end confdefs.h.  */
   10929 int i;
   10930 int
   10931 main (void)
   10932 {
   10933 
   10934   ;
   10935   return 0;
   10936 }
   10937 _ACEOF
   10938 if ac_fn_c_try_link "$LINENO"
   10939 then :
   10940   eval $cacheid=yes
   10941 else $as_nop
   10942   eval $cacheid=no
   10943 fi
   10944 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10945     conftest$ac_exeext conftest.$ac_ext
   10946 fi
   10947 
   10948 
   10949 		CFLAGS="$xorg_testset_save_CFLAGS"
   10950 
   10951 		eval supported=\$$cacheid
   10952 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10953 printf "%s\n" "$supported" >&6; }
   10954 		if test "$supported" = "yes" ; then
   10955 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10956 			found="yes"
   10957 		fi
   10958 	fi
   10959 
   10960 
   10961 
   10962 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10963 # activate it with -Werror, so we add it here explicitly.
   10964 
   10965 
   10966 
   10967 
   10968 
   10969 
   10970 
   10971 
   10972 
   10973 
   10974 
   10975 
   10976 
   10977 xorg_testset_save_CFLAGS="$CFLAGS"
   10978 
   10979 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10980 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10981 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10982 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10983 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10984 then :
   10985   printf %s "(cached) " >&6
   10986 else $as_nop
   10987   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10988 /* end confdefs.h.  */
   10989 int i;
   10990 _ACEOF
   10991 if ac_fn_c_try_compile "$LINENO"
   10992 then :
   10993   xorg_cv_cc_flag_unknown_warning_option=yes
   10994 else $as_nop
   10995   xorg_cv_cc_flag_unknown_warning_option=no
   10996 fi
   10997 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10998 fi
   10999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11000 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11001 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11002 	CFLAGS="$xorg_testset_save_CFLAGS"
   11003 fi
   11004 
   11005 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11006 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11007 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11008 	fi
   11009 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11010 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11011 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11012 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11013 then :
   11014   printf %s "(cached) " >&6
   11015 else $as_nop
   11016   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11017 /* end confdefs.h.  */
   11018 int i;
   11019 _ACEOF
   11020 if ac_fn_c_try_compile "$LINENO"
   11021 then :
   11022   xorg_cv_cc_flag_unused_command_line_argument=yes
   11023 else $as_nop
   11024   xorg_cv_cc_flag_unused_command_line_argument=no
   11025 fi
   11026 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   11027 fi
   11028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11029 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11030 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11031 	CFLAGS="$xorg_testset_save_CFLAGS"
   11032 fi
   11033 
   11034 found="no"
   11035 
   11036 	if test $found = "no" ; then
   11037 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11038 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11039 		fi
   11040 
   11041 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11042 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11043 		fi
   11044 
   11045 		CFLAGS="$CFLAGS -Werror=attributes"
   11046 
   11047 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11048 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11049 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11050 		if eval test \${$cacheid+y}
   11051 then :
   11052   printf %s "(cached) " >&6
   11053 else $as_nop
   11054   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11055 /* end confdefs.h.  */
   11056 int i;
   11057 int
   11058 main (void)
   11059 {
   11060 
   11061   ;
   11062   return 0;
   11063 }
   11064 _ACEOF
   11065 if ac_fn_c_try_link "$LINENO"
   11066 then :
   11067   eval $cacheid=yes
   11068 else $as_nop
   11069   eval $cacheid=no
   11070 fi
   11071 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11072     conftest$ac_exeext conftest.$ac_ext
   11073 fi
   11074 
   11075 
   11076 		CFLAGS="$xorg_testset_save_CFLAGS"
   11077 
   11078 		eval supported=\$$cacheid
   11079 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11080 printf "%s\n" "$supported" >&6; }
   11081 		if test "$supported" = "yes" ; then
   11082 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11083 			found="yes"
   11084 		fi
   11085 	fi
   11086 
   11087 
   11088 
   11089 if test "x$STRICT_COMPILE" = "xyes"; then
   11090     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11091     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11092 fi
   11093 
   11094 
   11095 
   11096 
   11097 
   11098 
   11099 cat >>confdefs.h <<_ACEOF
   11100 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11101 _ACEOF
   11102 
   11103 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11104 	if test "x$PVM" = "x"; then
   11105 		PVM="0"
   11106 	fi
   11107 
   11108 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11109 
   11110 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11111 	if test "x$PVP" = "x"; then
   11112 		PVP="0"
   11113 	fi
   11114 
   11115 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11116 
   11117 
   11118 
   11119 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11120 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11121 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11122 touch \$(top_srcdir)/ChangeLog; \
   11123 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11124 
   11125 
   11126 
   11127 
   11128 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11129 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11130 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11131 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11132 touch \$(top_srcdir)/INSTALL; \
   11133 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11134 
   11135 
   11136 
   11137 
   11138 
   11139 
   11140 case $host_os in
   11141     solaris*)
   11142         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11143         # check for a man page file found in later versions that use
   11144         # traditional section numbers instead
   11145         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11146 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11147 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11148 then :
   11149   printf %s "(cached) " >&6
   11150 else $as_nop
   11151   test "$cross_compiling" = yes &&
   11152   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11153 if test -r "/usr/share/man/man7/attributes.7"; then
   11154   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11155 else
   11156   ac_cv_file__usr_share_man_man7_attributes_7=no
   11157 fi
   11158 fi
   11159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11160 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11161 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11162 then :
   11163   SYSV_MAN_SECTIONS=false
   11164 else $as_nop
   11165   SYSV_MAN_SECTIONS=true
   11166 fi
   11167 
   11168         ;;
   11169     *) SYSV_MAN_SECTIONS=false ;;
   11170 esac
   11171 
   11172 if test x$APP_MAN_SUFFIX = x    ; then
   11173     APP_MAN_SUFFIX=1
   11174 fi
   11175 if test x$APP_MAN_DIR = x    ; then
   11176     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11177 fi
   11178 
   11179 if test x$LIB_MAN_SUFFIX = x    ; then
   11180     LIB_MAN_SUFFIX=3
   11181 fi
   11182 if test x$LIB_MAN_DIR = x    ; then
   11183     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11184 fi
   11185 
   11186 if test x$FILE_MAN_SUFFIX = x    ; then
   11187     case $SYSV_MAN_SECTIONS in
   11188 	true)				FILE_MAN_SUFFIX=4  ;;
   11189 	*)				FILE_MAN_SUFFIX=5  ;;
   11190     esac
   11191 fi
   11192 if test x$FILE_MAN_DIR = x    ; then
   11193     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11194 fi
   11195 
   11196 if test x$MISC_MAN_SUFFIX = x    ; then
   11197     case $SYSV_MAN_SECTIONS in
   11198 	true)				MISC_MAN_SUFFIX=5  ;;
   11199 	*)				MISC_MAN_SUFFIX=7  ;;
   11200     esac
   11201 fi
   11202 if test x$MISC_MAN_DIR = x    ; then
   11203     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11204 fi
   11205 
   11206 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11207     case $SYSV_MAN_SECTIONS in
   11208 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11209 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11210     esac
   11211 fi
   11212 if test x$DRIVER_MAN_DIR = x    ; then
   11213     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11214 fi
   11215 
   11216 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11217     case $SYSV_MAN_SECTIONS in
   11218 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11219 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11220     esac
   11221 fi
   11222 if test x$ADMIN_MAN_DIR = x    ; then
   11223     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11224 fi
   11225 
   11226 
   11227 
   11228 
   11229 
   11230 
   11231 
   11232 
   11233 
   11234 
   11235 
   11236 
   11237 
   11238 
   11239 
   11240 XORG_MAN_PAGE="X Version 11"
   11241 
   11242 MAN_SUBSTS="\
   11243 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11244 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11245 	-e 's|__xservername__|Xorg|g' \
   11246 	-e 's|__xconfigfile__|xorg.conf|g' \
   11247 	-e 's|__projectroot__|\$(prefix)|g' \
   11248 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11249 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11250 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11251 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11252 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11253 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11254 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11255 
   11256 
   11257 
   11258 # Check whether --enable-silent-rules was given.
   11259 if test ${enable_silent_rules+y}
   11260 then :
   11261   enableval=$enable_silent_rules;
   11262 fi
   11263 
   11264 case $enable_silent_rules in # (((
   11265   yes) AM_DEFAULT_VERBOSITY=0;;
   11266    no) AM_DEFAULT_VERBOSITY=1;;
   11267     *) AM_DEFAULT_VERBOSITY=0;;
   11268 esac
   11269 am_make=${MAKE-make}
   11270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11271 printf %s "checking whether $am_make supports nested variables... " >&6; }
   11272 if test ${am_cv_make_support_nested_variables+y}
   11273 then :
   11274   printf %s "(cached) " >&6
   11275 else $as_nop
   11276   if printf "%s\n" 'TRUE=$(BAR$(V))
   11277 BAR0=false
   11278 BAR1=true
   11279 V=1
   11280 am__doit:
   11281 	@$(TRUE)
   11282 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11283   am_cv_make_support_nested_variables=yes
   11284 else
   11285   am_cv_make_support_nested_variables=no
   11286 fi
   11287 fi
   11288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11289 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   11290 if test $am_cv_make_support_nested_variables = yes; then
   11291     AM_V='$(V)'
   11292   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11293 else
   11294   AM_V=$AM_DEFAULT_VERBOSITY
   11295   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11296 fi
   11297 AM_BACKSLASH='\'
   11298 
   11299 
   11300 
   11301 ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf"
   11302 if test "x$ac_cv_func_asprintf" = xyes
   11303 then :
   11304   printf "%s\n" "#define HAVE_ASPRINTF 1" >>confdefs.h
   11305 
   11306 fi
   11307 ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
   11308 if test "x$ac_cv_func_mkstemp" = xyes
   11309 then :
   11310   printf "%s\n" "#define HAVE_MKSTEMP 1" >>confdefs.h
   11311 
   11312 fi
   11313 ac_fn_c_check_func "$LINENO" "mktemp" "ac_cv_func_mktemp"
   11314 if test "x$ac_cv_func_mktemp" = xyes
   11315 then :
   11316   printf "%s\n" "#define HAVE_MKTEMP 1" >>confdefs.h
   11317 
   11318 fi
   11319 
   11320 
   11321 # Checks for pkg-config packages
   11322 
   11323 pkg_failed=no
   11324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SMPROXY" >&5
   11325 printf %s "checking for SMPROXY... " >&6; }
   11326 
   11327 if test -n "$SMPROXY_CFLAGS"; then
   11328     pkg_cv_SMPROXY_CFLAGS="$SMPROXY_CFLAGS"
   11329  elif test -n "$PKG_CONFIG"; then
   11330     if test -n "$PKG_CONFIG" && \
   11331     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sm ice xt xmuu\""; } >&5
   11332   ($PKG_CONFIG --exists --print-errors "sm ice xt xmuu") 2>&5
   11333   ac_status=$?
   11334   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11335   test $ac_status = 0; }; then
   11336   pkg_cv_SMPROXY_CFLAGS=`$PKG_CONFIG --cflags "sm ice xt xmuu" 2>/dev/null`
   11337 		      test "x$?" != "x0" && pkg_failed=yes
   11338 else
   11339   pkg_failed=yes
   11340 fi
   11341  else
   11342     pkg_failed=untried
   11343 fi
   11344 if test -n "$SMPROXY_LIBS"; then
   11345     pkg_cv_SMPROXY_LIBS="$SMPROXY_LIBS"
   11346  elif test -n "$PKG_CONFIG"; then
   11347     if test -n "$PKG_CONFIG" && \
   11348     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sm ice xt xmuu\""; } >&5
   11349   ($PKG_CONFIG --exists --print-errors "sm ice xt xmuu") 2>&5
   11350   ac_status=$?
   11351   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11352   test $ac_status = 0; }; then
   11353   pkg_cv_SMPROXY_LIBS=`$PKG_CONFIG --libs "sm ice xt xmuu" 2>/dev/null`
   11354 		      test "x$?" != "x0" && pkg_failed=yes
   11355 else
   11356   pkg_failed=yes
   11357 fi
   11358  else
   11359     pkg_failed=untried
   11360 fi
   11361 
   11362 
   11363 
   11364 if test $pkg_failed = yes; then
   11365    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11366 printf "%s\n" "no" >&6; }
   11367 
   11368 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11369         _pkg_short_errors_supported=yes
   11370 else
   11371         _pkg_short_errors_supported=no
   11372 fi
   11373         if test $_pkg_short_errors_supported = yes; then
   11374 	        SMPROXY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sm ice xt xmuu" 2>&1`
   11375         else
   11376 	        SMPROXY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sm ice xt xmuu" 2>&1`
   11377         fi
   11378 	# Put the nasty error message in config.log where it belongs
   11379 	echo "$SMPROXY_PKG_ERRORS" >&5
   11380 
   11381 	as_fn_error $? "Package requirements (sm ice xt xmuu) were not met:
   11382 
   11383 $SMPROXY_PKG_ERRORS
   11384 
   11385 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11386 installed software in a non-standard prefix.
   11387 
   11388 Alternatively, you may set the environment variables SMPROXY_CFLAGS
   11389 and SMPROXY_LIBS to avoid the need to call pkg-config.
   11390 See the pkg-config man page for more details." "$LINENO" 5
   11391 elif test $pkg_failed = untried; then
   11392      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11393 printf "%s\n" "no" >&6; }
   11394 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11395 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   11396 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11397 is in your PATH or set the PKG_CONFIG environment variable to the full
   11398 path to pkg-config.
   11399 
   11400 Alternatively, you may set the environment variables SMPROXY_CFLAGS
   11401 and SMPROXY_LIBS to avoid the need to call pkg-config.
   11402 See the pkg-config man page for more details.
   11403 
   11404 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11405 See \`config.log' for more details" "$LINENO" 5; }
   11406 else
   11407 	SMPROXY_CFLAGS=$pkg_cv_SMPROXY_CFLAGS
   11408 	SMPROXY_LIBS=$pkg_cv_SMPROXY_LIBS
   11409         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11410 printf "%s\n" "yes" >&6; }
   11411 
   11412 fi
   11413 
   11414 ac_config_files="$ac_config_files Makefile man/Makefile"
   11415 
   11416 cat >confcache <<\_ACEOF
   11417 # This file is a shell script that caches the results of configure
   11418 # tests run on this system so they can be shared between configure
   11419 # scripts and configure runs, see configure's option --config-cache.
   11420 # It is not useful on other systems.  If it contains results you don't
   11421 # want to keep, you may remove or edit it.
   11422 #
   11423 # config.status only pays attention to the cache file if you give it
   11424 # the --recheck option to rerun configure.
   11425 #
   11426 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11427 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11428 # following values.
   11429 
   11430 _ACEOF
   11431 
   11432 # The following way of writing the cache mishandles newlines in values,
   11433 # but we know of no workaround that is simple, portable, and efficient.
   11434 # So, we kill variables containing newlines.
   11435 # Ultrix sh set writes to stderr and can't be redirected directly,
   11436 # and sets the high bit in the cache file unless we assign to the vars.
   11437 (
   11438   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11439     eval ac_val=\$$ac_var
   11440     case $ac_val in #(
   11441     *${as_nl}*)
   11442       case $ac_var in #(
   11443       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11444 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11445       esac
   11446       case $ac_var in #(
   11447       _ | IFS | as_nl) ;; #(
   11448       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11449       *) { eval $ac_var=; unset $ac_var;} ;;
   11450       esac ;;
   11451     esac
   11452   done
   11453 
   11454   (set) 2>&1 |
   11455     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11456     *${as_nl}ac_space=\ *)
   11457       # `set' does not quote correctly, so add quotes: double-quote
   11458       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11459       sed -n \
   11460 	"s/'/'\\\\''/g;
   11461 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11462       ;; #(
   11463     *)
   11464       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11465       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11466       ;;
   11467     esac |
   11468     sort
   11469 ) |
   11470   sed '
   11471      /^ac_cv_env_/b end
   11472      t clear
   11473      :clear
   11474      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   11475      t end
   11476      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11477      :end' >>confcache
   11478 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11479   if test -w "$cache_file"; then
   11480     if test "x$cache_file" != "x/dev/null"; then
   11481       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11482 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   11483       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11484 	cat confcache >"$cache_file"
   11485       else
   11486         case $cache_file in #(
   11487         */* | ?:*)
   11488 	  mv -f confcache "$cache_file"$$ &&
   11489 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11490         *)
   11491 	  mv -f confcache "$cache_file" ;;
   11492 	esac
   11493       fi
   11494     fi
   11495   else
   11496     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11497 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   11498   fi
   11499 fi
   11500 rm -f confcache
   11501 
   11502 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11503 # Let make expand exec_prefix.
   11504 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11505 
   11506 DEFS=-DHAVE_CONFIG_H
   11507 
   11508 ac_libobjs=
   11509 ac_ltlibobjs=
   11510 U=
   11511 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11512   # 1. Remove the extension, and $U if already installed.
   11513   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11514   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   11515   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11516   #    will be set to the directory where LIBOBJS objects are built.
   11517   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11518   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11519 done
   11520 LIBOBJS=$ac_libobjs
   11521 
   11522 LTLIBOBJS=$ac_ltlibobjs
   11523 
   11524 
   11525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11526 printf %s "checking that generated files are newer than configure... " >&6; }
   11527    if test -n "$am_sleep_pid"; then
   11528      # Hide warnings about reused PIDs.
   11529      wait $am_sleep_pid 2>/dev/null
   11530    fi
   11531    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11532 printf "%s\n" "done" >&6; }
   11533  if test -n "$EXEEXT"; then
   11534   am__EXEEXT_TRUE=
   11535   am__EXEEXT_FALSE='#'
   11536 else
   11537   am__EXEEXT_TRUE='#'
   11538   am__EXEEXT_FALSE=
   11539 fi
   11540 
   11541 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11542   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11543 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11544 fi
   11545 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11546   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11547 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11548 fi
   11549 
   11550 : "${CONFIG_STATUS=./config.status}"
   11551 ac_write_fail=0
   11552 ac_clean_files_save=$ac_clean_files
   11553 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11555 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   11556 as_write_fail=0
   11557 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11558 #! $SHELL
   11559 # Generated by $as_me.
   11560 # Run this file to recreate the current configuration.
   11561 # Compiler output produced by configure, useful for debugging
   11562 # configure, is in config.log if it exists.
   11563 
   11564 debug=false
   11565 ac_cs_recheck=false
   11566 ac_cs_silent=false
   11567 
   11568 SHELL=\${CONFIG_SHELL-$SHELL}
   11569 export SHELL
   11570 _ASEOF
   11571 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11572 ## -------------------- ##
   11573 ## M4sh Initialization. ##
   11574 ## -------------------- ##
   11575 
   11576 # Be more Bourne compatible
   11577 DUALCASE=1; export DUALCASE # for MKS sh
   11578 as_nop=:
   11579 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   11580 then :
   11581   emulate sh
   11582   NULLCMD=:
   11583   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11584   # is contrary to our usage.  Disable this feature.
   11585   alias -g '${1+"$@"}'='"$@"'
   11586   setopt NO_GLOB_SUBST
   11587 else $as_nop
   11588   case `(set -o) 2>/dev/null` in #(
   11589   *posix*) :
   11590     set -o posix ;; #(
   11591   *) :
   11592      ;;
   11593 esac
   11594 fi
   11595 
   11596 
   11597 
   11598 # Reset variables that may have inherited troublesome values from
   11599 # the environment.
   11600 
   11601 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   11602 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   11603 # side effect of setting IFS to empty, thus disabling word splitting.)
   11604 # Quoting is to prevent editors from complaining about space-tab.
   11605 as_nl='
   11606 '
   11607 export as_nl
   11608 IFS=" ""	$as_nl"
   11609 
   11610 PS1='$ '
   11611 PS2='> '
   11612 PS4='+ '
   11613 
   11614 # Ensure predictable behavior from utilities with locale-dependent output.
   11615 LC_ALL=C
   11616 export LC_ALL
   11617 LANGUAGE=C
   11618 export LANGUAGE
   11619 
   11620 # We cannot yet rely on "unset" to work, but we need these variables
   11621 # to be unset--not just set to an empty or harmless value--now, to
   11622 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   11623 # also avoids known problems related to "unset" and subshell syntax
   11624 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   11625 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   11626 do eval test \${$as_var+y} \
   11627   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11628 done
   11629 
   11630 # Ensure that fds 0, 1, and 2 are open.
   11631 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   11632 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   11633 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   11634 
   11635 # The user is always right.
   11636 if ${PATH_SEPARATOR+false} :; then
   11637   PATH_SEPARATOR=:
   11638   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11639     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11640       PATH_SEPARATOR=';'
   11641   }
   11642 fi
   11643 
   11644 
   11645 # Find who we are.  Look in the path if we contain no directory separator.
   11646 as_myself=
   11647 case $0 in #((
   11648   *[\\/]* ) as_myself=$0 ;;
   11649   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11650 for as_dir in $PATH
   11651 do
   11652   IFS=$as_save_IFS
   11653   case $as_dir in #(((
   11654     '') as_dir=./ ;;
   11655     */) ;;
   11656     *) as_dir=$as_dir/ ;;
   11657   esac
   11658     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   11659   done
   11660 IFS=$as_save_IFS
   11661 
   11662      ;;
   11663 esac
   11664 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11665 # in which case we are not to be found in the path.
   11666 if test "x$as_myself" = x; then
   11667   as_myself=$0
   11668 fi
   11669 if test ! -f "$as_myself"; then
   11670   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11671   exit 1
   11672 fi
   11673 
   11674 
   11675 
   11676 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11677 # ----------------------------------------
   11678 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11679 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11680 # script with STATUS, using 1 if that was 0.
   11681 as_fn_error ()
   11682 {
   11683   as_status=$1; test $as_status -eq 0 && as_status=1
   11684   if test "$4"; then
   11685     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11686     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11687   fi
   11688   printf "%s\n" "$as_me: error: $2" >&2
   11689   as_fn_exit $as_status
   11690 } # as_fn_error
   11691 
   11692 
   11693 
   11694 # as_fn_set_status STATUS
   11695 # -----------------------
   11696 # Set $? to STATUS, without forking.
   11697 as_fn_set_status ()
   11698 {
   11699   return $1
   11700 } # as_fn_set_status
   11701 
   11702 # as_fn_exit STATUS
   11703 # -----------------
   11704 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11705 as_fn_exit ()
   11706 {
   11707   set +e
   11708   as_fn_set_status $1
   11709   exit $1
   11710 } # as_fn_exit
   11711 
   11712 # as_fn_unset VAR
   11713 # ---------------
   11714 # Portably unset VAR.
   11715 as_fn_unset ()
   11716 {
   11717   { eval $1=; unset $1;}
   11718 }
   11719 as_unset=as_fn_unset
   11720 
   11721 # as_fn_append VAR VALUE
   11722 # ----------------------
   11723 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11724 # advantage of any shell optimizations that allow amortized linear growth over
   11725 # repeated appends, instead of the typical quadratic growth present in naive
   11726 # implementations.
   11727 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   11728 then :
   11729   eval 'as_fn_append ()
   11730   {
   11731     eval $1+=\$2
   11732   }'
   11733 else $as_nop
   11734   as_fn_append ()
   11735   {
   11736     eval $1=\$$1\$2
   11737   }
   11738 fi # as_fn_append
   11739 
   11740 # as_fn_arith ARG...
   11741 # ------------------
   11742 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11743 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11744 # must be portable across $(()) and expr.
   11745 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   11746 then :
   11747   eval 'as_fn_arith ()
   11748   {
   11749     as_val=$(( $* ))
   11750   }'
   11751 else $as_nop
   11752   as_fn_arith ()
   11753   {
   11754     as_val=`expr "$@" || test $? -eq 1`
   11755   }
   11756 fi # as_fn_arith
   11757 
   11758 
   11759 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11760    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11761   as_expr=expr
   11762 else
   11763   as_expr=false
   11764 fi
   11765 
   11766 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11767   as_basename=basename
   11768 else
   11769   as_basename=false
   11770 fi
   11771 
   11772 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11773   as_dirname=dirname
   11774 else
   11775   as_dirname=false
   11776 fi
   11777 
   11778 as_me=`$as_basename -- "$0" ||
   11779 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11780 	 X"$0" : 'X\(//\)$' \| \
   11781 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11782 printf "%s\n" X/"$0" |
   11783     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11784 	    s//\1/
   11785 	    q
   11786 	  }
   11787 	  /^X\/\(\/\/\)$/{
   11788 	    s//\1/
   11789 	    q
   11790 	  }
   11791 	  /^X\/\(\/\).*/{
   11792 	    s//\1/
   11793 	    q
   11794 	  }
   11795 	  s/.*/./; q'`
   11796 
   11797 # Avoid depending upon Character Ranges.
   11798 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11799 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11800 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11801 as_cr_digits='0123456789'
   11802 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11803 
   11804 
   11805 # Determine whether it's possible to make 'echo' print without a newline.
   11806 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   11807 # for compatibility with existing Makefiles.
   11808 ECHO_C= ECHO_N= ECHO_T=
   11809 case `echo -n x` in #(((((
   11810 -n*)
   11811   case `echo 'xy\c'` in
   11812   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11813   xy)  ECHO_C='\c';;
   11814   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11815        ECHO_T='	';;
   11816   esac;;
   11817 *)
   11818   ECHO_N='-n';;
   11819 esac
   11820 
   11821 # For backward compatibility with old third-party macros, we provide
   11822 # the shell variables $as_echo and $as_echo_n.  New code should use
   11823 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   11824 as_echo='printf %s\n'
   11825 as_echo_n='printf %s'
   11826 
   11827 rm -f conf$$ conf$$.exe conf$$.file
   11828 if test -d conf$$.dir; then
   11829   rm -f conf$$.dir/conf$$.file
   11830 else
   11831   rm -f conf$$.dir
   11832   mkdir conf$$.dir 2>/dev/null
   11833 fi
   11834 if (echo >conf$$.file) 2>/dev/null; then
   11835   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11836     as_ln_s='ln -s'
   11837     # ... but there are two gotchas:
   11838     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11839     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11840     # In both cases, we have to default to `cp -pR'.
   11841     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11842       as_ln_s='cp -pR'
   11843   elif ln conf$$.file conf$$ 2>/dev/null; then
   11844     as_ln_s=ln
   11845   else
   11846     as_ln_s='cp -pR'
   11847   fi
   11848 else
   11849   as_ln_s='cp -pR'
   11850 fi
   11851 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11852 rmdir conf$$.dir 2>/dev/null
   11853 
   11854 
   11855 # as_fn_mkdir_p
   11856 # -------------
   11857 # Create "$as_dir" as a directory, including parents if necessary.
   11858 as_fn_mkdir_p ()
   11859 {
   11860 
   11861   case $as_dir in #(
   11862   -*) as_dir=./$as_dir;;
   11863   esac
   11864   test -d "$as_dir" || eval $as_mkdir_p || {
   11865     as_dirs=
   11866     while :; do
   11867       case $as_dir in #(
   11868       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11869       *) as_qdir=$as_dir;;
   11870       esac
   11871       as_dirs="'$as_qdir' $as_dirs"
   11872       as_dir=`$as_dirname -- "$as_dir" ||
   11873 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11874 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11875 	 X"$as_dir" : 'X\(//\)$' \| \
   11876 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11877 printf "%s\n" X"$as_dir" |
   11878     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11879 	    s//\1/
   11880 	    q
   11881 	  }
   11882 	  /^X\(\/\/\)[^/].*/{
   11883 	    s//\1/
   11884 	    q
   11885 	  }
   11886 	  /^X\(\/\/\)$/{
   11887 	    s//\1/
   11888 	    q
   11889 	  }
   11890 	  /^X\(\/\).*/{
   11891 	    s//\1/
   11892 	    q
   11893 	  }
   11894 	  s/.*/./; q'`
   11895       test -d "$as_dir" && break
   11896     done
   11897     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11898   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11899 
   11900 
   11901 } # as_fn_mkdir_p
   11902 if mkdir -p . 2>/dev/null; then
   11903   as_mkdir_p='mkdir -p "$as_dir"'
   11904 else
   11905   test -d ./-p && rmdir ./-p
   11906   as_mkdir_p=false
   11907 fi
   11908 
   11909 
   11910 # as_fn_executable_p FILE
   11911 # -----------------------
   11912 # Test if FILE is an executable regular file.
   11913 as_fn_executable_p ()
   11914 {
   11915   test -f "$1" && test -x "$1"
   11916 } # as_fn_executable_p
   11917 as_test_x='test -x'
   11918 as_executable_p=as_fn_executable_p
   11919 
   11920 # Sed expression to map a string onto a valid CPP name.
   11921 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11922 
   11923 # Sed expression to map a string onto a valid variable name.
   11924 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11925 
   11926 
   11927 exec 6>&1
   11928 ## ----------------------------------- ##
   11929 ## Main body of $CONFIG_STATUS script. ##
   11930 ## ----------------------------------- ##
   11931 _ASEOF
   11932 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11933 
   11934 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11935 # Save the log message, to keep $0 and so on meaningful, and to
   11936 # report actual input values of CONFIG_FILES etc. instead of their
   11937 # values after options handling.
   11938 ac_log="
   11939 This file was extended by smproxy $as_me 1.0.7, which was
   11940 generated by GNU Autoconf 2.71.  Invocation command line was
   11941 
   11942   CONFIG_FILES    = $CONFIG_FILES
   11943   CONFIG_HEADERS  = $CONFIG_HEADERS
   11944   CONFIG_LINKS    = $CONFIG_LINKS
   11945   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11946   $ $0 $@
   11947 
   11948 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11949 "
   11950 
   11951 _ACEOF
   11952 
   11953 case $ac_config_files in *"
   11954 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11955 esac
   11956 
   11957 case $ac_config_headers in *"
   11958 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11959 esac
   11960 
   11961 
   11962 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11963 # Files that config.status was made for.
   11964 config_files="$ac_config_files"
   11965 config_headers="$ac_config_headers"
   11966 config_commands="$ac_config_commands"
   11967 
   11968 _ACEOF
   11969 
   11970 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11971 ac_cs_usage="\
   11972 \`$as_me' instantiates files and other configuration actions
   11973 from templates according to the current configuration.  Unless the files
   11974 and actions are specified as TAGs, all are instantiated by default.
   11975 
   11976 Usage: $0 [OPTION]... [TAG]...
   11977 
   11978   -h, --help       print this help, then exit
   11979   -V, --version    print version number and configuration settings, then exit
   11980       --config     print configuration, then exit
   11981   -q, --quiet, --silent
   11982                    do not print progress messages
   11983   -d, --debug      don't remove temporary files
   11984       --recheck    update $as_me by reconfiguring in the same conditions
   11985       --file=FILE[:TEMPLATE]
   11986                    instantiate the configuration file FILE
   11987       --header=FILE[:TEMPLATE]
   11988                    instantiate the configuration header FILE
   11989 
   11990 Configuration files:
   11991 $config_files
   11992 
   11993 Configuration headers:
   11994 $config_headers
   11995 
   11996 Configuration commands:
   11997 $config_commands
   11998 
   11999 Report bugs to <https://gitlab.freedesktop.org/xorg/app/smproxy/issues>."
   12000 
   12001 _ACEOF
   12002 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   12003 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   12004 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12005 ac_cs_config='$ac_cs_config_escaped'
   12006 ac_cs_version="\\
   12007 smproxy config.status 1.0.7
   12008 configured by $0, generated by GNU Autoconf 2.71,
   12009   with options \\"\$ac_cs_config\\"
   12010 
   12011 Copyright (C) 2021 Free Software Foundation, Inc.
   12012 This config.status script is free software; the Free Software Foundation
   12013 gives unlimited permission to copy, distribute and modify it."
   12014 
   12015 ac_pwd='$ac_pwd'
   12016 srcdir='$srcdir'
   12017 INSTALL='$INSTALL'
   12018 MKDIR_P='$MKDIR_P'
   12019 AWK='$AWK'
   12020 test -n "\$AWK" || AWK=awk
   12021 _ACEOF
   12022 
   12023 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12024 # The default lists apply if the user does not specify any file.
   12025 ac_need_defaults=:
   12026 while test $# != 0
   12027 do
   12028   case $1 in
   12029   --*=?*)
   12030     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12031     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12032     ac_shift=:
   12033     ;;
   12034   --*=)
   12035     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12036     ac_optarg=
   12037     ac_shift=:
   12038     ;;
   12039   *)
   12040     ac_option=$1
   12041     ac_optarg=$2
   12042     ac_shift=shift
   12043     ;;
   12044   esac
   12045 
   12046   case $ac_option in
   12047   # Handling of the options.
   12048   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12049     ac_cs_recheck=: ;;
   12050   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12051     printf "%s\n" "$ac_cs_version"; exit ;;
   12052   --config | --confi | --conf | --con | --co | --c )
   12053     printf "%s\n" "$ac_cs_config"; exit ;;
   12054   --debug | --debu | --deb | --de | --d | -d )
   12055     debug=: ;;
   12056   --file | --fil | --fi | --f )
   12057     $ac_shift
   12058     case $ac_optarg in
   12059     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12060     '') as_fn_error $? "missing file argument" ;;
   12061     esac
   12062     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12063     ac_need_defaults=false;;
   12064   --header | --heade | --head | --hea )
   12065     $ac_shift
   12066     case $ac_optarg in
   12067     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12068     esac
   12069     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12070     ac_need_defaults=false;;
   12071   --he | --h)
   12072     # Conflict between --help and --header
   12073     as_fn_error $? "ambiguous option: \`$1'
   12074 Try \`$0 --help' for more information.";;
   12075   --help | --hel | -h )
   12076     printf "%s\n" "$ac_cs_usage"; exit ;;
   12077   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12078   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12079     ac_cs_silent=: ;;
   12080 
   12081   # This is an error.
   12082   -*) as_fn_error $? "unrecognized option: \`$1'
   12083 Try \`$0 --help' for more information." ;;
   12084 
   12085   *) as_fn_append ac_config_targets " $1"
   12086      ac_need_defaults=false ;;
   12087 
   12088   esac
   12089   shift
   12090 done
   12091 
   12092 ac_configure_extra_args=
   12093 
   12094 if $ac_cs_silent; then
   12095   exec 6>/dev/null
   12096   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12097 fi
   12098 
   12099 _ACEOF
   12100 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12101 if \$ac_cs_recheck; then
   12102   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12103   shift
   12104   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   12105   CONFIG_SHELL='$SHELL'
   12106   export CONFIG_SHELL
   12107   exec "\$@"
   12108 fi
   12109 
   12110 _ACEOF
   12111 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12112 exec 5>>config.log
   12113 {
   12114   echo
   12115   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12116 ## Running $as_me. ##
   12117 _ASBOX
   12118   printf "%s\n" "$ac_log"
   12119 } >&5
   12120 
   12121 _ACEOF
   12122 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12123 #
   12124 # INIT-COMMANDS
   12125 #
   12126 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   12127 
   12128 _ACEOF
   12129 
   12130 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12131 
   12132 # Handling of arguments.
   12133 for ac_config_target in $ac_config_targets
   12134 do
   12135   case $ac_config_target in
   12136     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12137     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12138     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12139     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12140 
   12141   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   12142   esac
   12143 done
   12144 
   12145 
   12146 # If the user did not use the arguments to specify the items to instantiate,
   12147 # then the envvar interface is used.  Set only those that are not.
   12148 # We use the long form for the default assignment because of an extremely
   12149 # bizarre bug on SunOS 4.1.3.
   12150 if $ac_need_defaults; then
   12151   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   12152   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   12153   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   12154 fi
   12155 
   12156 # Have a temporary directory for convenience.  Make it in the build tree
   12157 # simply because there is no reason against having it here, and in addition,
   12158 # creating and moving files from /tmp can sometimes cause problems.
   12159 # Hook for its removal unless debugging.
   12160 # Note that there is a small window in which the directory will not be cleaned:
   12161 # after its creation but before its name has been assigned to `$tmp'.
   12162 $debug ||
   12163 {
   12164   tmp= ac_tmp=
   12165   trap 'exit_status=$?
   12166   : "${ac_tmp:=$tmp}"
   12167   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12168 ' 0
   12169   trap 'as_fn_exit 1' 1 2 13 15
   12170 }
   12171 # Create a (secure) tmp directory for tmp files.
   12172 
   12173 {
   12174   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12175   test -d "$tmp"
   12176 }  ||
   12177 {
   12178   tmp=./conf$$-$RANDOM
   12179   (umask 077 && mkdir "$tmp")
   12180 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12181 ac_tmp=$tmp
   12182 
   12183 # Set up the scripts for CONFIG_FILES section.
   12184 # No need to generate them if there are no CONFIG_FILES.
   12185 # This happens for instance with `./config.status config.h'.
   12186 if test -n "$CONFIG_FILES"; then
   12187 
   12188 
   12189 ac_cr=`echo X | tr X '\015'`
   12190 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12191 # But we know of no other shell where ac_cr would be empty at this
   12192 # point, so we can use a bashism as a fallback.
   12193 if test "x$ac_cr" = x; then
   12194   eval ac_cr=\$\'\\r\'
   12195 fi
   12196 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12197 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12198   ac_cs_awk_cr='\\r'
   12199 else
   12200   ac_cs_awk_cr=$ac_cr
   12201 fi
   12202 
   12203 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12204 _ACEOF
   12205 
   12206 
   12207 {
   12208   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12209   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12210   echo "_ACEOF"
   12211 } >conf$$subs.sh ||
   12212   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12213 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12214 ac_delim='%!_!# '
   12215 for ac_last_try in false false false false false :; do
   12216   . ./conf$$subs.sh ||
   12217     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12218 
   12219   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12220   if test $ac_delim_n = $ac_delim_num; then
   12221     break
   12222   elif $ac_last_try; then
   12223     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12224   else
   12225     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12226   fi
   12227 done
   12228 rm -f conf$$subs.sh
   12229 
   12230 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12231 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12232 _ACEOF
   12233 sed -n '
   12234 h
   12235 s/^/S["/; s/!.*/"]=/
   12236 p
   12237 g
   12238 s/^[^!]*!//
   12239 :repl
   12240 t repl
   12241 s/'"$ac_delim"'$//
   12242 t delim
   12243 :nl
   12244 h
   12245 s/\(.\{148\}\)..*/\1/
   12246 t more1
   12247 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12248 p
   12249 n
   12250 b repl
   12251 :more1
   12252 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12253 p
   12254 g
   12255 s/.\{148\}//
   12256 t nl
   12257 :delim
   12258 h
   12259 s/\(.\{148\}\)..*/\1/
   12260 t more2
   12261 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12262 p
   12263 b
   12264 :more2
   12265 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12266 p
   12267 g
   12268 s/.\{148\}//
   12269 t delim
   12270 ' <conf$$subs.awk | sed '
   12271 /^[^""]/{
   12272   N
   12273   s/\n//
   12274 }
   12275 ' >>$CONFIG_STATUS || ac_write_fail=1
   12276 rm -f conf$$subs.awk
   12277 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12278 _ACAWK
   12279 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12280   for (key in S) S_is_set[key] = 1
   12281   FS = ""
   12282 
   12283 }
   12284 {
   12285   line = $ 0
   12286   nfields = split(line, field, "@")
   12287   substed = 0
   12288   len = length(field[1])
   12289   for (i = 2; i < nfields; i++) {
   12290     key = field[i]
   12291     keylen = length(key)
   12292     if (S_is_set[key]) {
   12293       value = S[key]
   12294       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12295       len += length(value) + length(field[++i])
   12296       substed = 1
   12297     } else
   12298       len += 1 + keylen
   12299   }
   12300 
   12301   print line
   12302 }
   12303 
   12304 _ACAWK
   12305 _ACEOF
   12306 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12307 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12308   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12309 else
   12310   cat
   12311 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12312   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12313 _ACEOF
   12314 
   12315 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12316 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12317 # trailing colons and then remove the whole line if VPATH becomes empty
   12318 # (actually we leave an empty line to preserve line numbers).
   12319 if test "x$srcdir" = x.; then
   12320   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12321 h
   12322 s///
   12323 s/^/:/
   12324 s/[	 ]*$/:/
   12325 s/:\$(srcdir):/:/g
   12326 s/:\${srcdir}:/:/g
   12327 s/:@srcdir@:/:/g
   12328 s/^:*//
   12329 s/:*$//
   12330 x
   12331 s/\(=[	 ]*\).*/\1/
   12332 G
   12333 s/\n//
   12334 s/^[^=]*=[	 ]*$//
   12335 }'
   12336 fi
   12337 
   12338 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12339 fi # test -n "$CONFIG_FILES"
   12340 
   12341 # Set up the scripts for CONFIG_HEADERS section.
   12342 # No need to generate them if there are no CONFIG_HEADERS.
   12343 # This happens for instance with `./config.status Makefile'.
   12344 if test -n "$CONFIG_HEADERS"; then
   12345 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12346 BEGIN {
   12347 _ACEOF
   12348 
   12349 # Transform confdefs.h into an awk script `defines.awk', embedded as
   12350 # here-document in config.status, that substitutes the proper values into
   12351 # config.h.in to produce config.h.
   12352 
   12353 # Create a delimiter string that does not exist in confdefs.h, to ease
   12354 # handling of long lines.
   12355 ac_delim='%!_!# '
   12356 for ac_last_try in false false :; do
   12357   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12358   if test -z "$ac_tt"; then
   12359     break
   12360   elif $ac_last_try; then
   12361     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12362   else
   12363     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12364   fi
   12365 done
   12366 
   12367 # For the awk script, D is an array of macro values keyed by name,
   12368 # likewise P contains macro parameters if any.  Preserve backslash
   12369 # newline sequences.
   12370 
   12371 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12372 sed -n '
   12373 s/.\{148\}/&'"$ac_delim"'/g
   12374 t rset
   12375 :rset
   12376 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12377 t def
   12378 d
   12379 :def
   12380 s/\\$//
   12381 t bsnl
   12382 s/["\\]/\\&/g
   12383 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12384 D["\1"]=" \3"/p
   12385 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12386 d
   12387 :bsnl
   12388 s/["\\]/\\&/g
   12389 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12390 D["\1"]=" \3\\\\\\n"\\/p
   12391 t cont
   12392 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12393 t cont
   12394 d
   12395 :cont
   12396 n
   12397 s/.\{148\}/&'"$ac_delim"'/g
   12398 t clear
   12399 :clear
   12400 s/\\$//
   12401 t bsnlc
   12402 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12403 d
   12404 :bsnlc
   12405 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12406 b cont
   12407 ' <confdefs.h | sed '
   12408 s/'"$ac_delim"'/"\\\
   12409 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12410 
   12411 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12412   for (key in D) D_is_set[key] = 1
   12413   FS = ""
   12414 }
   12415 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12416   line = \$ 0
   12417   split(line, arg, " ")
   12418   if (arg[1] == "#") {
   12419     defundef = arg[2]
   12420     mac1 = arg[3]
   12421   } else {
   12422     defundef = substr(arg[1], 2)
   12423     mac1 = arg[2]
   12424   }
   12425   split(mac1, mac2, "(") #)
   12426   macro = mac2[1]
   12427   prefix = substr(line, 1, index(line, defundef) - 1)
   12428   if (D_is_set[macro]) {
   12429     # Preserve the white space surrounding the "#".
   12430     print prefix "define", macro P[macro] D[macro]
   12431     next
   12432   } else {
   12433     # Replace #undef with comments.  This is necessary, for example,
   12434     # in the case of _POSIX_SOURCE, which is predefined and required
   12435     # on some systems where configure will not decide to define it.
   12436     if (defundef == "undef") {
   12437       print "/*", prefix defundef, macro, "*/"
   12438       next
   12439     }
   12440   }
   12441 }
   12442 { print }
   12443 _ACAWK
   12444 _ACEOF
   12445 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12446   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12447 fi # test -n "$CONFIG_HEADERS"
   12448 
   12449 
   12450 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12451 shift
   12452 for ac_tag
   12453 do
   12454   case $ac_tag in
   12455   :[FHLC]) ac_mode=$ac_tag; continue;;
   12456   esac
   12457   case $ac_mode$ac_tag in
   12458   :[FHL]*:*);;
   12459   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12460   :[FH]-) ac_tag=-:-;;
   12461   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12462   esac
   12463   ac_save_IFS=$IFS
   12464   IFS=:
   12465   set x $ac_tag
   12466   IFS=$ac_save_IFS
   12467   shift
   12468   ac_file=$1
   12469   shift
   12470 
   12471   case $ac_mode in
   12472   :L) ac_source=$1;;
   12473   :[FH])
   12474     ac_file_inputs=
   12475     for ac_f
   12476     do
   12477       case $ac_f in
   12478       -) ac_f="$ac_tmp/stdin";;
   12479       *) # Look for the file first in the build tree, then in the source tree
   12480 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12481 	 # because $ac_f cannot contain `:'.
   12482 	 test -f "$ac_f" ||
   12483 	   case $ac_f in
   12484 	   [\\/$]*) false;;
   12485 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12486 	   esac ||
   12487 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12488       esac
   12489       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12490       as_fn_append ac_file_inputs " '$ac_f'"
   12491     done
   12492 
   12493     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12494     # use $as_me), people would be surprised to read:
   12495     #    /* config.h.  Generated by config.status.  */
   12496     configure_input='Generated from '`
   12497 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12498 	`' by configure.'
   12499     if test x"$ac_file" != x-; then
   12500       configure_input="$ac_file.  $configure_input"
   12501       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12502 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   12503     fi
   12504     # Neutralize special characters interpreted by sed in replacement strings.
   12505     case $configure_input in #(
   12506     *\&* | *\|* | *\\* )
   12507        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   12508        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12509     *) ac_sed_conf_input=$configure_input;;
   12510     esac
   12511 
   12512     case $ac_tag in
   12513     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12514       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12515     esac
   12516     ;;
   12517   esac
   12518 
   12519   ac_dir=`$as_dirname -- "$ac_file" ||
   12520 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12521 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12522 	 X"$ac_file" : 'X\(//\)$' \| \
   12523 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12524 printf "%s\n" X"$ac_file" |
   12525     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12526 	    s//\1/
   12527 	    q
   12528 	  }
   12529 	  /^X\(\/\/\)[^/].*/{
   12530 	    s//\1/
   12531 	    q
   12532 	  }
   12533 	  /^X\(\/\/\)$/{
   12534 	    s//\1/
   12535 	    q
   12536 	  }
   12537 	  /^X\(\/\).*/{
   12538 	    s//\1/
   12539 	    q
   12540 	  }
   12541 	  s/.*/./; q'`
   12542   as_dir="$ac_dir"; as_fn_mkdir_p
   12543   ac_builddir=.
   12544 
   12545 case "$ac_dir" in
   12546 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12547 *)
   12548   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   12549   # A ".." for each directory in $ac_dir_suffix.
   12550   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12551   case $ac_top_builddir_sub in
   12552   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12553   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12554   esac ;;
   12555 esac
   12556 ac_abs_top_builddir=$ac_pwd
   12557 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12558 # for backward compatibility:
   12559 ac_top_builddir=$ac_top_build_prefix
   12560 
   12561 case $srcdir in
   12562   .)  # We are building in place.
   12563     ac_srcdir=.
   12564     ac_top_srcdir=$ac_top_builddir_sub
   12565     ac_abs_top_srcdir=$ac_pwd ;;
   12566   [\\/]* | ?:[\\/]* )  # Absolute name.
   12567     ac_srcdir=$srcdir$ac_dir_suffix;
   12568     ac_top_srcdir=$srcdir
   12569     ac_abs_top_srcdir=$srcdir ;;
   12570   *) # Relative name.
   12571     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12572     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12573     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12574 esac
   12575 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12576 
   12577 
   12578   case $ac_mode in
   12579   :F)
   12580   #
   12581   # CONFIG_FILE
   12582   #
   12583 
   12584   case $INSTALL in
   12585   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12586   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12587   esac
   12588   ac_MKDIR_P=$MKDIR_P
   12589   case $MKDIR_P in
   12590   [\\/$]* | ?:[\\/]* ) ;;
   12591   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12592   esac
   12593 _ACEOF
   12594 
   12595 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12596 # If the template does not know about datarootdir, expand it.
   12597 # FIXME: This hack should be removed a few years after 2.60.
   12598 ac_datarootdir_hack=; ac_datarootdir_seen=
   12599 ac_sed_dataroot='
   12600 /datarootdir/ {
   12601   p
   12602   q
   12603 }
   12604 /@datadir@/p
   12605 /@docdir@/p
   12606 /@infodir@/p
   12607 /@localedir@/p
   12608 /@mandir@/p'
   12609 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12610 *datarootdir*) ac_datarootdir_seen=yes;;
   12611 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12612   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12613 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12614 _ACEOF
   12615 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12616   ac_datarootdir_hack='
   12617   s&@datadir@&$datadir&g
   12618   s&@docdir@&$docdir&g
   12619   s&@infodir@&$infodir&g
   12620   s&@localedir@&$localedir&g
   12621   s&@mandir@&$mandir&g
   12622   s&\\\${datarootdir}&$datarootdir&g' ;;
   12623 esac
   12624 _ACEOF
   12625 
   12626 # Neutralize VPATH when `$srcdir' = `.'.
   12627 # Shell code in configure.ac might set extrasub.
   12628 # FIXME: do we really want to maintain this feature?
   12629 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12630 ac_sed_extra="$ac_vpsub
   12631 $extrasub
   12632 _ACEOF
   12633 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12634 :t
   12635 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12636 s|@configure_input@|$ac_sed_conf_input|;t t
   12637 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12638 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12639 s&@srcdir@&$ac_srcdir&;t t
   12640 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12641 s&@top_srcdir@&$ac_top_srcdir&;t t
   12642 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12643 s&@builddir@&$ac_builddir&;t t
   12644 s&@abs_builddir@&$ac_abs_builddir&;t t
   12645 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12646 s&@INSTALL@&$ac_INSTALL&;t t
   12647 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12648 $ac_datarootdir_hack
   12649 "
   12650 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12651   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12652 
   12653 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12654   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12655   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12656       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12657   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12658 which seems to be undefined.  Please make sure it is defined" >&5
   12659 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12660 which seems to be undefined.  Please make sure it is defined" >&2;}
   12661 
   12662   rm -f "$ac_tmp/stdin"
   12663   case $ac_file in
   12664   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12665   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12666   esac \
   12667   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12668  ;;
   12669   :H)
   12670   #
   12671   # CONFIG_HEADER
   12672   #
   12673   if test x"$ac_file" != x-; then
   12674     {
   12675       printf "%s\n" "/* $configure_input  */" >&1 \
   12676       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12677     } >"$ac_tmp/config.h" \
   12678       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12679     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12680       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12681 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   12682     else
   12683       rm -f "$ac_file"
   12684       mv "$ac_tmp/config.h" "$ac_file" \
   12685 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12686     fi
   12687   else
   12688     printf "%s\n" "/* $configure_input  */" >&1 \
   12689       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12690       || as_fn_error $? "could not create -" "$LINENO" 5
   12691   fi
   12692 # Compute "$ac_file"'s index in $config_headers.
   12693 _am_arg="$ac_file"
   12694 _am_stamp_count=1
   12695 for _am_header in $config_headers :; do
   12696   case $_am_header in
   12697     $_am_arg | $_am_arg:* )
   12698       break ;;
   12699     * )
   12700       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12701   esac
   12702 done
   12703 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12704 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12705 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12706 	 X"$_am_arg" : 'X\(//\)$' \| \
   12707 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12708 printf "%s\n" X"$_am_arg" |
   12709     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12710 	    s//\1/
   12711 	    q
   12712 	  }
   12713 	  /^X\(\/\/\)[^/].*/{
   12714 	    s//\1/
   12715 	    q
   12716 	  }
   12717 	  /^X\(\/\/\)$/{
   12718 	    s//\1/
   12719 	    q
   12720 	  }
   12721 	  /^X\(\/\).*/{
   12722 	    s//\1/
   12723 	    q
   12724 	  }
   12725 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12726  ;;
   12727 
   12728   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12729 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   12730  ;;
   12731   esac
   12732 
   12733 
   12734   case $ac_file$ac_mode in
   12735     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12736   # Older Autoconf quotes --file arguments for eval, but not when files
   12737   # are listed without --file.  Let's play safe and only enable the eval
   12738   # if we detect the quoting.
   12739   # TODO: see whether this extra hack can be removed once we start
   12740   # requiring Autoconf 2.70 or later.
   12741   case $CONFIG_FILES in #(
   12742   *\'*) :
   12743     eval set x "$CONFIG_FILES" ;; #(
   12744   *) :
   12745     set x $CONFIG_FILES ;; #(
   12746   *) :
   12747      ;;
   12748 esac
   12749   shift
   12750   # Used to flag and report bootstrapping failures.
   12751   am_rc=0
   12752   for am_mf
   12753   do
   12754     # Strip MF so we end up with the name of the file.
   12755     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   12756     # Check whether this is an Automake generated Makefile which includes
   12757     # dependency-tracking related rules and includes.
   12758     # Grep'ing the whole file directly is not great: AIX grep has a line
   12759     # limit of 2048, but all sed's we know have understand at least 4000.
   12760     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   12761       || continue
   12762     am_dirpart=`$as_dirname -- "$am_mf" ||
   12763 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12764 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   12765 	 X"$am_mf" : 'X\(//\)$' \| \
   12766 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12767 printf "%s\n" X"$am_mf" |
   12768     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12769 	    s//\1/
   12770 	    q
   12771 	  }
   12772 	  /^X\(\/\/\)[^/].*/{
   12773 	    s//\1/
   12774 	    q
   12775 	  }
   12776 	  /^X\(\/\/\)$/{
   12777 	    s//\1/
   12778 	    q
   12779 	  }
   12780 	  /^X\(\/\).*/{
   12781 	    s//\1/
   12782 	    q
   12783 	  }
   12784 	  s/.*/./; q'`
   12785     am_filepart=`$as_basename -- "$am_mf" ||
   12786 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   12787 	 X"$am_mf" : 'X\(//\)$' \| \
   12788 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12789 printf "%s\n" X/"$am_mf" |
   12790     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12791 	    s//\1/
   12792 	    q
   12793 	  }
   12794 	  /^X\/\(\/\/\)$/{
   12795 	    s//\1/
   12796 	    q
   12797 	  }
   12798 	  /^X\/\(\/\).*/{
   12799 	    s//\1/
   12800 	    q
   12801 	  }
   12802 	  s/.*/./; q'`
   12803     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   12804       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12805         | $MAKE -f - am--depfiles" >&5
   12806    (cd "$am_dirpart" \
   12807       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12808         | $MAKE -f - am--depfiles) >&5 2>&5
   12809    ac_status=$?
   12810    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12811    (exit $ac_status); } || am_rc=$?
   12812   done
   12813   if test $am_rc -ne 0; then
   12814     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12815 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   12816 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   12817     for automatic dependency tracking.  If GNU make was not used, consider
   12818     re-running the configure script with MAKE=\"gmake\" (or whatever is
   12819     necessary).  You can also try re-running configure with the
   12820     '--disable-dependency-tracking' option to at least be able to build
   12821     the package (albeit without support for automatic dependency tracking).
   12822 See \`config.log' for more details" "$LINENO" 5; }
   12823   fi
   12824   { am_dirpart=; unset am_dirpart;}
   12825   { am_filepart=; unset am_filepart;}
   12826   { am_mf=; unset am_mf;}
   12827   { am_rc=; unset am_rc;}
   12828   rm -f conftest-deps.mk
   12829 }
   12830  ;;
   12831 
   12832   esac
   12833 done # for ac_tag
   12834 
   12835 
   12836 as_fn_exit 0
   12837 _ACEOF
   12838 ac_clean_files=$ac_clean_files_save
   12839 
   12840 test $ac_write_fail = 0 ||
   12841   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12842 
   12843 
   12844 # configure is writing to config.log, and then calls config.status.
   12845 # config.status does its own redirection, appending to config.log.
   12846 # Unfortunately, on DOS this fails, as config.log is still kept open
   12847 # by configure, so config.status won't be able to write to it; its
   12848 # output is simply discarded.  So we exec the FD to /dev/null,
   12849 # effectively closing config.log, so it can be properly (re)opened and
   12850 # appended to by config.status.  When coming back to configure, we
   12851 # need to make the FD available again.
   12852 if test "$no_create" != yes; then
   12853   ac_cs_success=:
   12854   ac_config_status_args=
   12855   test "$silent" = yes &&
   12856     ac_config_status_args="$ac_config_status_args --quiet"
   12857   exec 5>/dev/null
   12858   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12859   exec 5>>config.log
   12860   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12861   # would make configure fail if this is the last instruction.
   12862   $ac_cs_success || as_fn_exit 1
   12863 fi
   12864 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12865   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12866 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12867 fi
   12868 
   12869 
   12870