Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.7
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.72 for xedit 1.2.4.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xedit/-/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/xedit/-/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='xedit'
    607 PACKAGE_TARNAME='xedit'
    608 PACKAGE_VERSION='1.2.4'
    609 PACKAGE_STRING='xedit 1.2.4'
    610 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xedit/-/issues'
    611 PACKAGE_URL=''
    612 
    613 # Factoring default headers for most tests.
    614 ac_includes_default="\
    615 #include <stddef.h>
    616 #ifdef HAVE_STDIO_H
    617 # include <stdio.h>
    618 #endif
    619 #ifdef HAVE_STDLIB_H
    620 # include <stdlib.h>
    621 #endif
    622 #ifdef HAVE_STRING_H
    623 # include <string.h>
    624 #endif
    625 #ifdef HAVE_INTTYPES_H
    626 # include <inttypes.h>
    627 #endif
    628 #ifdef HAVE_STDINT_H
    629 # include <stdint.h>
    630 #endif
    631 #ifdef HAVE_STRINGS_H
    632 # include <strings.h>
    633 #endif
    634 #ifdef HAVE_SYS_TYPES_H
    635 # include <sys/types.h>
    636 #endif
    637 #ifdef HAVE_SYS_STAT_H
    638 # include <sys/stat.h>
    639 #endif
    640 #ifdef HAVE_UNISTD_H
    641 # include <unistd.h>
    642 #endif"
    643 
    644 ac_header_c_list=
    645 ac_subst_vars='am__EXEEXT_FALSE
    646 am__EXEEXT_TRUE
    647 LTLIBOBJS
    648 LIBOBJS
    649 appdefaultdir
    650 APPDEFS_LIBS
    651 APPDEFS_CFLAGS
    652 NEED_UNSETENV_FALSE
    653 NEED_UNSETENV_TRUE
    654 NEED_STRCASECMP_FALSE
    655 NEED_STRCASECMP_TRUE
    656 NEED_REALPATH_FALSE
    657 NEED_REALPATH_TRUE
    658 LISPDIR
    659 PKGDEPS_LIBS
    660 PKGDEPS_CFLAGS
    661 RANLIB
    662 ac_ct_AR
    663 AR
    664 MAN_SUBSTS
    665 XORG_MAN_PAGE
    666 ADMIN_MAN_DIR
    667 DRIVER_MAN_DIR
    668 MISC_MAN_DIR
    669 FILE_MAN_DIR
    670 LIB_MAN_DIR
    671 APP_MAN_DIR
    672 ADMIN_MAN_SUFFIX
    673 DRIVER_MAN_SUFFIX
    674 MISC_MAN_SUFFIX
    675 FILE_MAN_SUFFIX
    676 LIB_MAN_SUFFIX
    677 APP_MAN_SUFFIX
    678 SED
    679 host_os
    680 host_vendor
    681 host_cpu
    682 host
    683 build_os
    684 build_vendor
    685 build_cpu
    686 build
    687 INSTALL_CMD
    688 PKG_CONFIG_LIBDIR
    689 PKG_CONFIG_PATH
    690 PKG_CONFIG
    691 CHANGELOG_CMD
    692 STRICT_CFLAGS
    693 CWARNFLAGS
    694 BASE_CFLAGS
    695 am__fastdepCC_FALSE
    696 am__fastdepCC_TRUE
    697 CCDEPMODE
    698 am__nodep
    699 AMDEPBACKSLASH
    700 AMDEP_FALSE
    701 AMDEP_TRUE
    702 am__include
    703 DEPDIR
    704 OBJEXT
    705 EXEEXT
    706 ac_ct_CC
    707 CPPFLAGS
    708 LDFLAGS
    709 CFLAGS
    710 CC
    711 AM_BACKSLASH
    712 AM_DEFAULT_VERBOSITY
    713 AM_DEFAULT_V
    714 AM_V
    715 CSCOPE
    716 ETAGS
    717 CTAGS
    718 am__untar
    719 am__tar
    720 AMTAR
    721 am__leading_dot
    722 SET_MAKE
    723 AWK
    724 mkdir_p
    725 MKDIR_P
    726 INSTALL_STRIP_PROGRAM
    727 STRIP
    728 install_sh
    729 MAKEINFO
    730 AUTOHEADER
    731 AUTOMAKE
    732 AUTOCONF
    733 ACLOCAL
    734 VERSION
    735 PACKAGE
    736 CYGPATH_W
    737 am__isrc
    738 INSTALL_DATA
    739 INSTALL_SCRIPT
    740 INSTALL_PROGRAM
    741 target_alias
    742 host_alias
    743 build_alias
    744 LIBS
    745 ECHO_T
    746 ECHO_N
    747 ECHO_C
    748 DEFS
    749 mandir
    750 localedir
    751 libdir
    752 psdir
    753 pdfdir
    754 dvidir
    755 htmldir
    756 infodir
    757 docdir
    758 oldincludedir
    759 includedir
    760 runstatedir
    761 localstatedir
    762 sharedstatedir
    763 sysconfdir
    764 datadir
    765 datarootdir
    766 libexecdir
    767 sbindir
    768 bindir
    769 program_transform_name
    770 prefix
    771 exec_prefix
    772 PACKAGE_URL
    773 PACKAGE_BUGREPORT
    774 PACKAGE_STRING
    775 PACKAGE_VERSION
    776 PACKAGE_TARNAME
    777 PACKAGE_NAME
    778 PATH_SEPARATOR
    779 SHELL
    780 am__quote'
    781 ac_subst_files=''
    782 ac_user_opts='
    783 enable_option_checking
    784 enable_silent_rules
    785 enable_dependency_tracking
    786 enable_selective_werror
    787 enable_strict_compilation
    788 with_lispdir
    789 with_appdefaultdir
    790 '
    791       ac_precious_vars='build_alias
    792 host_alias
    793 target_alias
    794 CC
    795 CFLAGS
    796 LDFLAGS
    797 LIBS
    798 CPPFLAGS
    799 PKG_CONFIG
    800 PKG_CONFIG_PATH
    801 PKG_CONFIG_LIBDIR
    802 PKGDEPS_CFLAGS
    803 PKGDEPS_LIBS
    804 APPDEFS_CFLAGS
    805 APPDEFS_LIBS'
    806 
    807 
    808 # Initialize some variables set by options.
    809 ac_init_help=
    810 ac_init_version=false
    811 ac_unrecognized_opts=
    812 ac_unrecognized_sep=
    813 # The variables have the same names as the options, with
    814 # dashes changed to underlines.
    815 cache_file=/dev/null
    816 exec_prefix=NONE
    817 no_create=
    818 no_recursion=
    819 prefix=NONE
    820 program_prefix=NONE
    821 program_suffix=NONE
    822 program_transform_name=s,x,x,
    823 silent=
    824 site=
    825 srcdir=
    826 verbose=
    827 x_includes=NONE
    828 x_libraries=NONE
    829 
    830 # Installation directory options.
    831 # These are left unexpanded so users can "make install exec_prefix=/foo"
    832 # and all the variables that are supposed to be based on exec_prefix
    833 # by default will actually change.
    834 # Use braces instead of parens because sh, perl, etc. also accept them.
    835 # (The list follows the same order as the GNU Coding Standards.)
    836 bindir='${exec_prefix}/bin'
    837 sbindir='${exec_prefix}/sbin'
    838 libexecdir='${exec_prefix}/libexec'
    839 datarootdir='${prefix}/share'
    840 datadir='${datarootdir}'
    841 sysconfdir='${prefix}/etc'
    842 sharedstatedir='${prefix}/com'
    843 localstatedir='${prefix}/var'
    844 runstatedir='${localstatedir}/run'
    845 includedir='${prefix}/include'
    846 oldincludedir='/usr/include'
    847 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    848 infodir='${datarootdir}/info'
    849 htmldir='${docdir}'
    850 dvidir='${docdir}'
    851 pdfdir='${docdir}'
    852 psdir='${docdir}'
    853 libdir='${exec_prefix}/lib'
    854 localedir='${datarootdir}/locale'
    855 mandir='${datarootdir}/man'
    856 
    857 ac_prev=
    858 ac_dashdash=
    859 for ac_option
    860 do
    861   # If the previous option needs an argument, assign it.
    862   if test -n "$ac_prev"; then
    863     eval $ac_prev=\$ac_option
    864     ac_prev=
    865     continue
    866   fi
    867 
    868   case $ac_option in
    869   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    870   *=)   ac_optarg= ;;
    871   *)    ac_optarg=yes ;;
    872   esac
    873 
    874   case $ac_dashdash$ac_option in
    875   --)
    876     ac_dashdash=yes ;;
    877 
    878   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    879     ac_prev=bindir ;;
    880   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    881     bindir=$ac_optarg ;;
    882 
    883   -build | --build | --buil | --bui | --bu)
    884     ac_prev=build_alias ;;
    885   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    886     build_alias=$ac_optarg ;;
    887 
    888   -cache-file | --cache-file | --cache-fil | --cache-fi \
    889   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    890     ac_prev=cache_file ;;
    891   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    892   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    893     cache_file=$ac_optarg ;;
    894 
    895   --config-cache | -C)
    896     cache_file=config.cache ;;
    897 
    898   -datadir | --datadir | --datadi | --datad)
    899     ac_prev=datadir ;;
    900   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    901     datadir=$ac_optarg ;;
    902 
    903   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    904   | --dataroo | --dataro | --datar)
    905     ac_prev=datarootdir ;;
    906   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    907   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    908     datarootdir=$ac_optarg ;;
    909 
    910   -disable-* | --disable-*)
    911     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    912     # Reject names that are not valid shell variable names.
    913     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    914       as_fn_error $? "invalid feature name: '$ac_useropt'"
    915     ac_useropt_orig=$ac_useropt
    916     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    917     case $ac_user_opts in
    918       *"
    919 "enable_$ac_useropt"
    920 "*) ;;
    921       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    922 	 ac_unrecognized_sep=', ';;
    923     esac
    924     eval enable_$ac_useropt=no ;;
    925 
    926   -docdir | --docdir | --docdi | --doc | --do)
    927     ac_prev=docdir ;;
    928   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    929     docdir=$ac_optarg ;;
    930 
    931   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    932     ac_prev=dvidir ;;
    933   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    934     dvidir=$ac_optarg ;;
    935 
    936   -enable-* | --enable-*)
    937     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    938     # Reject names that are not valid shell variable names.
    939     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    940       as_fn_error $? "invalid feature name: '$ac_useropt'"
    941     ac_useropt_orig=$ac_useropt
    942     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    943     case $ac_user_opts in
    944       *"
    945 "enable_$ac_useropt"
    946 "*) ;;
    947       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    948 	 ac_unrecognized_sep=', ';;
    949     esac
    950     eval enable_$ac_useropt=\$ac_optarg ;;
    951 
    952   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    953   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    954   | --exec | --exe | --ex)
    955     ac_prev=exec_prefix ;;
    956   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    957   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    958   | --exec=* | --exe=* | --ex=*)
    959     exec_prefix=$ac_optarg ;;
    960 
    961   -gas | --gas | --ga | --g)
    962     # Obsolete; use --with-gas.
    963     with_gas=yes ;;
    964 
    965   -help | --help | --hel | --he | -h)
    966     ac_init_help=long ;;
    967   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    968     ac_init_help=recursive ;;
    969   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    970     ac_init_help=short ;;
    971 
    972   -host | --host | --hos | --ho)
    973     ac_prev=host_alias ;;
    974   -host=* | --host=* | --hos=* | --ho=*)
    975     host_alias=$ac_optarg ;;
    976 
    977   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    978     ac_prev=htmldir ;;
    979   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    980   | --ht=*)
    981     htmldir=$ac_optarg ;;
    982 
    983   -includedir | --includedir | --includedi | --included | --include \
    984   | --includ | --inclu | --incl | --inc)
    985     ac_prev=includedir ;;
    986   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    987   | --includ=* | --inclu=* | --incl=* | --inc=*)
    988     includedir=$ac_optarg ;;
    989 
    990   -infodir | --infodir | --infodi | --infod | --info | --inf)
    991     ac_prev=infodir ;;
    992   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    993     infodir=$ac_optarg ;;
    994 
    995   -libdir | --libdir | --libdi | --libd)
    996     ac_prev=libdir ;;
    997   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    998     libdir=$ac_optarg ;;
    999 
   1000   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1001   | --libexe | --libex | --libe)
   1002     ac_prev=libexecdir ;;
   1003   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1004   | --libexe=* | --libex=* | --libe=*)
   1005     libexecdir=$ac_optarg ;;
   1006 
   1007   -localedir | --localedir | --localedi | --localed | --locale)
   1008     ac_prev=localedir ;;
   1009   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1010     localedir=$ac_optarg ;;
   1011 
   1012   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1013   | --localstate | --localstat | --localsta | --localst | --locals)
   1014     ac_prev=localstatedir ;;
   1015   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1016   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1017     localstatedir=$ac_optarg ;;
   1018 
   1019   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1020     ac_prev=mandir ;;
   1021   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1022     mandir=$ac_optarg ;;
   1023 
   1024   -nfp | --nfp | --nf)
   1025     # Obsolete; use --without-fp.
   1026     with_fp=no ;;
   1027 
   1028   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1029   | --no-cr | --no-c | -n)
   1030     no_create=yes ;;
   1031 
   1032   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1033   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1034     no_recursion=yes ;;
   1035 
   1036   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1037   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1038   | --oldin | --oldi | --old | --ol | --o)
   1039     ac_prev=oldincludedir ;;
   1040   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1041   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1042   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1043     oldincludedir=$ac_optarg ;;
   1044 
   1045   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1046     ac_prev=prefix ;;
   1047   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1048     prefix=$ac_optarg ;;
   1049 
   1050   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1051   | --program-pre | --program-pr | --program-p)
   1052     ac_prev=program_prefix ;;
   1053   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1054   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1055     program_prefix=$ac_optarg ;;
   1056 
   1057   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1058   | --program-suf | --program-su | --program-s)
   1059     ac_prev=program_suffix ;;
   1060   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1061   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1062     program_suffix=$ac_optarg ;;
   1063 
   1064   -program-transform-name | --program-transform-name \
   1065   | --program-transform-nam | --program-transform-na \
   1066   | --program-transform-n | --program-transform- \
   1067   | --program-transform | --program-transfor \
   1068   | --program-transfo | --program-transf \
   1069   | --program-trans | --program-tran \
   1070   | --progr-tra | --program-tr | --program-t)
   1071     ac_prev=program_transform_name ;;
   1072   -program-transform-name=* | --program-transform-name=* \
   1073   | --program-transform-nam=* | --program-transform-na=* \
   1074   | --program-transform-n=* | --program-transform-=* \
   1075   | --program-transform=* | --program-transfor=* \
   1076   | --program-transfo=* | --program-transf=* \
   1077   | --program-trans=* | --program-tran=* \
   1078   | --progr-tra=* | --program-tr=* | --program-t=*)
   1079     program_transform_name=$ac_optarg ;;
   1080 
   1081   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1082     ac_prev=pdfdir ;;
   1083   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1084     pdfdir=$ac_optarg ;;
   1085 
   1086   -psdir | --psdir | --psdi | --psd | --ps)
   1087     ac_prev=psdir ;;
   1088   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1089     psdir=$ac_optarg ;;
   1090 
   1091   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1092   | -silent | --silent | --silen | --sile | --sil)
   1093     silent=yes ;;
   1094 
   1095   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1096   | --runstate | --runstat | --runsta | --runst | --runs \
   1097   | --run | --ru | --r)
   1098     ac_prev=runstatedir ;;
   1099   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1100   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1101   | --run=* | --ru=* | --r=*)
   1102     runstatedir=$ac_optarg ;;
   1103 
   1104   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1105     ac_prev=sbindir ;;
   1106   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1107   | --sbi=* | --sb=*)
   1108     sbindir=$ac_optarg ;;
   1109 
   1110   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1111   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1112   | --sharedst | --shareds | --shared | --share | --shar \
   1113   | --sha | --sh)
   1114     ac_prev=sharedstatedir ;;
   1115   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1116   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1117   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1118   | --sha=* | --sh=*)
   1119     sharedstatedir=$ac_optarg ;;
   1120 
   1121   -site | --site | --sit)
   1122     ac_prev=site ;;
   1123   -site=* | --site=* | --sit=*)
   1124     site=$ac_optarg ;;
   1125 
   1126   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1127     ac_prev=srcdir ;;
   1128   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1129     srcdir=$ac_optarg ;;
   1130 
   1131   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1132   | --syscon | --sysco | --sysc | --sys | --sy)
   1133     ac_prev=sysconfdir ;;
   1134   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1135   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1136     sysconfdir=$ac_optarg ;;
   1137 
   1138   -target | --target | --targe | --targ | --tar | --ta | --t)
   1139     ac_prev=target_alias ;;
   1140   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1141     target_alias=$ac_optarg ;;
   1142 
   1143   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1144     verbose=yes ;;
   1145 
   1146   -version | --version | --versio | --versi | --vers | -V)
   1147     ac_init_version=: ;;
   1148 
   1149   -with-* | --with-*)
   1150     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1151     # Reject names that are not valid shell variable names.
   1152     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1153       as_fn_error $? "invalid package name: '$ac_useropt'"
   1154     ac_useropt_orig=$ac_useropt
   1155     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1156     case $ac_user_opts in
   1157       *"
   1158 "with_$ac_useropt"
   1159 "*) ;;
   1160       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1161 	 ac_unrecognized_sep=', ';;
   1162     esac
   1163     eval with_$ac_useropt=\$ac_optarg ;;
   1164 
   1165   -without-* | --without-*)
   1166     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1167     # Reject names that are not valid shell variable names.
   1168     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1169       as_fn_error $? "invalid package name: '$ac_useropt'"
   1170     ac_useropt_orig=$ac_useropt
   1171     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1172     case $ac_user_opts in
   1173       *"
   1174 "with_$ac_useropt"
   1175 "*) ;;
   1176       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1177 	 ac_unrecognized_sep=', ';;
   1178     esac
   1179     eval with_$ac_useropt=no ;;
   1180 
   1181   --x)
   1182     # Obsolete; use --with-x.
   1183     with_x=yes ;;
   1184 
   1185   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1186   | --x-incl | --x-inc | --x-in | --x-i)
   1187     ac_prev=x_includes ;;
   1188   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1189   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1190     x_includes=$ac_optarg ;;
   1191 
   1192   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1193   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1194     ac_prev=x_libraries ;;
   1195   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1196   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1197     x_libraries=$ac_optarg ;;
   1198 
   1199   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1200 Try '$0 --help' for more information"
   1201     ;;
   1202 
   1203   *=*)
   1204     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1205     # Reject names that are not valid shell variable names.
   1206     case $ac_envvar in #(
   1207       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1208       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1209     esac
   1210     eval $ac_envvar=\$ac_optarg
   1211     export $ac_envvar ;;
   1212 
   1213   *)
   1214     # FIXME: should be removed in autoconf 3.0.
   1215     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1216     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1217       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1218     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1219     ;;
   1220 
   1221   esac
   1222 done
   1223 
   1224 if test -n "$ac_prev"; then
   1225   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1226   as_fn_error $? "missing argument to $ac_option"
   1227 fi
   1228 
   1229 if test -n "$ac_unrecognized_opts"; then
   1230   case $enable_option_checking in
   1231     no) ;;
   1232     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1233     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1234   esac
   1235 fi
   1236 
   1237 # Check all directory arguments for consistency.
   1238 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1239 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1240 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1241 		libdir localedir mandir runstatedir
   1242 do
   1243   eval ac_val=\$$ac_var
   1244   # Remove trailing slashes.
   1245   case $ac_val in
   1246     */ )
   1247       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1248       eval $ac_var=\$ac_val;;
   1249   esac
   1250   # Be sure to have absolute directory names.
   1251   case $ac_val in
   1252     [\\/$]* | ?:[\\/]* )  continue;;
   1253     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1254   esac
   1255   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1256 done
   1257 
   1258 # There might be people who depend on the old broken behavior: '$host'
   1259 # used to hold the argument of --host etc.
   1260 # FIXME: To remove some day.
   1261 build=$build_alias
   1262 host=$host_alias
   1263 target=$target_alias
   1264 
   1265 # FIXME: To remove some day.
   1266 if test "x$host_alias" != x; then
   1267   if test "x$build_alias" = x; then
   1268     cross_compiling=maybe
   1269   elif test "x$build_alias" != "x$host_alias"; then
   1270     cross_compiling=yes
   1271   fi
   1272 fi
   1273 
   1274 ac_tool_prefix=
   1275 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1276 
   1277 test "$silent" = yes && exec 6>/dev/null
   1278 
   1279 
   1280 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1281 ac_ls_di=`ls -di .` &&
   1282 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1283   as_fn_error $? "working directory cannot be determined"
   1284 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1285   as_fn_error $? "pwd does not report name of working directory"
   1286 
   1287 
   1288 # Find the source files, if location was not specified.
   1289 if test -z "$srcdir"; then
   1290   ac_srcdir_defaulted=yes
   1291   # Try the directory containing this script, then the parent directory.
   1292   ac_confdir=`$as_dirname -- "$as_myself" ||
   1293 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1294 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1295 	 X"$as_myself" : 'X\(//\)$' \| \
   1296 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1297 printf "%s\n" X"$as_myself" |
   1298     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1299 	    s//\1/
   1300 	    q
   1301 	  }
   1302 	  /^X\(\/\/\)[^/].*/{
   1303 	    s//\1/
   1304 	    q
   1305 	  }
   1306 	  /^X\(\/\/\)$/{
   1307 	    s//\1/
   1308 	    q
   1309 	  }
   1310 	  /^X\(\/\).*/{
   1311 	    s//\1/
   1312 	    q
   1313 	  }
   1314 	  s/.*/./; q'`
   1315   srcdir=$ac_confdir
   1316   if test ! -r "$srcdir/$ac_unique_file"; then
   1317     srcdir=..
   1318   fi
   1319 else
   1320   ac_srcdir_defaulted=no
   1321 fi
   1322 if test ! -r "$srcdir/$ac_unique_file"; then
   1323   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1324   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1325 fi
   1326 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1327 ac_abs_confdir=`(
   1328 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1329 	pwd)`
   1330 # When building in place, set srcdir=.
   1331 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1332   srcdir=.
   1333 fi
   1334 # Remove unnecessary trailing slashes from srcdir.
   1335 # Double slashes in file names in object file debugging info
   1336 # mess up M-x gdb in Emacs.
   1337 case $srcdir in
   1338 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1339 esac
   1340 for ac_var in $ac_precious_vars; do
   1341   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1342   eval ac_env_${ac_var}_value=\$${ac_var}
   1343   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1344   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1345 done
   1346 
   1347 #
   1348 # Report the --help message.
   1349 #
   1350 if test "$ac_init_help" = "long"; then
   1351   # Omit some internal or obsolete options to make the list less imposing.
   1352   # This message is too long to be a string in the A/UX 3.1 sh.
   1353   cat <<_ACEOF
   1354 'configure' configures xedit 1.2.4 to adapt to many kinds of systems.
   1355 
   1356 Usage: $0 [OPTION]... [VAR=VALUE]...
   1357 
   1358 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1359 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1360 
   1361 Defaults for the options are specified in brackets.
   1362 
   1363 Configuration:
   1364   -h, --help              display this help and exit
   1365       --help=short        display options specific to this package
   1366       --help=recursive    display the short help of all the included packages
   1367   -V, --version           display version information and exit
   1368   -q, --quiet, --silent   do not print 'checking ...' messages
   1369       --cache-file=FILE   cache test results in FILE [disabled]
   1370   -C, --config-cache      alias for '--cache-file=config.cache'
   1371   -n, --no-create         do not create output files
   1372       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1373 
   1374 Installation directories:
   1375   --prefix=PREFIX         install architecture-independent files in PREFIX
   1376                           [$ac_default_prefix]
   1377   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1378                           [PREFIX]
   1379 
   1380 By default, 'make install' will install all the files in
   1381 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1382 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1383 for instance '--prefix=\$HOME'.
   1384 
   1385 For better control, use the options below.
   1386 
   1387 Fine tuning of the installation directories:
   1388   --bindir=DIR            user executables [EPREFIX/bin]
   1389   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1390   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1391   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1392   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1393   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1394   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1395   --libdir=DIR            object code libraries [EPREFIX/lib]
   1396   --includedir=DIR        C header files [PREFIX/include]
   1397   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1398   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1399   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1400   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1401   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1402   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1403   --docdir=DIR            documentation root [DATAROOTDIR/doc/xedit]
   1404   --htmldir=DIR           html documentation [DOCDIR]
   1405   --dvidir=DIR            dvi documentation [DOCDIR]
   1406   --pdfdir=DIR            pdf documentation [DOCDIR]
   1407   --psdir=DIR             ps documentation [DOCDIR]
   1408 _ACEOF
   1409 
   1410   cat <<\_ACEOF
   1411 
   1412 Program names:
   1413   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1414   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1415   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1416 
   1417 System types:
   1418   --build=BUILD     configure for building on BUILD [guessed]
   1419   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1420 _ACEOF
   1421 fi
   1422 
   1423 if test -n "$ac_init_help"; then
   1424   case $ac_init_help in
   1425      short | recursive ) echo "Configuration of xedit 1.2.4:";;
   1426    esac
   1427   cat <<\_ACEOF
   1428 
   1429 Optional Features:
   1430   --disable-option-checking  ignore unrecognized --enable/--with options
   1431   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1432   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1433   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1434   --disable-silent-rules  verbose build output (undo: "make V=0")
   1435   --enable-dependency-tracking
   1436                           do not reject slow dependency extractors
   1437   --disable-dependency-tracking
   1438                           speeds up one-time build
   1439   --disable-selective-werror
   1440                           Turn off selective compiler errors. (default:
   1441                           enabled)
   1442   --enable-strict-compilation
   1443                           Enable all warnings from compiler and make them
   1444                           errors (default: disabled)
   1445 
   1446 Optional Packages:
   1447   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1448   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1449   --with-lispdir=PATH     Directory to install lisp files (default:
   1450                           $libdir/X11/xedit/lisp)
   1451   --with-appdefaultdir=<pathname>
   1452                           specify directory for app-defaults files (default is
   1453                           autodetected)
   1454 
   1455 Some influential environment variables:
   1456   CC          C compiler command
   1457   CFLAGS      C compiler flags
   1458   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1459               nonstandard directory <lib dir>
   1460   LIBS        libraries to pass to the linker, e.g. -l<library>
   1461   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1462               you have headers in a nonstandard directory <include dir>
   1463   PKG_CONFIG  path to pkg-config utility
   1464   PKG_CONFIG_PATH
   1465               directories to add to pkg-config's search path
   1466   PKG_CONFIG_LIBDIR
   1467               path overriding pkg-config's built-in search path
   1468   PKGDEPS_CFLAGS
   1469               C compiler flags for PKGDEPS, overriding pkg-config
   1470   PKGDEPS_LIBS
   1471               linker flags for PKGDEPS, overriding pkg-config
   1472   APPDEFS_CFLAGS
   1473               C compiler flags for APPDEFS, overriding pkg-config
   1474   APPDEFS_LIBS
   1475               linker flags for APPDEFS, overriding pkg-config
   1476 
   1477 Use these variables to override the choices made by 'configure' or to help
   1478 it to find libraries and programs with nonstandard names/locations.
   1479 
   1480 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xedit/-/issues>.
   1481 _ACEOF
   1482 ac_status=$?
   1483 fi
   1484 
   1485 if test "$ac_init_help" = "recursive"; then
   1486   # If there are subdirs, report their specific --help.
   1487   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1488     test -d "$ac_dir" ||
   1489       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1490       continue
   1491     ac_builddir=.
   1492 
   1493 case "$ac_dir" in
   1494 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1495 *)
   1496   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1497   # A ".." for each directory in $ac_dir_suffix.
   1498   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1499   case $ac_top_builddir_sub in
   1500   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1501   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1502   esac ;;
   1503 esac
   1504 ac_abs_top_builddir=$ac_pwd
   1505 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1506 # for backward compatibility:
   1507 ac_top_builddir=$ac_top_build_prefix
   1508 
   1509 case $srcdir in
   1510   .)  # We are building in place.
   1511     ac_srcdir=.
   1512     ac_top_srcdir=$ac_top_builddir_sub
   1513     ac_abs_top_srcdir=$ac_pwd ;;
   1514   [\\/]* | ?:[\\/]* )  # Absolute name.
   1515     ac_srcdir=$srcdir$ac_dir_suffix;
   1516     ac_top_srcdir=$srcdir
   1517     ac_abs_top_srcdir=$srcdir ;;
   1518   *) # Relative name.
   1519     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1520     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1521     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1522 esac
   1523 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1524 
   1525     cd "$ac_dir" || { ac_status=$?; continue; }
   1526     # Check for configure.gnu first; this name is used for a wrapper for
   1527     # Metaconfig's "Configure" on case-insensitive file systems.
   1528     if test -f "$ac_srcdir/configure.gnu"; then
   1529       echo &&
   1530       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1531     elif test -f "$ac_srcdir/configure"; then
   1532       echo &&
   1533       $SHELL "$ac_srcdir/configure" --help=recursive
   1534     else
   1535       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1536     fi || ac_status=$?
   1537     cd "$ac_pwd" || { ac_status=$?; break; }
   1538   done
   1539 fi
   1540 
   1541 test -n "$ac_init_help" && exit $ac_status
   1542 if $ac_init_version; then
   1543   cat <<\_ACEOF
   1544 xedit configure 1.2.4
   1545 generated by GNU Autoconf 2.72
   1546 
   1547 Copyright (C) 2023 Free Software Foundation, Inc.
   1548 This configure script is free software; the Free Software Foundation
   1549 gives unlimited permission to copy, distribute and modify it.
   1550 _ACEOF
   1551   exit
   1552 fi
   1553 
   1554 ## ------------------------ ##
   1555 ## Autoconf initialization. ##
   1556 ## ------------------------ ##
   1557 
   1558 # ac_fn_c_try_compile LINENO
   1559 # --------------------------
   1560 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1561 ac_fn_c_try_compile ()
   1562 {
   1563   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1564   rm -f conftest.$ac_objext conftest.beam
   1565   if { { ac_try="$ac_compile"
   1566 case "(($ac_try" in
   1567   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1568   *) ac_try_echo=$ac_try;;
   1569 esac
   1570 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1571 printf "%s\n" "$ac_try_echo"; } >&5
   1572   (eval "$ac_compile") 2>conftest.err
   1573   ac_status=$?
   1574   if test -s conftest.err; then
   1575     grep -v '^ *+' conftest.err >conftest.er1
   1576     cat conftest.er1 >&5
   1577     mv -f conftest.er1 conftest.err
   1578   fi
   1579   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1580   test $ac_status = 0; } && {
   1581 	 test -z "$ac_c_werror_flag" ||
   1582 	 test ! -s conftest.err
   1583        } && test -s conftest.$ac_objext
   1584 then :
   1585   ac_retval=0
   1586 else case e in #(
   1587   e) printf "%s\n" "$as_me: failed program was:" >&5
   1588 sed 's/^/| /' conftest.$ac_ext >&5
   1589 
   1590 	ac_retval=1 ;;
   1591 esac
   1592 fi
   1593   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1594   as_fn_set_status $ac_retval
   1595 
   1596 } # ac_fn_c_try_compile
   1597 
   1598 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1599 # ------------------------------------------------------------------
   1600 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1601 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1602 ac_fn_check_decl ()
   1603 {
   1604   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1605   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1606   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1607 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1608 if eval test \${$3+y}
   1609 then :
   1610   printf %s "(cached) " >&6
   1611 else case e in #(
   1612   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1613   eval ac_save_FLAGS=\$$6
   1614   as_fn_append $6 " $5"
   1615   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1616 /* end confdefs.h.  */
   1617 $4
   1618 int
   1619 main (void)
   1620 {
   1621 #ifndef $as_decl_name
   1622 #ifdef __cplusplus
   1623   (void) $as_decl_use;
   1624 #else
   1625   (void) $as_decl_name;
   1626 #endif
   1627 #endif
   1628 
   1629   ;
   1630   return 0;
   1631 }
   1632 _ACEOF
   1633 if ac_fn_c_try_compile "$LINENO"
   1634 then :
   1635   eval "$3=yes"
   1636 else case e in #(
   1637   e) eval "$3=no" ;;
   1638 esac
   1639 fi
   1640 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1641   eval $6=\$ac_save_FLAGS
   1642  ;;
   1643 esac
   1644 fi
   1645 eval ac_res=\$$3
   1646 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1647 printf "%s\n" "$ac_res" >&6; }
   1648   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1649 
   1650 } # ac_fn_check_decl
   1651 
   1652 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1653 # -------------------------------------------------------
   1654 # Tests whether HEADER exists and can be compiled using the include files in
   1655 # INCLUDES, setting the cache variable VAR accordingly.
   1656 ac_fn_c_check_header_compile ()
   1657 {
   1658   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1659   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1660 printf %s "checking for $2... " >&6; }
   1661 if eval test \${$3+y}
   1662 then :
   1663   printf %s "(cached) " >&6
   1664 else case e in #(
   1665   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1666 /* end confdefs.h.  */
   1667 $4
   1668 #include <$2>
   1669 _ACEOF
   1670 if ac_fn_c_try_compile "$LINENO"
   1671 then :
   1672   eval "$3=yes"
   1673 else case e in #(
   1674   e) eval "$3=no" ;;
   1675 esac
   1676 fi
   1677 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1678 esac
   1679 fi
   1680 eval ac_res=\$$3
   1681 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1682 printf "%s\n" "$ac_res" >&6; }
   1683   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1684 
   1685 } # ac_fn_c_check_header_compile
   1686 
   1687 # ac_fn_c_try_link LINENO
   1688 # -----------------------
   1689 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1690 ac_fn_c_try_link ()
   1691 {
   1692   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1693   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1694   if { { ac_try="$ac_link"
   1695 case "(($ac_try" in
   1696   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1697   *) ac_try_echo=$ac_try;;
   1698 esac
   1699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1700 printf "%s\n" "$ac_try_echo"; } >&5
   1701   (eval "$ac_link") 2>conftest.err
   1702   ac_status=$?
   1703   if test -s conftest.err; then
   1704     grep -v '^ *+' conftest.err >conftest.er1
   1705     cat conftest.er1 >&5
   1706     mv -f conftest.er1 conftest.err
   1707   fi
   1708   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1709   test $ac_status = 0; } && {
   1710 	 test -z "$ac_c_werror_flag" ||
   1711 	 test ! -s conftest.err
   1712        } && test -s conftest$ac_exeext && {
   1713 	 test "$cross_compiling" = yes ||
   1714 	 test -x conftest$ac_exeext
   1715        }
   1716 then :
   1717   ac_retval=0
   1718 else case e in #(
   1719   e) printf "%s\n" "$as_me: failed program was:" >&5
   1720 sed 's/^/| /' conftest.$ac_ext >&5
   1721 
   1722 	ac_retval=1 ;;
   1723 esac
   1724 fi
   1725   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1726   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1727   # interfere with the next link command; also delete a directory that is
   1728   # left behind by Apple's compiler.  We do this before executing the actions.
   1729   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1730   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1731   as_fn_set_status $ac_retval
   1732 
   1733 } # ac_fn_c_try_link
   1734 
   1735 # ac_fn_c_check_func LINENO FUNC VAR
   1736 # ----------------------------------
   1737 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1738 ac_fn_c_check_func ()
   1739 {
   1740   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1741   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1742 printf %s "checking for $2... " >&6; }
   1743 if eval test \${$3+y}
   1744 then :
   1745   printf %s "(cached) " >&6
   1746 else case e in #(
   1747   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1748 /* end confdefs.h.  */
   1749 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1750    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1751 #define $2 innocuous_$2
   1752 
   1753 /* System header to define __stub macros and hopefully few prototypes,
   1754    which can conflict with char $2 (void); below.  */
   1755 
   1756 #include <limits.h>
   1757 #undef $2
   1758 
   1759 /* Override any GCC internal prototype to avoid an error.
   1760    Use char because int might match the return type of a GCC
   1761    builtin and then its argument prototype would still apply.  */
   1762 #ifdef __cplusplus
   1763 extern "C"
   1764 #endif
   1765 char $2 (void);
   1766 /* The GNU C library defines this for functions which it implements
   1767     to always fail with ENOSYS.  Some functions are actually named
   1768     something starting with __ and the normal name is an alias.  */
   1769 #if defined __stub_$2 || defined __stub___$2
   1770 choke me
   1771 #endif
   1772 
   1773 int
   1774 main (void)
   1775 {
   1776 return $2 ();
   1777   ;
   1778   return 0;
   1779 }
   1780 _ACEOF
   1781 if ac_fn_c_try_link "$LINENO"
   1782 then :
   1783   eval "$3=yes"
   1784 else case e in #(
   1785   e) eval "$3=no" ;;
   1786 esac
   1787 fi
   1788 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1789     conftest$ac_exeext conftest.$ac_ext ;;
   1790 esac
   1791 fi
   1792 eval ac_res=\$$3
   1793 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1794 printf "%s\n" "$ac_res" >&6; }
   1795   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1796 
   1797 } # ac_fn_c_check_func
   1798 ac_configure_args_raw=
   1799 for ac_arg
   1800 do
   1801   case $ac_arg in
   1802   *\'*)
   1803     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1804   esac
   1805   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1806 done
   1807 
   1808 case $ac_configure_args_raw in
   1809   *$as_nl*)
   1810     ac_safe_unquote= ;;
   1811   *)
   1812     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1813     ac_unsafe_a="$ac_unsafe_z#~"
   1814     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1815     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1816 esac
   1817 
   1818 cat >config.log <<_ACEOF
   1819 This file contains any messages produced by compilers while
   1820 running configure, to aid debugging if configure makes a mistake.
   1821 
   1822 It was created by xedit $as_me 1.2.4, which was
   1823 generated by GNU Autoconf 2.72.  Invocation command line was
   1824 
   1825   $ $0$ac_configure_args_raw
   1826 
   1827 _ACEOF
   1828 exec 5>>config.log
   1829 {
   1830 cat <<_ASUNAME
   1831 ## --------- ##
   1832 ## Platform. ##
   1833 ## --------- ##
   1834 
   1835 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1836 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1837 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1838 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1839 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1840 
   1841 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1842 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1843 
   1844 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1845 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1846 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1847 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1848 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1849 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1850 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1851 
   1852 _ASUNAME
   1853 
   1854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1855 for as_dir in $PATH
   1856 do
   1857   IFS=$as_save_IFS
   1858   case $as_dir in #(((
   1859     '') as_dir=./ ;;
   1860     */) ;;
   1861     *) as_dir=$as_dir/ ;;
   1862   esac
   1863     printf "%s\n" "PATH: $as_dir"
   1864   done
   1865 IFS=$as_save_IFS
   1866 
   1867 } >&5
   1868 
   1869 cat >&5 <<_ACEOF
   1870 
   1871 
   1872 ## ----------- ##
   1873 ## Core tests. ##
   1874 ## ----------- ##
   1875 
   1876 _ACEOF
   1877 
   1878 
   1879 # Keep a trace of the command line.
   1880 # Strip out --no-create and --no-recursion so they do not pile up.
   1881 # Strip out --silent because we don't want to record it for future runs.
   1882 # Also quote any args containing shell meta-characters.
   1883 # Make two passes to allow for proper duplicate-argument suppression.
   1884 ac_configure_args=
   1885 ac_configure_args0=
   1886 ac_configure_args1=
   1887 ac_must_keep_next=false
   1888 for ac_pass in 1 2
   1889 do
   1890   for ac_arg
   1891   do
   1892     case $ac_arg in
   1893     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1894     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1895     | -silent | --silent | --silen | --sile | --sil)
   1896       continue ;;
   1897     *\'*)
   1898       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1899     esac
   1900     case $ac_pass in
   1901     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1902     2)
   1903       as_fn_append ac_configure_args1 " '$ac_arg'"
   1904       if test $ac_must_keep_next = true; then
   1905 	ac_must_keep_next=false # Got value, back to normal.
   1906       else
   1907 	case $ac_arg in
   1908 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1909 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1910 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1911 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1912 	    case "$ac_configure_args0 " in
   1913 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1914 	    esac
   1915 	    ;;
   1916 	  -* ) ac_must_keep_next=true ;;
   1917 	esac
   1918       fi
   1919       as_fn_append ac_configure_args " '$ac_arg'"
   1920       ;;
   1921     esac
   1922   done
   1923 done
   1924 { ac_configure_args0=; unset ac_configure_args0;}
   1925 { ac_configure_args1=; unset ac_configure_args1;}
   1926 
   1927 # When interrupted or exit'd, cleanup temporary files, and complete
   1928 # config.log.  We remove comments because anyway the quotes in there
   1929 # would cause problems or look ugly.
   1930 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1931 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1932 trap 'exit_status=$?
   1933   # Sanitize IFS.
   1934   IFS=" ""	$as_nl"
   1935   # Save into config.log some information that might help in debugging.
   1936   {
   1937     echo
   1938 
   1939     printf "%s\n" "## ---------------- ##
   1940 ## Cache variables. ##
   1941 ## ---------------- ##"
   1942     echo
   1943     # The following way of writing the cache mishandles newlines in values,
   1944 (
   1945   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1946     eval ac_val=\$$ac_var
   1947     case $ac_val in #(
   1948     *${as_nl}*)
   1949       case $ac_var in #(
   1950       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1951 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1952       esac
   1953       case $ac_var in #(
   1954       _ | IFS | as_nl) ;; #(
   1955       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1956       *) { eval $ac_var=; unset $ac_var;} ;;
   1957       esac ;;
   1958     esac
   1959   done
   1960   (set) 2>&1 |
   1961     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1962     *${as_nl}ac_space=\ *)
   1963       sed -n \
   1964 	"s/'\''/'\''\\\\'\'''\''/g;
   1965 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1966       ;; #(
   1967     *)
   1968       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1969       ;;
   1970     esac |
   1971     sort
   1972 )
   1973     echo
   1974 
   1975     printf "%s\n" "## ----------------- ##
   1976 ## Output variables. ##
   1977 ## ----------------- ##"
   1978     echo
   1979     for ac_var in $ac_subst_vars
   1980     do
   1981       eval ac_val=\$$ac_var
   1982       case $ac_val in
   1983       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1984       esac
   1985       printf "%s\n" "$ac_var='\''$ac_val'\''"
   1986     done | sort
   1987     echo
   1988 
   1989     if test -n "$ac_subst_files"; then
   1990       printf "%s\n" "## ------------------- ##
   1991 ## File substitutions. ##
   1992 ## ------------------- ##"
   1993       echo
   1994       for ac_var in $ac_subst_files
   1995       do
   1996 	eval ac_val=\$$ac_var
   1997 	case $ac_val in
   1998 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1999 	esac
   2000 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2001       done | sort
   2002       echo
   2003     fi
   2004 
   2005     if test -s confdefs.h; then
   2006       printf "%s\n" "## ----------- ##
   2007 ## confdefs.h. ##
   2008 ## ----------- ##"
   2009       echo
   2010       cat confdefs.h
   2011       echo
   2012     fi
   2013     test "$ac_signal" != 0 &&
   2014       printf "%s\n" "$as_me: caught signal $ac_signal"
   2015     printf "%s\n" "$as_me: exit $exit_status"
   2016   } >&5
   2017   rm -f core *.core core.conftest.* &&
   2018     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2019     exit $exit_status
   2020 ' 0
   2021 for ac_signal in 1 2 13 15; do
   2022   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2023 done
   2024 ac_signal=0
   2025 
   2026 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2027 rm -f -r conftest* confdefs.h
   2028 
   2029 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2030 
   2031 # Predefined preprocessor variables.
   2032 
   2033 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2034 
   2035 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2036 
   2037 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2038 
   2039 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2040 
   2041 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2042 
   2043 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2044 
   2045 
   2046 # Let the site file select an alternate cache file if it wants to.
   2047 # Prefer an explicitly selected file to automatically selected ones.
   2048 if test -n "$CONFIG_SITE"; then
   2049   ac_site_files="$CONFIG_SITE"
   2050 elif test "x$prefix" != xNONE; then
   2051   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2052 else
   2053   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2054 fi
   2055 
   2056 for ac_site_file in $ac_site_files
   2057 do
   2058   case $ac_site_file in #(
   2059   */*) :
   2060      ;; #(
   2061   *) :
   2062     ac_site_file=./$ac_site_file ;;
   2063 esac
   2064   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2065     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2066 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2067     sed 's/^/| /' "$ac_site_file" >&5
   2068     . "$ac_site_file" \
   2069       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2070 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2071 as_fn_error $? "failed to load site script $ac_site_file
   2072 See 'config.log' for more details" "$LINENO" 5; }
   2073   fi
   2074 done
   2075 
   2076 if test -r "$cache_file"; then
   2077   # Some versions of bash will fail to source /dev/null (special files
   2078   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2079   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2080     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2081 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2082     case $cache_file in
   2083       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2084       *)                      . "./$cache_file";;
   2085     esac
   2086   fi
   2087 else
   2088   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2089 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2090   >$cache_file
   2091 fi
   2092 
   2093 # Test code for whether the C compiler supports C89 (global declarations)
   2094 ac_c_conftest_c89_globals='
   2095 /* Does the compiler advertise C89 conformance?
   2096    Do not test the value of __STDC__, because some compilers set it to 0
   2097    while being otherwise adequately conformant. */
   2098 #if !defined __STDC__
   2099 # error "Compiler does not advertise C89 conformance"
   2100 #endif
   2101 
   2102 #include <stddef.h>
   2103 #include <stdarg.h>
   2104 struct stat;
   2105 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2106 struct buf { int x; };
   2107 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2108 static char *e (char **p, int i)
   2109 {
   2110   return p[i];
   2111 }
   2112 static char *f (char * (*g) (char **, int), char **p, ...)
   2113 {
   2114   char *s;
   2115   va_list v;
   2116   va_start (v,p);
   2117   s = g (p, va_arg (v,int));
   2118   va_end (v);
   2119   return s;
   2120 }
   2121 
   2122 /* C89 style stringification. */
   2123 #define noexpand_stringify(a) #a
   2124 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2125 
   2126 /* C89 style token pasting.  Exercises some of the corner cases that
   2127    e.g. old MSVC gets wrong, but not very hard. */
   2128 #define noexpand_concat(a,b) a##b
   2129 #define expand_concat(a,b) noexpand_concat(a,b)
   2130 extern int vA;
   2131 extern int vbee;
   2132 #define aye A
   2133 #define bee B
   2134 int *pvA = &expand_concat(v,aye);
   2135 int *pvbee = &noexpand_concat(v,bee);
   2136 
   2137 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2138    function prototypes and stuff, but not \xHH hex character constants.
   2139    These do not provoke an error unfortunately, instead are silently treated
   2140    as an "x".  The following induces an error, until -std is added to get
   2141    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2142    array size at least.  It is necessary to write \x00 == 0 to get something
   2143    that is true only with -std.  */
   2144 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2145 
   2146 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2147    inside strings and character constants.  */
   2148 #define FOO(x) '\''x'\''
   2149 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2150 
   2151 int test (int i, double x);
   2152 struct s1 {int (*f) (int a);};
   2153 struct s2 {int (*f) (double a);};
   2154 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2155                int, int);'
   2156 
   2157 # Test code for whether the C compiler supports C89 (body of main).
   2158 ac_c_conftest_c89_main='
   2159 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2160 '
   2161 
   2162 # Test code for whether the C compiler supports C99 (global declarations)
   2163 ac_c_conftest_c99_globals='
   2164 /* Does the compiler advertise C99 conformance? */
   2165 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2166 # error "Compiler does not advertise C99 conformance"
   2167 #endif
   2168 
   2169 // See if C++-style comments work.
   2170 
   2171 #include <stdbool.h>
   2172 extern int puts (const char *);
   2173 extern int printf (const char *, ...);
   2174 extern int dprintf (int, const char *, ...);
   2175 extern void *malloc (size_t);
   2176 extern void free (void *);
   2177 
   2178 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2179 // dprintf is used instead of fprintf to avoid needing to declare
   2180 // FILE and stderr.
   2181 #define debug(...) dprintf (2, __VA_ARGS__)
   2182 #define showlist(...) puts (#__VA_ARGS__)
   2183 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2184 static void
   2185 test_varargs_macros (void)
   2186 {
   2187   int x = 1234;
   2188   int y = 5678;
   2189   debug ("Flag");
   2190   debug ("X = %d\n", x);
   2191   showlist (The first, second, and third items.);
   2192   report (x>y, "x is %d but y is %d", x, y);
   2193 }
   2194 
   2195 // Check long long types.
   2196 #define BIG64 18446744073709551615ull
   2197 #define BIG32 4294967295ul
   2198 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2199 #if !BIG_OK
   2200   #error "your preprocessor is broken"
   2201 #endif
   2202 #if BIG_OK
   2203 #else
   2204   #error "your preprocessor is broken"
   2205 #endif
   2206 static long long int bignum = -9223372036854775807LL;
   2207 static unsigned long long int ubignum = BIG64;
   2208 
   2209 struct incomplete_array
   2210 {
   2211   int datasize;
   2212   double data[];
   2213 };
   2214 
   2215 struct named_init {
   2216   int number;
   2217   const wchar_t *name;
   2218   double average;
   2219 };
   2220 
   2221 typedef const char *ccp;
   2222 
   2223 static inline int
   2224 test_restrict (ccp restrict text)
   2225 {
   2226   // Iterate through items via the restricted pointer.
   2227   // Also check for declarations in for loops.
   2228   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2229     continue;
   2230   return 0;
   2231 }
   2232 
   2233 // Check varargs and va_copy.
   2234 static bool
   2235 test_varargs (const char *format, ...)
   2236 {
   2237   va_list args;
   2238   va_start (args, format);
   2239   va_list args_copy;
   2240   va_copy (args_copy, args);
   2241 
   2242   const char *str = "";
   2243   int number = 0;
   2244   float fnumber = 0;
   2245 
   2246   while (*format)
   2247     {
   2248       switch (*format++)
   2249 	{
   2250 	case '\''s'\'': // string
   2251 	  str = va_arg (args_copy, const char *);
   2252 	  break;
   2253 	case '\''d'\'': // int
   2254 	  number = va_arg (args_copy, int);
   2255 	  break;
   2256 	case '\''f'\'': // float
   2257 	  fnumber = va_arg (args_copy, double);
   2258 	  break;
   2259 	default:
   2260 	  break;
   2261 	}
   2262     }
   2263   va_end (args_copy);
   2264   va_end (args);
   2265 
   2266   return *str && number && fnumber;
   2267 }
   2268 '
   2269 
   2270 # Test code for whether the C compiler supports C99 (body of main).
   2271 ac_c_conftest_c99_main='
   2272   // Check bool.
   2273   _Bool success = false;
   2274   success |= (argc != 0);
   2275 
   2276   // Check restrict.
   2277   if (test_restrict ("String literal") == 0)
   2278     success = true;
   2279   char *restrict newvar = "Another string";
   2280 
   2281   // Check varargs.
   2282   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2283   test_varargs_macros ();
   2284 
   2285   // Check flexible array members.
   2286   struct incomplete_array *ia =
   2287     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2288   ia->datasize = 10;
   2289   for (int i = 0; i < ia->datasize; ++i)
   2290     ia->data[i] = i * 1.234;
   2291   // Work around memory leak warnings.
   2292   free (ia);
   2293 
   2294   // Check named initializers.
   2295   struct named_init ni = {
   2296     .number = 34,
   2297     .name = L"Test wide string",
   2298     .average = 543.34343,
   2299   };
   2300 
   2301   ni.number = 58;
   2302 
   2303   int dynamic_array[ni.number];
   2304   dynamic_array[0] = argv[0][0];
   2305   dynamic_array[ni.number - 1] = 543;
   2306 
   2307   // work around unused variable warnings
   2308   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2309 	 || dynamic_array[ni.number - 1] != 543);
   2310 '
   2311 
   2312 # Test code for whether the C compiler supports C11 (global declarations)
   2313 ac_c_conftest_c11_globals='
   2314 /* Does the compiler advertise C11 conformance? */
   2315 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2316 # error "Compiler does not advertise C11 conformance"
   2317 #endif
   2318 
   2319 // Check _Alignas.
   2320 char _Alignas (double) aligned_as_double;
   2321 char _Alignas (0) no_special_alignment;
   2322 extern char aligned_as_int;
   2323 char _Alignas (0) _Alignas (int) aligned_as_int;
   2324 
   2325 // Check _Alignof.
   2326 enum
   2327 {
   2328   int_alignment = _Alignof (int),
   2329   int_array_alignment = _Alignof (int[100]),
   2330   char_alignment = _Alignof (char)
   2331 };
   2332 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2333 
   2334 // Check _Noreturn.
   2335 int _Noreturn does_not_return (void) { for (;;) continue; }
   2336 
   2337 // Check _Static_assert.
   2338 struct test_static_assert
   2339 {
   2340   int x;
   2341   _Static_assert (sizeof (int) <= sizeof (long int),
   2342                   "_Static_assert does not work in struct");
   2343   long int y;
   2344 };
   2345 
   2346 // Check UTF-8 literals.
   2347 #define u8 syntax error!
   2348 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2349 
   2350 // Check duplicate typedefs.
   2351 typedef long *long_ptr;
   2352 typedef long int *long_ptr;
   2353 typedef long_ptr long_ptr;
   2354 
   2355 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2356 struct anonymous
   2357 {
   2358   union {
   2359     struct { int i; int j; };
   2360     struct { int k; long int l; } w;
   2361   };
   2362   int m;
   2363 } v1;
   2364 '
   2365 
   2366 # Test code for whether the C compiler supports C11 (body of main).
   2367 ac_c_conftest_c11_main='
   2368   _Static_assert ((offsetof (struct anonymous, i)
   2369 		   == offsetof (struct anonymous, w.k)),
   2370 		  "Anonymous union alignment botch");
   2371   v1.i = 2;
   2372   v1.w.k = 5;
   2373   ok |= v1.i != 5;
   2374 '
   2375 
   2376 # Test code for whether the C compiler supports C11 (complete).
   2377 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2378 ${ac_c_conftest_c99_globals}
   2379 ${ac_c_conftest_c11_globals}
   2380 
   2381 int
   2382 main (int argc, char **argv)
   2383 {
   2384   int ok = 0;
   2385   ${ac_c_conftest_c89_main}
   2386   ${ac_c_conftest_c99_main}
   2387   ${ac_c_conftest_c11_main}
   2388   return ok;
   2389 }
   2390 "
   2391 
   2392 # Test code for whether the C compiler supports C99 (complete).
   2393 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2394 ${ac_c_conftest_c99_globals}
   2395 
   2396 int
   2397 main (int argc, char **argv)
   2398 {
   2399   int ok = 0;
   2400   ${ac_c_conftest_c89_main}
   2401   ${ac_c_conftest_c99_main}
   2402   return ok;
   2403 }
   2404 "
   2405 
   2406 # Test code for whether the C compiler supports C89 (complete).
   2407 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2408 
   2409 int
   2410 main (int argc, char **argv)
   2411 {
   2412   int ok = 0;
   2413   ${ac_c_conftest_c89_main}
   2414   return ok;
   2415 }
   2416 "
   2417 
   2418 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2419 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2420 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2421 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2422 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2423 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2424 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2425 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2426 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2427 
   2428 # Auxiliary files required by this configure script.
   2429 ac_aux_files="ar-lib config.guess config.sub compile missing install-sh"
   2430 
   2431 # Locations in which to look for auxiliary files.
   2432 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2433 
   2434 # Search for a directory containing all of the required auxiliary files,
   2435 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2436 # If we don't find one directory that contains all the files we need,
   2437 # we report the set of missing files from the *first* directory in
   2438 # $ac_aux_dir_candidates and give up.
   2439 ac_missing_aux_files=""
   2440 ac_first_candidate=:
   2441 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2443 as_found=false
   2444 for as_dir in $ac_aux_dir_candidates
   2445 do
   2446   IFS=$as_save_IFS
   2447   case $as_dir in #(((
   2448     '') as_dir=./ ;;
   2449     */) ;;
   2450     *) as_dir=$as_dir/ ;;
   2451   esac
   2452   as_found=:
   2453 
   2454   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2455   ac_aux_dir_found=yes
   2456   ac_install_sh=
   2457   for ac_aux in $ac_aux_files
   2458   do
   2459     # As a special case, if "install-sh" is required, that requirement
   2460     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2461     # and $ac_install_sh is set appropriately for whichever one is found.
   2462     if test x"$ac_aux" = x"install-sh"
   2463     then
   2464       if test -f "${as_dir}install-sh"; then
   2465         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2466         ac_install_sh="${as_dir}install-sh -c"
   2467       elif test -f "${as_dir}install.sh"; then
   2468         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2469         ac_install_sh="${as_dir}install.sh -c"
   2470       elif test -f "${as_dir}shtool"; then
   2471         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2472         ac_install_sh="${as_dir}shtool install -c"
   2473       else
   2474         ac_aux_dir_found=no
   2475         if $ac_first_candidate; then
   2476           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2477         else
   2478           break
   2479         fi
   2480       fi
   2481     else
   2482       if test -f "${as_dir}${ac_aux}"; then
   2483         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2484       else
   2485         ac_aux_dir_found=no
   2486         if $ac_first_candidate; then
   2487           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2488         else
   2489           break
   2490         fi
   2491       fi
   2492     fi
   2493   done
   2494   if test "$ac_aux_dir_found" = yes; then
   2495     ac_aux_dir="$as_dir"
   2496     break
   2497   fi
   2498   ac_first_candidate=false
   2499 
   2500   as_found=false
   2501 done
   2502 IFS=$as_save_IFS
   2503 if $as_found
   2504 then :
   2505 
   2506 else case e in #(
   2507   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2508 esac
   2509 fi
   2510 
   2511 
   2512 # These three variables are undocumented and unsupported,
   2513 # and are intended to be withdrawn in a future Autoconf release.
   2514 # They can cause serious problems if a builder's source tree is in a directory
   2515 # whose full name contains unusual characters.
   2516 if test -f "${ac_aux_dir}config.guess"; then
   2517   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2518 fi
   2519 if test -f "${ac_aux_dir}config.sub"; then
   2520   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2521 fi
   2522 if test -f "$ac_aux_dir/configure"; then
   2523   ac_configure="$SHELL ${ac_aux_dir}configure"
   2524 fi
   2525 
   2526 # Check that the precious variables saved in the cache have kept the same
   2527 # value.
   2528 ac_cache_corrupted=false
   2529 for ac_var in $ac_precious_vars; do
   2530   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2531   eval ac_new_set=\$ac_env_${ac_var}_set
   2532   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2533   eval ac_new_val=\$ac_env_${ac_var}_value
   2534   case $ac_old_set,$ac_new_set in
   2535     set,)
   2536       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2537 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2538       ac_cache_corrupted=: ;;
   2539     ,set)
   2540       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2541 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2542       ac_cache_corrupted=: ;;
   2543     ,);;
   2544     *)
   2545       if test "x$ac_old_val" != "x$ac_new_val"; then
   2546 	# differences in whitespace do not lead to failure.
   2547 	ac_old_val_w=`echo x $ac_old_val`
   2548 	ac_new_val_w=`echo x $ac_new_val`
   2549 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2550 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2551 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2552 	  ac_cache_corrupted=:
   2553 	else
   2554 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2555 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2556 	  eval $ac_var=\$ac_old_val
   2557 	fi
   2558 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2559 printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
   2560 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2561 printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
   2562       fi;;
   2563   esac
   2564   # Pass precious variables to config.status.
   2565   if test "$ac_new_set" = set; then
   2566     case $ac_new_val in
   2567     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2568     *) ac_arg=$ac_var=$ac_new_val ;;
   2569     esac
   2570     case " $ac_configure_args " in
   2571       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2572       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2573     esac
   2574   fi
   2575 done
   2576 if $ac_cache_corrupted; then
   2577   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2578 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2579   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2580 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2581   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2582 	    and start over" "$LINENO" 5
   2583 fi
   2584 ## -------------------- ##
   2585 ## Main body of script. ##
   2586 ## -------------------- ##
   2587 
   2588 ac_ext=c
   2589 ac_cpp='$CPP $CPPFLAGS'
   2590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2593 
   2594 
   2595 am__api_version='1.16'
   2596 
   2597 
   2598 
   2599   # Find a good install program.  We prefer a C program (faster),
   2600 # so one script is as good as another.  But avoid the broken or
   2601 # incompatible versions:
   2602 # SysV /etc/install, /usr/sbin/install
   2603 # SunOS /usr/etc/install
   2604 # IRIX /sbin/install
   2605 # AIX /bin/install
   2606 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2607 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2608 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2609 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2610 # OS/2's system install, which has a completely different semantic
   2611 # ./install, which can be erroneously created by make from ./install.sh.
   2612 # Reject install programs that cannot install multiple files.
   2613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2614 printf %s "checking for a BSD-compatible install... " >&6; }
   2615 if test -z "$INSTALL"; then
   2616 if test ${ac_cv_path_install+y}
   2617 then :
   2618   printf %s "(cached) " >&6
   2619 else case e in #(
   2620   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2621 for as_dir in $PATH
   2622 do
   2623   IFS=$as_save_IFS
   2624   case $as_dir in #(((
   2625     '') as_dir=./ ;;
   2626     */) ;;
   2627     *) as_dir=$as_dir/ ;;
   2628   esac
   2629     # Account for fact that we put trailing slashes in our PATH walk.
   2630 case $as_dir in #((
   2631   ./ | /[cC]/* | \
   2632   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2633   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2634   /usr/ucb/* ) ;;
   2635   *)
   2636     # OSF1 and SCO ODT 3.0 have their own names for install.
   2637     # Don't use installbsd from OSF since it installs stuff as root
   2638     # by default.
   2639     for ac_prog in ginstall scoinst install; do
   2640       for ac_exec_ext in '' $ac_executable_extensions; do
   2641 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2642 	  if test $ac_prog = install &&
   2643 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2644 	    # AIX install.  It has an incompatible calling convention.
   2645 	    :
   2646 	  elif test $ac_prog = install &&
   2647 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2648 	    # program-specific install script used by HP pwplus--don't use.
   2649 	    :
   2650 	  else
   2651 	    rm -rf conftest.one conftest.two conftest.dir
   2652 	    echo one > conftest.one
   2653 	    echo two > conftest.two
   2654 	    mkdir conftest.dir
   2655 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2656 	      test -s conftest.one && test -s conftest.two &&
   2657 	      test -s conftest.dir/conftest.one &&
   2658 	      test -s conftest.dir/conftest.two
   2659 	    then
   2660 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2661 	      break 3
   2662 	    fi
   2663 	  fi
   2664 	fi
   2665       done
   2666     done
   2667     ;;
   2668 esac
   2669 
   2670   done
   2671 IFS=$as_save_IFS
   2672 
   2673 rm -rf conftest.one conftest.two conftest.dir
   2674  ;;
   2675 esac
   2676 fi
   2677   if test ${ac_cv_path_install+y}; then
   2678     INSTALL=$ac_cv_path_install
   2679   else
   2680     # As a last resort, use the slow shell script.  Don't cache a
   2681     # value for INSTALL within a source directory, because that will
   2682     # break other packages using the cache if that directory is
   2683     # removed, or if the value is a relative name.
   2684     INSTALL=$ac_install_sh
   2685   fi
   2686 fi
   2687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2688 printf "%s\n" "$INSTALL" >&6; }
   2689 
   2690 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2691 # It thinks the first close brace ends the variable substitution.
   2692 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2693 
   2694 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2695 
   2696 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2697 
   2698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2699 printf %s "checking whether build environment is sane... " >&6; }
   2700 # Reject unsafe characters in $srcdir or the absolute working directory
   2701 # name.  Accept space and tab only in the latter.
   2702 am_lf='
   2703 '
   2704 case `pwd` in
   2705   *[\\\"\#\$\&\'\`$am_lf]*)
   2706     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2707 esac
   2708 case $srcdir in
   2709   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2710     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2711 esac
   2712 
   2713 # Do 'set' in a subshell so we don't clobber the current shell's
   2714 # arguments.  Must try -L first in case configure is actually a
   2715 # symlink; some systems play weird games with the mod time of symlinks
   2716 # (eg FreeBSD returns the mod time of the symlink's containing
   2717 # directory).
   2718 if (
   2719    am_has_slept=no
   2720    for am_try in 1 2; do
   2721      echo "timestamp, slept: $am_has_slept" > conftest.file
   2722      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2723      if test "$*" = "X"; then
   2724 	# -L didn't work.
   2725 	set X `ls -t "$srcdir/configure" conftest.file`
   2726      fi
   2727      if test "$*" != "X $srcdir/configure conftest.file" \
   2728 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2729 
   2730 	# If neither matched, then we have a broken ls.  This can happen
   2731 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2732 	# broken ls alias from the environment.  This has actually
   2733 	# happened.  Such a system could not be considered "sane".
   2734 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2735   alias in your environment" "$LINENO" 5
   2736      fi
   2737      if test "$2" = conftest.file || test $am_try -eq 2; then
   2738        break
   2739      fi
   2740      # Just in case.
   2741      sleep 1
   2742      am_has_slept=yes
   2743    done
   2744    test "$2" = conftest.file
   2745    )
   2746 then
   2747    # Ok.
   2748    :
   2749 else
   2750    as_fn_error $? "newly created file is older than distributed files!
   2751 Check your system clock" "$LINENO" 5
   2752 fi
   2753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2754 printf "%s\n" "yes" >&6; }
   2755 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2756 # generated files are strictly newer.
   2757 am_sleep_pid=
   2758 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2759   ( sleep 1 ) &
   2760   am_sleep_pid=$!
   2761 fi
   2762 
   2763 rm -f conftest.file
   2764 
   2765 test "$program_prefix" != NONE &&
   2766   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2767 # Use a double $ so make ignores it.
   2768 test "$program_suffix" != NONE &&
   2769   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2770 # Double any \ or $.
   2771 # By default was 's,x,x', remove it if useless.
   2772 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2773 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2774 
   2775 
   2776 # Expand $ac_aux_dir to an absolute path.
   2777 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2778 
   2779 
   2780   if test x"${MISSING+set}" != xset; then
   2781   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2782 fi
   2783 # Use eval to expand $SHELL
   2784 if eval "$MISSING --is-lightweight"; then
   2785   am_missing_run="$MISSING "
   2786 else
   2787   am_missing_run=
   2788   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2789 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2790 fi
   2791 
   2792 if test x"${install_sh+set}" != xset; then
   2793   case $am_aux_dir in
   2794   *\ * | *\	*)
   2795     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2796   *)
   2797     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2798   esac
   2799 fi
   2800 
   2801 # Installed binaries are usually stripped using 'strip' when the user
   2802 # run "make install-strip".  However 'strip' might not be the right
   2803 # tool to use in cross-compilation environments, therefore Automake
   2804 # will honor the 'STRIP' environment variable to overrule this program.
   2805 if test "$cross_compiling" != no; then
   2806   if test -n "$ac_tool_prefix"; then
   2807   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2808 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2810 printf %s "checking for $ac_word... " >&6; }
   2811 if test ${ac_cv_prog_STRIP+y}
   2812 then :
   2813   printf %s "(cached) " >&6
   2814 else case e in #(
   2815   e) if test -n "$STRIP"; then
   2816   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2817 else
   2818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2819 for as_dir in $PATH
   2820 do
   2821   IFS=$as_save_IFS
   2822   case $as_dir in #(((
   2823     '') as_dir=./ ;;
   2824     */) ;;
   2825     *) as_dir=$as_dir/ ;;
   2826   esac
   2827     for ac_exec_ext in '' $ac_executable_extensions; do
   2828   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2829     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2830     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2831     break 2
   2832   fi
   2833 done
   2834   done
   2835 IFS=$as_save_IFS
   2836 
   2837 fi ;;
   2838 esac
   2839 fi
   2840 STRIP=$ac_cv_prog_STRIP
   2841 if test -n "$STRIP"; then
   2842   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2843 printf "%s\n" "$STRIP" >&6; }
   2844 else
   2845   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2846 printf "%s\n" "no" >&6; }
   2847 fi
   2848 
   2849 
   2850 fi
   2851 if test -z "$ac_cv_prog_STRIP"; then
   2852   ac_ct_STRIP=$STRIP
   2853   # Extract the first word of "strip", so it can be a program name with args.
   2854 set dummy strip; ac_word=$2
   2855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2856 printf %s "checking for $ac_word... " >&6; }
   2857 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2858 then :
   2859   printf %s "(cached) " >&6
   2860 else case e in #(
   2861   e) if test -n "$ac_ct_STRIP"; then
   2862   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2863 else
   2864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2865 for as_dir in $PATH
   2866 do
   2867   IFS=$as_save_IFS
   2868   case $as_dir in #(((
   2869     '') as_dir=./ ;;
   2870     */) ;;
   2871     *) as_dir=$as_dir/ ;;
   2872   esac
   2873     for ac_exec_ext in '' $ac_executable_extensions; do
   2874   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2875     ac_cv_prog_ac_ct_STRIP="strip"
   2876     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2877     break 2
   2878   fi
   2879 done
   2880   done
   2881 IFS=$as_save_IFS
   2882 
   2883 fi ;;
   2884 esac
   2885 fi
   2886 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2887 if test -n "$ac_ct_STRIP"; then
   2888   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2889 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2890 else
   2891   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2892 printf "%s\n" "no" >&6; }
   2893 fi
   2894 
   2895   if test "x$ac_ct_STRIP" = x; then
   2896     STRIP=":"
   2897   else
   2898     case $cross_compiling:$ac_tool_warned in
   2899 yes:)
   2900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2901 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2902 ac_tool_warned=yes ;;
   2903 esac
   2904     STRIP=$ac_ct_STRIP
   2905   fi
   2906 else
   2907   STRIP="$ac_cv_prog_STRIP"
   2908 fi
   2909 
   2910 fi
   2911 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2912 
   2913 
   2914   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   2915 printf %s "checking for a race-free mkdir -p... " >&6; }
   2916 if test -z "$MKDIR_P"; then
   2917   if test ${ac_cv_path_mkdir+y}
   2918 then :
   2919   printf %s "(cached) " >&6
   2920 else case e in #(
   2921   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2922 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2923 do
   2924   IFS=$as_save_IFS
   2925   case $as_dir in #(((
   2926     '') as_dir=./ ;;
   2927     */) ;;
   2928     *) as_dir=$as_dir/ ;;
   2929   esac
   2930     for ac_prog in mkdir gmkdir; do
   2931 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2932 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   2933 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2934 	     'mkdir ('*'coreutils) '* | \
   2935 	     *'BusyBox '* | \
   2936 	     'mkdir (fileutils) '4.1*)
   2937 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   2938 	       break 3;;
   2939 	   esac
   2940 	 done
   2941        done
   2942   done
   2943 IFS=$as_save_IFS
   2944  ;;
   2945 esac
   2946 fi
   2947 
   2948   test -d ./--version && rmdir ./--version
   2949   if test ${ac_cv_path_mkdir+y}; then
   2950     MKDIR_P="$ac_cv_path_mkdir -p"
   2951   else
   2952     # As a last resort, use plain mkdir -p,
   2953     # in the hope it doesn't have the bugs of ancient mkdir.
   2954     MKDIR_P='mkdir -p'
   2955   fi
   2956 fi
   2957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2958 printf "%s\n" "$MKDIR_P" >&6; }
   2959 
   2960 for ac_prog in gawk mawk nawk awk
   2961 do
   2962   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2963 set dummy $ac_prog; ac_word=$2
   2964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2965 printf %s "checking for $ac_word... " >&6; }
   2966 if test ${ac_cv_prog_AWK+y}
   2967 then :
   2968   printf %s "(cached) " >&6
   2969 else case e in #(
   2970   e) if test -n "$AWK"; then
   2971   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2972 else
   2973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2974 for as_dir in $PATH
   2975 do
   2976   IFS=$as_save_IFS
   2977   case $as_dir in #(((
   2978     '') as_dir=./ ;;
   2979     */) ;;
   2980     *) as_dir=$as_dir/ ;;
   2981   esac
   2982     for ac_exec_ext in '' $ac_executable_extensions; do
   2983   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2984     ac_cv_prog_AWK="$ac_prog"
   2985     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2986     break 2
   2987   fi
   2988 done
   2989   done
   2990 IFS=$as_save_IFS
   2991 
   2992 fi ;;
   2993 esac
   2994 fi
   2995 AWK=$ac_cv_prog_AWK
   2996 if test -n "$AWK"; then
   2997   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2998 printf "%s\n" "$AWK" >&6; }
   2999 else
   3000   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3001 printf "%s\n" "no" >&6; }
   3002 fi
   3003 
   3004 
   3005   test -n "$AWK" && break
   3006 done
   3007 
   3008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3009 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3010 set x ${MAKE-make}
   3011 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3012 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3013 then :
   3014   printf %s "(cached) " >&6
   3015 else case e in #(
   3016   e) cat >conftest.make <<\_ACEOF
   3017 SHELL = /bin/sh
   3018 all:
   3019 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3020 _ACEOF
   3021 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3022 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3023   *@@@%%%=?*=@@@%%%*)
   3024     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3025   *)
   3026     eval ac_cv_prog_make_${ac_make}_set=no;;
   3027 esac
   3028 rm -f conftest.make ;;
   3029 esac
   3030 fi
   3031 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3032   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3033 printf "%s\n" "yes" >&6; }
   3034   SET_MAKE=
   3035 else
   3036   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3037 printf "%s\n" "no" >&6; }
   3038   SET_MAKE="MAKE=${MAKE-make}"
   3039 fi
   3040 
   3041 rm -rf .tst 2>/dev/null
   3042 mkdir .tst 2>/dev/null
   3043 if test -d .tst; then
   3044   am__leading_dot=.
   3045 else
   3046   am__leading_dot=_
   3047 fi
   3048 rmdir .tst 2>/dev/null
   3049 
   3050 # Check whether --enable-silent-rules was given.
   3051 if test ${enable_silent_rules+y}
   3052 then :
   3053   enableval=$enable_silent_rules;
   3054 fi
   3055 
   3056 case $enable_silent_rules in # (((
   3057   yes) AM_DEFAULT_VERBOSITY=0;;
   3058    no) AM_DEFAULT_VERBOSITY=1;;
   3059     *) AM_DEFAULT_VERBOSITY=1;;
   3060 esac
   3061 am_make=${MAKE-make}
   3062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3063 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3064 if test ${am_cv_make_support_nested_variables+y}
   3065 then :
   3066   printf %s "(cached) " >&6
   3067 else case e in #(
   3068   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   3069 BAR0=false
   3070 BAR1=true
   3071 V=1
   3072 am__doit:
   3073 	@$(TRUE)
   3074 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3075   am_cv_make_support_nested_variables=yes
   3076 else
   3077   am_cv_make_support_nested_variables=no
   3078 fi ;;
   3079 esac
   3080 fi
   3081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3082 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3083 if test $am_cv_make_support_nested_variables = yes; then
   3084     AM_V='$(V)'
   3085   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3086 else
   3087   AM_V=$AM_DEFAULT_VERBOSITY
   3088   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3089 fi
   3090 AM_BACKSLASH='\'
   3091 
   3092 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3093   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3094   # is not polluted with repeated "-I."
   3095   am__isrc=' -I$(srcdir)'
   3096   # test to see if srcdir already configured
   3097   if test -f $srcdir/config.status; then
   3098     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3099   fi
   3100 fi
   3101 
   3102 # test whether we have cygpath
   3103 if test -z "$CYGPATH_W"; then
   3104   if (cygpath --version) >/dev/null 2>/dev/null; then
   3105     CYGPATH_W='cygpath -w'
   3106   else
   3107     CYGPATH_W=echo
   3108   fi
   3109 fi
   3110 
   3111 
   3112 # Define the identity of the package.
   3113  PACKAGE='xedit'
   3114  VERSION='1.2.4'
   3115 
   3116 
   3117 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3118 
   3119 
   3120 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3121 
   3122 # Some tools Automake needs.
   3123 
   3124 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3125 
   3126 
   3127 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3128 
   3129 
   3130 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3131 
   3132 
   3133 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3134 
   3135 
   3136 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3137 
   3138 # For better backward compatibility.  To be removed once Automake 1.9.x
   3139 # dies out for good.  For more background, see:
   3140 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3141 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3142 mkdir_p='$(MKDIR_P)'
   3143 
   3144 # We need awk for the "check" target (and possibly the TAP driver).  The
   3145 # system "awk" is bad on some platforms.
   3146 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3147 # in the wild :-(  We should find a proper way to deprecate it ...
   3148 AMTAR='$${TAR-tar}'
   3149 
   3150 
   3151 # We'll loop over all known methods to create a tar archive until one works.
   3152 _am_tools='gnutar  pax cpio none'
   3153 
   3154 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3155 
   3156 
   3157 
   3158 
   3159 
   3160 # Variables for tags utilities; see am/tags.am
   3161 if test -z "$CTAGS"; then
   3162   CTAGS=ctags
   3163 fi
   3164 
   3165 if test -z "$ETAGS"; then
   3166   ETAGS=etags
   3167 fi
   3168 
   3169 if test -z "$CSCOPE"; then
   3170   CSCOPE=cscope
   3171 fi
   3172 
   3173 
   3174 
   3175 # POSIX will say in a future version that running "rm -f" with no argument
   3176 # is OK; and we want to be able to make that assumption in our Makefile
   3177 # recipes.  So use an aggressive probe to check that the usage we want is
   3178 # actually supported "in the wild" to an acceptable degree.
   3179 # See automake bug#10828.
   3180 # To make any issue more visible, cause the running configure to be aborted
   3181 # by default if the 'rm' program in use doesn't match our expectations; the
   3182 # user can still override this though.
   3183 if rm -f && rm -fr && rm -rf; then : OK; else
   3184   cat >&2 <<'END'
   3185 Oops!
   3186 
   3187 Your 'rm' program seems unable to run without file operands specified
   3188 on the command line, even when the '-f' option is present.  This is contrary
   3189 to the behaviour of most rm programs out there, and not conforming with
   3190 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3191 
   3192 Please tell bug-automake@gnu.org about your system, including the value
   3193 of your $PATH and any error possibly output before this message.  This
   3194 can help us improve future automake versions.
   3195 
   3196 END
   3197   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3198     echo 'Configuration will proceed anyway, since you have set the' >&2
   3199     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3200     echo >&2
   3201   else
   3202     cat >&2 <<'END'
   3203 Aborting the configuration process, to ensure you take notice of the issue.
   3204 
   3205 You can download and install GNU coreutils to get an 'rm' implementation
   3206 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3207 
   3208 If you want to complete the configuration process using your problematic
   3209 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3210 to "yes", and re-run configure.
   3211 
   3212 END
   3213     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3214   fi
   3215 fi
   3216 
   3217 
   3218 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   3219 
   3220 
   3221 
   3222 
   3223 
   3224 
   3225 
   3226 
   3227 
   3228 
   3229 
   3230 
   3231 
   3232 
   3233 
   3234 
   3235 
   3236 
   3237 
   3238 
   3239 DEPDIR="${am__leading_dot}deps"
   3240 
   3241 ac_config_commands="$ac_config_commands depfiles"
   3242 
   3243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3244 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3245 cat > confinc.mk << 'END'
   3246 am__doit:
   3247 	@echo this is the am__doit target >confinc.out
   3248 .PHONY: am__doit
   3249 END
   3250 am__include="#"
   3251 am__quote=
   3252 # BSD make does it like this.
   3253 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3254 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3255 echo 'include confinc.mk # ignored' > confmf.GNU
   3256 _am_result=no
   3257 for s in GNU BSD; do
   3258   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3259    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3260    ac_status=$?
   3261    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3262    (exit $ac_status); }
   3263   case $?:`cat confinc.out 2>/dev/null` in #(
   3264   '0:this is the am__doit target') :
   3265     case $s in #(
   3266   BSD) :
   3267     am__include='.include' am__quote='"' ;; #(
   3268   *) :
   3269     am__include='include' am__quote='' ;;
   3270 esac ;; #(
   3271   *) :
   3272      ;;
   3273 esac
   3274   if test "$am__include" != "#"; then
   3275     _am_result="yes ($s style)"
   3276     break
   3277   fi
   3278 done
   3279 rm -f confinc.* confmf.*
   3280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3281 printf "%s\n" "${_am_result}" >&6; }
   3282 
   3283 # Check whether --enable-dependency-tracking was given.
   3284 if test ${enable_dependency_tracking+y}
   3285 then :
   3286   enableval=$enable_dependency_tracking;
   3287 fi
   3288 
   3289 if test "x$enable_dependency_tracking" != xno; then
   3290   am_depcomp="$ac_aux_dir/depcomp"
   3291   AMDEPBACKSLASH='\'
   3292   am__nodep='_no'
   3293 fi
   3294  if test "x$enable_dependency_tracking" != xno; then
   3295   AMDEP_TRUE=
   3296   AMDEP_FALSE='#'
   3297 else
   3298   AMDEP_TRUE='#'
   3299   AMDEP_FALSE=
   3300 fi
   3301 
   3302 
   3303 ac_ext=c
   3304 ac_cpp='$CPP $CPPFLAGS'
   3305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3308 if test -n "$ac_tool_prefix"; then
   3309   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3310 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3312 printf %s "checking for $ac_word... " >&6; }
   3313 if test ${ac_cv_prog_CC+y}
   3314 then :
   3315   printf %s "(cached) " >&6
   3316 else case e in #(
   3317   e) if test -n "$CC"; then
   3318   ac_cv_prog_CC="$CC" # Let the user override the test.
   3319 else
   3320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3321 for as_dir in $PATH
   3322 do
   3323   IFS=$as_save_IFS
   3324   case $as_dir in #(((
   3325     '') as_dir=./ ;;
   3326     */) ;;
   3327     *) as_dir=$as_dir/ ;;
   3328   esac
   3329     for ac_exec_ext in '' $ac_executable_extensions; do
   3330   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3331     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3332     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3333     break 2
   3334   fi
   3335 done
   3336   done
   3337 IFS=$as_save_IFS
   3338 
   3339 fi ;;
   3340 esac
   3341 fi
   3342 CC=$ac_cv_prog_CC
   3343 if test -n "$CC"; then
   3344   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3345 printf "%s\n" "$CC" >&6; }
   3346 else
   3347   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3348 printf "%s\n" "no" >&6; }
   3349 fi
   3350 
   3351 
   3352 fi
   3353 if test -z "$ac_cv_prog_CC"; then
   3354   ac_ct_CC=$CC
   3355   # Extract the first word of "gcc", so it can be a program name with args.
   3356 set dummy gcc; ac_word=$2
   3357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3358 printf %s "checking for $ac_word... " >&6; }
   3359 if test ${ac_cv_prog_ac_ct_CC+y}
   3360 then :
   3361   printf %s "(cached) " >&6
   3362 else case e in #(
   3363   e) if test -n "$ac_ct_CC"; then
   3364   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3365 else
   3366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3367 for as_dir in $PATH
   3368 do
   3369   IFS=$as_save_IFS
   3370   case $as_dir in #(((
   3371     '') as_dir=./ ;;
   3372     */) ;;
   3373     *) as_dir=$as_dir/ ;;
   3374   esac
   3375     for ac_exec_ext in '' $ac_executable_extensions; do
   3376   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3377     ac_cv_prog_ac_ct_CC="gcc"
   3378     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3379     break 2
   3380   fi
   3381 done
   3382   done
   3383 IFS=$as_save_IFS
   3384 
   3385 fi ;;
   3386 esac
   3387 fi
   3388 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3389 if test -n "$ac_ct_CC"; then
   3390   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3391 printf "%s\n" "$ac_ct_CC" >&6; }
   3392 else
   3393   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3394 printf "%s\n" "no" >&6; }
   3395 fi
   3396 
   3397   if test "x$ac_ct_CC" = x; then
   3398     CC=""
   3399   else
   3400     case $cross_compiling:$ac_tool_warned in
   3401 yes:)
   3402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3403 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3404 ac_tool_warned=yes ;;
   3405 esac
   3406     CC=$ac_ct_CC
   3407   fi
   3408 else
   3409   CC="$ac_cv_prog_CC"
   3410 fi
   3411 
   3412 if test -z "$CC"; then
   3413           if test -n "$ac_tool_prefix"; then
   3414     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3415 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3417 printf %s "checking for $ac_word... " >&6; }
   3418 if test ${ac_cv_prog_CC+y}
   3419 then :
   3420   printf %s "(cached) " >&6
   3421 else case e in #(
   3422   e) if test -n "$CC"; then
   3423   ac_cv_prog_CC="$CC" # Let the user override the test.
   3424 else
   3425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3426 for as_dir in $PATH
   3427 do
   3428   IFS=$as_save_IFS
   3429   case $as_dir in #(((
   3430     '') as_dir=./ ;;
   3431     */) ;;
   3432     *) as_dir=$as_dir/ ;;
   3433   esac
   3434     for ac_exec_ext in '' $ac_executable_extensions; do
   3435   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3436     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3437     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3438     break 2
   3439   fi
   3440 done
   3441   done
   3442 IFS=$as_save_IFS
   3443 
   3444 fi ;;
   3445 esac
   3446 fi
   3447 CC=$ac_cv_prog_CC
   3448 if test -n "$CC"; then
   3449   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3450 printf "%s\n" "$CC" >&6; }
   3451 else
   3452   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3453 printf "%s\n" "no" >&6; }
   3454 fi
   3455 
   3456 
   3457   fi
   3458 fi
   3459 if test -z "$CC"; then
   3460   # Extract the first word of "cc", so it can be a program name with args.
   3461 set dummy cc; ac_word=$2
   3462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3463 printf %s "checking for $ac_word... " >&6; }
   3464 if test ${ac_cv_prog_CC+y}
   3465 then :
   3466   printf %s "(cached) " >&6
   3467 else case e in #(
   3468   e) if test -n "$CC"; then
   3469   ac_cv_prog_CC="$CC" # Let the user override the test.
   3470 else
   3471   ac_prog_rejected=no
   3472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3473 for as_dir in $PATH
   3474 do
   3475   IFS=$as_save_IFS
   3476   case $as_dir in #(((
   3477     '') as_dir=./ ;;
   3478     */) ;;
   3479     *) as_dir=$as_dir/ ;;
   3480   esac
   3481     for ac_exec_ext in '' $ac_executable_extensions; do
   3482   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3483     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3484        ac_prog_rejected=yes
   3485        continue
   3486      fi
   3487     ac_cv_prog_CC="cc"
   3488     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3489     break 2
   3490   fi
   3491 done
   3492   done
   3493 IFS=$as_save_IFS
   3494 
   3495 if test $ac_prog_rejected = yes; then
   3496   # We found a bogon in the path, so make sure we never use it.
   3497   set dummy $ac_cv_prog_CC
   3498   shift
   3499   if test $# != 0; then
   3500     # We chose a different compiler from the bogus one.
   3501     # However, it has the same basename, so the bogon will be chosen
   3502     # first if we set CC to just the basename; use the full file name.
   3503     shift
   3504     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3505   fi
   3506 fi
   3507 fi ;;
   3508 esac
   3509 fi
   3510 CC=$ac_cv_prog_CC
   3511 if test -n "$CC"; then
   3512   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3513 printf "%s\n" "$CC" >&6; }
   3514 else
   3515   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3516 printf "%s\n" "no" >&6; }
   3517 fi
   3518 
   3519 
   3520 fi
   3521 if test -z "$CC"; then
   3522   if test -n "$ac_tool_prefix"; then
   3523   for ac_prog in cl.exe
   3524   do
   3525     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3526 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3528 printf %s "checking for $ac_word... " >&6; }
   3529 if test ${ac_cv_prog_CC+y}
   3530 then :
   3531   printf %s "(cached) " >&6
   3532 else case e in #(
   3533   e) if test -n "$CC"; then
   3534   ac_cv_prog_CC="$CC" # Let the user override the test.
   3535 else
   3536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3537 for as_dir in $PATH
   3538 do
   3539   IFS=$as_save_IFS
   3540   case $as_dir in #(((
   3541     '') as_dir=./ ;;
   3542     */) ;;
   3543     *) as_dir=$as_dir/ ;;
   3544   esac
   3545     for ac_exec_ext in '' $ac_executable_extensions; do
   3546   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3547     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3548     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3549     break 2
   3550   fi
   3551 done
   3552   done
   3553 IFS=$as_save_IFS
   3554 
   3555 fi ;;
   3556 esac
   3557 fi
   3558 CC=$ac_cv_prog_CC
   3559 if test -n "$CC"; then
   3560   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3561 printf "%s\n" "$CC" >&6; }
   3562 else
   3563   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3564 printf "%s\n" "no" >&6; }
   3565 fi
   3566 
   3567 
   3568     test -n "$CC" && break
   3569   done
   3570 fi
   3571 if test -z "$CC"; then
   3572   ac_ct_CC=$CC
   3573   for ac_prog in cl.exe
   3574 do
   3575   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3576 set dummy $ac_prog; ac_word=$2
   3577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3578 printf %s "checking for $ac_word... " >&6; }
   3579 if test ${ac_cv_prog_ac_ct_CC+y}
   3580 then :
   3581   printf %s "(cached) " >&6
   3582 else case e in #(
   3583   e) if test -n "$ac_ct_CC"; then
   3584   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3585 else
   3586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3587 for as_dir in $PATH
   3588 do
   3589   IFS=$as_save_IFS
   3590   case $as_dir in #(((
   3591     '') as_dir=./ ;;
   3592     */) ;;
   3593     *) as_dir=$as_dir/ ;;
   3594   esac
   3595     for ac_exec_ext in '' $ac_executable_extensions; do
   3596   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3597     ac_cv_prog_ac_ct_CC="$ac_prog"
   3598     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3599     break 2
   3600   fi
   3601 done
   3602   done
   3603 IFS=$as_save_IFS
   3604 
   3605 fi ;;
   3606 esac
   3607 fi
   3608 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3609 if test -n "$ac_ct_CC"; then
   3610   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3611 printf "%s\n" "$ac_ct_CC" >&6; }
   3612 else
   3613   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3614 printf "%s\n" "no" >&6; }
   3615 fi
   3616 
   3617 
   3618   test -n "$ac_ct_CC" && break
   3619 done
   3620 
   3621   if test "x$ac_ct_CC" = x; then
   3622     CC=""
   3623   else
   3624     case $cross_compiling:$ac_tool_warned in
   3625 yes:)
   3626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3627 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3628 ac_tool_warned=yes ;;
   3629 esac
   3630     CC=$ac_ct_CC
   3631   fi
   3632 fi
   3633 
   3634 fi
   3635 if test -z "$CC"; then
   3636   if test -n "$ac_tool_prefix"; then
   3637   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3638 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3640 printf %s "checking for $ac_word... " >&6; }
   3641 if test ${ac_cv_prog_CC+y}
   3642 then :
   3643   printf %s "(cached) " >&6
   3644 else case e in #(
   3645   e) if test -n "$CC"; then
   3646   ac_cv_prog_CC="$CC" # Let the user override the test.
   3647 else
   3648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3649 for as_dir in $PATH
   3650 do
   3651   IFS=$as_save_IFS
   3652   case $as_dir in #(((
   3653     '') as_dir=./ ;;
   3654     */) ;;
   3655     *) as_dir=$as_dir/ ;;
   3656   esac
   3657     for ac_exec_ext in '' $ac_executable_extensions; do
   3658   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3659     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3660     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3661     break 2
   3662   fi
   3663 done
   3664   done
   3665 IFS=$as_save_IFS
   3666 
   3667 fi ;;
   3668 esac
   3669 fi
   3670 CC=$ac_cv_prog_CC
   3671 if test -n "$CC"; then
   3672   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3673 printf "%s\n" "$CC" >&6; }
   3674 else
   3675   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3676 printf "%s\n" "no" >&6; }
   3677 fi
   3678 
   3679 
   3680 fi
   3681 if test -z "$ac_cv_prog_CC"; then
   3682   ac_ct_CC=$CC
   3683   # Extract the first word of "clang", so it can be a program name with args.
   3684 set dummy clang; ac_word=$2
   3685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3686 printf %s "checking for $ac_word... " >&6; }
   3687 if test ${ac_cv_prog_ac_ct_CC+y}
   3688 then :
   3689   printf %s "(cached) " >&6
   3690 else case e in #(
   3691   e) if test -n "$ac_ct_CC"; then
   3692   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3693 else
   3694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3695 for as_dir in $PATH
   3696 do
   3697   IFS=$as_save_IFS
   3698   case $as_dir in #(((
   3699     '') as_dir=./ ;;
   3700     */) ;;
   3701     *) as_dir=$as_dir/ ;;
   3702   esac
   3703     for ac_exec_ext in '' $ac_executable_extensions; do
   3704   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3705     ac_cv_prog_ac_ct_CC="clang"
   3706     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3707     break 2
   3708   fi
   3709 done
   3710   done
   3711 IFS=$as_save_IFS
   3712 
   3713 fi ;;
   3714 esac
   3715 fi
   3716 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3717 if test -n "$ac_ct_CC"; then
   3718   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3719 printf "%s\n" "$ac_ct_CC" >&6; }
   3720 else
   3721   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3722 printf "%s\n" "no" >&6; }
   3723 fi
   3724 
   3725   if test "x$ac_ct_CC" = x; then
   3726     CC=""
   3727   else
   3728     case $cross_compiling:$ac_tool_warned in
   3729 yes:)
   3730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3731 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3732 ac_tool_warned=yes ;;
   3733 esac
   3734     CC=$ac_ct_CC
   3735   fi
   3736 else
   3737   CC="$ac_cv_prog_CC"
   3738 fi
   3739 
   3740 fi
   3741 
   3742 
   3743 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3744 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3745 as_fn_error $? "no acceptable C compiler found in \$PATH
   3746 See 'config.log' for more details" "$LINENO" 5; }
   3747 
   3748 # Provide some information about the compiler.
   3749 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3750 set X $ac_compile
   3751 ac_compiler=$2
   3752 for ac_option in --version -v -V -qversion -version; do
   3753   { { ac_try="$ac_compiler $ac_option >&5"
   3754 case "(($ac_try" in
   3755   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3756   *) ac_try_echo=$ac_try;;
   3757 esac
   3758 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3759 printf "%s\n" "$ac_try_echo"; } >&5
   3760   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3761   ac_status=$?
   3762   if test -s conftest.err; then
   3763     sed '10a\
   3764 ... rest of stderr output deleted ...
   3765          10q' conftest.err >conftest.er1
   3766     cat conftest.er1 >&5
   3767   fi
   3768   rm -f conftest.er1 conftest.err
   3769   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3770   test $ac_status = 0; }
   3771 done
   3772 
   3773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3774 /* end confdefs.h.  */
   3775 
   3776 int
   3777 main (void)
   3778 {
   3779 
   3780   ;
   3781   return 0;
   3782 }
   3783 _ACEOF
   3784 ac_clean_files_save=$ac_clean_files
   3785 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3786 # Try to create an executable without -o first, disregard a.out.
   3787 # It will help us diagnose broken compilers, and finding out an intuition
   3788 # of exeext.
   3789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3790 printf %s "checking whether the C compiler works... " >&6; }
   3791 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3792 
   3793 # The possible output files:
   3794 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3795 
   3796 ac_rmfiles=
   3797 for ac_file in $ac_files
   3798 do
   3799   case $ac_file in
   3800     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3801     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3802   esac
   3803 done
   3804 rm -f $ac_rmfiles
   3805 
   3806 if { { ac_try="$ac_link_default"
   3807 case "(($ac_try" in
   3808   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3809   *) ac_try_echo=$ac_try;;
   3810 esac
   3811 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3812 printf "%s\n" "$ac_try_echo"; } >&5
   3813   (eval "$ac_link_default") 2>&5
   3814   ac_status=$?
   3815   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3816   test $ac_status = 0; }
   3817 then :
   3818   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   3819 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   3820 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3821 # so that the user can short-circuit this test for compilers unknown to
   3822 # Autoconf.
   3823 for ac_file in $ac_files ''
   3824 do
   3825   test -f "$ac_file" || continue
   3826   case $ac_file in
   3827     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3828 	;;
   3829     [ab].out )
   3830 	# We found the default executable, but exeext='' is most
   3831 	# certainly right.
   3832 	break;;
   3833     *.* )
   3834 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3835 	then :; else
   3836 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3837 	fi
   3838 	# We set ac_cv_exeext here because the later test for it is not
   3839 	# safe: cross compilers may not add the suffix if given an '-o'
   3840 	# argument, so we may need to know it at that point already.
   3841 	# Even if this section looks crufty: it has the advantage of
   3842 	# actually working.
   3843 	break;;
   3844     * )
   3845 	break;;
   3846   esac
   3847 done
   3848 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3849 
   3850 else case e in #(
   3851   e) ac_file='' ;;
   3852 esac
   3853 fi
   3854 if test -z "$ac_file"
   3855 then :
   3856   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3857 printf "%s\n" "no" >&6; }
   3858 printf "%s\n" "$as_me: failed program was:" >&5
   3859 sed 's/^/| /' conftest.$ac_ext >&5
   3860 
   3861 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3862 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3863 as_fn_error 77 "C compiler cannot create executables
   3864 See 'config.log' for more details" "$LINENO" 5; }
   3865 else case e in #(
   3866   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3867 printf "%s\n" "yes" >&6; } ;;
   3868 esac
   3869 fi
   3870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3871 printf %s "checking for C compiler default output file name... " >&6; }
   3872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3873 printf "%s\n" "$ac_file" >&6; }
   3874 ac_exeext=$ac_cv_exeext
   3875 
   3876 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3877 ac_clean_files=$ac_clean_files_save
   3878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3879 printf %s "checking for suffix of executables... " >&6; }
   3880 if { { ac_try="$ac_link"
   3881 case "(($ac_try" in
   3882   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3883   *) ac_try_echo=$ac_try;;
   3884 esac
   3885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3886 printf "%s\n" "$ac_try_echo"; } >&5
   3887   (eval "$ac_link") 2>&5
   3888   ac_status=$?
   3889   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3890   test $ac_status = 0; }
   3891 then :
   3892   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   3893 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   3894 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   3895 # 'rm'.
   3896 for ac_file in conftest.exe conftest conftest.*; do
   3897   test -f "$ac_file" || continue
   3898   case $ac_file in
   3899     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3900     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3901 	  break;;
   3902     * ) break;;
   3903   esac
   3904 done
   3905 else case e in #(
   3906   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3907 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3908 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3909 See 'config.log' for more details" "$LINENO" 5; } ;;
   3910 esac
   3911 fi
   3912 rm -f conftest conftest$ac_cv_exeext
   3913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3914 printf "%s\n" "$ac_cv_exeext" >&6; }
   3915 
   3916 rm -f conftest.$ac_ext
   3917 EXEEXT=$ac_cv_exeext
   3918 ac_exeext=$EXEEXT
   3919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3920 /* end confdefs.h.  */
   3921 #include <stdio.h>
   3922 int
   3923 main (void)
   3924 {
   3925 FILE *f = fopen ("conftest.out", "w");
   3926  if (!f)
   3927   return 1;
   3928  return ferror (f) || fclose (f) != 0;
   3929 
   3930   ;
   3931   return 0;
   3932 }
   3933 _ACEOF
   3934 ac_clean_files="$ac_clean_files conftest.out"
   3935 # Check that the compiler produces executables we can run.  If not, either
   3936 # the compiler is broken, or we cross compile.
   3937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3938 printf %s "checking whether we are cross compiling... " >&6; }
   3939 if test "$cross_compiling" != yes; then
   3940   { { ac_try="$ac_link"
   3941 case "(($ac_try" in
   3942   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3943   *) ac_try_echo=$ac_try;;
   3944 esac
   3945 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3946 printf "%s\n" "$ac_try_echo"; } >&5
   3947   (eval "$ac_link") 2>&5
   3948   ac_status=$?
   3949   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3950   test $ac_status = 0; }
   3951   if { ac_try='./conftest$ac_cv_exeext'
   3952   { { case "(($ac_try" in
   3953   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3954   *) ac_try_echo=$ac_try;;
   3955 esac
   3956 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3957 printf "%s\n" "$ac_try_echo"; } >&5
   3958   (eval "$ac_try") 2>&5
   3959   ac_status=$?
   3960   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3961   test $ac_status = 0; }; }; then
   3962     cross_compiling=no
   3963   else
   3964     if test "$cross_compiling" = maybe; then
   3965 	cross_compiling=yes
   3966     else
   3967 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3968 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3969 as_fn_error 77 "cannot run C compiled programs.
   3970 If you meant to cross compile, use '--host'.
   3971 See 'config.log' for more details" "$LINENO" 5; }
   3972     fi
   3973   fi
   3974 fi
   3975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3976 printf "%s\n" "$cross_compiling" >&6; }
   3977 
   3978 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   3979   conftest.o conftest.obj conftest.out
   3980 ac_clean_files=$ac_clean_files_save
   3981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3982 printf %s "checking for suffix of object files... " >&6; }
   3983 if test ${ac_cv_objext+y}
   3984 then :
   3985   printf %s "(cached) " >&6
   3986 else case e in #(
   3987   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3988 /* end confdefs.h.  */
   3989 
   3990 int
   3991 main (void)
   3992 {
   3993 
   3994   ;
   3995   return 0;
   3996 }
   3997 _ACEOF
   3998 rm -f conftest.o conftest.obj
   3999 if { { ac_try="$ac_compile"
   4000 case "(($ac_try" in
   4001   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4002   *) ac_try_echo=$ac_try;;
   4003 esac
   4004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4005 printf "%s\n" "$ac_try_echo"; } >&5
   4006   (eval "$ac_compile") 2>&5
   4007   ac_status=$?
   4008   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4009   test $ac_status = 0; }
   4010 then :
   4011   for ac_file in conftest.o conftest.obj conftest.*; do
   4012   test -f "$ac_file" || continue;
   4013   case $ac_file in
   4014     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4015     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4016        break;;
   4017   esac
   4018 done
   4019 else case e in #(
   4020   e) printf "%s\n" "$as_me: failed program was:" >&5
   4021 sed 's/^/| /' conftest.$ac_ext >&5
   4022 
   4023 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4024 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4025 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4026 See 'config.log' for more details" "$LINENO" 5; } ;;
   4027 esac
   4028 fi
   4029 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   4030 esac
   4031 fi
   4032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4033 printf "%s\n" "$ac_cv_objext" >&6; }
   4034 OBJEXT=$ac_cv_objext
   4035 ac_objext=$OBJEXT
   4036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4037 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4038 if test ${ac_cv_c_compiler_gnu+y}
   4039 then :
   4040   printf %s "(cached) " >&6
   4041 else case e in #(
   4042   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4043 /* end confdefs.h.  */
   4044 
   4045 int
   4046 main (void)
   4047 {
   4048 #ifndef __GNUC__
   4049        choke me
   4050 #endif
   4051 
   4052   ;
   4053   return 0;
   4054 }
   4055 _ACEOF
   4056 if ac_fn_c_try_compile "$LINENO"
   4057 then :
   4058   ac_compiler_gnu=yes
   4059 else case e in #(
   4060   e) ac_compiler_gnu=no ;;
   4061 esac
   4062 fi
   4063 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4064 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4065  ;;
   4066 esac
   4067 fi
   4068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4069 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4071 
   4072 if test $ac_compiler_gnu = yes; then
   4073   GCC=yes
   4074 else
   4075   GCC=
   4076 fi
   4077 ac_test_CFLAGS=${CFLAGS+y}
   4078 ac_save_CFLAGS=$CFLAGS
   4079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4080 printf %s "checking whether $CC accepts -g... " >&6; }
   4081 if test ${ac_cv_prog_cc_g+y}
   4082 then :
   4083   printf %s "(cached) " >&6
   4084 else case e in #(
   4085   e) ac_save_c_werror_flag=$ac_c_werror_flag
   4086    ac_c_werror_flag=yes
   4087    ac_cv_prog_cc_g=no
   4088    CFLAGS="-g"
   4089    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4090 /* end confdefs.h.  */
   4091 
   4092 int
   4093 main (void)
   4094 {
   4095 
   4096   ;
   4097   return 0;
   4098 }
   4099 _ACEOF
   4100 if ac_fn_c_try_compile "$LINENO"
   4101 then :
   4102   ac_cv_prog_cc_g=yes
   4103 else case e in #(
   4104   e) CFLAGS=""
   4105       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4106 /* end confdefs.h.  */
   4107 
   4108 int
   4109 main (void)
   4110 {
   4111 
   4112   ;
   4113   return 0;
   4114 }
   4115 _ACEOF
   4116 if ac_fn_c_try_compile "$LINENO"
   4117 then :
   4118 
   4119 else case e in #(
   4120   e) ac_c_werror_flag=$ac_save_c_werror_flag
   4121 	 CFLAGS="-g"
   4122 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4123 /* end confdefs.h.  */
   4124 
   4125 int
   4126 main (void)
   4127 {
   4128 
   4129   ;
   4130   return 0;
   4131 }
   4132 _ACEOF
   4133 if ac_fn_c_try_compile "$LINENO"
   4134 then :
   4135   ac_cv_prog_cc_g=yes
   4136 fi
   4137 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4138 esac
   4139 fi
   4140 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4141 esac
   4142 fi
   4143 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4144    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   4145 esac
   4146 fi
   4147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4148 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4149 if test $ac_test_CFLAGS; then
   4150   CFLAGS=$ac_save_CFLAGS
   4151 elif test $ac_cv_prog_cc_g = yes; then
   4152   if test "$GCC" = yes; then
   4153     CFLAGS="-g -O2"
   4154   else
   4155     CFLAGS="-g"
   4156   fi
   4157 else
   4158   if test "$GCC" = yes; then
   4159     CFLAGS="-O2"
   4160   else
   4161     CFLAGS=
   4162   fi
   4163 fi
   4164 ac_prog_cc_stdc=no
   4165 if test x$ac_prog_cc_stdc = xno
   4166 then :
   4167   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4168 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4169 if test ${ac_cv_prog_cc_c11+y}
   4170 then :
   4171   printf %s "(cached) " >&6
   4172 else case e in #(
   4173   e) ac_cv_prog_cc_c11=no
   4174 ac_save_CC=$CC
   4175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4176 /* end confdefs.h.  */
   4177 $ac_c_conftest_c11_program
   4178 _ACEOF
   4179 for ac_arg in '' -std=gnu11
   4180 do
   4181   CC="$ac_save_CC $ac_arg"
   4182   if ac_fn_c_try_compile "$LINENO"
   4183 then :
   4184   ac_cv_prog_cc_c11=$ac_arg
   4185 fi
   4186 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4187   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4188 done
   4189 rm -f conftest.$ac_ext
   4190 CC=$ac_save_CC ;;
   4191 esac
   4192 fi
   4193 
   4194 if test "x$ac_cv_prog_cc_c11" = xno
   4195 then :
   4196   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4197 printf "%s\n" "unsupported" >&6; }
   4198 else case e in #(
   4199   e) if test "x$ac_cv_prog_cc_c11" = x
   4200 then :
   4201   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4202 printf "%s\n" "none needed" >&6; }
   4203 else case e in #(
   4204   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4205 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4206      CC="$CC $ac_cv_prog_cc_c11" ;;
   4207 esac
   4208 fi
   4209   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4210   ac_prog_cc_stdc=c11 ;;
   4211 esac
   4212 fi
   4213 fi
   4214 if test x$ac_prog_cc_stdc = xno
   4215 then :
   4216   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4217 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4218 if test ${ac_cv_prog_cc_c99+y}
   4219 then :
   4220   printf %s "(cached) " >&6
   4221 else case e in #(
   4222   e) ac_cv_prog_cc_c99=no
   4223 ac_save_CC=$CC
   4224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4225 /* end confdefs.h.  */
   4226 $ac_c_conftest_c99_program
   4227 _ACEOF
   4228 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4229 do
   4230   CC="$ac_save_CC $ac_arg"
   4231   if ac_fn_c_try_compile "$LINENO"
   4232 then :
   4233   ac_cv_prog_cc_c99=$ac_arg
   4234 fi
   4235 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4236   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4237 done
   4238 rm -f conftest.$ac_ext
   4239 CC=$ac_save_CC ;;
   4240 esac
   4241 fi
   4242 
   4243 if test "x$ac_cv_prog_cc_c99" = xno
   4244 then :
   4245   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4246 printf "%s\n" "unsupported" >&6; }
   4247 else case e in #(
   4248   e) if test "x$ac_cv_prog_cc_c99" = x
   4249 then :
   4250   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4251 printf "%s\n" "none needed" >&6; }
   4252 else case e in #(
   4253   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4254 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4255      CC="$CC $ac_cv_prog_cc_c99" ;;
   4256 esac
   4257 fi
   4258   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4259   ac_prog_cc_stdc=c99 ;;
   4260 esac
   4261 fi
   4262 fi
   4263 if test x$ac_prog_cc_stdc = xno
   4264 then :
   4265   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4266 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4267 if test ${ac_cv_prog_cc_c89+y}
   4268 then :
   4269   printf %s "(cached) " >&6
   4270 else case e in #(
   4271   e) ac_cv_prog_cc_c89=no
   4272 ac_save_CC=$CC
   4273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4274 /* end confdefs.h.  */
   4275 $ac_c_conftest_c89_program
   4276 _ACEOF
   4277 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4278 do
   4279   CC="$ac_save_CC $ac_arg"
   4280   if ac_fn_c_try_compile "$LINENO"
   4281 then :
   4282   ac_cv_prog_cc_c89=$ac_arg
   4283 fi
   4284 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4285   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4286 done
   4287 rm -f conftest.$ac_ext
   4288 CC=$ac_save_CC ;;
   4289 esac
   4290 fi
   4291 
   4292 if test "x$ac_cv_prog_cc_c89" = xno
   4293 then :
   4294   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4295 printf "%s\n" "unsupported" >&6; }
   4296 else case e in #(
   4297   e) if test "x$ac_cv_prog_cc_c89" = x
   4298 then :
   4299   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4300 printf "%s\n" "none needed" >&6; }
   4301 else case e in #(
   4302   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4303 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4304      CC="$CC $ac_cv_prog_cc_c89" ;;
   4305 esac
   4306 fi
   4307   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4308   ac_prog_cc_stdc=c89 ;;
   4309 esac
   4310 fi
   4311 fi
   4312 
   4313 ac_ext=c
   4314 ac_cpp='$CPP $CPPFLAGS'
   4315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4318 
   4319 
   4320   ac_ext=c
   4321 ac_cpp='$CPP $CPPFLAGS'
   4322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4326 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4327 if test ${am_cv_prog_cc_c_o+y}
   4328 then :
   4329   printf %s "(cached) " >&6
   4330 else case e in #(
   4331   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4332 /* end confdefs.h.  */
   4333 
   4334 int
   4335 main (void)
   4336 {
   4337 
   4338   ;
   4339   return 0;
   4340 }
   4341 _ACEOF
   4342   # Make sure it works both with $CC and with simple cc.
   4343   # Following AC_PROG_CC_C_O, we do the test twice because some
   4344   # compilers refuse to overwrite an existing .o file with -o,
   4345   # though they will create one.
   4346   am_cv_prog_cc_c_o=yes
   4347   for am_i in 1 2; do
   4348     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4349    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4350    ac_status=$?
   4351    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4352    (exit $ac_status); } \
   4353          && test -f conftest2.$ac_objext; then
   4354       : OK
   4355     else
   4356       am_cv_prog_cc_c_o=no
   4357       break
   4358     fi
   4359   done
   4360   rm -f core conftest*
   4361   unset am_i ;;
   4362 esac
   4363 fi
   4364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4365 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4366 if test "$am_cv_prog_cc_c_o" != yes; then
   4367    # Losing compiler, so override with the script.
   4368    # FIXME: It is wrong to rewrite CC.
   4369    # But if we don't then we get into trouble of one sort or another.
   4370    # A longer-term fix would be to have automake use am__CC in this case,
   4371    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4372    CC="$am_aux_dir/compile $CC"
   4373 fi
   4374 ac_ext=c
   4375 ac_cpp='$CPP $CPPFLAGS'
   4376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4379 
   4380 
   4381 depcc="$CC"   am_compiler_list=
   4382 
   4383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4384 printf %s "checking dependency style of $depcc... " >&6; }
   4385 if test ${am_cv_CC_dependencies_compiler_type+y}
   4386 then :
   4387   printf %s "(cached) " >&6
   4388 else case e in #(
   4389   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4390   # We make a subdir and do the tests there.  Otherwise we can end up
   4391   # making bogus files that we don't know about and never remove.  For
   4392   # instance it was reported that on HP-UX the gcc test will end up
   4393   # making a dummy file named 'D' -- because '-MD' means "put the output
   4394   # in D".
   4395   rm -rf conftest.dir
   4396   mkdir conftest.dir
   4397   # Copy depcomp to subdir because otherwise we won't find it if we're
   4398   # using a relative directory.
   4399   cp "$am_depcomp" conftest.dir
   4400   cd conftest.dir
   4401   # We will build objects and dependencies in a subdirectory because
   4402   # it helps to detect inapplicable dependency modes.  For instance
   4403   # both Tru64's cc and ICC support -MD to output dependencies as a
   4404   # side effect of compilation, but ICC will put the dependencies in
   4405   # the current directory while Tru64 will put them in the object
   4406   # directory.
   4407   mkdir sub
   4408 
   4409   am_cv_CC_dependencies_compiler_type=none
   4410   if test "$am_compiler_list" = ""; then
   4411      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4412   fi
   4413   am__universal=false
   4414   case " $depcc " in #(
   4415      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4416      esac
   4417 
   4418   for depmode in $am_compiler_list; do
   4419     # Setup a source with many dependencies, because some compilers
   4420     # like to wrap large dependency lists on column 80 (with \), and
   4421     # we should not choose a depcomp mode which is confused by this.
   4422     #
   4423     # We need to recreate these files for each test, as the compiler may
   4424     # overwrite some of them when testing with obscure command lines.
   4425     # This happens at least with the AIX C compiler.
   4426     : > sub/conftest.c
   4427     for i in 1 2 3 4 5 6; do
   4428       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4429       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4430       # Solaris 10 /bin/sh.
   4431       echo '/* dummy */' > sub/conftst$i.h
   4432     done
   4433     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4434 
   4435     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4436     # mode.  It turns out that the SunPro C++ compiler does not properly
   4437     # handle '-M -o', and we need to detect this.  Also, some Intel
   4438     # versions had trouble with output in subdirs.
   4439     am__obj=sub/conftest.${OBJEXT-o}
   4440     am__minus_obj="-o $am__obj"
   4441     case $depmode in
   4442     gcc)
   4443       # This depmode causes a compiler race in universal mode.
   4444       test "$am__universal" = false || continue
   4445       ;;
   4446     nosideeffect)
   4447       # After this tag, mechanisms are not by side-effect, so they'll
   4448       # only be used when explicitly requested.
   4449       if test "x$enable_dependency_tracking" = xyes; then
   4450 	continue
   4451       else
   4452 	break
   4453       fi
   4454       ;;
   4455     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4456       # This compiler won't grok '-c -o', but also, the minuso test has
   4457       # not run yet.  These depmodes are late enough in the game, and
   4458       # so weak that their functioning should not be impacted.
   4459       am__obj=conftest.${OBJEXT-o}
   4460       am__minus_obj=
   4461       ;;
   4462     none) break ;;
   4463     esac
   4464     if depmode=$depmode \
   4465        source=sub/conftest.c object=$am__obj \
   4466        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4467        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4468          >/dev/null 2>conftest.err &&
   4469        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4470        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4471        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4472        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4473       # icc doesn't choke on unknown options, it will just issue warnings
   4474       # or remarks (even with -Werror).  So we grep stderr for any message
   4475       # that says an option was ignored or not supported.
   4476       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4477       #   icc: Command line warning: ignoring option '-M'; no argument required
   4478       # The diagnosis changed in icc 8.0:
   4479       #   icc: Command line remark: option '-MP' not supported
   4480       if (grep 'ignoring option' conftest.err ||
   4481           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4482         am_cv_CC_dependencies_compiler_type=$depmode
   4483         break
   4484       fi
   4485     fi
   4486   done
   4487 
   4488   cd ..
   4489   rm -rf conftest.dir
   4490 else
   4491   am_cv_CC_dependencies_compiler_type=none
   4492 fi
   4493  ;;
   4494 esac
   4495 fi
   4496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4497 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4498 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4499 
   4500  if
   4501   test "x$enable_dependency_tracking" != xno \
   4502   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4503   am__fastdepCC_TRUE=
   4504   am__fastdepCC_FALSE='#'
   4505 else
   4506   am__fastdepCC_TRUE='#'
   4507   am__fastdepCC_FALSE=
   4508 fi
   4509 
   4510 
   4511 
   4512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4513 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4514 if test ${ac_cv_c_undeclared_builtin_options+y}
   4515 then :
   4516   printf %s "(cached) " >&6
   4517 else case e in #(
   4518   e) ac_save_CFLAGS=$CFLAGS
   4519    ac_cv_c_undeclared_builtin_options='cannot detect'
   4520    for ac_arg in '' -fno-builtin; do
   4521      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4522      # This test program should *not* compile successfully.
   4523      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4524 /* end confdefs.h.  */
   4525 
   4526 int
   4527 main (void)
   4528 {
   4529 (void) strchr;
   4530   ;
   4531   return 0;
   4532 }
   4533 _ACEOF
   4534 if ac_fn_c_try_compile "$LINENO"
   4535 then :
   4536 
   4537 else case e in #(
   4538   e) # This test program should compile successfully.
   4539         # No library function is consistently available on
   4540         # freestanding implementations, so test against a dummy
   4541         # declaration.  Include always-available headers on the
   4542         # off chance that they somehow elicit warnings.
   4543         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4544 /* end confdefs.h.  */
   4545 #include <float.h>
   4546 #include <limits.h>
   4547 #include <stdarg.h>
   4548 #include <stddef.h>
   4549 extern void ac_decl (int, char *);
   4550 
   4551 int
   4552 main (void)
   4553 {
   4554 (void) ac_decl (0, (char *) 0);
   4555   (void) ac_decl;
   4556 
   4557   ;
   4558   return 0;
   4559 }
   4560 _ACEOF
   4561 if ac_fn_c_try_compile "$LINENO"
   4562 then :
   4563   if test x"$ac_arg" = x
   4564 then :
   4565   ac_cv_c_undeclared_builtin_options='none needed'
   4566 else case e in #(
   4567   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   4568 esac
   4569 fi
   4570           break
   4571 fi
   4572 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4573 esac
   4574 fi
   4575 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4576     done
   4577     CFLAGS=$ac_save_CFLAGS
   4578    ;;
   4579 esac
   4580 fi
   4581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4582 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4583   case $ac_cv_c_undeclared_builtin_options in #(
   4584   'cannot detect') :
   4585     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4586 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4587 as_fn_error $? "cannot make $CC report undeclared builtins
   4588 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   4589   'none needed') :
   4590     ac_c_undeclared_builtin_options='' ;; #(
   4591   *) :
   4592     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4593 esac
   4594 
   4595 ac_header= ac_cache=
   4596 for ac_item in $ac_header_c_list
   4597 do
   4598   if test $ac_cache; then
   4599     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4600     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4601       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4602     fi
   4603     ac_header= ac_cache=
   4604   elif test $ac_header; then
   4605     ac_cache=$ac_item
   4606   else
   4607     ac_header=$ac_item
   4608   fi
   4609 done
   4610 
   4611 
   4612 
   4613 
   4614 
   4615 
   4616 
   4617 
   4618 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4619 then :
   4620 
   4621 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4622 
   4623 fi
   4624 
   4625 
   4626 
   4627 
   4628 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4629 if test "x$ac_cv_have_decl___clang__" = xyes
   4630 then :
   4631   CLANGCC="yes"
   4632 else case e in #(
   4633   e) CLANGCC="no" ;;
   4634 esac
   4635 fi
   4636 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4637 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4638 then :
   4639   INTELCC="yes"
   4640 else case e in #(
   4641   e) INTELCC="no" ;;
   4642 esac
   4643 fi
   4644 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4645 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4646 then :
   4647   SUNCC="yes"
   4648 else case e in #(
   4649   e) SUNCC="no" ;;
   4650 esac
   4651 fi
   4652 
   4653 
   4654 
   4655 
   4656 
   4657 
   4658 
   4659 
   4660 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4661 	if test -n "$ac_tool_prefix"; then
   4662   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4663 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4665 printf %s "checking for $ac_word... " >&6; }
   4666 if test ${ac_cv_path_PKG_CONFIG+y}
   4667 then :
   4668   printf %s "(cached) " >&6
   4669 else case e in #(
   4670   e) case $PKG_CONFIG in
   4671   [\\/]* | ?:[\\/]*)
   4672   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4673   ;;
   4674   *)
   4675   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4676 for as_dir in $PATH
   4677 do
   4678   IFS=$as_save_IFS
   4679   case $as_dir in #(((
   4680     '') as_dir=./ ;;
   4681     */) ;;
   4682     *) as_dir=$as_dir/ ;;
   4683   esac
   4684     for ac_exec_ext in '' $ac_executable_extensions; do
   4685   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4686     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4687     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4688     break 2
   4689   fi
   4690 done
   4691   done
   4692 IFS=$as_save_IFS
   4693 
   4694   ;;
   4695 esac ;;
   4696 esac
   4697 fi
   4698 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4699 if test -n "$PKG_CONFIG"; then
   4700   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4701 printf "%s\n" "$PKG_CONFIG" >&6; }
   4702 else
   4703   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4704 printf "%s\n" "no" >&6; }
   4705 fi
   4706 
   4707 
   4708 fi
   4709 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4710   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4711   # Extract the first word of "pkg-config", so it can be a program name with args.
   4712 set dummy pkg-config; ac_word=$2
   4713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4714 printf %s "checking for $ac_word... " >&6; }
   4715 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4716 then :
   4717   printf %s "(cached) " >&6
   4718 else case e in #(
   4719   e) case $ac_pt_PKG_CONFIG in
   4720   [\\/]* | ?:[\\/]*)
   4721   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4722   ;;
   4723   *)
   4724   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4725 for as_dir in $PATH
   4726 do
   4727   IFS=$as_save_IFS
   4728   case $as_dir in #(((
   4729     '') as_dir=./ ;;
   4730     */) ;;
   4731     *) as_dir=$as_dir/ ;;
   4732   esac
   4733     for ac_exec_ext in '' $ac_executable_extensions; do
   4734   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4735     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4736     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4737     break 2
   4738   fi
   4739 done
   4740   done
   4741 IFS=$as_save_IFS
   4742 
   4743   ;;
   4744 esac ;;
   4745 esac
   4746 fi
   4747 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4748 if test -n "$ac_pt_PKG_CONFIG"; then
   4749   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4750 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4751 else
   4752   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4753 printf "%s\n" "no" >&6; }
   4754 fi
   4755 
   4756   if test "x$ac_pt_PKG_CONFIG" = x; then
   4757     PKG_CONFIG=""
   4758   else
   4759     case $cross_compiling:$ac_tool_warned in
   4760 yes:)
   4761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4762 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4763 ac_tool_warned=yes ;;
   4764 esac
   4765     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4766   fi
   4767 else
   4768   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4769 fi
   4770 
   4771 fi
   4772 if test -n "$PKG_CONFIG"; then
   4773 	_pkg_min_version=0.9.0
   4774 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4775 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4776 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4777 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4778 printf "%s\n" "yes" >&6; }
   4779 	else
   4780 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4781 printf "%s\n" "no" >&6; }
   4782 		PKG_CONFIG=""
   4783 	fi
   4784 fi
   4785 
   4786 
   4787   # Make sure we can run config.sub.
   4788 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4789   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4790 
   4791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4792 printf %s "checking build system type... " >&6; }
   4793 if test ${ac_cv_build+y}
   4794 then :
   4795   printf %s "(cached) " >&6
   4796 else case e in #(
   4797   e) ac_build_alias=$build_alias
   4798 test "x$ac_build_alias" = x &&
   4799   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4800 test "x$ac_build_alias" = x &&
   4801   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4802 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4803   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4804  ;;
   4805 esac
   4806 fi
   4807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4808 printf "%s\n" "$ac_cv_build" >&6; }
   4809 case $ac_cv_build in
   4810 *-*-*) ;;
   4811 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4812 esac
   4813 build=$ac_cv_build
   4814 ac_save_IFS=$IFS; IFS='-'
   4815 set x $ac_cv_build
   4816 shift
   4817 build_cpu=$1
   4818 build_vendor=$2
   4819 shift; shift
   4820 # Remember, the first character of IFS is used to create $*,
   4821 # except with old shells:
   4822 build_os=$*
   4823 IFS=$ac_save_IFS
   4824 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4825 
   4826 
   4827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4828 printf %s "checking host system type... " >&6; }
   4829 if test ${ac_cv_host+y}
   4830 then :
   4831   printf %s "(cached) " >&6
   4832 else case e in #(
   4833   e) if test "x$host_alias" = x; then
   4834   ac_cv_host=$ac_cv_build
   4835 else
   4836   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4837     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4838 fi
   4839  ;;
   4840 esac
   4841 fi
   4842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4843 printf "%s\n" "$ac_cv_host" >&6; }
   4844 case $ac_cv_host in
   4845 *-*-*) ;;
   4846 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4847 esac
   4848 host=$ac_cv_host
   4849 ac_save_IFS=$IFS; IFS='-'
   4850 set x $ac_cv_host
   4851 shift
   4852 host_cpu=$1
   4853 host_vendor=$2
   4854 shift; shift
   4855 # Remember, the first character of IFS is used to create $*,
   4856 # except with old shells:
   4857 host_os=$*
   4858 IFS=$ac_save_IFS
   4859 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4860 
   4861 
   4862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4863 printf %s "checking for a sed that does not truncate output... " >&6; }
   4864 if test ${ac_cv_path_SED+y}
   4865 then :
   4866   printf %s "(cached) " >&6
   4867 else case e in #(
   4868   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4869      for ac_i in 1 2 3 4 5 6 7; do
   4870        ac_script="$ac_script$as_nl$ac_script"
   4871      done
   4872      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4873      { ac_script=; unset ac_script;}
   4874      if test -z "$SED"; then
   4875   ac_path_SED_found=false
   4876   # Loop through the user's path and test for each of PROGNAME-LIST
   4877   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4878 for as_dir in $PATH
   4879 do
   4880   IFS=$as_save_IFS
   4881   case $as_dir in #(((
   4882     '') as_dir=./ ;;
   4883     */) ;;
   4884     *) as_dir=$as_dir/ ;;
   4885   esac
   4886     for ac_prog in sed gsed
   4887    do
   4888     for ac_exec_ext in '' $ac_executable_extensions; do
   4889       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4890       as_fn_executable_p "$ac_path_SED" || continue
   4891 # Check for GNU ac_path_SED and select it if it is found.
   4892   # Check for GNU $ac_path_SED
   4893 case `"$ac_path_SED" --version 2>&1` in #(
   4894 *GNU*)
   4895   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4896 #(
   4897 *)
   4898   ac_count=0
   4899   printf %s 0123456789 >"conftest.in"
   4900   while :
   4901   do
   4902     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4903     mv "conftest.tmp" "conftest.in"
   4904     cp "conftest.in" "conftest.nl"
   4905     printf "%s\n" '' >> "conftest.nl"
   4906     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4907     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4908     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4909     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4910       # Best one so far, save it but keep looking for a better one
   4911       ac_cv_path_SED="$ac_path_SED"
   4912       ac_path_SED_max=$ac_count
   4913     fi
   4914     # 10*(2^10) chars as input seems more than enough
   4915     test $ac_count -gt 10 && break
   4916   done
   4917   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4918 esac
   4919 
   4920       $ac_path_SED_found && break 3
   4921     done
   4922   done
   4923   done
   4924 IFS=$as_save_IFS
   4925   if test -z "$ac_cv_path_SED"; then
   4926     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4927   fi
   4928 else
   4929   ac_cv_path_SED=$SED
   4930 fi
   4931  ;;
   4932 esac
   4933 fi
   4934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4935 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4936  SED="$ac_cv_path_SED"
   4937   rm -f conftest.sed
   4938 
   4939 
   4940 
   4941 
   4942 
   4943 
   4944 # Check whether --enable-selective-werror was given.
   4945 if test ${enable_selective_werror+y}
   4946 then :
   4947   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4948 else case e in #(
   4949   e) SELECTIVE_WERROR=yes ;;
   4950 esac
   4951 fi
   4952 
   4953 
   4954 
   4955 
   4956 
   4957 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4958 if test "x$SUNCC" = "xyes"; then
   4959     BASE_CFLAGS="-v"
   4960 else
   4961     BASE_CFLAGS=""
   4962 fi
   4963 
   4964 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4965 
   4966 
   4967 
   4968 
   4969 
   4970 
   4971 
   4972 
   4973 
   4974 
   4975 
   4976 
   4977 
   4978 xorg_testset_save_CFLAGS="$CFLAGS"
   4979 
   4980 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4981 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4982 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4983 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4984 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   4985 then :
   4986   printf %s "(cached) " >&6
   4987 else case e in #(
   4988   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4989 /* end confdefs.h.  */
   4990 int i;
   4991 _ACEOF
   4992 if ac_fn_c_try_compile "$LINENO"
   4993 then :
   4994   xorg_cv_cc_flag_unknown_warning_option=yes
   4995 else case e in #(
   4996   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   4997 esac
   4998 fi
   4999 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5000 esac
   5001 fi
   5002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5003 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5004 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5005 	CFLAGS="$xorg_testset_save_CFLAGS"
   5006 fi
   5007 
   5008 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5009 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5010 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5011 	fi
   5012 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5013 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5014 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5015 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5016 then :
   5017   printf %s "(cached) " >&6
   5018 else case e in #(
   5019   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5020 /* end confdefs.h.  */
   5021 int i;
   5022 _ACEOF
   5023 if ac_fn_c_try_compile "$LINENO"
   5024 then :
   5025   xorg_cv_cc_flag_unused_command_line_argument=yes
   5026 else case e in #(
   5027   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5028 esac
   5029 fi
   5030 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5031 esac
   5032 fi
   5033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5034 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5035 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5036 	CFLAGS="$xorg_testset_save_CFLAGS"
   5037 fi
   5038 
   5039 found="no"
   5040 
   5041 	if test $found = "no" ; then
   5042 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5043 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5044 		fi
   5045 
   5046 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5047 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5048 		fi
   5049 
   5050 		CFLAGS="$CFLAGS -Wall"
   5051 
   5052 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5053 printf %s "checking if $CC supports -Wall... " >&6; }
   5054 		cacheid=xorg_cv_cc_flag__Wall
   5055 		if eval test \${$cacheid+y}
   5056 then :
   5057   printf %s "(cached) " >&6
   5058 else case e in #(
   5059   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5060 /* end confdefs.h.  */
   5061 int i;
   5062 int
   5063 main (void)
   5064 {
   5065 
   5066   ;
   5067   return 0;
   5068 }
   5069 _ACEOF
   5070 if ac_fn_c_try_link "$LINENO"
   5071 then :
   5072   eval $cacheid=yes
   5073 else case e in #(
   5074   e) eval $cacheid=no ;;
   5075 esac
   5076 fi
   5077 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5078     conftest$ac_exeext conftest.$ac_ext ;;
   5079 esac
   5080 fi
   5081 
   5082 
   5083 		CFLAGS="$xorg_testset_save_CFLAGS"
   5084 
   5085 		eval supported=\$$cacheid
   5086 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5087 printf "%s\n" "$supported" >&6; }
   5088 		if test "$supported" = "yes" ; then
   5089 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5090 			found="yes"
   5091 		fi
   5092 	fi
   5093 
   5094 
   5095 
   5096 
   5097 
   5098 
   5099 
   5100 
   5101 
   5102 
   5103 
   5104 
   5105 
   5106 
   5107 
   5108 xorg_testset_save_CFLAGS="$CFLAGS"
   5109 
   5110 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5111 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5112 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5113 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5114 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5115 then :
   5116   printf %s "(cached) " >&6
   5117 else case e in #(
   5118   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5119 /* end confdefs.h.  */
   5120 int i;
   5121 _ACEOF
   5122 if ac_fn_c_try_compile "$LINENO"
   5123 then :
   5124   xorg_cv_cc_flag_unknown_warning_option=yes
   5125 else case e in #(
   5126   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5127 esac
   5128 fi
   5129 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5130 esac
   5131 fi
   5132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5133 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5134 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5135 	CFLAGS="$xorg_testset_save_CFLAGS"
   5136 fi
   5137 
   5138 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5139 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5140 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5141 	fi
   5142 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5143 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5144 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5145 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5146 then :
   5147   printf %s "(cached) " >&6
   5148 else case e in #(
   5149   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5150 /* end confdefs.h.  */
   5151 int i;
   5152 _ACEOF
   5153 if ac_fn_c_try_compile "$LINENO"
   5154 then :
   5155   xorg_cv_cc_flag_unused_command_line_argument=yes
   5156 else case e in #(
   5157   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5158 esac
   5159 fi
   5160 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5161 esac
   5162 fi
   5163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5164 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5165 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5166 	CFLAGS="$xorg_testset_save_CFLAGS"
   5167 fi
   5168 
   5169 found="no"
   5170 
   5171 	if test $found = "no" ; then
   5172 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5173 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5174 		fi
   5175 
   5176 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5177 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5178 		fi
   5179 
   5180 		CFLAGS="$CFLAGS -Wpointer-arith"
   5181 
   5182 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5183 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5184 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5185 		if eval test \${$cacheid+y}
   5186 then :
   5187   printf %s "(cached) " >&6
   5188 else case e in #(
   5189   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5190 /* end confdefs.h.  */
   5191 int i;
   5192 int
   5193 main (void)
   5194 {
   5195 
   5196   ;
   5197   return 0;
   5198 }
   5199 _ACEOF
   5200 if ac_fn_c_try_link "$LINENO"
   5201 then :
   5202   eval $cacheid=yes
   5203 else case e in #(
   5204   e) eval $cacheid=no ;;
   5205 esac
   5206 fi
   5207 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5208     conftest$ac_exeext conftest.$ac_ext ;;
   5209 esac
   5210 fi
   5211 
   5212 
   5213 		CFLAGS="$xorg_testset_save_CFLAGS"
   5214 
   5215 		eval supported=\$$cacheid
   5216 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5217 printf "%s\n" "$supported" >&6; }
   5218 		if test "$supported" = "yes" ; then
   5219 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5220 			found="yes"
   5221 		fi
   5222 	fi
   5223 
   5224 
   5225 
   5226 
   5227 
   5228 
   5229 
   5230 
   5231 
   5232 
   5233 
   5234 
   5235 
   5236 
   5237 
   5238 xorg_testset_save_CFLAGS="$CFLAGS"
   5239 
   5240 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5241 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5242 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5243 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5244 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5245 then :
   5246   printf %s "(cached) " >&6
   5247 else case e in #(
   5248   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5249 /* end confdefs.h.  */
   5250 int i;
   5251 _ACEOF
   5252 if ac_fn_c_try_compile "$LINENO"
   5253 then :
   5254   xorg_cv_cc_flag_unknown_warning_option=yes
   5255 else case e in #(
   5256   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5257 esac
   5258 fi
   5259 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5260 esac
   5261 fi
   5262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5263 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5264 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5265 	CFLAGS="$xorg_testset_save_CFLAGS"
   5266 fi
   5267 
   5268 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5269 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5270 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5271 	fi
   5272 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5273 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5274 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5275 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5276 then :
   5277   printf %s "(cached) " >&6
   5278 else case e in #(
   5279   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5280 /* end confdefs.h.  */
   5281 int i;
   5282 _ACEOF
   5283 if ac_fn_c_try_compile "$LINENO"
   5284 then :
   5285   xorg_cv_cc_flag_unused_command_line_argument=yes
   5286 else case e in #(
   5287   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5288 esac
   5289 fi
   5290 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5291 esac
   5292 fi
   5293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5294 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5295 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5296 	CFLAGS="$xorg_testset_save_CFLAGS"
   5297 fi
   5298 
   5299 found="no"
   5300 
   5301 	if test $found = "no" ; then
   5302 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5303 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5304 		fi
   5305 
   5306 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5307 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5308 		fi
   5309 
   5310 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5311 
   5312 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5313 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5314 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5315 		if eval test \${$cacheid+y}
   5316 then :
   5317   printf %s "(cached) " >&6
   5318 else case e in #(
   5319   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5320 /* end confdefs.h.  */
   5321 int i;
   5322 int
   5323 main (void)
   5324 {
   5325 
   5326   ;
   5327   return 0;
   5328 }
   5329 _ACEOF
   5330 if ac_fn_c_try_link "$LINENO"
   5331 then :
   5332   eval $cacheid=yes
   5333 else case e in #(
   5334   e) eval $cacheid=no ;;
   5335 esac
   5336 fi
   5337 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5338     conftest$ac_exeext conftest.$ac_ext ;;
   5339 esac
   5340 fi
   5341 
   5342 
   5343 		CFLAGS="$xorg_testset_save_CFLAGS"
   5344 
   5345 		eval supported=\$$cacheid
   5346 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5347 printf "%s\n" "$supported" >&6; }
   5348 		if test "$supported" = "yes" ; then
   5349 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5350 			found="yes"
   5351 		fi
   5352 	fi
   5353 
   5354 
   5355 
   5356 
   5357 
   5358 
   5359 
   5360 
   5361 
   5362 
   5363 
   5364 
   5365 
   5366 
   5367 
   5368 xorg_testset_save_CFLAGS="$CFLAGS"
   5369 
   5370 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5371 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5372 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5373 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5374 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5375 then :
   5376   printf %s "(cached) " >&6
   5377 else case e in #(
   5378   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5379 /* end confdefs.h.  */
   5380 int i;
   5381 _ACEOF
   5382 if ac_fn_c_try_compile "$LINENO"
   5383 then :
   5384   xorg_cv_cc_flag_unknown_warning_option=yes
   5385 else case e in #(
   5386   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5387 esac
   5388 fi
   5389 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5390 esac
   5391 fi
   5392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5393 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5394 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5395 	CFLAGS="$xorg_testset_save_CFLAGS"
   5396 fi
   5397 
   5398 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5399 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5400 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5401 	fi
   5402 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5403 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5404 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5405 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5406 then :
   5407   printf %s "(cached) " >&6
   5408 else case e in #(
   5409   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5410 /* end confdefs.h.  */
   5411 int i;
   5412 _ACEOF
   5413 if ac_fn_c_try_compile "$LINENO"
   5414 then :
   5415   xorg_cv_cc_flag_unused_command_line_argument=yes
   5416 else case e in #(
   5417   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5418 esac
   5419 fi
   5420 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5421 esac
   5422 fi
   5423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5424 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5425 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5426 	CFLAGS="$xorg_testset_save_CFLAGS"
   5427 fi
   5428 
   5429 found="no"
   5430 
   5431 	if test $found = "no" ; then
   5432 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5433 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5434 		fi
   5435 
   5436 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5437 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5438 		fi
   5439 
   5440 		CFLAGS="$CFLAGS -Wformat=2"
   5441 
   5442 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5443 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5444 		cacheid=xorg_cv_cc_flag__Wformat_2
   5445 		if eval test \${$cacheid+y}
   5446 then :
   5447   printf %s "(cached) " >&6
   5448 else case e in #(
   5449   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5450 /* end confdefs.h.  */
   5451 int i;
   5452 int
   5453 main (void)
   5454 {
   5455 
   5456   ;
   5457   return 0;
   5458 }
   5459 _ACEOF
   5460 if ac_fn_c_try_link "$LINENO"
   5461 then :
   5462   eval $cacheid=yes
   5463 else case e in #(
   5464   e) eval $cacheid=no ;;
   5465 esac
   5466 fi
   5467 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5468     conftest$ac_exeext conftest.$ac_ext ;;
   5469 esac
   5470 fi
   5471 
   5472 
   5473 		CFLAGS="$xorg_testset_save_CFLAGS"
   5474 
   5475 		eval supported=\$$cacheid
   5476 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5477 printf "%s\n" "$supported" >&6; }
   5478 		if test "$supported" = "yes" ; then
   5479 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5480 			found="yes"
   5481 		fi
   5482 	fi
   5483 
   5484 	if test $found = "no" ; then
   5485 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5486 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5487 		fi
   5488 
   5489 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5490 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5491 		fi
   5492 
   5493 		CFLAGS="$CFLAGS -Wformat"
   5494 
   5495 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5496 printf %s "checking if $CC supports -Wformat... " >&6; }
   5497 		cacheid=xorg_cv_cc_flag__Wformat
   5498 		if eval test \${$cacheid+y}
   5499 then :
   5500   printf %s "(cached) " >&6
   5501 else case e in #(
   5502   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5503 /* end confdefs.h.  */
   5504 int i;
   5505 int
   5506 main (void)
   5507 {
   5508 
   5509   ;
   5510   return 0;
   5511 }
   5512 _ACEOF
   5513 if ac_fn_c_try_link "$LINENO"
   5514 then :
   5515   eval $cacheid=yes
   5516 else case e in #(
   5517   e) eval $cacheid=no ;;
   5518 esac
   5519 fi
   5520 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5521     conftest$ac_exeext conftest.$ac_ext ;;
   5522 esac
   5523 fi
   5524 
   5525 
   5526 		CFLAGS="$xorg_testset_save_CFLAGS"
   5527 
   5528 		eval supported=\$$cacheid
   5529 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5530 printf "%s\n" "$supported" >&6; }
   5531 		if test "$supported" = "yes" ; then
   5532 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5533 			found="yes"
   5534 		fi
   5535 	fi
   5536 
   5537 
   5538 
   5539 
   5540 
   5541 
   5542 
   5543 
   5544 
   5545 
   5546 
   5547 
   5548 
   5549 
   5550 
   5551 
   5552 
   5553 xorg_testset_save_CFLAGS="$CFLAGS"
   5554 
   5555 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5556 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5557 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5558 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5559 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5560 then :
   5561   printf %s "(cached) " >&6
   5562 else case e in #(
   5563   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5564 /* end confdefs.h.  */
   5565 int i;
   5566 _ACEOF
   5567 if ac_fn_c_try_compile "$LINENO"
   5568 then :
   5569   xorg_cv_cc_flag_unknown_warning_option=yes
   5570 else case e in #(
   5571   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5572 esac
   5573 fi
   5574 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5575 esac
   5576 fi
   5577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5578 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5579 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5580 	CFLAGS="$xorg_testset_save_CFLAGS"
   5581 fi
   5582 
   5583 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5584 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5585 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5586 	fi
   5587 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5588 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5589 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5590 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5591 then :
   5592   printf %s "(cached) " >&6
   5593 else case e in #(
   5594   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5595 /* end confdefs.h.  */
   5596 int i;
   5597 _ACEOF
   5598 if ac_fn_c_try_compile "$LINENO"
   5599 then :
   5600   xorg_cv_cc_flag_unused_command_line_argument=yes
   5601 else case e in #(
   5602   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5603 esac
   5604 fi
   5605 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5606 esac
   5607 fi
   5608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5609 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5610 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5611 	CFLAGS="$xorg_testset_save_CFLAGS"
   5612 fi
   5613 
   5614 found="no"
   5615 
   5616 	if test $found = "no" ; then
   5617 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5618 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5619 		fi
   5620 
   5621 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5622 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5623 		fi
   5624 
   5625 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5626 
   5627 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5628 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5629 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5630 		if eval test \${$cacheid+y}
   5631 then :
   5632   printf %s "(cached) " >&6
   5633 else case e in #(
   5634   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5635 /* end confdefs.h.  */
   5636 int i;
   5637 int
   5638 main (void)
   5639 {
   5640 
   5641   ;
   5642   return 0;
   5643 }
   5644 _ACEOF
   5645 if ac_fn_c_try_link "$LINENO"
   5646 then :
   5647   eval $cacheid=yes
   5648 else case e in #(
   5649   e) eval $cacheid=no ;;
   5650 esac
   5651 fi
   5652 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5653     conftest$ac_exeext conftest.$ac_ext ;;
   5654 esac
   5655 fi
   5656 
   5657 
   5658 		CFLAGS="$xorg_testset_save_CFLAGS"
   5659 
   5660 		eval supported=\$$cacheid
   5661 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5662 printf "%s\n" "$supported" >&6; }
   5663 		if test "$supported" = "yes" ; then
   5664 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5665 			found="yes"
   5666 		fi
   5667 	fi
   5668 
   5669 
   5670 
   5671 
   5672 
   5673 
   5674 
   5675 
   5676 
   5677 
   5678 
   5679 
   5680 
   5681 
   5682 
   5683 xorg_testset_save_CFLAGS="$CFLAGS"
   5684 
   5685 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5686 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5687 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5688 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5689 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5690 then :
   5691   printf %s "(cached) " >&6
   5692 else case e in #(
   5693   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5694 /* end confdefs.h.  */
   5695 int i;
   5696 _ACEOF
   5697 if ac_fn_c_try_compile "$LINENO"
   5698 then :
   5699   xorg_cv_cc_flag_unknown_warning_option=yes
   5700 else case e in #(
   5701   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5702 esac
   5703 fi
   5704 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5705 esac
   5706 fi
   5707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5708 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5709 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5710 	CFLAGS="$xorg_testset_save_CFLAGS"
   5711 fi
   5712 
   5713 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5714 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5715 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5716 	fi
   5717 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5718 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5719 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5720 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5721 then :
   5722   printf %s "(cached) " >&6
   5723 else case e in #(
   5724   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5725 /* end confdefs.h.  */
   5726 int i;
   5727 _ACEOF
   5728 if ac_fn_c_try_compile "$LINENO"
   5729 then :
   5730   xorg_cv_cc_flag_unused_command_line_argument=yes
   5731 else case e in #(
   5732   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5733 esac
   5734 fi
   5735 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5736 esac
   5737 fi
   5738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5739 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5740 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5741 	CFLAGS="$xorg_testset_save_CFLAGS"
   5742 fi
   5743 
   5744 found="no"
   5745 
   5746 	if test $found = "no" ; then
   5747 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5748 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5749 		fi
   5750 
   5751 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5752 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5753 		fi
   5754 
   5755 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5756 
   5757 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5758 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5759 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5760 		if eval test \${$cacheid+y}
   5761 then :
   5762   printf %s "(cached) " >&6
   5763 else case e in #(
   5764   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5765 /* end confdefs.h.  */
   5766 int i;
   5767 int
   5768 main (void)
   5769 {
   5770 
   5771   ;
   5772   return 0;
   5773 }
   5774 _ACEOF
   5775 if ac_fn_c_try_link "$LINENO"
   5776 then :
   5777   eval $cacheid=yes
   5778 else case e in #(
   5779   e) eval $cacheid=no ;;
   5780 esac
   5781 fi
   5782 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5783     conftest$ac_exeext conftest.$ac_ext ;;
   5784 esac
   5785 fi
   5786 
   5787 
   5788 		CFLAGS="$xorg_testset_save_CFLAGS"
   5789 
   5790 		eval supported=\$$cacheid
   5791 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5792 printf "%s\n" "$supported" >&6; }
   5793 		if test "$supported" = "yes" ; then
   5794 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5795 			found="yes"
   5796 		fi
   5797 	fi
   5798 
   5799 
   5800 
   5801 
   5802 
   5803 
   5804 
   5805 
   5806 
   5807 
   5808 
   5809 
   5810 
   5811 
   5812 
   5813 xorg_testset_save_CFLAGS="$CFLAGS"
   5814 
   5815 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5816 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5817 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5818 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5819 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5820 then :
   5821   printf %s "(cached) " >&6
   5822 else case e in #(
   5823   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5824 /* end confdefs.h.  */
   5825 int i;
   5826 _ACEOF
   5827 if ac_fn_c_try_compile "$LINENO"
   5828 then :
   5829   xorg_cv_cc_flag_unknown_warning_option=yes
   5830 else case e in #(
   5831   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5832 esac
   5833 fi
   5834 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5835 esac
   5836 fi
   5837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5838 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5839 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5840 	CFLAGS="$xorg_testset_save_CFLAGS"
   5841 fi
   5842 
   5843 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5844 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5845 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5846 	fi
   5847 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5848 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5849 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5850 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5851 then :
   5852   printf %s "(cached) " >&6
   5853 else case e in #(
   5854   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5855 /* end confdefs.h.  */
   5856 int i;
   5857 _ACEOF
   5858 if ac_fn_c_try_compile "$LINENO"
   5859 then :
   5860   xorg_cv_cc_flag_unused_command_line_argument=yes
   5861 else case e in #(
   5862   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5863 esac
   5864 fi
   5865 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5866 esac
   5867 fi
   5868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5869 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5870 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5871 	CFLAGS="$xorg_testset_save_CFLAGS"
   5872 fi
   5873 
   5874 found="no"
   5875 
   5876 	if test $found = "no" ; then
   5877 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5878 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5879 		fi
   5880 
   5881 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5882 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5883 		fi
   5884 
   5885 		CFLAGS="$CFLAGS -Wnested-externs"
   5886 
   5887 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5888 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   5889 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5890 		if eval test \${$cacheid+y}
   5891 then :
   5892   printf %s "(cached) " >&6
   5893 else case e in #(
   5894   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5895 /* end confdefs.h.  */
   5896 int i;
   5897 int
   5898 main (void)
   5899 {
   5900 
   5901   ;
   5902   return 0;
   5903 }
   5904 _ACEOF
   5905 if ac_fn_c_try_link "$LINENO"
   5906 then :
   5907   eval $cacheid=yes
   5908 else case e in #(
   5909   e) eval $cacheid=no ;;
   5910 esac
   5911 fi
   5912 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5913     conftest$ac_exeext conftest.$ac_ext ;;
   5914 esac
   5915 fi
   5916 
   5917 
   5918 		CFLAGS="$xorg_testset_save_CFLAGS"
   5919 
   5920 		eval supported=\$$cacheid
   5921 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5922 printf "%s\n" "$supported" >&6; }
   5923 		if test "$supported" = "yes" ; then
   5924 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5925 			found="yes"
   5926 		fi
   5927 	fi
   5928 
   5929 
   5930 
   5931 
   5932 
   5933 
   5934 
   5935 
   5936 
   5937 
   5938 
   5939 
   5940 
   5941 
   5942 
   5943 xorg_testset_save_CFLAGS="$CFLAGS"
   5944 
   5945 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5946 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5947 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5948 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5949 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5950 then :
   5951   printf %s "(cached) " >&6
   5952 else case e in #(
   5953   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5954 /* end confdefs.h.  */
   5955 int i;
   5956 _ACEOF
   5957 if ac_fn_c_try_compile "$LINENO"
   5958 then :
   5959   xorg_cv_cc_flag_unknown_warning_option=yes
   5960 else case e in #(
   5961   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5962 esac
   5963 fi
   5964 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5965 esac
   5966 fi
   5967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5968 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5969 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5970 	CFLAGS="$xorg_testset_save_CFLAGS"
   5971 fi
   5972 
   5973 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5974 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5975 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5976 	fi
   5977 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5978 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5979 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5980 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5981 then :
   5982   printf %s "(cached) " >&6
   5983 else case e in #(
   5984   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5985 /* end confdefs.h.  */
   5986 int i;
   5987 _ACEOF
   5988 if ac_fn_c_try_compile "$LINENO"
   5989 then :
   5990   xorg_cv_cc_flag_unused_command_line_argument=yes
   5991 else case e in #(
   5992   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5993 esac
   5994 fi
   5995 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5996 esac
   5997 fi
   5998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5999 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6000 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6001 	CFLAGS="$xorg_testset_save_CFLAGS"
   6002 fi
   6003 
   6004 found="no"
   6005 
   6006 	if test $found = "no" ; then
   6007 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6008 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6009 		fi
   6010 
   6011 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6012 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6013 		fi
   6014 
   6015 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6016 
   6017 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6018 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   6019 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6020 		if eval test \${$cacheid+y}
   6021 then :
   6022   printf %s "(cached) " >&6
   6023 else case e in #(
   6024   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6025 /* end confdefs.h.  */
   6026 int i;
   6027 int
   6028 main (void)
   6029 {
   6030 
   6031   ;
   6032   return 0;
   6033 }
   6034 _ACEOF
   6035 if ac_fn_c_try_link "$LINENO"
   6036 then :
   6037   eval $cacheid=yes
   6038 else case e in #(
   6039   e) eval $cacheid=no ;;
   6040 esac
   6041 fi
   6042 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6043     conftest$ac_exeext conftest.$ac_ext ;;
   6044 esac
   6045 fi
   6046 
   6047 
   6048 		CFLAGS="$xorg_testset_save_CFLAGS"
   6049 
   6050 		eval supported=\$$cacheid
   6051 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6052 printf "%s\n" "$supported" >&6; }
   6053 		if test "$supported" = "yes" ; then
   6054 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6055 			found="yes"
   6056 		fi
   6057 	fi
   6058 
   6059 
   6060 
   6061 
   6062 
   6063 
   6064 
   6065 
   6066 
   6067 
   6068 
   6069 
   6070 
   6071 
   6072 
   6073 xorg_testset_save_CFLAGS="$CFLAGS"
   6074 
   6075 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6076 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6077 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6078 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6079 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6080 then :
   6081   printf %s "(cached) " >&6
   6082 else case e in #(
   6083   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6084 /* end confdefs.h.  */
   6085 int i;
   6086 _ACEOF
   6087 if ac_fn_c_try_compile "$LINENO"
   6088 then :
   6089   xorg_cv_cc_flag_unknown_warning_option=yes
   6090 else case e in #(
   6091   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6092 esac
   6093 fi
   6094 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6095 esac
   6096 fi
   6097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6098 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6099 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6100 	CFLAGS="$xorg_testset_save_CFLAGS"
   6101 fi
   6102 
   6103 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6104 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6105 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6106 	fi
   6107 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6108 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6109 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6110 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6111 then :
   6112   printf %s "(cached) " >&6
   6113 else case e in #(
   6114   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6115 /* end confdefs.h.  */
   6116 int i;
   6117 _ACEOF
   6118 if ac_fn_c_try_compile "$LINENO"
   6119 then :
   6120   xorg_cv_cc_flag_unused_command_line_argument=yes
   6121 else case e in #(
   6122   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6123 esac
   6124 fi
   6125 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6126 esac
   6127 fi
   6128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6129 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6130 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6131 	CFLAGS="$xorg_testset_save_CFLAGS"
   6132 fi
   6133 
   6134 found="no"
   6135 
   6136 	if test $found = "no" ; then
   6137 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6138 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6139 		fi
   6140 
   6141 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6142 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6143 		fi
   6144 
   6145 		CFLAGS="$CFLAGS -Wold-style-definition"
   6146 
   6147 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6148 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6149 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6150 		if eval test \${$cacheid+y}
   6151 then :
   6152   printf %s "(cached) " >&6
   6153 else case e in #(
   6154   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6155 /* end confdefs.h.  */
   6156 int i;
   6157 int
   6158 main (void)
   6159 {
   6160 
   6161   ;
   6162   return 0;
   6163 }
   6164 _ACEOF
   6165 if ac_fn_c_try_link "$LINENO"
   6166 then :
   6167   eval $cacheid=yes
   6168 else case e in #(
   6169   e) eval $cacheid=no ;;
   6170 esac
   6171 fi
   6172 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6173     conftest$ac_exeext conftest.$ac_ext ;;
   6174 esac
   6175 fi
   6176 
   6177 
   6178 		CFLAGS="$xorg_testset_save_CFLAGS"
   6179 
   6180 		eval supported=\$$cacheid
   6181 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6182 printf "%s\n" "$supported" >&6; }
   6183 		if test "$supported" = "yes" ; then
   6184 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6185 			found="yes"
   6186 		fi
   6187 	fi
   6188 
   6189 	if test $found = "no" ; then
   6190 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6191 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6192 		fi
   6193 
   6194 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6195 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6196 		fi
   6197 
   6198 		CFLAGS="$CFLAGS -fd"
   6199 
   6200 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6201 printf %s "checking if $CC supports -fd... " >&6; }
   6202 		cacheid=xorg_cv_cc_flag__fd
   6203 		if eval test \${$cacheid+y}
   6204 then :
   6205   printf %s "(cached) " >&6
   6206 else case e in #(
   6207   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6208 /* end confdefs.h.  */
   6209 int i;
   6210 int
   6211 main (void)
   6212 {
   6213 
   6214   ;
   6215   return 0;
   6216 }
   6217 _ACEOF
   6218 if ac_fn_c_try_link "$LINENO"
   6219 then :
   6220   eval $cacheid=yes
   6221 else case e in #(
   6222   e) eval $cacheid=no ;;
   6223 esac
   6224 fi
   6225 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6226     conftest$ac_exeext conftest.$ac_ext ;;
   6227 esac
   6228 fi
   6229 
   6230 
   6231 		CFLAGS="$xorg_testset_save_CFLAGS"
   6232 
   6233 		eval supported=\$$cacheid
   6234 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6235 printf "%s\n" "$supported" >&6; }
   6236 		if test "$supported" = "yes" ; then
   6237 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6238 			found="yes"
   6239 		fi
   6240 	fi
   6241 
   6242 
   6243 
   6244 
   6245 
   6246 
   6247 
   6248 
   6249 
   6250 
   6251 
   6252 
   6253 
   6254 
   6255 
   6256 xorg_testset_save_CFLAGS="$CFLAGS"
   6257 
   6258 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6259 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6260 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6261 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6262 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6263 then :
   6264   printf %s "(cached) " >&6
   6265 else case e in #(
   6266   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6267 /* end confdefs.h.  */
   6268 int i;
   6269 _ACEOF
   6270 if ac_fn_c_try_compile "$LINENO"
   6271 then :
   6272   xorg_cv_cc_flag_unknown_warning_option=yes
   6273 else case e in #(
   6274   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6275 esac
   6276 fi
   6277 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6278 esac
   6279 fi
   6280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6281 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6282 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6283 	CFLAGS="$xorg_testset_save_CFLAGS"
   6284 fi
   6285 
   6286 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6287 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6288 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6289 	fi
   6290 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6291 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6292 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6293 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6294 then :
   6295   printf %s "(cached) " >&6
   6296 else case e in #(
   6297   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6298 /* end confdefs.h.  */
   6299 int i;
   6300 _ACEOF
   6301 if ac_fn_c_try_compile "$LINENO"
   6302 then :
   6303   xorg_cv_cc_flag_unused_command_line_argument=yes
   6304 else case e in #(
   6305   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6306 esac
   6307 fi
   6308 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6309 esac
   6310 fi
   6311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6312 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6313 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6314 	CFLAGS="$xorg_testset_save_CFLAGS"
   6315 fi
   6316 
   6317 found="no"
   6318 
   6319 	if test $found = "no" ; then
   6320 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6321 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6322 		fi
   6323 
   6324 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6325 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6326 		fi
   6327 
   6328 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6329 
   6330 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6331 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6332 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6333 		if eval test \${$cacheid+y}
   6334 then :
   6335   printf %s "(cached) " >&6
   6336 else case e in #(
   6337   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6338 /* end confdefs.h.  */
   6339 int i;
   6340 int
   6341 main (void)
   6342 {
   6343 
   6344   ;
   6345   return 0;
   6346 }
   6347 _ACEOF
   6348 if ac_fn_c_try_link "$LINENO"
   6349 then :
   6350   eval $cacheid=yes
   6351 else case e in #(
   6352   e) eval $cacheid=no ;;
   6353 esac
   6354 fi
   6355 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6356     conftest$ac_exeext conftest.$ac_ext ;;
   6357 esac
   6358 fi
   6359 
   6360 
   6361 		CFLAGS="$xorg_testset_save_CFLAGS"
   6362 
   6363 		eval supported=\$$cacheid
   6364 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6365 printf "%s\n" "$supported" >&6; }
   6366 		if test "$supported" = "yes" ; then
   6367 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6368 			found="yes"
   6369 		fi
   6370 	fi
   6371 
   6372 
   6373 
   6374 
   6375 
   6376 # This chunk adds additional warnings that could catch undesired effects.
   6377 
   6378 
   6379 
   6380 
   6381 
   6382 
   6383 
   6384 
   6385 
   6386 
   6387 
   6388 
   6389 
   6390 xorg_testset_save_CFLAGS="$CFLAGS"
   6391 
   6392 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6393 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6394 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6395 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6396 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6397 then :
   6398   printf %s "(cached) " >&6
   6399 else case e in #(
   6400   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6401 /* end confdefs.h.  */
   6402 int i;
   6403 _ACEOF
   6404 if ac_fn_c_try_compile "$LINENO"
   6405 then :
   6406   xorg_cv_cc_flag_unknown_warning_option=yes
   6407 else case e in #(
   6408   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6409 esac
   6410 fi
   6411 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6412 esac
   6413 fi
   6414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6415 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6416 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6417 	CFLAGS="$xorg_testset_save_CFLAGS"
   6418 fi
   6419 
   6420 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6421 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6422 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6423 	fi
   6424 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6425 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6426 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6427 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6428 then :
   6429   printf %s "(cached) " >&6
   6430 else case e in #(
   6431   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6432 /* end confdefs.h.  */
   6433 int i;
   6434 _ACEOF
   6435 if ac_fn_c_try_compile "$LINENO"
   6436 then :
   6437   xorg_cv_cc_flag_unused_command_line_argument=yes
   6438 else case e in #(
   6439   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6440 esac
   6441 fi
   6442 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6443 esac
   6444 fi
   6445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6446 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6447 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6448 	CFLAGS="$xorg_testset_save_CFLAGS"
   6449 fi
   6450 
   6451 found="no"
   6452 
   6453 	if test $found = "no" ; then
   6454 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6455 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6456 		fi
   6457 
   6458 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6459 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6460 		fi
   6461 
   6462 		CFLAGS="$CFLAGS -Wunused"
   6463 
   6464 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6465 printf %s "checking if $CC supports -Wunused... " >&6; }
   6466 		cacheid=xorg_cv_cc_flag__Wunused
   6467 		if eval test \${$cacheid+y}
   6468 then :
   6469   printf %s "(cached) " >&6
   6470 else case e in #(
   6471   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6472 /* end confdefs.h.  */
   6473 int i;
   6474 int
   6475 main (void)
   6476 {
   6477 
   6478   ;
   6479   return 0;
   6480 }
   6481 _ACEOF
   6482 if ac_fn_c_try_link "$LINENO"
   6483 then :
   6484   eval $cacheid=yes
   6485 else case e in #(
   6486   e) eval $cacheid=no ;;
   6487 esac
   6488 fi
   6489 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6490     conftest$ac_exeext conftest.$ac_ext ;;
   6491 esac
   6492 fi
   6493 
   6494 
   6495 		CFLAGS="$xorg_testset_save_CFLAGS"
   6496 
   6497 		eval supported=\$$cacheid
   6498 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6499 printf "%s\n" "$supported" >&6; }
   6500 		if test "$supported" = "yes" ; then
   6501 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6502 			found="yes"
   6503 		fi
   6504 	fi
   6505 
   6506 
   6507 
   6508 
   6509 
   6510 
   6511 
   6512 
   6513 
   6514 
   6515 
   6516 
   6517 
   6518 
   6519 
   6520 xorg_testset_save_CFLAGS="$CFLAGS"
   6521 
   6522 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6523 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6524 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6525 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6526 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6527 then :
   6528   printf %s "(cached) " >&6
   6529 else case e in #(
   6530   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6531 /* end confdefs.h.  */
   6532 int i;
   6533 _ACEOF
   6534 if ac_fn_c_try_compile "$LINENO"
   6535 then :
   6536   xorg_cv_cc_flag_unknown_warning_option=yes
   6537 else case e in #(
   6538   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6539 esac
   6540 fi
   6541 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6542 esac
   6543 fi
   6544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6545 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6546 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6547 	CFLAGS="$xorg_testset_save_CFLAGS"
   6548 fi
   6549 
   6550 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6551 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6552 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6553 	fi
   6554 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6555 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6556 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6557 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6558 then :
   6559   printf %s "(cached) " >&6
   6560 else case e in #(
   6561   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6562 /* end confdefs.h.  */
   6563 int i;
   6564 _ACEOF
   6565 if ac_fn_c_try_compile "$LINENO"
   6566 then :
   6567   xorg_cv_cc_flag_unused_command_line_argument=yes
   6568 else case e in #(
   6569   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6570 esac
   6571 fi
   6572 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6573 esac
   6574 fi
   6575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6576 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6577 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6578 	CFLAGS="$xorg_testset_save_CFLAGS"
   6579 fi
   6580 
   6581 found="no"
   6582 
   6583 	if test $found = "no" ; then
   6584 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6585 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6586 		fi
   6587 
   6588 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6589 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6590 		fi
   6591 
   6592 		CFLAGS="$CFLAGS -Wuninitialized"
   6593 
   6594 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6595 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6596 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6597 		if eval test \${$cacheid+y}
   6598 then :
   6599   printf %s "(cached) " >&6
   6600 else case e in #(
   6601   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6602 /* end confdefs.h.  */
   6603 int i;
   6604 int
   6605 main (void)
   6606 {
   6607 
   6608   ;
   6609   return 0;
   6610 }
   6611 _ACEOF
   6612 if ac_fn_c_try_link "$LINENO"
   6613 then :
   6614   eval $cacheid=yes
   6615 else case e in #(
   6616   e) eval $cacheid=no ;;
   6617 esac
   6618 fi
   6619 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6620     conftest$ac_exeext conftest.$ac_ext ;;
   6621 esac
   6622 fi
   6623 
   6624 
   6625 		CFLAGS="$xorg_testset_save_CFLAGS"
   6626 
   6627 		eval supported=\$$cacheid
   6628 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6629 printf "%s\n" "$supported" >&6; }
   6630 		if test "$supported" = "yes" ; then
   6631 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6632 			found="yes"
   6633 		fi
   6634 	fi
   6635 
   6636 
   6637 
   6638 
   6639 
   6640 
   6641 
   6642 
   6643 
   6644 
   6645 
   6646 
   6647 
   6648 
   6649 
   6650 xorg_testset_save_CFLAGS="$CFLAGS"
   6651 
   6652 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6653 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6654 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6655 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6656 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6657 then :
   6658   printf %s "(cached) " >&6
   6659 else case e in #(
   6660   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6661 /* end confdefs.h.  */
   6662 int i;
   6663 _ACEOF
   6664 if ac_fn_c_try_compile "$LINENO"
   6665 then :
   6666   xorg_cv_cc_flag_unknown_warning_option=yes
   6667 else case e in #(
   6668   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6669 esac
   6670 fi
   6671 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6672 esac
   6673 fi
   6674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6675 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6676 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6677 	CFLAGS="$xorg_testset_save_CFLAGS"
   6678 fi
   6679 
   6680 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6681 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6682 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6683 	fi
   6684 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6685 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6686 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6687 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6688 then :
   6689   printf %s "(cached) " >&6
   6690 else case e in #(
   6691   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6692 /* end confdefs.h.  */
   6693 int i;
   6694 _ACEOF
   6695 if ac_fn_c_try_compile "$LINENO"
   6696 then :
   6697   xorg_cv_cc_flag_unused_command_line_argument=yes
   6698 else case e in #(
   6699   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6700 esac
   6701 fi
   6702 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6703 esac
   6704 fi
   6705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6706 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6707 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6708 	CFLAGS="$xorg_testset_save_CFLAGS"
   6709 fi
   6710 
   6711 found="no"
   6712 
   6713 	if test $found = "no" ; then
   6714 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6715 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6716 		fi
   6717 
   6718 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6719 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6720 		fi
   6721 
   6722 		CFLAGS="$CFLAGS -Wshadow"
   6723 
   6724 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6725 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6726 		cacheid=xorg_cv_cc_flag__Wshadow
   6727 		if eval test \${$cacheid+y}
   6728 then :
   6729   printf %s "(cached) " >&6
   6730 else case e in #(
   6731   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6732 /* end confdefs.h.  */
   6733 int i;
   6734 int
   6735 main (void)
   6736 {
   6737 
   6738   ;
   6739   return 0;
   6740 }
   6741 _ACEOF
   6742 if ac_fn_c_try_link "$LINENO"
   6743 then :
   6744   eval $cacheid=yes
   6745 else case e in #(
   6746   e) eval $cacheid=no ;;
   6747 esac
   6748 fi
   6749 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6750     conftest$ac_exeext conftest.$ac_ext ;;
   6751 esac
   6752 fi
   6753 
   6754 
   6755 		CFLAGS="$xorg_testset_save_CFLAGS"
   6756 
   6757 		eval supported=\$$cacheid
   6758 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6759 printf "%s\n" "$supported" >&6; }
   6760 		if test "$supported" = "yes" ; then
   6761 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6762 			found="yes"
   6763 		fi
   6764 	fi
   6765 
   6766 
   6767 
   6768 
   6769 
   6770 
   6771 
   6772 
   6773 
   6774 
   6775 
   6776 
   6777 
   6778 
   6779 
   6780 xorg_testset_save_CFLAGS="$CFLAGS"
   6781 
   6782 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6783 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6784 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6785 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6786 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6787 then :
   6788   printf %s "(cached) " >&6
   6789 else case e in #(
   6790   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6791 /* end confdefs.h.  */
   6792 int i;
   6793 _ACEOF
   6794 if ac_fn_c_try_compile "$LINENO"
   6795 then :
   6796   xorg_cv_cc_flag_unknown_warning_option=yes
   6797 else case e in #(
   6798   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6799 esac
   6800 fi
   6801 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6802 esac
   6803 fi
   6804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6805 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6806 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6807 	CFLAGS="$xorg_testset_save_CFLAGS"
   6808 fi
   6809 
   6810 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6811 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6812 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6813 	fi
   6814 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6815 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6816 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6817 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6818 then :
   6819   printf %s "(cached) " >&6
   6820 else case e in #(
   6821   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6822 /* end confdefs.h.  */
   6823 int i;
   6824 _ACEOF
   6825 if ac_fn_c_try_compile "$LINENO"
   6826 then :
   6827   xorg_cv_cc_flag_unused_command_line_argument=yes
   6828 else case e in #(
   6829   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6830 esac
   6831 fi
   6832 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6833 esac
   6834 fi
   6835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6836 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6837 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6838 	CFLAGS="$xorg_testset_save_CFLAGS"
   6839 fi
   6840 
   6841 found="no"
   6842 
   6843 	if test $found = "no" ; then
   6844 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6845 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6846 		fi
   6847 
   6848 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6849 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6850 		fi
   6851 
   6852 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6853 
   6854 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6855 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6856 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6857 		if eval test \${$cacheid+y}
   6858 then :
   6859   printf %s "(cached) " >&6
   6860 else case e in #(
   6861   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6862 /* end confdefs.h.  */
   6863 int i;
   6864 int
   6865 main (void)
   6866 {
   6867 
   6868   ;
   6869   return 0;
   6870 }
   6871 _ACEOF
   6872 if ac_fn_c_try_link "$LINENO"
   6873 then :
   6874   eval $cacheid=yes
   6875 else case e in #(
   6876   e) eval $cacheid=no ;;
   6877 esac
   6878 fi
   6879 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6880     conftest$ac_exeext conftest.$ac_ext ;;
   6881 esac
   6882 fi
   6883 
   6884 
   6885 		CFLAGS="$xorg_testset_save_CFLAGS"
   6886 
   6887 		eval supported=\$$cacheid
   6888 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6889 printf "%s\n" "$supported" >&6; }
   6890 		if test "$supported" = "yes" ; then
   6891 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6892 			found="yes"
   6893 		fi
   6894 	fi
   6895 
   6896 
   6897 
   6898 
   6899 
   6900 
   6901 
   6902 
   6903 
   6904 
   6905 
   6906 
   6907 
   6908 
   6909 
   6910 xorg_testset_save_CFLAGS="$CFLAGS"
   6911 
   6912 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6913 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6914 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6915 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6916 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6917 then :
   6918   printf %s "(cached) " >&6
   6919 else case e in #(
   6920   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6921 /* end confdefs.h.  */
   6922 int i;
   6923 _ACEOF
   6924 if ac_fn_c_try_compile "$LINENO"
   6925 then :
   6926   xorg_cv_cc_flag_unknown_warning_option=yes
   6927 else case e in #(
   6928   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6929 esac
   6930 fi
   6931 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6932 esac
   6933 fi
   6934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6935 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6936 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6937 	CFLAGS="$xorg_testset_save_CFLAGS"
   6938 fi
   6939 
   6940 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6941 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6942 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6943 	fi
   6944 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6945 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6946 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6947 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6948 then :
   6949   printf %s "(cached) " >&6
   6950 else case e in #(
   6951   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6952 /* end confdefs.h.  */
   6953 int i;
   6954 _ACEOF
   6955 if ac_fn_c_try_compile "$LINENO"
   6956 then :
   6957   xorg_cv_cc_flag_unused_command_line_argument=yes
   6958 else case e in #(
   6959   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6960 esac
   6961 fi
   6962 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6963 esac
   6964 fi
   6965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6966 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6967 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6968 	CFLAGS="$xorg_testset_save_CFLAGS"
   6969 fi
   6970 
   6971 found="no"
   6972 
   6973 	if test $found = "no" ; then
   6974 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6975 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6976 		fi
   6977 
   6978 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6979 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6980 		fi
   6981 
   6982 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6983 
   6984 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6985 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6986 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6987 		if eval test \${$cacheid+y}
   6988 then :
   6989   printf %s "(cached) " >&6
   6990 else case e in #(
   6991   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6992 /* end confdefs.h.  */
   6993 int i;
   6994 int
   6995 main (void)
   6996 {
   6997 
   6998   ;
   6999   return 0;
   7000 }
   7001 _ACEOF
   7002 if ac_fn_c_try_link "$LINENO"
   7003 then :
   7004   eval $cacheid=yes
   7005 else case e in #(
   7006   e) eval $cacheid=no ;;
   7007 esac
   7008 fi
   7009 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7010     conftest$ac_exeext conftest.$ac_ext ;;
   7011 esac
   7012 fi
   7013 
   7014 
   7015 		CFLAGS="$xorg_testset_save_CFLAGS"
   7016 
   7017 		eval supported=\$$cacheid
   7018 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7019 printf "%s\n" "$supported" >&6; }
   7020 		if test "$supported" = "yes" ; then
   7021 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   7022 			found="yes"
   7023 		fi
   7024 	fi
   7025 
   7026 
   7027 
   7028 
   7029 
   7030 
   7031 
   7032 
   7033 
   7034 
   7035 
   7036 
   7037 
   7038 
   7039 
   7040 xorg_testset_save_CFLAGS="$CFLAGS"
   7041 
   7042 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7043 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7044 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7045 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7046 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7047 then :
   7048   printf %s "(cached) " >&6
   7049 else case e in #(
   7050   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7051 /* end confdefs.h.  */
   7052 int i;
   7053 _ACEOF
   7054 if ac_fn_c_try_compile "$LINENO"
   7055 then :
   7056   xorg_cv_cc_flag_unknown_warning_option=yes
   7057 else case e in #(
   7058   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7059 esac
   7060 fi
   7061 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7062 esac
   7063 fi
   7064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7065 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7066 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7067 	CFLAGS="$xorg_testset_save_CFLAGS"
   7068 fi
   7069 
   7070 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7071 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7072 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7073 	fi
   7074 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7075 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7076 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7077 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7078 then :
   7079   printf %s "(cached) " >&6
   7080 else case e in #(
   7081   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7082 /* end confdefs.h.  */
   7083 int i;
   7084 _ACEOF
   7085 if ac_fn_c_try_compile "$LINENO"
   7086 then :
   7087   xorg_cv_cc_flag_unused_command_line_argument=yes
   7088 else case e in #(
   7089   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7090 esac
   7091 fi
   7092 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7093 esac
   7094 fi
   7095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7096 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7097 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7098 	CFLAGS="$xorg_testset_save_CFLAGS"
   7099 fi
   7100 
   7101 found="no"
   7102 
   7103 	if test $found = "no" ; then
   7104 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7105 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7106 		fi
   7107 
   7108 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7109 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7110 		fi
   7111 
   7112 		CFLAGS="$CFLAGS -Wredundant-decls"
   7113 
   7114 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7115 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7116 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7117 		if eval test \${$cacheid+y}
   7118 then :
   7119   printf %s "(cached) " >&6
   7120 else case e in #(
   7121   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7122 /* end confdefs.h.  */
   7123 int i;
   7124 int
   7125 main (void)
   7126 {
   7127 
   7128   ;
   7129   return 0;
   7130 }
   7131 _ACEOF
   7132 if ac_fn_c_try_link "$LINENO"
   7133 then :
   7134   eval $cacheid=yes
   7135 else case e in #(
   7136   e) eval $cacheid=no ;;
   7137 esac
   7138 fi
   7139 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7140     conftest$ac_exeext conftest.$ac_ext ;;
   7141 esac
   7142 fi
   7143 
   7144 
   7145 		CFLAGS="$xorg_testset_save_CFLAGS"
   7146 
   7147 		eval supported=\$$cacheid
   7148 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7149 printf "%s\n" "$supported" >&6; }
   7150 		if test "$supported" = "yes" ; then
   7151 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7152 			found="yes"
   7153 		fi
   7154 	fi
   7155 
   7156 
   7157 
   7158 
   7159 
   7160 
   7161 
   7162 
   7163 
   7164 
   7165 
   7166 
   7167 
   7168 
   7169 
   7170 xorg_testset_save_CFLAGS="$CFLAGS"
   7171 
   7172 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7173 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7174 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7175 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7176 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7177 then :
   7178   printf %s "(cached) " >&6
   7179 else case e in #(
   7180   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7181 /* end confdefs.h.  */
   7182 int i;
   7183 _ACEOF
   7184 if ac_fn_c_try_compile "$LINENO"
   7185 then :
   7186   xorg_cv_cc_flag_unknown_warning_option=yes
   7187 else case e in #(
   7188   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7189 esac
   7190 fi
   7191 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7192 esac
   7193 fi
   7194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7195 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7196 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7197 	CFLAGS="$xorg_testset_save_CFLAGS"
   7198 fi
   7199 
   7200 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7201 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7202 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7203 	fi
   7204 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7205 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7206 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7207 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7208 then :
   7209   printf %s "(cached) " >&6
   7210 else case e in #(
   7211   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7212 /* end confdefs.h.  */
   7213 int i;
   7214 _ACEOF
   7215 if ac_fn_c_try_compile "$LINENO"
   7216 then :
   7217   xorg_cv_cc_flag_unused_command_line_argument=yes
   7218 else case e in #(
   7219   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7220 esac
   7221 fi
   7222 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7223 esac
   7224 fi
   7225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7226 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7227 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7228 	CFLAGS="$xorg_testset_save_CFLAGS"
   7229 fi
   7230 
   7231 found="no"
   7232 
   7233 	if test $found = "no" ; then
   7234 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7235 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7236 		fi
   7237 
   7238 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7239 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7240 		fi
   7241 
   7242 		CFLAGS="$CFLAGS -Wlogical-op"
   7243 
   7244 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7245 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7246 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7247 		if eval test \${$cacheid+y}
   7248 then :
   7249   printf %s "(cached) " >&6
   7250 else case e in #(
   7251   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7252 /* end confdefs.h.  */
   7253 int i;
   7254 int
   7255 main (void)
   7256 {
   7257 
   7258   ;
   7259   return 0;
   7260 }
   7261 _ACEOF
   7262 if ac_fn_c_try_link "$LINENO"
   7263 then :
   7264   eval $cacheid=yes
   7265 else case e in #(
   7266   e) eval $cacheid=no ;;
   7267 esac
   7268 fi
   7269 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7270     conftest$ac_exeext conftest.$ac_ext ;;
   7271 esac
   7272 fi
   7273 
   7274 
   7275 		CFLAGS="$xorg_testset_save_CFLAGS"
   7276 
   7277 		eval supported=\$$cacheid
   7278 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7279 printf "%s\n" "$supported" >&6; }
   7280 		if test "$supported" = "yes" ; then
   7281 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7282 			found="yes"
   7283 		fi
   7284 	fi
   7285 
   7286 
   7287 
   7288 # These are currently disabled because they are noisy.  They will be enabled
   7289 # in the future once the codebase is sufficiently modernized to silence
   7290 # them.  For now, I don't want them to drown out the other warnings.
   7291 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7292 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7293 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7294 
   7295 # Turn some warnings into errors, so we don't accidentally get successful builds
   7296 # when there are problems that should be fixed.
   7297 
   7298 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7299 
   7300 
   7301 
   7302 
   7303 
   7304 
   7305 
   7306 
   7307 
   7308 
   7309 
   7310 
   7311 
   7312 xorg_testset_save_CFLAGS="$CFLAGS"
   7313 
   7314 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7315 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7316 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7317 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7318 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7319 then :
   7320   printf %s "(cached) " >&6
   7321 else case e in #(
   7322   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7323 /* end confdefs.h.  */
   7324 int i;
   7325 _ACEOF
   7326 if ac_fn_c_try_compile "$LINENO"
   7327 then :
   7328   xorg_cv_cc_flag_unknown_warning_option=yes
   7329 else case e in #(
   7330   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7331 esac
   7332 fi
   7333 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7334 esac
   7335 fi
   7336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7337 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7338 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7339 	CFLAGS="$xorg_testset_save_CFLAGS"
   7340 fi
   7341 
   7342 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7343 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7344 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7345 	fi
   7346 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7347 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7348 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7349 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7350 then :
   7351   printf %s "(cached) " >&6
   7352 else case e in #(
   7353   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7354 /* end confdefs.h.  */
   7355 int i;
   7356 _ACEOF
   7357 if ac_fn_c_try_compile "$LINENO"
   7358 then :
   7359   xorg_cv_cc_flag_unused_command_line_argument=yes
   7360 else case e in #(
   7361   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7362 esac
   7363 fi
   7364 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7365 esac
   7366 fi
   7367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7368 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7369 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7370 	CFLAGS="$xorg_testset_save_CFLAGS"
   7371 fi
   7372 
   7373 found="no"
   7374 
   7375 	if test $found = "no" ; then
   7376 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7377 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7378 		fi
   7379 
   7380 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7381 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7382 		fi
   7383 
   7384 		CFLAGS="$CFLAGS -Werror=implicit"
   7385 
   7386 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7387 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7388 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7389 		if eval test \${$cacheid+y}
   7390 then :
   7391   printf %s "(cached) " >&6
   7392 else case e in #(
   7393   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7394 /* end confdefs.h.  */
   7395 int i;
   7396 int
   7397 main (void)
   7398 {
   7399 
   7400   ;
   7401   return 0;
   7402 }
   7403 _ACEOF
   7404 if ac_fn_c_try_link "$LINENO"
   7405 then :
   7406   eval $cacheid=yes
   7407 else case e in #(
   7408   e) eval $cacheid=no ;;
   7409 esac
   7410 fi
   7411 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7412     conftest$ac_exeext conftest.$ac_ext ;;
   7413 esac
   7414 fi
   7415 
   7416 
   7417 		CFLAGS="$xorg_testset_save_CFLAGS"
   7418 
   7419 		eval supported=\$$cacheid
   7420 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7421 printf "%s\n" "$supported" >&6; }
   7422 		if test "$supported" = "yes" ; then
   7423 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7424 			found="yes"
   7425 		fi
   7426 	fi
   7427 
   7428 	if test $found = "no" ; then
   7429 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7430 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7431 		fi
   7432 
   7433 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7434 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7435 		fi
   7436 
   7437 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7438 
   7439 		{ 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
   7440 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7441 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7442 		if eval test \${$cacheid+y}
   7443 then :
   7444   printf %s "(cached) " >&6
   7445 else case e in #(
   7446   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7447 /* end confdefs.h.  */
   7448 int i;
   7449 int
   7450 main (void)
   7451 {
   7452 
   7453   ;
   7454   return 0;
   7455 }
   7456 _ACEOF
   7457 if ac_fn_c_try_link "$LINENO"
   7458 then :
   7459   eval $cacheid=yes
   7460 else case e in #(
   7461   e) eval $cacheid=no ;;
   7462 esac
   7463 fi
   7464 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7465     conftest$ac_exeext conftest.$ac_ext ;;
   7466 esac
   7467 fi
   7468 
   7469 
   7470 		CFLAGS="$xorg_testset_save_CFLAGS"
   7471 
   7472 		eval supported=\$$cacheid
   7473 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7474 printf "%s\n" "$supported" >&6; }
   7475 		if test "$supported" = "yes" ; then
   7476 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7477 			found="yes"
   7478 		fi
   7479 	fi
   7480 
   7481 
   7482 
   7483 
   7484 
   7485 
   7486 
   7487 
   7488 
   7489 
   7490 
   7491 
   7492 
   7493 
   7494 
   7495 xorg_testset_save_CFLAGS="$CFLAGS"
   7496 
   7497 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7498 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7499 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7500 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7501 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7502 then :
   7503   printf %s "(cached) " >&6
   7504 else case e in #(
   7505   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7506 /* end confdefs.h.  */
   7507 int i;
   7508 _ACEOF
   7509 if ac_fn_c_try_compile "$LINENO"
   7510 then :
   7511   xorg_cv_cc_flag_unknown_warning_option=yes
   7512 else case e in #(
   7513   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7514 esac
   7515 fi
   7516 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7517 esac
   7518 fi
   7519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7520 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7521 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7522 	CFLAGS="$xorg_testset_save_CFLAGS"
   7523 fi
   7524 
   7525 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7526 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7527 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7528 	fi
   7529 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7530 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7531 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7532 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7533 then :
   7534   printf %s "(cached) " >&6
   7535 else case e in #(
   7536   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7537 /* end confdefs.h.  */
   7538 int i;
   7539 _ACEOF
   7540 if ac_fn_c_try_compile "$LINENO"
   7541 then :
   7542   xorg_cv_cc_flag_unused_command_line_argument=yes
   7543 else case e in #(
   7544   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7545 esac
   7546 fi
   7547 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7548 esac
   7549 fi
   7550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7551 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7552 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7553 	CFLAGS="$xorg_testset_save_CFLAGS"
   7554 fi
   7555 
   7556 found="no"
   7557 
   7558 	if test $found = "no" ; then
   7559 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7560 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7561 		fi
   7562 
   7563 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7564 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7565 		fi
   7566 
   7567 		CFLAGS="$CFLAGS -Werror=nonnull"
   7568 
   7569 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7570 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7571 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7572 		if eval test \${$cacheid+y}
   7573 then :
   7574   printf %s "(cached) " >&6
   7575 else case e in #(
   7576   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7577 /* end confdefs.h.  */
   7578 int i;
   7579 int
   7580 main (void)
   7581 {
   7582 
   7583   ;
   7584   return 0;
   7585 }
   7586 _ACEOF
   7587 if ac_fn_c_try_link "$LINENO"
   7588 then :
   7589   eval $cacheid=yes
   7590 else case e in #(
   7591   e) eval $cacheid=no ;;
   7592 esac
   7593 fi
   7594 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7595     conftest$ac_exeext conftest.$ac_ext ;;
   7596 esac
   7597 fi
   7598 
   7599 
   7600 		CFLAGS="$xorg_testset_save_CFLAGS"
   7601 
   7602 		eval supported=\$$cacheid
   7603 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7604 printf "%s\n" "$supported" >&6; }
   7605 		if test "$supported" = "yes" ; then
   7606 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7607 			found="yes"
   7608 		fi
   7609 	fi
   7610 
   7611 
   7612 
   7613 
   7614 
   7615 
   7616 
   7617 
   7618 
   7619 
   7620 
   7621 
   7622 
   7623 
   7624 
   7625 xorg_testset_save_CFLAGS="$CFLAGS"
   7626 
   7627 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7628 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7629 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7630 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7631 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7632 then :
   7633   printf %s "(cached) " >&6
   7634 else case e in #(
   7635   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7636 /* end confdefs.h.  */
   7637 int i;
   7638 _ACEOF
   7639 if ac_fn_c_try_compile "$LINENO"
   7640 then :
   7641   xorg_cv_cc_flag_unknown_warning_option=yes
   7642 else case e in #(
   7643   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7644 esac
   7645 fi
   7646 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7647 esac
   7648 fi
   7649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7650 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7651 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7652 	CFLAGS="$xorg_testset_save_CFLAGS"
   7653 fi
   7654 
   7655 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7656 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7657 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7658 	fi
   7659 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7660 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7661 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7662 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7663 then :
   7664   printf %s "(cached) " >&6
   7665 else case e in #(
   7666   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7667 /* end confdefs.h.  */
   7668 int i;
   7669 _ACEOF
   7670 if ac_fn_c_try_compile "$LINENO"
   7671 then :
   7672   xorg_cv_cc_flag_unused_command_line_argument=yes
   7673 else case e in #(
   7674   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7675 esac
   7676 fi
   7677 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7678 esac
   7679 fi
   7680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7681 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7682 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7683 	CFLAGS="$xorg_testset_save_CFLAGS"
   7684 fi
   7685 
   7686 found="no"
   7687 
   7688 	if test $found = "no" ; then
   7689 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7690 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7691 		fi
   7692 
   7693 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7694 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7695 		fi
   7696 
   7697 		CFLAGS="$CFLAGS -Werror=init-self"
   7698 
   7699 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7700 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7701 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7702 		if eval test \${$cacheid+y}
   7703 then :
   7704   printf %s "(cached) " >&6
   7705 else case e in #(
   7706   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7707 /* end confdefs.h.  */
   7708 int i;
   7709 int
   7710 main (void)
   7711 {
   7712 
   7713   ;
   7714   return 0;
   7715 }
   7716 _ACEOF
   7717 if ac_fn_c_try_link "$LINENO"
   7718 then :
   7719   eval $cacheid=yes
   7720 else case e in #(
   7721   e) eval $cacheid=no ;;
   7722 esac
   7723 fi
   7724 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7725     conftest$ac_exeext conftest.$ac_ext ;;
   7726 esac
   7727 fi
   7728 
   7729 
   7730 		CFLAGS="$xorg_testset_save_CFLAGS"
   7731 
   7732 		eval supported=\$$cacheid
   7733 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7734 printf "%s\n" "$supported" >&6; }
   7735 		if test "$supported" = "yes" ; then
   7736 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7737 			found="yes"
   7738 		fi
   7739 	fi
   7740 
   7741 
   7742 
   7743 
   7744 
   7745 
   7746 
   7747 
   7748 
   7749 
   7750 
   7751 
   7752 
   7753 
   7754 
   7755 xorg_testset_save_CFLAGS="$CFLAGS"
   7756 
   7757 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7758 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7759 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7760 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7761 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7762 then :
   7763   printf %s "(cached) " >&6
   7764 else case e in #(
   7765   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7766 /* end confdefs.h.  */
   7767 int i;
   7768 _ACEOF
   7769 if ac_fn_c_try_compile "$LINENO"
   7770 then :
   7771   xorg_cv_cc_flag_unknown_warning_option=yes
   7772 else case e in #(
   7773   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7774 esac
   7775 fi
   7776 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7777 esac
   7778 fi
   7779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7780 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7781 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7782 	CFLAGS="$xorg_testset_save_CFLAGS"
   7783 fi
   7784 
   7785 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7786 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7787 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7788 	fi
   7789 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7790 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7791 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7792 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7793 then :
   7794   printf %s "(cached) " >&6
   7795 else case e in #(
   7796   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7797 /* end confdefs.h.  */
   7798 int i;
   7799 _ACEOF
   7800 if ac_fn_c_try_compile "$LINENO"
   7801 then :
   7802   xorg_cv_cc_flag_unused_command_line_argument=yes
   7803 else case e in #(
   7804   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7805 esac
   7806 fi
   7807 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7808 esac
   7809 fi
   7810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7811 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7812 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7813 	CFLAGS="$xorg_testset_save_CFLAGS"
   7814 fi
   7815 
   7816 found="no"
   7817 
   7818 	if test $found = "no" ; then
   7819 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7820 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7821 		fi
   7822 
   7823 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7824 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7825 		fi
   7826 
   7827 		CFLAGS="$CFLAGS -Werror=main"
   7828 
   7829 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7830 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7831 		cacheid=xorg_cv_cc_flag__Werror_main
   7832 		if eval test \${$cacheid+y}
   7833 then :
   7834   printf %s "(cached) " >&6
   7835 else case e in #(
   7836   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7837 /* end confdefs.h.  */
   7838 int i;
   7839 int
   7840 main (void)
   7841 {
   7842 
   7843   ;
   7844   return 0;
   7845 }
   7846 _ACEOF
   7847 if ac_fn_c_try_link "$LINENO"
   7848 then :
   7849   eval $cacheid=yes
   7850 else case e in #(
   7851   e) eval $cacheid=no ;;
   7852 esac
   7853 fi
   7854 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7855     conftest$ac_exeext conftest.$ac_ext ;;
   7856 esac
   7857 fi
   7858 
   7859 
   7860 		CFLAGS="$xorg_testset_save_CFLAGS"
   7861 
   7862 		eval supported=\$$cacheid
   7863 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7864 printf "%s\n" "$supported" >&6; }
   7865 		if test "$supported" = "yes" ; then
   7866 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7867 			found="yes"
   7868 		fi
   7869 	fi
   7870 
   7871 
   7872 
   7873 
   7874 
   7875 
   7876 
   7877 
   7878 
   7879 
   7880 
   7881 
   7882 
   7883 
   7884 
   7885 xorg_testset_save_CFLAGS="$CFLAGS"
   7886 
   7887 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7888 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7889 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7890 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7891 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7892 then :
   7893   printf %s "(cached) " >&6
   7894 else case e in #(
   7895   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7896 /* end confdefs.h.  */
   7897 int i;
   7898 _ACEOF
   7899 if ac_fn_c_try_compile "$LINENO"
   7900 then :
   7901   xorg_cv_cc_flag_unknown_warning_option=yes
   7902 else case e in #(
   7903   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7904 esac
   7905 fi
   7906 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7907 esac
   7908 fi
   7909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7910 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7911 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7912 	CFLAGS="$xorg_testset_save_CFLAGS"
   7913 fi
   7914 
   7915 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7916 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7917 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7918 	fi
   7919 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7920 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7921 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7922 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7923 then :
   7924   printf %s "(cached) " >&6
   7925 else case e in #(
   7926   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7927 /* end confdefs.h.  */
   7928 int i;
   7929 _ACEOF
   7930 if ac_fn_c_try_compile "$LINENO"
   7931 then :
   7932   xorg_cv_cc_flag_unused_command_line_argument=yes
   7933 else case e in #(
   7934   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7935 esac
   7936 fi
   7937 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7938 esac
   7939 fi
   7940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7941 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7942 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7943 	CFLAGS="$xorg_testset_save_CFLAGS"
   7944 fi
   7945 
   7946 found="no"
   7947 
   7948 	if test $found = "no" ; then
   7949 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7950 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7951 		fi
   7952 
   7953 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7954 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7955 		fi
   7956 
   7957 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7958 
   7959 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7960 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   7961 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7962 		if eval test \${$cacheid+y}
   7963 then :
   7964   printf %s "(cached) " >&6
   7965 else case e in #(
   7966   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7967 /* end confdefs.h.  */
   7968 int i;
   7969 int
   7970 main (void)
   7971 {
   7972 
   7973   ;
   7974   return 0;
   7975 }
   7976 _ACEOF
   7977 if ac_fn_c_try_link "$LINENO"
   7978 then :
   7979   eval $cacheid=yes
   7980 else case e in #(
   7981   e) eval $cacheid=no ;;
   7982 esac
   7983 fi
   7984 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7985     conftest$ac_exeext conftest.$ac_ext ;;
   7986 esac
   7987 fi
   7988 
   7989 
   7990 		CFLAGS="$xorg_testset_save_CFLAGS"
   7991 
   7992 		eval supported=\$$cacheid
   7993 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7994 printf "%s\n" "$supported" >&6; }
   7995 		if test "$supported" = "yes" ; then
   7996 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7997 			found="yes"
   7998 		fi
   7999 	fi
   8000 
   8001 
   8002 
   8003 
   8004 
   8005 
   8006 
   8007 
   8008 
   8009 
   8010 
   8011 
   8012 
   8013 
   8014 
   8015 xorg_testset_save_CFLAGS="$CFLAGS"
   8016 
   8017 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8018 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8019 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8020 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8021 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8022 then :
   8023   printf %s "(cached) " >&6
   8024 else case e in #(
   8025   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8026 /* end confdefs.h.  */
   8027 int i;
   8028 _ACEOF
   8029 if ac_fn_c_try_compile "$LINENO"
   8030 then :
   8031   xorg_cv_cc_flag_unknown_warning_option=yes
   8032 else case e in #(
   8033   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8034 esac
   8035 fi
   8036 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8037 esac
   8038 fi
   8039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8040 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8041 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8042 	CFLAGS="$xorg_testset_save_CFLAGS"
   8043 fi
   8044 
   8045 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8046 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8047 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8048 	fi
   8049 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8050 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8051 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8052 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8053 then :
   8054   printf %s "(cached) " >&6
   8055 else case e in #(
   8056   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8057 /* end confdefs.h.  */
   8058 int i;
   8059 _ACEOF
   8060 if ac_fn_c_try_compile "$LINENO"
   8061 then :
   8062   xorg_cv_cc_flag_unused_command_line_argument=yes
   8063 else case e in #(
   8064   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8065 esac
   8066 fi
   8067 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8068 esac
   8069 fi
   8070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8071 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8072 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8073 	CFLAGS="$xorg_testset_save_CFLAGS"
   8074 fi
   8075 
   8076 found="no"
   8077 
   8078 	if test $found = "no" ; then
   8079 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8080 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8081 		fi
   8082 
   8083 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8084 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8085 		fi
   8086 
   8087 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8088 
   8089 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8090 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   8091 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8092 		if eval test \${$cacheid+y}
   8093 then :
   8094   printf %s "(cached) " >&6
   8095 else case e in #(
   8096   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8097 /* end confdefs.h.  */
   8098 int i;
   8099 int
   8100 main (void)
   8101 {
   8102 
   8103   ;
   8104   return 0;
   8105 }
   8106 _ACEOF
   8107 if ac_fn_c_try_link "$LINENO"
   8108 then :
   8109   eval $cacheid=yes
   8110 else case e in #(
   8111   e) eval $cacheid=no ;;
   8112 esac
   8113 fi
   8114 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8115     conftest$ac_exeext conftest.$ac_ext ;;
   8116 esac
   8117 fi
   8118 
   8119 
   8120 		CFLAGS="$xorg_testset_save_CFLAGS"
   8121 
   8122 		eval supported=\$$cacheid
   8123 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8124 printf "%s\n" "$supported" >&6; }
   8125 		if test "$supported" = "yes" ; then
   8126 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8127 			found="yes"
   8128 		fi
   8129 	fi
   8130 
   8131 
   8132 
   8133 
   8134 
   8135 
   8136 
   8137 
   8138 
   8139 
   8140 
   8141 
   8142 
   8143 
   8144 
   8145 xorg_testset_save_CFLAGS="$CFLAGS"
   8146 
   8147 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8148 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8149 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8150 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8151 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8152 then :
   8153   printf %s "(cached) " >&6
   8154 else case e in #(
   8155   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8156 /* end confdefs.h.  */
   8157 int i;
   8158 _ACEOF
   8159 if ac_fn_c_try_compile "$LINENO"
   8160 then :
   8161   xorg_cv_cc_flag_unknown_warning_option=yes
   8162 else case e in #(
   8163   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8164 esac
   8165 fi
   8166 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8167 esac
   8168 fi
   8169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8170 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8171 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8172 	CFLAGS="$xorg_testset_save_CFLAGS"
   8173 fi
   8174 
   8175 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8176 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8177 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8178 	fi
   8179 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8180 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8181 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8182 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8183 then :
   8184   printf %s "(cached) " >&6
   8185 else case e in #(
   8186   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8187 /* end confdefs.h.  */
   8188 int i;
   8189 _ACEOF
   8190 if ac_fn_c_try_compile "$LINENO"
   8191 then :
   8192   xorg_cv_cc_flag_unused_command_line_argument=yes
   8193 else case e in #(
   8194   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8195 esac
   8196 fi
   8197 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8198 esac
   8199 fi
   8200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8201 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8202 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8203 	CFLAGS="$xorg_testset_save_CFLAGS"
   8204 fi
   8205 
   8206 found="no"
   8207 
   8208 	if test $found = "no" ; then
   8209 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8210 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8211 		fi
   8212 
   8213 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8214 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8215 		fi
   8216 
   8217 		CFLAGS="$CFLAGS -Werror=return-type"
   8218 
   8219 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8220 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8221 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8222 		if eval test \${$cacheid+y}
   8223 then :
   8224   printf %s "(cached) " >&6
   8225 else case e in #(
   8226   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8227 /* end confdefs.h.  */
   8228 int i;
   8229 int
   8230 main (void)
   8231 {
   8232 
   8233   ;
   8234   return 0;
   8235 }
   8236 _ACEOF
   8237 if ac_fn_c_try_link "$LINENO"
   8238 then :
   8239   eval $cacheid=yes
   8240 else case e in #(
   8241   e) eval $cacheid=no ;;
   8242 esac
   8243 fi
   8244 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8245     conftest$ac_exeext conftest.$ac_ext ;;
   8246 esac
   8247 fi
   8248 
   8249 
   8250 		CFLAGS="$xorg_testset_save_CFLAGS"
   8251 
   8252 		eval supported=\$$cacheid
   8253 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8254 printf "%s\n" "$supported" >&6; }
   8255 		if test "$supported" = "yes" ; then
   8256 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8257 			found="yes"
   8258 		fi
   8259 	fi
   8260 
   8261 	if test $found = "no" ; then
   8262 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8263 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8264 		fi
   8265 
   8266 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8267 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8268 		fi
   8269 
   8270 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8271 
   8272 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8273 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8274 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8275 		if eval test \${$cacheid+y}
   8276 then :
   8277   printf %s "(cached) " >&6
   8278 else case e in #(
   8279   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8280 /* end confdefs.h.  */
   8281 int i;
   8282 int
   8283 main (void)
   8284 {
   8285 
   8286   ;
   8287   return 0;
   8288 }
   8289 _ACEOF
   8290 if ac_fn_c_try_link "$LINENO"
   8291 then :
   8292   eval $cacheid=yes
   8293 else case e in #(
   8294   e) eval $cacheid=no ;;
   8295 esac
   8296 fi
   8297 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8298     conftest$ac_exeext conftest.$ac_ext ;;
   8299 esac
   8300 fi
   8301 
   8302 
   8303 		CFLAGS="$xorg_testset_save_CFLAGS"
   8304 
   8305 		eval supported=\$$cacheid
   8306 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8307 printf "%s\n" "$supported" >&6; }
   8308 		if test "$supported" = "yes" ; then
   8309 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8310 			found="yes"
   8311 		fi
   8312 	fi
   8313 
   8314 
   8315 
   8316 
   8317 
   8318 
   8319 
   8320 
   8321 
   8322 
   8323 
   8324 
   8325 
   8326 
   8327 
   8328 xorg_testset_save_CFLAGS="$CFLAGS"
   8329 
   8330 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8331 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8332 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8333 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8334 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8335 then :
   8336   printf %s "(cached) " >&6
   8337 else case e in #(
   8338   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8339 /* end confdefs.h.  */
   8340 int i;
   8341 _ACEOF
   8342 if ac_fn_c_try_compile "$LINENO"
   8343 then :
   8344   xorg_cv_cc_flag_unknown_warning_option=yes
   8345 else case e in #(
   8346   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8347 esac
   8348 fi
   8349 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8350 esac
   8351 fi
   8352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8353 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8354 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8355 	CFLAGS="$xorg_testset_save_CFLAGS"
   8356 fi
   8357 
   8358 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8359 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8360 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8361 	fi
   8362 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8363 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8364 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8365 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8366 then :
   8367   printf %s "(cached) " >&6
   8368 else case e in #(
   8369   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8370 /* end confdefs.h.  */
   8371 int i;
   8372 _ACEOF
   8373 if ac_fn_c_try_compile "$LINENO"
   8374 then :
   8375   xorg_cv_cc_flag_unused_command_line_argument=yes
   8376 else case e in #(
   8377   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8378 esac
   8379 fi
   8380 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8381 esac
   8382 fi
   8383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8384 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8385 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8386 	CFLAGS="$xorg_testset_save_CFLAGS"
   8387 fi
   8388 
   8389 found="no"
   8390 
   8391 	if test $found = "no" ; then
   8392 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8393 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8394 		fi
   8395 
   8396 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8397 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8398 		fi
   8399 
   8400 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8401 
   8402 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8403 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8404 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8405 		if eval test \${$cacheid+y}
   8406 then :
   8407   printf %s "(cached) " >&6
   8408 else case e in #(
   8409   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8410 /* end confdefs.h.  */
   8411 int i;
   8412 int
   8413 main (void)
   8414 {
   8415 
   8416   ;
   8417   return 0;
   8418 }
   8419 _ACEOF
   8420 if ac_fn_c_try_link "$LINENO"
   8421 then :
   8422   eval $cacheid=yes
   8423 else case e in #(
   8424   e) eval $cacheid=no ;;
   8425 esac
   8426 fi
   8427 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8428     conftest$ac_exeext conftest.$ac_ext ;;
   8429 esac
   8430 fi
   8431 
   8432 
   8433 		CFLAGS="$xorg_testset_save_CFLAGS"
   8434 
   8435 		eval supported=\$$cacheid
   8436 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8437 printf "%s\n" "$supported" >&6; }
   8438 		if test "$supported" = "yes" ; then
   8439 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8440 			found="yes"
   8441 		fi
   8442 	fi
   8443 
   8444 
   8445 
   8446 
   8447 
   8448 
   8449 
   8450 
   8451 
   8452 
   8453 
   8454 
   8455 
   8456 
   8457 
   8458 xorg_testset_save_CFLAGS="$CFLAGS"
   8459 
   8460 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8461 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8462 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8463 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8464 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8465 then :
   8466   printf %s "(cached) " >&6
   8467 else case e in #(
   8468   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8469 /* end confdefs.h.  */
   8470 int i;
   8471 _ACEOF
   8472 if ac_fn_c_try_compile "$LINENO"
   8473 then :
   8474   xorg_cv_cc_flag_unknown_warning_option=yes
   8475 else case e in #(
   8476   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8477 esac
   8478 fi
   8479 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8480 esac
   8481 fi
   8482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8483 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8484 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8485 	CFLAGS="$xorg_testset_save_CFLAGS"
   8486 fi
   8487 
   8488 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8489 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8490 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8491 	fi
   8492 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8493 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8494 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8495 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8496 then :
   8497   printf %s "(cached) " >&6
   8498 else case e in #(
   8499   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8500 /* end confdefs.h.  */
   8501 int i;
   8502 _ACEOF
   8503 if ac_fn_c_try_compile "$LINENO"
   8504 then :
   8505   xorg_cv_cc_flag_unused_command_line_argument=yes
   8506 else case e in #(
   8507   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8508 esac
   8509 fi
   8510 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8511 esac
   8512 fi
   8513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8514 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8515 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8516 	CFLAGS="$xorg_testset_save_CFLAGS"
   8517 fi
   8518 
   8519 found="no"
   8520 
   8521 	if test $found = "no" ; then
   8522 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8523 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8524 		fi
   8525 
   8526 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8527 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8528 		fi
   8529 
   8530 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8531 
   8532 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8533 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8534 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8535 		if eval test \${$cacheid+y}
   8536 then :
   8537   printf %s "(cached) " >&6
   8538 else case e in #(
   8539   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8540 /* end confdefs.h.  */
   8541 int i;
   8542 int
   8543 main (void)
   8544 {
   8545 
   8546   ;
   8547   return 0;
   8548 }
   8549 _ACEOF
   8550 if ac_fn_c_try_link "$LINENO"
   8551 then :
   8552   eval $cacheid=yes
   8553 else case e in #(
   8554   e) eval $cacheid=no ;;
   8555 esac
   8556 fi
   8557 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8558     conftest$ac_exeext conftest.$ac_ext ;;
   8559 esac
   8560 fi
   8561 
   8562 
   8563 		CFLAGS="$xorg_testset_save_CFLAGS"
   8564 
   8565 		eval supported=\$$cacheid
   8566 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8567 printf "%s\n" "$supported" >&6; }
   8568 		if test "$supported" = "yes" ; then
   8569 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8570 			found="yes"
   8571 		fi
   8572 	fi
   8573 
   8574 
   8575 
   8576 
   8577 
   8578 
   8579 
   8580 
   8581 
   8582 
   8583 
   8584 
   8585 
   8586 
   8587 
   8588 xorg_testset_save_CFLAGS="$CFLAGS"
   8589 
   8590 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8591 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8592 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8593 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8594 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8595 then :
   8596   printf %s "(cached) " >&6
   8597 else case e in #(
   8598   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8599 /* end confdefs.h.  */
   8600 int i;
   8601 _ACEOF
   8602 if ac_fn_c_try_compile "$LINENO"
   8603 then :
   8604   xorg_cv_cc_flag_unknown_warning_option=yes
   8605 else case e in #(
   8606   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8607 esac
   8608 fi
   8609 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8610 esac
   8611 fi
   8612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8613 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8614 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8615 	CFLAGS="$xorg_testset_save_CFLAGS"
   8616 fi
   8617 
   8618 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8619 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8620 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8621 	fi
   8622 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8623 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8624 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8625 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8626 then :
   8627   printf %s "(cached) " >&6
   8628 else case e in #(
   8629   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8630 /* end confdefs.h.  */
   8631 int i;
   8632 _ACEOF
   8633 if ac_fn_c_try_compile "$LINENO"
   8634 then :
   8635   xorg_cv_cc_flag_unused_command_line_argument=yes
   8636 else case e in #(
   8637   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8638 esac
   8639 fi
   8640 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8641 esac
   8642 fi
   8643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8644 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8645 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8646 	CFLAGS="$xorg_testset_save_CFLAGS"
   8647 fi
   8648 
   8649 found="no"
   8650 
   8651 	if test $found = "no" ; then
   8652 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8653 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8654 		fi
   8655 
   8656 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8657 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8658 		fi
   8659 
   8660 		CFLAGS="$CFLAGS -Werror=write-strings"
   8661 
   8662 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8663 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8664 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8665 		if eval test \${$cacheid+y}
   8666 then :
   8667   printf %s "(cached) " >&6
   8668 else case e in #(
   8669   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8670 /* end confdefs.h.  */
   8671 int i;
   8672 int
   8673 main (void)
   8674 {
   8675 
   8676   ;
   8677   return 0;
   8678 }
   8679 _ACEOF
   8680 if ac_fn_c_try_link "$LINENO"
   8681 then :
   8682   eval $cacheid=yes
   8683 else case e in #(
   8684   e) eval $cacheid=no ;;
   8685 esac
   8686 fi
   8687 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8688     conftest$ac_exeext conftest.$ac_ext ;;
   8689 esac
   8690 fi
   8691 
   8692 
   8693 		CFLAGS="$xorg_testset_save_CFLAGS"
   8694 
   8695 		eval supported=\$$cacheid
   8696 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8697 printf "%s\n" "$supported" >&6; }
   8698 		if test "$supported" = "yes" ; then
   8699 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8700 			found="yes"
   8701 		fi
   8702 	fi
   8703 
   8704 
   8705 
   8706 
   8707 
   8708 
   8709 
   8710 
   8711 
   8712 
   8713 
   8714 
   8715 
   8716 
   8717 
   8718 xorg_testset_save_CFLAGS="$CFLAGS"
   8719 
   8720 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8721 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8722 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8723 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8724 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8725 then :
   8726   printf %s "(cached) " >&6
   8727 else case e in #(
   8728   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8729 /* end confdefs.h.  */
   8730 int i;
   8731 _ACEOF
   8732 if ac_fn_c_try_compile "$LINENO"
   8733 then :
   8734   xorg_cv_cc_flag_unknown_warning_option=yes
   8735 else case e in #(
   8736   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8737 esac
   8738 fi
   8739 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8740 esac
   8741 fi
   8742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8743 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8744 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8745 	CFLAGS="$xorg_testset_save_CFLAGS"
   8746 fi
   8747 
   8748 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8749 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8750 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8751 	fi
   8752 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8753 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8754 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8755 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8756 then :
   8757   printf %s "(cached) " >&6
   8758 else case e in #(
   8759   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8760 /* end confdefs.h.  */
   8761 int i;
   8762 _ACEOF
   8763 if ac_fn_c_try_compile "$LINENO"
   8764 then :
   8765   xorg_cv_cc_flag_unused_command_line_argument=yes
   8766 else case e in #(
   8767   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8768 esac
   8769 fi
   8770 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8771 esac
   8772 fi
   8773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8774 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8775 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8776 	CFLAGS="$xorg_testset_save_CFLAGS"
   8777 fi
   8778 
   8779 found="no"
   8780 
   8781 	if test $found = "no" ; then
   8782 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8783 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8784 		fi
   8785 
   8786 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8787 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8788 		fi
   8789 
   8790 		CFLAGS="$CFLAGS -Werror=address"
   8791 
   8792 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8793 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8794 		cacheid=xorg_cv_cc_flag__Werror_address
   8795 		if eval test \${$cacheid+y}
   8796 then :
   8797   printf %s "(cached) " >&6
   8798 else case e in #(
   8799   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8800 /* end confdefs.h.  */
   8801 int i;
   8802 int
   8803 main (void)
   8804 {
   8805 
   8806   ;
   8807   return 0;
   8808 }
   8809 _ACEOF
   8810 if ac_fn_c_try_link "$LINENO"
   8811 then :
   8812   eval $cacheid=yes
   8813 else case e in #(
   8814   e) eval $cacheid=no ;;
   8815 esac
   8816 fi
   8817 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8818     conftest$ac_exeext conftest.$ac_ext ;;
   8819 esac
   8820 fi
   8821 
   8822 
   8823 		CFLAGS="$xorg_testset_save_CFLAGS"
   8824 
   8825 		eval supported=\$$cacheid
   8826 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8827 printf "%s\n" "$supported" >&6; }
   8828 		if test "$supported" = "yes" ; then
   8829 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8830 			found="yes"
   8831 		fi
   8832 	fi
   8833 
   8834 
   8835 
   8836 
   8837 
   8838 
   8839 
   8840 
   8841 
   8842 
   8843 
   8844 
   8845 
   8846 
   8847 
   8848 xorg_testset_save_CFLAGS="$CFLAGS"
   8849 
   8850 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8851 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8852 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8853 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8854 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8855 then :
   8856   printf %s "(cached) " >&6
   8857 else case e in #(
   8858   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8859 /* end confdefs.h.  */
   8860 int i;
   8861 _ACEOF
   8862 if ac_fn_c_try_compile "$LINENO"
   8863 then :
   8864   xorg_cv_cc_flag_unknown_warning_option=yes
   8865 else case e in #(
   8866   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8867 esac
   8868 fi
   8869 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8870 esac
   8871 fi
   8872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8873 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8874 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8875 	CFLAGS="$xorg_testset_save_CFLAGS"
   8876 fi
   8877 
   8878 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8879 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8880 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8881 	fi
   8882 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8883 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8884 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8885 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8886 then :
   8887   printf %s "(cached) " >&6
   8888 else case e in #(
   8889   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8890 /* end confdefs.h.  */
   8891 int i;
   8892 _ACEOF
   8893 if ac_fn_c_try_compile "$LINENO"
   8894 then :
   8895   xorg_cv_cc_flag_unused_command_line_argument=yes
   8896 else case e in #(
   8897   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8898 esac
   8899 fi
   8900 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8901 esac
   8902 fi
   8903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8904 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8905 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8906 	CFLAGS="$xorg_testset_save_CFLAGS"
   8907 fi
   8908 
   8909 found="no"
   8910 
   8911 	if test $found = "no" ; then
   8912 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8913 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8914 		fi
   8915 
   8916 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8917 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8918 		fi
   8919 
   8920 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8921 
   8922 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8923 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8924 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8925 		if eval test \${$cacheid+y}
   8926 then :
   8927   printf %s "(cached) " >&6
   8928 else case e in #(
   8929   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8930 /* end confdefs.h.  */
   8931 int i;
   8932 int
   8933 main (void)
   8934 {
   8935 
   8936   ;
   8937   return 0;
   8938 }
   8939 _ACEOF
   8940 if ac_fn_c_try_link "$LINENO"
   8941 then :
   8942   eval $cacheid=yes
   8943 else case e in #(
   8944   e) eval $cacheid=no ;;
   8945 esac
   8946 fi
   8947 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8948     conftest$ac_exeext conftest.$ac_ext ;;
   8949 esac
   8950 fi
   8951 
   8952 
   8953 		CFLAGS="$xorg_testset_save_CFLAGS"
   8954 
   8955 		eval supported=\$$cacheid
   8956 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8957 printf "%s\n" "$supported" >&6; }
   8958 		if test "$supported" = "yes" ; then
   8959 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8960 			found="yes"
   8961 		fi
   8962 	fi
   8963 
   8964 	if test $found = "no" ; then
   8965 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8966 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8967 		fi
   8968 
   8969 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8970 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8971 		fi
   8972 
   8973 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8974 
   8975 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8976 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8977 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8978 		if eval test \${$cacheid+y}
   8979 then :
   8980   printf %s "(cached) " >&6
   8981 else case e in #(
   8982   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8983 /* end confdefs.h.  */
   8984 int i;
   8985 int
   8986 main (void)
   8987 {
   8988 
   8989   ;
   8990   return 0;
   8991 }
   8992 _ACEOF
   8993 if ac_fn_c_try_link "$LINENO"
   8994 then :
   8995   eval $cacheid=yes
   8996 else case e in #(
   8997   e) eval $cacheid=no ;;
   8998 esac
   8999 fi
   9000 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9001     conftest$ac_exeext conftest.$ac_ext ;;
   9002 esac
   9003 fi
   9004 
   9005 
   9006 		CFLAGS="$xorg_testset_save_CFLAGS"
   9007 
   9008 		eval supported=\$$cacheid
   9009 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9010 printf "%s\n" "$supported" >&6; }
   9011 		if test "$supported" = "yes" ; then
   9012 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9013 			found="yes"
   9014 		fi
   9015 	fi
   9016 
   9017 
   9018 
   9019 
   9020 
   9021 
   9022 
   9023 
   9024 
   9025 
   9026 
   9027 
   9028 
   9029 
   9030 
   9031 xorg_testset_save_CFLAGS="$CFLAGS"
   9032 
   9033 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9034 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9035 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9036 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9037 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9038 then :
   9039   printf %s "(cached) " >&6
   9040 else case e in #(
   9041   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9042 /* end confdefs.h.  */
   9043 int i;
   9044 _ACEOF
   9045 if ac_fn_c_try_compile "$LINENO"
   9046 then :
   9047   xorg_cv_cc_flag_unknown_warning_option=yes
   9048 else case e in #(
   9049   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9050 esac
   9051 fi
   9052 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9053 esac
   9054 fi
   9055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9056 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9057 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9058 	CFLAGS="$xorg_testset_save_CFLAGS"
   9059 fi
   9060 
   9061 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9062 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9063 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9064 	fi
   9065 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9066 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9067 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9068 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9069 then :
   9070   printf %s "(cached) " >&6
   9071 else case e in #(
   9072   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9073 /* end confdefs.h.  */
   9074 int i;
   9075 _ACEOF
   9076 if ac_fn_c_try_compile "$LINENO"
   9077 then :
   9078   xorg_cv_cc_flag_unused_command_line_argument=yes
   9079 else case e in #(
   9080   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9081 esac
   9082 fi
   9083 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9084 esac
   9085 fi
   9086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9087 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9088 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9089 	CFLAGS="$xorg_testset_save_CFLAGS"
   9090 fi
   9091 
   9092 found="no"
   9093 
   9094 	if test $found = "no" ; then
   9095 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9096 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9097 		fi
   9098 
   9099 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9100 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9101 		fi
   9102 
   9103 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   9104 
   9105 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   9106 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   9107 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   9108 		if eval test \${$cacheid+y}
   9109 then :
   9110   printf %s "(cached) " >&6
   9111 else case e in #(
   9112   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9113 /* end confdefs.h.  */
   9114 int i;
   9115 int
   9116 main (void)
   9117 {
   9118 
   9119   ;
   9120   return 0;
   9121 }
   9122 _ACEOF
   9123 if ac_fn_c_try_link "$LINENO"
   9124 then :
   9125   eval $cacheid=yes
   9126 else case e in #(
   9127   e) eval $cacheid=no ;;
   9128 esac
   9129 fi
   9130 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9131     conftest$ac_exeext conftest.$ac_ext ;;
   9132 esac
   9133 fi
   9134 
   9135 
   9136 		CFLAGS="$xorg_testset_save_CFLAGS"
   9137 
   9138 		eval supported=\$$cacheid
   9139 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9140 printf "%s\n" "$supported" >&6; }
   9141 		if test "$supported" = "yes" ; then
   9142 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   9143 			found="yes"
   9144 		fi
   9145 	fi
   9146 
   9147  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   9148 else
   9149 { 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
   9150 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;}
   9151 
   9152 
   9153 
   9154 
   9155 
   9156 
   9157 
   9158 
   9159 
   9160 
   9161 
   9162 
   9163 
   9164 xorg_testset_save_CFLAGS="$CFLAGS"
   9165 
   9166 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9167 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9168 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9169 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9170 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9171 then :
   9172   printf %s "(cached) " >&6
   9173 else case e in #(
   9174   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9175 /* end confdefs.h.  */
   9176 int i;
   9177 _ACEOF
   9178 if ac_fn_c_try_compile "$LINENO"
   9179 then :
   9180   xorg_cv_cc_flag_unknown_warning_option=yes
   9181 else case e in #(
   9182   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9183 esac
   9184 fi
   9185 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9186 esac
   9187 fi
   9188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9189 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9190 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9191 	CFLAGS="$xorg_testset_save_CFLAGS"
   9192 fi
   9193 
   9194 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9195 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9196 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9197 	fi
   9198 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9199 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9200 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9201 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9202 then :
   9203   printf %s "(cached) " >&6
   9204 else case e in #(
   9205   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9206 /* end confdefs.h.  */
   9207 int i;
   9208 _ACEOF
   9209 if ac_fn_c_try_compile "$LINENO"
   9210 then :
   9211   xorg_cv_cc_flag_unused_command_line_argument=yes
   9212 else case e in #(
   9213   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9214 esac
   9215 fi
   9216 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9217 esac
   9218 fi
   9219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9220 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9221 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9222 	CFLAGS="$xorg_testset_save_CFLAGS"
   9223 fi
   9224 
   9225 found="no"
   9226 
   9227 	if test $found = "no" ; then
   9228 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9229 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9230 		fi
   9231 
   9232 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9233 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9234 		fi
   9235 
   9236 		CFLAGS="$CFLAGS -Wimplicit"
   9237 
   9238 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9239 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9240 		cacheid=xorg_cv_cc_flag__Wimplicit
   9241 		if eval test \${$cacheid+y}
   9242 then :
   9243   printf %s "(cached) " >&6
   9244 else case e in #(
   9245   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9246 /* end confdefs.h.  */
   9247 int i;
   9248 int
   9249 main (void)
   9250 {
   9251 
   9252   ;
   9253   return 0;
   9254 }
   9255 _ACEOF
   9256 if ac_fn_c_try_link "$LINENO"
   9257 then :
   9258   eval $cacheid=yes
   9259 else case e in #(
   9260   e) eval $cacheid=no ;;
   9261 esac
   9262 fi
   9263 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9264     conftest$ac_exeext conftest.$ac_ext ;;
   9265 esac
   9266 fi
   9267 
   9268 
   9269 		CFLAGS="$xorg_testset_save_CFLAGS"
   9270 
   9271 		eval supported=\$$cacheid
   9272 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9273 printf "%s\n" "$supported" >&6; }
   9274 		if test "$supported" = "yes" ; then
   9275 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9276 			found="yes"
   9277 		fi
   9278 	fi
   9279 
   9280 
   9281 
   9282 
   9283 
   9284 
   9285 
   9286 
   9287 
   9288 
   9289 
   9290 
   9291 
   9292 
   9293 
   9294 xorg_testset_save_CFLAGS="$CFLAGS"
   9295 
   9296 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9297 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9298 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9299 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9300 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9301 then :
   9302   printf %s "(cached) " >&6
   9303 else case e in #(
   9304   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9305 /* end confdefs.h.  */
   9306 int i;
   9307 _ACEOF
   9308 if ac_fn_c_try_compile "$LINENO"
   9309 then :
   9310   xorg_cv_cc_flag_unknown_warning_option=yes
   9311 else case e in #(
   9312   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9313 esac
   9314 fi
   9315 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9316 esac
   9317 fi
   9318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9319 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9320 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9321 	CFLAGS="$xorg_testset_save_CFLAGS"
   9322 fi
   9323 
   9324 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9325 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9326 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9327 	fi
   9328 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9329 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9330 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9331 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9332 then :
   9333   printf %s "(cached) " >&6
   9334 else case e in #(
   9335   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9336 /* end confdefs.h.  */
   9337 int i;
   9338 _ACEOF
   9339 if ac_fn_c_try_compile "$LINENO"
   9340 then :
   9341   xorg_cv_cc_flag_unused_command_line_argument=yes
   9342 else case e in #(
   9343   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9344 esac
   9345 fi
   9346 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9347 esac
   9348 fi
   9349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9350 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9351 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9352 	CFLAGS="$xorg_testset_save_CFLAGS"
   9353 fi
   9354 
   9355 found="no"
   9356 
   9357 	if test $found = "no" ; then
   9358 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9359 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9360 		fi
   9361 
   9362 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9363 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9364 		fi
   9365 
   9366 		CFLAGS="$CFLAGS -Wnonnull"
   9367 
   9368 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9369 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9370 		cacheid=xorg_cv_cc_flag__Wnonnull
   9371 		if eval test \${$cacheid+y}
   9372 then :
   9373   printf %s "(cached) " >&6
   9374 else case e in #(
   9375   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9376 /* end confdefs.h.  */
   9377 int i;
   9378 int
   9379 main (void)
   9380 {
   9381 
   9382   ;
   9383   return 0;
   9384 }
   9385 _ACEOF
   9386 if ac_fn_c_try_link "$LINENO"
   9387 then :
   9388   eval $cacheid=yes
   9389 else case e in #(
   9390   e) eval $cacheid=no ;;
   9391 esac
   9392 fi
   9393 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9394     conftest$ac_exeext conftest.$ac_ext ;;
   9395 esac
   9396 fi
   9397 
   9398 
   9399 		CFLAGS="$xorg_testset_save_CFLAGS"
   9400 
   9401 		eval supported=\$$cacheid
   9402 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9403 printf "%s\n" "$supported" >&6; }
   9404 		if test "$supported" = "yes" ; then
   9405 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9406 			found="yes"
   9407 		fi
   9408 	fi
   9409 
   9410 
   9411 
   9412 
   9413 
   9414 
   9415 
   9416 
   9417 
   9418 
   9419 
   9420 
   9421 
   9422 
   9423 
   9424 xorg_testset_save_CFLAGS="$CFLAGS"
   9425 
   9426 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9427 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9428 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9429 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9430 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9431 then :
   9432   printf %s "(cached) " >&6
   9433 else case e in #(
   9434   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9435 /* end confdefs.h.  */
   9436 int i;
   9437 _ACEOF
   9438 if ac_fn_c_try_compile "$LINENO"
   9439 then :
   9440   xorg_cv_cc_flag_unknown_warning_option=yes
   9441 else case e in #(
   9442   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9443 esac
   9444 fi
   9445 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9446 esac
   9447 fi
   9448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9449 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9450 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9451 	CFLAGS="$xorg_testset_save_CFLAGS"
   9452 fi
   9453 
   9454 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9455 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9456 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9457 	fi
   9458 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9459 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9460 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9461 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9462 then :
   9463   printf %s "(cached) " >&6
   9464 else case e in #(
   9465   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9466 /* end confdefs.h.  */
   9467 int i;
   9468 _ACEOF
   9469 if ac_fn_c_try_compile "$LINENO"
   9470 then :
   9471   xorg_cv_cc_flag_unused_command_line_argument=yes
   9472 else case e in #(
   9473   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9474 esac
   9475 fi
   9476 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9477 esac
   9478 fi
   9479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9480 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9481 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9482 	CFLAGS="$xorg_testset_save_CFLAGS"
   9483 fi
   9484 
   9485 found="no"
   9486 
   9487 	if test $found = "no" ; then
   9488 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9489 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9490 		fi
   9491 
   9492 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9493 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9494 		fi
   9495 
   9496 		CFLAGS="$CFLAGS -Winit-self"
   9497 
   9498 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9499 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9500 		cacheid=xorg_cv_cc_flag__Winit_self
   9501 		if eval test \${$cacheid+y}
   9502 then :
   9503   printf %s "(cached) " >&6
   9504 else case e in #(
   9505   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9506 /* end confdefs.h.  */
   9507 int i;
   9508 int
   9509 main (void)
   9510 {
   9511 
   9512   ;
   9513   return 0;
   9514 }
   9515 _ACEOF
   9516 if ac_fn_c_try_link "$LINENO"
   9517 then :
   9518   eval $cacheid=yes
   9519 else case e in #(
   9520   e) eval $cacheid=no ;;
   9521 esac
   9522 fi
   9523 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9524     conftest$ac_exeext conftest.$ac_ext ;;
   9525 esac
   9526 fi
   9527 
   9528 
   9529 		CFLAGS="$xorg_testset_save_CFLAGS"
   9530 
   9531 		eval supported=\$$cacheid
   9532 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9533 printf "%s\n" "$supported" >&6; }
   9534 		if test "$supported" = "yes" ; then
   9535 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9536 			found="yes"
   9537 		fi
   9538 	fi
   9539 
   9540 
   9541 
   9542 
   9543 
   9544 
   9545 
   9546 
   9547 
   9548 
   9549 
   9550 
   9551 
   9552 
   9553 
   9554 xorg_testset_save_CFLAGS="$CFLAGS"
   9555 
   9556 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9557 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9558 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9559 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9560 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9561 then :
   9562   printf %s "(cached) " >&6
   9563 else case e in #(
   9564   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9565 /* end confdefs.h.  */
   9566 int i;
   9567 _ACEOF
   9568 if ac_fn_c_try_compile "$LINENO"
   9569 then :
   9570   xorg_cv_cc_flag_unknown_warning_option=yes
   9571 else case e in #(
   9572   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9573 esac
   9574 fi
   9575 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9576 esac
   9577 fi
   9578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9579 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9580 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9581 	CFLAGS="$xorg_testset_save_CFLAGS"
   9582 fi
   9583 
   9584 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9585 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9586 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9587 	fi
   9588 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9589 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9590 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9591 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9592 then :
   9593   printf %s "(cached) " >&6
   9594 else case e in #(
   9595   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9596 /* end confdefs.h.  */
   9597 int i;
   9598 _ACEOF
   9599 if ac_fn_c_try_compile "$LINENO"
   9600 then :
   9601   xorg_cv_cc_flag_unused_command_line_argument=yes
   9602 else case e in #(
   9603   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9604 esac
   9605 fi
   9606 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9607 esac
   9608 fi
   9609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9610 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9611 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9612 	CFLAGS="$xorg_testset_save_CFLAGS"
   9613 fi
   9614 
   9615 found="no"
   9616 
   9617 	if test $found = "no" ; then
   9618 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9619 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9620 		fi
   9621 
   9622 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9623 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9624 		fi
   9625 
   9626 		CFLAGS="$CFLAGS -Wmain"
   9627 
   9628 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9629 printf %s "checking if $CC supports -Wmain... " >&6; }
   9630 		cacheid=xorg_cv_cc_flag__Wmain
   9631 		if eval test \${$cacheid+y}
   9632 then :
   9633   printf %s "(cached) " >&6
   9634 else case e in #(
   9635   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9636 /* end confdefs.h.  */
   9637 int i;
   9638 int
   9639 main (void)
   9640 {
   9641 
   9642   ;
   9643   return 0;
   9644 }
   9645 _ACEOF
   9646 if ac_fn_c_try_link "$LINENO"
   9647 then :
   9648   eval $cacheid=yes
   9649 else case e in #(
   9650   e) eval $cacheid=no ;;
   9651 esac
   9652 fi
   9653 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9654     conftest$ac_exeext conftest.$ac_ext ;;
   9655 esac
   9656 fi
   9657 
   9658 
   9659 		CFLAGS="$xorg_testset_save_CFLAGS"
   9660 
   9661 		eval supported=\$$cacheid
   9662 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9663 printf "%s\n" "$supported" >&6; }
   9664 		if test "$supported" = "yes" ; then
   9665 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9666 			found="yes"
   9667 		fi
   9668 	fi
   9669 
   9670 
   9671 
   9672 
   9673 
   9674 
   9675 
   9676 
   9677 
   9678 
   9679 
   9680 
   9681 
   9682 
   9683 
   9684 xorg_testset_save_CFLAGS="$CFLAGS"
   9685 
   9686 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9687 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9688 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9689 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9690 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9691 then :
   9692   printf %s "(cached) " >&6
   9693 else case e in #(
   9694   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9695 /* end confdefs.h.  */
   9696 int i;
   9697 _ACEOF
   9698 if ac_fn_c_try_compile "$LINENO"
   9699 then :
   9700   xorg_cv_cc_flag_unknown_warning_option=yes
   9701 else case e in #(
   9702   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9703 esac
   9704 fi
   9705 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9706 esac
   9707 fi
   9708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9709 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9710 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9711 	CFLAGS="$xorg_testset_save_CFLAGS"
   9712 fi
   9713 
   9714 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9715 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9716 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9717 	fi
   9718 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9719 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9720 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9721 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9722 then :
   9723   printf %s "(cached) " >&6
   9724 else case e in #(
   9725   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9726 /* end confdefs.h.  */
   9727 int i;
   9728 _ACEOF
   9729 if ac_fn_c_try_compile "$LINENO"
   9730 then :
   9731   xorg_cv_cc_flag_unused_command_line_argument=yes
   9732 else case e in #(
   9733   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9734 esac
   9735 fi
   9736 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9737 esac
   9738 fi
   9739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9740 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9741 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9742 	CFLAGS="$xorg_testset_save_CFLAGS"
   9743 fi
   9744 
   9745 found="no"
   9746 
   9747 	if test $found = "no" ; then
   9748 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9749 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9750 		fi
   9751 
   9752 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9753 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9754 		fi
   9755 
   9756 		CFLAGS="$CFLAGS -Wmissing-braces"
   9757 
   9758 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9759 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9760 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9761 		if eval test \${$cacheid+y}
   9762 then :
   9763   printf %s "(cached) " >&6
   9764 else case e in #(
   9765   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9766 /* end confdefs.h.  */
   9767 int i;
   9768 int
   9769 main (void)
   9770 {
   9771 
   9772   ;
   9773   return 0;
   9774 }
   9775 _ACEOF
   9776 if ac_fn_c_try_link "$LINENO"
   9777 then :
   9778   eval $cacheid=yes
   9779 else case e in #(
   9780   e) eval $cacheid=no ;;
   9781 esac
   9782 fi
   9783 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9784     conftest$ac_exeext conftest.$ac_ext ;;
   9785 esac
   9786 fi
   9787 
   9788 
   9789 		CFLAGS="$xorg_testset_save_CFLAGS"
   9790 
   9791 		eval supported=\$$cacheid
   9792 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9793 printf "%s\n" "$supported" >&6; }
   9794 		if test "$supported" = "yes" ; then
   9795 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9796 			found="yes"
   9797 		fi
   9798 	fi
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 
   9805 
   9806 
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 
   9813 
   9814 xorg_testset_save_CFLAGS="$CFLAGS"
   9815 
   9816 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9817 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9818 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9819 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9820 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9821 then :
   9822   printf %s "(cached) " >&6
   9823 else case e in #(
   9824   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9825 /* end confdefs.h.  */
   9826 int i;
   9827 _ACEOF
   9828 if ac_fn_c_try_compile "$LINENO"
   9829 then :
   9830   xorg_cv_cc_flag_unknown_warning_option=yes
   9831 else case e in #(
   9832   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9833 esac
   9834 fi
   9835 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9836 esac
   9837 fi
   9838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9839 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9840 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9841 	CFLAGS="$xorg_testset_save_CFLAGS"
   9842 fi
   9843 
   9844 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9845 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9846 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9847 	fi
   9848 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9849 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9850 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9851 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9852 then :
   9853   printf %s "(cached) " >&6
   9854 else case e in #(
   9855   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9856 /* end confdefs.h.  */
   9857 int i;
   9858 _ACEOF
   9859 if ac_fn_c_try_compile "$LINENO"
   9860 then :
   9861   xorg_cv_cc_flag_unused_command_line_argument=yes
   9862 else case e in #(
   9863   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9864 esac
   9865 fi
   9866 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9867 esac
   9868 fi
   9869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9870 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9871 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9872 	CFLAGS="$xorg_testset_save_CFLAGS"
   9873 fi
   9874 
   9875 found="no"
   9876 
   9877 	if test $found = "no" ; then
   9878 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9879 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9880 		fi
   9881 
   9882 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9883 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9884 		fi
   9885 
   9886 		CFLAGS="$CFLAGS -Wsequence-point"
   9887 
   9888 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9889 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9890 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9891 		if eval test \${$cacheid+y}
   9892 then :
   9893   printf %s "(cached) " >&6
   9894 else case e in #(
   9895   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9896 /* end confdefs.h.  */
   9897 int i;
   9898 int
   9899 main (void)
   9900 {
   9901 
   9902   ;
   9903   return 0;
   9904 }
   9905 _ACEOF
   9906 if ac_fn_c_try_link "$LINENO"
   9907 then :
   9908   eval $cacheid=yes
   9909 else case e in #(
   9910   e) eval $cacheid=no ;;
   9911 esac
   9912 fi
   9913 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9914     conftest$ac_exeext conftest.$ac_ext ;;
   9915 esac
   9916 fi
   9917 
   9918 
   9919 		CFLAGS="$xorg_testset_save_CFLAGS"
   9920 
   9921 		eval supported=\$$cacheid
   9922 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9923 printf "%s\n" "$supported" >&6; }
   9924 		if test "$supported" = "yes" ; then
   9925 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9926 			found="yes"
   9927 		fi
   9928 	fi
   9929 
   9930 
   9931 
   9932 
   9933 
   9934 
   9935 
   9936 
   9937 
   9938 
   9939 
   9940 
   9941 
   9942 
   9943 
   9944 xorg_testset_save_CFLAGS="$CFLAGS"
   9945 
   9946 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9947 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9948 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9949 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9950 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9951 then :
   9952   printf %s "(cached) " >&6
   9953 else case e in #(
   9954   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9955 /* end confdefs.h.  */
   9956 int i;
   9957 _ACEOF
   9958 if ac_fn_c_try_compile "$LINENO"
   9959 then :
   9960   xorg_cv_cc_flag_unknown_warning_option=yes
   9961 else case e in #(
   9962   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9963 esac
   9964 fi
   9965 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9966 esac
   9967 fi
   9968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9969 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9970 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9971 	CFLAGS="$xorg_testset_save_CFLAGS"
   9972 fi
   9973 
   9974 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9975 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9976 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9977 	fi
   9978 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9979 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9980 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9981 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9982 then :
   9983   printf %s "(cached) " >&6
   9984 else case e in #(
   9985   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9986 /* end confdefs.h.  */
   9987 int i;
   9988 _ACEOF
   9989 if ac_fn_c_try_compile "$LINENO"
   9990 then :
   9991   xorg_cv_cc_flag_unused_command_line_argument=yes
   9992 else case e in #(
   9993   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9994 esac
   9995 fi
   9996 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9997 esac
   9998 fi
   9999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10000 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10001 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10002 	CFLAGS="$xorg_testset_save_CFLAGS"
   10003 fi
   10004 
   10005 found="no"
   10006 
   10007 	if test $found = "no" ; then
   10008 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10009 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10010 		fi
   10011 
   10012 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10013 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10014 		fi
   10015 
   10016 		CFLAGS="$CFLAGS -Wreturn-type"
   10017 
   10018 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   10019 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   10020 		cacheid=xorg_cv_cc_flag__Wreturn_type
   10021 		if eval test \${$cacheid+y}
   10022 then :
   10023   printf %s "(cached) " >&6
   10024 else case e in #(
   10025   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10026 /* end confdefs.h.  */
   10027 int i;
   10028 int
   10029 main (void)
   10030 {
   10031 
   10032   ;
   10033   return 0;
   10034 }
   10035 _ACEOF
   10036 if ac_fn_c_try_link "$LINENO"
   10037 then :
   10038   eval $cacheid=yes
   10039 else case e in #(
   10040   e) eval $cacheid=no ;;
   10041 esac
   10042 fi
   10043 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10044     conftest$ac_exeext conftest.$ac_ext ;;
   10045 esac
   10046 fi
   10047 
   10048 
   10049 		CFLAGS="$xorg_testset_save_CFLAGS"
   10050 
   10051 		eval supported=\$$cacheid
   10052 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10053 printf "%s\n" "$supported" >&6; }
   10054 		if test "$supported" = "yes" ; then
   10055 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   10056 			found="yes"
   10057 		fi
   10058 	fi
   10059 
   10060 
   10061 
   10062 
   10063 
   10064 
   10065 
   10066 
   10067 
   10068 
   10069 
   10070 
   10071 
   10072 
   10073 
   10074 xorg_testset_save_CFLAGS="$CFLAGS"
   10075 
   10076 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10077 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10078 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10079 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10080 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10081 then :
   10082   printf %s "(cached) " >&6
   10083 else case e in #(
   10084   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10085 /* end confdefs.h.  */
   10086 int i;
   10087 _ACEOF
   10088 if ac_fn_c_try_compile "$LINENO"
   10089 then :
   10090   xorg_cv_cc_flag_unknown_warning_option=yes
   10091 else case e in #(
   10092   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10093 esac
   10094 fi
   10095 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10096 esac
   10097 fi
   10098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10099 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10100 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10101 	CFLAGS="$xorg_testset_save_CFLAGS"
   10102 fi
   10103 
   10104 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10105 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10106 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10107 	fi
   10108 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10109 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10110 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10111 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10112 then :
   10113   printf %s "(cached) " >&6
   10114 else case e in #(
   10115   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10116 /* end confdefs.h.  */
   10117 int i;
   10118 _ACEOF
   10119 if ac_fn_c_try_compile "$LINENO"
   10120 then :
   10121   xorg_cv_cc_flag_unused_command_line_argument=yes
   10122 else case e in #(
   10123   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10124 esac
   10125 fi
   10126 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10127 esac
   10128 fi
   10129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10130 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10131 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10132 	CFLAGS="$xorg_testset_save_CFLAGS"
   10133 fi
   10134 
   10135 found="no"
   10136 
   10137 	if test $found = "no" ; then
   10138 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10139 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10140 		fi
   10141 
   10142 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10143 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10144 		fi
   10145 
   10146 		CFLAGS="$CFLAGS -Wtrigraphs"
   10147 
   10148 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   10149 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   10150 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   10151 		if eval test \${$cacheid+y}
   10152 then :
   10153   printf %s "(cached) " >&6
   10154 else case e in #(
   10155   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10156 /* end confdefs.h.  */
   10157 int i;
   10158 int
   10159 main (void)
   10160 {
   10161 
   10162   ;
   10163   return 0;
   10164 }
   10165 _ACEOF
   10166 if ac_fn_c_try_link "$LINENO"
   10167 then :
   10168   eval $cacheid=yes
   10169 else case e in #(
   10170   e) eval $cacheid=no ;;
   10171 esac
   10172 fi
   10173 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10174     conftest$ac_exeext conftest.$ac_ext ;;
   10175 esac
   10176 fi
   10177 
   10178 
   10179 		CFLAGS="$xorg_testset_save_CFLAGS"
   10180 
   10181 		eval supported=\$$cacheid
   10182 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10183 printf "%s\n" "$supported" >&6; }
   10184 		if test "$supported" = "yes" ; then
   10185 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   10186 			found="yes"
   10187 		fi
   10188 	fi
   10189 
   10190 
   10191 
   10192 
   10193 
   10194 
   10195 
   10196 
   10197 
   10198 
   10199 
   10200 
   10201 
   10202 
   10203 
   10204 xorg_testset_save_CFLAGS="$CFLAGS"
   10205 
   10206 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10207 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10208 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10209 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10210 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10211 then :
   10212   printf %s "(cached) " >&6
   10213 else case e in #(
   10214   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10215 /* end confdefs.h.  */
   10216 int i;
   10217 _ACEOF
   10218 if ac_fn_c_try_compile "$LINENO"
   10219 then :
   10220   xorg_cv_cc_flag_unknown_warning_option=yes
   10221 else case e in #(
   10222   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10223 esac
   10224 fi
   10225 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10226 esac
   10227 fi
   10228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10229 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10230 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10231 	CFLAGS="$xorg_testset_save_CFLAGS"
   10232 fi
   10233 
   10234 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10235 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10236 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10237 	fi
   10238 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10239 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10240 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10241 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10242 then :
   10243   printf %s "(cached) " >&6
   10244 else case e in #(
   10245   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10246 /* end confdefs.h.  */
   10247 int i;
   10248 _ACEOF
   10249 if ac_fn_c_try_compile "$LINENO"
   10250 then :
   10251   xorg_cv_cc_flag_unused_command_line_argument=yes
   10252 else case e in #(
   10253   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10254 esac
   10255 fi
   10256 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10257 esac
   10258 fi
   10259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10260 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10261 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10262 	CFLAGS="$xorg_testset_save_CFLAGS"
   10263 fi
   10264 
   10265 found="no"
   10266 
   10267 	if test $found = "no" ; then
   10268 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10269 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10270 		fi
   10271 
   10272 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10273 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10274 		fi
   10275 
   10276 		CFLAGS="$CFLAGS -Warray-bounds"
   10277 
   10278 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10279 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10280 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10281 		if eval test \${$cacheid+y}
   10282 then :
   10283   printf %s "(cached) " >&6
   10284 else case e in #(
   10285   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10286 /* end confdefs.h.  */
   10287 int i;
   10288 int
   10289 main (void)
   10290 {
   10291 
   10292   ;
   10293   return 0;
   10294 }
   10295 _ACEOF
   10296 if ac_fn_c_try_link "$LINENO"
   10297 then :
   10298   eval $cacheid=yes
   10299 else case e in #(
   10300   e) eval $cacheid=no ;;
   10301 esac
   10302 fi
   10303 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10304     conftest$ac_exeext conftest.$ac_ext ;;
   10305 esac
   10306 fi
   10307 
   10308 
   10309 		CFLAGS="$xorg_testset_save_CFLAGS"
   10310 
   10311 		eval supported=\$$cacheid
   10312 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10313 printf "%s\n" "$supported" >&6; }
   10314 		if test "$supported" = "yes" ; then
   10315 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10316 			found="yes"
   10317 		fi
   10318 	fi
   10319 
   10320 
   10321 
   10322 
   10323 
   10324 
   10325 
   10326 
   10327 
   10328 
   10329 
   10330 
   10331 
   10332 
   10333 
   10334 xorg_testset_save_CFLAGS="$CFLAGS"
   10335 
   10336 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10337 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10338 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10339 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10340 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10341 then :
   10342   printf %s "(cached) " >&6
   10343 else case e in #(
   10344   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10345 /* end confdefs.h.  */
   10346 int i;
   10347 _ACEOF
   10348 if ac_fn_c_try_compile "$LINENO"
   10349 then :
   10350   xorg_cv_cc_flag_unknown_warning_option=yes
   10351 else case e in #(
   10352   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10353 esac
   10354 fi
   10355 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10356 esac
   10357 fi
   10358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10359 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10360 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10361 	CFLAGS="$xorg_testset_save_CFLAGS"
   10362 fi
   10363 
   10364 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10365 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10366 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10367 	fi
   10368 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10369 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10370 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10371 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10372 then :
   10373   printf %s "(cached) " >&6
   10374 else case e in #(
   10375   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10376 /* end confdefs.h.  */
   10377 int i;
   10378 _ACEOF
   10379 if ac_fn_c_try_compile "$LINENO"
   10380 then :
   10381   xorg_cv_cc_flag_unused_command_line_argument=yes
   10382 else case e in #(
   10383   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10384 esac
   10385 fi
   10386 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10387 esac
   10388 fi
   10389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10390 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10391 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10392 	CFLAGS="$xorg_testset_save_CFLAGS"
   10393 fi
   10394 
   10395 found="no"
   10396 
   10397 	if test $found = "no" ; then
   10398 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10399 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10400 		fi
   10401 
   10402 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10403 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10404 		fi
   10405 
   10406 		CFLAGS="$CFLAGS -Wwrite-strings"
   10407 
   10408 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10409 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10410 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10411 		if eval test \${$cacheid+y}
   10412 then :
   10413   printf %s "(cached) " >&6
   10414 else case e in #(
   10415   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10416 /* end confdefs.h.  */
   10417 int i;
   10418 int
   10419 main (void)
   10420 {
   10421 
   10422   ;
   10423   return 0;
   10424 }
   10425 _ACEOF
   10426 if ac_fn_c_try_link "$LINENO"
   10427 then :
   10428   eval $cacheid=yes
   10429 else case e in #(
   10430   e) eval $cacheid=no ;;
   10431 esac
   10432 fi
   10433 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10434     conftest$ac_exeext conftest.$ac_ext ;;
   10435 esac
   10436 fi
   10437 
   10438 
   10439 		CFLAGS="$xorg_testset_save_CFLAGS"
   10440 
   10441 		eval supported=\$$cacheid
   10442 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10443 printf "%s\n" "$supported" >&6; }
   10444 		if test "$supported" = "yes" ; then
   10445 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10446 			found="yes"
   10447 		fi
   10448 	fi
   10449 
   10450 
   10451 
   10452 
   10453 
   10454 
   10455 
   10456 
   10457 
   10458 
   10459 
   10460 
   10461 
   10462 
   10463 
   10464 xorg_testset_save_CFLAGS="$CFLAGS"
   10465 
   10466 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10467 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10468 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10469 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10470 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10471 then :
   10472   printf %s "(cached) " >&6
   10473 else case e in #(
   10474   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10475 /* end confdefs.h.  */
   10476 int i;
   10477 _ACEOF
   10478 if ac_fn_c_try_compile "$LINENO"
   10479 then :
   10480   xorg_cv_cc_flag_unknown_warning_option=yes
   10481 else case e in #(
   10482   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10483 esac
   10484 fi
   10485 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10486 esac
   10487 fi
   10488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10489 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10490 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10491 	CFLAGS="$xorg_testset_save_CFLAGS"
   10492 fi
   10493 
   10494 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10495 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10496 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10497 	fi
   10498 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10499 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10500 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10501 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10502 then :
   10503   printf %s "(cached) " >&6
   10504 else case e in #(
   10505   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10506 /* end confdefs.h.  */
   10507 int i;
   10508 _ACEOF
   10509 if ac_fn_c_try_compile "$LINENO"
   10510 then :
   10511   xorg_cv_cc_flag_unused_command_line_argument=yes
   10512 else case e in #(
   10513   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10514 esac
   10515 fi
   10516 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10517 esac
   10518 fi
   10519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10520 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10521 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10522 	CFLAGS="$xorg_testset_save_CFLAGS"
   10523 fi
   10524 
   10525 found="no"
   10526 
   10527 	if test $found = "no" ; then
   10528 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10529 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10530 		fi
   10531 
   10532 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10533 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10534 		fi
   10535 
   10536 		CFLAGS="$CFLAGS -Waddress"
   10537 
   10538 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10539 printf %s "checking if $CC supports -Waddress... " >&6; }
   10540 		cacheid=xorg_cv_cc_flag__Waddress
   10541 		if eval test \${$cacheid+y}
   10542 then :
   10543   printf %s "(cached) " >&6
   10544 else case e in #(
   10545   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10546 /* end confdefs.h.  */
   10547 int i;
   10548 int
   10549 main (void)
   10550 {
   10551 
   10552   ;
   10553   return 0;
   10554 }
   10555 _ACEOF
   10556 if ac_fn_c_try_link "$LINENO"
   10557 then :
   10558   eval $cacheid=yes
   10559 else case e in #(
   10560   e) eval $cacheid=no ;;
   10561 esac
   10562 fi
   10563 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10564     conftest$ac_exeext conftest.$ac_ext ;;
   10565 esac
   10566 fi
   10567 
   10568 
   10569 		CFLAGS="$xorg_testset_save_CFLAGS"
   10570 
   10571 		eval supported=\$$cacheid
   10572 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10573 printf "%s\n" "$supported" >&6; }
   10574 		if test "$supported" = "yes" ; then
   10575 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10576 			found="yes"
   10577 		fi
   10578 	fi
   10579 
   10580 
   10581 
   10582 
   10583 
   10584 
   10585 
   10586 
   10587 
   10588 
   10589 
   10590 
   10591 
   10592 
   10593 
   10594 xorg_testset_save_CFLAGS="$CFLAGS"
   10595 
   10596 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10597 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10598 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10599 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10600 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10601 then :
   10602   printf %s "(cached) " >&6
   10603 else case e in #(
   10604   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10605 /* end confdefs.h.  */
   10606 int i;
   10607 _ACEOF
   10608 if ac_fn_c_try_compile "$LINENO"
   10609 then :
   10610   xorg_cv_cc_flag_unknown_warning_option=yes
   10611 else case e in #(
   10612   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10613 esac
   10614 fi
   10615 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10616 esac
   10617 fi
   10618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10619 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10620 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10621 	CFLAGS="$xorg_testset_save_CFLAGS"
   10622 fi
   10623 
   10624 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10625 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10626 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10627 	fi
   10628 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10629 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10630 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10631 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10632 then :
   10633   printf %s "(cached) " >&6
   10634 else case e in #(
   10635   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10636 /* end confdefs.h.  */
   10637 int i;
   10638 _ACEOF
   10639 if ac_fn_c_try_compile "$LINENO"
   10640 then :
   10641   xorg_cv_cc_flag_unused_command_line_argument=yes
   10642 else case e in #(
   10643   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10644 esac
   10645 fi
   10646 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10647 esac
   10648 fi
   10649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10650 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10651 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10652 	CFLAGS="$xorg_testset_save_CFLAGS"
   10653 fi
   10654 
   10655 found="no"
   10656 
   10657 	if test $found = "no" ; then
   10658 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10659 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10660 		fi
   10661 
   10662 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10663 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10664 		fi
   10665 
   10666 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10667 
   10668 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10669 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10670 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10671 		if eval test \${$cacheid+y}
   10672 then :
   10673   printf %s "(cached) " >&6
   10674 else case e in #(
   10675   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10676 /* end confdefs.h.  */
   10677 int i;
   10678 int
   10679 main (void)
   10680 {
   10681 
   10682   ;
   10683   return 0;
   10684 }
   10685 _ACEOF
   10686 if ac_fn_c_try_link "$LINENO"
   10687 then :
   10688   eval $cacheid=yes
   10689 else case e in #(
   10690   e) eval $cacheid=no ;;
   10691 esac
   10692 fi
   10693 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10694     conftest$ac_exeext conftest.$ac_ext ;;
   10695 esac
   10696 fi
   10697 
   10698 
   10699 		CFLAGS="$xorg_testset_save_CFLAGS"
   10700 
   10701 		eval supported=\$$cacheid
   10702 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10703 printf "%s\n" "$supported" >&6; }
   10704 		if test "$supported" = "yes" ; then
   10705 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10706 			found="yes"
   10707 		fi
   10708 	fi
   10709 
   10710 
   10711 
   10712 
   10713 
   10714 
   10715 
   10716 
   10717 
   10718 
   10719 
   10720 
   10721 
   10722 
   10723 
   10724 xorg_testset_save_CFLAGS="$CFLAGS"
   10725 
   10726 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10727 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10728 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10729 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10730 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10731 then :
   10732   printf %s "(cached) " >&6
   10733 else case e in #(
   10734   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10735 /* end confdefs.h.  */
   10736 int i;
   10737 _ACEOF
   10738 if ac_fn_c_try_compile "$LINENO"
   10739 then :
   10740   xorg_cv_cc_flag_unknown_warning_option=yes
   10741 else case e in #(
   10742   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10743 esac
   10744 fi
   10745 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10746 esac
   10747 fi
   10748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10749 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10750 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10751 	CFLAGS="$xorg_testset_save_CFLAGS"
   10752 fi
   10753 
   10754 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10755 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10756 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10757 	fi
   10758 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10759 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10760 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10761 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10762 then :
   10763   printf %s "(cached) " >&6
   10764 else case e in #(
   10765   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10766 /* end confdefs.h.  */
   10767 int i;
   10768 _ACEOF
   10769 if ac_fn_c_try_compile "$LINENO"
   10770 then :
   10771   xorg_cv_cc_flag_unused_command_line_argument=yes
   10772 else case e in #(
   10773   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10774 esac
   10775 fi
   10776 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10777 esac
   10778 fi
   10779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10780 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10781 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10782 	CFLAGS="$xorg_testset_save_CFLAGS"
   10783 fi
   10784 
   10785 found="no"
   10786 
   10787 	if test $found = "no" ; then
   10788 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10789 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10790 		fi
   10791 
   10792 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10793 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10794 		fi
   10795 
   10796 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10797 
   10798 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10799 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10800 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10801 		if eval test \${$cacheid+y}
   10802 then :
   10803   printf %s "(cached) " >&6
   10804 else case e in #(
   10805   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10806 /* end confdefs.h.  */
   10807 int i;
   10808 int
   10809 main (void)
   10810 {
   10811 
   10812   ;
   10813   return 0;
   10814 }
   10815 _ACEOF
   10816 if ac_fn_c_try_link "$LINENO"
   10817 then :
   10818   eval $cacheid=yes
   10819 else case e in #(
   10820   e) eval $cacheid=no ;;
   10821 esac
   10822 fi
   10823 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10824     conftest$ac_exeext conftest.$ac_ext ;;
   10825 esac
   10826 fi
   10827 
   10828 
   10829 		CFLAGS="$xorg_testset_save_CFLAGS"
   10830 
   10831 		eval supported=\$$cacheid
   10832 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10833 printf "%s\n" "$supported" >&6; }
   10834 		if test "$supported" = "yes" ; then
   10835 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10836 			found="yes"
   10837 		fi
   10838 	fi
   10839 
   10840 
   10841 fi
   10842 
   10843 
   10844 
   10845 
   10846 
   10847 
   10848 
   10849 		CWARNFLAGS="$BASE_CFLAGS"
   10850 		if  test "x$GCC" = xyes ; then
   10851 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10852 		fi
   10853 
   10854 
   10855 
   10856 
   10857 
   10858 
   10859 
   10860 
   10861 # Check whether --enable-strict-compilation was given.
   10862 if test ${enable_strict_compilation+y}
   10863 then :
   10864   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10865 else case e in #(
   10866   e) STRICT_COMPILE=no ;;
   10867 esac
   10868 fi
   10869 
   10870 
   10871 
   10872 
   10873 
   10874 
   10875 STRICT_CFLAGS=""
   10876 
   10877 
   10878 
   10879 
   10880 
   10881 
   10882 
   10883 
   10884 
   10885 
   10886 
   10887 
   10888 
   10889 xorg_testset_save_CFLAGS="$CFLAGS"
   10890 
   10891 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10892 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10893 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10894 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10895 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10896 then :
   10897   printf %s "(cached) " >&6
   10898 else case e in #(
   10899   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10900 /* end confdefs.h.  */
   10901 int i;
   10902 _ACEOF
   10903 if ac_fn_c_try_compile "$LINENO"
   10904 then :
   10905   xorg_cv_cc_flag_unknown_warning_option=yes
   10906 else case e in #(
   10907   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10908 esac
   10909 fi
   10910 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10911 esac
   10912 fi
   10913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10914 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10915 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10916 	CFLAGS="$xorg_testset_save_CFLAGS"
   10917 fi
   10918 
   10919 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10920 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10921 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10922 	fi
   10923 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10924 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10925 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10926 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10927 then :
   10928   printf %s "(cached) " >&6
   10929 else case e in #(
   10930   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10931 /* end confdefs.h.  */
   10932 int i;
   10933 _ACEOF
   10934 if ac_fn_c_try_compile "$LINENO"
   10935 then :
   10936   xorg_cv_cc_flag_unused_command_line_argument=yes
   10937 else case e in #(
   10938   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10939 esac
   10940 fi
   10941 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10942 esac
   10943 fi
   10944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10945 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10946 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10947 	CFLAGS="$xorg_testset_save_CFLAGS"
   10948 fi
   10949 
   10950 found="no"
   10951 
   10952 	if test $found = "no" ; then
   10953 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10954 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10955 		fi
   10956 
   10957 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10958 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10959 		fi
   10960 
   10961 		CFLAGS="$CFLAGS -pedantic"
   10962 
   10963 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10964 printf %s "checking if $CC supports -pedantic... " >&6; }
   10965 		cacheid=xorg_cv_cc_flag__pedantic
   10966 		if eval test \${$cacheid+y}
   10967 then :
   10968   printf %s "(cached) " >&6
   10969 else case e in #(
   10970   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10971 /* end confdefs.h.  */
   10972 int i;
   10973 int
   10974 main (void)
   10975 {
   10976 
   10977   ;
   10978   return 0;
   10979 }
   10980 _ACEOF
   10981 if ac_fn_c_try_link "$LINENO"
   10982 then :
   10983   eval $cacheid=yes
   10984 else case e in #(
   10985   e) eval $cacheid=no ;;
   10986 esac
   10987 fi
   10988 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10989     conftest$ac_exeext conftest.$ac_ext ;;
   10990 esac
   10991 fi
   10992 
   10993 
   10994 		CFLAGS="$xorg_testset_save_CFLAGS"
   10995 
   10996 		eval supported=\$$cacheid
   10997 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10998 printf "%s\n" "$supported" >&6; }
   10999 		if test "$supported" = "yes" ; then
   11000 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   11001 			found="yes"
   11002 		fi
   11003 	fi
   11004 
   11005 
   11006 
   11007 
   11008 
   11009 
   11010 
   11011 
   11012 
   11013 
   11014 
   11015 
   11016 
   11017 
   11018 
   11019 xorg_testset_save_CFLAGS="$CFLAGS"
   11020 
   11021 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11022 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11023 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11024 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11025 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11026 then :
   11027   printf %s "(cached) " >&6
   11028 else case e in #(
   11029   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11030 /* end confdefs.h.  */
   11031 int i;
   11032 _ACEOF
   11033 if ac_fn_c_try_compile "$LINENO"
   11034 then :
   11035   xorg_cv_cc_flag_unknown_warning_option=yes
   11036 else case e in #(
   11037   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11038 esac
   11039 fi
   11040 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11041 esac
   11042 fi
   11043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11044 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11045 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11046 	CFLAGS="$xorg_testset_save_CFLAGS"
   11047 fi
   11048 
   11049 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11050 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11051 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11052 	fi
   11053 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11054 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11055 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11056 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11057 then :
   11058   printf %s "(cached) " >&6
   11059 else case e in #(
   11060   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11061 /* end confdefs.h.  */
   11062 int i;
   11063 _ACEOF
   11064 if ac_fn_c_try_compile "$LINENO"
   11065 then :
   11066   xorg_cv_cc_flag_unused_command_line_argument=yes
   11067 else case e in #(
   11068   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11069 esac
   11070 fi
   11071 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11072 esac
   11073 fi
   11074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11075 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11076 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11077 	CFLAGS="$xorg_testset_save_CFLAGS"
   11078 fi
   11079 
   11080 found="no"
   11081 
   11082 	if test $found = "no" ; then
   11083 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11084 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11085 		fi
   11086 
   11087 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11088 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11089 		fi
   11090 
   11091 		CFLAGS="$CFLAGS -Werror"
   11092 
   11093 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   11094 printf %s "checking if $CC supports -Werror... " >&6; }
   11095 		cacheid=xorg_cv_cc_flag__Werror
   11096 		if eval test \${$cacheid+y}
   11097 then :
   11098   printf %s "(cached) " >&6
   11099 else case e in #(
   11100   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11101 /* end confdefs.h.  */
   11102 int i;
   11103 int
   11104 main (void)
   11105 {
   11106 
   11107   ;
   11108   return 0;
   11109 }
   11110 _ACEOF
   11111 if ac_fn_c_try_link "$LINENO"
   11112 then :
   11113   eval $cacheid=yes
   11114 else case e in #(
   11115   e) eval $cacheid=no ;;
   11116 esac
   11117 fi
   11118 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11119     conftest$ac_exeext conftest.$ac_ext ;;
   11120 esac
   11121 fi
   11122 
   11123 
   11124 		CFLAGS="$xorg_testset_save_CFLAGS"
   11125 
   11126 		eval supported=\$$cacheid
   11127 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11128 printf "%s\n" "$supported" >&6; }
   11129 		if test "$supported" = "yes" ; then
   11130 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   11131 			found="yes"
   11132 		fi
   11133 	fi
   11134 
   11135 	if test $found = "no" ; then
   11136 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11137 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11138 		fi
   11139 
   11140 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11141 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11142 		fi
   11143 
   11144 		CFLAGS="$CFLAGS -errwarn"
   11145 
   11146 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   11147 printf %s "checking if $CC supports -errwarn... " >&6; }
   11148 		cacheid=xorg_cv_cc_flag__errwarn
   11149 		if eval test \${$cacheid+y}
   11150 then :
   11151   printf %s "(cached) " >&6
   11152 else case e in #(
   11153   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11154 /* end confdefs.h.  */
   11155 int i;
   11156 int
   11157 main (void)
   11158 {
   11159 
   11160   ;
   11161   return 0;
   11162 }
   11163 _ACEOF
   11164 if ac_fn_c_try_link "$LINENO"
   11165 then :
   11166   eval $cacheid=yes
   11167 else case e in #(
   11168   e) eval $cacheid=no ;;
   11169 esac
   11170 fi
   11171 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11172     conftest$ac_exeext conftest.$ac_ext ;;
   11173 esac
   11174 fi
   11175 
   11176 
   11177 		CFLAGS="$xorg_testset_save_CFLAGS"
   11178 
   11179 		eval supported=\$$cacheid
   11180 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11181 printf "%s\n" "$supported" >&6; }
   11182 		if test "$supported" = "yes" ; then
   11183 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   11184 			found="yes"
   11185 		fi
   11186 	fi
   11187 
   11188 
   11189 
   11190 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   11191 # activate it with -Werror, so we add it here explicitly.
   11192 
   11193 
   11194 
   11195 
   11196 
   11197 
   11198 
   11199 
   11200 
   11201 
   11202 
   11203 
   11204 
   11205 xorg_testset_save_CFLAGS="$CFLAGS"
   11206 
   11207 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11208 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11209 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11210 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11211 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11212 then :
   11213   printf %s "(cached) " >&6
   11214 else case e in #(
   11215   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11216 /* end confdefs.h.  */
   11217 int i;
   11218 _ACEOF
   11219 if ac_fn_c_try_compile "$LINENO"
   11220 then :
   11221   xorg_cv_cc_flag_unknown_warning_option=yes
   11222 else case e in #(
   11223   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11224 esac
   11225 fi
   11226 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11227 esac
   11228 fi
   11229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11230 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11231 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11232 	CFLAGS="$xorg_testset_save_CFLAGS"
   11233 fi
   11234 
   11235 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11236 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11237 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11238 	fi
   11239 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11240 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11241 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11242 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11243 then :
   11244   printf %s "(cached) " >&6
   11245 else case e in #(
   11246   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11247 /* end confdefs.h.  */
   11248 int i;
   11249 _ACEOF
   11250 if ac_fn_c_try_compile "$LINENO"
   11251 then :
   11252   xorg_cv_cc_flag_unused_command_line_argument=yes
   11253 else case e in #(
   11254   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11255 esac
   11256 fi
   11257 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11258 esac
   11259 fi
   11260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11261 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11262 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11263 	CFLAGS="$xorg_testset_save_CFLAGS"
   11264 fi
   11265 
   11266 found="no"
   11267 
   11268 	if test $found = "no" ; then
   11269 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11270 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11271 		fi
   11272 
   11273 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11274 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11275 		fi
   11276 
   11277 		CFLAGS="$CFLAGS -Werror=attributes"
   11278 
   11279 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11280 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11281 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11282 		if eval test \${$cacheid+y}
   11283 then :
   11284   printf %s "(cached) " >&6
   11285 else case e in #(
   11286   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11287 /* end confdefs.h.  */
   11288 int i;
   11289 int
   11290 main (void)
   11291 {
   11292 
   11293   ;
   11294   return 0;
   11295 }
   11296 _ACEOF
   11297 if ac_fn_c_try_link "$LINENO"
   11298 then :
   11299   eval $cacheid=yes
   11300 else case e in #(
   11301   e) eval $cacheid=no ;;
   11302 esac
   11303 fi
   11304 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11305     conftest$ac_exeext conftest.$ac_ext ;;
   11306 esac
   11307 fi
   11308 
   11309 
   11310 		CFLAGS="$xorg_testset_save_CFLAGS"
   11311 
   11312 		eval supported=\$$cacheid
   11313 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11314 printf "%s\n" "$supported" >&6; }
   11315 		if test "$supported" = "yes" ; then
   11316 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11317 			found="yes"
   11318 		fi
   11319 	fi
   11320 
   11321 
   11322 
   11323 if test "x$STRICT_COMPILE" = "xyes"; then
   11324     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11325     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11326 fi
   11327 
   11328 
   11329 
   11330 
   11331 
   11332 
   11333 
   11334 
   11335 cat >>confdefs.h <<_ACEOF
   11336 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11337 _ACEOF
   11338 
   11339 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11340 	if test "x$PVM" = "x"; then
   11341 		PVM="0"
   11342 	fi
   11343 
   11344 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11345 
   11346 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11347 	if test "x$PVP" = "x"; then
   11348 		PVP="0"
   11349 	fi
   11350 
   11351 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11352 
   11353 
   11354 
   11355 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11356 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11357 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11358 touch \$(top_srcdir)/ChangeLog; \
   11359 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11360 
   11361 
   11362 
   11363 
   11364 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11365 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11366 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11367 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11368 touch \$(top_srcdir)/INSTALL; \
   11369 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11370 
   11371 
   11372 
   11373 
   11374 
   11375 
   11376 case $host_os in
   11377     solaris*)
   11378         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11379         # check for a man page file found in later versions that use
   11380         # traditional section numbers instead
   11381         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11382 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11383 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11384 then :
   11385   printf %s "(cached) " >&6
   11386 else case e in #(
   11387   e) test "$cross_compiling" = yes &&
   11388   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11389 if test -r "/usr/share/man/man7/attributes.7"; then
   11390   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11391 else
   11392   ac_cv_file__usr_share_man_man7_attributes_7=no
   11393 fi ;;
   11394 esac
   11395 fi
   11396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11397 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11398 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11399 then :
   11400   SYSV_MAN_SECTIONS=false
   11401 else case e in #(
   11402   e) SYSV_MAN_SECTIONS=true ;;
   11403 esac
   11404 fi
   11405 
   11406         ;;
   11407     *) SYSV_MAN_SECTIONS=false ;;
   11408 esac
   11409 
   11410 if test x$APP_MAN_SUFFIX = x    ; then
   11411     APP_MAN_SUFFIX=1
   11412 fi
   11413 if test x$APP_MAN_DIR = x    ; then
   11414     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11415 fi
   11416 
   11417 if test x$LIB_MAN_SUFFIX = x    ; then
   11418     LIB_MAN_SUFFIX=3
   11419 fi
   11420 if test x$LIB_MAN_DIR = x    ; then
   11421     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11422 fi
   11423 
   11424 if test x$FILE_MAN_SUFFIX = x    ; then
   11425     case $SYSV_MAN_SECTIONS in
   11426 	true)				FILE_MAN_SUFFIX=4  ;;
   11427 	*)				FILE_MAN_SUFFIX=5  ;;
   11428     esac
   11429 fi
   11430 if test x$FILE_MAN_DIR = x    ; then
   11431     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11432 fi
   11433 
   11434 if test x$MISC_MAN_SUFFIX = x    ; then
   11435     case $SYSV_MAN_SECTIONS in
   11436 	true)				MISC_MAN_SUFFIX=5  ;;
   11437 	*)				MISC_MAN_SUFFIX=7  ;;
   11438     esac
   11439 fi
   11440 if test x$MISC_MAN_DIR = x    ; then
   11441     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11442 fi
   11443 
   11444 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11445     case $SYSV_MAN_SECTIONS in
   11446 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11447 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11448     esac
   11449 fi
   11450 if test x$DRIVER_MAN_DIR = x    ; then
   11451     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11452 fi
   11453 
   11454 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11455     case $SYSV_MAN_SECTIONS in
   11456 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11457 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11458     esac
   11459 fi
   11460 if test x$ADMIN_MAN_DIR = x    ; then
   11461     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11462 fi
   11463 
   11464 
   11465 
   11466 
   11467 
   11468 
   11469 
   11470 
   11471 
   11472 
   11473 
   11474 
   11475 
   11476 
   11477 
   11478 XORG_MAN_PAGE="X Version 11"
   11479 
   11480 MAN_SUBSTS="\
   11481 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11482 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11483 	-e 's|__xservername__|Xorg|g' \
   11484 	-e 's|__xconfigfile__|xorg.conf|g' \
   11485 	-e 's|__projectroot__|\$(prefix)|g' \
   11486 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11487 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11488 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11489 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11490 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11491 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11492 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11493 
   11494 
   11495 
   11496 # Check whether --enable-silent-rules was given.
   11497 if test ${enable_silent_rules+y}
   11498 then :
   11499   enableval=$enable_silent_rules;
   11500 fi
   11501 
   11502 case $enable_silent_rules in # (((
   11503   yes) AM_DEFAULT_VERBOSITY=0;;
   11504    no) AM_DEFAULT_VERBOSITY=1;;
   11505     *) AM_DEFAULT_VERBOSITY=0;;
   11506 esac
   11507 am_make=${MAKE-make}
   11508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11509 printf %s "checking whether $am_make supports nested variables... " >&6; }
   11510 if test ${am_cv_make_support_nested_variables+y}
   11511 then :
   11512   printf %s "(cached) " >&6
   11513 else case e in #(
   11514   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   11515 BAR0=false
   11516 BAR1=true
   11517 V=1
   11518 am__doit:
   11519 	@$(TRUE)
   11520 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11521   am_cv_make_support_nested_variables=yes
   11522 else
   11523   am_cv_make_support_nested_variables=no
   11524 fi ;;
   11525 esac
   11526 fi
   11527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11528 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   11529 if test $am_cv_make_support_nested_variables = yes; then
   11530     AM_V='$(V)'
   11531   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11532 else
   11533   AM_V=$AM_DEFAULT_VERBOSITY
   11534   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11535 fi
   11536 AM_BACKSLASH='\'
   11537 
   11538 
   11539 
   11540 
   11541 ac_config_headers="$ac_config_headers config.h"
   11542 
   11543 
   11544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
   11545 printf %s "checking for inline... " >&6; }
   11546 if test ${ac_cv_c_inline+y}
   11547 then :
   11548   printf %s "(cached) " >&6
   11549 else case e in #(
   11550   e) ac_cv_c_inline=no
   11551 for ac_kw in inline __inline__ __inline; do
   11552   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11553 /* end confdefs.h.  */
   11554 #ifndef __cplusplus
   11555 typedef int foo_t;
   11556 static $ac_kw foo_t static_foo (void) {return 0; }
   11557 $ac_kw foo_t foo (void) {return 0; }
   11558 #endif
   11559 
   11560 _ACEOF
   11561 if ac_fn_c_try_compile "$LINENO"
   11562 then :
   11563   ac_cv_c_inline=$ac_kw
   11564 fi
   11565 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   11566   test "$ac_cv_c_inline" != no && break
   11567 done
   11568  ;;
   11569 esac
   11570 fi
   11571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
   11572 printf "%s\n" "$ac_cv_c_inline" >&6; }
   11573 
   11574 case $ac_cv_c_inline in
   11575   inline | yes) ;;
   11576   *)
   11577     case $ac_cv_c_inline in
   11578       no) ac_val=;;
   11579       *) ac_val=$ac_cv_c_inline;;
   11580     esac
   11581     cat >>confdefs.h <<_ACEOF
   11582 #ifndef __cplusplus
   11583 #define inline $ac_val
   11584 #endif
   11585 _ACEOF
   11586     ;;
   11587 esac
   11588 
   11589 
   11590 
   11591   if test -n "$ac_tool_prefix"; then
   11592   for ac_prog in ar lib "link -lib"
   11593   do
   11594     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   11595 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   11596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11597 printf %s "checking for $ac_word... " >&6; }
   11598 if test ${ac_cv_prog_AR+y}
   11599 then :
   11600   printf %s "(cached) " >&6
   11601 else case e in #(
   11602   e) if test -n "$AR"; then
   11603   ac_cv_prog_AR="$AR" # Let the user override the test.
   11604 else
   11605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11606 for as_dir in $PATH
   11607 do
   11608   IFS=$as_save_IFS
   11609   case $as_dir in #(((
   11610     '') as_dir=./ ;;
   11611     */) ;;
   11612     *) as_dir=$as_dir/ ;;
   11613   esac
   11614     for ac_exec_ext in '' $ac_executable_extensions; do
   11615   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11616     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   11617     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11618     break 2
   11619   fi
   11620 done
   11621   done
   11622 IFS=$as_save_IFS
   11623 
   11624 fi ;;
   11625 esac
   11626 fi
   11627 AR=$ac_cv_prog_AR
   11628 if test -n "$AR"; then
   11629   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   11630 printf "%s\n" "$AR" >&6; }
   11631 else
   11632   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11633 printf "%s\n" "no" >&6; }
   11634 fi
   11635 
   11636 
   11637     test -n "$AR" && break
   11638   done
   11639 fi
   11640 if test -z "$AR"; then
   11641   ac_ct_AR=$AR
   11642   for ac_prog in ar lib "link -lib"
   11643 do
   11644   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11645 set dummy $ac_prog; ac_word=$2
   11646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11647 printf %s "checking for $ac_word... " >&6; }
   11648 if test ${ac_cv_prog_ac_ct_AR+y}
   11649 then :
   11650   printf %s "(cached) " >&6
   11651 else case e in #(
   11652   e) if test -n "$ac_ct_AR"; then
   11653   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   11654 else
   11655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11656 for as_dir in $PATH
   11657 do
   11658   IFS=$as_save_IFS
   11659   case $as_dir in #(((
   11660     '') as_dir=./ ;;
   11661     */) ;;
   11662     *) as_dir=$as_dir/ ;;
   11663   esac
   11664     for ac_exec_ext in '' $ac_executable_extensions; do
   11665   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11666     ac_cv_prog_ac_ct_AR="$ac_prog"
   11667     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11668     break 2
   11669   fi
   11670 done
   11671   done
   11672 IFS=$as_save_IFS
   11673 
   11674 fi ;;
   11675 esac
   11676 fi
   11677 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   11678 if test -n "$ac_ct_AR"; then
   11679   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   11680 printf "%s\n" "$ac_ct_AR" >&6; }
   11681 else
   11682   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11683 printf "%s\n" "no" >&6; }
   11684 fi
   11685 
   11686 
   11687   test -n "$ac_ct_AR" && break
   11688 done
   11689 
   11690   if test "x$ac_ct_AR" = x; then
   11691     AR="false"
   11692   else
   11693     case $cross_compiling:$ac_tool_warned in
   11694 yes:)
   11695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11696 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11697 ac_tool_warned=yes ;;
   11698 esac
   11699     AR=$ac_ct_AR
   11700   fi
   11701 fi
   11702 
   11703 : ${AR=ar}
   11704 
   11705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
   11706 printf %s "checking the archiver ($AR) interface... " >&6; }
   11707 if test ${am_cv_ar_interface+y}
   11708 then :
   11709   printf %s "(cached) " >&6
   11710 else case e in #(
   11711   e) ac_ext=c
   11712 ac_cpp='$CPP $CPPFLAGS'
   11713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11716 
   11717    am_cv_ar_interface=ar
   11718    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11719 /* end confdefs.h.  */
   11720 int some_variable = 0;
   11721 _ACEOF
   11722 if ac_fn_c_try_compile "$LINENO"
   11723 then :
   11724   am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
   11725       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
   11726   (eval $am_ar_try) 2>&5
   11727   ac_status=$?
   11728   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11729   test $ac_status = 0; }
   11730       if test "$ac_status" -eq 0; then
   11731         am_cv_ar_interface=ar
   11732       else
   11733         am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
   11734         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
   11735   (eval $am_ar_try) 2>&5
   11736   ac_status=$?
   11737   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11738   test $ac_status = 0; }
   11739         if test "$ac_status" -eq 0; then
   11740           am_cv_ar_interface=lib
   11741         else
   11742           am_cv_ar_interface=unknown
   11743         fi
   11744       fi
   11745       rm -f conftest.lib libconftest.a
   11746 
   11747 fi
   11748 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   11749    ac_ext=c
   11750 ac_cpp='$CPP $CPPFLAGS'
   11751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11754  ;;
   11755 esac
   11756 fi
   11757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
   11758 printf "%s\n" "$am_cv_ar_interface" >&6; }
   11759 
   11760 case $am_cv_ar_interface in
   11761 ar)
   11762   ;;
   11763 lib)
   11764   # Microsoft lib, so override with the ar-lib wrapper script.
   11765   # FIXME: It is wrong to rewrite AR.
   11766   # But if we don't then we get into trouble of one sort or another.
   11767   # A longer-term fix would be to have automake use am__AR in this case,
   11768   # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
   11769   # similar.
   11770   AR="$am_aux_dir/ar-lib $AR"
   11771   ;;
   11772 unknown)
   11773   as_fn_error $? "could not determine $AR interface" "$LINENO" 5
   11774   ;;
   11775 esac
   11776 
   11777 if test -n "$ac_tool_prefix"; then
   11778   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   11779 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   11780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11781 printf %s "checking for $ac_word... " >&6; }
   11782 if test ${ac_cv_prog_RANLIB+y}
   11783 then :
   11784   printf %s "(cached) " >&6
   11785 else case e in #(
   11786   e) if test -n "$RANLIB"; then
   11787   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   11788 else
   11789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11790 for as_dir in $PATH
   11791 do
   11792   IFS=$as_save_IFS
   11793   case $as_dir in #(((
   11794     '') as_dir=./ ;;
   11795     */) ;;
   11796     *) as_dir=$as_dir/ ;;
   11797   esac
   11798     for ac_exec_ext in '' $ac_executable_extensions; do
   11799   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11800     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   11801     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11802     break 2
   11803   fi
   11804 done
   11805   done
   11806 IFS=$as_save_IFS
   11807 
   11808 fi ;;
   11809 esac
   11810 fi
   11811 RANLIB=$ac_cv_prog_RANLIB
   11812 if test -n "$RANLIB"; then
   11813   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   11814 printf "%s\n" "$RANLIB" >&6; }
   11815 else
   11816   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11817 printf "%s\n" "no" >&6; }
   11818 fi
   11819 
   11820 
   11821 fi
   11822 if test -z "$ac_cv_prog_RANLIB"; then
   11823   ac_ct_RANLIB=$RANLIB
   11824   # Extract the first word of "ranlib", so it can be a program name with args.
   11825 set dummy ranlib; ac_word=$2
   11826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11827 printf %s "checking for $ac_word... " >&6; }
   11828 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   11829 then :
   11830   printf %s "(cached) " >&6
   11831 else case e in #(
   11832   e) if test -n "$ac_ct_RANLIB"; then
   11833   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   11834 else
   11835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11836 for as_dir in $PATH
   11837 do
   11838   IFS=$as_save_IFS
   11839   case $as_dir in #(((
   11840     '') as_dir=./ ;;
   11841     */) ;;
   11842     *) as_dir=$as_dir/ ;;
   11843   esac
   11844     for ac_exec_ext in '' $ac_executable_extensions; do
   11845   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11846     ac_cv_prog_ac_ct_RANLIB="ranlib"
   11847     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11848     break 2
   11849   fi
   11850 done
   11851   done
   11852 IFS=$as_save_IFS
   11853 
   11854 fi ;;
   11855 esac
   11856 fi
   11857 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   11858 if test -n "$ac_ct_RANLIB"; then
   11859   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   11860 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   11861 else
   11862   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11863 printf "%s\n" "no" >&6; }
   11864 fi
   11865 
   11866   if test "x$ac_ct_RANLIB" = x; then
   11867     RANLIB=":"
   11868   else
   11869     case $cross_compiling:$ac_tool_warned in
   11870 yes:)
   11871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11872 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11873 ac_tool_warned=yes ;;
   11874 esac
   11875     RANLIB=$ac_ct_RANLIB
   11876   fi
   11877 else
   11878   RANLIB="$ac_cv_prog_RANLIB"
   11879 fi
   11880 
   11881 
   11882 
   11883 
   11884 
   11885 
   11886 
   11887 
   11888 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   11889 	if test -n "$ac_tool_prefix"; then
   11890   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   11891 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   11892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11893 printf %s "checking for $ac_word... " >&6; }
   11894 if test ${ac_cv_path_PKG_CONFIG+y}
   11895 then :
   11896   printf %s "(cached) " >&6
   11897 else case e in #(
   11898   e) case $PKG_CONFIG in
   11899   [\\/]* | ?:[\\/]*)
   11900   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   11901   ;;
   11902   *)
   11903   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11904 for as_dir in $PATH
   11905 do
   11906   IFS=$as_save_IFS
   11907   case $as_dir in #(((
   11908     '') as_dir=./ ;;
   11909     */) ;;
   11910     *) as_dir=$as_dir/ ;;
   11911   esac
   11912     for ac_exec_ext in '' $ac_executable_extensions; do
   11913   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11914     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   11915     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11916     break 2
   11917   fi
   11918 done
   11919   done
   11920 IFS=$as_save_IFS
   11921 
   11922   ;;
   11923 esac ;;
   11924 esac
   11925 fi
   11926 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   11927 if test -n "$PKG_CONFIG"; then
   11928   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   11929 printf "%s\n" "$PKG_CONFIG" >&6; }
   11930 else
   11931   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11932 printf "%s\n" "no" >&6; }
   11933 fi
   11934 
   11935 
   11936 fi
   11937 if test -z "$ac_cv_path_PKG_CONFIG"; then
   11938   ac_pt_PKG_CONFIG=$PKG_CONFIG
   11939   # Extract the first word of "pkg-config", so it can be a program name with args.
   11940 set dummy pkg-config; ac_word=$2
   11941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11942 printf %s "checking for $ac_word... " >&6; }
   11943 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   11944 then :
   11945   printf %s "(cached) " >&6
   11946 else case e in #(
   11947   e) case $ac_pt_PKG_CONFIG in
   11948   [\\/]* | ?:[\\/]*)
   11949   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   11950   ;;
   11951   *)
   11952   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11953 for as_dir in $PATH
   11954 do
   11955   IFS=$as_save_IFS
   11956   case $as_dir in #(((
   11957     '') as_dir=./ ;;
   11958     */) ;;
   11959     *) as_dir=$as_dir/ ;;
   11960   esac
   11961     for ac_exec_ext in '' $ac_executable_extensions; do
   11962   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11963     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   11964     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11965     break 2
   11966   fi
   11967 done
   11968   done
   11969 IFS=$as_save_IFS
   11970 
   11971   ;;
   11972 esac ;;
   11973 esac
   11974 fi
   11975 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   11976 if test -n "$ac_pt_PKG_CONFIG"; then
   11977   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   11978 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   11979 else
   11980   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11981 printf "%s\n" "no" >&6; }
   11982 fi
   11983 
   11984   if test "x$ac_pt_PKG_CONFIG" = x; then
   11985     PKG_CONFIG=""
   11986   else
   11987     case $cross_compiling:$ac_tool_warned in
   11988 yes:)
   11989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11990 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11991 ac_tool_warned=yes ;;
   11992 esac
   11993     PKG_CONFIG=$ac_pt_PKG_CONFIG
   11994   fi
   11995 else
   11996   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   11997 fi
   11998 
   11999 fi
   12000 if test -n "$PKG_CONFIG"; then
   12001 	_pkg_min_version=0.9.0
   12002 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   12003 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   12004 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   12005 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12006 printf "%s\n" "yes" >&6; }
   12007 	else
   12008 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12009 printf "%s\n" "no" >&6; }
   12010 		PKG_CONFIG=""
   12011 	fi
   12012 fi
   12013 
   12014 
   12015 pkg_failed=no
   12016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PKGDEPS" >&5
   12017 printf %s "checking for PKGDEPS... " >&6; }
   12018 
   12019 if test -n "$PKGDEPS_CFLAGS"; then
   12020     pkg_cv_PKGDEPS_CFLAGS="$PKGDEPS_CFLAGS"
   12021  elif test -n "$PKG_CONFIG"; then
   12022     if test -n "$PKG_CONFIG" && \
   12023     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu xt >= 1.0 x11\""; } >&5
   12024   ($PKG_CONFIG --exists --print-errors "xaw7 xmu xt >= 1.0 x11") 2>&5
   12025   ac_status=$?
   12026   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12027   test $ac_status = 0; }; then
   12028   pkg_cv_PKGDEPS_CFLAGS=`$PKG_CONFIG --cflags "xaw7 xmu xt >= 1.0 x11" 2>/dev/null`
   12029 		      test "x$?" != "x0" && pkg_failed=yes
   12030 else
   12031   pkg_failed=yes
   12032 fi
   12033  else
   12034     pkg_failed=untried
   12035 fi
   12036 if test -n "$PKGDEPS_LIBS"; then
   12037     pkg_cv_PKGDEPS_LIBS="$PKGDEPS_LIBS"
   12038  elif test -n "$PKG_CONFIG"; then
   12039     if test -n "$PKG_CONFIG" && \
   12040     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu xt >= 1.0 x11\""; } >&5
   12041   ($PKG_CONFIG --exists --print-errors "xaw7 xmu xt >= 1.0 x11") 2>&5
   12042   ac_status=$?
   12043   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12044   test $ac_status = 0; }; then
   12045   pkg_cv_PKGDEPS_LIBS=`$PKG_CONFIG --libs "xaw7 xmu xt >= 1.0 x11" 2>/dev/null`
   12046 		      test "x$?" != "x0" && pkg_failed=yes
   12047 else
   12048   pkg_failed=yes
   12049 fi
   12050  else
   12051     pkg_failed=untried
   12052 fi
   12053 
   12054 
   12055 
   12056 if test $pkg_failed = yes; then
   12057    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12058 printf "%s\n" "no" >&6; }
   12059 
   12060 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   12061         _pkg_short_errors_supported=yes
   12062 else
   12063         _pkg_short_errors_supported=no
   12064 fi
   12065         if test $_pkg_short_errors_supported = yes; then
   12066 	        PKGDEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xaw7 xmu xt >= 1.0 x11" 2>&1`
   12067         else
   12068 	        PKGDEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xaw7 xmu xt >= 1.0 x11" 2>&1`
   12069         fi
   12070 	# Put the nasty error message in config.log where it belongs
   12071 	echo "$PKGDEPS_PKG_ERRORS" >&5
   12072 
   12073 	as_fn_error $? "Package requirements (xaw7 xmu xt >= 1.0 x11) were not met:
   12074 
   12075 $PKGDEPS_PKG_ERRORS
   12076 
   12077 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12078 installed software in a non-standard prefix.
   12079 
   12080 Alternatively, you may set the environment variables PKGDEPS_CFLAGS
   12081 and PKGDEPS_LIBS to avoid the need to call pkg-config.
   12082 See the pkg-config man page for more details." "$LINENO" 5
   12083 elif test $pkg_failed = untried; then
   12084      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12085 printf "%s\n" "no" >&6; }
   12086 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   12087 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   12088 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   12089 is in your PATH or set the PKG_CONFIG environment variable to the full
   12090 path to pkg-config.
   12091 
   12092 Alternatively, you may set the environment variables PKGDEPS_CFLAGS
   12093 and PKGDEPS_LIBS to avoid the need to call pkg-config.
   12094 See the pkg-config man page for more details.
   12095 
   12096 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12097 See 'config.log' for more details" "$LINENO" 5; }
   12098 else
   12099 	PKGDEPS_CFLAGS=$pkg_cv_PKGDEPS_CFLAGS
   12100 	PKGDEPS_LIBS=$pkg_cv_PKGDEPS_LIBS
   12101         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12102 printf "%s\n" "yes" >&6; }
   12103 
   12104 fi
   12105 
   12106 
   12107 # Check whether --with-lispdir was given.
   12108 if test ${with_lispdir+y}
   12109 then :
   12110   withval=$with_lispdir;  lispdir="$withval"
   12111 else case e in #(
   12112   e)  lispdir=${libdir}/X11/xedit/lisp  ;;
   12113 esac
   12114 fi
   12115 
   12116 LISPDIR=$lispdir
   12117 
   12118 
   12119 ac_fn_check_decl "$LINENO" "_SC_PAGESIZE" "ac_cv_have_decl__SC_PAGESIZE" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12120 if test "x$ac_cv_have_decl__SC_PAGESIZE" = xyes
   12121 then :
   12122   ac_have_decl=1
   12123 else case e in #(
   12124   e) ac_have_decl=0 ;;
   12125 esac
   12126 fi
   12127 printf "%s\n" "#define HAVE_DECL__SC_PAGESIZE $ac_have_decl" >>confdefs.h
   12128 
   12129 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
   12130 if test "x$ac_cv_func_getpagesize" = xyes
   12131 then :
   12132   printf "%s\n" "#define HAVE_GETPAGESIZE 1" >>confdefs.h
   12133 
   12134 fi
   12135 
   12136 
   12137 ac_fn_c_check_func "$LINENO" "realpath" "ac_cv_func_realpath"
   12138 if test "x$ac_cv_func_realpath" = xyes
   12139 then :
   12140 
   12141 else case e in #(
   12142   e) have_realpath=yes ;;
   12143 esac
   12144 fi
   12145 
   12146  if test x$have_realpath = xyes; then
   12147   NEED_REALPATH_TRUE=
   12148   NEED_REALPATH_FALSE='#'
   12149 else
   12150   NEED_REALPATH_TRUE='#'
   12151   NEED_REALPATH_FALSE=
   12152 fi
   12153 
   12154 ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
   12155 if test "x$ac_cv_func_strcasecmp" = xyes
   12156 then :
   12157 
   12158 else case e in #(
   12159   e) have_strcasecmp=yes ;;
   12160 esac
   12161 fi
   12162 
   12163  if test x$have_strcasecmp = xyes; then
   12164   NEED_STRCASECMP_TRUE=
   12165   NEED_STRCASECMP_FALSE='#'
   12166 else
   12167   NEED_STRCASECMP_TRUE='#'
   12168   NEED_STRCASECMP_FALSE=
   12169 fi
   12170 
   12171 ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
   12172 if test "x$ac_cv_func_unsetenv" = xyes
   12173 then :
   12174 
   12175 else case e in #(
   12176   e) have_unsetenv=yes ;;
   12177 esac
   12178 fi
   12179 
   12180  if test x$have_unsetenv = xyes; then
   12181   NEED_UNSETENV_TRUE=
   12182   NEED_UNSETENV_FALSE='#'
   12183 else
   12184   NEED_UNSETENV_TRUE='#'
   12185   NEED_UNSETENV_FALSE=
   12186 fi
   12187 
   12188 
   12189 
   12190 pkg_failed=no
   12191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for APPDEFS" >&5
   12192 printf %s "checking for APPDEFS... " >&6; }
   12193 
   12194 if test -n "$APPDEFS_CFLAGS"; then
   12195     pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS"
   12196  elif test -n "$PKG_CONFIG"; then
   12197     if test -n "$PKG_CONFIG" && \
   12198     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   12199   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   12200   ac_status=$?
   12201   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12202   test $ac_status = 0; }; then
   12203   pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
   12204 		      test "x$?" != "x0" && pkg_failed=yes
   12205 else
   12206   pkg_failed=yes
   12207 fi
   12208  else
   12209     pkg_failed=untried
   12210 fi
   12211 if test -n "$APPDEFS_LIBS"; then
   12212     pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS"
   12213  elif test -n "$PKG_CONFIG"; then
   12214     if test -n "$PKG_CONFIG" && \
   12215     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   12216   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   12217   ac_status=$?
   12218   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12219   test $ac_status = 0; }; then
   12220   pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
   12221 		      test "x$?" != "x0" && pkg_failed=yes
   12222 else
   12223   pkg_failed=yes
   12224 fi
   12225  else
   12226     pkg_failed=untried
   12227 fi
   12228 
   12229 
   12230 
   12231 if test $pkg_failed = yes; then
   12232    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12233 printf "%s\n" "no" >&6; }
   12234 
   12235 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   12236         _pkg_short_errors_supported=yes
   12237 else
   12238         _pkg_short_errors_supported=no
   12239 fi
   12240         if test $_pkg_short_errors_supported = yes; then
   12241 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xt" 2>&1`
   12242         else
   12243 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xt" 2>&1`
   12244         fi
   12245 	# Put the nasty error message in config.log where it belongs
   12246 	echo "$APPDEFS_PKG_ERRORS" >&5
   12247 
   12248 	as_fn_error $? "Package requirements (xt) were not met:
   12249 
   12250 $APPDEFS_PKG_ERRORS
   12251 
   12252 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12253 installed software in a non-standard prefix.
   12254 
   12255 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   12256 and APPDEFS_LIBS to avoid the need to call pkg-config.
   12257 See the pkg-config man page for more details." "$LINENO" 5
   12258 elif test $pkg_failed = untried; then
   12259      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12260 printf "%s\n" "no" >&6; }
   12261 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   12262 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   12263 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   12264 is in your PATH or set the PKG_CONFIG environment variable to the full
   12265 path to pkg-config.
   12266 
   12267 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   12268 and APPDEFS_LIBS to avoid the need to call pkg-config.
   12269 See the pkg-config man page for more details.
   12270 
   12271 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12272 See 'config.log' for more details" "$LINENO" 5; }
   12273 else
   12274 	APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS
   12275 	APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS
   12276         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12277 printf "%s\n" "yes" >&6; }
   12278 
   12279 fi
   12280 xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
   12281 
   12282 # Check whether --with-appdefaultdir was given.
   12283 if test ${with_appdefaultdir+y}
   12284 then :
   12285   withval=$with_appdefaultdir; appdefaultdir="$withval"
   12286 else case e in #(
   12287   e) appdefaultdir="${xt_appdefaultdir}" ;;
   12288 esac
   12289 fi
   12290 
   12291 
   12292 
   12293 
   12294 ac_config_files="$ac_config_files Makefile man/Makefile"
   12295 
   12296 cat >confcache <<\_ACEOF
   12297 # This file is a shell script that caches the results of configure
   12298 # tests run on this system so they can be shared between configure
   12299 # scripts and configure runs, see configure's option --config-cache.
   12300 # It is not useful on other systems.  If it contains results you don't
   12301 # want to keep, you may remove or edit it.
   12302 #
   12303 # config.status only pays attention to the cache file if you give it
   12304 # the --recheck option to rerun configure.
   12305 #
   12306 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   12307 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   12308 # following values.
   12309 
   12310 _ACEOF
   12311 
   12312 # The following way of writing the cache mishandles newlines in values,
   12313 # but we know of no workaround that is simple, portable, and efficient.
   12314 # So, we kill variables containing newlines.
   12315 # Ultrix sh set writes to stderr and can't be redirected directly,
   12316 # and sets the high bit in the cache file unless we assign to the vars.
   12317 (
   12318   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   12319     eval ac_val=\$$ac_var
   12320     case $ac_val in #(
   12321     *${as_nl}*)
   12322       case $ac_var in #(
   12323       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   12324 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   12325       esac
   12326       case $ac_var in #(
   12327       _ | IFS | as_nl) ;; #(
   12328       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   12329       *) { eval $ac_var=; unset $ac_var;} ;;
   12330       esac ;;
   12331     esac
   12332   done
   12333 
   12334   (set) 2>&1 |
   12335     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   12336     *${as_nl}ac_space=\ *)
   12337       # 'set' does not quote correctly, so add quotes: double-quote
   12338       # substitution turns \\\\ into \\, and sed turns \\ into \.
   12339       sed -n \
   12340 	"s/'/'\\\\''/g;
   12341 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   12342       ;; #(
   12343     *)
   12344       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   12345       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   12346       ;;
   12347     esac |
   12348     sort
   12349 ) |
   12350   sed '
   12351      /^ac_cv_env_/b end
   12352      t clear
   12353      :clear
   12354      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   12355      t end
   12356      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   12357      :end' >>confcache
   12358 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   12359   if test -w "$cache_file"; then
   12360     if test "x$cache_file" != "x/dev/null"; then
   12361       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   12362 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   12363       if test ! -f "$cache_file" || test -h "$cache_file"; then
   12364 	cat confcache >"$cache_file"
   12365       else
   12366         case $cache_file in #(
   12367         */* | ?:*)
   12368 	  mv -f confcache "$cache_file"$$ &&
   12369 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   12370         *)
   12371 	  mv -f confcache "$cache_file" ;;
   12372 	esac
   12373       fi
   12374     fi
   12375   else
   12376     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   12377 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   12378   fi
   12379 fi
   12380 rm -f confcache
   12381 
   12382 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   12383 # Let make expand exec_prefix.
   12384 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   12385 
   12386 DEFS=-DHAVE_CONFIG_H
   12387 
   12388 ac_libobjs=
   12389 ac_ltlibobjs=
   12390 U=
   12391 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   12392   # 1. Remove the extension, and $U if already installed.
   12393   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   12394   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   12395   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   12396   #    will be set to the directory where LIBOBJS objects are built.
   12397   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   12398   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   12399 done
   12400 LIBOBJS=$ac_libobjs
   12401 
   12402 LTLIBOBJS=$ac_ltlibobjs
   12403 
   12404 
   12405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   12406 printf %s "checking that generated files are newer than configure... " >&6; }
   12407    if test -n "$am_sleep_pid"; then
   12408      # Hide warnings about reused PIDs.
   12409      wait $am_sleep_pid 2>/dev/null
   12410    fi
   12411    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   12412 printf "%s\n" "done" >&6; }
   12413  if test -n "$EXEEXT"; then
   12414   am__EXEEXT_TRUE=
   12415   am__EXEEXT_FALSE='#'
   12416 else
   12417   am__EXEEXT_TRUE='#'
   12418   am__EXEEXT_FALSE=
   12419 fi
   12420 
   12421 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   12422   as_fn_error $? "conditional \"AMDEP\" was never defined.
   12423 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12424 fi
   12425 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   12426   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   12427 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12428 fi
   12429 if test -z "${NEED_REALPATH_TRUE}" && test -z "${NEED_REALPATH_FALSE}"; then
   12430   as_fn_error $? "conditional \"NEED_REALPATH\" was never defined.
   12431 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12432 fi
   12433 if test -z "${NEED_STRCASECMP_TRUE}" && test -z "${NEED_STRCASECMP_FALSE}"; then
   12434   as_fn_error $? "conditional \"NEED_STRCASECMP\" was never defined.
   12435 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12436 fi
   12437 if test -z "${NEED_UNSETENV_TRUE}" && test -z "${NEED_UNSETENV_FALSE}"; then
   12438   as_fn_error $? "conditional \"NEED_UNSETENV\" was never defined.
   12439 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12440 fi
   12441 
   12442 : "${CONFIG_STATUS=./config.status}"
   12443 ac_write_fail=0
   12444 ac_clean_files_save=$ac_clean_files
   12445 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   12446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   12447 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   12448 as_write_fail=0
   12449 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   12450 #! $SHELL
   12451 # Generated by $as_me.
   12452 # Run this file to recreate the current configuration.
   12453 # Compiler output produced by configure, useful for debugging
   12454 # configure, is in config.log if it exists.
   12455 
   12456 debug=false
   12457 ac_cs_recheck=false
   12458 ac_cs_silent=false
   12459 
   12460 SHELL=\${CONFIG_SHELL-$SHELL}
   12461 export SHELL
   12462 _ASEOF
   12463 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   12464 ## -------------------- ##
   12465 ## M4sh Initialization. ##
   12466 ## -------------------- ##
   12467 
   12468 # Be more Bourne compatible
   12469 DUALCASE=1; export DUALCASE # for MKS sh
   12470 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   12471 then :
   12472   emulate sh
   12473   NULLCMD=:
   12474   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   12475   # is contrary to our usage.  Disable this feature.
   12476   alias -g '${1+"$@"}'='"$@"'
   12477   setopt NO_GLOB_SUBST
   12478 else case e in #(
   12479   e) case `(set -o) 2>/dev/null` in #(
   12480   *posix*) :
   12481     set -o posix ;; #(
   12482   *) :
   12483      ;;
   12484 esac ;;
   12485 esac
   12486 fi
   12487 
   12488 
   12489 
   12490 # Reset variables that may have inherited troublesome values from
   12491 # the environment.
   12492 
   12493 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   12494 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   12495 # side effect of setting IFS to empty, thus disabling word splitting.)
   12496 # Quoting is to prevent editors from complaining about space-tab.
   12497 as_nl='
   12498 '
   12499 export as_nl
   12500 IFS=" ""	$as_nl"
   12501 
   12502 PS1='$ '
   12503 PS2='> '
   12504 PS4='+ '
   12505 
   12506 # Ensure predictable behavior from utilities with locale-dependent output.
   12507 LC_ALL=C
   12508 export LC_ALL
   12509 LANGUAGE=C
   12510 export LANGUAGE
   12511 
   12512 # We cannot yet rely on "unset" to work, but we need these variables
   12513 # to be unset--not just set to an empty or harmless value--now, to
   12514 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   12515 # also avoids known problems related to "unset" and subshell syntax
   12516 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   12517 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   12518 do eval test \${$as_var+y} \
   12519   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   12520 done
   12521 
   12522 # Ensure that fds 0, 1, and 2 are open.
   12523 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   12524 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   12525 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   12526 
   12527 # The user is always right.
   12528 if ${PATH_SEPARATOR+false} :; then
   12529   PATH_SEPARATOR=:
   12530   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   12531     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   12532       PATH_SEPARATOR=';'
   12533   }
   12534 fi
   12535 
   12536 
   12537 # Find who we are.  Look in the path if we contain no directory separator.
   12538 as_myself=
   12539 case $0 in #((
   12540   *[\\/]* ) as_myself=$0 ;;
   12541   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12542 for as_dir in $PATH
   12543 do
   12544   IFS=$as_save_IFS
   12545   case $as_dir in #(((
   12546     '') as_dir=./ ;;
   12547     */) ;;
   12548     *) as_dir=$as_dir/ ;;
   12549   esac
   12550     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   12551   done
   12552 IFS=$as_save_IFS
   12553 
   12554      ;;
   12555 esac
   12556 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   12557 # in which case we are not to be found in the path.
   12558 if test "x$as_myself" = x; then
   12559   as_myself=$0
   12560 fi
   12561 if test ! -f "$as_myself"; then
   12562   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   12563   exit 1
   12564 fi
   12565 
   12566 
   12567 
   12568 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   12569 # ----------------------------------------
   12570 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   12571 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   12572 # script with STATUS, using 1 if that was 0.
   12573 as_fn_error ()
   12574 {
   12575   as_status=$1; test $as_status -eq 0 && as_status=1
   12576   if test "$4"; then
   12577     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   12578     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   12579   fi
   12580   printf "%s\n" "$as_me: error: $2" >&2
   12581   as_fn_exit $as_status
   12582 } # as_fn_error
   12583 
   12584 
   12585 # as_fn_set_status STATUS
   12586 # -----------------------
   12587 # Set $? to STATUS, without forking.
   12588 as_fn_set_status ()
   12589 {
   12590   return $1
   12591 } # as_fn_set_status
   12592 
   12593 # as_fn_exit STATUS
   12594 # -----------------
   12595 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   12596 as_fn_exit ()
   12597 {
   12598   set +e
   12599   as_fn_set_status $1
   12600   exit $1
   12601 } # as_fn_exit
   12602 
   12603 # as_fn_unset VAR
   12604 # ---------------
   12605 # Portably unset VAR.
   12606 as_fn_unset ()
   12607 {
   12608   { eval $1=; unset $1;}
   12609 }
   12610 as_unset=as_fn_unset
   12611 
   12612 # as_fn_append VAR VALUE
   12613 # ----------------------
   12614 # Append the text in VALUE to the end of the definition contained in VAR. Take
   12615 # advantage of any shell optimizations that allow amortized linear growth over
   12616 # repeated appends, instead of the typical quadratic growth present in naive
   12617 # implementations.
   12618 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   12619 then :
   12620   eval 'as_fn_append ()
   12621   {
   12622     eval $1+=\$2
   12623   }'
   12624 else case e in #(
   12625   e) as_fn_append ()
   12626   {
   12627     eval $1=\$$1\$2
   12628   } ;;
   12629 esac
   12630 fi # as_fn_append
   12631 
   12632 # as_fn_arith ARG...
   12633 # ------------------
   12634 # Perform arithmetic evaluation on the ARGs, and store the result in the
   12635 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   12636 # must be portable across $(()) and expr.
   12637 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   12638 then :
   12639   eval 'as_fn_arith ()
   12640   {
   12641     as_val=$(( $* ))
   12642   }'
   12643 else case e in #(
   12644   e) as_fn_arith ()
   12645   {
   12646     as_val=`expr "$@" || test $? -eq 1`
   12647   } ;;
   12648 esac
   12649 fi # as_fn_arith
   12650 
   12651 
   12652 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12653    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12654   as_expr=expr
   12655 else
   12656   as_expr=false
   12657 fi
   12658 
   12659 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12660   as_basename=basename
   12661 else
   12662   as_basename=false
   12663 fi
   12664 
   12665 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12666   as_dirname=dirname
   12667 else
   12668   as_dirname=false
   12669 fi
   12670 
   12671 as_me=`$as_basename -- "$0" ||
   12672 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12673 	 X"$0" : 'X\(//\)$' \| \
   12674 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12675 printf "%s\n" X/"$0" |
   12676     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12677 	    s//\1/
   12678 	    q
   12679 	  }
   12680 	  /^X\/\(\/\/\)$/{
   12681 	    s//\1/
   12682 	    q
   12683 	  }
   12684 	  /^X\/\(\/\).*/{
   12685 	    s//\1/
   12686 	    q
   12687 	  }
   12688 	  s/.*/./; q'`
   12689 
   12690 # Avoid depending upon Character Ranges.
   12691 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12692 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12693 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12694 as_cr_digits='0123456789'
   12695 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12696 
   12697 
   12698 # Determine whether it's possible to make 'echo' print without a newline.
   12699 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   12700 # for compatibility with existing Makefiles.
   12701 ECHO_C= ECHO_N= ECHO_T=
   12702 case `echo -n x` in #(((((
   12703 -n*)
   12704   case `echo 'xy\c'` in
   12705   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   12706   xy)  ECHO_C='\c';;
   12707   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   12708        ECHO_T='	';;
   12709   esac;;
   12710 *)
   12711   ECHO_N='-n';;
   12712 esac
   12713 
   12714 # For backward compatibility with old third-party macros, we provide
   12715 # the shell variables $as_echo and $as_echo_n.  New code should use
   12716 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   12717 as_echo='printf %s\n'
   12718 as_echo_n='printf %s'
   12719 
   12720 rm -f conf$$ conf$$.exe conf$$.file
   12721 if test -d conf$$.dir; then
   12722   rm -f conf$$.dir/conf$$.file
   12723 else
   12724   rm -f conf$$.dir
   12725   mkdir conf$$.dir 2>/dev/null
   12726 fi
   12727 if (echo >conf$$.file) 2>/dev/null; then
   12728   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12729     as_ln_s='ln -s'
   12730     # ... but there are two gotchas:
   12731     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   12732     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   12733     # In both cases, we have to default to 'cp -pR'.
   12734     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12735       as_ln_s='cp -pR'
   12736   elif ln conf$$.file conf$$ 2>/dev/null; then
   12737     as_ln_s=ln
   12738   else
   12739     as_ln_s='cp -pR'
   12740   fi
   12741 else
   12742   as_ln_s='cp -pR'
   12743 fi
   12744 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12745 rmdir conf$$.dir 2>/dev/null
   12746 
   12747 
   12748 # as_fn_mkdir_p
   12749 # -------------
   12750 # Create "$as_dir" as a directory, including parents if necessary.
   12751 as_fn_mkdir_p ()
   12752 {
   12753 
   12754   case $as_dir in #(
   12755   -*) as_dir=./$as_dir;;
   12756   esac
   12757   test -d "$as_dir" || eval $as_mkdir_p || {
   12758     as_dirs=
   12759     while :; do
   12760       case $as_dir in #(
   12761       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12762       *) as_qdir=$as_dir;;
   12763       esac
   12764       as_dirs="'$as_qdir' $as_dirs"
   12765       as_dir=`$as_dirname -- "$as_dir" ||
   12766 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12767 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12768 	 X"$as_dir" : 'X\(//\)$' \| \
   12769 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12770 printf "%s\n" X"$as_dir" |
   12771     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12772 	    s//\1/
   12773 	    q
   12774 	  }
   12775 	  /^X\(\/\/\)[^/].*/{
   12776 	    s//\1/
   12777 	    q
   12778 	  }
   12779 	  /^X\(\/\/\)$/{
   12780 	    s//\1/
   12781 	    q
   12782 	  }
   12783 	  /^X\(\/\).*/{
   12784 	    s//\1/
   12785 	    q
   12786 	  }
   12787 	  s/.*/./; q'`
   12788       test -d "$as_dir" && break
   12789     done
   12790     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12791   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12792 
   12793 
   12794 } # as_fn_mkdir_p
   12795 if mkdir -p . 2>/dev/null; then
   12796   as_mkdir_p='mkdir -p "$as_dir"'
   12797 else
   12798   test -d ./-p && rmdir ./-p
   12799   as_mkdir_p=false
   12800 fi
   12801 
   12802 
   12803 # as_fn_executable_p FILE
   12804 # -----------------------
   12805 # Test if FILE is an executable regular file.
   12806 as_fn_executable_p ()
   12807 {
   12808   test -f "$1" && test -x "$1"
   12809 } # as_fn_executable_p
   12810 as_test_x='test -x'
   12811 as_executable_p=as_fn_executable_p
   12812 
   12813 # Sed expression to map a string onto a valid CPP name.
   12814 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   12815 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   12816 
   12817 # Sed expression to map a string onto a valid variable name.
   12818 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   12819 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   12820 
   12821 
   12822 exec 6>&1
   12823 ## ----------------------------------- ##
   12824 ## Main body of $CONFIG_STATUS script. ##
   12825 ## ----------------------------------- ##
   12826 _ASEOF
   12827 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   12828 
   12829 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12830 # Save the log message, to keep $0 and so on meaningful, and to
   12831 # report actual input values of CONFIG_FILES etc. instead of their
   12832 # values after options handling.
   12833 ac_log="
   12834 This file was extended by xedit $as_me 1.2.4, which was
   12835 generated by GNU Autoconf 2.72.  Invocation command line was
   12836 
   12837   CONFIG_FILES    = $CONFIG_FILES
   12838   CONFIG_HEADERS  = $CONFIG_HEADERS
   12839   CONFIG_LINKS    = $CONFIG_LINKS
   12840   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12841   $ $0 $@
   12842 
   12843 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12844 "
   12845 
   12846 _ACEOF
   12847 
   12848 case $ac_config_files in *"
   12849 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12850 esac
   12851 
   12852 case $ac_config_headers in *"
   12853 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12854 esac
   12855 
   12856 
   12857 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12858 # Files that config.status was made for.
   12859 config_files="$ac_config_files"
   12860 config_headers="$ac_config_headers"
   12861 config_commands="$ac_config_commands"
   12862 
   12863 _ACEOF
   12864 
   12865 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12866 ac_cs_usage="\
   12867 '$as_me' instantiates files and other configuration actions
   12868 from templates according to the current configuration.  Unless the files
   12869 and actions are specified as TAGs, all are instantiated by default.
   12870 
   12871 Usage: $0 [OPTION]... [TAG]...
   12872 
   12873   -h, --help       print this help, then exit
   12874   -V, --version    print version number and configuration settings, then exit
   12875       --config     print configuration, then exit
   12876   -q, --quiet, --silent
   12877                    do not print progress messages
   12878   -d, --debug      don't remove temporary files
   12879       --recheck    update $as_me by reconfiguring in the same conditions
   12880       --file=FILE[:TEMPLATE]
   12881                    instantiate the configuration file FILE
   12882       --header=FILE[:TEMPLATE]
   12883                    instantiate the configuration header FILE
   12884 
   12885 Configuration files:
   12886 $config_files
   12887 
   12888 Configuration headers:
   12889 $config_headers
   12890 
   12891 Configuration commands:
   12892 $config_commands
   12893 
   12894 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xedit/-/issues>."
   12895 
   12896 _ACEOF
   12897 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   12898 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   12899 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12900 ac_cs_config='$ac_cs_config_escaped'
   12901 ac_cs_version="\\
   12902 xedit config.status 1.2.4
   12903 configured by $0, generated by GNU Autoconf 2.72,
   12904   with options \\"\$ac_cs_config\\"
   12905 
   12906 Copyright (C) 2023 Free Software Foundation, Inc.
   12907 This config.status script is free software; the Free Software Foundation
   12908 gives unlimited permission to copy, distribute and modify it."
   12909 
   12910 ac_pwd='$ac_pwd'
   12911 srcdir='$srcdir'
   12912 INSTALL='$INSTALL'
   12913 MKDIR_P='$MKDIR_P'
   12914 AWK='$AWK'
   12915 test -n "\$AWK" || AWK=awk
   12916 _ACEOF
   12917 
   12918 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12919 # The default lists apply if the user does not specify any file.
   12920 ac_need_defaults=:
   12921 while test $# != 0
   12922 do
   12923   case $1 in
   12924   --*=?*)
   12925     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12926     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12927     ac_shift=:
   12928     ;;
   12929   --*=)
   12930     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12931     ac_optarg=
   12932     ac_shift=:
   12933     ;;
   12934   *)
   12935     ac_option=$1
   12936     ac_optarg=$2
   12937     ac_shift=shift
   12938     ;;
   12939   esac
   12940 
   12941   case $ac_option in
   12942   # Handling of the options.
   12943   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12944     ac_cs_recheck=: ;;
   12945   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12946     printf "%s\n" "$ac_cs_version"; exit ;;
   12947   --config | --confi | --conf | --con | --co | --c )
   12948     printf "%s\n" "$ac_cs_config"; exit ;;
   12949   --debug | --debu | --deb | --de | --d | -d )
   12950     debug=: ;;
   12951   --file | --fil | --fi | --f )
   12952     $ac_shift
   12953     case $ac_optarg in
   12954     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12955     '') as_fn_error $? "missing file argument" ;;
   12956     esac
   12957     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12958     ac_need_defaults=false;;
   12959   --header | --heade | --head | --hea )
   12960     $ac_shift
   12961     case $ac_optarg in
   12962     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12963     esac
   12964     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12965     ac_need_defaults=false;;
   12966   --he | --h)
   12967     # Conflict between --help and --header
   12968     as_fn_error $? "ambiguous option: '$1'
   12969 Try '$0 --help' for more information.";;
   12970   --help | --hel | -h )
   12971     printf "%s\n" "$ac_cs_usage"; exit ;;
   12972   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12973   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12974     ac_cs_silent=: ;;
   12975 
   12976   # This is an error.
   12977   -*) as_fn_error $? "unrecognized option: '$1'
   12978 Try '$0 --help' for more information." ;;
   12979 
   12980   *) as_fn_append ac_config_targets " $1"
   12981      ac_need_defaults=false ;;
   12982 
   12983   esac
   12984   shift
   12985 done
   12986 
   12987 ac_configure_extra_args=
   12988 
   12989 if $ac_cs_silent; then
   12990   exec 6>/dev/null
   12991   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12992 fi
   12993 
   12994 _ACEOF
   12995 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12996 if \$ac_cs_recheck; then
   12997   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12998   shift
   12999   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   13000   CONFIG_SHELL='$SHELL'
   13001   export CONFIG_SHELL
   13002   exec "\$@"
   13003 fi
   13004 
   13005 _ACEOF
   13006 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13007 exec 5>>config.log
   13008 {
   13009   echo
   13010   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   13011 ## Running $as_me. ##
   13012 _ASBOX
   13013   printf "%s\n" "$ac_log"
   13014 } >&5
   13015 
   13016 _ACEOF
   13017 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13018 #
   13019 # INIT-COMMANDS
   13020 #
   13021 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   13022 
   13023 _ACEOF
   13024 
   13025 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13026 
   13027 # Handling of arguments.
   13028 for ac_config_target in $ac_config_targets
   13029 do
   13030   case $ac_config_target in
   13031     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   13032     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   13033     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   13034     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   13035 
   13036   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   13037   esac
   13038 done
   13039 
   13040 
   13041 # If the user did not use the arguments to specify the items to instantiate,
   13042 # then the envvar interface is used.  Set only those that are not.
   13043 # We use the long form for the default assignment because of an extremely
   13044 # bizarre bug on SunOS 4.1.3.
   13045 if $ac_need_defaults; then
   13046   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   13047   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   13048   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   13049 fi
   13050 
   13051 # Have a temporary directory for convenience.  Make it in the build tree
   13052 # simply because there is no reason against having it here, and in addition,
   13053 # creating and moving files from /tmp can sometimes cause problems.
   13054 # Hook for its removal unless debugging.
   13055 # Note that there is a small window in which the directory will not be cleaned:
   13056 # after its creation but before its name has been assigned to '$tmp'.
   13057 $debug ||
   13058 {
   13059   tmp= ac_tmp=
   13060   trap 'exit_status=$?
   13061   : "${ac_tmp:=$tmp}"
   13062   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   13063 ' 0
   13064   trap 'as_fn_exit 1' 1 2 13 15
   13065 }
   13066 # Create a (secure) tmp directory for tmp files.
   13067 
   13068 {
   13069   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   13070   test -d "$tmp"
   13071 }  ||
   13072 {
   13073   tmp=./conf$$-$RANDOM
   13074   (umask 077 && mkdir "$tmp")
   13075 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   13076 ac_tmp=$tmp
   13077 
   13078 # Set up the scripts for CONFIG_FILES section.
   13079 # No need to generate them if there are no CONFIG_FILES.
   13080 # This happens for instance with './config.status config.h'.
   13081 if test -n "$CONFIG_FILES"; then
   13082 
   13083 
   13084 ac_cr=`echo X | tr X '\015'`
   13085 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   13086 # But we know of no other shell where ac_cr would be empty at this
   13087 # point, so we can use a bashism as a fallback.
   13088 if test "x$ac_cr" = x; then
   13089   eval ac_cr=\$\'\\r\'
   13090 fi
   13091 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   13092 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   13093   ac_cs_awk_cr='\\r'
   13094 else
   13095   ac_cs_awk_cr=$ac_cr
   13096 fi
   13097 
   13098 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   13099 _ACEOF
   13100 
   13101 
   13102 {
   13103   echo "cat >conf$$subs.awk <<_ACEOF" &&
   13104   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   13105   echo "_ACEOF"
   13106 } >conf$$subs.sh ||
   13107   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13108 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   13109 ac_delim='%!_!# '
   13110 for ac_last_try in false false false false false :; do
   13111   . ./conf$$subs.sh ||
   13112     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13113 
   13114   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   13115   if test $ac_delim_n = $ac_delim_num; then
   13116     break
   13117   elif $ac_last_try; then
   13118     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13119   else
   13120     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13121   fi
   13122 done
   13123 rm -f conf$$subs.sh
   13124 
   13125 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13126 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   13127 _ACEOF
   13128 sed -n '
   13129 h
   13130 s/^/S["/; s/!.*/"]=/
   13131 p
   13132 g
   13133 s/^[^!]*!//
   13134 :repl
   13135 t repl
   13136 s/'"$ac_delim"'$//
   13137 t delim
   13138 :nl
   13139 h
   13140 s/\(.\{148\}\)..*/\1/
   13141 t more1
   13142 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   13143 p
   13144 n
   13145 b repl
   13146 :more1
   13147 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13148 p
   13149 g
   13150 s/.\{148\}//
   13151 t nl
   13152 :delim
   13153 h
   13154 s/\(.\{148\}\)..*/\1/
   13155 t more2
   13156 s/["\\]/\\&/g; s/^/"/; s/$/"/
   13157 p
   13158 b
   13159 :more2
   13160 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13161 p
   13162 g
   13163 s/.\{148\}//
   13164 t delim
   13165 ' <conf$$subs.awk | sed '
   13166 /^[^""]/{
   13167   N
   13168   s/\n//
   13169 }
   13170 ' >>$CONFIG_STATUS || ac_write_fail=1
   13171 rm -f conf$$subs.awk
   13172 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13173 _ACAWK
   13174 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   13175   for (key in S) S_is_set[key] = 1
   13176   FS = ""
   13177 
   13178 }
   13179 {
   13180   line = $ 0
   13181   nfields = split(line, field, "@")
   13182   substed = 0
   13183   len = length(field[1])
   13184   for (i = 2; i < nfields; i++) {
   13185     key = field[i]
   13186     keylen = length(key)
   13187     if (S_is_set[key]) {
   13188       value = S[key]
   13189       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   13190       len += length(value) + length(field[++i])
   13191       substed = 1
   13192     } else
   13193       len += 1 + keylen
   13194   }
   13195 
   13196   print line
   13197 }
   13198 
   13199 _ACAWK
   13200 _ACEOF
   13201 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13202 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   13203   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   13204 else
   13205   cat
   13206 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   13207   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   13208 _ACEOF
   13209 
   13210 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   13211 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   13212 # trailing colons and then remove the whole line if VPATH becomes empty
   13213 # (actually we leave an empty line to preserve line numbers).
   13214 if test "x$srcdir" = x.; then
   13215   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   13216 h
   13217 s///
   13218 s/^/:/
   13219 s/[	 ]*$/:/
   13220 s/:\$(srcdir):/:/g
   13221 s/:\${srcdir}:/:/g
   13222 s/:@srcdir@:/:/g
   13223 s/^:*//
   13224 s/:*$//
   13225 x
   13226 s/\(=[	 ]*\).*/\1/
   13227 G
   13228 s/\n//
   13229 s/^[^=]*=[	 ]*$//
   13230 }'
   13231 fi
   13232 
   13233 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13234 fi # test -n "$CONFIG_FILES"
   13235 
   13236 # Set up the scripts for CONFIG_HEADERS section.
   13237 # No need to generate them if there are no CONFIG_HEADERS.
   13238 # This happens for instance with './config.status Makefile'.
   13239 if test -n "$CONFIG_HEADERS"; then
   13240 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   13241 BEGIN {
   13242 _ACEOF
   13243 
   13244 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   13245 # here-document in config.status, that substitutes the proper values into
   13246 # config.h.in to produce config.h.
   13247 
   13248 # Create a delimiter string that does not exist in confdefs.h, to ease
   13249 # handling of long lines.
   13250 ac_delim='%!_!# '
   13251 for ac_last_try in false false :; do
   13252   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   13253   if test -z "$ac_tt"; then
   13254     break
   13255   elif $ac_last_try; then
   13256     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   13257   else
   13258     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13259   fi
   13260 done
   13261 
   13262 # For the awk script, D is an array of macro values keyed by name,
   13263 # likewise P contains macro parameters if any.  Preserve backslash
   13264 # newline sequences.
   13265 
   13266 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   13267 sed -n '
   13268 s/.\{148\}/&'"$ac_delim"'/g
   13269 t rset
   13270 :rset
   13271 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   13272 t def
   13273 d
   13274 :def
   13275 s/\\$//
   13276 t bsnl
   13277 s/["\\]/\\&/g
   13278 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13279 D["\1"]=" \3"/p
   13280 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   13281 d
   13282 :bsnl
   13283 s/["\\]/\\&/g
   13284 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13285 D["\1"]=" \3\\\\\\n"\\/p
   13286 t cont
   13287 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   13288 t cont
   13289 d
   13290 :cont
   13291 n
   13292 s/.\{148\}/&'"$ac_delim"'/g
   13293 t clear
   13294 :clear
   13295 s/\\$//
   13296 t bsnlc
   13297 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   13298 d
   13299 :bsnlc
   13300 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   13301 b cont
   13302 ' <confdefs.h | sed '
   13303 s/'"$ac_delim"'/"\\\
   13304 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   13305 
   13306 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13307   for (key in D) D_is_set[key] = 1
   13308   FS = ""
   13309 }
   13310 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   13311   line = \$ 0
   13312   split(line, arg, " ")
   13313   if (arg[1] == "#") {
   13314     defundef = arg[2]
   13315     mac1 = arg[3]
   13316   } else {
   13317     defundef = substr(arg[1], 2)
   13318     mac1 = arg[2]
   13319   }
   13320   split(mac1, mac2, "(") #)
   13321   macro = mac2[1]
   13322   prefix = substr(line, 1, index(line, defundef) - 1)
   13323   if (D_is_set[macro]) {
   13324     # Preserve the white space surrounding the "#".
   13325     print prefix "define", macro P[macro] D[macro]
   13326     next
   13327   } else {
   13328     # Replace #undef with comments.  This is necessary, for example,
   13329     # in the case of _POSIX_SOURCE, which is predefined and required
   13330     # on some systems where configure will not decide to define it.
   13331     if (defundef == "undef") {
   13332       print "/*", prefix defundef, macro, "*/"
   13333       next
   13334     }
   13335   }
   13336 }
   13337 { print }
   13338 _ACAWK
   13339 _ACEOF
   13340 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13341   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   13342 fi # test -n "$CONFIG_HEADERS"
   13343 
   13344 
   13345 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   13346 shift
   13347 for ac_tag
   13348 do
   13349   case $ac_tag in
   13350   :[FHLC]) ac_mode=$ac_tag; continue;;
   13351   esac
   13352   case $ac_mode$ac_tag in
   13353   :[FHL]*:*);;
   13354   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   13355   :[FH]-) ac_tag=-:-;;
   13356   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   13357   esac
   13358   ac_save_IFS=$IFS
   13359   IFS=:
   13360   set x $ac_tag
   13361   IFS=$ac_save_IFS
   13362   shift
   13363   ac_file=$1
   13364   shift
   13365 
   13366   case $ac_mode in
   13367   :L) ac_source=$1;;
   13368   :[FH])
   13369     ac_file_inputs=
   13370     for ac_f
   13371     do
   13372       case $ac_f in
   13373       -) ac_f="$ac_tmp/stdin";;
   13374       *) # Look for the file first in the build tree, then in the source tree
   13375 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   13376 	 # because $ac_f cannot contain ':'.
   13377 	 test -f "$ac_f" ||
   13378 	   case $ac_f in
   13379 	   [\\/$]*) false;;
   13380 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   13381 	   esac ||
   13382 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   13383       esac
   13384       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   13385       as_fn_append ac_file_inputs " '$ac_f'"
   13386     done
   13387 
   13388     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   13389     # use $as_me), people would be surprised to read:
   13390     #    /* config.h.  Generated by config.status.  */
   13391     configure_input='Generated from '`
   13392 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   13393 	`' by configure.'
   13394     if test x"$ac_file" != x-; then
   13395       configure_input="$ac_file.  $configure_input"
   13396       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   13397 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   13398     fi
   13399     # Neutralize special characters interpreted by sed in replacement strings.
   13400     case $configure_input in #(
   13401     *\&* | *\|* | *\\* )
   13402        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   13403        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   13404     *) ac_sed_conf_input=$configure_input;;
   13405     esac
   13406 
   13407     case $ac_tag in
   13408     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   13409       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   13410     esac
   13411     ;;
   13412   esac
   13413 
   13414   ac_dir=`$as_dirname -- "$ac_file" ||
   13415 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13416 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   13417 	 X"$ac_file" : 'X\(//\)$' \| \
   13418 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   13419 printf "%s\n" X"$ac_file" |
   13420     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13421 	    s//\1/
   13422 	    q
   13423 	  }
   13424 	  /^X\(\/\/\)[^/].*/{
   13425 	    s//\1/
   13426 	    q
   13427 	  }
   13428 	  /^X\(\/\/\)$/{
   13429 	    s//\1/
   13430 	    q
   13431 	  }
   13432 	  /^X\(\/\).*/{
   13433 	    s//\1/
   13434 	    q
   13435 	  }
   13436 	  s/.*/./; q'`
   13437   as_dir="$ac_dir"; as_fn_mkdir_p
   13438   ac_builddir=.
   13439 
   13440 case "$ac_dir" in
   13441 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13442 *)
   13443   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   13444   # A ".." for each directory in $ac_dir_suffix.
   13445   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   13446   case $ac_top_builddir_sub in
   13447   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13448   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   13449   esac ;;
   13450 esac
   13451 ac_abs_top_builddir=$ac_pwd
   13452 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   13453 # for backward compatibility:
   13454 ac_top_builddir=$ac_top_build_prefix
   13455 
   13456 case $srcdir in
   13457   .)  # We are building in place.
   13458     ac_srcdir=.
   13459     ac_top_srcdir=$ac_top_builddir_sub
   13460     ac_abs_top_srcdir=$ac_pwd ;;
   13461   [\\/]* | ?:[\\/]* )  # Absolute name.
   13462     ac_srcdir=$srcdir$ac_dir_suffix;
   13463     ac_top_srcdir=$srcdir
   13464     ac_abs_top_srcdir=$srcdir ;;
   13465   *) # Relative name.
   13466     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   13467     ac_top_srcdir=$ac_top_build_prefix$srcdir
   13468     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   13469 esac
   13470 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   13471 
   13472 
   13473   case $ac_mode in
   13474   :F)
   13475   #
   13476   # CONFIG_FILE
   13477   #
   13478 
   13479   case $INSTALL in
   13480   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   13481   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   13482   esac
   13483   ac_MKDIR_P=$MKDIR_P
   13484   case $MKDIR_P in
   13485   [\\/$]* | ?:[\\/]* ) ;;
   13486   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   13487   esac
   13488 _ACEOF
   13489 
   13490 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13491 # If the template does not know about datarootdir, expand it.
   13492 # FIXME: This hack should be removed a few years after 2.60.
   13493 ac_datarootdir_hack=; ac_datarootdir_seen=
   13494 ac_sed_dataroot='
   13495 /datarootdir/ {
   13496   p
   13497   q
   13498 }
   13499 /@datadir@/p
   13500 /@docdir@/p
   13501 /@infodir@/p
   13502 /@localedir@/p
   13503 /@mandir@/p'
   13504 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   13505 *datarootdir*) ac_datarootdir_seen=yes;;
   13506 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   13507   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   13508 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   13509 _ACEOF
   13510 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13511   ac_datarootdir_hack='
   13512   s&@datadir@&$datadir&g
   13513   s&@docdir@&$docdir&g
   13514   s&@infodir@&$infodir&g
   13515   s&@localedir@&$localedir&g
   13516   s&@mandir@&$mandir&g
   13517   s&\\\${datarootdir}&$datarootdir&g' ;;
   13518 esac
   13519 _ACEOF
   13520 
   13521 # Neutralize VPATH when '$srcdir' = '.'.
   13522 # Shell code in configure.ac might set extrasub.
   13523 # FIXME: do we really want to maintain this feature?
   13524 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13525 ac_sed_extra="$ac_vpsub
   13526 $extrasub
   13527 _ACEOF
   13528 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13529 :t
   13530 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   13531 s|@configure_input@|$ac_sed_conf_input|;t t
   13532 s&@top_builddir@&$ac_top_builddir_sub&;t t
   13533 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   13534 s&@srcdir@&$ac_srcdir&;t t
   13535 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   13536 s&@top_srcdir@&$ac_top_srcdir&;t t
   13537 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   13538 s&@builddir@&$ac_builddir&;t t
   13539 s&@abs_builddir@&$ac_abs_builddir&;t t
   13540 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   13541 s&@INSTALL@&$ac_INSTALL&;t t
   13542 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   13543 $ac_datarootdir_hack
   13544 "
   13545 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   13546   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13547 
   13548 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   13549   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   13550   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   13551       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   13552   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13553 which seems to be undefined.  Please make sure it is defined" >&5
   13554 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13555 which seems to be undefined.  Please make sure it is defined" >&2;}
   13556 
   13557   rm -f "$ac_tmp/stdin"
   13558   case $ac_file in
   13559   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   13560   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   13561   esac \
   13562   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13563  ;;
   13564   :H)
   13565   #
   13566   # CONFIG_HEADER
   13567   #
   13568   if test x"$ac_file" != x-; then
   13569     {
   13570       printf "%s\n" "/* $configure_input  */" >&1 \
   13571       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   13572     } >"$ac_tmp/config.h" \
   13573       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13574     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   13575       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   13576 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   13577     else
   13578       rm -f "$ac_file"
   13579       mv "$ac_tmp/config.h" "$ac_file" \
   13580 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13581     fi
   13582   else
   13583     printf "%s\n" "/* $configure_input  */" >&1 \
   13584       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   13585       || as_fn_error $? "could not create -" "$LINENO" 5
   13586   fi
   13587 # Compute "$ac_file"'s index in $config_headers.
   13588 _am_arg="$ac_file"
   13589 _am_stamp_count=1
   13590 for _am_header in $config_headers :; do
   13591   case $_am_header in
   13592     $_am_arg | $_am_arg:* )
   13593       break ;;
   13594     * )
   13595       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   13596   esac
   13597 done
   13598 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   13599 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13600 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   13601 	 X"$_am_arg" : 'X\(//\)$' \| \
   13602 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   13603 printf "%s\n" X"$_am_arg" |
   13604     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13605 	    s//\1/
   13606 	    q
   13607 	  }
   13608 	  /^X\(\/\/\)[^/].*/{
   13609 	    s//\1/
   13610 	    q
   13611 	  }
   13612 	  /^X\(\/\/\)$/{
   13613 	    s//\1/
   13614 	    q
   13615 	  }
   13616 	  /^X\(\/\).*/{
   13617 	    s//\1/
   13618 	    q
   13619 	  }
   13620 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   13621  ;;
   13622 
   13623   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   13624 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   13625  ;;
   13626   esac
   13627 
   13628 
   13629   case $ac_file$ac_mode in
   13630     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   13631   # Older Autoconf quotes --file arguments for eval, but not when files
   13632   # are listed without --file.  Let's play safe and only enable the eval
   13633   # if we detect the quoting.
   13634   # TODO: see whether this extra hack can be removed once we start
   13635   # requiring Autoconf 2.70 or later.
   13636   case $CONFIG_FILES in #(
   13637   *\'*) :
   13638     eval set x "$CONFIG_FILES" ;; #(
   13639   *) :
   13640     set x $CONFIG_FILES ;; #(
   13641   *) :
   13642      ;;
   13643 esac
   13644   shift
   13645   # Used to flag and report bootstrapping failures.
   13646   am_rc=0
   13647   for am_mf
   13648   do
   13649     # Strip MF so we end up with the name of the file.
   13650     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   13651     # Check whether this is an Automake generated Makefile which includes
   13652     # dependency-tracking related rules and includes.
   13653     # Grep'ing the whole file directly is not great: AIX grep has a line
   13654     # limit of 2048, but all sed's we know have understand at least 4000.
   13655     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   13656       || continue
   13657     am_dirpart=`$as_dirname -- "$am_mf" ||
   13658 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13659 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   13660 	 X"$am_mf" : 'X\(//\)$' \| \
   13661 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13662 printf "%s\n" X"$am_mf" |
   13663     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13664 	    s//\1/
   13665 	    q
   13666 	  }
   13667 	  /^X\(\/\/\)[^/].*/{
   13668 	    s//\1/
   13669 	    q
   13670 	  }
   13671 	  /^X\(\/\/\)$/{
   13672 	    s//\1/
   13673 	    q
   13674 	  }
   13675 	  /^X\(\/\).*/{
   13676 	    s//\1/
   13677 	    q
   13678 	  }
   13679 	  s/.*/./; q'`
   13680     am_filepart=`$as_basename -- "$am_mf" ||
   13681 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   13682 	 X"$am_mf" : 'X\(//\)$' \| \
   13683 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13684 printf "%s\n" X/"$am_mf" |
   13685     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13686 	    s//\1/
   13687 	    q
   13688 	  }
   13689 	  /^X\/\(\/\/\)$/{
   13690 	    s//\1/
   13691 	    q
   13692 	  }
   13693 	  /^X\/\(\/\).*/{
   13694 	    s//\1/
   13695 	    q
   13696 	  }
   13697 	  s/.*/./; q'`
   13698     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   13699       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13700         | $MAKE -f - am--depfiles" >&5
   13701    (cd "$am_dirpart" \
   13702       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13703         | $MAKE -f - am--depfiles) >&5 2>&5
   13704    ac_status=$?
   13705    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13706    (exit $ac_status); } || am_rc=$?
   13707   done
   13708   if test $am_rc -ne 0; then
   13709     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   13710 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   13711 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   13712     for automatic dependency tracking.  If GNU make was not used, consider
   13713     re-running the configure script with MAKE=\"gmake\" (or whatever is
   13714     necessary).  You can also try re-running configure with the
   13715     '--disable-dependency-tracking' option to at least be able to build
   13716     the package (albeit without support for automatic dependency tracking).
   13717 See 'config.log' for more details" "$LINENO" 5; }
   13718   fi
   13719   { am_dirpart=; unset am_dirpart;}
   13720   { am_filepart=; unset am_filepart;}
   13721   { am_mf=; unset am_mf;}
   13722   { am_rc=; unset am_rc;}
   13723   rm -f conftest-deps.mk
   13724 }
   13725  ;;
   13726 
   13727   esac
   13728 done # for ac_tag
   13729 
   13730 
   13731 as_fn_exit 0
   13732 _ACEOF
   13733 ac_clean_files=$ac_clean_files_save
   13734 
   13735 test $ac_write_fail = 0 ||
   13736   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   13737 
   13738 
   13739 # configure is writing to config.log, and then calls config.status.
   13740 # config.status does its own redirection, appending to config.log.
   13741 # Unfortunately, on DOS this fails, as config.log is still kept open
   13742 # by configure, so config.status won't be able to write to it; its
   13743 # output is simply discarded.  So we exec the FD to /dev/null,
   13744 # effectively closing config.log, so it can be properly (re)opened and
   13745 # appended to by config.status.  When coming back to configure, we
   13746 # need to make the FD available again.
   13747 if test "$no_create" != yes; then
   13748   ac_cs_success=:
   13749   ac_config_status_args=
   13750   test "$silent" = yes &&
   13751     ac_config_status_args="$ac_config_status_args --quiet"
   13752   exec 5>/dev/null
   13753   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   13754   exec 5>>config.log
   13755   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   13756   # would make configure fail if this is the last instruction.
   13757   $ac_cs_success || as_fn_exit 1
   13758 fi
   13759 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   13760   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   13761 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   13762 fi
   13763 
   13764 
   13765