Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.6
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.72 for xsm 1.0.6.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xsm/-/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation,
      9 # Inc.
     10 #
     11 #
     12 # This configure script is free software; the Free Software Foundation
     13 # gives unlimited permission to copy, distribute and modify it.
     14 ## -------------------- ##
     15 ## M4sh Initialization. ##
     16 ## -------------------- ##
     17 
     18 # Be more Bourne compatible
     19 DUALCASE=1; export DUALCASE # for MKS sh
     20 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     21 then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else case e in #(
     29   e) case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac ;;
     35 esac
     36 fi
     37 
     38 
     39 
     40 # Reset variables that may have inherited troublesome values from
     41 # the environment.
     42 
     43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
     44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
     45 # side effect of setting IFS to empty, thus disabling word splitting.)
     46 # Quoting is to prevent editors from complaining about space-tab.
     47 as_nl='
     48 '
     49 export as_nl
     50 IFS=" ""	$as_nl"
     51 
     52 PS1='$ '
     53 PS2='> '
     54 PS4='+ '
     55 
     56 # Ensure predictable behavior from utilities with locale-dependent output.
     57 LC_ALL=C
     58 export LC_ALL
     59 LANGUAGE=C
     60 export LANGUAGE
     61 
     62 # We cannot yet rely on "unset" to work, but we need these variables
     63 # to be unset--not just set to an empty or harmless value--now, to
     64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
     65 # also avoids known problems related to "unset" and subshell syntax
     66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
     67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
     68 do eval test \${$as_var+y} \
     69   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     70 done
     71 
     72 # Ensure that fds 0, 1, and 2 are open.
     73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
     74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
     75 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
     76 
     77 # The user is always right.
     78 if ${PATH_SEPARATOR+false} :; then
     79   PATH_SEPARATOR=:
     80   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     81     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     82       PATH_SEPARATOR=';'
     83   }
     84 fi
     85 
     86 
     87 # Find who we are.  Look in the path if we contain no directory separator.
     88 as_myself=
     89 case $0 in #((
     90   *[\\/]* ) as_myself=$0 ;;
     91   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     92 for as_dir in $PATH
     93 do
     94   IFS=$as_save_IFS
     95   case $as_dir in #(((
     96     '') as_dir=./ ;;
     97     */) ;;
     98     *) as_dir=$as_dir/ ;;
     99   esac
    100     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as 'sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 
    117 # Use a proper internal environment variable to ensure we don't fall
    118   # into an infinite loop, continuously re-executing ourselves.
    119   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    120     _as_can_reexec=no; export _as_can_reexec;
    121     # We cannot yet assume a decent shell, so we have to provide a
    122 # neutralization value for shells without unset; and this also
    123 # works around shells that cannot unset nonexistent variables.
    124 # Preserve -v and -x to the replacement shell.
    125 BASH_ENV=/dev/null
    126 ENV=/dev/null
    127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    128 case $- in # ((((
    129   *v*x* | *x*v* ) as_opts=-vx ;;
    130   *v* ) as_opts=-v ;;
    131   *x* ) as_opts=-x ;;
    132   * ) as_opts= ;;
    133 esac
    134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    135 # Admittedly, this is quite paranoid, since all the known shells bail
    136 # out after a failed 'exec'.
    137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    138 exit 255
    139   fi
    140   # We don't want this to propagate to other subprocesses.
    141           { _as_can_reexec=; unset _as_can_reexec;}
    142 if test "x$CONFIG_SHELL" = x; then
    143   as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    144 then :
    145   emulate sh
    146   NULLCMD=:
    147   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    148   # is contrary to our usage.  Disable this feature.
    149   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    150   setopt NO_GLOB_SUBST
    151 else case e in #(
    152   e) case \`(set -o) 2>/dev/null\` in #(
    153   *posix*) :
    154     set -o posix ;; #(
    155   *) :
    156      ;;
    157 esac ;;
    158 esac
    159 fi
    160 "
    161   as_required="as_fn_return () { (exit \$1); }
    162 as_fn_success () { as_fn_return 0; }
    163 as_fn_failure () { as_fn_return 1; }
    164 as_fn_ret_success () { return 0; }
    165 as_fn_ret_failure () { return 1; }
    166 
    167 exitcode=0
    168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
    173 then :
    174 
    175 else case e in #(
    176   e) exitcode=1; echo positional parameters were not saved. ;;
    177 esac
    178 fi
    179 test x\$exitcode = x0 || exit 1
    180 blah=\$(echo \$(echo blah))
    181 test x\"\$blah\" = xblah || exit 1
    182 test -x / || exit 1"
    183   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    184   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    185   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    186   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    187 test \$(( 1 + 1 )) = 2 || exit 1"
    188   if (eval "$as_required") 2>/dev/null
    189 then :
    190   as_have_required=yes
    191 else case e in #(
    192   e) as_have_required=no ;;
    193 esac
    194 fi
    195   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    196 then :
    197 
    198 else case e in #(
    199   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    200 as_found=false
    201 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    202 do
    203   IFS=$as_save_IFS
    204   case $as_dir in #(((
    205     '') as_dir=./ ;;
    206     */) ;;
    207     *) as_dir=$as_dir/ ;;
    208   esac
    209   as_found=:
    210   case $as_dir in #(
    211 	 /*)
    212 	   for as_base in sh bash ksh sh5; do
    213 	     # Try only shells that exist, to save several forks.
    214 	     as_shell=$as_dir$as_base
    215 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    216 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    217 then :
    218   CONFIG_SHELL=$as_shell as_have_required=yes
    219 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    220 then :
    221   break 2
    222 fi
    223 fi
    224 	   done;;
    225        esac
    226   as_found=false
    227 done
    228 IFS=$as_save_IFS
    229 if $as_found
    230 then :
    231 
    232 else case e in #(
    233   e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    234 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    235 then :
    236   CONFIG_SHELL=$SHELL as_have_required=yes
    237 fi ;;
    238 esac
    239 fi
    240 
    241 
    242       if test "x$CONFIG_SHELL" != x
    243 then :
    244   export CONFIG_SHELL
    245              # We cannot yet assume a decent shell, so we have to provide a
    246 # neutralization value for shells without unset; and this also
    247 # works around shells that cannot unset nonexistent variables.
    248 # Preserve -v and -x to the replacement shell.
    249 BASH_ENV=/dev/null
    250 ENV=/dev/null
    251 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    252 case $- in # ((((
    253   *v*x* | *x*v* ) as_opts=-vx ;;
    254   *v* ) as_opts=-v ;;
    255   *x* ) as_opts=-x ;;
    256   * ) as_opts= ;;
    257 esac
    258 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    259 # Admittedly, this is quite paranoid, since all the known shells bail
    260 # out after a failed 'exec'.
    261 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    262 exit 255
    263 fi
    264 
    265     if test x$as_have_required = xno
    266 then :
    267   printf "%s\n" "$0: This script requires a shell more modern than all"
    268   printf "%s\n" "$0: the shells that I found on your system."
    269   if test ${ZSH_VERSION+y} ; then
    270     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    271     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    272   else
    273     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    274 $0: https://gitlab.freedesktop.org/xorg/app/xsm/-/issues
    275 $0: about your system, including any error possibly output
    276 $0: before this message. Then install a modern shell, or
    277 $0: manually run the script under such a shell if you do
    278 $0: have one."
    279   fi
    280   exit 1
    281 fi ;;
    282 esac
    283 fi
    284 fi
    285 SHELL=${CONFIG_SHELL-/bin/sh}
    286 export SHELL
    287 # Unset more variables known to interfere with behavior of common tools.
    288 CLICOLOR_FORCE= GREP_OPTIONS=
    289 unset CLICOLOR_FORCE GREP_OPTIONS
    290 
    291 ## --------------------- ##
    292 ## M4sh Shell Functions. ##
    293 ## --------------------- ##
    294 # as_fn_unset VAR
    295 # ---------------
    296 # Portably unset VAR.
    297 as_fn_unset ()
    298 {
    299   { eval $1=; unset $1;}
    300 }
    301 as_unset=as_fn_unset
    302 
    303 
    304 # as_fn_set_status STATUS
    305 # -----------------------
    306 # Set $? to STATUS, without forking.
    307 as_fn_set_status ()
    308 {
    309   return $1
    310 } # as_fn_set_status
    311 
    312 # as_fn_exit STATUS
    313 # -----------------
    314 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    315 as_fn_exit ()
    316 {
    317   set +e
    318   as_fn_set_status $1
    319   exit $1
    320 } # as_fn_exit
    321 
    322 # as_fn_mkdir_p
    323 # -------------
    324 # Create "$as_dir" as a directory, including parents if necessary.
    325 as_fn_mkdir_p ()
    326 {
    327 
    328   case $as_dir in #(
    329   -*) as_dir=./$as_dir;;
    330   esac
    331   test -d "$as_dir" || eval $as_mkdir_p || {
    332     as_dirs=
    333     while :; do
    334       case $as_dir in #(
    335       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    336       *) as_qdir=$as_dir;;
    337       esac
    338       as_dirs="'$as_qdir' $as_dirs"
    339       as_dir=`$as_dirname -- "$as_dir" ||
    340 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    341 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    342 	 X"$as_dir" : 'X\(//\)$' \| \
    343 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    344 printf "%s\n" X"$as_dir" |
    345     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    346 	    s//\1/
    347 	    q
    348 	  }
    349 	  /^X\(\/\/\)[^/].*/{
    350 	    s//\1/
    351 	    q
    352 	  }
    353 	  /^X\(\/\/\)$/{
    354 	    s//\1/
    355 	    q
    356 	  }
    357 	  /^X\(\/\).*/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  s/.*/./; q'`
    362       test -d "$as_dir" && break
    363     done
    364     test -z "$as_dirs" || eval "mkdir $as_dirs"
    365   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    366 
    367 
    368 } # as_fn_mkdir_p
    369 
    370 # as_fn_executable_p FILE
    371 # -----------------------
    372 # Test if FILE is an executable regular file.
    373 as_fn_executable_p ()
    374 {
    375   test -f "$1" && test -x "$1"
    376 } # as_fn_executable_p
    377 # as_fn_append VAR VALUE
    378 # ----------------------
    379 # Append the text in VALUE to the end of the definition contained in VAR. Take
    380 # advantage of any shell optimizations that allow amortized linear growth over
    381 # repeated appends, instead of the typical quadratic growth present in naive
    382 # implementations.
    383 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    384 then :
    385   eval 'as_fn_append ()
    386   {
    387     eval $1+=\$2
    388   }'
    389 else case e in #(
    390   e) as_fn_append ()
    391   {
    392     eval $1=\$$1\$2
    393   } ;;
    394 esac
    395 fi # as_fn_append
    396 
    397 # as_fn_arith ARG...
    398 # ------------------
    399 # Perform arithmetic evaluation on the ARGs, and store the result in the
    400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    401 # must be portable across $(()) and expr.
    402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    403 then :
    404   eval 'as_fn_arith ()
    405   {
    406     as_val=$(( $* ))
    407   }'
    408 else case e in #(
    409   e) as_fn_arith ()
    410   {
    411     as_val=`expr "$@" || test $? -eq 1`
    412   } ;;
    413 esac
    414 fi # as_fn_arith
    415 
    416 
    417 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    418 # ----------------------------------------
    419 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    420 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    421 # script with STATUS, using 1 if that was 0.
    422 as_fn_error ()
    423 {
    424   as_status=$1; test $as_status -eq 0 && as_status=1
    425   if test "$4"; then
    426     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    427     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    428   fi
    429   printf "%s\n" "$as_me: error: $2" >&2
    430   as_fn_exit $as_status
    431 } # as_fn_error
    432 
    433 if expr a : '\(a\)' >/dev/null 2>&1 &&
    434    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    435   as_expr=expr
    436 else
    437   as_expr=false
    438 fi
    439 
    440 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    441   as_basename=basename
    442 else
    443   as_basename=false
    444 fi
    445 
    446 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    447   as_dirname=dirname
    448 else
    449   as_dirname=false
    450 fi
    451 
    452 as_me=`$as_basename -- "$0" ||
    453 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    454 	 X"$0" : 'X\(//\)$' \| \
    455 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    456 printf "%s\n" X/"$0" |
    457     sed '/^.*\/\([^/][^/]*\)\/*$/{
    458 	    s//\1/
    459 	    q
    460 	  }
    461 	  /^X\/\(\/\/\)$/{
    462 	    s//\1/
    463 	    q
    464 	  }
    465 	  /^X\/\(\/\).*/{
    466 	    s//\1/
    467 	    q
    468 	  }
    469 	  s/.*/./; q'`
    470 
    471 # Avoid depending upon Character Ranges.
    472 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    473 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    474 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    475 as_cr_digits='0123456789'
    476 as_cr_alnum=$as_cr_Letters$as_cr_digits
    477 
    478 
    479   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    480   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    481   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    482   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    483   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    484   sed -n '
    485     p
    486     /[$]LINENO/=
    487   ' <$as_myself |
    488     sed '
    489       t clear
    490       :clear
    491       s/[$]LINENO.*/&-/
    492       t lineno
    493       b
    494       :lineno
    495       N
    496       :loop
    497       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    498       t loop
    499       s/-\n.*//
    500     ' >$as_me.lineno &&
    501   chmod +x "$as_me.lineno" ||
    502     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    503 
    504   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    505   # already done that, so ensure we don't try to do so again and fall
    506   # in an infinite loop.  This has already happened in practice.
    507   _as_can_reexec=no; export _as_can_reexec
    508   # Don't try to exec as it changes $[0], causing all sort of problems
    509   # (the dirname of $[0] is not the place where we might find the
    510   # original and so on.  Autoconf is especially sensitive to this).
    511   . "./$as_me.lineno"
    512   # Exit status is that of the last command.
    513   exit
    514 }
    515 
    516 
    517 # Determine whether it's possible to make 'echo' print without a newline.
    518 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    519 # for compatibility with existing Makefiles.
    520 ECHO_C= ECHO_N= ECHO_T=
    521 case `echo -n x` in #(((((
    522 -n*)
    523   case `echo 'xy\c'` in
    524   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    525   xy)  ECHO_C='\c';;
    526   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    527        ECHO_T='	';;
    528   esac;;
    529 *)
    530   ECHO_N='-n';;
    531 esac
    532 
    533 # For backward compatibility with old third-party macros, we provide
    534 # the shell variables $as_echo and $as_echo_n.  New code should use
    535 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    536 as_echo='printf %s\n'
    537 as_echo_n='printf %s'
    538 
    539 rm -f conf$$ conf$$.exe conf$$.file
    540 if test -d conf$$.dir; then
    541   rm -f conf$$.dir/conf$$.file
    542 else
    543   rm -f conf$$.dir
    544   mkdir conf$$.dir 2>/dev/null
    545 fi
    546 if (echo >conf$$.file) 2>/dev/null; then
    547   if ln -s conf$$.file conf$$ 2>/dev/null; then
    548     as_ln_s='ln -s'
    549     # ... but there are two gotchas:
    550     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
    551     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
    552     # In both cases, we have to default to 'cp -pR'.
    553     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    554       as_ln_s='cp -pR'
    555   elif ln conf$$.file conf$$ 2>/dev/null; then
    556     as_ln_s=ln
    557   else
    558     as_ln_s='cp -pR'
    559   fi
    560 else
    561   as_ln_s='cp -pR'
    562 fi
    563 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    564 rmdir conf$$.dir 2>/dev/null
    565 
    566 if mkdir -p . 2>/dev/null; then
    567   as_mkdir_p='mkdir -p "$as_dir"'
    568 else
    569   test -d ./-p && rmdir ./-p
    570   as_mkdir_p=false
    571 fi
    572 
    573 as_test_x='test -x'
    574 as_executable_p=as_fn_executable_p
    575 
    576 # Sed expression to map a string onto a valid CPP name.
    577 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
    578 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
    579 
    580 # Sed expression to map a string onto a valid variable name.
    581 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
    582 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
    583 
    584 
    585 test -n "$DJDIR" || exec 7<&0 </dev/null
    586 exec 6>&1
    587 
    588 # Name of the host.
    589 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    590 # so uname gets run too.
    591 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    592 
    593 #
    594 # Initializations.
    595 #
    596 ac_default_prefix=/usr/local
    597 ac_clean_files=
    598 ac_config_libobj_dir=.
    599 LIBOBJS=
    600 cross_compiling=no
    601 subdirs=
    602 MFLAGS=
    603 MAKEFLAGS=
    604 
    605 # Identity of this package.
    606 PACKAGE_NAME='xsm'
    607 PACKAGE_TARNAME='xsm'
    608 PACKAGE_VERSION='1.0.6'
    609 PACKAGE_STRING='xsm 1.0.6'
    610 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xsm/-/issues'
    611 PACKAGE_URL=''
    612 
    613 ac_unique_file="Makefile.am"
    614 # Factoring default headers for most tests.
    615 ac_includes_default="\
    616 #include <stddef.h>
    617 #ifdef HAVE_STDIO_H
    618 # include <stdio.h>
    619 #endif
    620 #ifdef HAVE_STDLIB_H
    621 # include <stdlib.h>
    622 #endif
    623 #ifdef HAVE_STRING_H
    624 # include <string.h>
    625 #endif
    626 #ifdef HAVE_INTTYPES_H
    627 # include <inttypes.h>
    628 #endif
    629 #ifdef HAVE_STDINT_H
    630 # include <stdint.h>
    631 #endif
    632 #ifdef HAVE_STRINGS_H
    633 # include <strings.h>
    634 #endif
    635 #ifdef HAVE_SYS_TYPES_H
    636 # include <sys/types.h>
    637 #endif
    638 #ifdef HAVE_SYS_STAT_H
    639 # include <sys/stat.h>
    640 #endif
    641 #ifdef HAVE_UNISTD_H
    642 # include <unistd.h>
    643 #endif"
    644 
    645 ac_header_c_list=
    646 ac_subst_vars='am__EXEEXT_FALSE
    647 am__EXEEXT_TRUE
    648 LTLIBOBJS
    649 LIBOBJS
    650 appdefaultdir
    651 XSM_LIBS
    652 XSM_CFLAGS
    653 RSH
    654 MAN_SUBSTS
    655 XORG_MAN_PAGE
    656 ADMIN_MAN_DIR
    657 DRIVER_MAN_DIR
    658 MISC_MAN_DIR
    659 FILE_MAN_DIR
    660 LIB_MAN_DIR
    661 APP_MAN_DIR
    662 ADMIN_MAN_SUFFIX
    663 DRIVER_MAN_SUFFIX
    664 MISC_MAN_SUFFIX
    665 FILE_MAN_SUFFIX
    666 LIB_MAN_SUFFIX
    667 APP_MAN_SUFFIX
    668 SED
    669 host_os
    670 host_vendor
    671 host_cpu
    672 host
    673 build_os
    674 build_vendor
    675 build_cpu
    676 build
    677 INSTALL_CMD
    678 PKG_CONFIG_LIBDIR
    679 PKG_CONFIG_PATH
    680 PKG_CONFIG
    681 CHANGELOG_CMD
    682 STRICT_CFLAGS
    683 CWARNFLAGS
    684 BASE_CFLAGS
    685 am__fastdepCC_FALSE
    686 am__fastdepCC_TRUE
    687 CCDEPMODE
    688 am__nodep
    689 AMDEPBACKSLASH
    690 AMDEP_FALSE
    691 AMDEP_TRUE
    692 am__include
    693 DEPDIR
    694 OBJEXT
    695 EXEEXT
    696 ac_ct_CC
    697 CPPFLAGS
    698 LDFLAGS
    699 CFLAGS
    700 CC
    701 AM_BACKSLASH
    702 AM_DEFAULT_VERBOSITY
    703 AM_DEFAULT_V
    704 AM_V
    705 CSCOPE
    706 ETAGS
    707 CTAGS
    708 am__untar
    709 am__tar
    710 AMTAR
    711 am__leading_dot
    712 SET_MAKE
    713 AWK
    714 mkdir_p
    715 MKDIR_P
    716 INSTALL_STRIP_PROGRAM
    717 STRIP
    718 install_sh
    719 MAKEINFO
    720 AUTOHEADER
    721 AUTOMAKE
    722 AUTOCONF
    723 ACLOCAL
    724 VERSION
    725 PACKAGE
    726 CYGPATH_W
    727 am__isrc
    728 INSTALL_DATA
    729 INSTALL_SCRIPT
    730 INSTALL_PROGRAM
    731 target_alias
    732 host_alias
    733 build_alias
    734 LIBS
    735 ECHO_T
    736 ECHO_N
    737 ECHO_C
    738 DEFS
    739 mandir
    740 localedir
    741 libdir
    742 psdir
    743 pdfdir
    744 dvidir
    745 htmldir
    746 infodir
    747 docdir
    748 oldincludedir
    749 includedir
    750 runstatedir
    751 localstatedir
    752 sharedstatedir
    753 sysconfdir
    754 datadir
    755 datarootdir
    756 libexecdir
    757 sbindir
    758 bindir
    759 program_transform_name
    760 prefix
    761 exec_prefix
    762 PACKAGE_URL
    763 PACKAGE_BUGREPORT
    764 PACKAGE_STRING
    765 PACKAGE_VERSION
    766 PACKAGE_TARNAME
    767 PACKAGE_NAME
    768 PATH_SEPARATOR
    769 SHELL
    770 am__quote'
    771 ac_subst_files=''
    772 ac_user_opts='
    773 enable_option_checking
    774 enable_silent_rules
    775 enable_dependency_tracking
    776 enable_selective_werror
    777 enable_strict_compilation
    778 with_rsh
    779 with_appdefaultdir
    780 '
    781       ac_precious_vars='build_alias
    782 host_alias
    783 target_alias
    784 CC
    785 CFLAGS
    786 LDFLAGS
    787 LIBS
    788 CPPFLAGS
    789 PKG_CONFIG
    790 PKG_CONFIG_PATH
    791 PKG_CONFIG_LIBDIR
    792 XSM_CFLAGS
    793 XSM_LIBS'
    794 
    795 
    796 # Initialize some variables set by options.
    797 ac_init_help=
    798 ac_init_version=false
    799 ac_unrecognized_opts=
    800 ac_unrecognized_sep=
    801 # The variables have the same names as the options, with
    802 # dashes changed to underlines.
    803 cache_file=/dev/null
    804 exec_prefix=NONE
    805 no_create=
    806 no_recursion=
    807 prefix=NONE
    808 program_prefix=NONE
    809 program_suffix=NONE
    810 program_transform_name=s,x,x,
    811 silent=
    812 site=
    813 srcdir=
    814 verbose=
    815 x_includes=NONE
    816 x_libraries=NONE
    817 
    818 # Installation directory options.
    819 # These are left unexpanded so users can "make install exec_prefix=/foo"
    820 # and all the variables that are supposed to be based on exec_prefix
    821 # by default will actually change.
    822 # Use braces instead of parens because sh, perl, etc. also accept them.
    823 # (The list follows the same order as the GNU Coding Standards.)
    824 bindir='${exec_prefix}/bin'
    825 sbindir='${exec_prefix}/sbin'
    826 libexecdir='${exec_prefix}/libexec'
    827 datarootdir='${prefix}/share'
    828 datadir='${datarootdir}'
    829 sysconfdir='${prefix}/etc'
    830 sharedstatedir='${prefix}/com'
    831 localstatedir='${prefix}/var'
    832 runstatedir='${localstatedir}/run'
    833 includedir='${prefix}/include'
    834 oldincludedir='/usr/include'
    835 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    836 infodir='${datarootdir}/info'
    837 htmldir='${docdir}'
    838 dvidir='${docdir}'
    839 pdfdir='${docdir}'
    840 psdir='${docdir}'
    841 libdir='${exec_prefix}/lib'
    842 localedir='${datarootdir}/locale'
    843 mandir='${datarootdir}/man'
    844 
    845 ac_prev=
    846 ac_dashdash=
    847 for ac_option
    848 do
    849   # If the previous option needs an argument, assign it.
    850   if test -n "$ac_prev"; then
    851     eval $ac_prev=\$ac_option
    852     ac_prev=
    853     continue
    854   fi
    855 
    856   case $ac_option in
    857   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    858   *=)   ac_optarg= ;;
    859   *)    ac_optarg=yes ;;
    860   esac
    861 
    862   case $ac_dashdash$ac_option in
    863   --)
    864     ac_dashdash=yes ;;
    865 
    866   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    867     ac_prev=bindir ;;
    868   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    869     bindir=$ac_optarg ;;
    870 
    871   -build | --build | --buil | --bui | --bu)
    872     ac_prev=build_alias ;;
    873   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    874     build_alias=$ac_optarg ;;
    875 
    876   -cache-file | --cache-file | --cache-fil | --cache-fi \
    877   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    878     ac_prev=cache_file ;;
    879   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    880   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    881     cache_file=$ac_optarg ;;
    882 
    883   --config-cache | -C)
    884     cache_file=config.cache ;;
    885 
    886   -datadir | --datadir | --datadi | --datad)
    887     ac_prev=datadir ;;
    888   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    889     datadir=$ac_optarg ;;
    890 
    891   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    892   | --dataroo | --dataro | --datar)
    893     ac_prev=datarootdir ;;
    894   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    895   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    896     datarootdir=$ac_optarg ;;
    897 
    898   -disable-* | --disable-*)
    899     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    900     # Reject names that are not valid shell variable names.
    901     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    902       as_fn_error $? "invalid feature name: '$ac_useropt'"
    903     ac_useropt_orig=$ac_useropt
    904     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    905     case $ac_user_opts in
    906       *"
    907 "enable_$ac_useropt"
    908 "*) ;;
    909       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    910 	 ac_unrecognized_sep=', ';;
    911     esac
    912     eval enable_$ac_useropt=no ;;
    913 
    914   -docdir | --docdir | --docdi | --doc | --do)
    915     ac_prev=docdir ;;
    916   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    917     docdir=$ac_optarg ;;
    918 
    919   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    920     ac_prev=dvidir ;;
    921   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    922     dvidir=$ac_optarg ;;
    923 
    924   -enable-* | --enable-*)
    925     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    926     # Reject names that are not valid shell variable names.
    927     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    928       as_fn_error $? "invalid feature name: '$ac_useropt'"
    929     ac_useropt_orig=$ac_useropt
    930     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    931     case $ac_user_opts in
    932       *"
    933 "enable_$ac_useropt"
    934 "*) ;;
    935       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    936 	 ac_unrecognized_sep=', ';;
    937     esac
    938     eval enable_$ac_useropt=\$ac_optarg ;;
    939 
    940   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    941   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    942   | --exec | --exe | --ex)
    943     ac_prev=exec_prefix ;;
    944   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    945   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    946   | --exec=* | --exe=* | --ex=*)
    947     exec_prefix=$ac_optarg ;;
    948 
    949   -gas | --gas | --ga | --g)
    950     # Obsolete; use --with-gas.
    951     with_gas=yes ;;
    952 
    953   -help | --help | --hel | --he | -h)
    954     ac_init_help=long ;;
    955   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    956     ac_init_help=recursive ;;
    957   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    958     ac_init_help=short ;;
    959 
    960   -host | --host | --hos | --ho)
    961     ac_prev=host_alias ;;
    962   -host=* | --host=* | --hos=* | --ho=*)
    963     host_alias=$ac_optarg ;;
    964 
    965   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    966     ac_prev=htmldir ;;
    967   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    968   | --ht=*)
    969     htmldir=$ac_optarg ;;
    970 
    971   -includedir | --includedir | --includedi | --included | --include \
    972   | --includ | --inclu | --incl | --inc)
    973     ac_prev=includedir ;;
    974   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    975   | --includ=* | --inclu=* | --incl=* | --inc=*)
    976     includedir=$ac_optarg ;;
    977 
    978   -infodir | --infodir | --infodi | --infod | --info | --inf)
    979     ac_prev=infodir ;;
    980   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    981     infodir=$ac_optarg ;;
    982 
    983   -libdir | --libdir | --libdi | --libd)
    984     ac_prev=libdir ;;
    985   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    986     libdir=$ac_optarg ;;
    987 
    988   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    989   | --libexe | --libex | --libe)
    990     ac_prev=libexecdir ;;
    991   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    992   | --libexe=* | --libex=* | --libe=*)
    993     libexecdir=$ac_optarg ;;
    994 
    995   -localedir | --localedir | --localedi | --localed | --locale)
    996     ac_prev=localedir ;;
    997   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    998     localedir=$ac_optarg ;;
    999 
   1000   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1001   | --localstate | --localstat | --localsta | --localst | --locals)
   1002     ac_prev=localstatedir ;;
   1003   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1004   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1005     localstatedir=$ac_optarg ;;
   1006 
   1007   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1008     ac_prev=mandir ;;
   1009   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1010     mandir=$ac_optarg ;;
   1011 
   1012   -nfp | --nfp | --nf)
   1013     # Obsolete; use --without-fp.
   1014     with_fp=no ;;
   1015 
   1016   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1017   | --no-cr | --no-c | -n)
   1018     no_create=yes ;;
   1019 
   1020   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1021   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1022     no_recursion=yes ;;
   1023 
   1024   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1025   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1026   | --oldin | --oldi | --old | --ol | --o)
   1027     ac_prev=oldincludedir ;;
   1028   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1029   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1030   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1031     oldincludedir=$ac_optarg ;;
   1032 
   1033   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1034     ac_prev=prefix ;;
   1035   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1036     prefix=$ac_optarg ;;
   1037 
   1038   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1039   | --program-pre | --program-pr | --program-p)
   1040     ac_prev=program_prefix ;;
   1041   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1042   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1043     program_prefix=$ac_optarg ;;
   1044 
   1045   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1046   | --program-suf | --program-su | --program-s)
   1047     ac_prev=program_suffix ;;
   1048   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1049   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1050     program_suffix=$ac_optarg ;;
   1051 
   1052   -program-transform-name | --program-transform-name \
   1053   | --program-transform-nam | --program-transform-na \
   1054   | --program-transform-n | --program-transform- \
   1055   | --program-transform | --program-transfor \
   1056   | --program-transfo | --program-transf \
   1057   | --program-trans | --program-tran \
   1058   | --progr-tra | --program-tr | --program-t)
   1059     ac_prev=program_transform_name ;;
   1060   -program-transform-name=* | --program-transform-name=* \
   1061   | --program-transform-nam=* | --program-transform-na=* \
   1062   | --program-transform-n=* | --program-transform-=* \
   1063   | --program-transform=* | --program-transfor=* \
   1064   | --program-transfo=* | --program-transf=* \
   1065   | --program-trans=* | --program-tran=* \
   1066   | --progr-tra=* | --program-tr=* | --program-t=*)
   1067     program_transform_name=$ac_optarg ;;
   1068 
   1069   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1070     ac_prev=pdfdir ;;
   1071   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1072     pdfdir=$ac_optarg ;;
   1073 
   1074   -psdir | --psdir | --psdi | --psd | --ps)
   1075     ac_prev=psdir ;;
   1076   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1077     psdir=$ac_optarg ;;
   1078 
   1079   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1080   | -silent | --silent | --silen | --sile | --sil)
   1081     silent=yes ;;
   1082 
   1083   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1084   | --runstate | --runstat | --runsta | --runst | --runs \
   1085   | --run | --ru | --r)
   1086     ac_prev=runstatedir ;;
   1087   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1088   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1089   | --run=* | --ru=* | --r=*)
   1090     runstatedir=$ac_optarg ;;
   1091 
   1092   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1093     ac_prev=sbindir ;;
   1094   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1095   | --sbi=* | --sb=*)
   1096     sbindir=$ac_optarg ;;
   1097 
   1098   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1099   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1100   | --sharedst | --shareds | --shared | --share | --shar \
   1101   | --sha | --sh)
   1102     ac_prev=sharedstatedir ;;
   1103   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1104   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1105   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1106   | --sha=* | --sh=*)
   1107     sharedstatedir=$ac_optarg ;;
   1108 
   1109   -site | --site | --sit)
   1110     ac_prev=site ;;
   1111   -site=* | --site=* | --sit=*)
   1112     site=$ac_optarg ;;
   1113 
   1114   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1115     ac_prev=srcdir ;;
   1116   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1117     srcdir=$ac_optarg ;;
   1118 
   1119   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1120   | --syscon | --sysco | --sysc | --sys | --sy)
   1121     ac_prev=sysconfdir ;;
   1122   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1123   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1124     sysconfdir=$ac_optarg ;;
   1125 
   1126   -target | --target | --targe | --targ | --tar | --ta | --t)
   1127     ac_prev=target_alias ;;
   1128   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1129     target_alias=$ac_optarg ;;
   1130 
   1131   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1132     verbose=yes ;;
   1133 
   1134   -version | --version | --versio | --versi | --vers | -V)
   1135     ac_init_version=: ;;
   1136 
   1137   -with-* | --with-*)
   1138     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1139     # Reject names that are not valid shell variable names.
   1140     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1141       as_fn_error $? "invalid package name: '$ac_useropt'"
   1142     ac_useropt_orig=$ac_useropt
   1143     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1144     case $ac_user_opts in
   1145       *"
   1146 "with_$ac_useropt"
   1147 "*) ;;
   1148       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1149 	 ac_unrecognized_sep=', ';;
   1150     esac
   1151     eval with_$ac_useropt=\$ac_optarg ;;
   1152 
   1153   -without-* | --without-*)
   1154     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1155     # Reject names that are not valid shell variable names.
   1156     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1157       as_fn_error $? "invalid package name: '$ac_useropt'"
   1158     ac_useropt_orig=$ac_useropt
   1159     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1160     case $ac_user_opts in
   1161       *"
   1162 "with_$ac_useropt"
   1163 "*) ;;
   1164       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1165 	 ac_unrecognized_sep=', ';;
   1166     esac
   1167     eval with_$ac_useropt=no ;;
   1168 
   1169   --x)
   1170     # Obsolete; use --with-x.
   1171     with_x=yes ;;
   1172 
   1173   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1174   | --x-incl | --x-inc | --x-in | --x-i)
   1175     ac_prev=x_includes ;;
   1176   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1177   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1178     x_includes=$ac_optarg ;;
   1179 
   1180   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1181   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1182     ac_prev=x_libraries ;;
   1183   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1184   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1185     x_libraries=$ac_optarg ;;
   1186 
   1187   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1188 Try '$0 --help' for more information"
   1189     ;;
   1190 
   1191   *=*)
   1192     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1193     # Reject names that are not valid shell variable names.
   1194     case $ac_envvar in #(
   1195       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1196       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1197     esac
   1198     eval $ac_envvar=\$ac_optarg
   1199     export $ac_envvar ;;
   1200 
   1201   *)
   1202     # FIXME: should be removed in autoconf 3.0.
   1203     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1204     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1205       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1206     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1207     ;;
   1208 
   1209   esac
   1210 done
   1211 
   1212 if test -n "$ac_prev"; then
   1213   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1214   as_fn_error $? "missing argument to $ac_option"
   1215 fi
   1216 
   1217 if test -n "$ac_unrecognized_opts"; then
   1218   case $enable_option_checking in
   1219     no) ;;
   1220     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1221     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1222   esac
   1223 fi
   1224 
   1225 # Check all directory arguments for consistency.
   1226 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1227 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1228 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1229 		libdir localedir mandir runstatedir
   1230 do
   1231   eval ac_val=\$$ac_var
   1232   # Remove trailing slashes.
   1233   case $ac_val in
   1234     */ )
   1235       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1236       eval $ac_var=\$ac_val;;
   1237   esac
   1238   # Be sure to have absolute directory names.
   1239   case $ac_val in
   1240     [\\/$]* | ?:[\\/]* )  continue;;
   1241     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1242   esac
   1243   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1244 done
   1245 
   1246 # There might be people who depend on the old broken behavior: '$host'
   1247 # used to hold the argument of --host etc.
   1248 # FIXME: To remove some day.
   1249 build=$build_alias
   1250 host=$host_alias
   1251 target=$target_alias
   1252 
   1253 # FIXME: To remove some day.
   1254 if test "x$host_alias" != x; then
   1255   if test "x$build_alias" = x; then
   1256     cross_compiling=maybe
   1257   elif test "x$build_alias" != "x$host_alias"; then
   1258     cross_compiling=yes
   1259   fi
   1260 fi
   1261 
   1262 ac_tool_prefix=
   1263 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1264 
   1265 test "$silent" = yes && exec 6>/dev/null
   1266 
   1267 
   1268 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1269 ac_ls_di=`ls -di .` &&
   1270 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1271   as_fn_error $? "working directory cannot be determined"
   1272 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1273   as_fn_error $? "pwd does not report name of working directory"
   1274 
   1275 
   1276 # Find the source files, if location was not specified.
   1277 if test -z "$srcdir"; then
   1278   ac_srcdir_defaulted=yes
   1279   # Try the directory containing this script, then the parent directory.
   1280   ac_confdir=`$as_dirname -- "$as_myself" ||
   1281 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1282 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1283 	 X"$as_myself" : 'X\(//\)$' \| \
   1284 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1285 printf "%s\n" X"$as_myself" |
   1286     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1287 	    s//\1/
   1288 	    q
   1289 	  }
   1290 	  /^X\(\/\/\)[^/].*/{
   1291 	    s//\1/
   1292 	    q
   1293 	  }
   1294 	  /^X\(\/\/\)$/{
   1295 	    s//\1/
   1296 	    q
   1297 	  }
   1298 	  /^X\(\/\).*/{
   1299 	    s//\1/
   1300 	    q
   1301 	  }
   1302 	  s/.*/./; q'`
   1303   srcdir=$ac_confdir
   1304   if test ! -r "$srcdir/$ac_unique_file"; then
   1305     srcdir=..
   1306   fi
   1307 else
   1308   ac_srcdir_defaulted=no
   1309 fi
   1310 if test ! -r "$srcdir/$ac_unique_file"; then
   1311   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1312   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1313 fi
   1314 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1315 ac_abs_confdir=`(
   1316 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1317 	pwd)`
   1318 # When building in place, set srcdir=.
   1319 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1320   srcdir=.
   1321 fi
   1322 # Remove unnecessary trailing slashes from srcdir.
   1323 # Double slashes in file names in object file debugging info
   1324 # mess up M-x gdb in Emacs.
   1325 case $srcdir in
   1326 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1327 esac
   1328 for ac_var in $ac_precious_vars; do
   1329   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1330   eval ac_env_${ac_var}_value=\$${ac_var}
   1331   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1332   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1333 done
   1334 
   1335 #
   1336 # Report the --help message.
   1337 #
   1338 if test "$ac_init_help" = "long"; then
   1339   # Omit some internal or obsolete options to make the list less imposing.
   1340   # This message is too long to be a string in the A/UX 3.1 sh.
   1341   cat <<_ACEOF
   1342 'configure' configures xsm 1.0.6 to adapt to many kinds of systems.
   1343 
   1344 Usage: $0 [OPTION]... [VAR=VALUE]...
   1345 
   1346 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1347 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1348 
   1349 Defaults for the options are specified in brackets.
   1350 
   1351 Configuration:
   1352   -h, --help              display this help and exit
   1353       --help=short        display options specific to this package
   1354       --help=recursive    display the short help of all the included packages
   1355   -V, --version           display version information and exit
   1356   -q, --quiet, --silent   do not print 'checking ...' messages
   1357       --cache-file=FILE   cache test results in FILE [disabled]
   1358   -C, --config-cache      alias for '--cache-file=config.cache'
   1359   -n, --no-create         do not create output files
   1360       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1361 
   1362 Installation directories:
   1363   --prefix=PREFIX         install architecture-independent files in PREFIX
   1364                           [$ac_default_prefix]
   1365   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1366                           [PREFIX]
   1367 
   1368 By default, 'make install' will install all the files in
   1369 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1370 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1371 for instance '--prefix=\$HOME'.
   1372 
   1373 For better control, use the options below.
   1374 
   1375 Fine tuning of the installation directories:
   1376   --bindir=DIR            user executables [EPREFIX/bin]
   1377   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1378   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1379   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1380   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1381   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1382   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1383   --libdir=DIR            object code libraries [EPREFIX/lib]
   1384   --includedir=DIR        C header files [PREFIX/include]
   1385   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1386   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1387   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1388   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1389   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1390   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1391   --docdir=DIR            documentation root [DATAROOTDIR/doc/xsm]
   1392   --htmldir=DIR           html documentation [DOCDIR]
   1393   --dvidir=DIR            dvi documentation [DOCDIR]
   1394   --pdfdir=DIR            pdf documentation [DOCDIR]
   1395   --psdir=DIR             ps documentation [DOCDIR]
   1396 _ACEOF
   1397 
   1398   cat <<\_ACEOF
   1399 
   1400 Program names:
   1401   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1402   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1403   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1404 
   1405 System types:
   1406   --build=BUILD     configure for building on BUILD [guessed]
   1407   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1408 _ACEOF
   1409 fi
   1410 
   1411 if test -n "$ac_init_help"; then
   1412   case $ac_init_help in
   1413      short | recursive ) echo "Configuration of xsm 1.0.6:";;
   1414    esac
   1415   cat <<\_ACEOF
   1416 
   1417 Optional Features:
   1418   --disable-option-checking  ignore unrecognized --enable/--with options
   1419   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1420   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1421   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1422   --disable-silent-rules  verbose build output (undo: "make V=0")
   1423   --enable-dependency-tracking
   1424                           do not reject slow dependency extractors
   1425   --disable-dependency-tracking
   1426                           speeds up one-time build
   1427   --disable-selective-werror
   1428                           Turn off selective compiler errors. (default:
   1429                           enabled)
   1430   --enable-strict-compilation
   1431                           Enable all warnings from compiler and make them
   1432                           errors (default: disabled)
   1433 
   1434 Optional Packages:
   1435   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1436   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1437   --with-rsh=PATH         Rsh command to use (default: $bindir/ssh)
   1438   --with-appdefaultdir=<pathname>
   1439                           specify directory for app-defaults files (default is
   1440                           autodetected)
   1441 
   1442 Some influential environment variables:
   1443   CC          C compiler command
   1444   CFLAGS      C compiler flags
   1445   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1446               nonstandard directory <lib dir>
   1447   LIBS        libraries to pass to the linker, e.g. -l<library>
   1448   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1449               you have headers in a nonstandard directory <include dir>
   1450   PKG_CONFIG  path to pkg-config utility
   1451   PKG_CONFIG_PATH
   1452               directories to add to pkg-config's search path
   1453   PKG_CONFIG_LIBDIR
   1454               path overriding pkg-config's built-in search path
   1455   XSM_CFLAGS  C compiler flags for XSM, overriding pkg-config
   1456   XSM_LIBS    linker flags for XSM, overriding pkg-config
   1457 
   1458 Use these variables to override the choices made by 'configure' or to help
   1459 it to find libraries and programs with nonstandard names/locations.
   1460 
   1461 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xsm/-/issues>.
   1462 _ACEOF
   1463 ac_status=$?
   1464 fi
   1465 
   1466 if test "$ac_init_help" = "recursive"; then
   1467   # If there are subdirs, report their specific --help.
   1468   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1469     test -d "$ac_dir" ||
   1470       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1471       continue
   1472     ac_builddir=.
   1473 
   1474 case "$ac_dir" in
   1475 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1476 *)
   1477   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1478   # A ".." for each directory in $ac_dir_suffix.
   1479   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1480   case $ac_top_builddir_sub in
   1481   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1482   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1483   esac ;;
   1484 esac
   1485 ac_abs_top_builddir=$ac_pwd
   1486 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1487 # for backward compatibility:
   1488 ac_top_builddir=$ac_top_build_prefix
   1489 
   1490 case $srcdir in
   1491   .)  # We are building in place.
   1492     ac_srcdir=.
   1493     ac_top_srcdir=$ac_top_builddir_sub
   1494     ac_abs_top_srcdir=$ac_pwd ;;
   1495   [\\/]* | ?:[\\/]* )  # Absolute name.
   1496     ac_srcdir=$srcdir$ac_dir_suffix;
   1497     ac_top_srcdir=$srcdir
   1498     ac_abs_top_srcdir=$srcdir ;;
   1499   *) # Relative name.
   1500     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1501     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1502     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1503 esac
   1504 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1505 
   1506     cd "$ac_dir" || { ac_status=$?; continue; }
   1507     # Check for configure.gnu first; this name is used for a wrapper for
   1508     # Metaconfig's "Configure" on case-insensitive file systems.
   1509     if test -f "$ac_srcdir/configure.gnu"; then
   1510       echo &&
   1511       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1512     elif test -f "$ac_srcdir/configure"; then
   1513       echo &&
   1514       $SHELL "$ac_srcdir/configure" --help=recursive
   1515     else
   1516       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1517     fi || ac_status=$?
   1518     cd "$ac_pwd" || { ac_status=$?; break; }
   1519   done
   1520 fi
   1521 
   1522 test -n "$ac_init_help" && exit $ac_status
   1523 if $ac_init_version; then
   1524   cat <<\_ACEOF
   1525 xsm configure 1.0.6
   1526 generated by GNU Autoconf 2.72
   1527 
   1528 Copyright (C) 2023 Free Software Foundation, Inc.
   1529 This configure script is free software; the Free Software Foundation
   1530 gives unlimited permission to copy, distribute and modify it.
   1531 _ACEOF
   1532   exit
   1533 fi
   1534 
   1535 ## ------------------------ ##
   1536 ## Autoconf initialization. ##
   1537 ## ------------------------ ##
   1538 
   1539 # ac_fn_c_try_compile LINENO
   1540 # --------------------------
   1541 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1542 ac_fn_c_try_compile ()
   1543 {
   1544   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1545   rm -f conftest.$ac_objext conftest.beam
   1546   if { { ac_try="$ac_compile"
   1547 case "(($ac_try" in
   1548   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1549   *) ac_try_echo=$ac_try;;
   1550 esac
   1551 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1552 printf "%s\n" "$ac_try_echo"; } >&5
   1553   (eval "$ac_compile") 2>conftest.err
   1554   ac_status=$?
   1555   if test -s conftest.err; then
   1556     grep -v '^ *+' conftest.err >conftest.er1
   1557     cat conftest.er1 >&5
   1558     mv -f conftest.er1 conftest.err
   1559   fi
   1560   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1561   test $ac_status = 0; } && {
   1562 	 test -z "$ac_c_werror_flag" ||
   1563 	 test ! -s conftest.err
   1564        } && test -s conftest.$ac_objext
   1565 then :
   1566   ac_retval=0
   1567 else case e in #(
   1568   e) printf "%s\n" "$as_me: failed program was:" >&5
   1569 sed 's/^/| /' conftest.$ac_ext >&5
   1570 
   1571 	ac_retval=1 ;;
   1572 esac
   1573 fi
   1574   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1575   as_fn_set_status $ac_retval
   1576 
   1577 } # ac_fn_c_try_compile
   1578 
   1579 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1580 # ------------------------------------------------------------------
   1581 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1582 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1583 ac_fn_check_decl ()
   1584 {
   1585   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1586   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1587   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1588 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1589 if eval test \${$3+y}
   1590 then :
   1591   printf %s "(cached) " >&6
   1592 else case e in #(
   1593   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1594   eval ac_save_FLAGS=\$$6
   1595   as_fn_append $6 " $5"
   1596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1597 /* end confdefs.h.  */
   1598 $4
   1599 int
   1600 main (void)
   1601 {
   1602 #ifndef $as_decl_name
   1603 #ifdef __cplusplus
   1604   (void) $as_decl_use;
   1605 #else
   1606   (void) $as_decl_name;
   1607 #endif
   1608 #endif
   1609 
   1610   ;
   1611   return 0;
   1612 }
   1613 _ACEOF
   1614 if ac_fn_c_try_compile "$LINENO"
   1615 then :
   1616   eval "$3=yes"
   1617 else case e in #(
   1618   e) eval "$3=no" ;;
   1619 esac
   1620 fi
   1621 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1622   eval $6=\$ac_save_FLAGS
   1623  ;;
   1624 esac
   1625 fi
   1626 eval ac_res=\$$3
   1627 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1628 printf "%s\n" "$ac_res" >&6; }
   1629   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1630 
   1631 } # ac_fn_check_decl
   1632 
   1633 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1634 # -------------------------------------------------------
   1635 # Tests whether HEADER exists and can be compiled using the include files in
   1636 # INCLUDES, setting the cache variable VAR accordingly.
   1637 ac_fn_c_check_header_compile ()
   1638 {
   1639   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1640   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1641 printf %s "checking for $2... " >&6; }
   1642 if eval test \${$3+y}
   1643 then :
   1644   printf %s "(cached) " >&6
   1645 else case e in #(
   1646   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1647 /* end confdefs.h.  */
   1648 $4
   1649 #include <$2>
   1650 _ACEOF
   1651 if ac_fn_c_try_compile "$LINENO"
   1652 then :
   1653   eval "$3=yes"
   1654 else case e in #(
   1655   e) eval "$3=no" ;;
   1656 esac
   1657 fi
   1658 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1659 esac
   1660 fi
   1661 eval ac_res=\$$3
   1662 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1663 printf "%s\n" "$ac_res" >&6; }
   1664   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1665 
   1666 } # ac_fn_c_check_header_compile
   1667 
   1668 # ac_fn_c_try_link LINENO
   1669 # -----------------------
   1670 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1671 ac_fn_c_try_link ()
   1672 {
   1673   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1674   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1675   if { { ac_try="$ac_link"
   1676 case "(($ac_try" in
   1677   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1678   *) ac_try_echo=$ac_try;;
   1679 esac
   1680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1681 printf "%s\n" "$ac_try_echo"; } >&5
   1682   (eval "$ac_link") 2>conftest.err
   1683   ac_status=$?
   1684   if test -s conftest.err; then
   1685     grep -v '^ *+' conftest.err >conftest.er1
   1686     cat conftest.er1 >&5
   1687     mv -f conftest.er1 conftest.err
   1688   fi
   1689   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1690   test $ac_status = 0; } && {
   1691 	 test -z "$ac_c_werror_flag" ||
   1692 	 test ! -s conftest.err
   1693        } && test -s conftest$ac_exeext && {
   1694 	 test "$cross_compiling" = yes ||
   1695 	 test -x conftest$ac_exeext
   1696        }
   1697 then :
   1698   ac_retval=0
   1699 else case e in #(
   1700   e) printf "%s\n" "$as_me: failed program was:" >&5
   1701 sed 's/^/| /' conftest.$ac_ext >&5
   1702 
   1703 	ac_retval=1 ;;
   1704 esac
   1705 fi
   1706   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1707   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1708   # interfere with the next link command; also delete a directory that is
   1709   # left behind by Apple's compiler.  We do this before executing the actions.
   1710   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1711   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1712   as_fn_set_status $ac_retval
   1713 
   1714 } # ac_fn_c_try_link
   1715 
   1716 # ac_fn_c_check_func LINENO FUNC VAR
   1717 # ----------------------------------
   1718 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1719 ac_fn_c_check_func ()
   1720 {
   1721   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1722   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1723 printf %s "checking for $2... " >&6; }
   1724 if eval test \${$3+y}
   1725 then :
   1726   printf %s "(cached) " >&6
   1727 else case e in #(
   1728   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1729 /* end confdefs.h.  */
   1730 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1731    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1732 #define $2 innocuous_$2
   1733 
   1734 /* System header to define __stub macros and hopefully few prototypes,
   1735    which can conflict with char $2 (void); below.  */
   1736 
   1737 #include <limits.h>
   1738 #undef $2
   1739 
   1740 /* Override any GCC internal prototype to avoid an error.
   1741    Use char because int might match the return type of a GCC
   1742    builtin and then its argument prototype would still apply.  */
   1743 #ifdef __cplusplus
   1744 extern "C"
   1745 #endif
   1746 char $2 (void);
   1747 /* The GNU C library defines this for functions which it implements
   1748     to always fail with ENOSYS.  Some functions are actually named
   1749     something starting with __ and the normal name is an alias.  */
   1750 #if defined __stub_$2 || defined __stub___$2
   1751 choke me
   1752 #endif
   1753 
   1754 int
   1755 main (void)
   1756 {
   1757 return $2 ();
   1758   ;
   1759   return 0;
   1760 }
   1761 _ACEOF
   1762 if ac_fn_c_try_link "$LINENO"
   1763 then :
   1764   eval "$3=yes"
   1765 else case e in #(
   1766   e) eval "$3=no" ;;
   1767 esac
   1768 fi
   1769 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1770     conftest$ac_exeext conftest.$ac_ext ;;
   1771 esac
   1772 fi
   1773 eval ac_res=\$$3
   1774 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1775 printf "%s\n" "$ac_res" >&6; }
   1776   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1777 
   1778 } # ac_fn_c_check_func
   1779 ac_configure_args_raw=
   1780 for ac_arg
   1781 do
   1782   case $ac_arg in
   1783   *\'*)
   1784     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1785   esac
   1786   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1787 done
   1788 
   1789 case $ac_configure_args_raw in
   1790   *$as_nl*)
   1791     ac_safe_unquote= ;;
   1792   *)
   1793     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1794     ac_unsafe_a="$ac_unsafe_z#~"
   1795     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1796     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1797 esac
   1798 
   1799 cat >config.log <<_ACEOF
   1800 This file contains any messages produced by compilers while
   1801 running configure, to aid debugging if configure makes a mistake.
   1802 
   1803 It was created by xsm $as_me 1.0.6, which was
   1804 generated by GNU Autoconf 2.72.  Invocation command line was
   1805 
   1806   $ $0$ac_configure_args_raw
   1807 
   1808 _ACEOF
   1809 exec 5>>config.log
   1810 {
   1811 cat <<_ASUNAME
   1812 ## --------- ##
   1813 ## Platform. ##
   1814 ## --------- ##
   1815 
   1816 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1817 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1818 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1819 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1820 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1821 
   1822 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1823 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1824 
   1825 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1826 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1827 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1828 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1829 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1830 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1831 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1832 
   1833 _ASUNAME
   1834 
   1835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1836 for as_dir in $PATH
   1837 do
   1838   IFS=$as_save_IFS
   1839   case $as_dir in #(((
   1840     '') as_dir=./ ;;
   1841     */) ;;
   1842     *) as_dir=$as_dir/ ;;
   1843   esac
   1844     printf "%s\n" "PATH: $as_dir"
   1845   done
   1846 IFS=$as_save_IFS
   1847 
   1848 } >&5
   1849 
   1850 cat >&5 <<_ACEOF
   1851 
   1852 
   1853 ## ----------- ##
   1854 ## Core tests. ##
   1855 ## ----------- ##
   1856 
   1857 _ACEOF
   1858 
   1859 
   1860 # Keep a trace of the command line.
   1861 # Strip out --no-create and --no-recursion so they do not pile up.
   1862 # Strip out --silent because we don't want to record it for future runs.
   1863 # Also quote any args containing shell meta-characters.
   1864 # Make two passes to allow for proper duplicate-argument suppression.
   1865 ac_configure_args=
   1866 ac_configure_args0=
   1867 ac_configure_args1=
   1868 ac_must_keep_next=false
   1869 for ac_pass in 1 2
   1870 do
   1871   for ac_arg
   1872   do
   1873     case $ac_arg in
   1874     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1875     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1876     | -silent | --silent | --silen | --sile | --sil)
   1877       continue ;;
   1878     *\'*)
   1879       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1880     esac
   1881     case $ac_pass in
   1882     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1883     2)
   1884       as_fn_append ac_configure_args1 " '$ac_arg'"
   1885       if test $ac_must_keep_next = true; then
   1886 	ac_must_keep_next=false # Got value, back to normal.
   1887       else
   1888 	case $ac_arg in
   1889 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1890 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1891 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1892 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1893 	    case "$ac_configure_args0 " in
   1894 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1895 	    esac
   1896 	    ;;
   1897 	  -* ) ac_must_keep_next=true ;;
   1898 	esac
   1899       fi
   1900       as_fn_append ac_configure_args " '$ac_arg'"
   1901       ;;
   1902     esac
   1903   done
   1904 done
   1905 { ac_configure_args0=; unset ac_configure_args0;}
   1906 { ac_configure_args1=; unset ac_configure_args1;}
   1907 
   1908 # When interrupted or exit'd, cleanup temporary files, and complete
   1909 # config.log.  We remove comments because anyway the quotes in there
   1910 # would cause problems or look ugly.
   1911 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1912 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1913 trap 'exit_status=$?
   1914   # Sanitize IFS.
   1915   IFS=" ""	$as_nl"
   1916   # Save into config.log some information that might help in debugging.
   1917   {
   1918     echo
   1919 
   1920     printf "%s\n" "## ---------------- ##
   1921 ## Cache variables. ##
   1922 ## ---------------- ##"
   1923     echo
   1924     # The following way of writing the cache mishandles newlines in values,
   1925 (
   1926   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1927     eval ac_val=\$$ac_var
   1928     case $ac_val in #(
   1929     *${as_nl}*)
   1930       case $ac_var in #(
   1931       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1932 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1933       esac
   1934       case $ac_var in #(
   1935       _ | IFS | as_nl) ;; #(
   1936       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1937       *) { eval $ac_var=; unset $ac_var;} ;;
   1938       esac ;;
   1939     esac
   1940   done
   1941   (set) 2>&1 |
   1942     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1943     *${as_nl}ac_space=\ *)
   1944       sed -n \
   1945 	"s/'\''/'\''\\\\'\'''\''/g;
   1946 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1947       ;; #(
   1948     *)
   1949       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1950       ;;
   1951     esac |
   1952     sort
   1953 )
   1954     echo
   1955 
   1956     printf "%s\n" "## ----------------- ##
   1957 ## Output variables. ##
   1958 ## ----------------- ##"
   1959     echo
   1960     for ac_var in $ac_subst_vars
   1961     do
   1962       eval ac_val=\$$ac_var
   1963       case $ac_val in
   1964       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1965       esac
   1966       printf "%s\n" "$ac_var='\''$ac_val'\''"
   1967     done | sort
   1968     echo
   1969 
   1970     if test -n "$ac_subst_files"; then
   1971       printf "%s\n" "## ------------------- ##
   1972 ## File substitutions. ##
   1973 ## ------------------- ##"
   1974       echo
   1975       for ac_var in $ac_subst_files
   1976       do
   1977 	eval ac_val=\$$ac_var
   1978 	case $ac_val in
   1979 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1980 	esac
   1981 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   1982       done | sort
   1983       echo
   1984     fi
   1985 
   1986     if test -s confdefs.h; then
   1987       printf "%s\n" "## ----------- ##
   1988 ## confdefs.h. ##
   1989 ## ----------- ##"
   1990       echo
   1991       cat confdefs.h
   1992       echo
   1993     fi
   1994     test "$ac_signal" != 0 &&
   1995       printf "%s\n" "$as_me: caught signal $ac_signal"
   1996     printf "%s\n" "$as_me: exit $exit_status"
   1997   } >&5
   1998   rm -f core *.core core.conftest.* &&
   1999     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2000     exit $exit_status
   2001 ' 0
   2002 for ac_signal in 1 2 13 15; do
   2003   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2004 done
   2005 ac_signal=0
   2006 
   2007 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2008 rm -f -r conftest* confdefs.h
   2009 
   2010 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2011 
   2012 # Predefined preprocessor variables.
   2013 
   2014 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2015 
   2016 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2017 
   2018 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2019 
   2020 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2021 
   2022 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2023 
   2024 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2025 
   2026 
   2027 # Let the site file select an alternate cache file if it wants to.
   2028 # Prefer an explicitly selected file to automatically selected ones.
   2029 if test -n "$CONFIG_SITE"; then
   2030   ac_site_files="$CONFIG_SITE"
   2031 elif test "x$prefix" != xNONE; then
   2032   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2033 else
   2034   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2035 fi
   2036 
   2037 for ac_site_file in $ac_site_files
   2038 do
   2039   case $ac_site_file in #(
   2040   */*) :
   2041      ;; #(
   2042   *) :
   2043     ac_site_file=./$ac_site_file ;;
   2044 esac
   2045   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2046     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2047 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2048     sed 's/^/| /' "$ac_site_file" >&5
   2049     . "$ac_site_file" \
   2050       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2051 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2052 as_fn_error $? "failed to load site script $ac_site_file
   2053 See 'config.log' for more details" "$LINENO" 5; }
   2054   fi
   2055 done
   2056 
   2057 if test -r "$cache_file"; then
   2058   # Some versions of bash will fail to source /dev/null (special files
   2059   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2060   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2061     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2062 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2063     case $cache_file in
   2064       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2065       *)                      . "./$cache_file";;
   2066     esac
   2067   fi
   2068 else
   2069   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2070 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2071   >$cache_file
   2072 fi
   2073 
   2074 # Test code for whether the C compiler supports C89 (global declarations)
   2075 ac_c_conftest_c89_globals='
   2076 /* Does the compiler advertise C89 conformance?
   2077    Do not test the value of __STDC__, because some compilers set it to 0
   2078    while being otherwise adequately conformant. */
   2079 #if !defined __STDC__
   2080 # error "Compiler does not advertise C89 conformance"
   2081 #endif
   2082 
   2083 #include <stddef.h>
   2084 #include <stdarg.h>
   2085 struct stat;
   2086 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2087 struct buf { int x; };
   2088 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2089 static char *e (char **p, int i)
   2090 {
   2091   return p[i];
   2092 }
   2093 static char *f (char * (*g) (char **, int), char **p, ...)
   2094 {
   2095   char *s;
   2096   va_list v;
   2097   va_start (v,p);
   2098   s = g (p, va_arg (v,int));
   2099   va_end (v);
   2100   return s;
   2101 }
   2102 
   2103 /* C89 style stringification. */
   2104 #define noexpand_stringify(a) #a
   2105 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2106 
   2107 /* C89 style token pasting.  Exercises some of the corner cases that
   2108    e.g. old MSVC gets wrong, but not very hard. */
   2109 #define noexpand_concat(a,b) a##b
   2110 #define expand_concat(a,b) noexpand_concat(a,b)
   2111 extern int vA;
   2112 extern int vbee;
   2113 #define aye A
   2114 #define bee B
   2115 int *pvA = &expand_concat(v,aye);
   2116 int *pvbee = &noexpand_concat(v,bee);
   2117 
   2118 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2119    function prototypes and stuff, but not \xHH hex character constants.
   2120    These do not provoke an error unfortunately, instead are silently treated
   2121    as an "x".  The following induces an error, until -std is added to get
   2122    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2123    array size at least.  It is necessary to write \x00 == 0 to get something
   2124    that is true only with -std.  */
   2125 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2126 
   2127 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2128    inside strings and character constants.  */
   2129 #define FOO(x) '\''x'\''
   2130 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2131 
   2132 int test (int i, double x);
   2133 struct s1 {int (*f) (int a);};
   2134 struct s2 {int (*f) (double a);};
   2135 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2136                int, int);'
   2137 
   2138 # Test code for whether the C compiler supports C89 (body of main).
   2139 ac_c_conftest_c89_main='
   2140 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2141 '
   2142 
   2143 # Test code for whether the C compiler supports C99 (global declarations)
   2144 ac_c_conftest_c99_globals='
   2145 /* Does the compiler advertise C99 conformance? */
   2146 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2147 # error "Compiler does not advertise C99 conformance"
   2148 #endif
   2149 
   2150 // See if C++-style comments work.
   2151 
   2152 #include <stdbool.h>
   2153 extern int puts (const char *);
   2154 extern int printf (const char *, ...);
   2155 extern int dprintf (int, const char *, ...);
   2156 extern void *malloc (size_t);
   2157 extern void free (void *);
   2158 
   2159 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2160 // dprintf is used instead of fprintf to avoid needing to declare
   2161 // FILE and stderr.
   2162 #define debug(...) dprintf (2, __VA_ARGS__)
   2163 #define showlist(...) puts (#__VA_ARGS__)
   2164 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2165 static void
   2166 test_varargs_macros (void)
   2167 {
   2168   int x = 1234;
   2169   int y = 5678;
   2170   debug ("Flag");
   2171   debug ("X = %d\n", x);
   2172   showlist (The first, second, and third items.);
   2173   report (x>y, "x is %d but y is %d", x, y);
   2174 }
   2175 
   2176 // Check long long types.
   2177 #define BIG64 18446744073709551615ull
   2178 #define BIG32 4294967295ul
   2179 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2180 #if !BIG_OK
   2181   #error "your preprocessor is broken"
   2182 #endif
   2183 #if BIG_OK
   2184 #else
   2185   #error "your preprocessor is broken"
   2186 #endif
   2187 static long long int bignum = -9223372036854775807LL;
   2188 static unsigned long long int ubignum = BIG64;
   2189 
   2190 struct incomplete_array
   2191 {
   2192   int datasize;
   2193   double data[];
   2194 };
   2195 
   2196 struct named_init {
   2197   int number;
   2198   const wchar_t *name;
   2199   double average;
   2200 };
   2201 
   2202 typedef const char *ccp;
   2203 
   2204 static inline int
   2205 test_restrict (ccp restrict text)
   2206 {
   2207   // Iterate through items via the restricted pointer.
   2208   // Also check for declarations in for loops.
   2209   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2210     continue;
   2211   return 0;
   2212 }
   2213 
   2214 // Check varargs and va_copy.
   2215 static bool
   2216 test_varargs (const char *format, ...)
   2217 {
   2218   va_list args;
   2219   va_start (args, format);
   2220   va_list args_copy;
   2221   va_copy (args_copy, args);
   2222 
   2223   const char *str = "";
   2224   int number = 0;
   2225   float fnumber = 0;
   2226 
   2227   while (*format)
   2228     {
   2229       switch (*format++)
   2230 	{
   2231 	case '\''s'\'': // string
   2232 	  str = va_arg (args_copy, const char *);
   2233 	  break;
   2234 	case '\''d'\'': // int
   2235 	  number = va_arg (args_copy, int);
   2236 	  break;
   2237 	case '\''f'\'': // float
   2238 	  fnumber = va_arg (args_copy, double);
   2239 	  break;
   2240 	default:
   2241 	  break;
   2242 	}
   2243     }
   2244   va_end (args_copy);
   2245   va_end (args);
   2246 
   2247   return *str && number && fnumber;
   2248 }
   2249 '
   2250 
   2251 # Test code for whether the C compiler supports C99 (body of main).
   2252 ac_c_conftest_c99_main='
   2253   // Check bool.
   2254   _Bool success = false;
   2255   success |= (argc != 0);
   2256 
   2257   // Check restrict.
   2258   if (test_restrict ("String literal") == 0)
   2259     success = true;
   2260   char *restrict newvar = "Another string";
   2261 
   2262   // Check varargs.
   2263   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2264   test_varargs_macros ();
   2265 
   2266   // Check flexible array members.
   2267   struct incomplete_array *ia =
   2268     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2269   ia->datasize = 10;
   2270   for (int i = 0; i < ia->datasize; ++i)
   2271     ia->data[i] = i * 1.234;
   2272   // Work around memory leak warnings.
   2273   free (ia);
   2274 
   2275   // Check named initializers.
   2276   struct named_init ni = {
   2277     .number = 34,
   2278     .name = L"Test wide string",
   2279     .average = 543.34343,
   2280   };
   2281 
   2282   ni.number = 58;
   2283 
   2284   int dynamic_array[ni.number];
   2285   dynamic_array[0] = argv[0][0];
   2286   dynamic_array[ni.number - 1] = 543;
   2287 
   2288   // work around unused variable warnings
   2289   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2290 	 || dynamic_array[ni.number - 1] != 543);
   2291 '
   2292 
   2293 # Test code for whether the C compiler supports C11 (global declarations)
   2294 ac_c_conftest_c11_globals='
   2295 /* Does the compiler advertise C11 conformance? */
   2296 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2297 # error "Compiler does not advertise C11 conformance"
   2298 #endif
   2299 
   2300 // Check _Alignas.
   2301 char _Alignas (double) aligned_as_double;
   2302 char _Alignas (0) no_special_alignment;
   2303 extern char aligned_as_int;
   2304 char _Alignas (0) _Alignas (int) aligned_as_int;
   2305 
   2306 // Check _Alignof.
   2307 enum
   2308 {
   2309   int_alignment = _Alignof (int),
   2310   int_array_alignment = _Alignof (int[100]),
   2311   char_alignment = _Alignof (char)
   2312 };
   2313 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2314 
   2315 // Check _Noreturn.
   2316 int _Noreturn does_not_return (void) { for (;;) continue; }
   2317 
   2318 // Check _Static_assert.
   2319 struct test_static_assert
   2320 {
   2321   int x;
   2322   _Static_assert (sizeof (int) <= sizeof (long int),
   2323                   "_Static_assert does not work in struct");
   2324   long int y;
   2325 };
   2326 
   2327 // Check UTF-8 literals.
   2328 #define u8 syntax error!
   2329 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2330 
   2331 // Check duplicate typedefs.
   2332 typedef long *long_ptr;
   2333 typedef long int *long_ptr;
   2334 typedef long_ptr long_ptr;
   2335 
   2336 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2337 struct anonymous
   2338 {
   2339   union {
   2340     struct { int i; int j; };
   2341     struct { int k; long int l; } w;
   2342   };
   2343   int m;
   2344 } v1;
   2345 '
   2346 
   2347 # Test code for whether the C compiler supports C11 (body of main).
   2348 ac_c_conftest_c11_main='
   2349   _Static_assert ((offsetof (struct anonymous, i)
   2350 		   == offsetof (struct anonymous, w.k)),
   2351 		  "Anonymous union alignment botch");
   2352   v1.i = 2;
   2353   v1.w.k = 5;
   2354   ok |= v1.i != 5;
   2355 '
   2356 
   2357 # Test code for whether the C compiler supports C11 (complete).
   2358 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2359 ${ac_c_conftest_c99_globals}
   2360 ${ac_c_conftest_c11_globals}
   2361 
   2362 int
   2363 main (int argc, char **argv)
   2364 {
   2365   int ok = 0;
   2366   ${ac_c_conftest_c89_main}
   2367   ${ac_c_conftest_c99_main}
   2368   ${ac_c_conftest_c11_main}
   2369   return ok;
   2370 }
   2371 "
   2372 
   2373 # Test code for whether the C compiler supports C99 (complete).
   2374 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2375 ${ac_c_conftest_c99_globals}
   2376 
   2377 int
   2378 main (int argc, char **argv)
   2379 {
   2380   int ok = 0;
   2381   ${ac_c_conftest_c89_main}
   2382   ${ac_c_conftest_c99_main}
   2383   return ok;
   2384 }
   2385 "
   2386 
   2387 # Test code for whether the C compiler supports C89 (complete).
   2388 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2389 
   2390 int
   2391 main (int argc, char **argv)
   2392 {
   2393   int ok = 0;
   2394   ${ac_c_conftest_c89_main}
   2395   return ok;
   2396 }
   2397 "
   2398 
   2399 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2400 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2401 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2402 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2403 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2404 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2405 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2406 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2407 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2408 
   2409 # Auxiliary files required by this configure script.
   2410 ac_aux_files="config.guess config.sub compile missing install-sh"
   2411 
   2412 # Locations in which to look for auxiliary files.
   2413 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2414 
   2415 # Search for a directory containing all of the required auxiliary files,
   2416 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2417 # If we don't find one directory that contains all the files we need,
   2418 # we report the set of missing files from the *first* directory in
   2419 # $ac_aux_dir_candidates and give up.
   2420 ac_missing_aux_files=""
   2421 ac_first_candidate=:
   2422 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2424 as_found=false
   2425 for as_dir in $ac_aux_dir_candidates
   2426 do
   2427   IFS=$as_save_IFS
   2428   case $as_dir in #(((
   2429     '') as_dir=./ ;;
   2430     */) ;;
   2431     *) as_dir=$as_dir/ ;;
   2432   esac
   2433   as_found=:
   2434 
   2435   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2436   ac_aux_dir_found=yes
   2437   ac_install_sh=
   2438   for ac_aux in $ac_aux_files
   2439   do
   2440     # As a special case, if "install-sh" is required, that requirement
   2441     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2442     # and $ac_install_sh is set appropriately for whichever one is found.
   2443     if test x"$ac_aux" = x"install-sh"
   2444     then
   2445       if test -f "${as_dir}install-sh"; then
   2446         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2447         ac_install_sh="${as_dir}install-sh -c"
   2448       elif test -f "${as_dir}install.sh"; then
   2449         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2450         ac_install_sh="${as_dir}install.sh -c"
   2451       elif test -f "${as_dir}shtool"; then
   2452         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2453         ac_install_sh="${as_dir}shtool install -c"
   2454       else
   2455         ac_aux_dir_found=no
   2456         if $ac_first_candidate; then
   2457           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2458         else
   2459           break
   2460         fi
   2461       fi
   2462     else
   2463       if test -f "${as_dir}${ac_aux}"; then
   2464         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2465       else
   2466         ac_aux_dir_found=no
   2467         if $ac_first_candidate; then
   2468           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2469         else
   2470           break
   2471         fi
   2472       fi
   2473     fi
   2474   done
   2475   if test "$ac_aux_dir_found" = yes; then
   2476     ac_aux_dir="$as_dir"
   2477     break
   2478   fi
   2479   ac_first_candidate=false
   2480 
   2481   as_found=false
   2482 done
   2483 IFS=$as_save_IFS
   2484 if $as_found
   2485 then :
   2486 
   2487 else case e in #(
   2488   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2489 esac
   2490 fi
   2491 
   2492 
   2493 # These three variables are undocumented and unsupported,
   2494 # and are intended to be withdrawn in a future Autoconf release.
   2495 # They can cause serious problems if a builder's source tree is in a directory
   2496 # whose full name contains unusual characters.
   2497 if test -f "${ac_aux_dir}config.guess"; then
   2498   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2499 fi
   2500 if test -f "${ac_aux_dir}config.sub"; then
   2501   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2502 fi
   2503 if test -f "$ac_aux_dir/configure"; then
   2504   ac_configure="$SHELL ${ac_aux_dir}configure"
   2505 fi
   2506 
   2507 # Check that the precious variables saved in the cache have kept the same
   2508 # value.
   2509 ac_cache_corrupted=false
   2510 for ac_var in $ac_precious_vars; do
   2511   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2512   eval ac_new_set=\$ac_env_${ac_var}_set
   2513   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2514   eval ac_new_val=\$ac_env_${ac_var}_value
   2515   case $ac_old_set,$ac_new_set in
   2516     set,)
   2517       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2518 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2519       ac_cache_corrupted=: ;;
   2520     ,set)
   2521       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2522 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2523       ac_cache_corrupted=: ;;
   2524     ,);;
   2525     *)
   2526       if test "x$ac_old_val" != "x$ac_new_val"; then
   2527 	# differences in whitespace do not lead to failure.
   2528 	ac_old_val_w=`echo x $ac_old_val`
   2529 	ac_new_val_w=`echo x $ac_new_val`
   2530 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2531 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2532 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2533 	  ac_cache_corrupted=:
   2534 	else
   2535 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2536 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2537 	  eval $ac_var=\$ac_old_val
   2538 	fi
   2539 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2540 printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
   2541 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2542 printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
   2543       fi;;
   2544   esac
   2545   # Pass precious variables to config.status.
   2546   if test "$ac_new_set" = set; then
   2547     case $ac_new_val in
   2548     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2549     *) ac_arg=$ac_var=$ac_new_val ;;
   2550     esac
   2551     case " $ac_configure_args " in
   2552       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2553       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2554     esac
   2555   fi
   2556 done
   2557 if $ac_cache_corrupted; then
   2558   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2559 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2560   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2561 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2562   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2563 	    and start over" "$LINENO" 5
   2564 fi
   2565 ## -------------------- ##
   2566 ## Main body of script. ##
   2567 ## -------------------- ##
   2568 
   2569 ac_ext=c
   2570 ac_cpp='$CPP $CPPFLAGS'
   2571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2574 
   2575 
   2576 
   2577 ac_config_headers="$ac_config_headers config.h"
   2578 
   2579 
   2580 # Initialize Automake
   2581 am__api_version='1.16'
   2582 
   2583 
   2584 
   2585   # Find a good install program.  We prefer a C program (faster),
   2586 # so one script is as good as another.  But avoid the broken or
   2587 # incompatible versions:
   2588 # SysV /etc/install, /usr/sbin/install
   2589 # SunOS /usr/etc/install
   2590 # IRIX /sbin/install
   2591 # AIX /bin/install
   2592 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2593 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2594 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2595 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2596 # OS/2's system install, which has a completely different semantic
   2597 # ./install, which can be erroneously created by make from ./install.sh.
   2598 # Reject install programs that cannot install multiple files.
   2599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2600 printf %s "checking for a BSD-compatible install... " >&6; }
   2601 if test -z "$INSTALL"; then
   2602 if test ${ac_cv_path_install+y}
   2603 then :
   2604   printf %s "(cached) " >&6
   2605 else case e in #(
   2606   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2607 for as_dir in $PATH
   2608 do
   2609   IFS=$as_save_IFS
   2610   case $as_dir in #(((
   2611     '') as_dir=./ ;;
   2612     */) ;;
   2613     *) as_dir=$as_dir/ ;;
   2614   esac
   2615     # Account for fact that we put trailing slashes in our PATH walk.
   2616 case $as_dir in #((
   2617   ./ | /[cC]/* | \
   2618   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2619   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2620   /usr/ucb/* ) ;;
   2621   *)
   2622     # OSF1 and SCO ODT 3.0 have their own names for install.
   2623     # Don't use installbsd from OSF since it installs stuff as root
   2624     # by default.
   2625     for ac_prog in ginstall scoinst install; do
   2626       for ac_exec_ext in '' $ac_executable_extensions; do
   2627 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2628 	  if test $ac_prog = install &&
   2629 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2630 	    # AIX install.  It has an incompatible calling convention.
   2631 	    :
   2632 	  elif test $ac_prog = install &&
   2633 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2634 	    # program-specific install script used by HP pwplus--don't use.
   2635 	    :
   2636 	  else
   2637 	    rm -rf conftest.one conftest.two conftest.dir
   2638 	    echo one > conftest.one
   2639 	    echo two > conftest.two
   2640 	    mkdir conftest.dir
   2641 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2642 	      test -s conftest.one && test -s conftest.two &&
   2643 	      test -s conftest.dir/conftest.one &&
   2644 	      test -s conftest.dir/conftest.two
   2645 	    then
   2646 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2647 	      break 3
   2648 	    fi
   2649 	  fi
   2650 	fi
   2651       done
   2652     done
   2653     ;;
   2654 esac
   2655 
   2656   done
   2657 IFS=$as_save_IFS
   2658 
   2659 rm -rf conftest.one conftest.two conftest.dir
   2660  ;;
   2661 esac
   2662 fi
   2663   if test ${ac_cv_path_install+y}; then
   2664     INSTALL=$ac_cv_path_install
   2665   else
   2666     # As a last resort, use the slow shell script.  Don't cache a
   2667     # value for INSTALL within a source directory, because that will
   2668     # break other packages using the cache if that directory is
   2669     # removed, or if the value is a relative name.
   2670     INSTALL=$ac_install_sh
   2671   fi
   2672 fi
   2673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2674 printf "%s\n" "$INSTALL" >&6; }
   2675 
   2676 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2677 # It thinks the first close brace ends the variable substitution.
   2678 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2679 
   2680 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2681 
   2682 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2683 
   2684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2685 printf %s "checking whether build environment is sane... " >&6; }
   2686 # Reject unsafe characters in $srcdir or the absolute working directory
   2687 # name.  Accept space and tab only in the latter.
   2688 am_lf='
   2689 '
   2690 case `pwd` in
   2691   *[\\\"\#\$\&\'\`$am_lf]*)
   2692     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2693 esac
   2694 case $srcdir in
   2695   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2696     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2697 esac
   2698 
   2699 # Do 'set' in a subshell so we don't clobber the current shell's
   2700 # arguments.  Must try -L first in case configure is actually a
   2701 # symlink; some systems play weird games with the mod time of symlinks
   2702 # (eg FreeBSD returns the mod time of the symlink's containing
   2703 # directory).
   2704 if (
   2705    am_has_slept=no
   2706    for am_try in 1 2; do
   2707      echo "timestamp, slept: $am_has_slept" > conftest.file
   2708      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2709      if test "$*" = "X"; then
   2710 	# -L didn't work.
   2711 	set X `ls -t "$srcdir/configure" conftest.file`
   2712      fi
   2713      if test "$*" != "X $srcdir/configure conftest.file" \
   2714 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2715 
   2716 	# If neither matched, then we have a broken ls.  This can happen
   2717 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2718 	# broken ls alias from the environment.  This has actually
   2719 	# happened.  Such a system could not be considered "sane".
   2720 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2721   alias in your environment" "$LINENO" 5
   2722      fi
   2723      if test "$2" = conftest.file || test $am_try -eq 2; then
   2724        break
   2725      fi
   2726      # Just in case.
   2727      sleep 1
   2728      am_has_slept=yes
   2729    done
   2730    test "$2" = conftest.file
   2731    )
   2732 then
   2733    # Ok.
   2734    :
   2735 else
   2736    as_fn_error $? "newly created file is older than distributed files!
   2737 Check your system clock" "$LINENO" 5
   2738 fi
   2739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2740 printf "%s\n" "yes" >&6; }
   2741 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2742 # generated files are strictly newer.
   2743 am_sleep_pid=
   2744 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2745   ( sleep 1 ) &
   2746   am_sleep_pid=$!
   2747 fi
   2748 
   2749 rm -f conftest.file
   2750 
   2751 test "$program_prefix" != NONE &&
   2752   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2753 # Use a double $ so make ignores it.
   2754 test "$program_suffix" != NONE &&
   2755   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2756 # Double any \ or $.
   2757 # By default was 's,x,x', remove it if useless.
   2758 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2759 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2760 
   2761 
   2762 # Expand $ac_aux_dir to an absolute path.
   2763 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2764 
   2765 
   2766   if test x"${MISSING+set}" != xset; then
   2767   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2768 fi
   2769 # Use eval to expand $SHELL
   2770 if eval "$MISSING --is-lightweight"; then
   2771   am_missing_run="$MISSING "
   2772 else
   2773   am_missing_run=
   2774   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2775 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2776 fi
   2777 
   2778 if test x"${install_sh+set}" != xset; then
   2779   case $am_aux_dir in
   2780   *\ * | *\	*)
   2781     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2782   *)
   2783     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2784   esac
   2785 fi
   2786 
   2787 # Installed binaries are usually stripped using 'strip' when the user
   2788 # run "make install-strip".  However 'strip' might not be the right
   2789 # tool to use in cross-compilation environments, therefore Automake
   2790 # will honor the 'STRIP' environment variable to overrule this program.
   2791 if test "$cross_compiling" != no; then
   2792   if test -n "$ac_tool_prefix"; then
   2793   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2794 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2796 printf %s "checking for $ac_word... " >&6; }
   2797 if test ${ac_cv_prog_STRIP+y}
   2798 then :
   2799   printf %s "(cached) " >&6
   2800 else case e in #(
   2801   e) if test -n "$STRIP"; then
   2802   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2803 else
   2804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2805 for as_dir in $PATH
   2806 do
   2807   IFS=$as_save_IFS
   2808   case $as_dir in #(((
   2809     '') as_dir=./ ;;
   2810     */) ;;
   2811     *) as_dir=$as_dir/ ;;
   2812   esac
   2813     for ac_exec_ext in '' $ac_executable_extensions; do
   2814   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2815     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2816     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2817     break 2
   2818   fi
   2819 done
   2820   done
   2821 IFS=$as_save_IFS
   2822 
   2823 fi ;;
   2824 esac
   2825 fi
   2826 STRIP=$ac_cv_prog_STRIP
   2827 if test -n "$STRIP"; then
   2828   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2829 printf "%s\n" "$STRIP" >&6; }
   2830 else
   2831   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2832 printf "%s\n" "no" >&6; }
   2833 fi
   2834 
   2835 
   2836 fi
   2837 if test -z "$ac_cv_prog_STRIP"; then
   2838   ac_ct_STRIP=$STRIP
   2839   # Extract the first word of "strip", so it can be a program name with args.
   2840 set dummy strip; ac_word=$2
   2841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2842 printf %s "checking for $ac_word... " >&6; }
   2843 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2844 then :
   2845   printf %s "(cached) " >&6
   2846 else case e in #(
   2847   e) if test -n "$ac_ct_STRIP"; then
   2848   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2849 else
   2850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2851 for as_dir in $PATH
   2852 do
   2853   IFS=$as_save_IFS
   2854   case $as_dir in #(((
   2855     '') as_dir=./ ;;
   2856     */) ;;
   2857     *) as_dir=$as_dir/ ;;
   2858   esac
   2859     for ac_exec_ext in '' $ac_executable_extensions; do
   2860   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2861     ac_cv_prog_ac_ct_STRIP="strip"
   2862     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2863     break 2
   2864   fi
   2865 done
   2866   done
   2867 IFS=$as_save_IFS
   2868 
   2869 fi ;;
   2870 esac
   2871 fi
   2872 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2873 if test -n "$ac_ct_STRIP"; then
   2874   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2875 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2876 else
   2877   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2878 printf "%s\n" "no" >&6; }
   2879 fi
   2880 
   2881   if test "x$ac_ct_STRIP" = x; then
   2882     STRIP=":"
   2883   else
   2884     case $cross_compiling:$ac_tool_warned in
   2885 yes:)
   2886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2887 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2888 ac_tool_warned=yes ;;
   2889 esac
   2890     STRIP=$ac_ct_STRIP
   2891   fi
   2892 else
   2893   STRIP="$ac_cv_prog_STRIP"
   2894 fi
   2895 
   2896 fi
   2897 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2898 
   2899 
   2900   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   2901 printf %s "checking for a race-free mkdir -p... " >&6; }
   2902 if test -z "$MKDIR_P"; then
   2903   if test ${ac_cv_path_mkdir+y}
   2904 then :
   2905   printf %s "(cached) " >&6
   2906 else case e in #(
   2907   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2908 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2909 do
   2910   IFS=$as_save_IFS
   2911   case $as_dir in #(((
   2912     '') as_dir=./ ;;
   2913     */) ;;
   2914     *) as_dir=$as_dir/ ;;
   2915   esac
   2916     for ac_prog in mkdir gmkdir; do
   2917 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2918 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   2919 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2920 	     'mkdir ('*'coreutils) '* | \
   2921 	     *'BusyBox '* | \
   2922 	     'mkdir (fileutils) '4.1*)
   2923 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   2924 	       break 3;;
   2925 	   esac
   2926 	 done
   2927        done
   2928   done
   2929 IFS=$as_save_IFS
   2930  ;;
   2931 esac
   2932 fi
   2933 
   2934   test -d ./--version && rmdir ./--version
   2935   if test ${ac_cv_path_mkdir+y}; then
   2936     MKDIR_P="$ac_cv_path_mkdir -p"
   2937   else
   2938     # As a last resort, use plain mkdir -p,
   2939     # in the hope it doesn't have the bugs of ancient mkdir.
   2940     MKDIR_P='mkdir -p'
   2941   fi
   2942 fi
   2943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2944 printf "%s\n" "$MKDIR_P" >&6; }
   2945 
   2946 for ac_prog in gawk mawk nawk awk
   2947 do
   2948   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2949 set dummy $ac_prog; ac_word=$2
   2950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2951 printf %s "checking for $ac_word... " >&6; }
   2952 if test ${ac_cv_prog_AWK+y}
   2953 then :
   2954   printf %s "(cached) " >&6
   2955 else case e in #(
   2956   e) if test -n "$AWK"; then
   2957   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2958 else
   2959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2960 for as_dir in $PATH
   2961 do
   2962   IFS=$as_save_IFS
   2963   case $as_dir in #(((
   2964     '') as_dir=./ ;;
   2965     */) ;;
   2966     *) as_dir=$as_dir/ ;;
   2967   esac
   2968     for ac_exec_ext in '' $ac_executable_extensions; do
   2969   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2970     ac_cv_prog_AWK="$ac_prog"
   2971     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2972     break 2
   2973   fi
   2974 done
   2975   done
   2976 IFS=$as_save_IFS
   2977 
   2978 fi ;;
   2979 esac
   2980 fi
   2981 AWK=$ac_cv_prog_AWK
   2982 if test -n "$AWK"; then
   2983   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2984 printf "%s\n" "$AWK" >&6; }
   2985 else
   2986   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2987 printf "%s\n" "no" >&6; }
   2988 fi
   2989 
   2990 
   2991   test -n "$AWK" && break
   2992 done
   2993 
   2994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2995 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2996 set x ${MAKE-make}
   2997 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2998 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   2999 then :
   3000   printf %s "(cached) " >&6
   3001 else case e in #(
   3002   e) cat >conftest.make <<\_ACEOF
   3003 SHELL = /bin/sh
   3004 all:
   3005 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3006 _ACEOF
   3007 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3008 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3009   *@@@%%%=?*=@@@%%%*)
   3010     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3011   *)
   3012     eval ac_cv_prog_make_${ac_make}_set=no;;
   3013 esac
   3014 rm -f conftest.make ;;
   3015 esac
   3016 fi
   3017 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3018   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3019 printf "%s\n" "yes" >&6; }
   3020   SET_MAKE=
   3021 else
   3022   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3023 printf "%s\n" "no" >&6; }
   3024   SET_MAKE="MAKE=${MAKE-make}"
   3025 fi
   3026 
   3027 rm -rf .tst 2>/dev/null
   3028 mkdir .tst 2>/dev/null
   3029 if test -d .tst; then
   3030   am__leading_dot=.
   3031 else
   3032   am__leading_dot=_
   3033 fi
   3034 rmdir .tst 2>/dev/null
   3035 
   3036 # Check whether --enable-silent-rules was given.
   3037 if test ${enable_silent_rules+y}
   3038 then :
   3039   enableval=$enable_silent_rules;
   3040 fi
   3041 
   3042 case $enable_silent_rules in # (((
   3043   yes) AM_DEFAULT_VERBOSITY=0;;
   3044    no) AM_DEFAULT_VERBOSITY=1;;
   3045     *) AM_DEFAULT_VERBOSITY=1;;
   3046 esac
   3047 am_make=${MAKE-make}
   3048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3049 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3050 if test ${am_cv_make_support_nested_variables+y}
   3051 then :
   3052   printf %s "(cached) " >&6
   3053 else case e in #(
   3054   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   3055 BAR0=false
   3056 BAR1=true
   3057 V=1
   3058 am__doit:
   3059 	@$(TRUE)
   3060 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3061   am_cv_make_support_nested_variables=yes
   3062 else
   3063   am_cv_make_support_nested_variables=no
   3064 fi ;;
   3065 esac
   3066 fi
   3067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3068 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3069 if test $am_cv_make_support_nested_variables = yes; then
   3070     AM_V='$(V)'
   3071   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3072 else
   3073   AM_V=$AM_DEFAULT_VERBOSITY
   3074   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3075 fi
   3076 AM_BACKSLASH='\'
   3077 
   3078 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3079   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3080   # is not polluted with repeated "-I."
   3081   am__isrc=' -I$(srcdir)'
   3082   # test to see if srcdir already configured
   3083   if test -f $srcdir/config.status; then
   3084     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3085   fi
   3086 fi
   3087 
   3088 # test whether we have cygpath
   3089 if test -z "$CYGPATH_W"; then
   3090   if (cygpath --version) >/dev/null 2>/dev/null; then
   3091     CYGPATH_W='cygpath -w'
   3092   else
   3093     CYGPATH_W=echo
   3094   fi
   3095 fi
   3096 
   3097 
   3098 # Define the identity of the package.
   3099  PACKAGE='xsm'
   3100  VERSION='1.0.6'
   3101 
   3102 
   3103 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3104 
   3105 
   3106 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3107 
   3108 # Some tools Automake needs.
   3109 
   3110 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3111 
   3112 
   3113 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3114 
   3115 
   3116 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3117 
   3118 
   3119 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3120 
   3121 
   3122 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3123 
   3124 # For better backward compatibility.  To be removed once Automake 1.9.x
   3125 # dies out for good.  For more background, see:
   3126 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3127 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3128 mkdir_p='$(MKDIR_P)'
   3129 
   3130 # We need awk for the "check" target (and possibly the TAP driver).  The
   3131 # system "awk" is bad on some platforms.
   3132 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3133 # in the wild :-(  We should find a proper way to deprecate it ...
   3134 AMTAR='$${TAR-tar}'
   3135 
   3136 
   3137 # We'll loop over all known methods to create a tar archive until one works.
   3138 _am_tools='gnutar  pax cpio none'
   3139 
   3140 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3141 
   3142 
   3143 
   3144 
   3145 
   3146 # Variables for tags utilities; see am/tags.am
   3147 if test -z "$CTAGS"; then
   3148   CTAGS=ctags
   3149 fi
   3150 
   3151 if test -z "$ETAGS"; then
   3152   ETAGS=etags
   3153 fi
   3154 
   3155 if test -z "$CSCOPE"; then
   3156   CSCOPE=cscope
   3157 fi
   3158 
   3159 
   3160 
   3161 # POSIX will say in a future version that running "rm -f" with no argument
   3162 # is OK; and we want to be able to make that assumption in our Makefile
   3163 # recipes.  So use an aggressive probe to check that the usage we want is
   3164 # actually supported "in the wild" to an acceptable degree.
   3165 # See automake bug#10828.
   3166 # To make any issue more visible, cause the running configure to be aborted
   3167 # by default if the 'rm' program in use doesn't match our expectations; the
   3168 # user can still override this though.
   3169 if rm -f && rm -fr && rm -rf; then : OK; else
   3170   cat >&2 <<'END'
   3171 Oops!
   3172 
   3173 Your 'rm' program seems unable to run without file operands specified
   3174 on the command line, even when the '-f' option is present.  This is contrary
   3175 to the behaviour of most rm programs out there, and not conforming with
   3176 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3177 
   3178 Please tell bug-automake@gnu.org about your system, including the value
   3179 of your $PATH and any error possibly output before this message.  This
   3180 can help us improve future automake versions.
   3181 
   3182 END
   3183   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3184     echo 'Configuration will proceed anyway, since you have set the' >&2
   3185     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3186     echo >&2
   3187   else
   3188     cat >&2 <<'END'
   3189 Aborting the configuration process, to ensure you take notice of the issue.
   3190 
   3191 You can download and install GNU coreutils to get an 'rm' implementation
   3192 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3193 
   3194 If you want to complete the configuration process using your problematic
   3195 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3196 to "yes", and re-run configure.
   3197 
   3198 END
   3199     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3200   fi
   3201 fi
   3202 
   3203 
   3204 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   3205 
   3206 
   3207 
   3208 
   3209 
   3210 
   3211 
   3212 
   3213 
   3214 
   3215 
   3216 
   3217 
   3218 
   3219 
   3220 
   3221 
   3222 
   3223 
   3224 
   3225 DEPDIR="${am__leading_dot}deps"
   3226 
   3227 ac_config_commands="$ac_config_commands depfiles"
   3228 
   3229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3230 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3231 cat > confinc.mk << 'END'
   3232 am__doit:
   3233 	@echo this is the am__doit target >confinc.out
   3234 .PHONY: am__doit
   3235 END
   3236 am__include="#"
   3237 am__quote=
   3238 # BSD make does it like this.
   3239 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3240 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3241 echo 'include confinc.mk # ignored' > confmf.GNU
   3242 _am_result=no
   3243 for s in GNU BSD; do
   3244   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3245    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3246    ac_status=$?
   3247    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3248    (exit $ac_status); }
   3249   case $?:`cat confinc.out 2>/dev/null` in #(
   3250   '0:this is the am__doit target') :
   3251     case $s in #(
   3252   BSD) :
   3253     am__include='.include' am__quote='"' ;; #(
   3254   *) :
   3255     am__include='include' am__quote='' ;;
   3256 esac ;; #(
   3257   *) :
   3258      ;;
   3259 esac
   3260   if test "$am__include" != "#"; then
   3261     _am_result="yes ($s style)"
   3262     break
   3263   fi
   3264 done
   3265 rm -f confinc.* confmf.*
   3266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3267 printf "%s\n" "${_am_result}" >&6; }
   3268 
   3269 # Check whether --enable-dependency-tracking was given.
   3270 if test ${enable_dependency_tracking+y}
   3271 then :
   3272   enableval=$enable_dependency_tracking;
   3273 fi
   3274 
   3275 if test "x$enable_dependency_tracking" != xno; then
   3276   am_depcomp="$ac_aux_dir/depcomp"
   3277   AMDEPBACKSLASH='\'
   3278   am__nodep='_no'
   3279 fi
   3280  if test "x$enable_dependency_tracking" != xno; then
   3281   AMDEP_TRUE=
   3282   AMDEP_FALSE='#'
   3283 else
   3284   AMDEP_TRUE='#'
   3285   AMDEP_FALSE=
   3286 fi
   3287 
   3288 
   3289 ac_ext=c
   3290 ac_cpp='$CPP $CPPFLAGS'
   3291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3294 if test -n "$ac_tool_prefix"; then
   3295   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3296 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3298 printf %s "checking for $ac_word... " >&6; }
   3299 if test ${ac_cv_prog_CC+y}
   3300 then :
   3301   printf %s "(cached) " >&6
   3302 else case e in #(
   3303   e) if test -n "$CC"; then
   3304   ac_cv_prog_CC="$CC" # Let the user override the test.
   3305 else
   3306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3307 for as_dir in $PATH
   3308 do
   3309   IFS=$as_save_IFS
   3310   case $as_dir in #(((
   3311     '') as_dir=./ ;;
   3312     */) ;;
   3313     *) as_dir=$as_dir/ ;;
   3314   esac
   3315     for ac_exec_ext in '' $ac_executable_extensions; do
   3316   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3317     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3318     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3319     break 2
   3320   fi
   3321 done
   3322   done
   3323 IFS=$as_save_IFS
   3324 
   3325 fi ;;
   3326 esac
   3327 fi
   3328 CC=$ac_cv_prog_CC
   3329 if test -n "$CC"; then
   3330   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3331 printf "%s\n" "$CC" >&6; }
   3332 else
   3333   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3334 printf "%s\n" "no" >&6; }
   3335 fi
   3336 
   3337 
   3338 fi
   3339 if test -z "$ac_cv_prog_CC"; then
   3340   ac_ct_CC=$CC
   3341   # Extract the first word of "gcc", so it can be a program name with args.
   3342 set dummy gcc; ac_word=$2
   3343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3344 printf %s "checking for $ac_word... " >&6; }
   3345 if test ${ac_cv_prog_ac_ct_CC+y}
   3346 then :
   3347   printf %s "(cached) " >&6
   3348 else case e in #(
   3349   e) if test -n "$ac_ct_CC"; then
   3350   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3351 else
   3352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3353 for as_dir in $PATH
   3354 do
   3355   IFS=$as_save_IFS
   3356   case $as_dir in #(((
   3357     '') as_dir=./ ;;
   3358     */) ;;
   3359     *) as_dir=$as_dir/ ;;
   3360   esac
   3361     for ac_exec_ext in '' $ac_executable_extensions; do
   3362   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3363     ac_cv_prog_ac_ct_CC="gcc"
   3364     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3365     break 2
   3366   fi
   3367 done
   3368   done
   3369 IFS=$as_save_IFS
   3370 
   3371 fi ;;
   3372 esac
   3373 fi
   3374 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3375 if test -n "$ac_ct_CC"; then
   3376   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3377 printf "%s\n" "$ac_ct_CC" >&6; }
   3378 else
   3379   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3380 printf "%s\n" "no" >&6; }
   3381 fi
   3382 
   3383   if test "x$ac_ct_CC" = x; then
   3384     CC=""
   3385   else
   3386     case $cross_compiling:$ac_tool_warned in
   3387 yes:)
   3388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3389 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3390 ac_tool_warned=yes ;;
   3391 esac
   3392     CC=$ac_ct_CC
   3393   fi
   3394 else
   3395   CC="$ac_cv_prog_CC"
   3396 fi
   3397 
   3398 if test -z "$CC"; then
   3399           if test -n "$ac_tool_prefix"; then
   3400     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3401 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3403 printf %s "checking for $ac_word... " >&6; }
   3404 if test ${ac_cv_prog_CC+y}
   3405 then :
   3406   printf %s "(cached) " >&6
   3407 else case e in #(
   3408   e) if test -n "$CC"; then
   3409   ac_cv_prog_CC="$CC" # Let the user override the test.
   3410 else
   3411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3412 for as_dir in $PATH
   3413 do
   3414   IFS=$as_save_IFS
   3415   case $as_dir in #(((
   3416     '') as_dir=./ ;;
   3417     */) ;;
   3418     *) as_dir=$as_dir/ ;;
   3419   esac
   3420     for ac_exec_ext in '' $ac_executable_extensions; do
   3421   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3422     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3423     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3424     break 2
   3425   fi
   3426 done
   3427   done
   3428 IFS=$as_save_IFS
   3429 
   3430 fi ;;
   3431 esac
   3432 fi
   3433 CC=$ac_cv_prog_CC
   3434 if test -n "$CC"; then
   3435   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3436 printf "%s\n" "$CC" >&6; }
   3437 else
   3438   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3439 printf "%s\n" "no" >&6; }
   3440 fi
   3441 
   3442 
   3443   fi
   3444 fi
   3445 if test -z "$CC"; then
   3446   # Extract the first word of "cc", so it can be a program name with args.
   3447 set dummy cc; ac_word=$2
   3448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3449 printf %s "checking for $ac_word... " >&6; }
   3450 if test ${ac_cv_prog_CC+y}
   3451 then :
   3452   printf %s "(cached) " >&6
   3453 else case e in #(
   3454   e) if test -n "$CC"; then
   3455   ac_cv_prog_CC="$CC" # Let the user override the test.
   3456 else
   3457   ac_prog_rejected=no
   3458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3459 for as_dir in $PATH
   3460 do
   3461   IFS=$as_save_IFS
   3462   case $as_dir in #(((
   3463     '') as_dir=./ ;;
   3464     */) ;;
   3465     *) as_dir=$as_dir/ ;;
   3466   esac
   3467     for ac_exec_ext in '' $ac_executable_extensions; do
   3468   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3469     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3470        ac_prog_rejected=yes
   3471        continue
   3472      fi
   3473     ac_cv_prog_CC="cc"
   3474     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3475     break 2
   3476   fi
   3477 done
   3478   done
   3479 IFS=$as_save_IFS
   3480 
   3481 if test $ac_prog_rejected = yes; then
   3482   # We found a bogon in the path, so make sure we never use it.
   3483   set dummy $ac_cv_prog_CC
   3484   shift
   3485   if test $# != 0; then
   3486     # We chose a different compiler from the bogus one.
   3487     # However, it has the same basename, so the bogon will be chosen
   3488     # first if we set CC to just the basename; use the full file name.
   3489     shift
   3490     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3491   fi
   3492 fi
   3493 fi ;;
   3494 esac
   3495 fi
   3496 CC=$ac_cv_prog_CC
   3497 if test -n "$CC"; then
   3498   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3499 printf "%s\n" "$CC" >&6; }
   3500 else
   3501   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3502 printf "%s\n" "no" >&6; }
   3503 fi
   3504 
   3505 
   3506 fi
   3507 if test -z "$CC"; then
   3508   if test -n "$ac_tool_prefix"; then
   3509   for ac_prog in cl.exe
   3510   do
   3511     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3512 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3514 printf %s "checking for $ac_word... " >&6; }
   3515 if test ${ac_cv_prog_CC+y}
   3516 then :
   3517   printf %s "(cached) " >&6
   3518 else case e in #(
   3519   e) if test -n "$CC"; then
   3520   ac_cv_prog_CC="$CC" # Let the user override the test.
   3521 else
   3522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3523 for as_dir in $PATH
   3524 do
   3525   IFS=$as_save_IFS
   3526   case $as_dir in #(((
   3527     '') as_dir=./ ;;
   3528     */) ;;
   3529     *) as_dir=$as_dir/ ;;
   3530   esac
   3531     for ac_exec_ext in '' $ac_executable_extensions; do
   3532   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3533     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3534     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3535     break 2
   3536   fi
   3537 done
   3538   done
   3539 IFS=$as_save_IFS
   3540 
   3541 fi ;;
   3542 esac
   3543 fi
   3544 CC=$ac_cv_prog_CC
   3545 if test -n "$CC"; then
   3546   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3547 printf "%s\n" "$CC" >&6; }
   3548 else
   3549   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3550 printf "%s\n" "no" >&6; }
   3551 fi
   3552 
   3553 
   3554     test -n "$CC" && break
   3555   done
   3556 fi
   3557 if test -z "$CC"; then
   3558   ac_ct_CC=$CC
   3559   for ac_prog in cl.exe
   3560 do
   3561   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3562 set dummy $ac_prog; ac_word=$2
   3563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3564 printf %s "checking for $ac_word... " >&6; }
   3565 if test ${ac_cv_prog_ac_ct_CC+y}
   3566 then :
   3567   printf %s "(cached) " >&6
   3568 else case e in #(
   3569   e) if test -n "$ac_ct_CC"; then
   3570   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3571 else
   3572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3573 for as_dir in $PATH
   3574 do
   3575   IFS=$as_save_IFS
   3576   case $as_dir in #(((
   3577     '') as_dir=./ ;;
   3578     */) ;;
   3579     *) as_dir=$as_dir/ ;;
   3580   esac
   3581     for ac_exec_ext in '' $ac_executable_extensions; do
   3582   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3583     ac_cv_prog_ac_ct_CC="$ac_prog"
   3584     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3585     break 2
   3586   fi
   3587 done
   3588   done
   3589 IFS=$as_save_IFS
   3590 
   3591 fi ;;
   3592 esac
   3593 fi
   3594 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3595 if test -n "$ac_ct_CC"; then
   3596   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3597 printf "%s\n" "$ac_ct_CC" >&6; }
   3598 else
   3599   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3600 printf "%s\n" "no" >&6; }
   3601 fi
   3602 
   3603 
   3604   test -n "$ac_ct_CC" && break
   3605 done
   3606 
   3607   if test "x$ac_ct_CC" = x; then
   3608     CC=""
   3609   else
   3610     case $cross_compiling:$ac_tool_warned in
   3611 yes:)
   3612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3613 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3614 ac_tool_warned=yes ;;
   3615 esac
   3616     CC=$ac_ct_CC
   3617   fi
   3618 fi
   3619 
   3620 fi
   3621 if test -z "$CC"; then
   3622   if test -n "$ac_tool_prefix"; then
   3623   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3624 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3626 printf %s "checking for $ac_word... " >&6; }
   3627 if test ${ac_cv_prog_CC+y}
   3628 then :
   3629   printf %s "(cached) " >&6
   3630 else case e in #(
   3631   e) if test -n "$CC"; then
   3632   ac_cv_prog_CC="$CC" # Let the user override the test.
   3633 else
   3634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3635 for as_dir in $PATH
   3636 do
   3637   IFS=$as_save_IFS
   3638   case $as_dir in #(((
   3639     '') as_dir=./ ;;
   3640     */) ;;
   3641     *) as_dir=$as_dir/ ;;
   3642   esac
   3643     for ac_exec_ext in '' $ac_executable_extensions; do
   3644   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3645     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3646     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3647     break 2
   3648   fi
   3649 done
   3650   done
   3651 IFS=$as_save_IFS
   3652 
   3653 fi ;;
   3654 esac
   3655 fi
   3656 CC=$ac_cv_prog_CC
   3657 if test -n "$CC"; then
   3658   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3659 printf "%s\n" "$CC" >&6; }
   3660 else
   3661   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3662 printf "%s\n" "no" >&6; }
   3663 fi
   3664 
   3665 
   3666 fi
   3667 if test -z "$ac_cv_prog_CC"; then
   3668   ac_ct_CC=$CC
   3669   # Extract the first word of "clang", so it can be a program name with args.
   3670 set dummy clang; ac_word=$2
   3671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3672 printf %s "checking for $ac_word... " >&6; }
   3673 if test ${ac_cv_prog_ac_ct_CC+y}
   3674 then :
   3675   printf %s "(cached) " >&6
   3676 else case e in #(
   3677   e) if test -n "$ac_ct_CC"; then
   3678   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3679 else
   3680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3681 for as_dir in $PATH
   3682 do
   3683   IFS=$as_save_IFS
   3684   case $as_dir in #(((
   3685     '') as_dir=./ ;;
   3686     */) ;;
   3687     *) as_dir=$as_dir/ ;;
   3688   esac
   3689     for ac_exec_ext in '' $ac_executable_extensions; do
   3690   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3691     ac_cv_prog_ac_ct_CC="clang"
   3692     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3693     break 2
   3694   fi
   3695 done
   3696   done
   3697 IFS=$as_save_IFS
   3698 
   3699 fi ;;
   3700 esac
   3701 fi
   3702 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3703 if test -n "$ac_ct_CC"; then
   3704   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3705 printf "%s\n" "$ac_ct_CC" >&6; }
   3706 else
   3707   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3708 printf "%s\n" "no" >&6; }
   3709 fi
   3710 
   3711   if test "x$ac_ct_CC" = x; then
   3712     CC=""
   3713   else
   3714     case $cross_compiling:$ac_tool_warned in
   3715 yes:)
   3716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3717 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3718 ac_tool_warned=yes ;;
   3719 esac
   3720     CC=$ac_ct_CC
   3721   fi
   3722 else
   3723   CC="$ac_cv_prog_CC"
   3724 fi
   3725 
   3726 fi
   3727 
   3728 
   3729 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3730 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3731 as_fn_error $? "no acceptable C compiler found in \$PATH
   3732 See 'config.log' for more details" "$LINENO" 5; }
   3733 
   3734 # Provide some information about the compiler.
   3735 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3736 set X $ac_compile
   3737 ac_compiler=$2
   3738 for ac_option in --version -v -V -qversion -version; do
   3739   { { ac_try="$ac_compiler $ac_option >&5"
   3740 case "(($ac_try" in
   3741   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3742   *) ac_try_echo=$ac_try;;
   3743 esac
   3744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3745 printf "%s\n" "$ac_try_echo"; } >&5
   3746   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3747   ac_status=$?
   3748   if test -s conftest.err; then
   3749     sed '10a\
   3750 ... rest of stderr output deleted ...
   3751          10q' conftest.err >conftest.er1
   3752     cat conftest.er1 >&5
   3753   fi
   3754   rm -f conftest.er1 conftest.err
   3755   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3756   test $ac_status = 0; }
   3757 done
   3758 
   3759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3760 /* end confdefs.h.  */
   3761 
   3762 int
   3763 main (void)
   3764 {
   3765 
   3766   ;
   3767   return 0;
   3768 }
   3769 _ACEOF
   3770 ac_clean_files_save=$ac_clean_files
   3771 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3772 # Try to create an executable without -o first, disregard a.out.
   3773 # It will help us diagnose broken compilers, and finding out an intuition
   3774 # of exeext.
   3775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3776 printf %s "checking whether the C compiler works... " >&6; }
   3777 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3778 
   3779 # The possible output files:
   3780 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3781 
   3782 ac_rmfiles=
   3783 for ac_file in $ac_files
   3784 do
   3785   case $ac_file in
   3786     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3787     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3788   esac
   3789 done
   3790 rm -f $ac_rmfiles
   3791 
   3792 if { { ac_try="$ac_link_default"
   3793 case "(($ac_try" in
   3794   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3795   *) ac_try_echo=$ac_try;;
   3796 esac
   3797 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3798 printf "%s\n" "$ac_try_echo"; } >&5
   3799   (eval "$ac_link_default") 2>&5
   3800   ac_status=$?
   3801   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3802   test $ac_status = 0; }
   3803 then :
   3804   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   3805 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   3806 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3807 # so that the user can short-circuit this test for compilers unknown to
   3808 # Autoconf.
   3809 for ac_file in $ac_files ''
   3810 do
   3811   test -f "$ac_file" || continue
   3812   case $ac_file in
   3813     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3814 	;;
   3815     [ab].out )
   3816 	# We found the default executable, but exeext='' is most
   3817 	# certainly right.
   3818 	break;;
   3819     *.* )
   3820 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3821 	then :; else
   3822 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3823 	fi
   3824 	# We set ac_cv_exeext here because the later test for it is not
   3825 	# safe: cross compilers may not add the suffix if given an '-o'
   3826 	# argument, so we may need to know it at that point already.
   3827 	# Even if this section looks crufty: it has the advantage of
   3828 	# actually working.
   3829 	break;;
   3830     * )
   3831 	break;;
   3832   esac
   3833 done
   3834 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3835 
   3836 else case e in #(
   3837   e) ac_file='' ;;
   3838 esac
   3839 fi
   3840 if test -z "$ac_file"
   3841 then :
   3842   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3843 printf "%s\n" "no" >&6; }
   3844 printf "%s\n" "$as_me: failed program was:" >&5
   3845 sed 's/^/| /' conftest.$ac_ext >&5
   3846 
   3847 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3848 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3849 as_fn_error 77 "C compiler cannot create executables
   3850 See 'config.log' for more details" "$LINENO" 5; }
   3851 else case e in #(
   3852   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3853 printf "%s\n" "yes" >&6; } ;;
   3854 esac
   3855 fi
   3856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3857 printf %s "checking for C compiler default output file name... " >&6; }
   3858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3859 printf "%s\n" "$ac_file" >&6; }
   3860 ac_exeext=$ac_cv_exeext
   3861 
   3862 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3863 ac_clean_files=$ac_clean_files_save
   3864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3865 printf %s "checking for suffix of executables... " >&6; }
   3866 if { { ac_try="$ac_link"
   3867 case "(($ac_try" in
   3868   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3869   *) ac_try_echo=$ac_try;;
   3870 esac
   3871 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3872 printf "%s\n" "$ac_try_echo"; } >&5
   3873   (eval "$ac_link") 2>&5
   3874   ac_status=$?
   3875   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3876   test $ac_status = 0; }
   3877 then :
   3878   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   3879 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   3880 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   3881 # 'rm'.
   3882 for ac_file in conftest.exe conftest conftest.*; do
   3883   test -f "$ac_file" || continue
   3884   case $ac_file in
   3885     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3886     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3887 	  break;;
   3888     * ) break;;
   3889   esac
   3890 done
   3891 else case e in #(
   3892   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3893 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3894 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3895 See 'config.log' for more details" "$LINENO" 5; } ;;
   3896 esac
   3897 fi
   3898 rm -f conftest conftest$ac_cv_exeext
   3899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3900 printf "%s\n" "$ac_cv_exeext" >&6; }
   3901 
   3902 rm -f conftest.$ac_ext
   3903 EXEEXT=$ac_cv_exeext
   3904 ac_exeext=$EXEEXT
   3905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3906 /* end confdefs.h.  */
   3907 #include <stdio.h>
   3908 int
   3909 main (void)
   3910 {
   3911 FILE *f = fopen ("conftest.out", "w");
   3912  if (!f)
   3913   return 1;
   3914  return ferror (f) || fclose (f) != 0;
   3915 
   3916   ;
   3917   return 0;
   3918 }
   3919 _ACEOF
   3920 ac_clean_files="$ac_clean_files conftest.out"
   3921 # Check that the compiler produces executables we can run.  If not, either
   3922 # the compiler is broken, or we cross compile.
   3923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3924 printf %s "checking whether we are cross compiling... " >&6; }
   3925 if test "$cross_compiling" != yes; then
   3926   { { ac_try="$ac_link"
   3927 case "(($ac_try" in
   3928   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3929   *) ac_try_echo=$ac_try;;
   3930 esac
   3931 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3932 printf "%s\n" "$ac_try_echo"; } >&5
   3933   (eval "$ac_link") 2>&5
   3934   ac_status=$?
   3935   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3936   test $ac_status = 0; }
   3937   if { ac_try='./conftest$ac_cv_exeext'
   3938   { { case "(($ac_try" in
   3939   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3940   *) ac_try_echo=$ac_try;;
   3941 esac
   3942 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3943 printf "%s\n" "$ac_try_echo"; } >&5
   3944   (eval "$ac_try") 2>&5
   3945   ac_status=$?
   3946   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3947   test $ac_status = 0; }; }; then
   3948     cross_compiling=no
   3949   else
   3950     if test "$cross_compiling" = maybe; then
   3951 	cross_compiling=yes
   3952     else
   3953 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3954 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3955 as_fn_error 77 "cannot run C compiled programs.
   3956 If you meant to cross compile, use '--host'.
   3957 See 'config.log' for more details" "$LINENO" 5; }
   3958     fi
   3959   fi
   3960 fi
   3961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3962 printf "%s\n" "$cross_compiling" >&6; }
   3963 
   3964 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   3965   conftest.o conftest.obj conftest.out
   3966 ac_clean_files=$ac_clean_files_save
   3967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3968 printf %s "checking for suffix of object files... " >&6; }
   3969 if test ${ac_cv_objext+y}
   3970 then :
   3971   printf %s "(cached) " >&6
   3972 else case e in #(
   3973   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3974 /* end confdefs.h.  */
   3975 
   3976 int
   3977 main (void)
   3978 {
   3979 
   3980   ;
   3981   return 0;
   3982 }
   3983 _ACEOF
   3984 rm -f conftest.o conftest.obj
   3985 if { { ac_try="$ac_compile"
   3986 case "(($ac_try" in
   3987   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3988   *) ac_try_echo=$ac_try;;
   3989 esac
   3990 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3991 printf "%s\n" "$ac_try_echo"; } >&5
   3992   (eval "$ac_compile") 2>&5
   3993   ac_status=$?
   3994   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3995   test $ac_status = 0; }
   3996 then :
   3997   for ac_file in conftest.o conftest.obj conftest.*; do
   3998   test -f "$ac_file" || continue;
   3999   case $ac_file in
   4000     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4001     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4002        break;;
   4003   esac
   4004 done
   4005 else case e in #(
   4006   e) printf "%s\n" "$as_me: failed program was:" >&5
   4007 sed 's/^/| /' conftest.$ac_ext >&5
   4008 
   4009 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4010 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4011 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4012 See 'config.log' for more details" "$LINENO" 5; } ;;
   4013 esac
   4014 fi
   4015 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   4016 esac
   4017 fi
   4018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4019 printf "%s\n" "$ac_cv_objext" >&6; }
   4020 OBJEXT=$ac_cv_objext
   4021 ac_objext=$OBJEXT
   4022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4023 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4024 if test ${ac_cv_c_compiler_gnu+y}
   4025 then :
   4026   printf %s "(cached) " >&6
   4027 else case e in #(
   4028   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4029 /* end confdefs.h.  */
   4030 
   4031 int
   4032 main (void)
   4033 {
   4034 #ifndef __GNUC__
   4035        choke me
   4036 #endif
   4037 
   4038   ;
   4039   return 0;
   4040 }
   4041 _ACEOF
   4042 if ac_fn_c_try_compile "$LINENO"
   4043 then :
   4044   ac_compiler_gnu=yes
   4045 else case e in #(
   4046   e) ac_compiler_gnu=no ;;
   4047 esac
   4048 fi
   4049 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4050 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4051  ;;
   4052 esac
   4053 fi
   4054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4055 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4057 
   4058 if test $ac_compiler_gnu = yes; then
   4059   GCC=yes
   4060 else
   4061   GCC=
   4062 fi
   4063 ac_test_CFLAGS=${CFLAGS+y}
   4064 ac_save_CFLAGS=$CFLAGS
   4065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4066 printf %s "checking whether $CC accepts -g... " >&6; }
   4067 if test ${ac_cv_prog_cc_g+y}
   4068 then :
   4069   printf %s "(cached) " >&6
   4070 else case e in #(
   4071   e) ac_save_c_werror_flag=$ac_c_werror_flag
   4072    ac_c_werror_flag=yes
   4073    ac_cv_prog_cc_g=no
   4074    CFLAGS="-g"
   4075    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4076 /* end confdefs.h.  */
   4077 
   4078 int
   4079 main (void)
   4080 {
   4081 
   4082   ;
   4083   return 0;
   4084 }
   4085 _ACEOF
   4086 if ac_fn_c_try_compile "$LINENO"
   4087 then :
   4088   ac_cv_prog_cc_g=yes
   4089 else case e in #(
   4090   e) CFLAGS=""
   4091       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4092 /* end confdefs.h.  */
   4093 
   4094 int
   4095 main (void)
   4096 {
   4097 
   4098   ;
   4099   return 0;
   4100 }
   4101 _ACEOF
   4102 if ac_fn_c_try_compile "$LINENO"
   4103 then :
   4104 
   4105 else case e in #(
   4106   e) ac_c_werror_flag=$ac_save_c_werror_flag
   4107 	 CFLAGS="-g"
   4108 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4109 /* end confdefs.h.  */
   4110 
   4111 int
   4112 main (void)
   4113 {
   4114 
   4115   ;
   4116   return 0;
   4117 }
   4118 _ACEOF
   4119 if ac_fn_c_try_compile "$LINENO"
   4120 then :
   4121   ac_cv_prog_cc_g=yes
   4122 fi
   4123 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4124 esac
   4125 fi
   4126 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4127 esac
   4128 fi
   4129 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4130    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   4131 esac
   4132 fi
   4133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4134 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4135 if test $ac_test_CFLAGS; then
   4136   CFLAGS=$ac_save_CFLAGS
   4137 elif test $ac_cv_prog_cc_g = yes; then
   4138   if test "$GCC" = yes; then
   4139     CFLAGS="-g -O2"
   4140   else
   4141     CFLAGS="-g"
   4142   fi
   4143 else
   4144   if test "$GCC" = yes; then
   4145     CFLAGS="-O2"
   4146   else
   4147     CFLAGS=
   4148   fi
   4149 fi
   4150 ac_prog_cc_stdc=no
   4151 if test x$ac_prog_cc_stdc = xno
   4152 then :
   4153   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4154 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4155 if test ${ac_cv_prog_cc_c11+y}
   4156 then :
   4157   printf %s "(cached) " >&6
   4158 else case e in #(
   4159   e) ac_cv_prog_cc_c11=no
   4160 ac_save_CC=$CC
   4161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4162 /* end confdefs.h.  */
   4163 $ac_c_conftest_c11_program
   4164 _ACEOF
   4165 for ac_arg in '' -std=gnu11
   4166 do
   4167   CC="$ac_save_CC $ac_arg"
   4168   if ac_fn_c_try_compile "$LINENO"
   4169 then :
   4170   ac_cv_prog_cc_c11=$ac_arg
   4171 fi
   4172 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4173   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4174 done
   4175 rm -f conftest.$ac_ext
   4176 CC=$ac_save_CC ;;
   4177 esac
   4178 fi
   4179 
   4180 if test "x$ac_cv_prog_cc_c11" = xno
   4181 then :
   4182   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4183 printf "%s\n" "unsupported" >&6; }
   4184 else case e in #(
   4185   e) if test "x$ac_cv_prog_cc_c11" = x
   4186 then :
   4187   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4188 printf "%s\n" "none needed" >&6; }
   4189 else case e in #(
   4190   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4191 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4192      CC="$CC $ac_cv_prog_cc_c11" ;;
   4193 esac
   4194 fi
   4195   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4196   ac_prog_cc_stdc=c11 ;;
   4197 esac
   4198 fi
   4199 fi
   4200 if test x$ac_prog_cc_stdc = xno
   4201 then :
   4202   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4203 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4204 if test ${ac_cv_prog_cc_c99+y}
   4205 then :
   4206   printf %s "(cached) " >&6
   4207 else case e in #(
   4208   e) ac_cv_prog_cc_c99=no
   4209 ac_save_CC=$CC
   4210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4211 /* end confdefs.h.  */
   4212 $ac_c_conftest_c99_program
   4213 _ACEOF
   4214 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4215 do
   4216   CC="$ac_save_CC $ac_arg"
   4217   if ac_fn_c_try_compile "$LINENO"
   4218 then :
   4219   ac_cv_prog_cc_c99=$ac_arg
   4220 fi
   4221 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4222   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4223 done
   4224 rm -f conftest.$ac_ext
   4225 CC=$ac_save_CC ;;
   4226 esac
   4227 fi
   4228 
   4229 if test "x$ac_cv_prog_cc_c99" = xno
   4230 then :
   4231   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4232 printf "%s\n" "unsupported" >&6; }
   4233 else case e in #(
   4234   e) if test "x$ac_cv_prog_cc_c99" = x
   4235 then :
   4236   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4237 printf "%s\n" "none needed" >&6; }
   4238 else case e in #(
   4239   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4240 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4241      CC="$CC $ac_cv_prog_cc_c99" ;;
   4242 esac
   4243 fi
   4244   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4245   ac_prog_cc_stdc=c99 ;;
   4246 esac
   4247 fi
   4248 fi
   4249 if test x$ac_prog_cc_stdc = xno
   4250 then :
   4251   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4252 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4253 if test ${ac_cv_prog_cc_c89+y}
   4254 then :
   4255   printf %s "(cached) " >&6
   4256 else case e in #(
   4257   e) ac_cv_prog_cc_c89=no
   4258 ac_save_CC=$CC
   4259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4260 /* end confdefs.h.  */
   4261 $ac_c_conftest_c89_program
   4262 _ACEOF
   4263 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4264 do
   4265   CC="$ac_save_CC $ac_arg"
   4266   if ac_fn_c_try_compile "$LINENO"
   4267 then :
   4268   ac_cv_prog_cc_c89=$ac_arg
   4269 fi
   4270 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4271   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4272 done
   4273 rm -f conftest.$ac_ext
   4274 CC=$ac_save_CC ;;
   4275 esac
   4276 fi
   4277 
   4278 if test "x$ac_cv_prog_cc_c89" = xno
   4279 then :
   4280   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4281 printf "%s\n" "unsupported" >&6; }
   4282 else case e in #(
   4283   e) if test "x$ac_cv_prog_cc_c89" = x
   4284 then :
   4285   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4286 printf "%s\n" "none needed" >&6; }
   4287 else case e in #(
   4288   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4289 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4290      CC="$CC $ac_cv_prog_cc_c89" ;;
   4291 esac
   4292 fi
   4293   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4294   ac_prog_cc_stdc=c89 ;;
   4295 esac
   4296 fi
   4297 fi
   4298 
   4299 ac_ext=c
   4300 ac_cpp='$CPP $CPPFLAGS'
   4301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4304 
   4305 
   4306   ac_ext=c
   4307 ac_cpp='$CPP $CPPFLAGS'
   4308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4312 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4313 if test ${am_cv_prog_cc_c_o+y}
   4314 then :
   4315   printf %s "(cached) " >&6
   4316 else case e in #(
   4317   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4318 /* end confdefs.h.  */
   4319 
   4320 int
   4321 main (void)
   4322 {
   4323 
   4324   ;
   4325   return 0;
   4326 }
   4327 _ACEOF
   4328   # Make sure it works both with $CC and with simple cc.
   4329   # Following AC_PROG_CC_C_O, we do the test twice because some
   4330   # compilers refuse to overwrite an existing .o file with -o,
   4331   # though they will create one.
   4332   am_cv_prog_cc_c_o=yes
   4333   for am_i in 1 2; do
   4334     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4335    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4336    ac_status=$?
   4337    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4338    (exit $ac_status); } \
   4339          && test -f conftest2.$ac_objext; then
   4340       : OK
   4341     else
   4342       am_cv_prog_cc_c_o=no
   4343       break
   4344     fi
   4345   done
   4346   rm -f core conftest*
   4347   unset am_i ;;
   4348 esac
   4349 fi
   4350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4351 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4352 if test "$am_cv_prog_cc_c_o" != yes; then
   4353    # Losing compiler, so override with the script.
   4354    # FIXME: It is wrong to rewrite CC.
   4355    # But if we don't then we get into trouble of one sort or another.
   4356    # A longer-term fix would be to have automake use am__CC in this case,
   4357    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4358    CC="$am_aux_dir/compile $CC"
   4359 fi
   4360 ac_ext=c
   4361 ac_cpp='$CPP $CPPFLAGS'
   4362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4365 
   4366 
   4367 depcc="$CC"   am_compiler_list=
   4368 
   4369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4370 printf %s "checking dependency style of $depcc... " >&6; }
   4371 if test ${am_cv_CC_dependencies_compiler_type+y}
   4372 then :
   4373   printf %s "(cached) " >&6
   4374 else case e in #(
   4375   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4376   # We make a subdir and do the tests there.  Otherwise we can end up
   4377   # making bogus files that we don't know about and never remove.  For
   4378   # instance it was reported that on HP-UX the gcc test will end up
   4379   # making a dummy file named 'D' -- because '-MD' means "put the output
   4380   # in D".
   4381   rm -rf conftest.dir
   4382   mkdir conftest.dir
   4383   # Copy depcomp to subdir because otherwise we won't find it if we're
   4384   # using a relative directory.
   4385   cp "$am_depcomp" conftest.dir
   4386   cd conftest.dir
   4387   # We will build objects and dependencies in a subdirectory because
   4388   # it helps to detect inapplicable dependency modes.  For instance
   4389   # both Tru64's cc and ICC support -MD to output dependencies as a
   4390   # side effect of compilation, but ICC will put the dependencies in
   4391   # the current directory while Tru64 will put them in the object
   4392   # directory.
   4393   mkdir sub
   4394 
   4395   am_cv_CC_dependencies_compiler_type=none
   4396   if test "$am_compiler_list" = ""; then
   4397      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4398   fi
   4399   am__universal=false
   4400   case " $depcc " in #(
   4401      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4402      esac
   4403 
   4404   for depmode in $am_compiler_list; do
   4405     # Setup a source with many dependencies, because some compilers
   4406     # like to wrap large dependency lists on column 80 (with \), and
   4407     # we should not choose a depcomp mode which is confused by this.
   4408     #
   4409     # We need to recreate these files for each test, as the compiler may
   4410     # overwrite some of them when testing with obscure command lines.
   4411     # This happens at least with the AIX C compiler.
   4412     : > sub/conftest.c
   4413     for i in 1 2 3 4 5 6; do
   4414       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4415       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4416       # Solaris 10 /bin/sh.
   4417       echo '/* dummy */' > sub/conftst$i.h
   4418     done
   4419     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4420 
   4421     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4422     # mode.  It turns out that the SunPro C++ compiler does not properly
   4423     # handle '-M -o', and we need to detect this.  Also, some Intel
   4424     # versions had trouble with output in subdirs.
   4425     am__obj=sub/conftest.${OBJEXT-o}
   4426     am__minus_obj="-o $am__obj"
   4427     case $depmode in
   4428     gcc)
   4429       # This depmode causes a compiler race in universal mode.
   4430       test "$am__universal" = false || continue
   4431       ;;
   4432     nosideeffect)
   4433       # After this tag, mechanisms are not by side-effect, so they'll
   4434       # only be used when explicitly requested.
   4435       if test "x$enable_dependency_tracking" = xyes; then
   4436 	continue
   4437       else
   4438 	break
   4439       fi
   4440       ;;
   4441     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4442       # This compiler won't grok '-c -o', but also, the minuso test has
   4443       # not run yet.  These depmodes are late enough in the game, and
   4444       # so weak that their functioning should not be impacted.
   4445       am__obj=conftest.${OBJEXT-o}
   4446       am__minus_obj=
   4447       ;;
   4448     none) break ;;
   4449     esac
   4450     if depmode=$depmode \
   4451        source=sub/conftest.c object=$am__obj \
   4452        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4453        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4454          >/dev/null 2>conftest.err &&
   4455        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4456        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4457        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4458        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4459       # icc doesn't choke on unknown options, it will just issue warnings
   4460       # or remarks (even with -Werror).  So we grep stderr for any message
   4461       # that says an option was ignored or not supported.
   4462       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4463       #   icc: Command line warning: ignoring option '-M'; no argument required
   4464       # The diagnosis changed in icc 8.0:
   4465       #   icc: Command line remark: option '-MP' not supported
   4466       if (grep 'ignoring option' conftest.err ||
   4467           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4468         am_cv_CC_dependencies_compiler_type=$depmode
   4469         break
   4470       fi
   4471     fi
   4472   done
   4473 
   4474   cd ..
   4475   rm -rf conftest.dir
   4476 else
   4477   am_cv_CC_dependencies_compiler_type=none
   4478 fi
   4479  ;;
   4480 esac
   4481 fi
   4482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4483 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4484 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4485 
   4486  if
   4487   test "x$enable_dependency_tracking" != xno \
   4488   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4489   am__fastdepCC_TRUE=
   4490   am__fastdepCC_FALSE='#'
   4491 else
   4492   am__fastdepCC_TRUE='#'
   4493   am__fastdepCC_FALSE=
   4494 fi
   4495 
   4496 
   4497 
   4498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4499 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4500 if test ${ac_cv_c_undeclared_builtin_options+y}
   4501 then :
   4502   printf %s "(cached) " >&6
   4503 else case e in #(
   4504   e) ac_save_CFLAGS=$CFLAGS
   4505    ac_cv_c_undeclared_builtin_options='cannot detect'
   4506    for ac_arg in '' -fno-builtin; do
   4507      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4508      # This test program should *not* compile successfully.
   4509      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4510 /* end confdefs.h.  */
   4511 
   4512 int
   4513 main (void)
   4514 {
   4515 (void) strchr;
   4516   ;
   4517   return 0;
   4518 }
   4519 _ACEOF
   4520 if ac_fn_c_try_compile "$LINENO"
   4521 then :
   4522 
   4523 else case e in #(
   4524   e) # This test program should compile successfully.
   4525         # No library function is consistently available on
   4526         # freestanding implementations, so test against a dummy
   4527         # declaration.  Include always-available headers on the
   4528         # off chance that they somehow elicit warnings.
   4529         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4530 /* end confdefs.h.  */
   4531 #include <float.h>
   4532 #include <limits.h>
   4533 #include <stdarg.h>
   4534 #include <stddef.h>
   4535 extern void ac_decl (int, char *);
   4536 
   4537 int
   4538 main (void)
   4539 {
   4540 (void) ac_decl (0, (char *) 0);
   4541   (void) ac_decl;
   4542 
   4543   ;
   4544   return 0;
   4545 }
   4546 _ACEOF
   4547 if ac_fn_c_try_compile "$LINENO"
   4548 then :
   4549   if test x"$ac_arg" = x
   4550 then :
   4551   ac_cv_c_undeclared_builtin_options='none needed'
   4552 else case e in #(
   4553   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   4554 esac
   4555 fi
   4556           break
   4557 fi
   4558 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4559 esac
   4560 fi
   4561 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4562     done
   4563     CFLAGS=$ac_save_CFLAGS
   4564    ;;
   4565 esac
   4566 fi
   4567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4568 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4569   case $ac_cv_c_undeclared_builtin_options in #(
   4570   'cannot detect') :
   4571     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4572 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4573 as_fn_error $? "cannot make $CC report undeclared builtins
   4574 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   4575   'none needed') :
   4576     ac_c_undeclared_builtin_options='' ;; #(
   4577   *) :
   4578     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4579 esac
   4580 
   4581 ac_header= ac_cache=
   4582 for ac_item in $ac_header_c_list
   4583 do
   4584   if test $ac_cache; then
   4585     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4586     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4587       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4588     fi
   4589     ac_header= ac_cache=
   4590   elif test $ac_header; then
   4591     ac_cache=$ac_item
   4592   else
   4593     ac_header=$ac_item
   4594   fi
   4595 done
   4596 
   4597 
   4598 
   4599 
   4600 
   4601 
   4602 
   4603 
   4604 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4605 then :
   4606 
   4607 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4608 
   4609 fi
   4610 
   4611 
   4612 
   4613 
   4614 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4615 if test "x$ac_cv_have_decl___clang__" = xyes
   4616 then :
   4617   CLANGCC="yes"
   4618 else case e in #(
   4619   e) CLANGCC="no" ;;
   4620 esac
   4621 fi
   4622 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4623 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4624 then :
   4625   INTELCC="yes"
   4626 else case e in #(
   4627   e) INTELCC="no" ;;
   4628 esac
   4629 fi
   4630 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4631 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4632 then :
   4633   SUNCC="yes"
   4634 else case e in #(
   4635   e) SUNCC="no" ;;
   4636 esac
   4637 fi
   4638 
   4639 
   4640 
   4641 
   4642 
   4643 
   4644 
   4645 
   4646 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4647 	if test -n "$ac_tool_prefix"; then
   4648   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4649 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4651 printf %s "checking for $ac_word... " >&6; }
   4652 if test ${ac_cv_path_PKG_CONFIG+y}
   4653 then :
   4654   printf %s "(cached) " >&6
   4655 else case e in #(
   4656   e) case $PKG_CONFIG in
   4657   [\\/]* | ?:[\\/]*)
   4658   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4659   ;;
   4660   *)
   4661   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4662 for as_dir in $PATH
   4663 do
   4664   IFS=$as_save_IFS
   4665   case $as_dir in #(((
   4666     '') as_dir=./ ;;
   4667     */) ;;
   4668     *) as_dir=$as_dir/ ;;
   4669   esac
   4670     for ac_exec_ext in '' $ac_executable_extensions; do
   4671   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4672     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4673     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4674     break 2
   4675   fi
   4676 done
   4677   done
   4678 IFS=$as_save_IFS
   4679 
   4680   ;;
   4681 esac ;;
   4682 esac
   4683 fi
   4684 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4685 if test -n "$PKG_CONFIG"; then
   4686   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4687 printf "%s\n" "$PKG_CONFIG" >&6; }
   4688 else
   4689   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4690 printf "%s\n" "no" >&6; }
   4691 fi
   4692 
   4693 
   4694 fi
   4695 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4696   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4697   # Extract the first word of "pkg-config", so it can be a program name with args.
   4698 set dummy pkg-config; ac_word=$2
   4699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4700 printf %s "checking for $ac_word... " >&6; }
   4701 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4702 then :
   4703   printf %s "(cached) " >&6
   4704 else case e in #(
   4705   e) case $ac_pt_PKG_CONFIG in
   4706   [\\/]* | ?:[\\/]*)
   4707   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4708   ;;
   4709   *)
   4710   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4711 for as_dir in $PATH
   4712 do
   4713   IFS=$as_save_IFS
   4714   case $as_dir in #(((
   4715     '') as_dir=./ ;;
   4716     */) ;;
   4717     *) as_dir=$as_dir/ ;;
   4718   esac
   4719     for ac_exec_ext in '' $ac_executable_extensions; do
   4720   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4721     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4722     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4723     break 2
   4724   fi
   4725 done
   4726   done
   4727 IFS=$as_save_IFS
   4728 
   4729   ;;
   4730 esac ;;
   4731 esac
   4732 fi
   4733 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4734 if test -n "$ac_pt_PKG_CONFIG"; then
   4735   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4736 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4737 else
   4738   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4739 printf "%s\n" "no" >&6; }
   4740 fi
   4741 
   4742   if test "x$ac_pt_PKG_CONFIG" = x; then
   4743     PKG_CONFIG=""
   4744   else
   4745     case $cross_compiling:$ac_tool_warned in
   4746 yes:)
   4747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4748 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4749 ac_tool_warned=yes ;;
   4750 esac
   4751     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4752   fi
   4753 else
   4754   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4755 fi
   4756 
   4757 fi
   4758 if test -n "$PKG_CONFIG"; then
   4759 	_pkg_min_version=0.9.0
   4760 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4761 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4762 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4763 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4764 printf "%s\n" "yes" >&6; }
   4765 	else
   4766 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4767 printf "%s\n" "no" >&6; }
   4768 		PKG_CONFIG=""
   4769 	fi
   4770 fi
   4771 
   4772 
   4773   # Make sure we can run config.sub.
   4774 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4775   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4776 
   4777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4778 printf %s "checking build system type... " >&6; }
   4779 if test ${ac_cv_build+y}
   4780 then :
   4781   printf %s "(cached) " >&6
   4782 else case e in #(
   4783   e) ac_build_alias=$build_alias
   4784 test "x$ac_build_alias" = x &&
   4785   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4786 test "x$ac_build_alias" = x &&
   4787   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4788 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4789   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4790  ;;
   4791 esac
   4792 fi
   4793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4794 printf "%s\n" "$ac_cv_build" >&6; }
   4795 case $ac_cv_build in
   4796 *-*-*) ;;
   4797 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4798 esac
   4799 build=$ac_cv_build
   4800 ac_save_IFS=$IFS; IFS='-'
   4801 set x $ac_cv_build
   4802 shift
   4803 build_cpu=$1
   4804 build_vendor=$2
   4805 shift; shift
   4806 # Remember, the first character of IFS is used to create $*,
   4807 # except with old shells:
   4808 build_os=$*
   4809 IFS=$ac_save_IFS
   4810 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4811 
   4812 
   4813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4814 printf %s "checking host system type... " >&6; }
   4815 if test ${ac_cv_host+y}
   4816 then :
   4817   printf %s "(cached) " >&6
   4818 else case e in #(
   4819   e) if test "x$host_alias" = x; then
   4820   ac_cv_host=$ac_cv_build
   4821 else
   4822   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4823     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4824 fi
   4825  ;;
   4826 esac
   4827 fi
   4828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4829 printf "%s\n" "$ac_cv_host" >&6; }
   4830 case $ac_cv_host in
   4831 *-*-*) ;;
   4832 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4833 esac
   4834 host=$ac_cv_host
   4835 ac_save_IFS=$IFS; IFS='-'
   4836 set x $ac_cv_host
   4837 shift
   4838 host_cpu=$1
   4839 host_vendor=$2
   4840 shift; shift
   4841 # Remember, the first character of IFS is used to create $*,
   4842 # except with old shells:
   4843 host_os=$*
   4844 IFS=$ac_save_IFS
   4845 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4846 
   4847 
   4848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4849 printf %s "checking for a sed that does not truncate output... " >&6; }
   4850 if test ${ac_cv_path_SED+y}
   4851 then :
   4852   printf %s "(cached) " >&6
   4853 else case e in #(
   4854   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4855      for ac_i in 1 2 3 4 5 6 7; do
   4856        ac_script="$ac_script$as_nl$ac_script"
   4857      done
   4858      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4859      { ac_script=; unset ac_script;}
   4860      if test -z "$SED"; then
   4861   ac_path_SED_found=false
   4862   # Loop through the user's path and test for each of PROGNAME-LIST
   4863   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4864 for as_dir in $PATH
   4865 do
   4866   IFS=$as_save_IFS
   4867   case $as_dir in #(((
   4868     '') as_dir=./ ;;
   4869     */) ;;
   4870     *) as_dir=$as_dir/ ;;
   4871   esac
   4872     for ac_prog in sed gsed
   4873    do
   4874     for ac_exec_ext in '' $ac_executable_extensions; do
   4875       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4876       as_fn_executable_p "$ac_path_SED" || continue
   4877 # Check for GNU ac_path_SED and select it if it is found.
   4878   # Check for GNU $ac_path_SED
   4879 case `"$ac_path_SED" --version 2>&1` in #(
   4880 *GNU*)
   4881   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4882 #(
   4883 *)
   4884   ac_count=0
   4885   printf %s 0123456789 >"conftest.in"
   4886   while :
   4887   do
   4888     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4889     mv "conftest.tmp" "conftest.in"
   4890     cp "conftest.in" "conftest.nl"
   4891     printf "%s\n" '' >> "conftest.nl"
   4892     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4893     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4894     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4895     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4896       # Best one so far, save it but keep looking for a better one
   4897       ac_cv_path_SED="$ac_path_SED"
   4898       ac_path_SED_max=$ac_count
   4899     fi
   4900     # 10*(2^10) chars as input seems more than enough
   4901     test $ac_count -gt 10 && break
   4902   done
   4903   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4904 esac
   4905 
   4906       $ac_path_SED_found && break 3
   4907     done
   4908   done
   4909   done
   4910 IFS=$as_save_IFS
   4911   if test -z "$ac_cv_path_SED"; then
   4912     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4913   fi
   4914 else
   4915   ac_cv_path_SED=$SED
   4916 fi
   4917  ;;
   4918 esac
   4919 fi
   4920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4921 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4922  SED="$ac_cv_path_SED"
   4923   rm -f conftest.sed
   4924 
   4925 
   4926 
   4927 
   4928 
   4929 
   4930 # Check whether --enable-selective-werror was given.
   4931 if test ${enable_selective_werror+y}
   4932 then :
   4933   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4934 else case e in #(
   4935   e) SELECTIVE_WERROR=yes ;;
   4936 esac
   4937 fi
   4938 
   4939 
   4940 
   4941 
   4942 
   4943 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4944 if test "x$SUNCC" = "xyes"; then
   4945     BASE_CFLAGS="-v"
   4946 else
   4947     BASE_CFLAGS=""
   4948 fi
   4949 
   4950 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4951 
   4952 
   4953 
   4954 
   4955 
   4956 
   4957 
   4958 
   4959 
   4960 
   4961 
   4962 
   4963 
   4964 xorg_testset_save_CFLAGS="$CFLAGS"
   4965 
   4966 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4967 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4968 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4969 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4970 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   4971 then :
   4972   printf %s "(cached) " >&6
   4973 else case e in #(
   4974   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4975 /* end confdefs.h.  */
   4976 int i;
   4977 _ACEOF
   4978 if ac_fn_c_try_compile "$LINENO"
   4979 then :
   4980   xorg_cv_cc_flag_unknown_warning_option=yes
   4981 else case e in #(
   4982   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   4983 esac
   4984 fi
   4985 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4986 esac
   4987 fi
   4988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4989 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4990 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4991 	CFLAGS="$xorg_testset_save_CFLAGS"
   4992 fi
   4993 
   4994 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4995 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4996 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4997 	fi
   4998 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4999 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5000 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5001 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5002 then :
   5003   printf %s "(cached) " >&6
   5004 else case e in #(
   5005   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5006 /* end confdefs.h.  */
   5007 int i;
   5008 _ACEOF
   5009 if ac_fn_c_try_compile "$LINENO"
   5010 then :
   5011   xorg_cv_cc_flag_unused_command_line_argument=yes
   5012 else case e in #(
   5013   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5014 esac
   5015 fi
   5016 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5017 esac
   5018 fi
   5019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5020 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5021 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5022 	CFLAGS="$xorg_testset_save_CFLAGS"
   5023 fi
   5024 
   5025 found="no"
   5026 
   5027 	if test $found = "no" ; then
   5028 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5029 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5030 		fi
   5031 
   5032 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5033 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5034 		fi
   5035 
   5036 		CFLAGS="$CFLAGS -Wall"
   5037 
   5038 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5039 printf %s "checking if $CC supports -Wall... " >&6; }
   5040 		cacheid=xorg_cv_cc_flag__Wall
   5041 		if eval test \${$cacheid+y}
   5042 then :
   5043   printf %s "(cached) " >&6
   5044 else case e in #(
   5045   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5046 /* end confdefs.h.  */
   5047 int i;
   5048 int
   5049 main (void)
   5050 {
   5051 
   5052   ;
   5053   return 0;
   5054 }
   5055 _ACEOF
   5056 if ac_fn_c_try_link "$LINENO"
   5057 then :
   5058   eval $cacheid=yes
   5059 else case e in #(
   5060   e) eval $cacheid=no ;;
   5061 esac
   5062 fi
   5063 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5064     conftest$ac_exeext conftest.$ac_ext ;;
   5065 esac
   5066 fi
   5067 
   5068 
   5069 		CFLAGS="$xorg_testset_save_CFLAGS"
   5070 
   5071 		eval supported=\$$cacheid
   5072 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5073 printf "%s\n" "$supported" >&6; }
   5074 		if test "$supported" = "yes" ; then
   5075 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5076 			found="yes"
   5077 		fi
   5078 	fi
   5079 
   5080 
   5081 
   5082 
   5083 
   5084 
   5085 
   5086 
   5087 
   5088 
   5089 
   5090 
   5091 
   5092 
   5093 
   5094 xorg_testset_save_CFLAGS="$CFLAGS"
   5095 
   5096 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5097 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5098 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5099 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5100 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5101 then :
   5102   printf %s "(cached) " >&6
   5103 else case e in #(
   5104   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5105 /* end confdefs.h.  */
   5106 int i;
   5107 _ACEOF
   5108 if ac_fn_c_try_compile "$LINENO"
   5109 then :
   5110   xorg_cv_cc_flag_unknown_warning_option=yes
   5111 else case e in #(
   5112   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5113 esac
   5114 fi
   5115 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5116 esac
   5117 fi
   5118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5119 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5120 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5121 	CFLAGS="$xorg_testset_save_CFLAGS"
   5122 fi
   5123 
   5124 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5125 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5126 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5127 	fi
   5128 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5129 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5130 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5131 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5132 then :
   5133   printf %s "(cached) " >&6
   5134 else case e in #(
   5135   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5136 /* end confdefs.h.  */
   5137 int i;
   5138 _ACEOF
   5139 if ac_fn_c_try_compile "$LINENO"
   5140 then :
   5141   xorg_cv_cc_flag_unused_command_line_argument=yes
   5142 else case e in #(
   5143   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5144 esac
   5145 fi
   5146 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5147 esac
   5148 fi
   5149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5150 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5151 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5152 	CFLAGS="$xorg_testset_save_CFLAGS"
   5153 fi
   5154 
   5155 found="no"
   5156 
   5157 	if test $found = "no" ; then
   5158 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5159 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5160 		fi
   5161 
   5162 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5163 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5164 		fi
   5165 
   5166 		CFLAGS="$CFLAGS -Wpointer-arith"
   5167 
   5168 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5169 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5170 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5171 		if eval test \${$cacheid+y}
   5172 then :
   5173   printf %s "(cached) " >&6
   5174 else case e in #(
   5175   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5176 /* end confdefs.h.  */
   5177 int i;
   5178 int
   5179 main (void)
   5180 {
   5181 
   5182   ;
   5183   return 0;
   5184 }
   5185 _ACEOF
   5186 if ac_fn_c_try_link "$LINENO"
   5187 then :
   5188   eval $cacheid=yes
   5189 else case e in #(
   5190   e) eval $cacheid=no ;;
   5191 esac
   5192 fi
   5193 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5194     conftest$ac_exeext conftest.$ac_ext ;;
   5195 esac
   5196 fi
   5197 
   5198 
   5199 		CFLAGS="$xorg_testset_save_CFLAGS"
   5200 
   5201 		eval supported=\$$cacheid
   5202 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5203 printf "%s\n" "$supported" >&6; }
   5204 		if test "$supported" = "yes" ; then
   5205 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5206 			found="yes"
   5207 		fi
   5208 	fi
   5209 
   5210 
   5211 
   5212 
   5213 
   5214 
   5215 
   5216 
   5217 
   5218 
   5219 
   5220 
   5221 
   5222 
   5223 
   5224 xorg_testset_save_CFLAGS="$CFLAGS"
   5225 
   5226 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5227 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5228 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5229 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5230 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5231 then :
   5232   printf %s "(cached) " >&6
   5233 else case e in #(
   5234   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5235 /* end confdefs.h.  */
   5236 int i;
   5237 _ACEOF
   5238 if ac_fn_c_try_compile "$LINENO"
   5239 then :
   5240   xorg_cv_cc_flag_unknown_warning_option=yes
   5241 else case e in #(
   5242   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5243 esac
   5244 fi
   5245 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5246 esac
   5247 fi
   5248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5249 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5250 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5251 	CFLAGS="$xorg_testset_save_CFLAGS"
   5252 fi
   5253 
   5254 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5255 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5256 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5257 	fi
   5258 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5259 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5260 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5261 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5262 then :
   5263   printf %s "(cached) " >&6
   5264 else case e in #(
   5265   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5266 /* end confdefs.h.  */
   5267 int i;
   5268 _ACEOF
   5269 if ac_fn_c_try_compile "$LINENO"
   5270 then :
   5271   xorg_cv_cc_flag_unused_command_line_argument=yes
   5272 else case e in #(
   5273   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5274 esac
   5275 fi
   5276 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5277 esac
   5278 fi
   5279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5280 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5281 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5282 	CFLAGS="$xorg_testset_save_CFLAGS"
   5283 fi
   5284 
   5285 found="no"
   5286 
   5287 	if test $found = "no" ; then
   5288 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5289 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5290 		fi
   5291 
   5292 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5293 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5294 		fi
   5295 
   5296 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5297 
   5298 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5299 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5300 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5301 		if eval test \${$cacheid+y}
   5302 then :
   5303   printf %s "(cached) " >&6
   5304 else case e in #(
   5305   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5306 /* end confdefs.h.  */
   5307 int i;
   5308 int
   5309 main (void)
   5310 {
   5311 
   5312   ;
   5313   return 0;
   5314 }
   5315 _ACEOF
   5316 if ac_fn_c_try_link "$LINENO"
   5317 then :
   5318   eval $cacheid=yes
   5319 else case e in #(
   5320   e) eval $cacheid=no ;;
   5321 esac
   5322 fi
   5323 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5324     conftest$ac_exeext conftest.$ac_ext ;;
   5325 esac
   5326 fi
   5327 
   5328 
   5329 		CFLAGS="$xorg_testset_save_CFLAGS"
   5330 
   5331 		eval supported=\$$cacheid
   5332 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5333 printf "%s\n" "$supported" >&6; }
   5334 		if test "$supported" = "yes" ; then
   5335 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5336 			found="yes"
   5337 		fi
   5338 	fi
   5339 
   5340 
   5341 
   5342 
   5343 
   5344 
   5345 
   5346 
   5347 
   5348 
   5349 
   5350 
   5351 
   5352 
   5353 
   5354 xorg_testset_save_CFLAGS="$CFLAGS"
   5355 
   5356 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5357 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5358 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5359 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5360 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5361 then :
   5362   printf %s "(cached) " >&6
   5363 else case e in #(
   5364   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5365 /* end confdefs.h.  */
   5366 int i;
   5367 _ACEOF
   5368 if ac_fn_c_try_compile "$LINENO"
   5369 then :
   5370   xorg_cv_cc_flag_unknown_warning_option=yes
   5371 else case e in #(
   5372   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5373 esac
   5374 fi
   5375 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5376 esac
   5377 fi
   5378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5379 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5380 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5381 	CFLAGS="$xorg_testset_save_CFLAGS"
   5382 fi
   5383 
   5384 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5385 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5386 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5387 	fi
   5388 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5389 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5390 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5391 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5392 then :
   5393   printf %s "(cached) " >&6
   5394 else case e in #(
   5395   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5396 /* end confdefs.h.  */
   5397 int i;
   5398 _ACEOF
   5399 if ac_fn_c_try_compile "$LINENO"
   5400 then :
   5401   xorg_cv_cc_flag_unused_command_line_argument=yes
   5402 else case e in #(
   5403   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5404 esac
   5405 fi
   5406 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5407 esac
   5408 fi
   5409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5410 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5411 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5412 	CFLAGS="$xorg_testset_save_CFLAGS"
   5413 fi
   5414 
   5415 found="no"
   5416 
   5417 	if test $found = "no" ; then
   5418 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5419 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5420 		fi
   5421 
   5422 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5423 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5424 		fi
   5425 
   5426 		CFLAGS="$CFLAGS -Wformat=2"
   5427 
   5428 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5429 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5430 		cacheid=xorg_cv_cc_flag__Wformat_2
   5431 		if eval test \${$cacheid+y}
   5432 then :
   5433   printf %s "(cached) " >&6
   5434 else case e in #(
   5435   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5436 /* end confdefs.h.  */
   5437 int i;
   5438 int
   5439 main (void)
   5440 {
   5441 
   5442   ;
   5443   return 0;
   5444 }
   5445 _ACEOF
   5446 if ac_fn_c_try_link "$LINENO"
   5447 then :
   5448   eval $cacheid=yes
   5449 else case e in #(
   5450   e) eval $cacheid=no ;;
   5451 esac
   5452 fi
   5453 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5454     conftest$ac_exeext conftest.$ac_ext ;;
   5455 esac
   5456 fi
   5457 
   5458 
   5459 		CFLAGS="$xorg_testset_save_CFLAGS"
   5460 
   5461 		eval supported=\$$cacheid
   5462 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5463 printf "%s\n" "$supported" >&6; }
   5464 		if test "$supported" = "yes" ; then
   5465 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5466 			found="yes"
   5467 		fi
   5468 	fi
   5469 
   5470 	if test $found = "no" ; then
   5471 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5472 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5473 		fi
   5474 
   5475 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5476 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5477 		fi
   5478 
   5479 		CFLAGS="$CFLAGS -Wformat"
   5480 
   5481 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5482 printf %s "checking if $CC supports -Wformat... " >&6; }
   5483 		cacheid=xorg_cv_cc_flag__Wformat
   5484 		if eval test \${$cacheid+y}
   5485 then :
   5486   printf %s "(cached) " >&6
   5487 else case e in #(
   5488   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5489 /* end confdefs.h.  */
   5490 int i;
   5491 int
   5492 main (void)
   5493 {
   5494 
   5495   ;
   5496   return 0;
   5497 }
   5498 _ACEOF
   5499 if ac_fn_c_try_link "$LINENO"
   5500 then :
   5501   eval $cacheid=yes
   5502 else case e in #(
   5503   e) eval $cacheid=no ;;
   5504 esac
   5505 fi
   5506 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5507     conftest$ac_exeext conftest.$ac_ext ;;
   5508 esac
   5509 fi
   5510 
   5511 
   5512 		CFLAGS="$xorg_testset_save_CFLAGS"
   5513 
   5514 		eval supported=\$$cacheid
   5515 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5516 printf "%s\n" "$supported" >&6; }
   5517 		if test "$supported" = "yes" ; then
   5518 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5519 			found="yes"
   5520 		fi
   5521 	fi
   5522 
   5523 
   5524 
   5525 
   5526 
   5527 
   5528 
   5529 
   5530 
   5531 
   5532 
   5533 
   5534 
   5535 
   5536 
   5537 
   5538 
   5539 xorg_testset_save_CFLAGS="$CFLAGS"
   5540 
   5541 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5542 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5543 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5544 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5545 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5546 then :
   5547   printf %s "(cached) " >&6
   5548 else case e in #(
   5549   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5550 /* end confdefs.h.  */
   5551 int i;
   5552 _ACEOF
   5553 if ac_fn_c_try_compile "$LINENO"
   5554 then :
   5555   xorg_cv_cc_flag_unknown_warning_option=yes
   5556 else case e in #(
   5557   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5558 esac
   5559 fi
   5560 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5561 esac
   5562 fi
   5563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5564 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5565 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5566 	CFLAGS="$xorg_testset_save_CFLAGS"
   5567 fi
   5568 
   5569 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5570 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5571 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5572 	fi
   5573 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5574 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5575 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5576 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5577 then :
   5578   printf %s "(cached) " >&6
   5579 else case e in #(
   5580   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5581 /* end confdefs.h.  */
   5582 int i;
   5583 _ACEOF
   5584 if ac_fn_c_try_compile "$LINENO"
   5585 then :
   5586   xorg_cv_cc_flag_unused_command_line_argument=yes
   5587 else case e in #(
   5588   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5589 esac
   5590 fi
   5591 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5592 esac
   5593 fi
   5594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5595 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5596 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5597 	CFLAGS="$xorg_testset_save_CFLAGS"
   5598 fi
   5599 
   5600 found="no"
   5601 
   5602 	if test $found = "no" ; then
   5603 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5604 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5605 		fi
   5606 
   5607 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5608 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5609 		fi
   5610 
   5611 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5612 
   5613 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5614 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5615 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5616 		if eval test \${$cacheid+y}
   5617 then :
   5618   printf %s "(cached) " >&6
   5619 else case e in #(
   5620   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5621 /* end confdefs.h.  */
   5622 int i;
   5623 int
   5624 main (void)
   5625 {
   5626 
   5627   ;
   5628   return 0;
   5629 }
   5630 _ACEOF
   5631 if ac_fn_c_try_link "$LINENO"
   5632 then :
   5633   eval $cacheid=yes
   5634 else case e in #(
   5635   e) eval $cacheid=no ;;
   5636 esac
   5637 fi
   5638 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5639     conftest$ac_exeext conftest.$ac_ext ;;
   5640 esac
   5641 fi
   5642 
   5643 
   5644 		CFLAGS="$xorg_testset_save_CFLAGS"
   5645 
   5646 		eval supported=\$$cacheid
   5647 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5648 printf "%s\n" "$supported" >&6; }
   5649 		if test "$supported" = "yes" ; then
   5650 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5651 			found="yes"
   5652 		fi
   5653 	fi
   5654 
   5655 
   5656 
   5657 
   5658 
   5659 
   5660 
   5661 
   5662 
   5663 
   5664 
   5665 
   5666 
   5667 
   5668 
   5669 xorg_testset_save_CFLAGS="$CFLAGS"
   5670 
   5671 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5672 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5673 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5674 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5675 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5676 then :
   5677   printf %s "(cached) " >&6
   5678 else case e in #(
   5679   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5680 /* end confdefs.h.  */
   5681 int i;
   5682 _ACEOF
   5683 if ac_fn_c_try_compile "$LINENO"
   5684 then :
   5685   xorg_cv_cc_flag_unknown_warning_option=yes
   5686 else case e in #(
   5687   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5688 esac
   5689 fi
   5690 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5691 esac
   5692 fi
   5693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5694 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5695 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5696 	CFLAGS="$xorg_testset_save_CFLAGS"
   5697 fi
   5698 
   5699 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5700 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5701 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5702 	fi
   5703 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5704 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5705 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5706 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5707 then :
   5708   printf %s "(cached) " >&6
   5709 else case e in #(
   5710   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5711 /* end confdefs.h.  */
   5712 int i;
   5713 _ACEOF
   5714 if ac_fn_c_try_compile "$LINENO"
   5715 then :
   5716   xorg_cv_cc_flag_unused_command_line_argument=yes
   5717 else case e in #(
   5718   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5719 esac
   5720 fi
   5721 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5722 esac
   5723 fi
   5724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5725 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5726 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5727 	CFLAGS="$xorg_testset_save_CFLAGS"
   5728 fi
   5729 
   5730 found="no"
   5731 
   5732 	if test $found = "no" ; then
   5733 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5734 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5735 		fi
   5736 
   5737 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5738 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5739 		fi
   5740 
   5741 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5742 
   5743 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5744 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5745 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5746 		if eval test \${$cacheid+y}
   5747 then :
   5748   printf %s "(cached) " >&6
   5749 else case e in #(
   5750   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5751 /* end confdefs.h.  */
   5752 int i;
   5753 int
   5754 main (void)
   5755 {
   5756 
   5757   ;
   5758   return 0;
   5759 }
   5760 _ACEOF
   5761 if ac_fn_c_try_link "$LINENO"
   5762 then :
   5763   eval $cacheid=yes
   5764 else case e in #(
   5765   e) eval $cacheid=no ;;
   5766 esac
   5767 fi
   5768 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5769     conftest$ac_exeext conftest.$ac_ext ;;
   5770 esac
   5771 fi
   5772 
   5773 
   5774 		CFLAGS="$xorg_testset_save_CFLAGS"
   5775 
   5776 		eval supported=\$$cacheid
   5777 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5778 printf "%s\n" "$supported" >&6; }
   5779 		if test "$supported" = "yes" ; then
   5780 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5781 			found="yes"
   5782 		fi
   5783 	fi
   5784 
   5785 
   5786 
   5787 
   5788 
   5789 
   5790 
   5791 
   5792 
   5793 
   5794 
   5795 
   5796 
   5797 
   5798 
   5799 xorg_testset_save_CFLAGS="$CFLAGS"
   5800 
   5801 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5802 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5803 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5804 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5805 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5806 then :
   5807   printf %s "(cached) " >&6
   5808 else case e in #(
   5809   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5810 /* end confdefs.h.  */
   5811 int i;
   5812 _ACEOF
   5813 if ac_fn_c_try_compile "$LINENO"
   5814 then :
   5815   xorg_cv_cc_flag_unknown_warning_option=yes
   5816 else case e in #(
   5817   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5818 esac
   5819 fi
   5820 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5821 esac
   5822 fi
   5823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5824 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5825 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5826 	CFLAGS="$xorg_testset_save_CFLAGS"
   5827 fi
   5828 
   5829 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5830 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5831 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5832 	fi
   5833 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5834 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5835 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5836 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5837 then :
   5838   printf %s "(cached) " >&6
   5839 else case e in #(
   5840   e) 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_unused_command_line_argument=yes
   5847 else case e in #(
   5848   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5849 esac
   5850 fi
   5851 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5852 esac
   5853 fi
   5854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5855 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5856 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5857 	CFLAGS="$xorg_testset_save_CFLAGS"
   5858 fi
   5859 
   5860 found="no"
   5861 
   5862 	if test $found = "no" ; then
   5863 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5864 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5865 		fi
   5866 
   5867 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5868 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5869 		fi
   5870 
   5871 		CFLAGS="$CFLAGS -Wnested-externs"
   5872 
   5873 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5874 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   5875 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5876 		if eval test \${$cacheid+y}
   5877 then :
   5878   printf %s "(cached) " >&6
   5879 else case e in #(
   5880   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5881 /* end confdefs.h.  */
   5882 int i;
   5883 int
   5884 main (void)
   5885 {
   5886 
   5887   ;
   5888   return 0;
   5889 }
   5890 _ACEOF
   5891 if ac_fn_c_try_link "$LINENO"
   5892 then :
   5893   eval $cacheid=yes
   5894 else case e in #(
   5895   e) eval $cacheid=no ;;
   5896 esac
   5897 fi
   5898 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5899     conftest$ac_exeext conftest.$ac_ext ;;
   5900 esac
   5901 fi
   5902 
   5903 
   5904 		CFLAGS="$xorg_testset_save_CFLAGS"
   5905 
   5906 		eval supported=\$$cacheid
   5907 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5908 printf "%s\n" "$supported" >&6; }
   5909 		if test "$supported" = "yes" ; then
   5910 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5911 			found="yes"
   5912 		fi
   5913 	fi
   5914 
   5915 
   5916 
   5917 
   5918 
   5919 
   5920 
   5921 
   5922 
   5923 
   5924 
   5925 
   5926 
   5927 
   5928 
   5929 xorg_testset_save_CFLAGS="$CFLAGS"
   5930 
   5931 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5932 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5933 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5934 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5935 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5936 then :
   5937   printf %s "(cached) " >&6
   5938 else case e in #(
   5939   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5940 /* end confdefs.h.  */
   5941 int i;
   5942 _ACEOF
   5943 if ac_fn_c_try_compile "$LINENO"
   5944 then :
   5945   xorg_cv_cc_flag_unknown_warning_option=yes
   5946 else case e in #(
   5947   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5948 esac
   5949 fi
   5950 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5951 esac
   5952 fi
   5953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5954 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5955 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5956 	CFLAGS="$xorg_testset_save_CFLAGS"
   5957 fi
   5958 
   5959 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5960 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5961 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5962 	fi
   5963 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5964 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5965 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5966 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5967 then :
   5968   printf %s "(cached) " >&6
   5969 else case e in #(
   5970   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5971 /* end confdefs.h.  */
   5972 int i;
   5973 _ACEOF
   5974 if ac_fn_c_try_compile "$LINENO"
   5975 then :
   5976   xorg_cv_cc_flag_unused_command_line_argument=yes
   5977 else case e in #(
   5978   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5979 esac
   5980 fi
   5981 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5982 esac
   5983 fi
   5984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5985 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5986 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5987 	CFLAGS="$xorg_testset_save_CFLAGS"
   5988 fi
   5989 
   5990 found="no"
   5991 
   5992 	if test $found = "no" ; then
   5993 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5994 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5995 		fi
   5996 
   5997 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5998 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5999 		fi
   6000 
   6001 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6002 
   6003 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6004 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   6005 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6006 		if eval test \${$cacheid+y}
   6007 then :
   6008   printf %s "(cached) " >&6
   6009 else case e in #(
   6010   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6011 /* end confdefs.h.  */
   6012 int i;
   6013 int
   6014 main (void)
   6015 {
   6016 
   6017   ;
   6018   return 0;
   6019 }
   6020 _ACEOF
   6021 if ac_fn_c_try_link "$LINENO"
   6022 then :
   6023   eval $cacheid=yes
   6024 else case e in #(
   6025   e) eval $cacheid=no ;;
   6026 esac
   6027 fi
   6028 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6029     conftest$ac_exeext conftest.$ac_ext ;;
   6030 esac
   6031 fi
   6032 
   6033 
   6034 		CFLAGS="$xorg_testset_save_CFLAGS"
   6035 
   6036 		eval supported=\$$cacheid
   6037 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6038 printf "%s\n" "$supported" >&6; }
   6039 		if test "$supported" = "yes" ; then
   6040 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6041 			found="yes"
   6042 		fi
   6043 	fi
   6044 
   6045 
   6046 
   6047 
   6048 
   6049 
   6050 
   6051 
   6052 
   6053 
   6054 
   6055 
   6056 
   6057 
   6058 
   6059 xorg_testset_save_CFLAGS="$CFLAGS"
   6060 
   6061 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6062 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6063 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6064 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6065 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6066 then :
   6067   printf %s "(cached) " >&6
   6068 else case e in #(
   6069   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6070 /* end confdefs.h.  */
   6071 int i;
   6072 _ACEOF
   6073 if ac_fn_c_try_compile "$LINENO"
   6074 then :
   6075   xorg_cv_cc_flag_unknown_warning_option=yes
   6076 else case e in #(
   6077   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6078 esac
   6079 fi
   6080 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6081 esac
   6082 fi
   6083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6084 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6085 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6086 	CFLAGS="$xorg_testset_save_CFLAGS"
   6087 fi
   6088 
   6089 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6090 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6091 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6092 	fi
   6093 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6094 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6095 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6096 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6097 then :
   6098   printf %s "(cached) " >&6
   6099 else case e in #(
   6100   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6101 /* end confdefs.h.  */
   6102 int i;
   6103 _ACEOF
   6104 if ac_fn_c_try_compile "$LINENO"
   6105 then :
   6106   xorg_cv_cc_flag_unused_command_line_argument=yes
   6107 else case e in #(
   6108   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6109 esac
   6110 fi
   6111 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6112 esac
   6113 fi
   6114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6115 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6116 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6117 	CFLAGS="$xorg_testset_save_CFLAGS"
   6118 fi
   6119 
   6120 found="no"
   6121 
   6122 	if test $found = "no" ; then
   6123 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6124 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6125 		fi
   6126 
   6127 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6128 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6129 		fi
   6130 
   6131 		CFLAGS="$CFLAGS -Wold-style-definition"
   6132 
   6133 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6134 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6135 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6136 		if eval test \${$cacheid+y}
   6137 then :
   6138   printf %s "(cached) " >&6
   6139 else case e in #(
   6140   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6141 /* end confdefs.h.  */
   6142 int i;
   6143 int
   6144 main (void)
   6145 {
   6146 
   6147   ;
   6148   return 0;
   6149 }
   6150 _ACEOF
   6151 if ac_fn_c_try_link "$LINENO"
   6152 then :
   6153   eval $cacheid=yes
   6154 else case e in #(
   6155   e) eval $cacheid=no ;;
   6156 esac
   6157 fi
   6158 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6159     conftest$ac_exeext conftest.$ac_ext ;;
   6160 esac
   6161 fi
   6162 
   6163 
   6164 		CFLAGS="$xorg_testset_save_CFLAGS"
   6165 
   6166 		eval supported=\$$cacheid
   6167 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6168 printf "%s\n" "$supported" >&6; }
   6169 		if test "$supported" = "yes" ; then
   6170 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6171 			found="yes"
   6172 		fi
   6173 	fi
   6174 
   6175 	if test $found = "no" ; then
   6176 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6177 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6178 		fi
   6179 
   6180 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6181 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6182 		fi
   6183 
   6184 		CFLAGS="$CFLAGS -fd"
   6185 
   6186 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6187 printf %s "checking if $CC supports -fd... " >&6; }
   6188 		cacheid=xorg_cv_cc_flag__fd
   6189 		if eval test \${$cacheid+y}
   6190 then :
   6191   printf %s "(cached) " >&6
   6192 else case e in #(
   6193   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6194 /* end confdefs.h.  */
   6195 int i;
   6196 int
   6197 main (void)
   6198 {
   6199 
   6200   ;
   6201   return 0;
   6202 }
   6203 _ACEOF
   6204 if ac_fn_c_try_link "$LINENO"
   6205 then :
   6206   eval $cacheid=yes
   6207 else case e in #(
   6208   e) eval $cacheid=no ;;
   6209 esac
   6210 fi
   6211 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6212     conftest$ac_exeext conftest.$ac_ext ;;
   6213 esac
   6214 fi
   6215 
   6216 
   6217 		CFLAGS="$xorg_testset_save_CFLAGS"
   6218 
   6219 		eval supported=\$$cacheid
   6220 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6221 printf "%s\n" "$supported" >&6; }
   6222 		if test "$supported" = "yes" ; then
   6223 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6224 			found="yes"
   6225 		fi
   6226 	fi
   6227 
   6228 
   6229 
   6230 
   6231 
   6232 
   6233 
   6234 
   6235 
   6236 
   6237 
   6238 
   6239 
   6240 
   6241 
   6242 xorg_testset_save_CFLAGS="$CFLAGS"
   6243 
   6244 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6245 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6246 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6247 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6248 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6249 then :
   6250   printf %s "(cached) " >&6
   6251 else case e in #(
   6252   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6253 /* end confdefs.h.  */
   6254 int i;
   6255 _ACEOF
   6256 if ac_fn_c_try_compile "$LINENO"
   6257 then :
   6258   xorg_cv_cc_flag_unknown_warning_option=yes
   6259 else case e in #(
   6260   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6261 esac
   6262 fi
   6263 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6264 esac
   6265 fi
   6266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6267 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6268 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6269 	CFLAGS="$xorg_testset_save_CFLAGS"
   6270 fi
   6271 
   6272 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6273 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6274 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6275 	fi
   6276 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6277 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6278 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6279 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6280 then :
   6281   printf %s "(cached) " >&6
   6282 else case e in #(
   6283   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6284 /* end confdefs.h.  */
   6285 int i;
   6286 _ACEOF
   6287 if ac_fn_c_try_compile "$LINENO"
   6288 then :
   6289   xorg_cv_cc_flag_unused_command_line_argument=yes
   6290 else case e in #(
   6291   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6292 esac
   6293 fi
   6294 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6295 esac
   6296 fi
   6297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6298 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6299 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6300 	CFLAGS="$xorg_testset_save_CFLAGS"
   6301 fi
   6302 
   6303 found="no"
   6304 
   6305 	if test $found = "no" ; then
   6306 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6307 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6308 		fi
   6309 
   6310 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6311 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6312 		fi
   6313 
   6314 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6315 
   6316 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6317 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6318 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6319 		if eval test \${$cacheid+y}
   6320 then :
   6321   printf %s "(cached) " >&6
   6322 else case e in #(
   6323   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6324 /* end confdefs.h.  */
   6325 int i;
   6326 int
   6327 main (void)
   6328 {
   6329 
   6330   ;
   6331   return 0;
   6332 }
   6333 _ACEOF
   6334 if ac_fn_c_try_link "$LINENO"
   6335 then :
   6336   eval $cacheid=yes
   6337 else case e in #(
   6338   e) eval $cacheid=no ;;
   6339 esac
   6340 fi
   6341 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6342     conftest$ac_exeext conftest.$ac_ext ;;
   6343 esac
   6344 fi
   6345 
   6346 
   6347 		CFLAGS="$xorg_testset_save_CFLAGS"
   6348 
   6349 		eval supported=\$$cacheid
   6350 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6351 printf "%s\n" "$supported" >&6; }
   6352 		if test "$supported" = "yes" ; then
   6353 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6354 			found="yes"
   6355 		fi
   6356 	fi
   6357 
   6358 
   6359 
   6360 
   6361 
   6362 # This chunk adds additional warnings that could catch undesired effects.
   6363 
   6364 
   6365 
   6366 
   6367 
   6368 
   6369 
   6370 
   6371 
   6372 
   6373 
   6374 
   6375 
   6376 xorg_testset_save_CFLAGS="$CFLAGS"
   6377 
   6378 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6379 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6380 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6381 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6382 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6383 then :
   6384   printf %s "(cached) " >&6
   6385 else case e in #(
   6386   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6387 /* end confdefs.h.  */
   6388 int i;
   6389 _ACEOF
   6390 if ac_fn_c_try_compile "$LINENO"
   6391 then :
   6392   xorg_cv_cc_flag_unknown_warning_option=yes
   6393 else case e in #(
   6394   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6395 esac
   6396 fi
   6397 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6398 esac
   6399 fi
   6400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6401 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6402 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6403 	CFLAGS="$xorg_testset_save_CFLAGS"
   6404 fi
   6405 
   6406 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6407 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6408 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6409 	fi
   6410 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6411 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6412 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6413 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6414 then :
   6415   printf %s "(cached) " >&6
   6416 else case e in #(
   6417   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6418 /* end confdefs.h.  */
   6419 int i;
   6420 _ACEOF
   6421 if ac_fn_c_try_compile "$LINENO"
   6422 then :
   6423   xorg_cv_cc_flag_unused_command_line_argument=yes
   6424 else case e in #(
   6425   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6426 esac
   6427 fi
   6428 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6429 esac
   6430 fi
   6431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6432 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6433 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6434 	CFLAGS="$xorg_testset_save_CFLAGS"
   6435 fi
   6436 
   6437 found="no"
   6438 
   6439 	if test $found = "no" ; then
   6440 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6441 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6442 		fi
   6443 
   6444 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6445 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6446 		fi
   6447 
   6448 		CFLAGS="$CFLAGS -Wunused"
   6449 
   6450 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6451 printf %s "checking if $CC supports -Wunused... " >&6; }
   6452 		cacheid=xorg_cv_cc_flag__Wunused
   6453 		if eval test \${$cacheid+y}
   6454 then :
   6455   printf %s "(cached) " >&6
   6456 else case e in #(
   6457   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6458 /* end confdefs.h.  */
   6459 int i;
   6460 int
   6461 main (void)
   6462 {
   6463 
   6464   ;
   6465   return 0;
   6466 }
   6467 _ACEOF
   6468 if ac_fn_c_try_link "$LINENO"
   6469 then :
   6470   eval $cacheid=yes
   6471 else case e in #(
   6472   e) eval $cacheid=no ;;
   6473 esac
   6474 fi
   6475 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6476     conftest$ac_exeext conftest.$ac_ext ;;
   6477 esac
   6478 fi
   6479 
   6480 
   6481 		CFLAGS="$xorg_testset_save_CFLAGS"
   6482 
   6483 		eval supported=\$$cacheid
   6484 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6485 printf "%s\n" "$supported" >&6; }
   6486 		if test "$supported" = "yes" ; then
   6487 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6488 			found="yes"
   6489 		fi
   6490 	fi
   6491 
   6492 
   6493 
   6494 
   6495 
   6496 
   6497 
   6498 
   6499 
   6500 
   6501 
   6502 
   6503 
   6504 
   6505 
   6506 xorg_testset_save_CFLAGS="$CFLAGS"
   6507 
   6508 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6509 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6510 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6511 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6512 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6513 then :
   6514   printf %s "(cached) " >&6
   6515 else case e in #(
   6516   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6517 /* end confdefs.h.  */
   6518 int i;
   6519 _ACEOF
   6520 if ac_fn_c_try_compile "$LINENO"
   6521 then :
   6522   xorg_cv_cc_flag_unknown_warning_option=yes
   6523 else case e in #(
   6524   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6525 esac
   6526 fi
   6527 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6528 esac
   6529 fi
   6530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6531 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6532 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6533 	CFLAGS="$xorg_testset_save_CFLAGS"
   6534 fi
   6535 
   6536 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6537 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6538 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6539 	fi
   6540 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6541 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6542 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6543 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6544 then :
   6545   printf %s "(cached) " >&6
   6546 else case e in #(
   6547   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6548 /* end confdefs.h.  */
   6549 int i;
   6550 _ACEOF
   6551 if ac_fn_c_try_compile "$LINENO"
   6552 then :
   6553   xorg_cv_cc_flag_unused_command_line_argument=yes
   6554 else case e in #(
   6555   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6556 esac
   6557 fi
   6558 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6559 esac
   6560 fi
   6561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6562 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6563 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6564 	CFLAGS="$xorg_testset_save_CFLAGS"
   6565 fi
   6566 
   6567 found="no"
   6568 
   6569 	if test $found = "no" ; then
   6570 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6571 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6572 		fi
   6573 
   6574 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6575 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6576 		fi
   6577 
   6578 		CFLAGS="$CFLAGS -Wuninitialized"
   6579 
   6580 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6581 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6582 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6583 		if eval test \${$cacheid+y}
   6584 then :
   6585   printf %s "(cached) " >&6
   6586 else case e in #(
   6587   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6588 /* end confdefs.h.  */
   6589 int i;
   6590 int
   6591 main (void)
   6592 {
   6593 
   6594   ;
   6595   return 0;
   6596 }
   6597 _ACEOF
   6598 if ac_fn_c_try_link "$LINENO"
   6599 then :
   6600   eval $cacheid=yes
   6601 else case e in #(
   6602   e) eval $cacheid=no ;;
   6603 esac
   6604 fi
   6605 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6606     conftest$ac_exeext conftest.$ac_ext ;;
   6607 esac
   6608 fi
   6609 
   6610 
   6611 		CFLAGS="$xorg_testset_save_CFLAGS"
   6612 
   6613 		eval supported=\$$cacheid
   6614 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6615 printf "%s\n" "$supported" >&6; }
   6616 		if test "$supported" = "yes" ; then
   6617 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6618 			found="yes"
   6619 		fi
   6620 	fi
   6621 
   6622 
   6623 
   6624 
   6625 
   6626 
   6627 
   6628 
   6629 
   6630 
   6631 
   6632 
   6633 
   6634 
   6635 
   6636 xorg_testset_save_CFLAGS="$CFLAGS"
   6637 
   6638 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6639 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6640 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6641 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6642 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6643 then :
   6644   printf %s "(cached) " >&6
   6645 else case e in #(
   6646   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6647 /* end confdefs.h.  */
   6648 int i;
   6649 _ACEOF
   6650 if ac_fn_c_try_compile "$LINENO"
   6651 then :
   6652   xorg_cv_cc_flag_unknown_warning_option=yes
   6653 else case e in #(
   6654   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6655 esac
   6656 fi
   6657 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6658 esac
   6659 fi
   6660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6661 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6662 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6663 	CFLAGS="$xorg_testset_save_CFLAGS"
   6664 fi
   6665 
   6666 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6667 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6668 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6669 	fi
   6670 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6671 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6672 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6673 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6674 then :
   6675   printf %s "(cached) " >&6
   6676 else case e in #(
   6677   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6678 /* end confdefs.h.  */
   6679 int i;
   6680 _ACEOF
   6681 if ac_fn_c_try_compile "$LINENO"
   6682 then :
   6683   xorg_cv_cc_flag_unused_command_line_argument=yes
   6684 else case e in #(
   6685   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6686 esac
   6687 fi
   6688 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6689 esac
   6690 fi
   6691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6692 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6693 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6694 	CFLAGS="$xorg_testset_save_CFLAGS"
   6695 fi
   6696 
   6697 found="no"
   6698 
   6699 	if test $found = "no" ; then
   6700 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6701 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6702 		fi
   6703 
   6704 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6705 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6706 		fi
   6707 
   6708 		CFLAGS="$CFLAGS -Wshadow"
   6709 
   6710 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6711 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6712 		cacheid=xorg_cv_cc_flag__Wshadow
   6713 		if eval test \${$cacheid+y}
   6714 then :
   6715   printf %s "(cached) " >&6
   6716 else case e in #(
   6717   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6718 /* end confdefs.h.  */
   6719 int i;
   6720 int
   6721 main (void)
   6722 {
   6723 
   6724   ;
   6725   return 0;
   6726 }
   6727 _ACEOF
   6728 if ac_fn_c_try_link "$LINENO"
   6729 then :
   6730   eval $cacheid=yes
   6731 else case e in #(
   6732   e) eval $cacheid=no ;;
   6733 esac
   6734 fi
   6735 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6736     conftest$ac_exeext conftest.$ac_ext ;;
   6737 esac
   6738 fi
   6739 
   6740 
   6741 		CFLAGS="$xorg_testset_save_CFLAGS"
   6742 
   6743 		eval supported=\$$cacheid
   6744 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6745 printf "%s\n" "$supported" >&6; }
   6746 		if test "$supported" = "yes" ; then
   6747 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6748 			found="yes"
   6749 		fi
   6750 	fi
   6751 
   6752 
   6753 
   6754 
   6755 
   6756 
   6757 
   6758 
   6759 
   6760 
   6761 
   6762 
   6763 
   6764 
   6765 
   6766 xorg_testset_save_CFLAGS="$CFLAGS"
   6767 
   6768 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6769 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6770 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6771 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6772 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6773 then :
   6774   printf %s "(cached) " >&6
   6775 else case e in #(
   6776   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6777 /* end confdefs.h.  */
   6778 int i;
   6779 _ACEOF
   6780 if ac_fn_c_try_compile "$LINENO"
   6781 then :
   6782   xorg_cv_cc_flag_unknown_warning_option=yes
   6783 else case e in #(
   6784   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6785 esac
   6786 fi
   6787 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6788 esac
   6789 fi
   6790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6791 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6792 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6793 	CFLAGS="$xorg_testset_save_CFLAGS"
   6794 fi
   6795 
   6796 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6797 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6798 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6799 	fi
   6800 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6801 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6802 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6803 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6804 then :
   6805   printf %s "(cached) " >&6
   6806 else case e in #(
   6807   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6808 /* end confdefs.h.  */
   6809 int i;
   6810 _ACEOF
   6811 if ac_fn_c_try_compile "$LINENO"
   6812 then :
   6813   xorg_cv_cc_flag_unused_command_line_argument=yes
   6814 else case e in #(
   6815   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6816 esac
   6817 fi
   6818 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6819 esac
   6820 fi
   6821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6822 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6823 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6824 	CFLAGS="$xorg_testset_save_CFLAGS"
   6825 fi
   6826 
   6827 found="no"
   6828 
   6829 	if test $found = "no" ; then
   6830 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6831 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6832 		fi
   6833 
   6834 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6835 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6836 		fi
   6837 
   6838 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6839 
   6840 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6841 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6842 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6843 		if eval test \${$cacheid+y}
   6844 then :
   6845   printf %s "(cached) " >&6
   6846 else case e in #(
   6847   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6848 /* end confdefs.h.  */
   6849 int i;
   6850 int
   6851 main (void)
   6852 {
   6853 
   6854   ;
   6855   return 0;
   6856 }
   6857 _ACEOF
   6858 if ac_fn_c_try_link "$LINENO"
   6859 then :
   6860   eval $cacheid=yes
   6861 else case e in #(
   6862   e) eval $cacheid=no ;;
   6863 esac
   6864 fi
   6865 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6866     conftest$ac_exeext conftest.$ac_ext ;;
   6867 esac
   6868 fi
   6869 
   6870 
   6871 		CFLAGS="$xorg_testset_save_CFLAGS"
   6872 
   6873 		eval supported=\$$cacheid
   6874 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6875 printf "%s\n" "$supported" >&6; }
   6876 		if test "$supported" = "yes" ; then
   6877 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6878 			found="yes"
   6879 		fi
   6880 	fi
   6881 
   6882 
   6883 
   6884 
   6885 
   6886 
   6887 
   6888 
   6889 
   6890 
   6891 
   6892 
   6893 
   6894 
   6895 
   6896 xorg_testset_save_CFLAGS="$CFLAGS"
   6897 
   6898 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6899 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6900 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6901 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6902 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6903 then :
   6904   printf %s "(cached) " >&6
   6905 else case e in #(
   6906   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6907 /* end confdefs.h.  */
   6908 int i;
   6909 _ACEOF
   6910 if ac_fn_c_try_compile "$LINENO"
   6911 then :
   6912   xorg_cv_cc_flag_unknown_warning_option=yes
   6913 else case e in #(
   6914   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6915 esac
   6916 fi
   6917 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6918 esac
   6919 fi
   6920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6921 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6922 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6923 	CFLAGS="$xorg_testset_save_CFLAGS"
   6924 fi
   6925 
   6926 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6927 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6928 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6929 	fi
   6930 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6931 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6932 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6933 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6934 then :
   6935   printf %s "(cached) " >&6
   6936 else case e in #(
   6937   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6938 /* end confdefs.h.  */
   6939 int i;
   6940 _ACEOF
   6941 if ac_fn_c_try_compile "$LINENO"
   6942 then :
   6943   xorg_cv_cc_flag_unused_command_line_argument=yes
   6944 else case e in #(
   6945   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6946 esac
   6947 fi
   6948 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6949 esac
   6950 fi
   6951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6952 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6953 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6954 	CFLAGS="$xorg_testset_save_CFLAGS"
   6955 fi
   6956 
   6957 found="no"
   6958 
   6959 	if test $found = "no" ; then
   6960 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6961 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6962 		fi
   6963 
   6964 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6965 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6966 		fi
   6967 
   6968 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6969 
   6970 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6971 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6972 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6973 		if eval test \${$cacheid+y}
   6974 then :
   6975   printf %s "(cached) " >&6
   6976 else case e in #(
   6977   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6978 /* end confdefs.h.  */
   6979 int i;
   6980 int
   6981 main (void)
   6982 {
   6983 
   6984   ;
   6985   return 0;
   6986 }
   6987 _ACEOF
   6988 if ac_fn_c_try_link "$LINENO"
   6989 then :
   6990   eval $cacheid=yes
   6991 else case e in #(
   6992   e) eval $cacheid=no ;;
   6993 esac
   6994 fi
   6995 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6996     conftest$ac_exeext conftest.$ac_ext ;;
   6997 esac
   6998 fi
   6999 
   7000 
   7001 		CFLAGS="$xorg_testset_save_CFLAGS"
   7002 
   7003 		eval supported=\$$cacheid
   7004 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7005 printf "%s\n" "$supported" >&6; }
   7006 		if test "$supported" = "yes" ; then
   7007 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   7008 			found="yes"
   7009 		fi
   7010 	fi
   7011 
   7012 
   7013 
   7014 
   7015 
   7016 
   7017 
   7018 
   7019 
   7020 
   7021 
   7022 
   7023 
   7024 
   7025 
   7026 xorg_testset_save_CFLAGS="$CFLAGS"
   7027 
   7028 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7029 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7030 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7031 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7032 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7033 then :
   7034   printf %s "(cached) " >&6
   7035 else case e in #(
   7036   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7037 /* end confdefs.h.  */
   7038 int i;
   7039 _ACEOF
   7040 if ac_fn_c_try_compile "$LINENO"
   7041 then :
   7042   xorg_cv_cc_flag_unknown_warning_option=yes
   7043 else case e in #(
   7044   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7045 esac
   7046 fi
   7047 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7048 esac
   7049 fi
   7050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7051 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7052 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7053 	CFLAGS="$xorg_testset_save_CFLAGS"
   7054 fi
   7055 
   7056 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7057 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7058 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7059 	fi
   7060 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7061 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7062 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7063 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7064 then :
   7065   printf %s "(cached) " >&6
   7066 else case e in #(
   7067   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7068 /* end confdefs.h.  */
   7069 int i;
   7070 _ACEOF
   7071 if ac_fn_c_try_compile "$LINENO"
   7072 then :
   7073   xorg_cv_cc_flag_unused_command_line_argument=yes
   7074 else case e in #(
   7075   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7076 esac
   7077 fi
   7078 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7079 esac
   7080 fi
   7081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7082 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7083 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7084 	CFLAGS="$xorg_testset_save_CFLAGS"
   7085 fi
   7086 
   7087 found="no"
   7088 
   7089 	if test $found = "no" ; then
   7090 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7091 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7092 		fi
   7093 
   7094 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7095 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7096 		fi
   7097 
   7098 		CFLAGS="$CFLAGS -Wredundant-decls"
   7099 
   7100 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7101 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7102 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7103 		if eval test \${$cacheid+y}
   7104 then :
   7105   printf %s "(cached) " >&6
   7106 else case e in #(
   7107   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7108 /* end confdefs.h.  */
   7109 int i;
   7110 int
   7111 main (void)
   7112 {
   7113 
   7114   ;
   7115   return 0;
   7116 }
   7117 _ACEOF
   7118 if ac_fn_c_try_link "$LINENO"
   7119 then :
   7120   eval $cacheid=yes
   7121 else case e in #(
   7122   e) eval $cacheid=no ;;
   7123 esac
   7124 fi
   7125 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7126     conftest$ac_exeext conftest.$ac_ext ;;
   7127 esac
   7128 fi
   7129 
   7130 
   7131 		CFLAGS="$xorg_testset_save_CFLAGS"
   7132 
   7133 		eval supported=\$$cacheid
   7134 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7135 printf "%s\n" "$supported" >&6; }
   7136 		if test "$supported" = "yes" ; then
   7137 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7138 			found="yes"
   7139 		fi
   7140 	fi
   7141 
   7142 
   7143 
   7144 
   7145 
   7146 
   7147 
   7148 
   7149 
   7150 
   7151 
   7152 
   7153 
   7154 
   7155 
   7156 xorg_testset_save_CFLAGS="$CFLAGS"
   7157 
   7158 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7159 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7160 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7161 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7162 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7163 then :
   7164   printf %s "(cached) " >&6
   7165 else case e in #(
   7166   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7167 /* end confdefs.h.  */
   7168 int i;
   7169 _ACEOF
   7170 if ac_fn_c_try_compile "$LINENO"
   7171 then :
   7172   xorg_cv_cc_flag_unknown_warning_option=yes
   7173 else case e in #(
   7174   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7175 esac
   7176 fi
   7177 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7178 esac
   7179 fi
   7180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7181 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7182 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7183 	CFLAGS="$xorg_testset_save_CFLAGS"
   7184 fi
   7185 
   7186 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7187 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7188 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7189 	fi
   7190 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7191 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7192 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7193 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7194 then :
   7195   printf %s "(cached) " >&6
   7196 else case e in #(
   7197   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7198 /* end confdefs.h.  */
   7199 int i;
   7200 _ACEOF
   7201 if ac_fn_c_try_compile "$LINENO"
   7202 then :
   7203   xorg_cv_cc_flag_unused_command_line_argument=yes
   7204 else case e in #(
   7205   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7206 esac
   7207 fi
   7208 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7209 esac
   7210 fi
   7211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7212 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7213 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7214 	CFLAGS="$xorg_testset_save_CFLAGS"
   7215 fi
   7216 
   7217 found="no"
   7218 
   7219 	if test $found = "no" ; then
   7220 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7221 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7222 		fi
   7223 
   7224 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7225 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7226 		fi
   7227 
   7228 		CFLAGS="$CFLAGS -Wlogical-op"
   7229 
   7230 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7231 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7232 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7233 		if eval test \${$cacheid+y}
   7234 then :
   7235   printf %s "(cached) " >&6
   7236 else case e in #(
   7237   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7238 /* end confdefs.h.  */
   7239 int i;
   7240 int
   7241 main (void)
   7242 {
   7243 
   7244   ;
   7245   return 0;
   7246 }
   7247 _ACEOF
   7248 if ac_fn_c_try_link "$LINENO"
   7249 then :
   7250   eval $cacheid=yes
   7251 else case e in #(
   7252   e) eval $cacheid=no ;;
   7253 esac
   7254 fi
   7255 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7256     conftest$ac_exeext conftest.$ac_ext ;;
   7257 esac
   7258 fi
   7259 
   7260 
   7261 		CFLAGS="$xorg_testset_save_CFLAGS"
   7262 
   7263 		eval supported=\$$cacheid
   7264 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7265 printf "%s\n" "$supported" >&6; }
   7266 		if test "$supported" = "yes" ; then
   7267 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7268 			found="yes"
   7269 		fi
   7270 	fi
   7271 
   7272 
   7273 
   7274 # These are currently disabled because they are noisy.  They will be enabled
   7275 # in the future once the codebase is sufficiently modernized to silence
   7276 # them.  For now, I don't want them to drown out the other warnings.
   7277 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7278 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7279 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7280 
   7281 # Turn some warnings into errors, so we don't accidentally get successful builds
   7282 # when there are problems that should be fixed.
   7283 
   7284 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7285 
   7286 
   7287 
   7288 
   7289 
   7290 
   7291 
   7292 
   7293 
   7294 
   7295 
   7296 
   7297 
   7298 xorg_testset_save_CFLAGS="$CFLAGS"
   7299 
   7300 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7301 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7302 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7303 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7304 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7305 then :
   7306   printf %s "(cached) " >&6
   7307 else case e in #(
   7308   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7309 /* end confdefs.h.  */
   7310 int i;
   7311 _ACEOF
   7312 if ac_fn_c_try_compile "$LINENO"
   7313 then :
   7314   xorg_cv_cc_flag_unknown_warning_option=yes
   7315 else case e in #(
   7316   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7317 esac
   7318 fi
   7319 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7320 esac
   7321 fi
   7322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7323 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7324 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7325 	CFLAGS="$xorg_testset_save_CFLAGS"
   7326 fi
   7327 
   7328 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7329 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7330 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7331 	fi
   7332 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7333 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7334 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7335 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7336 then :
   7337   printf %s "(cached) " >&6
   7338 else case e in #(
   7339   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7340 /* end confdefs.h.  */
   7341 int i;
   7342 _ACEOF
   7343 if ac_fn_c_try_compile "$LINENO"
   7344 then :
   7345   xorg_cv_cc_flag_unused_command_line_argument=yes
   7346 else case e in #(
   7347   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7348 esac
   7349 fi
   7350 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7351 esac
   7352 fi
   7353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7354 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7355 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7356 	CFLAGS="$xorg_testset_save_CFLAGS"
   7357 fi
   7358 
   7359 found="no"
   7360 
   7361 	if test $found = "no" ; then
   7362 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7363 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7364 		fi
   7365 
   7366 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7367 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7368 		fi
   7369 
   7370 		CFLAGS="$CFLAGS -Werror=implicit"
   7371 
   7372 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7373 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7374 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7375 		if eval test \${$cacheid+y}
   7376 then :
   7377   printf %s "(cached) " >&6
   7378 else case e in #(
   7379   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7380 /* end confdefs.h.  */
   7381 int i;
   7382 int
   7383 main (void)
   7384 {
   7385 
   7386   ;
   7387   return 0;
   7388 }
   7389 _ACEOF
   7390 if ac_fn_c_try_link "$LINENO"
   7391 then :
   7392   eval $cacheid=yes
   7393 else case e in #(
   7394   e) eval $cacheid=no ;;
   7395 esac
   7396 fi
   7397 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7398     conftest$ac_exeext conftest.$ac_ext ;;
   7399 esac
   7400 fi
   7401 
   7402 
   7403 		CFLAGS="$xorg_testset_save_CFLAGS"
   7404 
   7405 		eval supported=\$$cacheid
   7406 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7407 printf "%s\n" "$supported" >&6; }
   7408 		if test "$supported" = "yes" ; then
   7409 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7410 			found="yes"
   7411 		fi
   7412 	fi
   7413 
   7414 	if test $found = "no" ; then
   7415 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7416 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7417 		fi
   7418 
   7419 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7420 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7421 		fi
   7422 
   7423 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7424 
   7425 		{ 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
   7426 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7427 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7428 		if eval test \${$cacheid+y}
   7429 then :
   7430   printf %s "(cached) " >&6
   7431 else case e in #(
   7432   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7433 /* end confdefs.h.  */
   7434 int i;
   7435 int
   7436 main (void)
   7437 {
   7438 
   7439   ;
   7440   return 0;
   7441 }
   7442 _ACEOF
   7443 if ac_fn_c_try_link "$LINENO"
   7444 then :
   7445   eval $cacheid=yes
   7446 else case e in #(
   7447   e) eval $cacheid=no ;;
   7448 esac
   7449 fi
   7450 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7451     conftest$ac_exeext conftest.$ac_ext ;;
   7452 esac
   7453 fi
   7454 
   7455 
   7456 		CFLAGS="$xorg_testset_save_CFLAGS"
   7457 
   7458 		eval supported=\$$cacheid
   7459 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7460 printf "%s\n" "$supported" >&6; }
   7461 		if test "$supported" = "yes" ; then
   7462 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7463 			found="yes"
   7464 		fi
   7465 	fi
   7466 
   7467 
   7468 
   7469 
   7470 
   7471 
   7472 
   7473 
   7474 
   7475 
   7476 
   7477 
   7478 
   7479 
   7480 
   7481 xorg_testset_save_CFLAGS="$CFLAGS"
   7482 
   7483 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7484 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7485 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7486 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7487 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7488 then :
   7489   printf %s "(cached) " >&6
   7490 else case e in #(
   7491   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7492 /* end confdefs.h.  */
   7493 int i;
   7494 _ACEOF
   7495 if ac_fn_c_try_compile "$LINENO"
   7496 then :
   7497   xorg_cv_cc_flag_unknown_warning_option=yes
   7498 else case e in #(
   7499   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7500 esac
   7501 fi
   7502 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7503 esac
   7504 fi
   7505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7506 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7507 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7508 	CFLAGS="$xorg_testset_save_CFLAGS"
   7509 fi
   7510 
   7511 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7512 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7513 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7514 	fi
   7515 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7516 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7517 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7518 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7519 then :
   7520   printf %s "(cached) " >&6
   7521 else case e in #(
   7522   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7523 /* end confdefs.h.  */
   7524 int i;
   7525 _ACEOF
   7526 if ac_fn_c_try_compile "$LINENO"
   7527 then :
   7528   xorg_cv_cc_flag_unused_command_line_argument=yes
   7529 else case e in #(
   7530   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7531 esac
   7532 fi
   7533 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7534 esac
   7535 fi
   7536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7537 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7538 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7539 	CFLAGS="$xorg_testset_save_CFLAGS"
   7540 fi
   7541 
   7542 found="no"
   7543 
   7544 	if test $found = "no" ; then
   7545 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7546 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7547 		fi
   7548 
   7549 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7550 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7551 		fi
   7552 
   7553 		CFLAGS="$CFLAGS -Werror=nonnull"
   7554 
   7555 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7556 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7557 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7558 		if eval test \${$cacheid+y}
   7559 then :
   7560   printf %s "(cached) " >&6
   7561 else case e in #(
   7562   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7563 /* end confdefs.h.  */
   7564 int i;
   7565 int
   7566 main (void)
   7567 {
   7568 
   7569   ;
   7570   return 0;
   7571 }
   7572 _ACEOF
   7573 if ac_fn_c_try_link "$LINENO"
   7574 then :
   7575   eval $cacheid=yes
   7576 else case e in #(
   7577   e) eval $cacheid=no ;;
   7578 esac
   7579 fi
   7580 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7581     conftest$ac_exeext conftest.$ac_ext ;;
   7582 esac
   7583 fi
   7584 
   7585 
   7586 		CFLAGS="$xorg_testset_save_CFLAGS"
   7587 
   7588 		eval supported=\$$cacheid
   7589 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7590 printf "%s\n" "$supported" >&6; }
   7591 		if test "$supported" = "yes" ; then
   7592 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7593 			found="yes"
   7594 		fi
   7595 	fi
   7596 
   7597 
   7598 
   7599 
   7600 
   7601 
   7602 
   7603 
   7604 
   7605 
   7606 
   7607 
   7608 
   7609 
   7610 
   7611 xorg_testset_save_CFLAGS="$CFLAGS"
   7612 
   7613 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7614 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7615 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7616 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7617 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7618 then :
   7619   printf %s "(cached) " >&6
   7620 else case e in #(
   7621   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7622 /* end confdefs.h.  */
   7623 int i;
   7624 _ACEOF
   7625 if ac_fn_c_try_compile "$LINENO"
   7626 then :
   7627   xorg_cv_cc_flag_unknown_warning_option=yes
   7628 else case e in #(
   7629   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7630 esac
   7631 fi
   7632 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7633 esac
   7634 fi
   7635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7636 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7637 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7638 	CFLAGS="$xorg_testset_save_CFLAGS"
   7639 fi
   7640 
   7641 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7642 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7643 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7644 	fi
   7645 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7646 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7647 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7648 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7649 then :
   7650   printf %s "(cached) " >&6
   7651 else case e in #(
   7652   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7653 /* end confdefs.h.  */
   7654 int i;
   7655 _ACEOF
   7656 if ac_fn_c_try_compile "$LINENO"
   7657 then :
   7658   xorg_cv_cc_flag_unused_command_line_argument=yes
   7659 else case e in #(
   7660   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7661 esac
   7662 fi
   7663 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7664 esac
   7665 fi
   7666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7667 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7668 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7669 	CFLAGS="$xorg_testset_save_CFLAGS"
   7670 fi
   7671 
   7672 found="no"
   7673 
   7674 	if test $found = "no" ; then
   7675 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7676 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7677 		fi
   7678 
   7679 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7680 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7681 		fi
   7682 
   7683 		CFLAGS="$CFLAGS -Werror=init-self"
   7684 
   7685 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7686 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7687 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7688 		if eval test \${$cacheid+y}
   7689 then :
   7690   printf %s "(cached) " >&6
   7691 else case e in #(
   7692   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7693 /* end confdefs.h.  */
   7694 int i;
   7695 int
   7696 main (void)
   7697 {
   7698 
   7699   ;
   7700   return 0;
   7701 }
   7702 _ACEOF
   7703 if ac_fn_c_try_link "$LINENO"
   7704 then :
   7705   eval $cacheid=yes
   7706 else case e in #(
   7707   e) eval $cacheid=no ;;
   7708 esac
   7709 fi
   7710 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7711     conftest$ac_exeext conftest.$ac_ext ;;
   7712 esac
   7713 fi
   7714 
   7715 
   7716 		CFLAGS="$xorg_testset_save_CFLAGS"
   7717 
   7718 		eval supported=\$$cacheid
   7719 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7720 printf "%s\n" "$supported" >&6; }
   7721 		if test "$supported" = "yes" ; then
   7722 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7723 			found="yes"
   7724 		fi
   7725 	fi
   7726 
   7727 
   7728 
   7729 
   7730 
   7731 
   7732 
   7733 
   7734 
   7735 
   7736 
   7737 
   7738 
   7739 
   7740 
   7741 xorg_testset_save_CFLAGS="$CFLAGS"
   7742 
   7743 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7744 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7745 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7746 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7747 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7748 then :
   7749   printf %s "(cached) " >&6
   7750 else case e in #(
   7751   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7752 /* end confdefs.h.  */
   7753 int i;
   7754 _ACEOF
   7755 if ac_fn_c_try_compile "$LINENO"
   7756 then :
   7757   xorg_cv_cc_flag_unknown_warning_option=yes
   7758 else case e in #(
   7759   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7760 esac
   7761 fi
   7762 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7763 esac
   7764 fi
   7765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7766 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7767 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7768 	CFLAGS="$xorg_testset_save_CFLAGS"
   7769 fi
   7770 
   7771 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7772 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7773 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7774 	fi
   7775 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7776 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7777 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7778 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7779 then :
   7780   printf %s "(cached) " >&6
   7781 else case e in #(
   7782   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7783 /* end confdefs.h.  */
   7784 int i;
   7785 _ACEOF
   7786 if ac_fn_c_try_compile "$LINENO"
   7787 then :
   7788   xorg_cv_cc_flag_unused_command_line_argument=yes
   7789 else case e in #(
   7790   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7791 esac
   7792 fi
   7793 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7794 esac
   7795 fi
   7796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7797 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7798 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7799 	CFLAGS="$xorg_testset_save_CFLAGS"
   7800 fi
   7801 
   7802 found="no"
   7803 
   7804 	if test $found = "no" ; then
   7805 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7806 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7807 		fi
   7808 
   7809 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7810 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7811 		fi
   7812 
   7813 		CFLAGS="$CFLAGS -Werror=main"
   7814 
   7815 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7816 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7817 		cacheid=xorg_cv_cc_flag__Werror_main
   7818 		if eval test \${$cacheid+y}
   7819 then :
   7820   printf %s "(cached) " >&6
   7821 else case e in #(
   7822   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7823 /* end confdefs.h.  */
   7824 int i;
   7825 int
   7826 main (void)
   7827 {
   7828 
   7829   ;
   7830   return 0;
   7831 }
   7832 _ACEOF
   7833 if ac_fn_c_try_link "$LINENO"
   7834 then :
   7835   eval $cacheid=yes
   7836 else case e in #(
   7837   e) eval $cacheid=no ;;
   7838 esac
   7839 fi
   7840 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7841     conftest$ac_exeext conftest.$ac_ext ;;
   7842 esac
   7843 fi
   7844 
   7845 
   7846 		CFLAGS="$xorg_testset_save_CFLAGS"
   7847 
   7848 		eval supported=\$$cacheid
   7849 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7850 printf "%s\n" "$supported" >&6; }
   7851 		if test "$supported" = "yes" ; then
   7852 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7853 			found="yes"
   7854 		fi
   7855 	fi
   7856 
   7857 
   7858 
   7859 
   7860 
   7861 
   7862 
   7863 
   7864 
   7865 
   7866 
   7867 
   7868 
   7869 
   7870 
   7871 xorg_testset_save_CFLAGS="$CFLAGS"
   7872 
   7873 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7874 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7875 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7876 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7877 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7878 then :
   7879   printf %s "(cached) " >&6
   7880 else case e in #(
   7881   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7882 /* end confdefs.h.  */
   7883 int i;
   7884 _ACEOF
   7885 if ac_fn_c_try_compile "$LINENO"
   7886 then :
   7887   xorg_cv_cc_flag_unknown_warning_option=yes
   7888 else case e in #(
   7889   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7890 esac
   7891 fi
   7892 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7893 esac
   7894 fi
   7895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7896 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7897 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7898 	CFLAGS="$xorg_testset_save_CFLAGS"
   7899 fi
   7900 
   7901 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7902 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7903 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7904 	fi
   7905 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7906 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7907 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7908 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7909 then :
   7910   printf %s "(cached) " >&6
   7911 else case e in #(
   7912   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7913 /* end confdefs.h.  */
   7914 int i;
   7915 _ACEOF
   7916 if ac_fn_c_try_compile "$LINENO"
   7917 then :
   7918   xorg_cv_cc_flag_unused_command_line_argument=yes
   7919 else case e in #(
   7920   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7921 esac
   7922 fi
   7923 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7924 esac
   7925 fi
   7926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7927 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7928 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7929 	CFLAGS="$xorg_testset_save_CFLAGS"
   7930 fi
   7931 
   7932 found="no"
   7933 
   7934 	if test $found = "no" ; then
   7935 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7936 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7937 		fi
   7938 
   7939 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7940 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7941 		fi
   7942 
   7943 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7944 
   7945 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7946 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   7947 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7948 		if eval test \${$cacheid+y}
   7949 then :
   7950   printf %s "(cached) " >&6
   7951 else case e in #(
   7952   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7953 /* end confdefs.h.  */
   7954 int i;
   7955 int
   7956 main (void)
   7957 {
   7958 
   7959   ;
   7960   return 0;
   7961 }
   7962 _ACEOF
   7963 if ac_fn_c_try_link "$LINENO"
   7964 then :
   7965   eval $cacheid=yes
   7966 else case e in #(
   7967   e) eval $cacheid=no ;;
   7968 esac
   7969 fi
   7970 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7971     conftest$ac_exeext conftest.$ac_ext ;;
   7972 esac
   7973 fi
   7974 
   7975 
   7976 		CFLAGS="$xorg_testset_save_CFLAGS"
   7977 
   7978 		eval supported=\$$cacheid
   7979 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7980 printf "%s\n" "$supported" >&6; }
   7981 		if test "$supported" = "yes" ; then
   7982 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7983 			found="yes"
   7984 		fi
   7985 	fi
   7986 
   7987 
   7988 
   7989 
   7990 
   7991 
   7992 
   7993 
   7994 
   7995 
   7996 
   7997 
   7998 
   7999 
   8000 
   8001 xorg_testset_save_CFLAGS="$CFLAGS"
   8002 
   8003 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8004 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8005 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8006 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8007 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8008 then :
   8009   printf %s "(cached) " >&6
   8010 else case e in #(
   8011   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8012 /* end confdefs.h.  */
   8013 int i;
   8014 _ACEOF
   8015 if ac_fn_c_try_compile "$LINENO"
   8016 then :
   8017   xorg_cv_cc_flag_unknown_warning_option=yes
   8018 else case e in #(
   8019   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8020 esac
   8021 fi
   8022 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8023 esac
   8024 fi
   8025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8026 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8027 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8028 	CFLAGS="$xorg_testset_save_CFLAGS"
   8029 fi
   8030 
   8031 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8032 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8033 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8034 	fi
   8035 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8036 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8037 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8038 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8039 then :
   8040   printf %s "(cached) " >&6
   8041 else case e in #(
   8042   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8043 /* end confdefs.h.  */
   8044 int i;
   8045 _ACEOF
   8046 if ac_fn_c_try_compile "$LINENO"
   8047 then :
   8048   xorg_cv_cc_flag_unused_command_line_argument=yes
   8049 else case e in #(
   8050   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8051 esac
   8052 fi
   8053 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8054 esac
   8055 fi
   8056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8057 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8058 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8059 	CFLAGS="$xorg_testset_save_CFLAGS"
   8060 fi
   8061 
   8062 found="no"
   8063 
   8064 	if test $found = "no" ; then
   8065 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8066 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8067 		fi
   8068 
   8069 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8070 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8071 		fi
   8072 
   8073 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8074 
   8075 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8076 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   8077 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8078 		if eval test \${$cacheid+y}
   8079 then :
   8080   printf %s "(cached) " >&6
   8081 else case e in #(
   8082   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8083 /* end confdefs.h.  */
   8084 int i;
   8085 int
   8086 main (void)
   8087 {
   8088 
   8089   ;
   8090   return 0;
   8091 }
   8092 _ACEOF
   8093 if ac_fn_c_try_link "$LINENO"
   8094 then :
   8095   eval $cacheid=yes
   8096 else case e in #(
   8097   e) eval $cacheid=no ;;
   8098 esac
   8099 fi
   8100 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8101     conftest$ac_exeext conftest.$ac_ext ;;
   8102 esac
   8103 fi
   8104 
   8105 
   8106 		CFLAGS="$xorg_testset_save_CFLAGS"
   8107 
   8108 		eval supported=\$$cacheid
   8109 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8110 printf "%s\n" "$supported" >&6; }
   8111 		if test "$supported" = "yes" ; then
   8112 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8113 			found="yes"
   8114 		fi
   8115 	fi
   8116 
   8117 
   8118 
   8119 
   8120 
   8121 
   8122 
   8123 
   8124 
   8125 
   8126 
   8127 
   8128 
   8129 
   8130 
   8131 xorg_testset_save_CFLAGS="$CFLAGS"
   8132 
   8133 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8134 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8135 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8136 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8137 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8138 then :
   8139   printf %s "(cached) " >&6
   8140 else case e in #(
   8141   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8142 /* end confdefs.h.  */
   8143 int i;
   8144 _ACEOF
   8145 if ac_fn_c_try_compile "$LINENO"
   8146 then :
   8147   xorg_cv_cc_flag_unknown_warning_option=yes
   8148 else case e in #(
   8149   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8150 esac
   8151 fi
   8152 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8153 esac
   8154 fi
   8155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8156 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8157 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8158 	CFLAGS="$xorg_testset_save_CFLAGS"
   8159 fi
   8160 
   8161 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8162 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8163 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8164 	fi
   8165 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8166 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8167 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8168 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8169 then :
   8170   printf %s "(cached) " >&6
   8171 else case e in #(
   8172   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8173 /* end confdefs.h.  */
   8174 int i;
   8175 _ACEOF
   8176 if ac_fn_c_try_compile "$LINENO"
   8177 then :
   8178   xorg_cv_cc_flag_unused_command_line_argument=yes
   8179 else case e in #(
   8180   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8181 esac
   8182 fi
   8183 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8184 esac
   8185 fi
   8186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8187 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8188 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8189 	CFLAGS="$xorg_testset_save_CFLAGS"
   8190 fi
   8191 
   8192 found="no"
   8193 
   8194 	if test $found = "no" ; then
   8195 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8196 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8197 		fi
   8198 
   8199 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8200 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8201 		fi
   8202 
   8203 		CFLAGS="$CFLAGS -Werror=return-type"
   8204 
   8205 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8206 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8207 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8208 		if eval test \${$cacheid+y}
   8209 then :
   8210   printf %s "(cached) " >&6
   8211 else case e in #(
   8212   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8213 /* end confdefs.h.  */
   8214 int i;
   8215 int
   8216 main (void)
   8217 {
   8218 
   8219   ;
   8220   return 0;
   8221 }
   8222 _ACEOF
   8223 if ac_fn_c_try_link "$LINENO"
   8224 then :
   8225   eval $cacheid=yes
   8226 else case e in #(
   8227   e) eval $cacheid=no ;;
   8228 esac
   8229 fi
   8230 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8231     conftest$ac_exeext conftest.$ac_ext ;;
   8232 esac
   8233 fi
   8234 
   8235 
   8236 		CFLAGS="$xorg_testset_save_CFLAGS"
   8237 
   8238 		eval supported=\$$cacheid
   8239 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8240 printf "%s\n" "$supported" >&6; }
   8241 		if test "$supported" = "yes" ; then
   8242 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8243 			found="yes"
   8244 		fi
   8245 	fi
   8246 
   8247 	if test $found = "no" ; then
   8248 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8249 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8250 		fi
   8251 
   8252 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8253 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8254 		fi
   8255 
   8256 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8257 
   8258 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8259 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8260 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8261 		if eval test \${$cacheid+y}
   8262 then :
   8263   printf %s "(cached) " >&6
   8264 else case e in #(
   8265   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8266 /* end confdefs.h.  */
   8267 int i;
   8268 int
   8269 main (void)
   8270 {
   8271 
   8272   ;
   8273   return 0;
   8274 }
   8275 _ACEOF
   8276 if ac_fn_c_try_link "$LINENO"
   8277 then :
   8278   eval $cacheid=yes
   8279 else case e in #(
   8280   e) eval $cacheid=no ;;
   8281 esac
   8282 fi
   8283 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8284     conftest$ac_exeext conftest.$ac_ext ;;
   8285 esac
   8286 fi
   8287 
   8288 
   8289 		CFLAGS="$xorg_testset_save_CFLAGS"
   8290 
   8291 		eval supported=\$$cacheid
   8292 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8293 printf "%s\n" "$supported" >&6; }
   8294 		if test "$supported" = "yes" ; then
   8295 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8296 			found="yes"
   8297 		fi
   8298 	fi
   8299 
   8300 
   8301 
   8302 
   8303 
   8304 
   8305 
   8306 
   8307 
   8308 
   8309 
   8310 
   8311 
   8312 
   8313 
   8314 xorg_testset_save_CFLAGS="$CFLAGS"
   8315 
   8316 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8317 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8318 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8319 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8320 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8321 then :
   8322   printf %s "(cached) " >&6
   8323 else case e in #(
   8324   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8325 /* end confdefs.h.  */
   8326 int i;
   8327 _ACEOF
   8328 if ac_fn_c_try_compile "$LINENO"
   8329 then :
   8330   xorg_cv_cc_flag_unknown_warning_option=yes
   8331 else case e in #(
   8332   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8333 esac
   8334 fi
   8335 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8336 esac
   8337 fi
   8338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8339 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8340 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8341 	CFLAGS="$xorg_testset_save_CFLAGS"
   8342 fi
   8343 
   8344 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8345 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8346 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8347 	fi
   8348 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8349 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8350 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8351 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8352 then :
   8353   printf %s "(cached) " >&6
   8354 else case e in #(
   8355   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8356 /* end confdefs.h.  */
   8357 int i;
   8358 _ACEOF
   8359 if ac_fn_c_try_compile "$LINENO"
   8360 then :
   8361   xorg_cv_cc_flag_unused_command_line_argument=yes
   8362 else case e in #(
   8363   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8364 esac
   8365 fi
   8366 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8367 esac
   8368 fi
   8369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8370 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8371 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8372 	CFLAGS="$xorg_testset_save_CFLAGS"
   8373 fi
   8374 
   8375 found="no"
   8376 
   8377 	if test $found = "no" ; then
   8378 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8379 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8380 		fi
   8381 
   8382 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8383 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8384 		fi
   8385 
   8386 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8387 
   8388 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8389 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8390 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8391 		if eval test \${$cacheid+y}
   8392 then :
   8393   printf %s "(cached) " >&6
   8394 else case e in #(
   8395   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8396 /* end confdefs.h.  */
   8397 int i;
   8398 int
   8399 main (void)
   8400 {
   8401 
   8402   ;
   8403   return 0;
   8404 }
   8405 _ACEOF
   8406 if ac_fn_c_try_link "$LINENO"
   8407 then :
   8408   eval $cacheid=yes
   8409 else case e in #(
   8410   e) eval $cacheid=no ;;
   8411 esac
   8412 fi
   8413 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8414     conftest$ac_exeext conftest.$ac_ext ;;
   8415 esac
   8416 fi
   8417 
   8418 
   8419 		CFLAGS="$xorg_testset_save_CFLAGS"
   8420 
   8421 		eval supported=\$$cacheid
   8422 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8423 printf "%s\n" "$supported" >&6; }
   8424 		if test "$supported" = "yes" ; then
   8425 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8426 			found="yes"
   8427 		fi
   8428 	fi
   8429 
   8430 
   8431 
   8432 
   8433 
   8434 
   8435 
   8436 
   8437 
   8438 
   8439 
   8440 
   8441 
   8442 
   8443 
   8444 xorg_testset_save_CFLAGS="$CFLAGS"
   8445 
   8446 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8447 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8448 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8449 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8450 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8451 then :
   8452   printf %s "(cached) " >&6
   8453 else case e in #(
   8454   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8455 /* end confdefs.h.  */
   8456 int i;
   8457 _ACEOF
   8458 if ac_fn_c_try_compile "$LINENO"
   8459 then :
   8460   xorg_cv_cc_flag_unknown_warning_option=yes
   8461 else case e in #(
   8462   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8463 esac
   8464 fi
   8465 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8466 esac
   8467 fi
   8468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8469 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8470 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8471 	CFLAGS="$xorg_testset_save_CFLAGS"
   8472 fi
   8473 
   8474 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8475 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8476 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8477 	fi
   8478 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8479 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8480 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8481 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8482 then :
   8483   printf %s "(cached) " >&6
   8484 else case e in #(
   8485   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8486 /* end confdefs.h.  */
   8487 int i;
   8488 _ACEOF
   8489 if ac_fn_c_try_compile "$LINENO"
   8490 then :
   8491   xorg_cv_cc_flag_unused_command_line_argument=yes
   8492 else case e in #(
   8493   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8494 esac
   8495 fi
   8496 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8497 esac
   8498 fi
   8499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8500 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8501 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8502 	CFLAGS="$xorg_testset_save_CFLAGS"
   8503 fi
   8504 
   8505 found="no"
   8506 
   8507 	if test $found = "no" ; then
   8508 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8509 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8510 		fi
   8511 
   8512 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8513 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8514 		fi
   8515 
   8516 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8517 
   8518 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8519 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8520 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8521 		if eval test \${$cacheid+y}
   8522 then :
   8523   printf %s "(cached) " >&6
   8524 else case e in #(
   8525   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8526 /* end confdefs.h.  */
   8527 int i;
   8528 int
   8529 main (void)
   8530 {
   8531 
   8532   ;
   8533   return 0;
   8534 }
   8535 _ACEOF
   8536 if ac_fn_c_try_link "$LINENO"
   8537 then :
   8538   eval $cacheid=yes
   8539 else case e in #(
   8540   e) eval $cacheid=no ;;
   8541 esac
   8542 fi
   8543 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8544     conftest$ac_exeext conftest.$ac_ext ;;
   8545 esac
   8546 fi
   8547 
   8548 
   8549 		CFLAGS="$xorg_testset_save_CFLAGS"
   8550 
   8551 		eval supported=\$$cacheid
   8552 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8553 printf "%s\n" "$supported" >&6; }
   8554 		if test "$supported" = "yes" ; then
   8555 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8556 			found="yes"
   8557 		fi
   8558 	fi
   8559 
   8560 
   8561 
   8562 
   8563 
   8564 
   8565 
   8566 
   8567 
   8568 
   8569 
   8570 
   8571 
   8572 
   8573 
   8574 xorg_testset_save_CFLAGS="$CFLAGS"
   8575 
   8576 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8577 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8578 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8579 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8580 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8581 then :
   8582   printf %s "(cached) " >&6
   8583 else case e in #(
   8584   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8585 /* end confdefs.h.  */
   8586 int i;
   8587 _ACEOF
   8588 if ac_fn_c_try_compile "$LINENO"
   8589 then :
   8590   xorg_cv_cc_flag_unknown_warning_option=yes
   8591 else case e in #(
   8592   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8593 esac
   8594 fi
   8595 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8596 esac
   8597 fi
   8598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8599 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8600 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8601 	CFLAGS="$xorg_testset_save_CFLAGS"
   8602 fi
   8603 
   8604 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8605 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8606 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8607 	fi
   8608 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8609 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8610 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8611 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8612 then :
   8613   printf %s "(cached) " >&6
   8614 else case e in #(
   8615   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8616 /* end confdefs.h.  */
   8617 int i;
   8618 _ACEOF
   8619 if ac_fn_c_try_compile "$LINENO"
   8620 then :
   8621   xorg_cv_cc_flag_unused_command_line_argument=yes
   8622 else case e in #(
   8623   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8624 esac
   8625 fi
   8626 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8627 esac
   8628 fi
   8629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8630 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8631 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8632 	CFLAGS="$xorg_testset_save_CFLAGS"
   8633 fi
   8634 
   8635 found="no"
   8636 
   8637 	if test $found = "no" ; then
   8638 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8639 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8640 		fi
   8641 
   8642 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8643 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8644 		fi
   8645 
   8646 		CFLAGS="$CFLAGS -Werror=write-strings"
   8647 
   8648 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8649 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8650 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8651 		if eval test \${$cacheid+y}
   8652 then :
   8653   printf %s "(cached) " >&6
   8654 else case e in #(
   8655   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8656 /* end confdefs.h.  */
   8657 int i;
   8658 int
   8659 main (void)
   8660 {
   8661 
   8662   ;
   8663   return 0;
   8664 }
   8665 _ACEOF
   8666 if ac_fn_c_try_link "$LINENO"
   8667 then :
   8668   eval $cacheid=yes
   8669 else case e in #(
   8670   e) eval $cacheid=no ;;
   8671 esac
   8672 fi
   8673 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8674     conftest$ac_exeext conftest.$ac_ext ;;
   8675 esac
   8676 fi
   8677 
   8678 
   8679 		CFLAGS="$xorg_testset_save_CFLAGS"
   8680 
   8681 		eval supported=\$$cacheid
   8682 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8683 printf "%s\n" "$supported" >&6; }
   8684 		if test "$supported" = "yes" ; then
   8685 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8686 			found="yes"
   8687 		fi
   8688 	fi
   8689 
   8690 
   8691 
   8692 
   8693 
   8694 
   8695 
   8696 
   8697 
   8698 
   8699 
   8700 
   8701 
   8702 
   8703 
   8704 xorg_testset_save_CFLAGS="$CFLAGS"
   8705 
   8706 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8707 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8708 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8709 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8710 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8711 then :
   8712   printf %s "(cached) " >&6
   8713 else case e in #(
   8714   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8715 /* end confdefs.h.  */
   8716 int i;
   8717 _ACEOF
   8718 if ac_fn_c_try_compile "$LINENO"
   8719 then :
   8720   xorg_cv_cc_flag_unknown_warning_option=yes
   8721 else case e in #(
   8722   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8723 esac
   8724 fi
   8725 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8726 esac
   8727 fi
   8728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8729 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8730 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8731 	CFLAGS="$xorg_testset_save_CFLAGS"
   8732 fi
   8733 
   8734 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8735 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8736 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8737 	fi
   8738 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8739 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8740 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8741 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8742 then :
   8743   printf %s "(cached) " >&6
   8744 else case e in #(
   8745   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8746 /* end confdefs.h.  */
   8747 int i;
   8748 _ACEOF
   8749 if ac_fn_c_try_compile "$LINENO"
   8750 then :
   8751   xorg_cv_cc_flag_unused_command_line_argument=yes
   8752 else case e in #(
   8753   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8754 esac
   8755 fi
   8756 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8757 esac
   8758 fi
   8759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8760 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8761 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8762 	CFLAGS="$xorg_testset_save_CFLAGS"
   8763 fi
   8764 
   8765 found="no"
   8766 
   8767 	if test $found = "no" ; then
   8768 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8769 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8770 		fi
   8771 
   8772 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8773 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8774 		fi
   8775 
   8776 		CFLAGS="$CFLAGS -Werror=address"
   8777 
   8778 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8779 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8780 		cacheid=xorg_cv_cc_flag__Werror_address
   8781 		if eval test \${$cacheid+y}
   8782 then :
   8783   printf %s "(cached) " >&6
   8784 else case e in #(
   8785   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8786 /* end confdefs.h.  */
   8787 int i;
   8788 int
   8789 main (void)
   8790 {
   8791 
   8792   ;
   8793   return 0;
   8794 }
   8795 _ACEOF
   8796 if ac_fn_c_try_link "$LINENO"
   8797 then :
   8798   eval $cacheid=yes
   8799 else case e in #(
   8800   e) eval $cacheid=no ;;
   8801 esac
   8802 fi
   8803 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8804     conftest$ac_exeext conftest.$ac_ext ;;
   8805 esac
   8806 fi
   8807 
   8808 
   8809 		CFLAGS="$xorg_testset_save_CFLAGS"
   8810 
   8811 		eval supported=\$$cacheid
   8812 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8813 printf "%s\n" "$supported" >&6; }
   8814 		if test "$supported" = "yes" ; then
   8815 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8816 			found="yes"
   8817 		fi
   8818 	fi
   8819 
   8820 
   8821 
   8822 
   8823 
   8824 
   8825 
   8826 
   8827 
   8828 
   8829 
   8830 
   8831 
   8832 
   8833 
   8834 xorg_testset_save_CFLAGS="$CFLAGS"
   8835 
   8836 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8837 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8838 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8839 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8840 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8841 then :
   8842   printf %s "(cached) " >&6
   8843 else case e in #(
   8844   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8845 /* end confdefs.h.  */
   8846 int i;
   8847 _ACEOF
   8848 if ac_fn_c_try_compile "$LINENO"
   8849 then :
   8850   xorg_cv_cc_flag_unknown_warning_option=yes
   8851 else case e in #(
   8852   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8853 esac
   8854 fi
   8855 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8856 esac
   8857 fi
   8858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8859 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8860 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8861 	CFLAGS="$xorg_testset_save_CFLAGS"
   8862 fi
   8863 
   8864 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8865 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8866 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8867 	fi
   8868 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8869 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8870 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8871 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8872 then :
   8873   printf %s "(cached) " >&6
   8874 else case e in #(
   8875   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8876 /* end confdefs.h.  */
   8877 int i;
   8878 _ACEOF
   8879 if ac_fn_c_try_compile "$LINENO"
   8880 then :
   8881   xorg_cv_cc_flag_unused_command_line_argument=yes
   8882 else case e in #(
   8883   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8884 esac
   8885 fi
   8886 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8887 esac
   8888 fi
   8889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8890 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8891 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8892 	CFLAGS="$xorg_testset_save_CFLAGS"
   8893 fi
   8894 
   8895 found="no"
   8896 
   8897 	if test $found = "no" ; then
   8898 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8899 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8900 		fi
   8901 
   8902 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8903 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8904 		fi
   8905 
   8906 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8907 
   8908 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8909 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8910 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8911 		if eval test \${$cacheid+y}
   8912 then :
   8913   printf %s "(cached) " >&6
   8914 else case e in #(
   8915   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8916 /* end confdefs.h.  */
   8917 int i;
   8918 int
   8919 main (void)
   8920 {
   8921 
   8922   ;
   8923   return 0;
   8924 }
   8925 _ACEOF
   8926 if ac_fn_c_try_link "$LINENO"
   8927 then :
   8928   eval $cacheid=yes
   8929 else case e in #(
   8930   e) eval $cacheid=no ;;
   8931 esac
   8932 fi
   8933 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8934     conftest$ac_exeext conftest.$ac_ext ;;
   8935 esac
   8936 fi
   8937 
   8938 
   8939 		CFLAGS="$xorg_testset_save_CFLAGS"
   8940 
   8941 		eval supported=\$$cacheid
   8942 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8943 printf "%s\n" "$supported" >&6; }
   8944 		if test "$supported" = "yes" ; then
   8945 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8946 			found="yes"
   8947 		fi
   8948 	fi
   8949 
   8950 	if test $found = "no" ; then
   8951 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8952 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8953 		fi
   8954 
   8955 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8956 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8957 		fi
   8958 
   8959 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8960 
   8961 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8962 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8963 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8964 		if eval test \${$cacheid+y}
   8965 then :
   8966   printf %s "(cached) " >&6
   8967 else case e in #(
   8968   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8969 /* end confdefs.h.  */
   8970 int i;
   8971 int
   8972 main (void)
   8973 {
   8974 
   8975   ;
   8976   return 0;
   8977 }
   8978 _ACEOF
   8979 if ac_fn_c_try_link "$LINENO"
   8980 then :
   8981   eval $cacheid=yes
   8982 else case e in #(
   8983   e) eval $cacheid=no ;;
   8984 esac
   8985 fi
   8986 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8987     conftest$ac_exeext conftest.$ac_ext ;;
   8988 esac
   8989 fi
   8990 
   8991 
   8992 		CFLAGS="$xorg_testset_save_CFLAGS"
   8993 
   8994 		eval supported=\$$cacheid
   8995 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8996 printf "%s\n" "$supported" >&6; }
   8997 		if test "$supported" = "yes" ; then
   8998 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8999 			found="yes"
   9000 		fi
   9001 	fi
   9002 
   9003 
   9004 
   9005 
   9006 
   9007 
   9008 
   9009 
   9010 
   9011 
   9012 
   9013 
   9014 
   9015 
   9016 
   9017 xorg_testset_save_CFLAGS="$CFLAGS"
   9018 
   9019 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9020 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9021 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9022 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9023 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9024 then :
   9025   printf %s "(cached) " >&6
   9026 else case e in #(
   9027   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9028 /* end confdefs.h.  */
   9029 int i;
   9030 _ACEOF
   9031 if ac_fn_c_try_compile "$LINENO"
   9032 then :
   9033   xorg_cv_cc_flag_unknown_warning_option=yes
   9034 else case e in #(
   9035   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9036 esac
   9037 fi
   9038 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9039 esac
   9040 fi
   9041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9042 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9043 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9044 	CFLAGS="$xorg_testset_save_CFLAGS"
   9045 fi
   9046 
   9047 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9048 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9049 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9050 	fi
   9051 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9052 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9053 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9054 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9055 then :
   9056   printf %s "(cached) " >&6
   9057 else case e in #(
   9058   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9059 /* end confdefs.h.  */
   9060 int i;
   9061 _ACEOF
   9062 if ac_fn_c_try_compile "$LINENO"
   9063 then :
   9064   xorg_cv_cc_flag_unused_command_line_argument=yes
   9065 else case e in #(
   9066   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9067 esac
   9068 fi
   9069 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9070 esac
   9071 fi
   9072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9073 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9074 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9075 	CFLAGS="$xorg_testset_save_CFLAGS"
   9076 fi
   9077 
   9078 found="no"
   9079 
   9080 	if test $found = "no" ; then
   9081 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9082 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9083 		fi
   9084 
   9085 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9086 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9087 		fi
   9088 
   9089 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   9090 
   9091 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   9092 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   9093 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   9094 		if eval test \${$cacheid+y}
   9095 then :
   9096   printf %s "(cached) " >&6
   9097 else case e in #(
   9098   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9099 /* end confdefs.h.  */
   9100 int i;
   9101 int
   9102 main (void)
   9103 {
   9104 
   9105   ;
   9106   return 0;
   9107 }
   9108 _ACEOF
   9109 if ac_fn_c_try_link "$LINENO"
   9110 then :
   9111   eval $cacheid=yes
   9112 else case e in #(
   9113   e) eval $cacheid=no ;;
   9114 esac
   9115 fi
   9116 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9117     conftest$ac_exeext conftest.$ac_ext ;;
   9118 esac
   9119 fi
   9120 
   9121 
   9122 		CFLAGS="$xorg_testset_save_CFLAGS"
   9123 
   9124 		eval supported=\$$cacheid
   9125 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9126 printf "%s\n" "$supported" >&6; }
   9127 		if test "$supported" = "yes" ; then
   9128 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   9129 			found="yes"
   9130 		fi
   9131 	fi
   9132 
   9133  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   9134 else
   9135 { 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
   9136 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;}
   9137 
   9138 
   9139 
   9140 
   9141 
   9142 
   9143 
   9144 
   9145 
   9146 
   9147 
   9148 
   9149 
   9150 xorg_testset_save_CFLAGS="$CFLAGS"
   9151 
   9152 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9153 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9154 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9155 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9156 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9157 then :
   9158   printf %s "(cached) " >&6
   9159 else case e in #(
   9160   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9161 /* end confdefs.h.  */
   9162 int i;
   9163 _ACEOF
   9164 if ac_fn_c_try_compile "$LINENO"
   9165 then :
   9166   xorg_cv_cc_flag_unknown_warning_option=yes
   9167 else case e in #(
   9168   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9169 esac
   9170 fi
   9171 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9172 esac
   9173 fi
   9174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9175 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9176 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9177 	CFLAGS="$xorg_testset_save_CFLAGS"
   9178 fi
   9179 
   9180 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9181 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9182 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9183 	fi
   9184 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9185 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9186 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9187 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9188 then :
   9189   printf %s "(cached) " >&6
   9190 else case e in #(
   9191   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9192 /* end confdefs.h.  */
   9193 int i;
   9194 _ACEOF
   9195 if ac_fn_c_try_compile "$LINENO"
   9196 then :
   9197   xorg_cv_cc_flag_unused_command_line_argument=yes
   9198 else case e in #(
   9199   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9200 esac
   9201 fi
   9202 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9203 esac
   9204 fi
   9205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9206 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9207 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9208 	CFLAGS="$xorg_testset_save_CFLAGS"
   9209 fi
   9210 
   9211 found="no"
   9212 
   9213 	if test $found = "no" ; then
   9214 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9215 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9216 		fi
   9217 
   9218 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9219 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9220 		fi
   9221 
   9222 		CFLAGS="$CFLAGS -Wimplicit"
   9223 
   9224 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9225 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9226 		cacheid=xorg_cv_cc_flag__Wimplicit
   9227 		if eval test \${$cacheid+y}
   9228 then :
   9229   printf %s "(cached) " >&6
   9230 else case e in #(
   9231   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9232 /* end confdefs.h.  */
   9233 int i;
   9234 int
   9235 main (void)
   9236 {
   9237 
   9238   ;
   9239   return 0;
   9240 }
   9241 _ACEOF
   9242 if ac_fn_c_try_link "$LINENO"
   9243 then :
   9244   eval $cacheid=yes
   9245 else case e in #(
   9246   e) eval $cacheid=no ;;
   9247 esac
   9248 fi
   9249 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9250     conftest$ac_exeext conftest.$ac_ext ;;
   9251 esac
   9252 fi
   9253 
   9254 
   9255 		CFLAGS="$xorg_testset_save_CFLAGS"
   9256 
   9257 		eval supported=\$$cacheid
   9258 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9259 printf "%s\n" "$supported" >&6; }
   9260 		if test "$supported" = "yes" ; then
   9261 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9262 			found="yes"
   9263 		fi
   9264 	fi
   9265 
   9266 
   9267 
   9268 
   9269 
   9270 
   9271 
   9272 
   9273 
   9274 
   9275 
   9276 
   9277 
   9278 
   9279 
   9280 xorg_testset_save_CFLAGS="$CFLAGS"
   9281 
   9282 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9283 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9284 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9285 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9286 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9287 then :
   9288   printf %s "(cached) " >&6
   9289 else case e in #(
   9290   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9291 /* end confdefs.h.  */
   9292 int i;
   9293 _ACEOF
   9294 if ac_fn_c_try_compile "$LINENO"
   9295 then :
   9296   xorg_cv_cc_flag_unknown_warning_option=yes
   9297 else case e in #(
   9298   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9299 esac
   9300 fi
   9301 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9302 esac
   9303 fi
   9304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9305 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9306 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9307 	CFLAGS="$xorg_testset_save_CFLAGS"
   9308 fi
   9309 
   9310 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9311 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9312 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9313 	fi
   9314 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9315 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9316 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9317 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9318 then :
   9319   printf %s "(cached) " >&6
   9320 else case e in #(
   9321   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9322 /* end confdefs.h.  */
   9323 int i;
   9324 _ACEOF
   9325 if ac_fn_c_try_compile "$LINENO"
   9326 then :
   9327   xorg_cv_cc_flag_unused_command_line_argument=yes
   9328 else case e in #(
   9329   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9330 esac
   9331 fi
   9332 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9333 esac
   9334 fi
   9335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9336 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9337 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9338 	CFLAGS="$xorg_testset_save_CFLAGS"
   9339 fi
   9340 
   9341 found="no"
   9342 
   9343 	if test $found = "no" ; then
   9344 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9345 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9346 		fi
   9347 
   9348 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9349 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9350 		fi
   9351 
   9352 		CFLAGS="$CFLAGS -Wnonnull"
   9353 
   9354 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9355 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9356 		cacheid=xorg_cv_cc_flag__Wnonnull
   9357 		if eval test \${$cacheid+y}
   9358 then :
   9359   printf %s "(cached) " >&6
   9360 else case e in #(
   9361   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9362 /* end confdefs.h.  */
   9363 int i;
   9364 int
   9365 main (void)
   9366 {
   9367 
   9368   ;
   9369   return 0;
   9370 }
   9371 _ACEOF
   9372 if ac_fn_c_try_link "$LINENO"
   9373 then :
   9374   eval $cacheid=yes
   9375 else case e in #(
   9376   e) eval $cacheid=no ;;
   9377 esac
   9378 fi
   9379 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9380     conftest$ac_exeext conftest.$ac_ext ;;
   9381 esac
   9382 fi
   9383 
   9384 
   9385 		CFLAGS="$xorg_testset_save_CFLAGS"
   9386 
   9387 		eval supported=\$$cacheid
   9388 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9389 printf "%s\n" "$supported" >&6; }
   9390 		if test "$supported" = "yes" ; then
   9391 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9392 			found="yes"
   9393 		fi
   9394 	fi
   9395 
   9396 
   9397 
   9398 
   9399 
   9400 
   9401 
   9402 
   9403 
   9404 
   9405 
   9406 
   9407 
   9408 
   9409 
   9410 xorg_testset_save_CFLAGS="$CFLAGS"
   9411 
   9412 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9413 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9414 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9415 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9416 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9417 then :
   9418   printf %s "(cached) " >&6
   9419 else case e in #(
   9420   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9421 /* end confdefs.h.  */
   9422 int i;
   9423 _ACEOF
   9424 if ac_fn_c_try_compile "$LINENO"
   9425 then :
   9426   xorg_cv_cc_flag_unknown_warning_option=yes
   9427 else case e in #(
   9428   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9429 esac
   9430 fi
   9431 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9432 esac
   9433 fi
   9434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9435 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9436 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9437 	CFLAGS="$xorg_testset_save_CFLAGS"
   9438 fi
   9439 
   9440 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9441 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9442 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9443 	fi
   9444 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9445 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9446 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9447 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9448 then :
   9449   printf %s "(cached) " >&6
   9450 else case e in #(
   9451   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9452 /* end confdefs.h.  */
   9453 int i;
   9454 _ACEOF
   9455 if ac_fn_c_try_compile "$LINENO"
   9456 then :
   9457   xorg_cv_cc_flag_unused_command_line_argument=yes
   9458 else case e in #(
   9459   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9460 esac
   9461 fi
   9462 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9463 esac
   9464 fi
   9465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9466 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9467 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9468 	CFLAGS="$xorg_testset_save_CFLAGS"
   9469 fi
   9470 
   9471 found="no"
   9472 
   9473 	if test $found = "no" ; then
   9474 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9475 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9476 		fi
   9477 
   9478 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9479 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9480 		fi
   9481 
   9482 		CFLAGS="$CFLAGS -Winit-self"
   9483 
   9484 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9485 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9486 		cacheid=xorg_cv_cc_flag__Winit_self
   9487 		if eval test \${$cacheid+y}
   9488 then :
   9489   printf %s "(cached) " >&6
   9490 else case e in #(
   9491   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9492 /* end confdefs.h.  */
   9493 int i;
   9494 int
   9495 main (void)
   9496 {
   9497 
   9498   ;
   9499   return 0;
   9500 }
   9501 _ACEOF
   9502 if ac_fn_c_try_link "$LINENO"
   9503 then :
   9504   eval $cacheid=yes
   9505 else case e in #(
   9506   e) eval $cacheid=no ;;
   9507 esac
   9508 fi
   9509 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9510     conftest$ac_exeext conftest.$ac_ext ;;
   9511 esac
   9512 fi
   9513 
   9514 
   9515 		CFLAGS="$xorg_testset_save_CFLAGS"
   9516 
   9517 		eval supported=\$$cacheid
   9518 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9519 printf "%s\n" "$supported" >&6; }
   9520 		if test "$supported" = "yes" ; then
   9521 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9522 			found="yes"
   9523 		fi
   9524 	fi
   9525 
   9526 
   9527 
   9528 
   9529 
   9530 
   9531 
   9532 
   9533 
   9534 
   9535 
   9536 
   9537 
   9538 
   9539 
   9540 xorg_testset_save_CFLAGS="$CFLAGS"
   9541 
   9542 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9543 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9544 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9545 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9546 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9547 then :
   9548   printf %s "(cached) " >&6
   9549 else case e in #(
   9550   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9551 /* end confdefs.h.  */
   9552 int i;
   9553 _ACEOF
   9554 if ac_fn_c_try_compile "$LINENO"
   9555 then :
   9556   xorg_cv_cc_flag_unknown_warning_option=yes
   9557 else case e in #(
   9558   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9559 esac
   9560 fi
   9561 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9562 esac
   9563 fi
   9564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9565 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9566 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9567 	CFLAGS="$xorg_testset_save_CFLAGS"
   9568 fi
   9569 
   9570 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9571 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9572 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9573 	fi
   9574 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9575 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9576 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9577 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9578 then :
   9579   printf %s "(cached) " >&6
   9580 else case e in #(
   9581   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9582 /* end confdefs.h.  */
   9583 int i;
   9584 _ACEOF
   9585 if ac_fn_c_try_compile "$LINENO"
   9586 then :
   9587   xorg_cv_cc_flag_unused_command_line_argument=yes
   9588 else case e in #(
   9589   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9590 esac
   9591 fi
   9592 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9593 esac
   9594 fi
   9595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9596 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9597 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9598 	CFLAGS="$xorg_testset_save_CFLAGS"
   9599 fi
   9600 
   9601 found="no"
   9602 
   9603 	if test $found = "no" ; then
   9604 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9605 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9606 		fi
   9607 
   9608 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9609 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9610 		fi
   9611 
   9612 		CFLAGS="$CFLAGS -Wmain"
   9613 
   9614 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9615 printf %s "checking if $CC supports -Wmain... " >&6; }
   9616 		cacheid=xorg_cv_cc_flag__Wmain
   9617 		if eval test \${$cacheid+y}
   9618 then :
   9619   printf %s "(cached) " >&6
   9620 else case e in #(
   9621   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9622 /* end confdefs.h.  */
   9623 int i;
   9624 int
   9625 main (void)
   9626 {
   9627 
   9628   ;
   9629   return 0;
   9630 }
   9631 _ACEOF
   9632 if ac_fn_c_try_link "$LINENO"
   9633 then :
   9634   eval $cacheid=yes
   9635 else case e in #(
   9636   e) eval $cacheid=no ;;
   9637 esac
   9638 fi
   9639 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9640     conftest$ac_exeext conftest.$ac_ext ;;
   9641 esac
   9642 fi
   9643 
   9644 
   9645 		CFLAGS="$xorg_testset_save_CFLAGS"
   9646 
   9647 		eval supported=\$$cacheid
   9648 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9649 printf "%s\n" "$supported" >&6; }
   9650 		if test "$supported" = "yes" ; then
   9651 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9652 			found="yes"
   9653 		fi
   9654 	fi
   9655 
   9656 
   9657 
   9658 
   9659 
   9660 
   9661 
   9662 
   9663 
   9664 
   9665 
   9666 
   9667 
   9668 
   9669 
   9670 xorg_testset_save_CFLAGS="$CFLAGS"
   9671 
   9672 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9673 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9674 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9675 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9676 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9677 then :
   9678   printf %s "(cached) " >&6
   9679 else case e in #(
   9680   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9681 /* end confdefs.h.  */
   9682 int i;
   9683 _ACEOF
   9684 if ac_fn_c_try_compile "$LINENO"
   9685 then :
   9686   xorg_cv_cc_flag_unknown_warning_option=yes
   9687 else case e in #(
   9688   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9689 esac
   9690 fi
   9691 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9692 esac
   9693 fi
   9694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9695 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9696 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9697 	CFLAGS="$xorg_testset_save_CFLAGS"
   9698 fi
   9699 
   9700 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9701 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9702 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9703 	fi
   9704 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9705 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9706 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9707 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9708 then :
   9709   printf %s "(cached) " >&6
   9710 else case e in #(
   9711   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9712 /* end confdefs.h.  */
   9713 int i;
   9714 _ACEOF
   9715 if ac_fn_c_try_compile "$LINENO"
   9716 then :
   9717   xorg_cv_cc_flag_unused_command_line_argument=yes
   9718 else case e in #(
   9719   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9720 esac
   9721 fi
   9722 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9723 esac
   9724 fi
   9725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9726 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9727 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9728 	CFLAGS="$xorg_testset_save_CFLAGS"
   9729 fi
   9730 
   9731 found="no"
   9732 
   9733 	if test $found = "no" ; then
   9734 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9735 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9736 		fi
   9737 
   9738 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9739 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9740 		fi
   9741 
   9742 		CFLAGS="$CFLAGS -Wmissing-braces"
   9743 
   9744 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9745 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9746 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9747 		if eval test \${$cacheid+y}
   9748 then :
   9749   printf %s "(cached) " >&6
   9750 else case e in #(
   9751   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9752 /* end confdefs.h.  */
   9753 int i;
   9754 int
   9755 main (void)
   9756 {
   9757 
   9758   ;
   9759   return 0;
   9760 }
   9761 _ACEOF
   9762 if ac_fn_c_try_link "$LINENO"
   9763 then :
   9764   eval $cacheid=yes
   9765 else case e in #(
   9766   e) eval $cacheid=no ;;
   9767 esac
   9768 fi
   9769 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9770     conftest$ac_exeext conftest.$ac_ext ;;
   9771 esac
   9772 fi
   9773 
   9774 
   9775 		CFLAGS="$xorg_testset_save_CFLAGS"
   9776 
   9777 		eval supported=\$$cacheid
   9778 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9779 printf "%s\n" "$supported" >&6; }
   9780 		if test "$supported" = "yes" ; then
   9781 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9782 			found="yes"
   9783 		fi
   9784 	fi
   9785 
   9786 
   9787 
   9788 
   9789 
   9790 
   9791 
   9792 
   9793 
   9794 
   9795 
   9796 
   9797 
   9798 
   9799 
   9800 xorg_testset_save_CFLAGS="$CFLAGS"
   9801 
   9802 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9803 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9804 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9805 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9806 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9807 then :
   9808   printf %s "(cached) " >&6
   9809 else case e in #(
   9810   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9811 /* end confdefs.h.  */
   9812 int i;
   9813 _ACEOF
   9814 if ac_fn_c_try_compile "$LINENO"
   9815 then :
   9816   xorg_cv_cc_flag_unknown_warning_option=yes
   9817 else case e in #(
   9818   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9819 esac
   9820 fi
   9821 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9822 esac
   9823 fi
   9824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9825 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9826 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9827 	CFLAGS="$xorg_testset_save_CFLAGS"
   9828 fi
   9829 
   9830 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9831 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9832 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9833 	fi
   9834 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9835 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9836 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9837 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9838 then :
   9839   printf %s "(cached) " >&6
   9840 else case e in #(
   9841   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9842 /* end confdefs.h.  */
   9843 int i;
   9844 _ACEOF
   9845 if ac_fn_c_try_compile "$LINENO"
   9846 then :
   9847   xorg_cv_cc_flag_unused_command_line_argument=yes
   9848 else case e in #(
   9849   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9850 esac
   9851 fi
   9852 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9853 esac
   9854 fi
   9855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9856 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9857 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9858 	CFLAGS="$xorg_testset_save_CFLAGS"
   9859 fi
   9860 
   9861 found="no"
   9862 
   9863 	if test $found = "no" ; then
   9864 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9865 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9866 		fi
   9867 
   9868 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9869 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9870 		fi
   9871 
   9872 		CFLAGS="$CFLAGS -Wsequence-point"
   9873 
   9874 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9875 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9876 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9877 		if eval test \${$cacheid+y}
   9878 then :
   9879   printf %s "(cached) " >&6
   9880 else case e in #(
   9881   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9882 /* end confdefs.h.  */
   9883 int i;
   9884 int
   9885 main (void)
   9886 {
   9887 
   9888   ;
   9889   return 0;
   9890 }
   9891 _ACEOF
   9892 if ac_fn_c_try_link "$LINENO"
   9893 then :
   9894   eval $cacheid=yes
   9895 else case e in #(
   9896   e) eval $cacheid=no ;;
   9897 esac
   9898 fi
   9899 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9900     conftest$ac_exeext conftest.$ac_ext ;;
   9901 esac
   9902 fi
   9903 
   9904 
   9905 		CFLAGS="$xorg_testset_save_CFLAGS"
   9906 
   9907 		eval supported=\$$cacheid
   9908 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9909 printf "%s\n" "$supported" >&6; }
   9910 		if test "$supported" = "yes" ; then
   9911 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9912 			found="yes"
   9913 		fi
   9914 	fi
   9915 
   9916 
   9917 
   9918 
   9919 
   9920 
   9921 
   9922 
   9923 
   9924 
   9925 
   9926 
   9927 
   9928 
   9929 
   9930 xorg_testset_save_CFLAGS="$CFLAGS"
   9931 
   9932 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9933 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9934 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9935 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9936 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9937 then :
   9938   printf %s "(cached) " >&6
   9939 else case e in #(
   9940   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9941 /* end confdefs.h.  */
   9942 int i;
   9943 _ACEOF
   9944 if ac_fn_c_try_compile "$LINENO"
   9945 then :
   9946   xorg_cv_cc_flag_unknown_warning_option=yes
   9947 else case e in #(
   9948   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9949 esac
   9950 fi
   9951 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9952 esac
   9953 fi
   9954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9955 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9956 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9957 	CFLAGS="$xorg_testset_save_CFLAGS"
   9958 fi
   9959 
   9960 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9961 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9962 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9963 	fi
   9964 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9965 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9966 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9967 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9968 then :
   9969   printf %s "(cached) " >&6
   9970 else case e in #(
   9971   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9972 /* end confdefs.h.  */
   9973 int i;
   9974 _ACEOF
   9975 if ac_fn_c_try_compile "$LINENO"
   9976 then :
   9977   xorg_cv_cc_flag_unused_command_line_argument=yes
   9978 else case e in #(
   9979   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9980 esac
   9981 fi
   9982 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9983 esac
   9984 fi
   9985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9986 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9987 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9988 	CFLAGS="$xorg_testset_save_CFLAGS"
   9989 fi
   9990 
   9991 found="no"
   9992 
   9993 	if test $found = "no" ; then
   9994 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9995 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9996 		fi
   9997 
   9998 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9999 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10000 		fi
   10001 
   10002 		CFLAGS="$CFLAGS -Wreturn-type"
   10003 
   10004 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   10005 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   10006 		cacheid=xorg_cv_cc_flag__Wreturn_type
   10007 		if eval test \${$cacheid+y}
   10008 then :
   10009   printf %s "(cached) " >&6
   10010 else case e in #(
   10011   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10012 /* end confdefs.h.  */
   10013 int i;
   10014 int
   10015 main (void)
   10016 {
   10017 
   10018   ;
   10019   return 0;
   10020 }
   10021 _ACEOF
   10022 if ac_fn_c_try_link "$LINENO"
   10023 then :
   10024   eval $cacheid=yes
   10025 else case e in #(
   10026   e) eval $cacheid=no ;;
   10027 esac
   10028 fi
   10029 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10030     conftest$ac_exeext conftest.$ac_ext ;;
   10031 esac
   10032 fi
   10033 
   10034 
   10035 		CFLAGS="$xorg_testset_save_CFLAGS"
   10036 
   10037 		eval supported=\$$cacheid
   10038 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10039 printf "%s\n" "$supported" >&6; }
   10040 		if test "$supported" = "yes" ; then
   10041 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   10042 			found="yes"
   10043 		fi
   10044 	fi
   10045 
   10046 
   10047 
   10048 
   10049 
   10050 
   10051 
   10052 
   10053 
   10054 
   10055 
   10056 
   10057 
   10058 
   10059 
   10060 xorg_testset_save_CFLAGS="$CFLAGS"
   10061 
   10062 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10063 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10064 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10065 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10066 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10067 then :
   10068   printf %s "(cached) " >&6
   10069 else case e in #(
   10070   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10071 /* end confdefs.h.  */
   10072 int i;
   10073 _ACEOF
   10074 if ac_fn_c_try_compile "$LINENO"
   10075 then :
   10076   xorg_cv_cc_flag_unknown_warning_option=yes
   10077 else case e in #(
   10078   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10079 esac
   10080 fi
   10081 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10082 esac
   10083 fi
   10084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10085 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10086 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10087 	CFLAGS="$xorg_testset_save_CFLAGS"
   10088 fi
   10089 
   10090 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10091 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10092 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10093 	fi
   10094 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10095 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10096 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10097 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10098 then :
   10099   printf %s "(cached) " >&6
   10100 else case e in #(
   10101   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10102 /* end confdefs.h.  */
   10103 int i;
   10104 _ACEOF
   10105 if ac_fn_c_try_compile "$LINENO"
   10106 then :
   10107   xorg_cv_cc_flag_unused_command_line_argument=yes
   10108 else case e in #(
   10109   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10110 esac
   10111 fi
   10112 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10113 esac
   10114 fi
   10115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10116 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10117 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10118 	CFLAGS="$xorg_testset_save_CFLAGS"
   10119 fi
   10120 
   10121 found="no"
   10122 
   10123 	if test $found = "no" ; then
   10124 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10125 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10126 		fi
   10127 
   10128 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10129 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10130 		fi
   10131 
   10132 		CFLAGS="$CFLAGS -Wtrigraphs"
   10133 
   10134 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   10135 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   10136 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   10137 		if eval test \${$cacheid+y}
   10138 then :
   10139   printf %s "(cached) " >&6
   10140 else case e in #(
   10141   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10142 /* end confdefs.h.  */
   10143 int i;
   10144 int
   10145 main (void)
   10146 {
   10147 
   10148   ;
   10149   return 0;
   10150 }
   10151 _ACEOF
   10152 if ac_fn_c_try_link "$LINENO"
   10153 then :
   10154   eval $cacheid=yes
   10155 else case e in #(
   10156   e) eval $cacheid=no ;;
   10157 esac
   10158 fi
   10159 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10160     conftest$ac_exeext conftest.$ac_ext ;;
   10161 esac
   10162 fi
   10163 
   10164 
   10165 		CFLAGS="$xorg_testset_save_CFLAGS"
   10166 
   10167 		eval supported=\$$cacheid
   10168 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10169 printf "%s\n" "$supported" >&6; }
   10170 		if test "$supported" = "yes" ; then
   10171 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   10172 			found="yes"
   10173 		fi
   10174 	fi
   10175 
   10176 
   10177 
   10178 
   10179 
   10180 
   10181 
   10182 
   10183 
   10184 
   10185 
   10186 
   10187 
   10188 
   10189 
   10190 xorg_testset_save_CFLAGS="$CFLAGS"
   10191 
   10192 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10193 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10194 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10195 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10196 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10197 then :
   10198   printf %s "(cached) " >&6
   10199 else case e in #(
   10200   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10201 /* end confdefs.h.  */
   10202 int i;
   10203 _ACEOF
   10204 if ac_fn_c_try_compile "$LINENO"
   10205 then :
   10206   xorg_cv_cc_flag_unknown_warning_option=yes
   10207 else case e in #(
   10208   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10209 esac
   10210 fi
   10211 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10212 esac
   10213 fi
   10214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10215 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10216 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10217 	CFLAGS="$xorg_testset_save_CFLAGS"
   10218 fi
   10219 
   10220 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10221 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10222 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10223 	fi
   10224 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10225 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10226 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10227 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10228 then :
   10229   printf %s "(cached) " >&6
   10230 else case e in #(
   10231   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10232 /* end confdefs.h.  */
   10233 int i;
   10234 _ACEOF
   10235 if ac_fn_c_try_compile "$LINENO"
   10236 then :
   10237   xorg_cv_cc_flag_unused_command_line_argument=yes
   10238 else case e in #(
   10239   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10240 esac
   10241 fi
   10242 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10243 esac
   10244 fi
   10245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10246 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10247 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10248 	CFLAGS="$xorg_testset_save_CFLAGS"
   10249 fi
   10250 
   10251 found="no"
   10252 
   10253 	if test $found = "no" ; then
   10254 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10255 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10256 		fi
   10257 
   10258 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10259 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10260 		fi
   10261 
   10262 		CFLAGS="$CFLAGS -Warray-bounds"
   10263 
   10264 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10265 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10266 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10267 		if eval test \${$cacheid+y}
   10268 then :
   10269   printf %s "(cached) " >&6
   10270 else case e in #(
   10271   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10272 /* end confdefs.h.  */
   10273 int i;
   10274 int
   10275 main (void)
   10276 {
   10277 
   10278   ;
   10279   return 0;
   10280 }
   10281 _ACEOF
   10282 if ac_fn_c_try_link "$LINENO"
   10283 then :
   10284   eval $cacheid=yes
   10285 else case e in #(
   10286   e) eval $cacheid=no ;;
   10287 esac
   10288 fi
   10289 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10290     conftest$ac_exeext conftest.$ac_ext ;;
   10291 esac
   10292 fi
   10293 
   10294 
   10295 		CFLAGS="$xorg_testset_save_CFLAGS"
   10296 
   10297 		eval supported=\$$cacheid
   10298 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10299 printf "%s\n" "$supported" >&6; }
   10300 		if test "$supported" = "yes" ; then
   10301 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10302 			found="yes"
   10303 		fi
   10304 	fi
   10305 
   10306 
   10307 
   10308 
   10309 
   10310 
   10311 
   10312 
   10313 
   10314 
   10315 
   10316 
   10317 
   10318 
   10319 
   10320 xorg_testset_save_CFLAGS="$CFLAGS"
   10321 
   10322 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10323 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10324 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10325 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10326 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10327 then :
   10328   printf %s "(cached) " >&6
   10329 else case e in #(
   10330   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10331 /* end confdefs.h.  */
   10332 int i;
   10333 _ACEOF
   10334 if ac_fn_c_try_compile "$LINENO"
   10335 then :
   10336   xorg_cv_cc_flag_unknown_warning_option=yes
   10337 else case e in #(
   10338   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10339 esac
   10340 fi
   10341 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10342 esac
   10343 fi
   10344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10345 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10346 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10347 	CFLAGS="$xorg_testset_save_CFLAGS"
   10348 fi
   10349 
   10350 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10351 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10352 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10353 	fi
   10354 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10355 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10356 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10357 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10358 then :
   10359   printf %s "(cached) " >&6
   10360 else case e in #(
   10361   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10362 /* end confdefs.h.  */
   10363 int i;
   10364 _ACEOF
   10365 if ac_fn_c_try_compile "$LINENO"
   10366 then :
   10367   xorg_cv_cc_flag_unused_command_line_argument=yes
   10368 else case e in #(
   10369   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10370 esac
   10371 fi
   10372 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10373 esac
   10374 fi
   10375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10376 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10377 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10378 	CFLAGS="$xorg_testset_save_CFLAGS"
   10379 fi
   10380 
   10381 found="no"
   10382 
   10383 	if test $found = "no" ; then
   10384 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10385 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10386 		fi
   10387 
   10388 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10389 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10390 		fi
   10391 
   10392 		CFLAGS="$CFLAGS -Wwrite-strings"
   10393 
   10394 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10395 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10396 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10397 		if eval test \${$cacheid+y}
   10398 then :
   10399   printf %s "(cached) " >&6
   10400 else case e in #(
   10401   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10402 /* end confdefs.h.  */
   10403 int i;
   10404 int
   10405 main (void)
   10406 {
   10407 
   10408   ;
   10409   return 0;
   10410 }
   10411 _ACEOF
   10412 if ac_fn_c_try_link "$LINENO"
   10413 then :
   10414   eval $cacheid=yes
   10415 else case e in #(
   10416   e) eval $cacheid=no ;;
   10417 esac
   10418 fi
   10419 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10420     conftest$ac_exeext conftest.$ac_ext ;;
   10421 esac
   10422 fi
   10423 
   10424 
   10425 		CFLAGS="$xorg_testset_save_CFLAGS"
   10426 
   10427 		eval supported=\$$cacheid
   10428 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10429 printf "%s\n" "$supported" >&6; }
   10430 		if test "$supported" = "yes" ; then
   10431 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10432 			found="yes"
   10433 		fi
   10434 	fi
   10435 
   10436 
   10437 
   10438 
   10439 
   10440 
   10441 
   10442 
   10443 
   10444 
   10445 
   10446 
   10447 
   10448 
   10449 
   10450 xorg_testset_save_CFLAGS="$CFLAGS"
   10451 
   10452 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10453 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10454 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10455 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10456 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10457 then :
   10458   printf %s "(cached) " >&6
   10459 else case e in #(
   10460   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10461 /* end confdefs.h.  */
   10462 int i;
   10463 _ACEOF
   10464 if ac_fn_c_try_compile "$LINENO"
   10465 then :
   10466   xorg_cv_cc_flag_unknown_warning_option=yes
   10467 else case e in #(
   10468   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10469 esac
   10470 fi
   10471 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10472 esac
   10473 fi
   10474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10475 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10476 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10477 	CFLAGS="$xorg_testset_save_CFLAGS"
   10478 fi
   10479 
   10480 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10481 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10482 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10483 	fi
   10484 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10485 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10486 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10487 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10488 then :
   10489   printf %s "(cached) " >&6
   10490 else case e in #(
   10491   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10492 /* end confdefs.h.  */
   10493 int i;
   10494 _ACEOF
   10495 if ac_fn_c_try_compile "$LINENO"
   10496 then :
   10497   xorg_cv_cc_flag_unused_command_line_argument=yes
   10498 else case e in #(
   10499   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10500 esac
   10501 fi
   10502 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10503 esac
   10504 fi
   10505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10506 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10507 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10508 	CFLAGS="$xorg_testset_save_CFLAGS"
   10509 fi
   10510 
   10511 found="no"
   10512 
   10513 	if test $found = "no" ; then
   10514 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10515 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10516 		fi
   10517 
   10518 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10519 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10520 		fi
   10521 
   10522 		CFLAGS="$CFLAGS -Waddress"
   10523 
   10524 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10525 printf %s "checking if $CC supports -Waddress... " >&6; }
   10526 		cacheid=xorg_cv_cc_flag__Waddress
   10527 		if eval test \${$cacheid+y}
   10528 then :
   10529   printf %s "(cached) " >&6
   10530 else case e in #(
   10531   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10532 /* end confdefs.h.  */
   10533 int i;
   10534 int
   10535 main (void)
   10536 {
   10537 
   10538   ;
   10539   return 0;
   10540 }
   10541 _ACEOF
   10542 if ac_fn_c_try_link "$LINENO"
   10543 then :
   10544   eval $cacheid=yes
   10545 else case e in #(
   10546   e) eval $cacheid=no ;;
   10547 esac
   10548 fi
   10549 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10550     conftest$ac_exeext conftest.$ac_ext ;;
   10551 esac
   10552 fi
   10553 
   10554 
   10555 		CFLAGS="$xorg_testset_save_CFLAGS"
   10556 
   10557 		eval supported=\$$cacheid
   10558 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10559 printf "%s\n" "$supported" >&6; }
   10560 		if test "$supported" = "yes" ; then
   10561 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10562 			found="yes"
   10563 		fi
   10564 	fi
   10565 
   10566 
   10567 
   10568 
   10569 
   10570 
   10571 
   10572 
   10573 
   10574 
   10575 
   10576 
   10577 
   10578 
   10579 
   10580 xorg_testset_save_CFLAGS="$CFLAGS"
   10581 
   10582 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10583 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10584 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10585 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10586 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10587 then :
   10588   printf %s "(cached) " >&6
   10589 else case e in #(
   10590   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10591 /* end confdefs.h.  */
   10592 int i;
   10593 _ACEOF
   10594 if ac_fn_c_try_compile "$LINENO"
   10595 then :
   10596   xorg_cv_cc_flag_unknown_warning_option=yes
   10597 else case e in #(
   10598   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10599 esac
   10600 fi
   10601 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10602 esac
   10603 fi
   10604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10605 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10606 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10607 	CFLAGS="$xorg_testset_save_CFLAGS"
   10608 fi
   10609 
   10610 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10611 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10612 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10613 	fi
   10614 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10615 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10616 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10617 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10618 then :
   10619   printf %s "(cached) " >&6
   10620 else case e in #(
   10621   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10622 /* end confdefs.h.  */
   10623 int i;
   10624 _ACEOF
   10625 if ac_fn_c_try_compile "$LINENO"
   10626 then :
   10627   xorg_cv_cc_flag_unused_command_line_argument=yes
   10628 else case e in #(
   10629   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10630 esac
   10631 fi
   10632 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10633 esac
   10634 fi
   10635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10636 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10637 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10638 	CFLAGS="$xorg_testset_save_CFLAGS"
   10639 fi
   10640 
   10641 found="no"
   10642 
   10643 	if test $found = "no" ; then
   10644 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10645 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10646 		fi
   10647 
   10648 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10649 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10650 		fi
   10651 
   10652 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10653 
   10654 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10655 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10656 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10657 		if eval test \${$cacheid+y}
   10658 then :
   10659   printf %s "(cached) " >&6
   10660 else case e in #(
   10661   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10662 /* end confdefs.h.  */
   10663 int i;
   10664 int
   10665 main (void)
   10666 {
   10667 
   10668   ;
   10669   return 0;
   10670 }
   10671 _ACEOF
   10672 if ac_fn_c_try_link "$LINENO"
   10673 then :
   10674   eval $cacheid=yes
   10675 else case e in #(
   10676   e) eval $cacheid=no ;;
   10677 esac
   10678 fi
   10679 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10680     conftest$ac_exeext conftest.$ac_ext ;;
   10681 esac
   10682 fi
   10683 
   10684 
   10685 		CFLAGS="$xorg_testset_save_CFLAGS"
   10686 
   10687 		eval supported=\$$cacheid
   10688 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10689 printf "%s\n" "$supported" >&6; }
   10690 		if test "$supported" = "yes" ; then
   10691 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10692 			found="yes"
   10693 		fi
   10694 	fi
   10695 
   10696 
   10697 
   10698 
   10699 
   10700 
   10701 
   10702 
   10703 
   10704 
   10705 
   10706 
   10707 
   10708 
   10709 
   10710 xorg_testset_save_CFLAGS="$CFLAGS"
   10711 
   10712 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10713 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10714 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10715 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10716 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10717 then :
   10718   printf %s "(cached) " >&6
   10719 else case e in #(
   10720   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10721 /* end confdefs.h.  */
   10722 int i;
   10723 _ACEOF
   10724 if ac_fn_c_try_compile "$LINENO"
   10725 then :
   10726   xorg_cv_cc_flag_unknown_warning_option=yes
   10727 else case e in #(
   10728   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10729 esac
   10730 fi
   10731 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10732 esac
   10733 fi
   10734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10735 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10736 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10737 	CFLAGS="$xorg_testset_save_CFLAGS"
   10738 fi
   10739 
   10740 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10741 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10742 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10743 	fi
   10744 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10745 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10746 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10747 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10748 then :
   10749   printf %s "(cached) " >&6
   10750 else case e in #(
   10751   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10752 /* end confdefs.h.  */
   10753 int i;
   10754 _ACEOF
   10755 if ac_fn_c_try_compile "$LINENO"
   10756 then :
   10757   xorg_cv_cc_flag_unused_command_line_argument=yes
   10758 else case e in #(
   10759   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10760 esac
   10761 fi
   10762 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10763 esac
   10764 fi
   10765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10766 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10767 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10768 	CFLAGS="$xorg_testset_save_CFLAGS"
   10769 fi
   10770 
   10771 found="no"
   10772 
   10773 	if test $found = "no" ; then
   10774 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10775 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10776 		fi
   10777 
   10778 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10779 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10780 		fi
   10781 
   10782 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10783 
   10784 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10785 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10786 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10787 		if eval test \${$cacheid+y}
   10788 then :
   10789   printf %s "(cached) " >&6
   10790 else case e in #(
   10791   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10792 /* end confdefs.h.  */
   10793 int i;
   10794 int
   10795 main (void)
   10796 {
   10797 
   10798   ;
   10799   return 0;
   10800 }
   10801 _ACEOF
   10802 if ac_fn_c_try_link "$LINENO"
   10803 then :
   10804   eval $cacheid=yes
   10805 else case e in #(
   10806   e) eval $cacheid=no ;;
   10807 esac
   10808 fi
   10809 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10810     conftest$ac_exeext conftest.$ac_ext ;;
   10811 esac
   10812 fi
   10813 
   10814 
   10815 		CFLAGS="$xorg_testset_save_CFLAGS"
   10816 
   10817 		eval supported=\$$cacheid
   10818 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10819 printf "%s\n" "$supported" >&6; }
   10820 		if test "$supported" = "yes" ; then
   10821 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10822 			found="yes"
   10823 		fi
   10824 	fi
   10825 
   10826 
   10827 fi
   10828 
   10829 
   10830 
   10831 
   10832 
   10833 
   10834 
   10835 		CWARNFLAGS="$BASE_CFLAGS"
   10836 		if  test "x$GCC" = xyes ; then
   10837 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10838 		fi
   10839 
   10840 
   10841 
   10842 
   10843 
   10844 
   10845 
   10846 
   10847 # Check whether --enable-strict-compilation was given.
   10848 if test ${enable_strict_compilation+y}
   10849 then :
   10850   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10851 else case e in #(
   10852   e) STRICT_COMPILE=no ;;
   10853 esac
   10854 fi
   10855 
   10856 
   10857 
   10858 
   10859 
   10860 
   10861 STRICT_CFLAGS=""
   10862 
   10863 
   10864 
   10865 
   10866 
   10867 
   10868 
   10869 
   10870 
   10871 
   10872 
   10873 
   10874 
   10875 xorg_testset_save_CFLAGS="$CFLAGS"
   10876 
   10877 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10878 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10879 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10880 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10881 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10882 then :
   10883   printf %s "(cached) " >&6
   10884 else case e in #(
   10885   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10886 /* end confdefs.h.  */
   10887 int i;
   10888 _ACEOF
   10889 if ac_fn_c_try_compile "$LINENO"
   10890 then :
   10891   xorg_cv_cc_flag_unknown_warning_option=yes
   10892 else case e in #(
   10893   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10894 esac
   10895 fi
   10896 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10897 esac
   10898 fi
   10899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10900 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10901 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10902 	CFLAGS="$xorg_testset_save_CFLAGS"
   10903 fi
   10904 
   10905 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10906 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10907 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10908 	fi
   10909 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10910 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10911 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10912 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10913 then :
   10914   printf %s "(cached) " >&6
   10915 else case e in #(
   10916   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10917 /* end confdefs.h.  */
   10918 int i;
   10919 _ACEOF
   10920 if ac_fn_c_try_compile "$LINENO"
   10921 then :
   10922   xorg_cv_cc_flag_unused_command_line_argument=yes
   10923 else case e in #(
   10924   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10925 esac
   10926 fi
   10927 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10928 esac
   10929 fi
   10930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10931 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10932 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10933 	CFLAGS="$xorg_testset_save_CFLAGS"
   10934 fi
   10935 
   10936 found="no"
   10937 
   10938 	if test $found = "no" ; then
   10939 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10940 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10941 		fi
   10942 
   10943 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10944 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10945 		fi
   10946 
   10947 		CFLAGS="$CFLAGS -pedantic"
   10948 
   10949 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10950 printf %s "checking if $CC supports -pedantic... " >&6; }
   10951 		cacheid=xorg_cv_cc_flag__pedantic
   10952 		if eval test \${$cacheid+y}
   10953 then :
   10954   printf %s "(cached) " >&6
   10955 else case e in #(
   10956   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10957 /* end confdefs.h.  */
   10958 int i;
   10959 int
   10960 main (void)
   10961 {
   10962 
   10963   ;
   10964   return 0;
   10965 }
   10966 _ACEOF
   10967 if ac_fn_c_try_link "$LINENO"
   10968 then :
   10969   eval $cacheid=yes
   10970 else case e in #(
   10971   e) eval $cacheid=no ;;
   10972 esac
   10973 fi
   10974 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10975     conftest$ac_exeext conftest.$ac_ext ;;
   10976 esac
   10977 fi
   10978 
   10979 
   10980 		CFLAGS="$xorg_testset_save_CFLAGS"
   10981 
   10982 		eval supported=\$$cacheid
   10983 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10984 printf "%s\n" "$supported" >&6; }
   10985 		if test "$supported" = "yes" ; then
   10986 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10987 			found="yes"
   10988 		fi
   10989 	fi
   10990 
   10991 
   10992 
   10993 
   10994 
   10995 
   10996 
   10997 
   10998 
   10999 
   11000 
   11001 
   11002 
   11003 
   11004 
   11005 xorg_testset_save_CFLAGS="$CFLAGS"
   11006 
   11007 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11008 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11009 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11010 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11011 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11012 then :
   11013   printf %s "(cached) " >&6
   11014 else case e in #(
   11015   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11016 /* end confdefs.h.  */
   11017 int i;
   11018 _ACEOF
   11019 if ac_fn_c_try_compile "$LINENO"
   11020 then :
   11021   xorg_cv_cc_flag_unknown_warning_option=yes
   11022 else case e in #(
   11023   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11024 esac
   11025 fi
   11026 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11027 esac
   11028 fi
   11029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11030 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11031 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11032 	CFLAGS="$xorg_testset_save_CFLAGS"
   11033 fi
   11034 
   11035 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11036 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11037 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11038 	fi
   11039 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11040 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11041 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11042 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11043 then :
   11044   printf %s "(cached) " >&6
   11045 else case e in #(
   11046   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11047 /* end confdefs.h.  */
   11048 int i;
   11049 _ACEOF
   11050 if ac_fn_c_try_compile "$LINENO"
   11051 then :
   11052   xorg_cv_cc_flag_unused_command_line_argument=yes
   11053 else case e in #(
   11054   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11055 esac
   11056 fi
   11057 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11058 esac
   11059 fi
   11060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11061 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11062 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11063 	CFLAGS="$xorg_testset_save_CFLAGS"
   11064 fi
   11065 
   11066 found="no"
   11067 
   11068 	if test $found = "no" ; then
   11069 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11070 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11071 		fi
   11072 
   11073 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11074 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11075 		fi
   11076 
   11077 		CFLAGS="$CFLAGS -Werror"
   11078 
   11079 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   11080 printf %s "checking if $CC supports -Werror... " >&6; }
   11081 		cacheid=xorg_cv_cc_flag__Werror
   11082 		if eval test \${$cacheid+y}
   11083 then :
   11084   printf %s "(cached) " >&6
   11085 else case e in #(
   11086   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11087 /* end confdefs.h.  */
   11088 int i;
   11089 int
   11090 main (void)
   11091 {
   11092 
   11093   ;
   11094   return 0;
   11095 }
   11096 _ACEOF
   11097 if ac_fn_c_try_link "$LINENO"
   11098 then :
   11099   eval $cacheid=yes
   11100 else case e in #(
   11101   e) eval $cacheid=no ;;
   11102 esac
   11103 fi
   11104 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11105     conftest$ac_exeext conftest.$ac_ext ;;
   11106 esac
   11107 fi
   11108 
   11109 
   11110 		CFLAGS="$xorg_testset_save_CFLAGS"
   11111 
   11112 		eval supported=\$$cacheid
   11113 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11114 printf "%s\n" "$supported" >&6; }
   11115 		if test "$supported" = "yes" ; then
   11116 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   11117 			found="yes"
   11118 		fi
   11119 	fi
   11120 
   11121 	if test $found = "no" ; then
   11122 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11123 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11124 		fi
   11125 
   11126 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11127 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11128 		fi
   11129 
   11130 		CFLAGS="$CFLAGS -errwarn"
   11131 
   11132 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   11133 printf %s "checking if $CC supports -errwarn... " >&6; }
   11134 		cacheid=xorg_cv_cc_flag__errwarn
   11135 		if eval test \${$cacheid+y}
   11136 then :
   11137   printf %s "(cached) " >&6
   11138 else case e in #(
   11139   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11140 /* end confdefs.h.  */
   11141 int i;
   11142 int
   11143 main (void)
   11144 {
   11145 
   11146   ;
   11147   return 0;
   11148 }
   11149 _ACEOF
   11150 if ac_fn_c_try_link "$LINENO"
   11151 then :
   11152   eval $cacheid=yes
   11153 else case e in #(
   11154   e) eval $cacheid=no ;;
   11155 esac
   11156 fi
   11157 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11158     conftest$ac_exeext conftest.$ac_ext ;;
   11159 esac
   11160 fi
   11161 
   11162 
   11163 		CFLAGS="$xorg_testset_save_CFLAGS"
   11164 
   11165 		eval supported=\$$cacheid
   11166 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11167 printf "%s\n" "$supported" >&6; }
   11168 		if test "$supported" = "yes" ; then
   11169 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   11170 			found="yes"
   11171 		fi
   11172 	fi
   11173 
   11174 
   11175 
   11176 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   11177 # activate it with -Werror, so we add it here explicitly.
   11178 
   11179 
   11180 
   11181 
   11182 
   11183 
   11184 
   11185 
   11186 
   11187 
   11188 
   11189 
   11190 
   11191 xorg_testset_save_CFLAGS="$CFLAGS"
   11192 
   11193 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11194 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11195 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11196 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11197 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11198 then :
   11199   printf %s "(cached) " >&6
   11200 else case e in #(
   11201   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11202 /* end confdefs.h.  */
   11203 int i;
   11204 _ACEOF
   11205 if ac_fn_c_try_compile "$LINENO"
   11206 then :
   11207   xorg_cv_cc_flag_unknown_warning_option=yes
   11208 else case e in #(
   11209   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11210 esac
   11211 fi
   11212 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11213 esac
   11214 fi
   11215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11216 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11217 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11218 	CFLAGS="$xorg_testset_save_CFLAGS"
   11219 fi
   11220 
   11221 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11222 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11223 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11224 	fi
   11225 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11226 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11227 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11228 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11229 then :
   11230   printf %s "(cached) " >&6
   11231 else case e in #(
   11232   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11233 /* end confdefs.h.  */
   11234 int i;
   11235 _ACEOF
   11236 if ac_fn_c_try_compile "$LINENO"
   11237 then :
   11238   xorg_cv_cc_flag_unused_command_line_argument=yes
   11239 else case e in #(
   11240   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11241 esac
   11242 fi
   11243 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11244 esac
   11245 fi
   11246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11247 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11248 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11249 	CFLAGS="$xorg_testset_save_CFLAGS"
   11250 fi
   11251 
   11252 found="no"
   11253 
   11254 	if test $found = "no" ; then
   11255 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11256 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11257 		fi
   11258 
   11259 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11260 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11261 		fi
   11262 
   11263 		CFLAGS="$CFLAGS -Werror=attributes"
   11264 
   11265 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11266 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11267 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11268 		if eval test \${$cacheid+y}
   11269 then :
   11270   printf %s "(cached) " >&6
   11271 else case e in #(
   11272   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11273 /* end confdefs.h.  */
   11274 int i;
   11275 int
   11276 main (void)
   11277 {
   11278 
   11279   ;
   11280   return 0;
   11281 }
   11282 _ACEOF
   11283 if ac_fn_c_try_link "$LINENO"
   11284 then :
   11285   eval $cacheid=yes
   11286 else case e in #(
   11287   e) eval $cacheid=no ;;
   11288 esac
   11289 fi
   11290 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11291     conftest$ac_exeext conftest.$ac_ext ;;
   11292 esac
   11293 fi
   11294 
   11295 
   11296 		CFLAGS="$xorg_testset_save_CFLAGS"
   11297 
   11298 		eval supported=\$$cacheid
   11299 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11300 printf "%s\n" "$supported" >&6; }
   11301 		if test "$supported" = "yes" ; then
   11302 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11303 			found="yes"
   11304 		fi
   11305 	fi
   11306 
   11307 
   11308 
   11309 if test "x$STRICT_COMPILE" = "xyes"; then
   11310     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11311     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11312 fi
   11313 
   11314 
   11315 
   11316 
   11317 
   11318 
   11319 
   11320 
   11321 cat >>confdefs.h <<_ACEOF
   11322 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11323 _ACEOF
   11324 
   11325 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11326 	if test "x$PVM" = "x"; then
   11327 		PVM="0"
   11328 	fi
   11329 
   11330 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11331 
   11332 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11333 	if test "x$PVP" = "x"; then
   11334 		PVP="0"
   11335 	fi
   11336 
   11337 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11338 
   11339 
   11340 
   11341 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11342 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11343 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11344 touch \$(top_srcdir)/ChangeLog; \
   11345 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11346 
   11347 
   11348 
   11349 
   11350 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11351 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11352 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11353 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11354 touch \$(top_srcdir)/INSTALL; \
   11355 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11356 
   11357 
   11358 
   11359 
   11360 
   11361 
   11362 case $host_os in
   11363     solaris*)
   11364         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11365         # check for a man page file found in later versions that use
   11366         # traditional section numbers instead
   11367         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11368 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11369 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11370 then :
   11371   printf %s "(cached) " >&6
   11372 else case e in #(
   11373   e) test "$cross_compiling" = yes &&
   11374   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11375 if test -r "/usr/share/man/man7/attributes.7"; then
   11376   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11377 else
   11378   ac_cv_file__usr_share_man_man7_attributes_7=no
   11379 fi ;;
   11380 esac
   11381 fi
   11382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11383 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11384 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11385 then :
   11386   SYSV_MAN_SECTIONS=false
   11387 else case e in #(
   11388   e) SYSV_MAN_SECTIONS=true ;;
   11389 esac
   11390 fi
   11391 
   11392         ;;
   11393     *) SYSV_MAN_SECTIONS=false ;;
   11394 esac
   11395 
   11396 if test x$APP_MAN_SUFFIX = x    ; then
   11397     APP_MAN_SUFFIX=1
   11398 fi
   11399 if test x$APP_MAN_DIR = x    ; then
   11400     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11401 fi
   11402 
   11403 if test x$LIB_MAN_SUFFIX = x    ; then
   11404     LIB_MAN_SUFFIX=3
   11405 fi
   11406 if test x$LIB_MAN_DIR = x    ; then
   11407     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11408 fi
   11409 
   11410 if test x$FILE_MAN_SUFFIX = x    ; then
   11411     case $SYSV_MAN_SECTIONS in
   11412 	true)				FILE_MAN_SUFFIX=4  ;;
   11413 	*)				FILE_MAN_SUFFIX=5  ;;
   11414     esac
   11415 fi
   11416 if test x$FILE_MAN_DIR = x    ; then
   11417     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11418 fi
   11419 
   11420 if test x$MISC_MAN_SUFFIX = x    ; then
   11421     case $SYSV_MAN_SECTIONS in
   11422 	true)				MISC_MAN_SUFFIX=5  ;;
   11423 	*)				MISC_MAN_SUFFIX=7  ;;
   11424     esac
   11425 fi
   11426 if test x$MISC_MAN_DIR = x    ; then
   11427     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11428 fi
   11429 
   11430 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11431     case $SYSV_MAN_SECTIONS in
   11432 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11433 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11434     esac
   11435 fi
   11436 if test x$DRIVER_MAN_DIR = x    ; then
   11437     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11438 fi
   11439 
   11440 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11441     case $SYSV_MAN_SECTIONS in
   11442 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11443 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11444     esac
   11445 fi
   11446 if test x$ADMIN_MAN_DIR = x    ; then
   11447     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11448 fi
   11449 
   11450 
   11451 
   11452 
   11453 
   11454 
   11455 
   11456 
   11457 
   11458 
   11459 
   11460 
   11461 
   11462 
   11463 
   11464 XORG_MAN_PAGE="X Version 11"
   11465 
   11466 MAN_SUBSTS="\
   11467 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11468 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11469 	-e 's|__xservername__|Xorg|g' \
   11470 	-e 's|__xconfigfile__|xorg.conf|g' \
   11471 	-e 's|__projectroot__|\$(prefix)|g' \
   11472 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11473 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11474 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11475 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11476 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11477 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11478 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11479 
   11480 
   11481 
   11482 # Check whether --enable-silent-rules was given.
   11483 if test ${enable_silent_rules+y}
   11484 then :
   11485   enableval=$enable_silent_rules;
   11486 fi
   11487 
   11488 case $enable_silent_rules in # (((
   11489   yes) AM_DEFAULT_VERBOSITY=0;;
   11490    no) AM_DEFAULT_VERBOSITY=1;;
   11491     *) AM_DEFAULT_VERBOSITY=0;;
   11492 esac
   11493 am_make=${MAKE-make}
   11494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11495 printf %s "checking whether $am_make supports nested variables... " >&6; }
   11496 if test ${am_cv_make_support_nested_variables+y}
   11497 then :
   11498   printf %s "(cached) " >&6
   11499 else case e in #(
   11500   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   11501 BAR0=false
   11502 BAR1=true
   11503 V=1
   11504 am__doit:
   11505 	@$(TRUE)
   11506 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11507   am_cv_make_support_nested_variables=yes
   11508 else
   11509   am_cv_make_support_nested_variables=no
   11510 fi ;;
   11511 esac
   11512 fi
   11513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11514 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   11515 if test $am_cv_make_support_nested_variables = yes; then
   11516     AM_V='$(V)'
   11517   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11518 else
   11519   AM_V=$AM_DEFAULT_VERBOSITY
   11520   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11521 fi
   11522 AM_BACKSLASH='\'
   11523 
   11524 
   11525 
   11526 
   11527 
   11528 # Check whether --with-rsh was given.
   11529 if test ${with_rsh+y}
   11530 then :
   11531   withval=$with_rsh;  rsh="$withval"
   11532 else case e in #(
   11533   e)  rsh=${bindir}/ssh  ;;
   11534 esac
   11535 fi
   11536 
   11537 RSH=$rsh
   11538 
   11539 
   11540 ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
   11541 if test "x$ac_cv_func_mkstemp" = xyes
   11542 then :
   11543   printf "%s\n" "#define HAVE_MKSTEMP 1" >>confdefs.h
   11544 
   11545 fi
   11546 ac_fn_c_check_func "$LINENO" "putenv" "ac_cv_func_putenv"
   11547 if test "x$ac_cv_func_putenv" = xyes
   11548 then :
   11549   printf "%s\n" "#define HAVE_PUTENV 1" >>confdefs.h
   11550 
   11551 fi
   11552 
   11553 
   11554 # Checks for pkg-config packages
   11555 
   11556 pkg_failed=no
   11557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XSM" >&5
   11558 printf %s "checking for XSM... " >&6; }
   11559 
   11560 if test -n "$XSM_CFLAGS"; then
   11561     pkg_cv_XSM_CFLAGS="$XSM_CFLAGS"
   11562  elif test -n "$PKG_CONFIG"; then
   11563     if test -n "$PKG_CONFIG" && \
   11564     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xt > 1.0.99 ice sm xaw7 xproto >= 7.0.17\""; } >&5
   11565   ($PKG_CONFIG --exists --print-errors "x11 xt > 1.0.99 ice sm xaw7 xproto >= 7.0.17") 2>&5
   11566   ac_status=$?
   11567   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11568   test $ac_status = 0; }; then
   11569   pkg_cv_XSM_CFLAGS=`$PKG_CONFIG --cflags "x11 xt > 1.0.99 ice sm xaw7 xproto >= 7.0.17" 2>/dev/null`
   11570 		      test "x$?" != "x0" && pkg_failed=yes
   11571 else
   11572   pkg_failed=yes
   11573 fi
   11574  else
   11575     pkg_failed=untried
   11576 fi
   11577 if test -n "$XSM_LIBS"; then
   11578     pkg_cv_XSM_LIBS="$XSM_LIBS"
   11579  elif test -n "$PKG_CONFIG"; then
   11580     if test -n "$PKG_CONFIG" && \
   11581     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xt > 1.0.99 ice sm xaw7 xproto >= 7.0.17\""; } >&5
   11582   ($PKG_CONFIG --exists --print-errors "x11 xt > 1.0.99 ice sm xaw7 xproto >= 7.0.17") 2>&5
   11583   ac_status=$?
   11584   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11585   test $ac_status = 0; }; then
   11586   pkg_cv_XSM_LIBS=`$PKG_CONFIG --libs "x11 xt > 1.0.99 ice sm xaw7 xproto >= 7.0.17" 2>/dev/null`
   11587 		      test "x$?" != "x0" && pkg_failed=yes
   11588 else
   11589   pkg_failed=yes
   11590 fi
   11591  else
   11592     pkg_failed=untried
   11593 fi
   11594 
   11595 
   11596 
   11597 if test $pkg_failed = yes; then
   11598    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11599 printf "%s\n" "no" >&6; }
   11600 
   11601 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11602         _pkg_short_errors_supported=yes
   11603 else
   11604         _pkg_short_errors_supported=no
   11605 fi
   11606         if test $_pkg_short_errors_supported = yes; then
   11607 	        XSM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 xt > 1.0.99 ice sm xaw7 xproto >= 7.0.17" 2>&1`
   11608         else
   11609 	        XSM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 xt > 1.0.99 ice sm xaw7 xproto >= 7.0.17" 2>&1`
   11610         fi
   11611 	# Put the nasty error message in config.log where it belongs
   11612 	echo "$XSM_PKG_ERRORS" >&5
   11613 
   11614 	as_fn_error $? "Package requirements (x11 xt > 1.0.99 ice sm xaw7 xproto >= 7.0.17) were not met:
   11615 
   11616 $XSM_PKG_ERRORS
   11617 
   11618 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11619 installed software in a non-standard prefix.
   11620 
   11621 Alternatively, you may set the environment variables XSM_CFLAGS
   11622 and XSM_LIBS to avoid the need to call pkg-config.
   11623 See the pkg-config man page for more details." "$LINENO" 5
   11624 elif test $pkg_failed = untried; then
   11625      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11626 printf "%s\n" "no" >&6; }
   11627 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   11628 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   11629 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11630 is in your PATH or set the PKG_CONFIG environment variable to the full
   11631 path to pkg-config.
   11632 
   11633 Alternatively, you may set the environment variables XSM_CFLAGS
   11634 and XSM_LIBS to avoid the need to call pkg-config.
   11635 See the pkg-config man page for more details.
   11636 
   11637 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11638 See 'config.log' for more details" "$LINENO" 5; }
   11639 else
   11640 	XSM_CFLAGS=$pkg_cv_XSM_CFLAGS
   11641 	XSM_LIBS=$pkg_cv_XSM_LIBS
   11642         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11643 printf "%s\n" "yes" >&6; }
   11644 
   11645 fi
   11646 
   11647 xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
   11648 
   11649 # Check whether --with-appdefaultdir was given.
   11650 if test ${with_appdefaultdir+y}
   11651 then :
   11652   withval=$with_appdefaultdir; appdefaultdir="$withval"
   11653 else case e in #(
   11654   e) appdefaultdir="${xt_appdefaultdir}" ;;
   11655 esac
   11656 fi
   11657 
   11658 
   11659 
   11660 
   11661 ac_config_files="$ac_config_files Makefile man/Makefile"
   11662 
   11663 cat >confcache <<\_ACEOF
   11664 # This file is a shell script that caches the results of configure
   11665 # tests run on this system so they can be shared between configure
   11666 # scripts and configure runs, see configure's option --config-cache.
   11667 # It is not useful on other systems.  If it contains results you don't
   11668 # want to keep, you may remove or edit it.
   11669 #
   11670 # config.status only pays attention to the cache file if you give it
   11671 # the --recheck option to rerun configure.
   11672 #
   11673 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   11674 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   11675 # following values.
   11676 
   11677 _ACEOF
   11678 
   11679 # The following way of writing the cache mishandles newlines in values,
   11680 # but we know of no workaround that is simple, portable, and efficient.
   11681 # So, we kill variables containing newlines.
   11682 # Ultrix sh set writes to stderr and can't be redirected directly,
   11683 # and sets the high bit in the cache file unless we assign to the vars.
   11684 (
   11685   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11686     eval ac_val=\$$ac_var
   11687     case $ac_val in #(
   11688     *${as_nl}*)
   11689       case $ac_var in #(
   11690       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11691 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11692       esac
   11693       case $ac_var in #(
   11694       _ | IFS | as_nl) ;; #(
   11695       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11696       *) { eval $ac_var=; unset $ac_var;} ;;
   11697       esac ;;
   11698     esac
   11699   done
   11700 
   11701   (set) 2>&1 |
   11702     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11703     *${as_nl}ac_space=\ *)
   11704       # 'set' does not quote correctly, so add quotes: double-quote
   11705       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11706       sed -n \
   11707 	"s/'/'\\\\''/g;
   11708 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11709       ;; #(
   11710     *)
   11711       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   11712       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11713       ;;
   11714     esac |
   11715     sort
   11716 ) |
   11717   sed '
   11718      /^ac_cv_env_/b end
   11719      t clear
   11720      :clear
   11721      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   11722      t end
   11723      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11724      :end' >>confcache
   11725 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11726   if test -w "$cache_file"; then
   11727     if test "x$cache_file" != "x/dev/null"; then
   11728       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11729 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   11730       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11731 	cat confcache >"$cache_file"
   11732       else
   11733         case $cache_file in #(
   11734         */* | ?:*)
   11735 	  mv -f confcache "$cache_file"$$ &&
   11736 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11737         *)
   11738 	  mv -f confcache "$cache_file" ;;
   11739 	esac
   11740       fi
   11741     fi
   11742   else
   11743     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11744 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   11745   fi
   11746 fi
   11747 rm -f confcache
   11748 
   11749 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11750 # Let make expand exec_prefix.
   11751 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11752 
   11753 DEFS=-DHAVE_CONFIG_H
   11754 
   11755 ac_libobjs=
   11756 ac_ltlibobjs=
   11757 U=
   11758 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11759   # 1. Remove the extension, and $U if already installed.
   11760   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11761   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   11762   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11763   #    will be set to the directory where LIBOBJS objects are built.
   11764   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11765   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11766 done
   11767 LIBOBJS=$ac_libobjs
   11768 
   11769 LTLIBOBJS=$ac_ltlibobjs
   11770 
   11771 
   11772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11773 printf %s "checking that generated files are newer than configure... " >&6; }
   11774    if test -n "$am_sleep_pid"; then
   11775      # Hide warnings about reused PIDs.
   11776      wait $am_sleep_pid 2>/dev/null
   11777    fi
   11778    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11779 printf "%s\n" "done" >&6; }
   11780  if test -n "$EXEEXT"; then
   11781   am__EXEEXT_TRUE=
   11782   am__EXEEXT_FALSE='#'
   11783 else
   11784   am__EXEEXT_TRUE='#'
   11785   am__EXEEXT_FALSE=
   11786 fi
   11787 
   11788 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11789   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11790 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11791 fi
   11792 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11793   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11794 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11795 fi
   11796 
   11797 : "${CONFIG_STATUS=./config.status}"
   11798 ac_write_fail=0
   11799 ac_clean_files_save=$ac_clean_files
   11800 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11802 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   11803 as_write_fail=0
   11804 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11805 #! $SHELL
   11806 # Generated by $as_me.
   11807 # Run this file to recreate the current configuration.
   11808 # Compiler output produced by configure, useful for debugging
   11809 # configure, is in config.log if it exists.
   11810 
   11811 debug=false
   11812 ac_cs_recheck=false
   11813 ac_cs_silent=false
   11814 
   11815 SHELL=\${CONFIG_SHELL-$SHELL}
   11816 export SHELL
   11817 _ASEOF
   11818 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11819 ## -------------------- ##
   11820 ## M4sh Initialization. ##
   11821 ## -------------------- ##
   11822 
   11823 # Be more Bourne compatible
   11824 DUALCASE=1; export DUALCASE # for MKS sh
   11825 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   11826 then :
   11827   emulate sh
   11828   NULLCMD=:
   11829   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11830   # is contrary to our usage.  Disable this feature.
   11831   alias -g '${1+"$@"}'='"$@"'
   11832   setopt NO_GLOB_SUBST
   11833 else case e in #(
   11834   e) case `(set -o) 2>/dev/null` in #(
   11835   *posix*) :
   11836     set -o posix ;; #(
   11837   *) :
   11838      ;;
   11839 esac ;;
   11840 esac
   11841 fi
   11842 
   11843 
   11844 
   11845 # Reset variables that may have inherited troublesome values from
   11846 # the environment.
   11847 
   11848 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   11849 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   11850 # side effect of setting IFS to empty, thus disabling word splitting.)
   11851 # Quoting is to prevent editors from complaining about space-tab.
   11852 as_nl='
   11853 '
   11854 export as_nl
   11855 IFS=" ""	$as_nl"
   11856 
   11857 PS1='$ '
   11858 PS2='> '
   11859 PS4='+ '
   11860 
   11861 # Ensure predictable behavior from utilities with locale-dependent output.
   11862 LC_ALL=C
   11863 export LC_ALL
   11864 LANGUAGE=C
   11865 export LANGUAGE
   11866 
   11867 # We cannot yet rely on "unset" to work, but we need these variables
   11868 # to be unset--not just set to an empty or harmless value--now, to
   11869 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   11870 # also avoids known problems related to "unset" and subshell syntax
   11871 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   11872 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   11873 do eval test \${$as_var+y} \
   11874   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11875 done
   11876 
   11877 # Ensure that fds 0, 1, and 2 are open.
   11878 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   11879 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   11880 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   11881 
   11882 # The user is always right.
   11883 if ${PATH_SEPARATOR+false} :; then
   11884   PATH_SEPARATOR=:
   11885   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11886     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11887       PATH_SEPARATOR=';'
   11888   }
   11889 fi
   11890 
   11891 
   11892 # Find who we are.  Look in the path if we contain no directory separator.
   11893 as_myself=
   11894 case $0 in #((
   11895   *[\\/]* ) as_myself=$0 ;;
   11896   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11897 for as_dir in $PATH
   11898 do
   11899   IFS=$as_save_IFS
   11900   case $as_dir in #(((
   11901     '') as_dir=./ ;;
   11902     */) ;;
   11903     *) as_dir=$as_dir/ ;;
   11904   esac
   11905     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   11906   done
   11907 IFS=$as_save_IFS
   11908 
   11909      ;;
   11910 esac
   11911 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   11912 # in which case we are not to be found in the path.
   11913 if test "x$as_myself" = x; then
   11914   as_myself=$0
   11915 fi
   11916 if test ! -f "$as_myself"; then
   11917   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11918   exit 1
   11919 fi
   11920 
   11921 
   11922 
   11923 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11924 # ----------------------------------------
   11925 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11926 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11927 # script with STATUS, using 1 if that was 0.
   11928 as_fn_error ()
   11929 {
   11930   as_status=$1; test $as_status -eq 0 && as_status=1
   11931   if test "$4"; then
   11932     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11933     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11934   fi
   11935   printf "%s\n" "$as_me: error: $2" >&2
   11936   as_fn_exit $as_status
   11937 } # as_fn_error
   11938 
   11939 
   11940 # as_fn_set_status STATUS
   11941 # -----------------------
   11942 # Set $? to STATUS, without forking.
   11943 as_fn_set_status ()
   11944 {
   11945   return $1
   11946 } # as_fn_set_status
   11947 
   11948 # as_fn_exit STATUS
   11949 # -----------------
   11950 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11951 as_fn_exit ()
   11952 {
   11953   set +e
   11954   as_fn_set_status $1
   11955   exit $1
   11956 } # as_fn_exit
   11957 
   11958 # as_fn_unset VAR
   11959 # ---------------
   11960 # Portably unset VAR.
   11961 as_fn_unset ()
   11962 {
   11963   { eval $1=; unset $1;}
   11964 }
   11965 as_unset=as_fn_unset
   11966 
   11967 # as_fn_append VAR VALUE
   11968 # ----------------------
   11969 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11970 # advantage of any shell optimizations that allow amortized linear growth over
   11971 # repeated appends, instead of the typical quadratic growth present in naive
   11972 # implementations.
   11973 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   11974 then :
   11975   eval 'as_fn_append ()
   11976   {
   11977     eval $1+=\$2
   11978   }'
   11979 else case e in #(
   11980   e) as_fn_append ()
   11981   {
   11982     eval $1=\$$1\$2
   11983   } ;;
   11984 esac
   11985 fi # as_fn_append
   11986 
   11987 # as_fn_arith ARG...
   11988 # ------------------
   11989 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11990 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11991 # must be portable across $(()) and expr.
   11992 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   11993 then :
   11994   eval 'as_fn_arith ()
   11995   {
   11996     as_val=$(( $* ))
   11997   }'
   11998 else case e in #(
   11999   e) as_fn_arith ()
   12000   {
   12001     as_val=`expr "$@" || test $? -eq 1`
   12002   } ;;
   12003 esac
   12004 fi # as_fn_arith
   12005 
   12006 
   12007 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12008    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12009   as_expr=expr
   12010 else
   12011   as_expr=false
   12012 fi
   12013 
   12014 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12015   as_basename=basename
   12016 else
   12017   as_basename=false
   12018 fi
   12019 
   12020 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12021   as_dirname=dirname
   12022 else
   12023   as_dirname=false
   12024 fi
   12025 
   12026 as_me=`$as_basename -- "$0" ||
   12027 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12028 	 X"$0" : 'X\(//\)$' \| \
   12029 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12030 printf "%s\n" X/"$0" |
   12031     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12032 	    s//\1/
   12033 	    q
   12034 	  }
   12035 	  /^X\/\(\/\/\)$/{
   12036 	    s//\1/
   12037 	    q
   12038 	  }
   12039 	  /^X\/\(\/\).*/{
   12040 	    s//\1/
   12041 	    q
   12042 	  }
   12043 	  s/.*/./; q'`
   12044 
   12045 # Avoid depending upon Character Ranges.
   12046 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12047 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12048 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12049 as_cr_digits='0123456789'
   12050 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12051 
   12052 
   12053 # Determine whether it's possible to make 'echo' print without a newline.
   12054 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   12055 # for compatibility with existing Makefiles.
   12056 ECHO_C= ECHO_N= ECHO_T=
   12057 case `echo -n x` in #(((((
   12058 -n*)
   12059   case `echo 'xy\c'` in
   12060   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   12061   xy)  ECHO_C='\c';;
   12062   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   12063        ECHO_T='	';;
   12064   esac;;
   12065 *)
   12066   ECHO_N='-n';;
   12067 esac
   12068 
   12069 # For backward compatibility with old third-party macros, we provide
   12070 # the shell variables $as_echo and $as_echo_n.  New code should use
   12071 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   12072 as_echo='printf %s\n'
   12073 as_echo_n='printf %s'
   12074 
   12075 rm -f conf$$ conf$$.exe conf$$.file
   12076 if test -d conf$$.dir; then
   12077   rm -f conf$$.dir/conf$$.file
   12078 else
   12079   rm -f conf$$.dir
   12080   mkdir conf$$.dir 2>/dev/null
   12081 fi
   12082 if (echo >conf$$.file) 2>/dev/null; then
   12083   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12084     as_ln_s='ln -s'
   12085     # ... but there are two gotchas:
   12086     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   12087     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   12088     # In both cases, we have to default to 'cp -pR'.
   12089     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12090       as_ln_s='cp -pR'
   12091   elif ln conf$$.file conf$$ 2>/dev/null; then
   12092     as_ln_s=ln
   12093   else
   12094     as_ln_s='cp -pR'
   12095   fi
   12096 else
   12097   as_ln_s='cp -pR'
   12098 fi
   12099 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12100 rmdir conf$$.dir 2>/dev/null
   12101 
   12102 
   12103 # as_fn_mkdir_p
   12104 # -------------
   12105 # Create "$as_dir" as a directory, including parents if necessary.
   12106 as_fn_mkdir_p ()
   12107 {
   12108 
   12109   case $as_dir in #(
   12110   -*) as_dir=./$as_dir;;
   12111   esac
   12112   test -d "$as_dir" || eval $as_mkdir_p || {
   12113     as_dirs=
   12114     while :; do
   12115       case $as_dir in #(
   12116       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12117       *) as_qdir=$as_dir;;
   12118       esac
   12119       as_dirs="'$as_qdir' $as_dirs"
   12120       as_dir=`$as_dirname -- "$as_dir" ||
   12121 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12122 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12123 	 X"$as_dir" : 'X\(//\)$' \| \
   12124 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12125 printf "%s\n" X"$as_dir" |
   12126     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12127 	    s//\1/
   12128 	    q
   12129 	  }
   12130 	  /^X\(\/\/\)[^/].*/{
   12131 	    s//\1/
   12132 	    q
   12133 	  }
   12134 	  /^X\(\/\/\)$/{
   12135 	    s//\1/
   12136 	    q
   12137 	  }
   12138 	  /^X\(\/\).*/{
   12139 	    s//\1/
   12140 	    q
   12141 	  }
   12142 	  s/.*/./; q'`
   12143       test -d "$as_dir" && break
   12144     done
   12145     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12146   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12147 
   12148 
   12149 } # as_fn_mkdir_p
   12150 if mkdir -p . 2>/dev/null; then
   12151   as_mkdir_p='mkdir -p "$as_dir"'
   12152 else
   12153   test -d ./-p && rmdir ./-p
   12154   as_mkdir_p=false
   12155 fi
   12156 
   12157 
   12158 # as_fn_executable_p FILE
   12159 # -----------------------
   12160 # Test if FILE is an executable regular file.
   12161 as_fn_executable_p ()
   12162 {
   12163   test -f "$1" && test -x "$1"
   12164 } # as_fn_executable_p
   12165 as_test_x='test -x'
   12166 as_executable_p=as_fn_executable_p
   12167 
   12168 # Sed expression to map a string onto a valid CPP name.
   12169 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   12170 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   12171 
   12172 # Sed expression to map a string onto a valid variable name.
   12173 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   12174 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   12175 
   12176 
   12177 exec 6>&1
   12178 ## ----------------------------------- ##
   12179 ## Main body of $CONFIG_STATUS script. ##
   12180 ## ----------------------------------- ##
   12181 _ASEOF
   12182 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   12183 
   12184 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12185 # Save the log message, to keep $0 and so on meaningful, and to
   12186 # report actual input values of CONFIG_FILES etc. instead of their
   12187 # values after options handling.
   12188 ac_log="
   12189 This file was extended by xsm $as_me 1.0.6, which was
   12190 generated by GNU Autoconf 2.72.  Invocation command line was
   12191 
   12192   CONFIG_FILES    = $CONFIG_FILES
   12193   CONFIG_HEADERS  = $CONFIG_HEADERS
   12194   CONFIG_LINKS    = $CONFIG_LINKS
   12195   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12196   $ $0 $@
   12197 
   12198 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12199 "
   12200 
   12201 _ACEOF
   12202 
   12203 case $ac_config_files in *"
   12204 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12205 esac
   12206 
   12207 case $ac_config_headers in *"
   12208 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12209 esac
   12210 
   12211 
   12212 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12213 # Files that config.status was made for.
   12214 config_files="$ac_config_files"
   12215 config_headers="$ac_config_headers"
   12216 config_commands="$ac_config_commands"
   12217 
   12218 _ACEOF
   12219 
   12220 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12221 ac_cs_usage="\
   12222 '$as_me' instantiates files and other configuration actions
   12223 from templates according to the current configuration.  Unless the files
   12224 and actions are specified as TAGs, all are instantiated by default.
   12225 
   12226 Usage: $0 [OPTION]... [TAG]...
   12227 
   12228   -h, --help       print this help, then exit
   12229   -V, --version    print version number and configuration settings, then exit
   12230       --config     print configuration, then exit
   12231   -q, --quiet, --silent
   12232                    do not print progress messages
   12233   -d, --debug      don't remove temporary files
   12234       --recheck    update $as_me by reconfiguring in the same conditions
   12235       --file=FILE[:TEMPLATE]
   12236                    instantiate the configuration file FILE
   12237       --header=FILE[:TEMPLATE]
   12238                    instantiate the configuration header FILE
   12239 
   12240 Configuration files:
   12241 $config_files
   12242 
   12243 Configuration headers:
   12244 $config_headers
   12245 
   12246 Configuration commands:
   12247 $config_commands
   12248 
   12249 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xsm/-/issues>."
   12250 
   12251 _ACEOF
   12252 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   12253 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   12254 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12255 ac_cs_config='$ac_cs_config_escaped'
   12256 ac_cs_version="\\
   12257 xsm config.status 1.0.6
   12258 configured by $0, generated by GNU Autoconf 2.72,
   12259   with options \\"\$ac_cs_config\\"
   12260 
   12261 Copyright (C) 2023 Free Software Foundation, Inc.
   12262 This config.status script is free software; the Free Software Foundation
   12263 gives unlimited permission to copy, distribute and modify it."
   12264 
   12265 ac_pwd='$ac_pwd'
   12266 srcdir='$srcdir'
   12267 INSTALL='$INSTALL'
   12268 MKDIR_P='$MKDIR_P'
   12269 AWK='$AWK'
   12270 test -n "\$AWK" || AWK=awk
   12271 _ACEOF
   12272 
   12273 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12274 # The default lists apply if the user does not specify any file.
   12275 ac_need_defaults=:
   12276 while test $# != 0
   12277 do
   12278   case $1 in
   12279   --*=?*)
   12280     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12281     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12282     ac_shift=:
   12283     ;;
   12284   --*=)
   12285     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12286     ac_optarg=
   12287     ac_shift=:
   12288     ;;
   12289   *)
   12290     ac_option=$1
   12291     ac_optarg=$2
   12292     ac_shift=shift
   12293     ;;
   12294   esac
   12295 
   12296   case $ac_option in
   12297   # Handling of the options.
   12298   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12299     ac_cs_recheck=: ;;
   12300   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12301     printf "%s\n" "$ac_cs_version"; exit ;;
   12302   --config | --confi | --conf | --con | --co | --c )
   12303     printf "%s\n" "$ac_cs_config"; exit ;;
   12304   --debug | --debu | --deb | --de | --d | -d )
   12305     debug=: ;;
   12306   --file | --fil | --fi | --f )
   12307     $ac_shift
   12308     case $ac_optarg in
   12309     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12310     '') as_fn_error $? "missing file argument" ;;
   12311     esac
   12312     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12313     ac_need_defaults=false;;
   12314   --header | --heade | --head | --hea )
   12315     $ac_shift
   12316     case $ac_optarg in
   12317     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12318     esac
   12319     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12320     ac_need_defaults=false;;
   12321   --he | --h)
   12322     # Conflict between --help and --header
   12323     as_fn_error $? "ambiguous option: '$1'
   12324 Try '$0 --help' for more information.";;
   12325   --help | --hel | -h )
   12326     printf "%s\n" "$ac_cs_usage"; exit ;;
   12327   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12328   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12329     ac_cs_silent=: ;;
   12330 
   12331   # This is an error.
   12332   -*) as_fn_error $? "unrecognized option: '$1'
   12333 Try '$0 --help' for more information." ;;
   12334 
   12335   *) as_fn_append ac_config_targets " $1"
   12336      ac_need_defaults=false ;;
   12337 
   12338   esac
   12339   shift
   12340 done
   12341 
   12342 ac_configure_extra_args=
   12343 
   12344 if $ac_cs_silent; then
   12345   exec 6>/dev/null
   12346   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12347 fi
   12348 
   12349 _ACEOF
   12350 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12351 if \$ac_cs_recheck; then
   12352   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12353   shift
   12354   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   12355   CONFIG_SHELL='$SHELL'
   12356   export CONFIG_SHELL
   12357   exec "\$@"
   12358 fi
   12359 
   12360 _ACEOF
   12361 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12362 exec 5>>config.log
   12363 {
   12364   echo
   12365   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12366 ## Running $as_me. ##
   12367 _ASBOX
   12368   printf "%s\n" "$ac_log"
   12369 } >&5
   12370 
   12371 _ACEOF
   12372 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12373 #
   12374 # INIT-COMMANDS
   12375 #
   12376 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   12377 
   12378 _ACEOF
   12379 
   12380 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12381 
   12382 # Handling of arguments.
   12383 for ac_config_target in $ac_config_targets
   12384 do
   12385   case $ac_config_target in
   12386     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12387     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12388     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12389     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12390 
   12391   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   12392   esac
   12393 done
   12394 
   12395 
   12396 # If the user did not use the arguments to specify the items to instantiate,
   12397 # then the envvar interface is used.  Set only those that are not.
   12398 # We use the long form for the default assignment because of an extremely
   12399 # bizarre bug on SunOS 4.1.3.
   12400 if $ac_need_defaults; then
   12401   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   12402   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   12403   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   12404 fi
   12405 
   12406 # Have a temporary directory for convenience.  Make it in the build tree
   12407 # simply because there is no reason against having it here, and in addition,
   12408 # creating and moving files from /tmp can sometimes cause problems.
   12409 # Hook for its removal unless debugging.
   12410 # Note that there is a small window in which the directory will not be cleaned:
   12411 # after its creation but before its name has been assigned to '$tmp'.
   12412 $debug ||
   12413 {
   12414   tmp= ac_tmp=
   12415   trap 'exit_status=$?
   12416   : "${ac_tmp:=$tmp}"
   12417   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12418 ' 0
   12419   trap 'as_fn_exit 1' 1 2 13 15
   12420 }
   12421 # Create a (secure) tmp directory for tmp files.
   12422 
   12423 {
   12424   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12425   test -d "$tmp"
   12426 }  ||
   12427 {
   12428   tmp=./conf$$-$RANDOM
   12429   (umask 077 && mkdir "$tmp")
   12430 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12431 ac_tmp=$tmp
   12432 
   12433 # Set up the scripts for CONFIG_FILES section.
   12434 # No need to generate them if there are no CONFIG_FILES.
   12435 # This happens for instance with './config.status config.h'.
   12436 if test -n "$CONFIG_FILES"; then
   12437 
   12438 
   12439 ac_cr=`echo X | tr X '\015'`
   12440 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12441 # But we know of no other shell where ac_cr would be empty at this
   12442 # point, so we can use a bashism as a fallback.
   12443 if test "x$ac_cr" = x; then
   12444   eval ac_cr=\$\'\\r\'
   12445 fi
   12446 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12447 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12448   ac_cs_awk_cr='\\r'
   12449 else
   12450   ac_cs_awk_cr=$ac_cr
   12451 fi
   12452 
   12453 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12454 _ACEOF
   12455 
   12456 
   12457 {
   12458   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12459   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12460   echo "_ACEOF"
   12461 } >conf$$subs.sh ||
   12462   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12463 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12464 ac_delim='%!_!# '
   12465 for ac_last_try in false false false false false :; do
   12466   . ./conf$$subs.sh ||
   12467     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12468 
   12469   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12470   if test $ac_delim_n = $ac_delim_num; then
   12471     break
   12472   elif $ac_last_try; then
   12473     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12474   else
   12475     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12476   fi
   12477 done
   12478 rm -f conf$$subs.sh
   12479 
   12480 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12481 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12482 _ACEOF
   12483 sed -n '
   12484 h
   12485 s/^/S["/; s/!.*/"]=/
   12486 p
   12487 g
   12488 s/^[^!]*!//
   12489 :repl
   12490 t repl
   12491 s/'"$ac_delim"'$//
   12492 t delim
   12493 :nl
   12494 h
   12495 s/\(.\{148\}\)..*/\1/
   12496 t more1
   12497 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12498 p
   12499 n
   12500 b repl
   12501 :more1
   12502 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12503 p
   12504 g
   12505 s/.\{148\}//
   12506 t nl
   12507 :delim
   12508 h
   12509 s/\(.\{148\}\)..*/\1/
   12510 t more2
   12511 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12512 p
   12513 b
   12514 :more2
   12515 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12516 p
   12517 g
   12518 s/.\{148\}//
   12519 t delim
   12520 ' <conf$$subs.awk | sed '
   12521 /^[^""]/{
   12522   N
   12523   s/\n//
   12524 }
   12525 ' >>$CONFIG_STATUS || ac_write_fail=1
   12526 rm -f conf$$subs.awk
   12527 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12528 _ACAWK
   12529 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12530   for (key in S) S_is_set[key] = 1
   12531   FS = ""
   12532 
   12533 }
   12534 {
   12535   line = $ 0
   12536   nfields = split(line, field, "@")
   12537   substed = 0
   12538   len = length(field[1])
   12539   for (i = 2; i < nfields; i++) {
   12540     key = field[i]
   12541     keylen = length(key)
   12542     if (S_is_set[key]) {
   12543       value = S[key]
   12544       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12545       len += length(value) + length(field[++i])
   12546       substed = 1
   12547     } else
   12548       len += 1 + keylen
   12549   }
   12550 
   12551   print line
   12552 }
   12553 
   12554 _ACAWK
   12555 _ACEOF
   12556 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12557 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12558   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12559 else
   12560   cat
   12561 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12562   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12563 _ACEOF
   12564 
   12565 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12566 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12567 # trailing colons and then remove the whole line if VPATH becomes empty
   12568 # (actually we leave an empty line to preserve line numbers).
   12569 if test "x$srcdir" = x.; then
   12570   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12571 h
   12572 s///
   12573 s/^/:/
   12574 s/[	 ]*$/:/
   12575 s/:\$(srcdir):/:/g
   12576 s/:\${srcdir}:/:/g
   12577 s/:@srcdir@:/:/g
   12578 s/^:*//
   12579 s/:*$//
   12580 x
   12581 s/\(=[	 ]*\).*/\1/
   12582 G
   12583 s/\n//
   12584 s/^[^=]*=[	 ]*$//
   12585 }'
   12586 fi
   12587 
   12588 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12589 fi # test -n "$CONFIG_FILES"
   12590 
   12591 # Set up the scripts for CONFIG_HEADERS section.
   12592 # No need to generate them if there are no CONFIG_HEADERS.
   12593 # This happens for instance with './config.status Makefile'.
   12594 if test -n "$CONFIG_HEADERS"; then
   12595 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12596 BEGIN {
   12597 _ACEOF
   12598 
   12599 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   12600 # here-document in config.status, that substitutes the proper values into
   12601 # config.h.in to produce config.h.
   12602 
   12603 # Create a delimiter string that does not exist in confdefs.h, to ease
   12604 # handling of long lines.
   12605 ac_delim='%!_!# '
   12606 for ac_last_try in false false :; do
   12607   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12608   if test -z "$ac_tt"; then
   12609     break
   12610   elif $ac_last_try; then
   12611     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12612   else
   12613     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12614   fi
   12615 done
   12616 
   12617 # For the awk script, D is an array of macro values keyed by name,
   12618 # likewise P contains macro parameters if any.  Preserve backslash
   12619 # newline sequences.
   12620 
   12621 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12622 sed -n '
   12623 s/.\{148\}/&'"$ac_delim"'/g
   12624 t rset
   12625 :rset
   12626 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12627 t def
   12628 d
   12629 :def
   12630 s/\\$//
   12631 t bsnl
   12632 s/["\\]/\\&/g
   12633 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12634 D["\1"]=" \3"/p
   12635 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12636 d
   12637 :bsnl
   12638 s/["\\]/\\&/g
   12639 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12640 D["\1"]=" \3\\\\\\n"\\/p
   12641 t cont
   12642 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12643 t cont
   12644 d
   12645 :cont
   12646 n
   12647 s/.\{148\}/&'"$ac_delim"'/g
   12648 t clear
   12649 :clear
   12650 s/\\$//
   12651 t bsnlc
   12652 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12653 d
   12654 :bsnlc
   12655 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12656 b cont
   12657 ' <confdefs.h | sed '
   12658 s/'"$ac_delim"'/"\\\
   12659 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12660 
   12661 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12662   for (key in D) D_is_set[key] = 1
   12663   FS = ""
   12664 }
   12665 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12666   line = \$ 0
   12667   split(line, arg, " ")
   12668   if (arg[1] == "#") {
   12669     defundef = arg[2]
   12670     mac1 = arg[3]
   12671   } else {
   12672     defundef = substr(arg[1], 2)
   12673     mac1 = arg[2]
   12674   }
   12675   split(mac1, mac2, "(") #)
   12676   macro = mac2[1]
   12677   prefix = substr(line, 1, index(line, defundef) - 1)
   12678   if (D_is_set[macro]) {
   12679     # Preserve the white space surrounding the "#".
   12680     print prefix "define", macro P[macro] D[macro]
   12681     next
   12682   } else {
   12683     # Replace #undef with comments.  This is necessary, for example,
   12684     # in the case of _POSIX_SOURCE, which is predefined and required
   12685     # on some systems where configure will not decide to define it.
   12686     if (defundef == "undef") {
   12687       print "/*", prefix defundef, macro, "*/"
   12688       next
   12689     }
   12690   }
   12691 }
   12692 { print }
   12693 _ACAWK
   12694 _ACEOF
   12695 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12696   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12697 fi # test -n "$CONFIG_HEADERS"
   12698 
   12699 
   12700 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12701 shift
   12702 for ac_tag
   12703 do
   12704   case $ac_tag in
   12705   :[FHLC]) ac_mode=$ac_tag; continue;;
   12706   esac
   12707   case $ac_mode$ac_tag in
   12708   :[FHL]*:*);;
   12709   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   12710   :[FH]-) ac_tag=-:-;;
   12711   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12712   esac
   12713   ac_save_IFS=$IFS
   12714   IFS=:
   12715   set x $ac_tag
   12716   IFS=$ac_save_IFS
   12717   shift
   12718   ac_file=$1
   12719   shift
   12720 
   12721   case $ac_mode in
   12722   :L) ac_source=$1;;
   12723   :[FH])
   12724     ac_file_inputs=
   12725     for ac_f
   12726     do
   12727       case $ac_f in
   12728       -) ac_f="$ac_tmp/stdin";;
   12729       *) # Look for the file first in the build tree, then in the source tree
   12730 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12731 	 # because $ac_f cannot contain ':'.
   12732 	 test -f "$ac_f" ||
   12733 	   case $ac_f in
   12734 	   [\\/$]*) false;;
   12735 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12736 	   esac ||
   12737 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   12738       esac
   12739       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12740       as_fn_append ac_file_inputs " '$ac_f'"
   12741     done
   12742 
   12743     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   12744     # use $as_me), people would be surprised to read:
   12745     #    /* config.h.  Generated by config.status.  */
   12746     configure_input='Generated from '`
   12747 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12748 	`' by configure.'
   12749     if test x"$ac_file" != x-; then
   12750       configure_input="$ac_file.  $configure_input"
   12751       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12752 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   12753     fi
   12754     # Neutralize special characters interpreted by sed in replacement strings.
   12755     case $configure_input in #(
   12756     *\&* | *\|* | *\\* )
   12757        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   12758        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12759     *) ac_sed_conf_input=$configure_input;;
   12760     esac
   12761 
   12762     case $ac_tag in
   12763     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12764       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12765     esac
   12766     ;;
   12767   esac
   12768 
   12769   ac_dir=`$as_dirname -- "$ac_file" ||
   12770 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12771 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12772 	 X"$ac_file" : 'X\(//\)$' \| \
   12773 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12774 printf "%s\n" X"$ac_file" |
   12775     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12776 	    s//\1/
   12777 	    q
   12778 	  }
   12779 	  /^X\(\/\/\)[^/].*/{
   12780 	    s//\1/
   12781 	    q
   12782 	  }
   12783 	  /^X\(\/\/\)$/{
   12784 	    s//\1/
   12785 	    q
   12786 	  }
   12787 	  /^X\(\/\).*/{
   12788 	    s//\1/
   12789 	    q
   12790 	  }
   12791 	  s/.*/./; q'`
   12792   as_dir="$ac_dir"; as_fn_mkdir_p
   12793   ac_builddir=.
   12794 
   12795 case "$ac_dir" in
   12796 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12797 *)
   12798   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   12799   # A ".." for each directory in $ac_dir_suffix.
   12800   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12801   case $ac_top_builddir_sub in
   12802   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12803   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12804   esac ;;
   12805 esac
   12806 ac_abs_top_builddir=$ac_pwd
   12807 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12808 # for backward compatibility:
   12809 ac_top_builddir=$ac_top_build_prefix
   12810 
   12811 case $srcdir in
   12812   .)  # We are building in place.
   12813     ac_srcdir=.
   12814     ac_top_srcdir=$ac_top_builddir_sub
   12815     ac_abs_top_srcdir=$ac_pwd ;;
   12816   [\\/]* | ?:[\\/]* )  # Absolute name.
   12817     ac_srcdir=$srcdir$ac_dir_suffix;
   12818     ac_top_srcdir=$srcdir
   12819     ac_abs_top_srcdir=$srcdir ;;
   12820   *) # Relative name.
   12821     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12822     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12823     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12824 esac
   12825 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12826 
   12827 
   12828   case $ac_mode in
   12829   :F)
   12830   #
   12831   # CONFIG_FILE
   12832   #
   12833 
   12834   case $INSTALL in
   12835   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12836   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12837   esac
   12838   ac_MKDIR_P=$MKDIR_P
   12839   case $MKDIR_P in
   12840   [\\/$]* | ?:[\\/]* ) ;;
   12841   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12842   esac
   12843 _ACEOF
   12844 
   12845 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12846 # If the template does not know about datarootdir, expand it.
   12847 # FIXME: This hack should be removed a few years after 2.60.
   12848 ac_datarootdir_hack=; ac_datarootdir_seen=
   12849 ac_sed_dataroot='
   12850 /datarootdir/ {
   12851   p
   12852   q
   12853 }
   12854 /@datadir@/p
   12855 /@docdir@/p
   12856 /@infodir@/p
   12857 /@localedir@/p
   12858 /@mandir@/p'
   12859 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12860 *datarootdir*) ac_datarootdir_seen=yes;;
   12861 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12862   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12863 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12864 _ACEOF
   12865 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12866   ac_datarootdir_hack='
   12867   s&@datadir@&$datadir&g
   12868   s&@docdir@&$docdir&g
   12869   s&@infodir@&$infodir&g
   12870   s&@localedir@&$localedir&g
   12871   s&@mandir@&$mandir&g
   12872   s&\\\${datarootdir}&$datarootdir&g' ;;
   12873 esac
   12874 _ACEOF
   12875 
   12876 # Neutralize VPATH when '$srcdir' = '.'.
   12877 # Shell code in configure.ac might set extrasub.
   12878 # FIXME: do we really want to maintain this feature?
   12879 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12880 ac_sed_extra="$ac_vpsub
   12881 $extrasub
   12882 _ACEOF
   12883 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12884 :t
   12885 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12886 s|@configure_input@|$ac_sed_conf_input|;t t
   12887 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12888 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12889 s&@srcdir@&$ac_srcdir&;t t
   12890 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12891 s&@top_srcdir@&$ac_top_srcdir&;t t
   12892 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12893 s&@builddir@&$ac_builddir&;t t
   12894 s&@abs_builddir@&$ac_abs_builddir&;t t
   12895 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12896 s&@INSTALL@&$ac_INSTALL&;t t
   12897 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12898 $ac_datarootdir_hack
   12899 "
   12900 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12901   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12902 
   12903 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12904   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12905   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12906       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12907   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   12908 which seems to be undefined.  Please make sure it is defined" >&5
   12909 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   12910 which seems to be undefined.  Please make sure it is defined" >&2;}
   12911 
   12912   rm -f "$ac_tmp/stdin"
   12913   case $ac_file in
   12914   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12915   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12916   esac \
   12917   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12918  ;;
   12919   :H)
   12920   #
   12921   # CONFIG_HEADER
   12922   #
   12923   if test x"$ac_file" != x-; then
   12924     {
   12925       printf "%s\n" "/* $configure_input  */" >&1 \
   12926       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12927     } >"$ac_tmp/config.h" \
   12928       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12929     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12930       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12931 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   12932     else
   12933       rm -f "$ac_file"
   12934       mv "$ac_tmp/config.h" "$ac_file" \
   12935 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12936     fi
   12937   else
   12938     printf "%s\n" "/* $configure_input  */" >&1 \
   12939       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12940       || as_fn_error $? "could not create -" "$LINENO" 5
   12941   fi
   12942 # Compute "$ac_file"'s index in $config_headers.
   12943 _am_arg="$ac_file"
   12944 _am_stamp_count=1
   12945 for _am_header in $config_headers :; do
   12946   case $_am_header in
   12947     $_am_arg | $_am_arg:* )
   12948       break ;;
   12949     * )
   12950       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12951   esac
   12952 done
   12953 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12954 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12955 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12956 	 X"$_am_arg" : 'X\(//\)$' \| \
   12957 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12958 printf "%s\n" X"$_am_arg" |
   12959     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12960 	    s//\1/
   12961 	    q
   12962 	  }
   12963 	  /^X\(\/\/\)[^/].*/{
   12964 	    s//\1/
   12965 	    q
   12966 	  }
   12967 	  /^X\(\/\/\)$/{
   12968 	    s//\1/
   12969 	    q
   12970 	  }
   12971 	  /^X\(\/\).*/{
   12972 	    s//\1/
   12973 	    q
   12974 	  }
   12975 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12976  ;;
   12977 
   12978   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12979 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   12980  ;;
   12981   esac
   12982 
   12983 
   12984   case $ac_file$ac_mode in
   12985     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12986   # Older Autoconf quotes --file arguments for eval, but not when files
   12987   # are listed without --file.  Let's play safe and only enable the eval
   12988   # if we detect the quoting.
   12989   # TODO: see whether this extra hack can be removed once we start
   12990   # requiring Autoconf 2.70 or later.
   12991   case $CONFIG_FILES in #(
   12992   *\'*) :
   12993     eval set x "$CONFIG_FILES" ;; #(
   12994   *) :
   12995     set x $CONFIG_FILES ;; #(
   12996   *) :
   12997      ;;
   12998 esac
   12999   shift
   13000   # Used to flag and report bootstrapping failures.
   13001   am_rc=0
   13002   for am_mf
   13003   do
   13004     # Strip MF so we end up with the name of the file.
   13005     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   13006     # Check whether this is an Automake generated Makefile which includes
   13007     # dependency-tracking related rules and includes.
   13008     # Grep'ing the whole file directly is not great: AIX grep has a line
   13009     # limit of 2048, but all sed's we know have understand at least 4000.
   13010     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   13011       || continue
   13012     am_dirpart=`$as_dirname -- "$am_mf" ||
   13013 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13014 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   13015 	 X"$am_mf" : 'X\(//\)$' \| \
   13016 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13017 printf "%s\n" X"$am_mf" |
   13018     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13019 	    s//\1/
   13020 	    q
   13021 	  }
   13022 	  /^X\(\/\/\)[^/].*/{
   13023 	    s//\1/
   13024 	    q
   13025 	  }
   13026 	  /^X\(\/\/\)$/{
   13027 	    s//\1/
   13028 	    q
   13029 	  }
   13030 	  /^X\(\/\).*/{
   13031 	    s//\1/
   13032 	    q
   13033 	  }
   13034 	  s/.*/./; q'`
   13035     am_filepart=`$as_basename -- "$am_mf" ||
   13036 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   13037 	 X"$am_mf" : 'X\(//\)$' \| \
   13038 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13039 printf "%s\n" X/"$am_mf" |
   13040     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13041 	    s//\1/
   13042 	    q
   13043 	  }
   13044 	  /^X\/\(\/\/\)$/{
   13045 	    s//\1/
   13046 	    q
   13047 	  }
   13048 	  /^X\/\(\/\).*/{
   13049 	    s//\1/
   13050 	    q
   13051 	  }
   13052 	  s/.*/./; q'`
   13053     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   13054       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13055         | $MAKE -f - am--depfiles" >&5
   13056    (cd "$am_dirpart" \
   13057       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13058         | $MAKE -f - am--depfiles) >&5 2>&5
   13059    ac_status=$?
   13060    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13061    (exit $ac_status); } || am_rc=$?
   13062   done
   13063   if test $am_rc -ne 0; then
   13064     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   13065 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   13066 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   13067     for automatic dependency tracking.  If GNU make was not used, consider
   13068     re-running the configure script with MAKE=\"gmake\" (or whatever is
   13069     necessary).  You can also try re-running configure with the
   13070     '--disable-dependency-tracking' option to at least be able to build
   13071     the package (albeit without support for automatic dependency tracking).
   13072 See 'config.log' for more details" "$LINENO" 5; }
   13073   fi
   13074   { am_dirpart=; unset am_dirpart;}
   13075   { am_filepart=; unset am_filepart;}
   13076   { am_mf=; unset am_mf;}
   13077   { am_rc=; unset am_rc;}
   13078   rm -f conftest-deps.mk
   13079 }
   13080  ;;
   13081 
   13082   esac
   13083 done # for ac_tag
   13084 
   13085 
   13086 as_fn_exit 0
   13087 _ACEOF
   13088 ac_clean_files=$ac_clean_files_save
   13089 
   13090 test $ac_write_fail = 0 ||
   13091   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   13092 
   13093 
   13094 # configure is writing to config.log, and then calls config.status.
   13095 # config.status does its own redirection, appending to config.log.
   13096 # Unfortunately, on DOS this fails, as config.log is still kept open
   13097 # by configure, so config.status won't be able to write to it; its
   13098 # output is simply discarded.  So we exec the FD to /dev/null,
   13099 # effectively closing config.log, so it can be properly (re)opened and
   13100 # appended to by config.status.  When coming back to configure, we
   13101 # need to make the FD available again.
   13102 if test "$no_create" != yes; then
   13103   ac_cs_success=:
   13104   ac_config_status_args=
   13105   test "$silent" = yes &&
   13106     ac_config_status_args="$ac_config_status_args --quiet"
   13107   exec 5>/dev/null
   13108   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   13109   exec 5>>config.log
   13110   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   13111   # would make configure fail if this is the last instruction.
   13112   $ac_cs_success || as_fn_exit 1
   13113 fi
   13114 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   13115   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   13116 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   13117 fi
   13118 
   13119 
   13120